#search_tour .std.container {
    width: var(--main-container-width);
    margin: auto;
}

.samo_container table.std {
    border-spacing: 15px;
}

.samo_container table.std table {
    width: 100%;
}

.samo_container .n2 {
    width: 50%;
}

.samo_container .n3 {
    width: 50%;
}

.samo_container .n4 td {
    border-right: 1px solid #e4e4e4;
}

.samo_container .n4 .tdl {
    border-right: 0 !important;
}

.samo_container .div_hotel_param table tbody td {
    padding-top: 0;
}

#search_tour .stats .fr_place_l, #search_tour .stats .fr_place_r {
    cursor: pointer;
}

.samo_container table.res th.w42 {
    width: 155px;
}

.samo_container .price_legend {
    width: 99%;
    margin: auto;
}

.samo_container .price_legend td {
    vertical-align: middle;
    text-align: left !important;
}

.samo_container .price_legend span {
    vertical-align: middle;
    line-height: 30px;
    display: inline-block;
}

.samo_container .places {
    width: 78px;
    height: 30px;
    background: url('../../pict/icons_ver.2016.07.png') no-repeat 0 0;
}

.samo_container .confirm_now_img {
    width: 56px;
    height: 20px;
    background: #007355;
}

.samo_container .stop_sale_img {
    width: 56px;
    height: 20px;
    background: #cf4848;
}

.samo_container .best_price_img {
    width: 56px;
    height: 20px;
    background-color: #ffe874;
    border-bottom: 1px solid #aa8430;
}

.samo_container .price_stats_img {
    width: 56px;
    height: 30px;
    background: url('../../pict/stats.png') no-repeat 50% 50%;
}

.samo_container .stopsale, .samo_container table.res tr.red_row td, .price_legend .red_row {
    border-bottom: 1px solid #CC5050 !important;
    background: #F1AFAF;
    color: #9F4D4D !important;
}

.samo_container .stopsale, .samo_container .resultset tr.red_row td a {
    color: #9F4D4D !important;
}

.red_row td {
    color: #ffffff !important;
    border-top: 1px solid #aaaaaa !important;
    border-bottom: 1px solid #aaaaaa !important;
}

.red_row a {
    color: #ffffff !important;
}

.red_row a:hover {
    color: #ffffff !important;
}

.samo_container .confirm_now, .samo_container table.res tr.green_row td, .samo_container .price_legend .green_row {
    border-bottom: 1px solid #007355 !important;
    background: #b4ddac !important;
}

.samo_container table.res tr.gray_row td, .samo_container .price_legend .gray_row {
    border-bottom: 1px solid #007355 !important;
    background: #bdbebd !important;
}

.conform_now_img {
    width: 30px;
    height: 30px;
    background: url('../../pict/icons_ver.2016.07.png') no-repeat -380px 0;
}

#search_tour td.td_price .price {
    font-style: italic;
}

#search_tour td.td_price a {
    text-decoration: none;
}

#search_tour td.td_price .bron {
    font-weight: bold;
    font-style: normal;
}

#search_tour td.td_price .bron, #search_tour td.td_price .stop {
    cursor: pointer;
}

#search_tour td.link-hotel img, #search_tour .type_price img {
    margin-bottom: -3px;
}

.samo_container .div_hotel_param {
    width: 100%;
    clear: both;
}

#search_tour input.hotelsearch {
    animation-duration: 10s;
    animation-name: slidein;
    animation-iteration-count: infinite;
}

#search_tour input.hotelsearch, #search_tour input.townssearch {
    font-size: 13px;
    line-height: 18px;
    border: 1px solid #999999;
    border-radius: 4px;
    margin-bottom: 3px;
    padding: 1px;
    padding: 3px 5px;
}

#search_tour input.hotelsearch {
    width: 98%;
}

#search_tour input.townssearch {
    width: 95%;
}

@keyframes slidein {
    0% {
        border-color: #999999;
    }

    50% {
        border-color: #FFE874;
    }

    100% {
        border-color: #999999;
    }
}

#search_tour input.hotelsearch[type='search'], #search_tour input.townssearch[type='search'] {
    width: 100%;
}

#search_tour .n5 {
    border-bottom: 1px solid #333333 !important;
}

#search_tour .n5 label {
    display: block;
    float: left;
    width: 33%;
    text-align: left !important;
}

#search_tour .n5 label input {
    margin-right: 10px;
}

.samo_container {
    display: block !important;
}

#search_tour .child_ages, #search_tour .child_ages .age {
    visibility: hidden;
}

#search_tour .child_ages .age {
    width: 43px;
}

#search_tour .child_ages_container .chosen-container .chosen-results li.active-result {
    font-size: 11px;
}

#search_tour td.panel {
    vertical-align: middle;
    border: 0 !important;
}

.samo_container td.c {
    width: auto;
}

#search_tour .additional {
    background: url('../../pict/packet_info.png') no-repeat;
    cursor: pointer;
    display: inline-block;
    height: 16px;
    vertical-align: middle;
    width: 16px;
}

.samo_container .resultset .percent {
    cursor: pointer;
    background: url('../../pict/percent.png') no-repeat rgba(0, 0, 0, 0);
    top: 0;
    width: 15px;
}

#search_tour label.hidden {
    visibility: hidden;
}

#search_tour .groupbox label {
    display: block;
}

#search_tour .groupbox label.hidden {
    display: none !important;
}

#search_tour .groupbox.expanded label.hidden {
    display: block !important;
    visibility: visible;
}

