﻿
/* Generic Modal Overlay */
.generic-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.top-content-desktop {
    display: block;
}


.top-content-mobile {
    display: none;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    flex-direction: row;
    gap: 10px;
}

.title-icon {
    width: 20px;
    height: 20px;
    /*border: 2px solid black;*/
    background-image: url('../../images/shared/ship-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.title-text {
    color: #000;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}


.step-one-booking-box {
    display: flex;
    width: auto;
    max-width: 1200px;
    padding: 20px;
    align-items: center;
    gap: 80px;
    border-radius: 5px;
}

/* Left Column Styles */
.left-col-container {
    display: flex;
    width: 390px;
    padding: 20px 0 31px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    /*box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.15);*/
}

.search-box-container-step-one {
    border-radius: 8px;
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    justify-content: space-between;
    width: 370px;
    min-width: 330px;
    padding: 0 0 25px 0;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.8);
}

.search-box-title {
    display: flex;
    height: 45px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background: #FFDE00;
    margin-top: 25px;
    color: #000;
    font-size: 23px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.search-box-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-self: stretch;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    align-self: stretch;
    margin: 0 30px;
}

.search-input-box {
    height: 55px;
    display: flex;
    flex-direction: column;
    padding: 3px;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #000426;
    position: relative;
    background-color: #fff;
}

.search-input-icon {
    align-items: center;
    gap: 4px;
    display: inline-flex;
    position: absolute;
    left: 17px;
    bottom: 46px;
    padding: 0 4px;
    background: linear-gradient( 0deg, rgba(255, 255, 255, 1) 0% 0%, rgba(242, 242, 242, 1) 100%);
}

.search-input-icon-text {
    color: var(--black, #000);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px; /* 66.667% */
    letter-spacing: 0.15px;
}

.search-btn-box {
    border: none;
    border-radius: 5px;
    background: #FFDE00;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #010524;
    font-size: 18px;
    font-weight: 600;
    word-wrap: break-word;
    width: 156px;
    height: 60px;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    align-self: center;
}

.hidden {
    display: none;
}

.dr-popup-container {
    display: none;
    width: 800px;
    height: auto;
    max-width: 880px;
    /* min-height: 356px; */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .step-one-booking-box {
        flex-direction: column;
        gap: 40px;
    }

    .left-col-container,
    .search-box-container-step-one {
        width: 90%;
        align-self: center
    }
}

@media (max-width: 991px) {


    .search-input-icon-text {
        color: var(--black, #000);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 12px;
        letter-spacing: 0.15px;
    }

    .search-btn-box {
        /*max-width: 80%;*/
        border-radius: 5px;
        border: 1px solid #D9BB16;
        background: #FFDE00;
    }

    .search-box-inner,
    .search-input-group {
        gap: 20px;
    }

    .top-content-mobile {
        display: flex;
    }

    .step-one-booking-box {
        max-width: 100%;
        padding: 0px 10px;
        gap: 0px;
    }

    .left-col-container,
    .search-box-container-step-one {
        width: 100%;
        align-self: center;
        border: 0px;
        padding: 0px;
        padding-bottom: 10px;
        box-shadow: 0 0 0px 0 rgba(0, 0, 0, 0.08);
    }

    .booking-container {
        padding-bottom: 0px;
        padding-top: 30px;
        max-width: 100%;
    }



}

/* //////////////////////////////////////////////////// */

/*Search Box Home page */
.search-box-container {
    /*position: absolute;
    z-index: 999;
    left: calc(50vw - 1180px/2);
    right: calc(50vw - 1180px/2);
    transform: translateY(20px);
    padding: 0 10px;*/
    max-width: 1180px;
}

.search-box-inside {
    display: flex;
    padding: 10px 17px 17px 17px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    border-radius: 5px;
    background: #FFF;
    width: -webkit-fill-available;
}

.switch-icon-step-one {
    background-image: url('../../images/shared/switch-icon.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
    display: flex;
    position: absolute;
    right: 20px;
    top: 50px;
    z-index: 1;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

    .switch-icon-step-one:hover {
        opacity: 0.8;
        transform: rotate(-90deg) scale(1.1);
    }

    .switch-icon-step-one:active {
        transform: rotate(-90deg) scale(0.95);
    }

    .switch-icon-step-one:focus {
        outline: 2px solid #FFDE00;
        outline-offset: 2px;
    }

.search-box-pin-icon {
    background-image: url('../../images/shared/pin-icon.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 14px;
    height: 16px;
    display: flex;
}

.search-box-calendar-icon {
    background-image: url('../../images/shared/calendar-icon.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0px -1px;
    width: 18px;
    height: 19px;
    display: flex;
}

.search-box-people-icon {
    background-image: url('../../images/shared/people-icon.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0px 0px;
    width: 18px;
    height: 19px;
    display: flex;
}

.search-box-raw-controls {
    display: flex;
    flex-direction: column;
    gap: 17px;
    position: relative;
    justify-content: space-between;
    width: 100%;
}

.search-box-cell-InputIcon {
    align-items: center;
    gap: 4px;
    display: inline-flex;
    position: absolute;
    left: 17px;
    bottom: 50px;
    background-color: #fff;
    padding: 0 4px;
}

.search-box-text-icon {
    color: #000426;
    font-size: 16px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: 0.15px;
    word-wrap: break-word;
}

.input-search-box {
    display: flex;
    padding: 12px 10px 13px 10px;
    align-items: center;
    gap: 8px;
    border: 0;
    outline: none;
    width: 100%;
}

.search-box-submit {
    border-radius: 5px;
    background: #FFDE00;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #000426;
    font-size: 18px;
    font-weight: 500;
    word-wrap: break-word;
    width: 156px;
    height: 60px;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.search-box-cell-InputPort {
    height: 58px;
    display: flex;
    flex-direction: column;
    padding: 3px;
    align-items: flex-start;
    border-radius: 4px;
    border: 1px solid #000426;
    position: relative;
    width: 220px;
}

.search-box-cell-Input {
    height: 58px;
    display: flex;
    flex-direction: column;
    padding: 3px;
    align-items: flex-start;
    border-radius: 4px;
    border: 1px solid #000426;
    position: relative;
    width: 240px;
}

.hidden {
    display: none;
}

/* Full-width bar at top of popup */
.daterangepicker .DatePickerTripToggle {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 12px;
    padding: 10px 12px;
}

/* Labels */
.daterangepicker .DatePickerTripToggle_label {
    font-size: 13px;
    line-height: 18px;
    opacity: 0.6;
    user-select: none;
}

    .daterangepicker .DatePickerTripToggle_label.is-active {
        font-size: 13px;
        line-height: 18px;
        opacity: 1;
    }

/* Switch */
.daterangepicker .DatePickerTripToggle_switch {
    width: 44px !important;
    height: 20px !important;
    border-radius: 999px;
    border: 1px solid rgba(1, 5, 36, 0.25);
    background: rgba(255, 250, 0, .4);
    position: relative;
    cursor: pointer;
    padding: 0;
}

/* Thumb */
.daterangepicker .DatePickerTripToggle_thumb {
    width: 16px !important;
    height: 16px !important;
    border-radius: 999px;
    background: #000000e8;
    opacity: 0.8;
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    transition: right 500ms ease;
}

/* ON state (Return trip) */
.daterangepicker .DatePickerTripToggle_switch.is-on .DatePickerTripToggle_thumb {
    right: calc(100% - 18px);
}

.daterangepicker .DatePickerTripToggle_switch .DatePickerTripToggle_thumb {
    right: calc(100% - 40px);
}

.DatePickerTripToggle_switch.is-on {
    background-color: #c4c4c4;
}


@media (min-width:992px) and (max-width:1199px) {

    .search-box-cell-InputPort {
        width: 20%;
    }

    .search-box-cell-Input {
        width: 20%;
    }

    .search-box-submit {
        width: 116px;
    }

    .HomeBannerTitle {
        max-width: 500px;
    }

    .switch-icon-step-one {
        right: 20px;
        left: auto;
    }
}


@media (max-width: 991px) {

    .switch-icon-step-one {
        background-image: url('../../images/shared/Mobile/switch-icon-mobile.svg');
        right: 22px;
        top: 45px;
        left: auto;
        width: 40px;
        height: 40px;
        transform: rotate(0deg);
    }

        .switch-icon-step-one:hover {
            transform: rotate(0deg) scale(1.1);
        }

        .switch-icon-step-one:active {
            transform: rotate(0deg) scale(0.95);
        }
}

@media (max-width: 1199px) {

    .search-box-container {
        width: auto;
        margin: auto;
        top: 60px;
        display: contents;
    }

    .search-box-raw-controls {
        display: flex;
        gap: 17px;
        position: relative;
        justify-content: space-between;
        width: 100%;
        flex-direction: column;
    }

    .search-box-cell-InputPort {
        width: 100%;
    }

    .search-box-cell-Input {
        width: 100%;
    }


    .HomeBannerTitle {
        font-size: 87px;
    }
}
/*Search Box Home page */