﻿/*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;
    left: 270px;
    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;
    gap: 17px;
    position: relative;
    justify-content: space-between;
    width: -webkit-fill-available;
}

.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: 10px 10px;
    align-self:center;
    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 */