.container {
    width: 100%;
    max-width: 1360px;
}

.search_container {
    padding-top: 100px;
    display: flex;
    width: 100%;
    align-items: center;
}

.search_container_inner {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    background: #fff;
    padding: 100px 0 60px;
    margin-top: -5%;
    align-items: center;
}

.search_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60%;
    background: #fff;
}

.search_header > img {
    max-width: 50%;
}

.search_title {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    letter-spacing: -1.2px;
    color: #32415a;
    margin: 24px 0px;
}

.search_form {
    width: 100%;
    max-width: 1300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    box-shadow: 0px 7px 24px #00000014;
    border-radius: 62px;
    height: 130px;
    padding: 0 24px;
    margin-bottom: 0;
}

.search_input_group {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 820px;
}

.search_input {
    display: flex;
    align-items: center;
    flex: 1;
    height: 50px;
    font-size: 16px;
    font-style: italic;
    background: #f5f5f5;
    border-radius: 25px;
    cursor: pointer;
    box-sizing: border-box;
}

.search_input_group .search_input {
    padding: 3px 0;
}

.search_input_group .search_input > a {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
    padding: 0px 36px;
}

.switch_ports_btn {
    all: unset;
    cursor: pointer;
    z-index: 1;
    margin: 0 -20px;
    background: none;
    border: none;
}

.search_select_container {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0.24;
    margin: 0 10px;
    min-width: 225px;
}

.search_dropdown_icon {
    position: absolute;
    right: 20px;
    width: 16px;
}

.search_select {
    flex: 1;
    border: none;
    -webkit-appearance: none;
    padding: 0px 8px;
}

.search_select_label {
    position: absolute;
    top: -25px;
    left: 20px;
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
    color: #afafaf;
    margin-bottom: 0;
}

.search_button {
    height: 50px;
    text-transform: uppercase;
    border-radius: 25px;
    font-weight: 400;
    font-size: 16px;
    padding: 0 32px;
}

/* search results */
.schedule_search_results_container {
    position: relative;
    display: flex;
}

.filters_container {
    height: calc(100vh - 100px);
    max-width: 300px;
    width: 100%;
    box-shadow: 0px 2px 18px #0000002e;
}

.filters_container > form {
    margin: 0;
    height: 100%;
}

.filter_section {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 18px;
}

