#modal-before-booking-fcl,
#modal-before-booking-on-hand-fcl {
    font-size: 1.4rem;
    color: #203863 !important;
}


#modal-before-booking-fcl .table > :not(caption) > * > *,
#modal-before-booking-on-hand-fcl .table > :not(caption) > * > * {
    color: #203863 !important;
}

#modal-before-booking-fcl p,
#modal-before-booking-on-hand-fcl p {
    margin: 0;
}

#modal-before-booking-fcl label,
#modal-before-booking-on-hand-fcl label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.4rem;
}

#modal-before-booking-fcl #modal-before-booking-fcl-label,
#modal-before-booking-on-hand-fcl #modal-before-booking-on-hand-fcl-label {
    border-left: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 1px solid rgba(0, 0, 0, 0.175);
    border-top: 1px solid rgba(0, 0, 0, 0.175);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

#modal-before-booking-fcl .modal-header,
#modal-before-booking-on-hand-fcl .modal-header {
    border: none;
    padding-bottom: 0;
}

#modal-before-booking-fcl .modal-body,
#modal-before-booking-on-hand-fcl .modal-body{
    padding-top: 0;
}

#modal-before-booking-fcl h3,
#modal-before-booking-on-hand-fcl h3 {
    font-weight: 600;
    font-size: 2rem;
}

#modal-before-booking-fcl h4,
#modal-before-booking-on-hand-fcl h4  {
    font-weight: 600;
    font-size: 1.8rem;
}

#modal-before-booking-fcl h5,
#modal-before-booking-on-hand-fcl h5 {
    font-weight: 500;
    font-size: 1.6rem;
}

#modal-before-booking-fcl .text-left,
#modal-before-booking-on-hand-fcl .text-left {
    text-align: left !important;
}

#modal-before-booking-fcl .company-info,
#modal-before-booking-fcl .group-info,
#modal-before-booking-on-hand-fcl .company-info,
#modal-before-booking-on-hand-fcl .group-info {
    display: flex;
    justify-content: space-between;
    border-left: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 1px solid rgba(0, 0, 0, 0.175);
    border-top: 1px solid rgba(0, 0, 0, 0.175);
}

#modal-before-booking-fcl .other-info,
#modal-before-booking-on-hand-fcl .other-info {
    display: flex;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.175);
}

#modal-before-booking-fcl .company-info > div,
#modal-before-booking-fcl .group-info > div,
#modal-before-booking-on-hand-fcl .company-info > div,
#modal-before-booking-on-hand-fcl .group-info > div {
    width: 50%;
    padding: 1.2rem;
}

#modal-before-booking-fcl .group-info i,
#modal-before-booking-on-hand-fcl .group-info i {
    font-size: 1.8rem;
    margin-left: 2rem;
}

.tooltip-inner {
    max-width: none;
    padding: 1rem;
    font-size: 1.4em;
    background: #333;
}

#modal-before-booking-fcl .company-info .content-left,
#modal-before-booking-fcl .company-info .content-right,
#modal-before-booking-on-hand-fcl .company-info .content-left,
#modal-before-booking-on-hand-fcl .company-info .content-right {
    display: flex;
    width: 100%;
}

#modal-before-booking-fcl .company-info .content-left .company-detail,
#modal-before-booking-fcl .company-info .content-right .company-detail,
#modal-before-booking-on-hand-fcl .company-info .content-left .company-detail,
#modal-before-booking-on-hand-fcl .company-info .content-right .company-detail {
    width: 100%;
    margin-left: 1rem;
}

#modal-before-booking-fcl .company-info > div:first-child,
#modal-before-booking-fcl .group-info > div:first-child,
#modal-before-booking-on-hand-fcl .company-info > div:first-child,
#modal-before-booking-on-hand-fcl .group-info > div:first-child {
    border-right: 1px solid rgba(0, 0, 0, 0.175);
}

#modal-before-booking-fcl img,
#modal-before-booking-on-hand-fcl img {
    width: 270px;
    height: 110px;
}

#modal-before-booking-fcl .booking-line,
#modal-before-booking-on-hand-fcl .booking-line {
    width: 100%;
    height: 1rem;
}