#search_tour .nw .attr, #search_tour .nw .recommend, #search_tour .nw .vip, #search_tour .nw .best, #search_tour .nw .stats, #search_tour .nw .map {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('../../pict/icons_ver.2016.07.png') no-repeat -380px 0;
}

#search_tour .nw .attr {
    background-image: none;
    background-position: center center;
    background-repeat: no-repeat;
    width: 20px;
}

#search_tour .nw .vip {
    background: url('../../pict/icons_ver.2016.07.png') no-repeat -345px 0;
}

#search_tour .nw .stats {
    width: 20px;
    height: 30px;
    margin: 0;
    background: url('../../pict/stats.png') no-repeat 0 50%;
    cursor: pointer;
}

#search_tour .link-hotel .map {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0;
    background: url('../../pict/pin-point.png') no-repeat 0 50%;
    opacity: 0.6;
    cursor: pointer;
}

#search_tour .tour-select {
    width: 382px !important;
}


#search_tour .STARS hr {
    border: 0;
    background-color: silver;
    color: silver;
    height: 1px;
    padding: 0;
}

#search_tour div.transport, #search_tour th.transport {
    white-space: nowrap;
    line-height: 17px;
}

div.transport {
    display: table-row;
}

#search_tour th.transport {
    width: 95px;
}

#search_tour div.transport span {
    display: inline-block;
    line-height: 16px;
    white-space: nowrap;
    vertical-align: text-bottom;
    margin-right: 1px;
}

#search_tour div.transport span.name {
    display: table-cell;
}

#search_tour table.res span.mealnote {
    white-space: nowrap;
}

#search_stat {

}

#search_stat .td_price {
    padding-top: 5px;
    padding-bottom: 5px;
}

#search_stat .td_price .bron {
    cursor: pointer;
}

#freights table.freights {
    margin: auto;
    width: 752px !important;
}

#freights table.freights td.td_freights {
    padding: 0 3px 0 0;
    width: 50%;
}

#freights table.freights td.td_freights.right {
    padding-right: 0;
    padding-left: 3px;
}

#freights table.res, table.nb {
    width: 100% !important;
}

#freights table.nb td, #freights td.nb {
    border: 0 !important;
    line-height: normal !important;
    white-space: nowrap;
}

#freights td.st_pl {
    width: 75px !important;
    min-width: 75px;
}

#freights table.res td {
    line-height: 1.7em;
}

#freights table.res td.no_wrap {
    white-space: nowrap;
}

#search_tour .std {
    margin: auto;
    border-spacing: 0 !important;
}

#search_tour table td, .samo_container table th {
    font-family: inherit;
    vertical-align: middle;
}

#search_tour table.res {
    border: 0;
}

#search_tour .direction {
    width: 100%;
}

#search_tour .direction td {
    padding: 5px 10px !important;
}

#search_tour .direction .direction_left {
    width: 30% !important;
    text-align: right;
}

#search_tour .direction .direction_right {
    width: 70%;
    text-align: left;
}

#search_tour .direction .tour_left {
    width: 20% !important;
    text-align: right;
}

#search_tour .direction .tour_right {
    width: 80%;
    text-align: left;
}

#search_tour .note_container {
    color: #6688aa;
}

#search_tour .blank-note {
    display: none;
}

#search_tour .user_info {
    width: var(--main-container-width);
}

#search_tour .user_info td {
    padding: 3px 10px;
}

#search_tour .description, #search_tour .description2, #search_tour .description3, #search_tour .description4 {
    width: 85px;
    text-align: right;
}

#search_tour .description2 {
    width: 95px;
}

#search_tour .description3 {
    width: 65px;
}

#search_tour .description4 {
    width: 50px;
}

#search_tour .user_info .col, #search_tour .user_info .empty {
    padding: 0;
}

#search_tour .user_info .col {
    width: 49%;
}

#search_tour .user_info .child_ages_container {
    padding-left: 0;
    padding-right: 0;
}

#search_tour .child_ages input.age {
    display: inline-block;
    width: 35px;
}

#search_tour .from {
    width: 20px;
    text-align: right;
}

#search_tour .calendar {
    width: 125px !important;
    vertical-align: top;
}

#search_tour .nights {
    width: 60px;
}

#search_tour .tourists {
    width: 60px;
}

#search_tour .child_ages {
    width: 120px;
}

#search_tour .cost {
    width: 60px;
}

#search_tour .cost .select_span {
    display: block;
}

#search_tour .count {
    width: 70px;
}

#search_tour td.shadow {
    padding: 0;
}

#search_tour .programm_filter {
    width: 100%;
}

#search_tour .programm_type_length {
    width: 200px;
}

#search_tour .programm_filter td {
    padding: 5px 10px;
}

#search_tour .programm_filter td label {
    display: block;
    float: left;
    width: 25%;
    text-align: left !important;
    vertical-align: middle;
    white-space: nowrap;
    height: 20px;
    line-height: 20px;
    margin-left: 30px;
}

#search_tour .programm_filter td label input {
    margin: 0 5px 2px 0;
    padding: 0;
}

#search_tour .hotels_container .checklistbox {
    height: 13em;
}

#search_tour .hotels_container {
    width: 100%;
}

#search_tour .hotels_container td {
    padding: 5px;
    text-align: center;
}

#search_tour .header {
    height: 22px;
    line-height: 22px;
    vertical-align: middle;
    padding: 2px 0;
}

#search_tour .header input {
    margin-right: 5px;
}

#search_tour .header .left {
    float: left;
    display: inline-block;
}

#search_tour .header .right {
    float: right;
    display: inline-block;
}

#search_tour .footer {
    vertical-align: middle;
    padding: 5px 0;
}

