/* Foreign search page */
.searchtabs {
    left: auto;
    width: 100%;
    max-width: 1280px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 0;
    padding-top: 15px;
    border: 1px solid #d9e2e7;
    border-radius: 8px;
    background: #fff !important;
    box-shadow: 0 6px 14px -8px rgba(34, 62, 76, .45);
    -webkit-transform: none;
    transform: none;
}

.searchtabs::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    border: 1px solid #d9e2e7;
    border-radius: 8px;
    pointer-events: none;
}

.searchtabs .contentsearch,
.searchtabs .contentsearch section,
.searchtabs .contentsearch .s002 {
    border-radius: 0 0 8px 8px;
}

.searchtabs .contentsearch .s002 form .inner-form {
    border-radius: 0 0 8px 8px !important;
}

.searchtabs > ul {
    width: 100%;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

.searchtabs > ul > li.search-label,
.searchtabs input[name="tab-control"]:checked ~ ul > li.search-label {
    width: auto;
    min-width: 180px;
    border: 0 !important;
}

.searchtabs ul li.search-label,
.searchtabs .slider .indicator,
.searchtabs .contentsearch section h2::after,
.searchtabs .s002 form .inner-form .input-field.fifth-wrap .btn-search {
    background-color: #1393c0;
}

.searchtabs ul li label,
.searchtabs input[name="tab-control"]:checked ~ ul > li.search-label > label,
.searchtabs .contentsearch section h2,
.searchtabs .hotkey a {
    color: #1393c0 !important;
}

.searchtabs > ul > li.search-label > label {
    font-size: 22px;
}

.searchtabs input[name="tab-control"]:checked ~ ul > li.search-label > label svg {
    fill: #1393c0;
}

.searchtabs .s002 form .inner-form .input-field.fifth-wrap .btn-search:hover,
.searchtabs ul li.search-label:hover {
    background-color: #11779c;
}

.searchtabs .hotkey a:hover {
    color: #11779c !important;
}

.searchtabs .s002 form .inner-form {
    margin-bottom: 0;
}

.searchtabs .s002 > .searchbar-layout {
    width: 100%;
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

.searchbar-dual-layout.searchbar-layout-pc {
    display: block;
}

.searchbar-dual-layout.searchbar-layout-mobile {
    display: none;
}

.searchtabs .search-main-fields {
    display: -webkit-flex;
    display: flex;
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-align-items: stretch;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 10px;
}

.searchtabs .search-main-fields > .input-field {
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

.searchtabs .search-main-fields > .fouth-wrap {
    -webkit-flex: 29 1 0;
    flex: 29 1 0;
}

.searchtabs .search-main-fields > .keyword-wrap {
    -webkit-flex: 25 1 0;
    flex: 25 1 0;
}

.searchtabs .search-main-fields > .depart-wrap,
.searchtabs .search-main-fields > .return-wrap {
    -webkit-flex: 16 1 0;
    flex: 16 1 0;
}

.searchtabs .search-main-fields > .fifth-wrap {
    -webkit-flex: 10 1 0;
    flex: 10 1 0;
}

.searchtabs .search-main-fields > .input-field input,
.searchtabs .search-main-fields > .input-field .btn-search {
    width: 100% !important;
}

.searchtabs .hotkey.hotkey2 {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: center;
    align-items: center;
    gap: 10px;
    margin-right: 5px;
    margin-left: auto;
    text-align: right;
}

.searchtabs .hotkey.hotkey2 a {
    margin-left: 0;
}

.searchtabs .checkSign {
    display: -webkit-flex;
    display: flex;
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    direction: ltr;
    gap: 24px;
    margin: 12px 0 0;
    padding: 8px 4px 0;
    font-size: 16px;
}

.searchtabs .checkSign .checkSign-option {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-align-items: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.searchtabs .checkSign .checkSign-option label {
    position: relative;
    display: inline-block;
    height: 25px;
    margin: 0;
    padding-left: 30px;
    color: #40545f;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    cursor: pointer;
}

.searchtabs .checkSign input[type="radio"] {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.searchtabs .checkSign input[type="radio"] + label::before,
.searchtabs .checkSign input[type="radio"] + label::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 16px;
    height: 16px;
    margin: 4px;
    border-radius: 50%;
    transition: .28s ease;
}

.searchtabs .checkSign input[type="radio"]:not(:checked) + label::before {
    border: 2px solid #5a5a5a;
}

.searchtabs .checkSign input[type="radio"]:not(:checked) + label::after {
    z-index: -1;
    border: 2px solid #5a5a5a;
    transform: scale(0);
}

.searchtabs .checkSign input[type="radio"]:checked + label::before {
    border: 2px solid transparent;
}

.searchtabs .checkSign input[type="radio"]:checked + label::after {
    z-index: 0;
    transform: scale(1.02);
}

.searchtabs .checkSign input[type="radio"]:checked + label::after {
    border-color: #1393c0;
    background-color: #1393c0;
}

.searchtabs .checkSign input[type="radio"]:checked + label::before {
    border-color: transparent;
}

.searchtabs #ctmselect.customselect {
    width: 900px;
    max-height: calc(100vh - 145px);
    margin-top: 8px;
    padding: 0;
    border: 1px solid #d9e2e7;
    /* border-top: 3px solid #1393c0; */
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 0 14px 2px rgba(2, 95, 138, .25);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.searchtabs #ctmselect ul.tabs {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 3;
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 9px 44px 9px 14px;
    border-bottom: 1px solid #d9e2e7;
    background: #fff;
    gap: 5px;
}

.searchtabs #ctmselect ul.tabs li {
    float: none;
    height: 34px;
    margin: 0;
    border: 0;
    border-radius: 5px;
    line-height: 34px;
    transition: background-color .2s ease, color .2s ease;
}

.searchtabs #ctmselect ul.tabs li a {
    height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    color: #40545f;
    font-weight: bold;
    line-height: 34px;
}

.searchtabs #ctmselect ul.tabs li:hover a {
    color: #1393c0;
    background: #e8f4f8;
}

