.form__search {
    background-color: white;
    display: grid;
    margin-bottom: 10px;
    align-items: center;
    border: 1px solid #c8cad4;
    font-size: 16px;
    border-radius: 4px;
}

.form__search > div {
    position: relative;
    width: 100%;
    padding: 5px 7px;
    display: flex;
    align-items: center;
}

input::placeholder {
    color: #9d9898;
}

.form__search input::placeholder {
    font-size: 16px;
}

.form__search .select2-selection--single {
    border: none !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-position: 100% center !important;
}

.form__search .select2-selection__placeholder,
.form__search .select2-selection__rendered {
    color: inherit !important;
}

.form__search .help-block {
    color: #ffc219;
}

.form__search .has-icon:before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 5px;
    display: block;
    min-width: 20px;
}

.form__search .hotel-id:before {
    background: url(../../img/search/ico-hotel.png) center no-repeat;
}

.form__search .city-id:before {
    background: url(../../img/search/ico-city.png) center no-repeat;
}

.form__search .country-id:before {
    background: url(../../img/search/ico-country.png) center no-repeat;
}

.form__search .date:before  {
    background: url(../../img/search/ico-date.png) center no-repeat;
}

.form__search .nights-count:before {
    background: url(../../img/search/ico-time.png) center no-repeat;
}

.form__search .tour-id:before {
    background: url(../../img/search/ico-tour.png) center no-repeat;
}

.form__search .adults:before {
    background: url(../../img/hotel/marker-adults.svg) center no-repeat;
}

.form__search .children:before {
    background: url(../../img/hotel/marker-children.svg) center no-repeat;
}

.form__search .with-flight:before {
    background: url(../../img/search/ico-plane.png) center no-repeat;
}

.form__search .submit {
    justify-content: center;
}

.form__search .has-error .select2-selection__placeholder {
    color: #ffc219 !important;
}

.form__search .form-submit {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #ffc219 url(../../img/tour/history/ico-zoom.png) no-repeat center;
    outline: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 20px;
    text-indent: -9999px;
    align-self: center;
    justify-self: center;
}

.form__search-input,
.form__search-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: inherit;
    width: 100%;
    padding: 0;
    border: none;
    height: 40px;
    font-family: inherit;
    font-weight: 600;
    font-size: 15px;
}

.form__search-select {
    background: url(../../img/arrow-down.png) 100% no-repeat;
    padding: 0 15px 0 0;
}

.form__search input:disabled,
.form__search select:disabled {
    cursor: not-allowed;
}

.form__search > div:after {
    content: '';
    width: 1px;
    height: 30px;
    background: #c8cad4;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.form__search .field-group > div {
    width: 100%;
    display: flex;
    align-items: center;
}

.form__search .has-error {
    color: #ffc219;
}

.form__search .select2-selection__rendered {
    padding-right: 15px !important;
}

.form__search .select2-container--krajee {
    width: calc(100% - 25px) !important;
    left: 0 !important;
}

.form__search .select2-container--krajee .select2-dropdown {
    width: 100% !important;
    left: -1px !important;
    top: calc(100% + 7px) !important;
    box-shadow: 0 0 1rem 0 rgb(0 0 0 / 20%) !important;
}

.form__search .select2-container--krajee .select2-selection--single .select2-selection__clear,
.form__search .select2-container--krajee .select2-selection--multiple .select2-selection__clear {
    top: 16px;
    right: 0 !important;
}

.form__search .no-arrow .select2-container--krajee .select2-selection--single {
    background: none;
}

@media (min-width: 1200px) {
    .form__search > div:nth-last-child(-n+2):after {
        display: none;
    }
}

@media (max-width: 1199px) {
    form.form__search {
        grid-template-columns: repeat(3, 1fr);
    }
    .form__search .form-submit {
        text-indent: inherit;
        width: 100%;
        background-image: none;
    }
    .form__search > div:after {
        display: none;
    }
    .form__search > div {
        padding: 10px;
    }
}

@media (max-width: 767px) {

    .form__search .select2-container--krajee .select2-dropdown {
        left: 0 !important;
        box-shadow: 0 17px 1rem 0 rgb(0 0 0 / 20%) !important;
        top: calc(100% + 3px) !important;
    }

    form.form__search {
        position: relative;
        grid-template-columns: 1fr;
        grid-gap: 0;
        margin-bottom: 80px;
    }

    form.form__search .form-submit {
        margin: 10px auto;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        height: 50px;
    }

    .form__search > div:not(:last-child):after {
        content: '';
        position: absolute;
        display: block;
        background: #c8cad4;
        left: 10px;
        top: auto;
        width: calc(100% - 20px);
        bottom: 0;
        right: auto;
        height: 1px;
        margin: 0 auto;
    }

    .form__search > div {
        height: 50px;
    }

    .form__search .submit {
        height: 0;
        padding: 0;
    }

    form.form__search > div:nth-last-child(-n+2):after {
        display: none;
    }
}