#search_tour .footer input {
    margin-right: 5px;
}

#search_tour .footer .left {
    display: inline-block;
    margin-right: 20px;
    margin-top: 5px;

}

#search_tour .footer .right {
    float: right;
    display: inline-block;
}

#search_tour .control_townto {
    text-align: center;
    width: 20%;
    max-width: calc(var(--main-container-width) * 0.2);
    vertical-align: top;
    padding-left: 5px;
}

#search_tour .control_stars {
    width: 20%;
    max-width: calc(var(--main-container-width) * 0.2);
    vertical-align: top;
}

#search_tour .control_hotels {
    width: 40%;
    max-width: calc(var(--main-container-width) * 0.4);
    vertical-align: top;
    overflow: hidden !important;
}

#search_tour .control_meal {
    max-width: calc(var(--main-container-width) * 0.2);
    vertical-align: top;
}

#search_tour .MEALS, #search_tour .ROOMS {
    /* width: 138px; */
}

#search_tour .small_meal, #search_tour .ROOMS {
    height: 5em !important;
}

#search_tour td.td_price {
    white-space: nowrap;
}

#search_tour .statistic {
    width: 30px;
    text-align: center;
}

#search_tour .w380 {
    /*    width: 380px; */
    overflow-x: hidden;
}

#search_tour .empty_cell {
    width: 10px;
}

#search_tour .sortie {
    white-space: nowrap;
}

#search_tour .sortie.transp_icon_1 span, #search_stat #freights .icon.transp_icon_1 {
    background-image: url("../../pict/transp_icon_1.png");
}

#search_tour .sortie.transp_icon_2 span, #search_stat #freights .icon.transp_icon_2 {
    background-image: url("../../pict/transp_icon_2.png");
}

#search_tour .sortie.transp_icon_3 span, #search_stat #freights .icon.transp_icon_3 {
    background-image: url("../../pict/transp_icon_3.png");
}

#search_tour .sortie span {
    background: no-repeat left center;
    padding: 0 0 0 15px;
    cursor: default;
    background-size: 12px;
}

#search_tour td .popup-note.ui-icon-info {
    margin-bottom: -3px;
}

#search_tour .incoming-slider {
    position: absolute;
    overflow: hidden;
    right: 0;
}

#search_tour .incoming-slider .btn {
    position: absolute;
    height: 172px;
    width: 30px;
    cursor: pointer;
}

#search_tour .incoming-slider .btn div {
    float: left;
    position: relative;
    padding-top: 8px;
    width: 172px;
    height: 23px;
    top: 70px;
    left: -70px;
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    transform: rotate(270deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#search_tour .incoming-slider .btn div span {
    background: url('../../pict/icons_256x240.png') no-repeat -3px -17px;
    margin-left: 2px;
    display: inline-block;
    width: 10px;
    height: 10px;
}

#search_tour .incoming-slider.open .btn div span {
    background-position: -68px -17px;
}

#search_tour .incoming-slider .panel {
    margin-right: -155px;
    width: 150px;
    padding: 5px 5px 5px 30px;
    border-left: 1px solid #6688aa;
}

#search_tour .incoming-slider.open .panel {
    margin-right: 0;
}

#search_tour .incoming-slider .checklistbox {
    height: 150px;
}

#search_tour .ptype_filter .PROGRAMGROUPINC {
    display: none;
}

#search_tour .ptype_filter.with_groups .PROGRAMGROUPINC {
    display: block;
}

#search_tour .resultset .attributes {
    font-size: 0;
    padding-right: 0;
}

#ADDITIONAL_SERVICES .price {
    text-align: right;
}

#basicModalContent {
    max-height: 500px;
    overflow: auto;
}

#search_tour .prgt, #search_stat .prgt {
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    width: 66px;
    height: 33px;
}

.samo_container .res .caption {
    width: 22%;
    white-space: nowrap;
}

#search_tour td.td_price {
    width: 120px;
}

#search_tour td.td_price .price_old {
    background-position: 5px 5px;
    margin-bottom: 3px;
    margin-top: 3px;
    padding-bottom: 1px;
    padding-top: 1px;
}

#search_tour .price_button {
    display: block;
}

#search_tour td.td_price .price_old::before {
    color: #787979;
    content: attr(data-converted_price_old);
    display: block;
    font-size: 11px;
    font-weight: normal;
    text-decoration: line-through;
}

#search_tour .with-hotelssel .checklistbox {
    height: 17em;
    max-height: 17em;
}

#search_tour .with-hotelssel .checklistbox.HOTELSSEL {
    max-height: 0;
    padding: 0;
    border: 1px var(--main-panel-bgcolor);
}

#search_tour .with-hotelssel .checklistbox.HOTELSSEL.shown {
    max-height: 6em;
    padding: 5px;
    border-top: 1px solid silver;
    border-left: 1px solid silver;
    border-right: 1px solid #e4e4e4;
}

#search_tour .with-hotelssel .checklistbox.HOTELSSEL.shown + .checklistbox.HOTELS {
    max-height: 10em;
}

#search_tour .with-hotelssel .checklistbox.HOTELSSEL + .checklistbox.HOTELS label.sel {
    display: none;
}

#search_tour .with-hotelssel .control_hotels .header label:nth-child(2) {
    display: none;
}

#search_tour .with-hotelssel .control_meal .small_meal {
    height: 9em !important;
}

#hotel_monitor .noplace, #hotel_monitor .yesnoplace, #hotel_monitor .yesplace, #hotel_monitor .requestplace, #hotel_monitor th {
    white-space: nowrap;
    text-align: center;
}