.searchtabs #ctmselect ul.tabs li.active a {
    color: #fff;
    background: #1393c0;
    box-shadow: 0 3px 8px rgba(2, 95, 138, .22);
}

.searchtabs #ctmselect .closecustomselect {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #72838c;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    opacity: 1;
}

.searchtabs #ctmselect .closecustomselect:hover {
    color: #fff;
    background: #1393c0;
}

.searchtabs #ctmselect .tab-area {
    padding: 4px 8px 0;
}

.searchtabs #ctmselect .area {
    background: #f7fafb;
}

.searchtabs #ctmselect .select_txtt {
    padding: 8px 4px 10px;
    border-bottom: 1px solid #e7edf0;
}

.searchtabs #ctmselect .select_txtt:last-child {
    border-bottom: 0;
}

.searchtabs #ctmselect .select_t {
    margin: 0 5px 7px;
    padding: 2px 6px;
    color: #1e3541;
    font-size: 18px;
    line-height: 28px;
    border-radius: 4px;
}

.searchtabs #ctmselect .select_t:hover {
    color: #1393c0 !important;
    background: #e8f4f8;
}

.searchtabs #ctmselect .country {
    width: calc(50% - 12px);
    margin: 5px;
    padding: 8px 12px;
    color: #40545f;
    font-size: 15px;
    line-height: 22px;
    border: 1px solid #d9e2e7;
    border-radius: 5px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.searchtabs #ctmselect .country:hover {
    color: #1393c0 !important;
    border-color: #7fb2c9;
    background: #e8f4f8;
}

@media screen and (max-width: 920px) {
    .searchtabs #ctmselect.customselect {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .searchtabs #ctmselect ul.tabs {
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-right: 40px;
    }

    .searchtabs #ctmselect .country {
        display: block;
        width: calc(100% - 10px);
        padding: 8px 10px;
    }
}

.searchtabs .s002 {
    width: 100%;
    background: #fff;
}