#modal-before-booking-fcl strong,
#modal-before-booking-on-hand-fcl strong {
    font-weight: 600;
}

#modal-before-booking-fcl .cofast-logo,
#modal-before-booking-on-hand-fcl .cofast-logo {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

#modal-before-booking-fcl .cofast-info,
#modal-before-booking-on-hand-fcl .cofast-info {
    width: 100%;
    text-align: end;
}

#modal-before-booking-fcl a,
#modal-before-booking-on-hand-fcl a {
    color: rgb(59 59 255);
    text-decoration: underline;
}

#modal-before-booking-fcl .cofast-template,
#modal-before-booking-on-hand-fcl .cofast-template {
    margin: 1rem 3rem 0;
}

#modal-before-booking-fcl .detail-title-name,
#modal-before-booking-on-hand-fcl .detail-title-name {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid rgba(0, 0, 0, 0.175);
    border-right: 1px solid rgba(0, 0, 0, 0.175);
}

#modal-before-booking-fcl .detail-booking,
#modal-before-booking-on-hand-fcl .detail-booking {
    border: 1px solid rgba(0, 0, 0, 0.175);
}

#modal-before-booking-fcl .table-lcc,
#modal-before-booking-on-hand-fcl .table-lcc {
    margin-bottom: 0 !important;
}


.nav-pills li {
    float: left;
    display: block;
    position: relative;
}

#modal-before-booking-fcl ul li a:not(.active):hover,
#modal-before-booking-on-hand-fcl ul li a:not(.active):hover {
    background: #d8d8d8;
    color: var(--black);
}

#modal-before-booking-fcl .table-lcc th,
#modal-before-booking-on-hand-fcl .table-lcc th {
    font-weight: 600;
    background: #dadada;
    font-size: 1.3rem;
    text-align: center;
}

#modal-before-booking-fcl .table-lcc td,
#modal-before-booking-on-hand-fcl .table-lcc td {
    text-align: center;
}

#modal-before-booking-fcl .table-lcc .checking,
#modal-before-booking-on-hand-fcl .table-lcc .checking {
    position: relative;
}

#modal-before-booking-fcl .table-lcc .checking span,
#modal-before-booking-on-hand-fcl .table-lcc .checking span {
    position: absolute;
    z-index: 3;
    width: 1.5rem;
    height: 1.5rem;
    margin: 0;
}

#modal-before-booking-fcl .table-lcc input,
#modal-before-booking-on-hand-fcl .table-lcc input {
    width: 100%;
    height: 3rem;
    margin: 0.6rem 0;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: var(--white) !important;
}

.remark-content {
    margin: 0.5rem 1rem;
}

#modal-before-booking-fcl .modal-footer button,
#modal-before-booking-on-hand-fcl .modal-footer button {
    width: 100%;
}
#modal-before-booking-fcl .modal-footer,
#modal-before-booking-on-hand-fcl .modal-footer {
    padding: 0 1rem 2rem !important;
    border: none !important;
}

#modal-before-booking-fcl .modal-footer .button-cf,
#modal-before-booking-on-hand-fcl .modal-footer .button-cf {
    background-color: var(--cofast-blue);
    color: var(--white);
    font-size: 1.5rem;
    padding: 0.5rem 0px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: 4.2rem;
}

#modal-before-booking-fcl .modal-footer .button-cf:hover,
#modal-before-booking-on-hand-fcl .modal-footer .button-cf:hover {
    border-color: var(--cofast-blue);
    color: var(--cofast-blue);
    background-color: var(--white);
}


#modal-before-booking-fcl .modal-body-footer,
#modal-before-booking-on-hand-fcl .modal-body-footer {
    margin-bottom: 1rem;
}

#modal-before-booking-fcl input,
#modal-before-booking-on-hand-fcl input {
    font-size: 1.4rem;
    height: 3.6rem;
    padding: 0 4.8rem 0 1.6rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(0, 107, 206, 0.50);
    margin-left: 1rem;
}

#modal-before-booking-fcl .other-info table tbody tr,
#modal-before-booking-on-hand-fcl .other-info table tbody tr {
    --bs-table-hover-bg: var(--white);
}

#modal-before-booking-fcl .booking-line-img,
#modal-before-booking-on-hand-fcl .booking-line-img {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