.samo_container #search_stat .noplace, .samo_container #search_stat .yesnoplace, .samo_container #search_stat .yesplace, .samo_container #search_stat .requestplace {
    border: black 1px solid;
}

#hotel_monitor {
    overflow: auto;
    width: 755px !important;
}

#search_stat .hotel_monitor {
    width: 100% !important;
}

#search_stat .h_monitor_inactive_day {
    opacity: 0.5;
}

#search_stat .h_monitor_day_title, #search_stat .h_monitor_day {
    font-size: 10px;
    border-right: 1px solid gray;
}

#search_stat .h_monitor_day_title {
    padding: 0px 4px;
}

#search_stat .h_monitor_day {
    padding: 8px 4px;
}


#search_stat .h_monitor_day_title:last-child, #search_stat .h_monitor_day:last-child {
    border-right: none;
}

#search_stat .h_monitor_day_tick {
    border: none;
    height: 0;
    visibility: hidden;
}

.AGE1_chosen, .AGE2_chosen, .AGE3_chosen {
    max-width: 52px;
}

.NIGHTS_FROM_chosen, .NIGHTS_TILL_chosen, .ADULT_chosen, .CHILD_chosen {
    max-width: 55px;
}

.CURRENCY_chosen {
    max-width: 65px;
}

.chosen-drop, .search-choice {
    word-wrap: break-word;
}

.samo_container table.panel td .chosen-drop {
    white-space: normal;
}

.TOWNFROMINC_chosen, .STATEINC_chosen, .INCOMINGPARTNER_chosen, .TOURGROUP_chosen, .TOURTYPE_chosen, .TOURINC_chosen, .FREIGHTTYPE_chosen, .PROGRAMGROUPINC_chosen, .PROGRAMINC_chosen, .NIGHTS_FROM_chosen, .NIGHTS_TILL_chosen, .STATEFROM_chosen {
    max-width: 400px;
}

#search_stat .chartBar {
    width: 0;
    height: 0;
    visibility: hidden;
    color: #cedfec;
    border-color: #aec2d1;
}

#search_stat .chartBarRed {
    display: none;
    color: #FFAFB6;
}

#search_stat .chartBarGreen {
    display: none;
    color: #a8cfab;
}

#search_stat .chartBarPink {
    display: none;
    color: #F5BFB2;
}

#search_stat .chartBarHover {
    display: none;
    color: #00008b;
}

#search_stat .chartToolType {
    display: none;
    background: #cedfec;
}

#search_stat .chartToolTypeGreen {
    display: none;
    background: #A8CFAB;
    color: #0b3c13;
}

#search_stat .chartToolTypeRed {
    display: none;
    background: #FFAFB6;
    color: #620308;
}

#search_stat .chartToolTypePink {
    display: none;
    background: #F5BFB2;
    color: #87642b;
}
#search_stat #freights .icon {
    width: 16px;
    height: 16px;
    white-space: nowrap;
    background: no-repeat left bottom;
    position: relative;
    top: 4px;
}

#search_tour .btn-group {
    cursor: pointer;
    text-align: center;
    width: 21px;
    border: outset 2px;
    padding: 3px 1px 1px;
    margin-top: 2px;
    background-image: url('../../pict/gr.png');
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
}


#search_tour .btn-group.rotating {
    border: inset 2px;
}

#search_tour .resultset {
    padding: 1em 0;
}

#search_tour table.res {
    min-width: var(--main-container-width);
}

#search_tour table.res td.gR {
    padding-left: 30px;
}

#search_tour .hotelgroup {
    margin-right: 10px;
    margin-top: 5px;
}

#search_tour .filters-panel .checklistbox {
    height: 7em;
}

#search_tour .checklistbox label.with_icon {
    line-height: 22px;
}

#search_tour span.c-icon {
    padding-left: 20px;
    background-position: 18px;
}

#search_tour span.c-icon input {
    float: left;
    margin-top: 4px;
    margin-left: -20px;
    display: inline-block;
    margin-right: 30px;
}

#search_tour .filters-panel.no-ufilter .checklistbox label {
    min-width: 32%;
    float: left !important;
    clear: none !important;
}

#search_tour .filters-panel.no-ufilter .checklistbox {
    height: 30px !important;
    overflow-y: hidden;
    border: none;
    background-color: transparent;
}

#search_tour .filters-panel.no-ufilter .header {
    display: none;
}

#search_tour .formError .formErrorContent.info {
    max-width: 600px;
    white-space: normal;
}

#basicModalContent table.res .th-head {
    border-bottom: solid 1px #333;
    font-weight: bold;
    text-align: center;
}

#search_stat .show_boarding {
    display: inline-block;
    background: url('../../pict/seat.empty.png') center center no-repeat;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#search_stat #freights .transport .name {
    display: inline-block;
    padding: 2px;
    border: 0;
    width: 170px;
    text-align: center;
}

#search_stat #freights .transport.nw {
    padding: 0;
    vertical-align: top;
    width: 170px;
}

#search_stat #freights .boarding-container {
    display: none;
}

#search_stat #freights .boarding-container #frplacement_container {
    width: 880px;
    max-width: 880px;
    overflow: auto;
}

.samo_container h3.frplacement {
    margin: 0px 0px 4px 0px;
}

.icon-replace {
    background: url('../../pict/icon-suitecase.png') center center no-repeat;
    display: inline-block;
    width: 25px;
    cursor: pointer;
}

.samo_container span.favorites {
    background: url('../../pict/icon-favorite.png') center center no-repeat;
    display: inline-block;
    width: 25px;
    cursor: pointer;
}

.samo_container td.favorites {
    text-align: center;
}