.filter_section .remove_select2_styles {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.filter_section > .af_primary_btn:disabled,
.filters_sidebar_section > .af_primary_btn:disabled {
    background: #cecece;
    color: #fefefe;
}

.filter_section .remove_select2_styles .select2-choice,
.filter_section.remove_select2_styles .select2-choice {
    padding: 0;
}

.filter_switch_ports_btn {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: transparent;
    height: 40px;
    width: 40px;
}

.filter_section + .filter_section {
    border-top: 1px solid #e6e7e7;
}

.filter_input {
    color: #32415a;
    font-size: 16px;
    height: 40px;
    padding: 0 24px;
    border: none;
    font-style: italic;
    margin-bottom: 20px;
    background: #f5f5f5;
    border-radius: 25px;
    cursor: pointer;
}

.filter_input ~ .filter_input {
    margin-bottom: 0px;
}

.filter_input_label {
    font-style: italic;
    font-weight: 300;
    color: #6b6b6b;
    margin-left: 24px;
}

.carrier_search_container {
    position: relative;
}

.carrierSearch.select2-container .select2-choice abbr.select2-search-choice-close {
    right: 0;
    display: block !important;
    top: unset;
}

.carrier_search_container > i {
    position: absolute;
    left: 6px;
    z-index: 1;
}

.transhipment_section {
    padding-bottom: 6px;
}

.transhipment_section > label {
    margin-left: 0;
}

.show_more_container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.show_more {
    all: unset;
    color: #4bbea0;
    margin: 0 auto;
    cursor: pointer;
    padding: 5px 25px;
    display: flex;
    align-items: center;
}

.show_more > span {
    margin-right: 8px;
}

.show_more_arrow_up {
    transform: rotate(180deg);
}

.show_more:hover,
.show_more:focus,
.show_more:active {
    color: #4bbea0;
}

.ui-slider-horizontal .ui-slider-handle {
    cursor: pointer;
    background-color: #ff0000;
    box-shadow: 0px 2px 7px #20945e54;
    border-radius: 20px;
    top: -0.4em;
}

.ui-slider-horizontal {
    background-color: #f5f5f5;
    height: 5px !important;
}

.slider_container {
    margin-top: 6px;
}

.slider_container .ui-slider-horizontal {
    width: 94%;
    margin: 0 auto;
}

.slider_values_container {
    display: flex;
    justify-content: space-between;
}

.search_results_main {
    flex: 1;
    margin: 0 auto;
    max-width: 1120px;
    padding: 50px 15px;
}

.schedule_sort_container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.sort_inner_container {
    position: relative;
    width: 205px;
}

.sort_dropdown_wrapper {
    position: relative;
    display: inline-block;
}

.sort_by_link {
    padding: 2px 5px;
    display: flex;
    align-items: center;
}

.sort_by_up_arrow {
    margin: 0 6px;
}

.sort_by_link:hover {
    color: inherit;
}

.sort_by {
    color: #6c6c6c;
}

.sort_by_value {
    color: #32415a;
    font-weight: 600;
}

.sort_dropdown_arrow {
    margin-left: 10px;
}

.schedule_sort_dropdown {
    position: absolute;
    top: 30px;
    right: -2px;
    left: auto;
    box-shadow: 0px 13px 26px #00000029;
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #bfbfbf;
    z-index: 1;
    white-space: nowrap;
    min-width: 200px;
}

.schedule_sort_dropdown:before {
    content: '';
    position: absolute;
    width: 22px;
    height: 11px;
    right: 2px;
    top: -11px;
    z-index: 999;
    background: url('../../Content/images/upArrowPopUp.png');
}

.schedule_sort_dropdown > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.schedule_sort_dropdown_item {
    font-weight: 600;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    transition: none !important;
    padding: 6px 8px;
}

.schedule_sort_dropdown_item:hover,
.schedule_sort_dropdown_item.active {
    color: #fff;
    background: #4bbea0;
}

.schedule_sort_radio_container {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-top: 1px solid #cecece;
    padding: 6px;
    margin-top: 6px;
}

.schedule_sort_radio_container > label {
    padding: 5px 8px;
    margin-bottom: 0;
    cursor: pointer;
}

.schedule_sort_radio_container > label > input {
    margin-right: 5px;
    cursor: pointer;
}

.shipment_accordion_toggler {
    position: relative;
    width: 100%;
    border: none;
    background: transparent;
    text-align: unset;
}

.search_results_card {
    display: flex;
    align-items: center;
    padding: 0 49px 0 24px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 13px 16px #00000008;
    height: 84px;
    justify-content: space-between;
    cursor: pointer;
}

.company_header {
    display: flex;
    align-items: center;
    flex: 0.3;
    margin-right: 16px;
}

.company_logo_container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 34px;
    margin-right: 16px;
}

.company_logo_container > i {
    font-size: 30px;
}

.company_logo {
    width: 100%;
}

.company_name {
    font-size: 16px;
    font-weight: 400;
    color: #32415a;
    margin: 0;
}

.shipment_info_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-right: 30px;
}

.shipment_info_col {
    white-space: nowrap;
}

.shipment_info_col > h4 {
    font-size: 14px;
    color: #b2b2b2;
    font-weight: 400;
    margin: 0;
}

.shipment_info_col > span {
    color: #32415a;
}

.collapse_icon_container {
    text-align: center;
    width: 20px;
}

.shipment_accordion_toggler:disabled .collapse_icon_container {
    visibility: hidden;
}

.shipment_accordion_toggler .collapse_icon_container > img {
    transition: transform 0.5s ease-in-out;
}

.shipment_accordion_toggler[aria-expanded='true'] .collapse_icon_container > img {
    transform: rotate(180deg);
}

.shipment_accordion_container {
    position: relative;
    background: #fff;
    margin: -10px 0 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0px 13px 16px #00000008;
    color: #b2b2b2;

}

.shipment_accordion_divider {
    width: 97%;
    border-bottom: 1px solid #ececec;
    margin: 0 auto;
}

.shipment_accordion_section {
    display: flex;
    flex-direction: column;
}

.shipment_timeline_list {
    position: relative;
    list-style-type: none;
    margin: 20px;
    padding-left: 40px;
}

.shipment_timeline_list:before {
    content: '';
    background: #ececec;
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 29px;
    width: 2px;
    height: 75%;
    z-index: 2;
}

.shipment_timeline_list > li {
    padding-left: 16px;
}

.shipment_timeline_list > li + li {
    padding-top: 20px;
}

.shipment_timeline_icon:before {
    content: '';
    background: white;
    display: inline-block;
    position: absolute;
    left: 17px;
    width: 25px;
    height: 25px;
    z-index: 2;
}

.shipment_timeline_departure:before {
    background-image: url('../../Content/images/anchor.png');
    top: 0;
}

.shipment_timeline_list .grayMapPin:before {
    bottom: 0;
    background-image: url('../../Content/images/grayMapPin.png');
}

