﻿/* 
    Template: Search Box
    Author: M4verick
    Developer by: ETransact Sdn Bhd
    Email : erwanhafizi@gmail.com
    Website : www.backpackers.my
    Version :COVID19#SOCIALDISTANCING 23022021
*/

/* overlay focus */
.header.overlay {
    z-index: 0
}

.page-wrapper .main-wrapper-overlay {
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    z-index: -1
}

    .page-wrapper .main-wrapper-overlay.show {
        background: #020202;
        background: rgba(2,2,2,.7);
        z-index: 9;
        visibility: visible;
        opacity: 1
    }

.ots-search-box.focus {
    z-index: 10001
}

/* search trip - select dropdown */
.slide-search-container {
    position: relative
}

.main-search-bus [class*=col-] {
    padding: 0
}

.destination-input > div, .destination-label > div {
    width: 50%;
    position: relative
}

.destination-arrow {
    position: absolute !important;
    width: 24px !important;
    height: 24px;
    left: calc(50% - 14px);
    z-index: 999;
    bottom: 7%;
    border-radius: 50%;
    transform: translateY(-50%);
    align-items: center;
    color: #F69220;
    display: flex;
    background: #fff
}

.search-trip-container {
    width: 100%;
    position: relative;
    z-index: 10
}

.checkbox label::before {
    width: 13px !important;
    height: 13px !important
}

.checkbox label::after {
    margin-left: -23px !important
}

.search-trip-wrapper input[type=text] {
    background: rgba(255,255,255,0);
    border: none;
    width: 100%;
    color: #020202;
    height: 58px !important;
    padding: 1.2em 1em 0 10px !important;
    font-size: .938em
}

    .search-trip-wrapper input[type=text] div {
        border-bottom: 1px solid rgba(27,27,27,.5)
    }

.search-trip-wrapper label { /*color:#35405a;*/
    font-variant-ligatures: common-ligatures;
    font-weight: 400;
    font-size: .625em;
    display: block;
    position: absolute;
    left: 10px;
    -webkit-transition: .2s ease-out;
    -o-transition: .2s ease-out;
    transition: .2s ease-out;
    cursor: text;
    line-height: 1em !important;
    top: 12px
}

    .search-trip-wrapper label.active {
        font-size: .625em
    }

.ots-ddate {
    border-left: 1px solid #dee2ee;
    border-right: 1px solid #dee2ee;
    border-radius: 0 !important
}

.ots-search-box {
    margin: 0 auto
}

.ots-search-box, .search-trip-wrapper section div {
    background: #fff;
    color: #020202;
    border-radius: 5px;
    margin-bottom: 0
}

.main-search-bar {
    padding: .5em
}

.search-trip-wrapper label {
    letter-spacing: 1px;
    font-family: Montserrat,Helvetica,Arial,sans-serif;
    text-transform: uppercase
}

.ots-search-button {
    width: 100%;
    border-radius: 4px;
    font-size: 1em;
    color: #fff;
    background: #007bff;
    border: none;
    cursor: pointer;
    padding: 1.3em 0;
    text-transform: uppercase;
    letter-spacing: 1px
}

.ots-search-box .input-group input:focus {
    z-index: 0 !important;
    box-shadow: none !important
}

.button-search-main .ots-search-button:focus, .button-search-main .ots-search-button:hover {
    color: #fff;
    background: #5B5C5F
}

.search-from .select2-selection {
    border-right: 1px solid #dee2ee !important
}

.search-to label {
    padding-left: 1.4em
}

.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--multiple {
    display: block;
    border: none;
    border-radius: 0;
    width: 100%;
    color: #000;
    height: 58px;
    padding: 1em 1em 0 10px;
    background: transparent
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding: .5em 0 0;
        color: #020202
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: #020202;
        font-variant-ligatures: common-ligatures
    }

        .select2-container--default .select2-selection--single .select2-selection__placeholder:before {
            color: #020202;
            font-family: "icofont";
            content: "\ef79";
            margin-right: .5em
        }

.contrast:before {
    color: #F69220
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #721c24
}

.select2-container--default .select2-results__group {
    text-transform: uppercase;
    background: #FFEACD;
    font-size: .875em;
    line-height: 2.5em
}

.select2-container--default .select2-results__option .select2-results__option {
    padding: 8px;
    padding-left: .5em;
    font-size: 1em
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #FCB722;
    color: #3C3C3B;
    font-weight: 700
}

#select2-ots-from-results .select2-results__options .select2-results__option:before, #select2-ots-to-results .select2-results__options .select2-results__option:before {
    font-family: "icofont";
    content: "\ee18";
    margin-right: 1em
}

.select2-dropdown {
    border: 0;
    box-shadow: 2px 8px 8px rgba(0,0,0,.5);
    top: -32px;
    width: 300px !important
}

.select2-search--dropdown {
    margin-bottom: 4px
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 2px 4px;
    border: none;
    border-bottom: 1px solid #aaa
}

.select2-results__message {
    font-size: .875em
}

/* label, checkbox */
.ots-rdate label.oneway {
    font-size: 1em;
    font-family: 'Hind Siliguri', sans-serif;
    top: 30px;
    text-transform: capitalize
}

.main-search-bar .checkbox {
    text-align: right;
    padding: 0;
    position: absolute;
    left: 25px
}

    .main-search-bar .checkbox label {
        margin: 0;
        left: 0;
        top: 4px
    }

.checkbox label {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding-left: 5px;
    cursor: pointer;
    line-height: 1.5em
}

.ots-rdate .custom-cb {
    position: absolute;
    top: -3px;
    left: -14px;
    height: 15px;
    width: 15px;
    border: 1px solid #dee2ee;
    background: #fff
}

.ots-rdate .cb-container:hover input ~ .custom-cb {
    border: 1px solid #9CC2CB
}

.ots-rdate .cb-container input:checked ~ .custom-cb {
    background: #fff
}

.ots-rdate .custom-cb:after {
    content: "";
    position: absolute;
    display: none
}

.ots-rdate .cb-container input:checked ~ .custom-cb:after {
    display: block
}

.ots-rdate .cb-container .custom-cb:after {
    left: 3px;
    top: -2px;
    width: 8px;
    height: 14px;
    border: solid #F69221;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg)
}



/**/