.samo_container td.favorites span {
    display: inline-block;
    width: 25px;
    height: 16px;
    cursor: pointer;
}

.samo_container td.favorites span.remove {
    background: url('../../pict/icon-favorite-remove.png') center center no-repeat;
}

.samo_container td.favorites span.notify {
    background: url('../../pict/icon-favorite-notify.png') center center no-repeat;
}

.samo_container td.favorites span.notify.off {
    background: url('../../pict/icon-favorite-notify-off.png') center center no-repeat;
}

#search_tour .HOTELSCONTAINER .checklistbox {
    box-sizing: border-box;
    width: 100%;
}

#search_tour .user_info .panel {
    box-sizing: border-box;
    width: 100%;
}

.direction_left.hidden-empty {
    visibility: hidden;
}

.HOTELS.wohotel {
    display: none;
}

.information-ear {
    border-top: 1px solid grey;
    width: 100%;
    cursor: pointer;
    height: 20px;
    vertical-align: middle;
    line-height: 23px;
}

.price-legend-container {
    border-top: 1px solid grey;
    display: none;
}

.up {
    display: inline-block;
    width: 10px;
    height: 15px;
    background: url(../../pict/chosen/chosen-sprite.png) no-repeat 0 2px;
}

.down {
    display: inline-block;
    width: 10px;
    height: 15px;
    background: url(../../pict/chosen/chosen-sprite.png) no-repeat -18px 2px;
}

div.grouping {
    padding-left: 10px;
}

.imgSort {
    animation: animate_motion 5s 0s both infinite;
}

@keyframes animate_motion {
    0%, 20% {
        transform: translate3d(0, 0, 0);
    }
    10%, 14%, 18%, 2%, 6% {
        transform: translate3d(-1px, 0, 0);
    }
    12%, 16%, 4%, 8% {
        transform: translate3d(1px, 0, 0);
    }
}

.progressText {
    position: relative;
    text-align: center;
    top: -28px;
}

.progress-bar {
    width: 100%;
    height: 40px;
    background-color: #FFE874;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0;
    background-color: var(--main-button-bgcolor);
    transition: width 0.2s ease;
}

div.progressbarDiv {
    display: none;
    position: sticky;
    top: 0;
    margin: auto;
    width: var(--main-container-width);
}

div.hotelInfo {
    background-color: #FFE874;
    display: none;
    position: sticky;
    top: 0px;
    padding: 2px;
}

div.datepickerRun {
    display: flex;
    align-items: center;
    height: 20px;
    cursor: pointer;
    margin: 0px;
    padding: 0px;
}

div.datepickerRun::before {
    content: "\00a0";
}

input.CHECKIN_LIST {
    text-overflow: ellipsis;
    width: 170px;
    height: 22px;
    border: 1px solid #999999;
    border-radius: 4px;
    position: relative;
    top: 2px;
    padding-left: 5px;
}

.multiNights {
    width: 190px;
    height: 55px;
}

.multiNights ul.chosen-choices {
    min-height: 55px;
    border-radius: 5px;
    padding: 5px;
}

div.calendarDivRelative {
    margin-right: 5px;
    width: 170px;
    position: relative;
}

div.datepickerIcons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin-left: -5px;
    margin-top: 5px;
}

.chosen-container-multi .chosen-results .result-selected {
    display: none !important;
}

td.tdCalendarList, td.tdNightsList, td.multiNights {
    vertical-align: top !important;

}

td.tdCalendarList, td.tdNightsList {
    padding-top: 7px !important;
}

td.tdNightsList {
    text-align: right !important;
}

.calendarPict {
    padding-right: 5px;
}

.nights_from-wrapper {
    position: absolute;
    top: 3px;
}

select.custom-chosen-hidden-select,
.tour_right select.custom-chosen-hidden-select {
    position: absolute;
    z-index: 999;
    top: 3px;
    display: block !important;
    pointer-events: none;
}

.custom-chosen-wrapper .chosen-single {
    height: 20px;
    border: none;
    box-shadow: none;
}

.chosen-container-single .chosen-drop {
    margin-top: 0;
}

.custom-chosen-wrapper .chosen-container-active.chosen-with-drop .chosen-single {
    border: none;
}

div.inputDivSearch {
    width: 100%;
    padding-top: 2px;
}

.control_hotels .HOTELS, .control_townto .TOWNS {
    height: 140px !important;
}

img.search-attribute-image {
    vertical-align: middle;
    margin-left: -5px;
    max-height: 20px;
    max-width: 20px;
    padding-right: 10px;
}

.legend-container {
    display: contents;
}

#freights .legend-container > span.legend.icon {
    margin-left: 10px;
}