.shipment_timeline_list .greenMapPin:before {
    bottom: 0;
    background-image: url('../../Content/images/greenMapPin.png');
}

.transhipment_duration {
    display: inline-block;
    margin: 10px 0 10px 77px;
}

.timeline_date {
    color: #32415a;
}

.loading_images_container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loading_container {
    width: 350px;
}

.loading_dots {
    width: 80px;
    margin-top: -34px;
    display: block;
}

.m-0 {
    margin: 0;
}

.mobile_search_title {
    display: none;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin: auto 0;
}

.mobile_timeline_header_container {
    background: #f5f5f5;
}

.schedule_results_count {
    display: none;
    padding-bottom: 60px;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
}

.schedule_mobile_bg {
    display: none;
}

@media screen and (max-width: 800px) {
    body {
        background: #f5f5f5;
    }

    .af_header {
        background: #f5f5f5;
    }

    .bg_filler {
        position: absolute;
        top: -200px;
        left: 0;
        right: 0;
        height: 480px;
        background: #f5f5f5;
        border-bottom-left-radius: 64px;
        border-bottom-right-radius: 64px;
    }

    .search_container {
        padding-top: 0;
        align-items: initial;
        min-height: calc(100% - 72px);
    }

    .mobile_search_title {
        display: block;
    }

    .search_title {
        display: none;
    }

    .search_header {
        order: 1;
        margin-top: auto;
        height: initial;
    }

    .search_container_inner {
        flex-direction: column;
        margin: 40px 22px 22px;
        padding: 0;
        flex-shrink: 0;
        box-shadow: 0px 13px 36px #0000000f;
        border-radius: 25px;
        overflow: hidden;
    }

    .search_form {
        position: initial;
        height: initial;
        flex-direction: column;
        box-shadow: none;
        margin: auto 0;
    }

    .search_select_label {
        display: none;
    }

    .switch_ports_btn {
        transform: rotate(90deg);
        margin: -15px auto;
        display: block;
        z-index: 2;
        position: relative;
    }

    .search_input {
        font-size: 18px;
    }

    .search_input_group .search_input > a {
        padding: 0px 22px;
    }

    .search_header > img {
        max-width: 125%;
        width: 125%;
    }

    .search_input_group {
        display: block;
    }

    .search_select_container {
        width: 100%;
        padding: 27px 0;
    }

    .search_results_card {
        height: initial;
        flex-wrap: wrap;
        padding: 0;
        margin-bottom: 58px;
        border-radius: 30px;
    }

    .company_header {
        position: absolute;
        width: 100%;
        top: 0;
        flex-direction: column;
        margin: 0;
    }

    .company_logo_container {
        background-color: #fff;
        margin: -32px 0 0;
    }

    .schedule_search_results_container {
        display: block;
        height: initial;
    }

    .schedule_sort_container {
        display: none;
    }

    .filters_container {
        display: none;
    }

    .collapse_icon_container {
        flex-basis: 100%;
        padding: 28px 0;
    }

    .shipment_info_container {
        flex-wrap: wrap;
        border-top: 1px solid #f3f3f3;
        border-bottom: 1px solid #f3f3f3;
        margin: 80px 18px 0;
        flex-shrink: 0;
        padding: 12px 0;
    }

    .shipment_info_col {
        flex-basis: 50%;
        padding: 16px 20px;
    }

    .shipment_info_col + .shipment_info_col {
        margin-left: 0;
    }

    .company_name {
        padding-top: 8px;
        font-weight: 500;
    }

    .shipment_accordion_divider {
        border-bottom: 1px solid #f3f3f3;
        margin: 0px 18px;
        width: initial;
    }

    .shipment_accordion_container {
        margin: -58px 0 58px;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }

    .shipment_accordion_toggler[aria-expanded='true'] .search_results_card {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .filter_input {
        width: 100%;
        border-radius: 6px;
        padding: 0 12px;
        margin: 0;
    }

    .select2-container,
    .select2-container * {
        box-sizing: border-box;
    }

    .filter_input .select2-choice {
        padding: 0;
    }

    .filters_sidebar_to_label {
        padding-top: 12px;
    }

    .filters_sidebar_section .af_primary_btn {
        width: 100%;
        margin-top: 20px;
        border-radius: 6px;
        flex-shrink: 0;
        height: 46px;
    }

    .mobile_timeline_header_btn > img {
        width: 14px;
    }

    .search_results_main {
        padding: 20px 15px;
    }

    .schedule_results_count {
        display: block;
    }

    .schedule_bg {
        display: none;
    }

    .schedule_mobile_bg {
        display: initial;
    }
}