.searchtabs .s002 form {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.searchtabs .s002 form .inner-form {
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.s002-foreign_searchnew {
    width: 100%;
    background: #fff;
}

.s002-foreign_searchnew form {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

.s002-foreign_searchnew form .inner-form {
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}

.searchtabs .hotkey-scroll-row {
    display: contents;
}

.mobile-search-sheet-trigger,
.mobile-search-action-row,
.mobile-search-sheet-overlay,
.mobile-search-sheet-header {
    display: none;
}

@media screen and (min-width: 769px) {
    .searchtabs {
        position: relative;
        top: auto;
        z-index: auto;
    }

    .searchtabs.is-stuck {
        z-index: auto;
    }

    .searchtabs .contentsearch {
        transition: box-shadow .2s ease;
    }

    .searchtabs.is-stuck .contentsearch {
        box-shadow: none !important;
    }
}

@media screen and (max-width: 768px) {
    .searchbar-dual-layout.searchbar-layout-pc {
        display: none;
    }

    .searchbar-dual-layout.searchbar-layout-mobile {
        display: block;
    }

    .searchtabs {
        position: relative;
        top: auto;
        margin-top: 0;
        z-index: auto;
    }

    .searchtabs .contentsearch {
        position: relative;
        margin-top: 10px;
        background: #fff;
        transition: box-shadow .2s ease;
    }

    .searchtabs.is-stuck .contentsearch {
        box-shadow: none !important;
    }

    body.mobile-search-sheet-open {
        overflow: hidden;
    }

    body.mobile-search-sheet-open .searchtabs {
        z-index: 1000000;
    }

    body.mobile-search-sheet-open .flatpickr-calendar.open {
        z-index: 1000002 !important;
    }

    .searchtabs .s002 form .inner-form > .mobile-search-action-row {
        display: -webkit-flex;
        display: flex;
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
        width: 100%;
        padding: 10px;
        gap: 10px;
        background: #fff !important;
    }

    .mobile-search-action-row .mobile-search-sheet-trigger,
    .mobile-search-action-row .advanced-filter-button {
        position: static;
        display: block;
        -webkit-flex: 1 1 0;
        flex: 1 1 0;
        width: 50%;
        height: 46px;
        margin: 0;
        padding: 0 18px;
        border: 0;
        border-radius: 6px;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        line-height: 46px;
        text-align: center;
        background: #1393c0 !important;
        box-shadow: none;
        cursor: pointer;
    }

    .mobile-search-action-row .mobile-search-sheet-trigger:focus,
    .mobile-search-action-row .mobile-search-sheet-trigger:active,
    .mobile-search-action-row .advanced-filter-button:focus,
    .mobile-search-action-row .advanced-filter-button:active {
        outline: none;
        box-shadow: none;
    }

    .mobile-search-sheet-overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        background: rgba(20, 35, 43, .48) !important;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
        pointer-events: none;
        z-index: 1200;
    }

    .mobile-search-sheet-overlay.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .searchtabs .search-main-fields {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        padding: 18px 16px 20px;
        gap: 12px;
        overflow-x: hidden;
        overflow-y: auto;
        border-radius: 0;
        background: #fff !important;
        box-shadow: 0 -8px 24px rgba(20, 35, 43, .22);
        transform: translateY(105%);
        transition: transform .28s ease;
        z-index: 1201;
    }

    .searchtabs .search-main-fields.is-open {
        transform: translateY(0);
    }

    .mobile-search-sheet-header {
        display: -webkit-flex;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        -webkit-order: 0;
        order: 0;
        width: 100%;
        padding: 0 2px 6px;
        color: #1393c0;
        font-size: 20px;
        background: #fff !important;
    }

    .mobile-search-sheet-close {
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        color: #667985;
        font-size: 28px;
        line-height: 32px;
        text-align: center;
        background: transparent;
        cursor: pointer;
    }

    .searchtabs .search-main-fields > .input-field {
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 100% !important;
        min-width: 0 !important;
        height: auto;
        margin: 0 !important;
        padding: 8px 0 0 !important;
        border: 1px solid #d9e2e7;
        border-radius: 6px;
        background: #fff !important;
    }

    .searchtabs .search-main-fields > .fouth-wrap {
        -webkit-order: 1;
        order: 1;
    }

    .searchtabs .search-main-fields > .depart-wrap {
        -webkit-order: 2;
        order: 2;
    }

    .searchtabs .search-main-fields > .return-wrap {
        -webkit-order: 3;
        order: 3;
    }

    .searchtabs .search-main-fields > .keyword-wrap {
        -webkit-order: 4;
        order: 4;
    }

    .searchtabs .search-main-fields > .mobile-search-sheet-check-sign {
        display: -webkit-flex;
        display: flex;
        -webkit-order: 5;
        order: 5;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        width: 100%;
        margin: 0;
        padding: 4px 2px;
        gap: 18px;
        background: #fff !important;
    }

    .searchtabs .search-main-fields > .fifth-wrap {
        -webkit-order: 6;
        order: 6;
        padding: 0 !important;
        border: 0;
        margin-top: auto !important;
    }

    .searchtabs .search-main-fields > .input-field label {
        display: block !important;
        padding: 0 12px;
    }

    .searchtabs .search-main-fields > .input-field input {
        width: 100% !important;
        padding: 10px 12px 12px !important;
        border: 0;
        background: #fff !important;
    }

    .searchtabs .search-main-fields > .fifth-wrap .btn-search {
        width: 100% !important;
        height: 48px;
        border-radius: 6px;
        font-size: 18px;
    }

    .searchtabs .s002 form .inner-form > .hotkey-scroll-row {
        display: -webkit-flex;
        display: flex;
        -webkit-flex: 0 0 100%;
        flex: 0 0 100%;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        background-color: #fff !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .searchtabs .hotkey-scroll-row::-webkit-scrollbar {
        display: none;
    }

    .searchtabs .s002 form .inner-form > .hotkey-scroll-row > .hotkey,
    .searchtabs .s002 form .inner-form > .hotkey-scroll-row > .hotkey.hotkey2 {
        display: -webkit-flex;
        display: flex;
        -webkit-flex: 0 0 auto;
        flex: 0 0 auto;
        -webkit-align-items: center;
        align-items: center;
        width: auto;
        margin: 0 !important;
        padding: 7px 8px;
        white-space: nowrap;
        background-color: #fff !important;
    }

    .searchtabs .checkSign {
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        gap: 18px;
        padding-right: 10px;
        padding-left: 10px;
    }
}