/*Код для десктопа расположить до mobile-layout*/
/*mobile-layout*/
@media (max-width: 882px) {
    :root {
        --main-container-width: 100vw;
    }

    *, ::after, ::before {
        box-sizing: border-box;
    }

    #notify-container {
        width: auto;
        left: 20px;
    }

    #notify-container span.notify-text {
        word-wrap: break-word;
    }

    #search_tour .user_info td {
        padding: 3px 0;
    }

    .chosen-container-single .chosen-single {
        line-height: 21px;
    }

    #search_tour .std.container table tbody,
    #search_tour .std.container table.direction > tbody > tr,
    .toggle-checkbox:checked ~ table.collapsible,
    #search_tour .std.container table tbody td.width50p {
        display: block;
        width: auto !important;
    }

    tr.additional_filters > td,
    #search_tour td.td_price {
        text-align: center;
    }

    #search_tour .additional_filters .collapsible td {
        margin: unset;
    }

    #search_tour .additional_filters .description4 {
        width: auto;
        text-align: left;
    }

    #search_tour .direction .tour_left {
        width: auto !important;
        text-align: left;
    }

    #search_tour table.collapsible td.width50p,
    #search_tour table.collapsible td.tour_right,
    #search_tour table.collapsible td.tour_left {
        padding: 3px 0 !important;
        margin: 0;
    }

    #search_tour .direction td {
        padding: 3px 0 !important;
        margin: 0 5px;
    }

    .TOWNFROMINC_chosen, .STATEINC_chosen,
    .INCOMINGPARTNER_chosen, .TOURGROUP_chosen,
    .TOURTYPE_chosen, .TOURINC_chosen, .FREIGHTTYPE_chosen,
    .PROGRAMGROUPINC_chosen, .PROGRAMINC_chosen,
    .NIGHTS_FROM_chosen, .NIGHTS_TILL_chosen, .STATEFROM_chosen {
        max-width: unset;
    }

    #search_tour .direction .direction_left {
        text-align: unset;
    }

    #search_tour .std.container table tbody tr {
        display: flex;
        flex: 1;
    }

    .hotels_container .additional_filters {
        width: var(--main-container-width);
    }

    #search_tour table.collapsible td.width50p {
        padding: 0 !important;
    }

    .toggle-button {
        position: relative;
    }

    .toggle-button::after {
        content: "";
        position: absolute;
        bottom: 19%;
        right: -16%;
        width: 0;
        height: 0;
        border-left: 0.4em solid transparent;
        border-right: 0.4em solid transparent;
        border-top: 0.6em solid gray;
        transition: transform 0.3s ease;
    }

    .toggle-checkbox:checked + .toggle-button::after {
        transform: rotate(180deg);
    }

    .samo_container .tour-date-interval {
        margin-bottom: unset;
    }

    #search_tour .std.container table.tour-date-interval tbody {
        display: grid;
        grid-template-columns: 24% 26% 26% 24%;
        padding: 0 10px;
    }

    #search_tour .description,
    #search_tour .description2 {
        width: auto;
    }

    #search_tour .std.container .paramsFrom,
    #search_tour .std.container .paramsTill,
    #search_tour .std.container table.hotels_container > tbody > tr:last-child > td {
        display: contents;
    }

    .samo_container input.date {
        width: 100%;
        padding-top: 2px;
    }

    .samo_container button.Zebra_DatePicker_Icon {
        width: 70px;
        background: transparent;
    }

    .paramsFrom .calendar span,
    .paramsTill .calendar span {
        width: 100%;
    }

    #search_tour .nights {
        width: 100%;
        margin-left: auto;
    }

    #search_tour .paramsFrom .description {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        text-align: left;
    }

    .paramsFrom .calendar {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    #search_tour .paramsFrom .description2 {
        padding: 3px 0;
        grid-column: 3 / 4;
        grid-row: 1 / 2;
    }

    #search_tour .paramsFrom .nights {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
    }

    #search_tour .paramsTill .description {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        text-align: left;
    }

    .paramsTill .calendar {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    #search_tour .paramsTill .description2 {
        padding: 3px 0;
        grid-column: 4 / 5;
        grid-row: 1 / 2;
    }

    #search_tour .paramsTill .nights {
        grid-column: 4 / 5;
        grid-row: 2 / 3;
    }

    #search_tour .paramsFrom .nights {
        padding-left: 16%;
    }

    #search_tour .paramsTill .nights {
        padding-left: 7%;
    }

    #search_tour .paramsFrom .calendar {
        padding-right: 7%;
    }

    #search_tour .paramsTill .calendar {
        padding-right: 16%;
    }

    #search_tour .tour-date-interval:has(tr.paramsTill[style*="visibility: hidden"]) .paramsFrom .description2,
    #search_tour .tour-date-interval:has(tr.paramsTill[style*="visibility: hidden"]) .paramsFrom .nights {
        grid-column: 4 / 5;
    }

    .tour-date-interval .chosen-container-single .chosen-single {
        height: 22px;
    }

    #search_tour .user_info tr td:last-child tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 0 10px;
    }

    .samo_container .notify-item,
    #search_tour .child_ages,
    #search_tour .user_info .col,
    #search_tour table.direction tbody tr td table tbody tr td:last-child,
    #search_tour span.c-icon,
    #search_stat #freights .transport .name,
    #search_tour .prgt {
        width: auto;
    }

    table.direction table.width100p {
        table-layout: fixed;
    }

    #search_tour .child_ages .age {
        width: 43px;
    }

    #search_tour .user_info tr td:last-child tbody tr td {
        width: auto;
        padding: 3px 0;
        flex-basis: 22%;
        margin-right: 5px;
    }

    #search_tour .user_info .description3 {
        order: 0;
        text-align: inherit;
    }

    #search_tour .user_info .description3.children {
        order: 1;
        flex-grow: 1;
        flex-basis: 70%;
    }

    .user_info .tourists {
        order: 2;
    }

    .tourists.children {
        order: 3;
    }

    #search_tour .user_info tr td:last-child .child_ages_container {
        margin-top: auto;
        order: 4;
        flex-grow: 1;
        margin-right: unset;
    }

    .child_ages_container .child_ages {
        display: flex;
        justify-content: space-between;
    }

    .user_info > tbody > tr,
    .direction table.width100p tbody tr,
    .price-legend-container table.price_legend tr,
    #search_tour .std.container table.hotels_container tbody > tr:last-child {
        flex-direction: column;
    }

    .samo_container .note-panel {
        border-radius: 0;
    }

    #search_tour .std.container .hotels_container tr.HOTELSCONTAINER {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        padding: 0 5px;
    }

    #search_tour .filters-panel td {
        padding: 0;
    }

    #search_tour .hotels_container tr.HOTELSCONTAINER td {
        width: auto;
        max-width: none;
    }

    #search_tour .filters-panel.no-ufilter .checklistbox {
        height: 45px !important;
    }

    #search_tour td.add-filters-hotels_container {
        flex: 1;
        padding: 0 10px;
        max-width: 100%;
    }

    #search_tour .hotels_container .control_townto {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    #search_tour .hotels_container .control_stars {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    #search_tour .hotels_container .control_hotels {
        grid-column: span 2;
        grid-row: 2 / 3;
    }

    #search_tour .header {
        display: flex;
        flex-wrap: wrap;
        height: auto;
    }

    #search_tour .header .left,
    #search_tour .header .right {
        display: flex;
        flex: 1;
        gap: 5px;
    }

    #search_tour .HOTELSCONTAINER .header .right,
    #search_tour .additional_filters .header .right {
        justify-content: end;
    }

    #search_tour .control_townto .header {
        padding-bottom: 0;
    }

    #search_tour input.hotelsearch {
        margin-bottom: 1px;
    }

    #search_tour .header .inputDivSearch {
        flex: unset;
        margin-top: 4px;
    }

    #search_tour .header .inputDivSearch input {
        margin-right: 0;
    }

    #search_tour .control_stars .header {
        margin-bottom: 4px;
    }

    #search_tour .hotels_container .control_meal {
        flex: 1;
        max-width: unset;
        padding: 0;
    }

    #search_tour .hotels_container .control_meal .MEALS {
        height: 8em;
    }

    #search_tour .MEALS, #search_tour .ROOMS,
    #search_tour .filters-panel .checklistbox {
        width: 100%;
    }

    #search_tour td.footer {
        flex: 1;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        padding: 5px 10px;
    }

    #samo-link-to-search-key {
        margin-right: auto;
    }

    #samo-link-to-search-key .external {
        background-position: 7px 1px;
    }

    #search_tour .hotels_container tr:last-child td {
        flex: 1;
    }

    #search_tour .hotelgroup {
        margin-right: auto;
        margin-top: 0;
    }

    #search_tour .std.container table tbody tr.paramsFromMulti {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    #search_tour .tdCalendarList {
        text-align: unset;
        width: auto;
    }

    td.tdNightsList {
        text-align: unset !important;
    }

    #search_tour .calendar {
        width: auto !important;
    }

    .multiNights {
        width: auto;
        height: auto;
    }

    td.tdCalendarList, td.tdNightsList {
        padding-top: 3px !important;
    }

    .CURRENCY_chosen, .ADULT_chosen, .CHILD_chosen {
        max-width: none;
    }

    .price-legend-container {
        max-width: 100vw;
        overflow: auto;
    }

    .price_legend {
        overflow: auto;
    }

    .resultset table, .resultset thead,
    .resultset tbody, .resultset th,
    .resultset td, .resultset tr,
    #freights table, #freights table thead,
    #freights table thead tr, #freights table thead th,
    #freights table tbody, #search_tour .sortie .helpalt,
    .boarding-container > td {
        display: block;
    }

    .resultset thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .resultset tr {
        display: flex;
        flex-wrap: wrap;
        margin: 0 0 10px 0;
    }

    .panel.resultset table.std tr {
        display: block;
        grid-template: unset;
    }

    .samo_container table.res td {
        padding: 5px;
    }

    .samo_container table.res .c,
    .samo_container table.res .r {
        text-align: left !important;
    }

    .samo_container #search_stat fieldset.panel {
        min-inline-size: auto;
    }

    .samo_container #search_stat table.res thead th {
        overflow: unset;
        overflow-x: auto;
    }

    .googlePriceChart-wrapper {
        overflow-x: auto;
        overflow-y: clip;
    }

    #googlePriceChart {
        min-width: 2000px;
    }

    .resultset table.res td {
        border: none;
        position: relative;
        width: 100%;
    }

    #basicModalContent fieldset.resultset table.std.panel td {
        white-space: normal;
    }

    .samo_container span.favorites {
        height: 20px;
        width: 16px;
    }

    .samo_container .resultset .percent {
        min-height: 20px;
        background-position-y: bottom;
        display: block;
    }

    .samo_container .price_button {
        min-height: 30px;
        min-width: 100%;
        text-align: center;
    }

    .resultset table.res td:before,
    table.res td:before,
    table.res td:after {
        font-size: 10px;
        color: #575757;
        line-height: 14px;
        align-self: center;
    }

    img.search-attribute-image {
        margin-left: unset;
        padding-right: unset;
    }

    #search_tour table.res td.gR {
        padding-left: 5px;
    }

    .toggle-checkbox, .collapsible,
    .resultset table.res tr.even td:first-child,
    .resultset table.res tr.odd td:first-child,
    .resultset table.res tr.dark td:first-child,
    .resultset table.res tr td .btn-group,
    table.res .favorites-cell:empty,
    #search_tour .resultset table.res .statistic:empty,
    table.res .commission:empty {
        display: none;
    }

    .resultset table.res tr td.group-td {
        padding-left: 50%;
    }

    .samo_container .price_button.expand {
        background-image: url(../../pict/down_arrow.png);
        background-position: left;
    }

    .samo_container .price_button.expand.price_btn_up {
        background-image: url(../../pict/up_arrow.png);
    }

    .cells-wrapper, div.transport {
        display: flex;
        align-items: center;
    }

    .cells-wrapper .stats {
        align-self: center;
    }

    #search_tour .nw .cells-wrapper .helpalt {
        margin-right: 15px;
    }

    #freights .frplacement {
        display: flex;
        flex-wrap: wrap;
    }

    #freights .frplacement > span.legend:first-child {
        margin-left: 4%;
    }

    #freights .text {
        white-space: nowrap;
    }

    #freights > table.res > tbody > tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    #search_stat #freights .boarding-container #frplacement_container {
        width: 100%;
        max-width: 100%;
    }

    #freights .res tbody tr div.transport {
        display: flex;
        justify-content: space-between;
    }

    #freights .res tbody tr div.transport > span:first-child {
        flex: 1;
    }

    #freights .res tbody tr > td:first-child,
    #freights .res tbody tr > td:nth-of-type(2),
    #freights .res tbody tr > td:nth-of-type(3) {
        grid-column: span 2;
    }

    #search_stat #freights .transport.nw {
        width: auto;
        max-width: unset;
        align-items: unset;
    }

    .samo_container .legend.icon:first-child,
    #freights .legend-container > span.legend.icon {
        margin-left: unset;
    }

    .samo_container .transportCompanyLogo {
        max-width: unset;
    }

    #freights .legend-container {
        display: flex;
        margin-left: clamp(0rem, -11.161rem + 47.62vw, 0.625rem);
    }

    .samo_container .price-additional-nights {
        padding: 0 4px;
    }

    #search_tour .link-hotel .additional {
        height: 20px;
        background-position: center;
        margin-left: 10%;
        order: 3;
        align-self: center;
        min-width: 16px;
        width: auto;
    }

    .samo_container .hotel_availability,
    #search_tour .resultset table.res .statistic .stats {
        height: 20px;
    }

    td.type_price {
        display: flex;
        gap: 2px;
        align-items: center;
    }

    .toggle-text {
        display: inline-block;
        max-width: 40%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .toggle-icon {
        display: inline-block;
        width: 12px;
        height: 16px;
        background: url('../../pict/icons_256x240.png') no-repeat -34px 1px;
        transition: transform 0.3s;
        min-width: 12px;
    }

    .toggle-icon.active {
        transform: scaleX(-1);
        max-width: 12px;
    }

    .type_price.open .toggle-text {
        white-space: normal;
        max-width: none;
    }

    .resultset table.res .link-hotel a {
        font-weight: bold;
    }

    .arrival_freight-time span {
        background: url("../../pict/transp_icon_1.png") no-repeat left center;
        padding: 0 0 0 15px;
        cursor: default;
        background-size: 12px;
    }

    .samo_container #search_tour table.res tr.red_row td,
    .samo_container table.res tr.green_row td {
        border-bottom: none !important;
        border-top: none !important;
    }

    #search_stat .prgt:empty {
        width: auto;
    }

    table.res .link-hotel {
        order: 0;
        width: auto;
        display: flex;
        flex: 1;
        flex-basis: 80%;
        font-size: 14px;
    }

    #chart-info table.res .link-hotel {
        flex-basis: 100%;
    }

    table.res .hotel-seats {
        order: 1;
        width: auto;
        line-height: 1px;
        flex-basis: 20%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #search_tour table.res .hotel-room,
    #search_stat table.res .hotel-room {
        order: 2;
        width: auto;
        max-width: 50%;
        display: flex;
        align-items: center;
    }

    table.res .forward-slash {
        order: 3;
        width: auto;
        flex-basis: 5%;
        display: flex;
        align-items: center;
    }

    table.res .hotel-meals {
        order: 4;
        flex: 1;
        flex-basis: 45%;
        display: flex;
        align-items: center;
    }

    table.res .arrival {
        order: 5;
        display: flex;
        flex: 1;
        max-width: 60%;
        flex-basis: 60%;
        gap: 3px;
    }

    table.res .tour-nights {
        order: 6;
        width: auto;
        flex: 1;
        flex-basis: 40%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    table.res .attributes {
        order: 7;
        width: auto;
        flex-basis: 60%;
        display: flex;
        max-width: 100%;
        overflow: auto;
        flex-grow: 1;
        gap: 5%;
    }

    table.res .external-info {
        order: 8;
        width: auto;
        flex-basis: 10%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    table.res .favorites-cell {
        order: 9;
        width: auto;
        padding-left: 3px;
        flex-basis: 10%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    table.res .statistic {
        order: 10;
        flex-basis: 10%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: auto;
    }

    table.res .commission {
        order: 11;
        width: auto;
        flex-basis: 10%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .arrival_freight-time {
        order: 12;
        max-width: 50%;
    }

    table.res td.transport {
        order: 13;
        max-width: 50%;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    table.res .type_price {
        order: 14;
        justify-content: center;
    }

    table.res .tour {
        order: 15;
        display: flex;
        flex: 1;
        flex-basis: 100%;
        justify-content: center;
        padding: 0 5px;
        align-items: center;
    }

    table.res .td_price {
        order: 16;
        flex-basis: 100%;
        text-align: center;
    }

    table.res .type_price:before {
        content: attr(data-head) ":";
    }

    table.res .arrival:before,
    .samo_container .price_button.expand::before {
        content: attr(data-head);
    }

    table.res .tour-nights:before {
        content: attr(data-head);
        align-self: auto;
        margin-right: 3px;
    }

    table.res .tour-nights:after {
        content: attr(data-head-suffix);
        align-self: auto;
        margin-left: 3px;
        text-transform: lowercase;
    }
}

/*Код для десктопа расположить до mobile-layout*/