#fast_search table {
   color:white
}

#search_tour td.type_price,
#search_gdstour td.type_price {
    width: 80px;
    /*white-space: pre-line;*/
}

#search_tour .programm_filter td label,
#search_gdstour .programm_filter td label {
    height: 25px;
    font-size: 14pt;
}

.samo_container .std {
    margin-top: 10px !important;
}

div#samo-preloader {
	background-position:90% 50% !important;
	font-size:14px !important;
	line-height:40px !important;
	margin-left:-100px !important;
	text-align:center;
	width:200px !important;
	left:50%;
	height:40px !important;
}
#samo-preloader-label {
	margin:0 0 0 -25px !important;
	position:relative !important;
}
.samo_container form#fast_search_frm input.load {
	background-color:#ffc046 !important;
	color:#003196 !important;
	border: thin solid black;
    border-radius: 4px;
    overflow: hidden;
    width: 150px !important;
	cursor:pointer;
	background-image:none !important;
	font-size:1.3em;
}

.samo_container .searchmodes {
    background-color: #5a5a58;
}

.samo_container .panel {
    background: #d2d2d2;
}

.samo_container span.icon[data-hide-title="Recommend"] {
    width: 45px;
    height: 45px;
    background-image: url(../../public/pict/default-icon-recommend.png);   
    background-size: contain;
}

.samo_container span.icon[data-hide-title="VIP"] {
    width: 45px;
    height: 45px;
    background-image: url(../../public/pict/default-icon-vip.png);   
    background-size: contain;
}

.samo_container span.icon[data-hide-title="best price"] {
    width: 45px;
    height: 45px;
    background-image: url(../../public/pict/default-icon-best-price.png);   
    background-size: contain;
}

.samo_container span.icon[data-hide-title="new"] {
    width: 45px;
    height: 45px;
    background-image: url(../../public/pict/default-icon-new.png);   
    background-size: contain;
}

.samo_container span.icon.hp_57,
.samo_container span.icon.hp_58,
.samo_container span.icon.hp_1000005,
.samo_container span.icon.hp_1000001 {    
    background-size: contain;
    width: 35px;
}
.samo_container span.icon.hp_57 {
    background-image: url(../../public/pict/default-icon-recommend.png);
}
.samo_container span.icon.hp_58 {
    background-image: url(../../public/pict/default-icon-vip.png);   
}
.samo_container span.icon.hp_1000005 {
    background-image: url(../../public/pict/default-icon-best-price.png);   
}
.samo_container span.icon.hp_1000001 {
    background-image: url(../../public/pict/default-icon-new.png);   
}

#search_gdstour .resultset .price_button[data-gds="1"] {
    background: #fff url(../pict/icon-gds.png) no-repeat 5px 3px;
    background-size: 22px 22px;
}

#search_gdstour .resultset .price_button {
    background: #fff url(../pict/icon-nogds.png) no-repeat 5px 3px;
    background-size: 22px 22px;
}

#search_gdstour .resultset .price_button[data-noflight] {
    background: #fff url(../pict/buy-ico.png) no-repeat 5px 3px;
    background-size: 22px 22px;
}

#search_tour .direction,
#search_gdstour .direction {
    margin: 5px 0px;
    box-shadow: 1px 2px 1px 0px rgba(0,0,0,0.5);
}

#search_tour .user_info,
#search_tour .hotels_container,
#search_gdstour .user_info,
#search_gdstour .hotels_container {
    background: #d2d2d2;
    margin: 10px 0px;
    box-shadow: 1px 2px 1px 0px rgba(0,0,0,0.5);
}

#search_tour .user_info .col,
#search_gdstour .user_info .col {
    width: 50%;
    padding: 5px;
}

#search_tour .user_info .col table,
#search_gdstour .user_info .col table {
    /*border: 1px solid #5a5a58;*/
}

#search_tour .user_info .col table .count,
#search_gdstour .user_info .col table .count {
    padding-left: 0;
    padding-right: 0;
}

#search_tour .hotelgroup,
#search_gdstour .hotelgroup {
    margin-top: 0;
}
#search_tour .sortie,
#search_gdstour .sortie {
    padding-left: 3px;
    padding-right: 5px;
}

#search_tour .control_townto,
#search_gdstour .control_townto {
    padding-left: 10px !important;
}

#search_tour .control_meal,
#search_gdstour .control_meal {
    padding-right: 10px !important;
}

#search_tour .footer,
#search_gdstour .footer {
    padding-right: 10px !important;
    padding-bottom: 10px !important;
}

.samo_container .searchmodes {
    text-align: left;
    padding: 10px;
}

.samo_container .searchmodes .searchmode {
    display: inline-block;
    float: none;
    vertical-align: middle;
}

.samo_container .searchmodes .searchmode:not(.searchmode_selected) .searchmode_button {
    padding-bottom: 7px;
}

.samo_container .searchmodes .searchmode , .samo_container .searchmodes .searchmode_button{
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
}

.samo_container .searchmodes .searchmode_button {
	background: none;
    box-shadow: none;
    border-radius: 0;
    display: inline-block;
    height: 100%;
    text-decoration: none;
    border: none;
    border-bottom: 1px dotted #fff;
}
.samo_container .searchmodes .searchmode_selected{
	border-bottom: 4px solid #fff;
    color: #fdb24a;
}   
.samo_container {
	background:none !important;
}
.samo_container .panel{
    box-shadow: none;
    margin: 0;
    font-size: 14px;
}
.samo_container div.logon-wrapper div.header div.legend {
    height: 10px !important;
    width: 34% !important;
}
#register_agency strong, #register_agency b {
    font-weight: bold;
}
#register_agency u {
    text-decoration: underline;
}
#register_agency i, #register_agency em {
    font-style: italic;
}
#register_agency ol, #register_agency ul {
    margin: 5px 0;
}
#register_agency li {
    list-style: inherit;
    margin-left: 25px;
}

.samo_container .noplace,
.samo_container .yesnoplace,
.samo_container .yesplace,
.samo_container .requestplace {
    border: none !important;
}

.samo_container .searchmodes .searchmode,
.samo_container .searchmodes .searchmode_selected {
    background: none;
    border-radius: 0;
    box-shadow: none;
}

#search_tour .direction .direction_left,
#search_tour .direction .tour_left,
#search_tour .description, 
#search_tour .description2, 
#search_tour .description3, 
#search_tour .description4,
#search_gdstour .direction .direction_left,
#search_gdstour .direction .tour_left,
#search_gdstour .description, 
#search_gdstour .description2, 
#search_gdstour .description3, 
#search_gdstour .description4 {
    font-weight: 700;
}

#search_tour .user_info td,
#search_gdstour .user_info td {
    padding-top: 15px;
}

.samo_container .panel > tbody > tr > td {
    padding-top: 15px;
}

.chosen-container-single .chosen-single {
    position: relative;
    border-radius: 0;
    background: #fff;
    border: none;
    box-shadow: 1px 2px 2px 0px rgba(0,0,0,0.2);
    padding: 4px 4px 4px 12px;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border-radius: 0;
    background: #fff;
    border: none;
    box-shadow: none;
}

.chosen-container .chosen-results li.active-result.yesplace:hover {
    color: #000 !important;
}

.chosen-container-single .chosen-drop {
    border-radius: 0;
    border: none;
}

.chosen-container .chosen-results li.active-result.result-selected {
    /*background: #ffbe41;*/
}

.chosen-container .chosen-results li.group-option:hover,
.chosen-container .chosen-results li.active-result:hover {
    background: #e3eeff;
    color: #000;
}

.chosen-container .chosen-single div {
    display: none;
}

.chosen-container .chosen-single:after {
    content: '\276F';
    display: block;
    position: absolute;
    top: 4px;
    right: 10px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.chosen-container-active.chosen-with-drop .chosen-single:after {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.samo_container .yesplace, 
.samo_container .even .yesplace, 
.samo_container .odd .yesplace {
    background: #aed9a7 !important;
    color: #000 !important;
}

.samo_container .yesplace:hover,
.samo_container .even .yesplace:hover, 
.samo_container .odd .yesplace:hover {
    background: #e3eeff !important;
}

.samo_container .yesplace.result-selected,
.samo_container .even .yesplace.result-selected,
.samo_container .odd .yesplace.result-selected {
    /*background: #ffbe41 !important;*/
}

.samo_container select, 
.samo_container textarea, 
.samo_container .textinput, 
.samo_container input.frm-value, 
.samo_container input.frm-input {
    border: none;
    padding: 4px 4px;
    box-sizing: border-box;
    border-radius: 0 !important;
    box-shadow: 1px 2px 2px 0px rgba(0,0,0,0.2);
    color: #000;
    height: auto !important;
}
.samo_container input.spin-button {
    background: url(../pict/spinbtn_pt.png) top right no-repeat;
}
.samo_container input.spin-button.up {
    background-position: right -30px !important;
}
.samo_container input.spin-button.down {
    background-position: right -60px !important;
}
.samo_container .dp_daypicker tbody tr th {
    background: #5a5a58 !important;
    color: #fff;
}

#bron_info div.tourist input {
    padding: 6px 4px;
}

#bron_info .nofreights {
    background-color: #f2f2f2;
    border: 1px solid #5a5a58;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: bold;
}

.samo_container fieldset .PARTNER_BIK {
    margin-bottom: 8px;
}

.samo_container div.logon-wrapper div.panel div.row input {
    border: none;
    border-radius: 0 !important;
    box-shadow: 1px 2px 2px 0px rgba(0,0,0,0.2);
}

.samo_container input.spin-button {
    background-color: #fff;
    padding: 6px 3px;
}

#search_tour input.hotelsearch,
#search_gdstour input.hotelsearch {
    border-radius: 0;
    border: none;
    box-shadow: 1px 2px 2px 0px rgba(0,0,0,0.2);
}

.samo_container button, 
.samo_container input[type='submit'], 
.samo_container input[type='button'] {
    background: #ffbe41;
    border: none;
    border-radius: 0;
    color: #555;
    /*text-shadow: 0px 1px 1px rgba(0,0,0,0.5);*/
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1em;
}

#search_tour .footer .right,
#search_gdstour .footer .right,
#hotel_stopsale .controls .td_panel.n1 button,
#PARTPASS_LIST button,
#edit_agency .partner_info input[type="submit"] {
    padding: 10px 15px;
}

.samo_container button:hover,
.samo_container input[type='submit']:hover,
.samo_container input[type='button']:hover,
.samo_container button:focus,
.samo_container input[type='submit']:focus,
.samo_container input[type='button']:focus {
    background: #ffd993;
    color: #fff;
}

.samo_container button:active,
.samo_container input[type='submit']:active,
.samo_container input[type='button']:active {
    background: #ffd993;
    box-shadow: inset 1px 2px 2px 0px rgba(0,0,0,0.2);
    color: #fff;
    outline: 0;
}

.samo_container button:disabled, 
.samo_container input[type='submit']:disabled, 
.samo_container input[type='button']:disabled {
    color: #cdcdcd;
}

.samo_container table.res thead > tr > th {
    background: #5a5a58;
    border-right: 1px solid #fff;
    text-align: center;
    font-weight: normal;
    font-size: 14px;
}

.samo_container table.res td {
    border: none;
}

.samo_container table.res .even td, 
.samo_container .even {
    background: #f2f2f2;
    padding: 10px 0px;
}

.samo_container table.res .odd td, 
.samo_container .odd {
    background: #e1e1e1;
    padding: 10px 0px;
}

#header a, 
.samo_container a, 
.samo_container .link {
    color: #3572B0;
}

.samo_container a:hover,
.samo_container .link:hover {
    color: #ffbe41;
}

.samo_container table.res .c {
    font-weight: 700;
}

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

#search_gdstour td.td_price {
    width: 220px;
}

#search_tour td.td_price .bron, 
#search_tour td.td_price .stop, 
#search_tour td.all_prices,
#search_gdstour td.td_price .bron, 
#search_gdstour td.td_price .stop, 
#search_gdstour td.all_prices {
    width: 80%;
    margin: 0 auto;
    border: 2px solid #ffbe41;
    border-radius: 2px;
    background-color: #fff;
    padding: 5px;
    box-shadow: none;
    font-size: 15px;
    font-weight: bold;
    display: block;
    text-align: right;
    font-style: normal;
}

#search_tour td.td_price .bron:hover,
#search_tour td.td_price .stop:hover,
#search_tour td.all_prices:hover,
#search_gdstour td.td_price .bron:hover,
#search_gdstour td.td_price .stop:hover,
#search_gdstour td.all_prices:hover {
    background-color: #e3eeff;
}

.samo_container div.logon-wrapper div.header a.button, 
.samo_container div.logon-wrapper div.header div.button-wrapper, 
.samo_container div.logon-wrapper div.header div.legend, 
.samo_container div.logon-wrapper div.panel {
    border-radius: 0;
}

.samo_container div.logon-wrapper div.header a.button {
    box-shadow: none;
}

.samo_container div.logon-wrapper div.header {
    background: #5a5a58;
}

.samo_container div.logon-wrapper div.header:before {
    content: ' ';
    display: table;
}
.samo_container div.logon-wrapper div.header:after {
    content: ' ';
    display: table;
    clear: both;
}

.samo_container div.logon-wrapper div.header div.legend {
    font-weight: normal;
    background: #5a5a58;
    height: auto !important;
    color: #fff;
    border-bottom: 4px solid #fff;
}

.samo_container div.logon-wrapper div.header div.button-wrapper {
    border: none;
    text-align: center;
    padding: 10px 0px;
}

.samo_container div.logon-wrapper div.header a.button {
    display: inline;
    width: auto;
    float: none;
    background: #5a5a58;
    padding: 0;
    color: #fff;
    border: none;
    border-bottom: 1px dotted #fff;
    text-decoration: none;
    font-size: 14px;
}
.samo_container div.logon-wrapper div.header a.button:hover {
    color: #ffbe41;
    border-bottom: 1px dotted #ffbe41;
}

.samo_container div.logon-wrapper.person div.header a.button {
    float: none;
}

a.bron-person-autoregistration.button {
    background-color: #fff;
    cursor: pointer;
    font-weight: normal !important;
    border: 1px solid #b1b0ab;
}

#search_tour .control_hotels,
#search_gdstour .control_hotels {
    width: 375px;
}

#search_tour .control_stars,
#search_gdstour .control_stars {
    min-width: 200px;
}

#search_tour .checklistbox.STARS,
#search_gdstour .checklistbox.STARS {
    width: 98%;
}

#search_tour .control_meal,
#search_gdstour .control_meal {
    max-width: 90px;
}

#search_tour .MEALS,
#search_gdstour .MEALS {
    width: 115px;
}

#search_tour .checklistbox.HOTELS,
#search_gdstour .checklistbox.HOTELS {
    width: 365px !important;
}

#search_gdstour .hotels_groupbox .hotels_stateinc {
    font-weight: bold;
    display: block;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
}
#search_gdstour .hotels_groupbox .hotels_stateinc[disabled] {
    color: #ccc;
}

#search_gdstour .hotels_groupbox .hotels_stateinc:before {
    content: '+';
    display: inline-block;
    margin-right: 5px;
}

#search_gdstour .hotels_groupbox .hotels_stateinc.active:before {
    content: '-';
}

#bron_info fieldset legend,
.samo_container fieldset legend {
    border-radius: 0;
    background: #5a5a58;
    color: #fff;
    border: 1px solid #fff;
    box-shadow: 0px 0px 0px 2px #5a5a58;
}

#bron_info fieldset .panel_tooltip {
    display: inline-block;
    padding: 20px 10px 10px 10px;
    font-size: 14px;
    font-weight: bold;
}

#bron_info .freights .chosen-container {
    display: block;
    margin: 5px auto;
}

#bron_info fieldset button {
    padding: 10px;
}

#bron_info fieldset button.load-external-freights {
    display: block;
    margin: 0 auto;
}

#bron_info .freights .fr_peoplecount {
    text-align: center;
    font-weight: 700;
}

#bron_info #lastcheck table {
    margin-top: 6px;
}
#bron_info #lastcheck table tr td,
#bron_info table td {
    padding-bottom: 6px;
}

.samo_container .subpanel {
    border: 1px solid #5a5a58;
    background: #f2f2f2;
    margin-bottom: 5px;
}

.samo_container .subpanel table td {
    padding-bottom: 8px;
}

#freight_monitor .controls,
#check_confirm .container {
    padding: 10px;
    background: #eae9e9;
}
#freight_monitor .controls table td {
    padding-bottom: 8px !important;
}
#freight_monitor .controls button,
#check_confirm .container button,
#registration .controls button,
#register_agency input[type="submit"] {
    padding: 10px 15px;
}

#fast_search form {
    width:500px;
    background: #eae9e9;
    padding: 10px;
}
#fast_search form table.n1 {
    width: 100%;
}

#fast_search form table.n1 tr td {
    padding: 0 4px 8px 4px;
    color: #000;
}
.samo_container form#fast_search_frm input.load {
    border: none;
    border-radius: 0;
    color: #fff !important;
    padding: 10px 15px;
}

#register_agency div.label {
    margin: 0;
}

#register_agency table td,
#edit_agency table td {
    padding-bottom: 8px;
}
#register_agency table td .frm-bik-bank input {
    margin-bottom: 8px;
}

#register_agency #fcaptcha {
    padding: 6px;
    font-size: 14px;
}

#the_best {
    background: #eae9e9;
    padding: 10px;
}

#the_best .container button,
#modalContainer input[type="submit"] {
    padding: 10px 15px;
}

#modalContainer div.modalTitle, 
#logonContainer div.modalTitle {
    position: relative;
    height: 30px;
    background: #5a5a58;
    color: #fff;
    font-size: 1em;
    line-height: 1.4em;
}
#modalContainer a.modalCloseImg, 
#logonContainer a.modalCloseImg {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 5px;
    margin-right: 5px;
}

#basicModalContent form fieldset.panel {
    padding: 5px;
}
#basicModalContent form fieldset.panel table td {
    padding-bottom: 8px;
    padding-right: 10px;
}

#login div.label {
    margin-top: 0;
}

#calendarPrice .relative {
    background-color: #f2f2f2 !important;
}
#calendarPrice th, #calendarPrice td {
    border-color: #adaca6 !important;
}
#calendarPrice .roll {
    border-radius: 0;
}
#calendarPrice .roll:hover {
    background: #ffbe41;
}

.freights-link {
    text-align: center;
}
.freights-link a {
    font-weight: 700;
    display: inline-block;;
    padding: 10px;
}

#bron_info .PRICEINFO {
    width: 98%;
}
#bron_info .PRICEINFO fieldset {
    width: 98%;
}

#bron_info .freightsRes {
    max-height: 450px;
}

/* ------- gdsGrid ---------- */

#gdsGrid tbody tr:first-child td {
    padding-top: 5px;
}

#gdsGrid tbody tr:not(:first-child) td {
    padding-top: 25px;
}

#gdsGrid .freight-card {
    background-color: #fff;
    padding: 10px;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.15);
}

#gdsGrid .freight-card strong {
    font-weight: bold;
}

#gdsGrid .freight-card.active {
    background-color: #cae4fc;
}

#gdsGrid .freight-card .row {
    position: relative;
}

#gdsGrid .freight-card .row:before {
    content: '';
    display: table;
}
#gdsGrid .freight-card .row:after {
    content: '';
    display: table;
    clear: both;
}

#gdsGrid .freight-card .col_1 {
    float: left;
    width: 670px;
}

#gdsGrid .freight-card .col_2 {
    float: left;
    width: 170px;
}

#gdsGrid .freight-card .hint  {
    display: none;
    position: absolute;
    padding: 5px;
    font-size: 14px;
    background-color: #84aacf;
    border-radius: 6px;
    color: #fff;
    white-space: nowrap;
    z-index: 100;
}

#gdsGrid .freight-card .hint:hover {
    display: inline-block;
}

#gdsGrid .freight-card .airline {
    position: relative;
    width: 100%;
    float: left;
}

#gdsGrid .freight-card .airline_icon {
    display: inline-block;
    width: 100px;
    height: 45px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#gdsGrid .freight-card .airline_icon img {
    max-width: 100%;
}

#gdsGrid .freight-card .freight-title {
    font-size: 15px;
    font-weight: bold;
    padding: 13px 0;
}

#gdsGrid .freight-card .freight-title .airline_icon {
    display: block;
    float: left;
}

#gdsGrid .freight-card .freight-title .airline_work {
    float: left;
    height: 45px;
    line-height: 45px;
    padding: 0 15px;
}

#gdsGrid .freight-card .freight-title table tr td {
    background-color: transparent;
}

/*#gdsGrid .freight-card .airline .hint{
    top: 25px;
    left: 25%;
}*/

/*#gdsGrid .freight-card .airline_icon:hover + .hint {
    display: inline-block;
}
*/

#gdsGrid .freight-card .freight-main .freight-time span {
    font-size: 20px;
}

#gdsGrid .freight-card .freight-info {
    float: left;
    max-width: 680px;
    padding: 10px 0px 5px 0px;
    /*border-bottom: 1px solid #a5a49e;*/
    /*border-right: 1px solid #000;*/
}

#gdsGrid .freight-card .freight-time {
    float: left;
    width: 180px;
    text-align: center;
}

#gdsGrid .freight-card .freight-time small.airport {
    color: gray;
}

#gdsGrid .freight-card .freight-arrow {
    float: left;
    width: 300px;
}

#gdsGrid .freight-card .freight-arrow .arrow {
    position: relative;
    display: block;
    width: 95%;
    height: 15px;
    padding: 7px 0;
    text-align: center;
    border-bottom: 2px solid #000;
    z-index: 10;
}

#gdsGrid .freight-card .freight-arrow .arrow .airline_icon {
    height: 15px;
}

#gdsGrid .freight-card .freight-arrow .row {
    position: relative;
    padding-top: 5px;
    z-index: 9;
}

#gdsGrid .freight-card .freight-arrow .arrow:after {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    float: right;
    background: url(../pict/icon-flight-there.png) center no-repeat;
    background-size: cover;
    margin-top: 15px;
    margin-right: -16px;
}

#gdsGrid .freight-card .freight-arrow .arrow strong {
    font-size: 14px;
}

#gdsGrid .freight-card .freight-arrow .arrow .point {
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    width: 35px;
    height: 35px;
    text-align: center;
    font-style: normal;
    color: #000;
    cursor: pointer;
}

#gdsGrid .freight-card .freight-arrow .arrow .point:before {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    left: 34.5%;
    width: 9px;
    height: 9px;
    border: 1px solid #525150;
    border-radius: 10px;
    background-color: #fff;
}

#gdsGrid .freight-card .freight-arrow .arrow .point:hover + .hint {
    display: inline-block;
}

#gdsGrid .freight-card .freight-arrow .arrow .point:hover:before {
    border: 1px solid #fff;
    background-color: #525150;
}

#gdsGrid .freight-card .freight-arrow .arrow .hint {
    text-align: center;
    top: -25px;
}

#gdsGrid .freight-card .freight-arrow span.depart_code {
    float: left;
    width: 50px;
}
#gdsGrid .freight-card .freight-arrow span.arrival_code {
    float: right;
    width: 50px;
    text-align: right;
}

#gdsGrid .freight-card .freight-time span {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

#gdsGrid .freight-card .flight-info {
    padding: 5px 10px;
    text-align: center;
    font-size: 14px;
    color: gray;
}

#gdsGrid .freight-card .flight-info_left {
    text-align: left;
}

/*#gdsGrid .freight-card .flight-info + .hint {
    top: 15px;
    left: 50%;
}*/

#gdsGrid .freight-card .change-duration {
    text-align: center;
}

#gdsGrid .freight-card .change-duration span {
    display: inline-block;
    padding: 3px;
}

/*#gdsGrid .freight-card .flight-info:hover  + .hint {
    display: inline-block;
}
*/
#gdsGrid .freight-card .freight-add {
    position: relative;
    float: left;
    width: 150px;
}

/*#gdsGrid .freight-card .freight-add .hint {
    bottom: -25px;
    left: -10%;
}*/

#gdsGrid .freight-card .surcharge {
    width: 170px;
    font-size: 22px;
    font-weight: bold;
    color: #177761;
    text-align: center;
    margin-top: 7px;
}

/*#gdsGrid .freight-card  .freight-add span:hover + .hint {
    display: inline-block;
}*/

#gdsGrid .freight-card .freight-add .famName {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    width: 170px;
    padding: 10px 0 5px 0px;
}

#gdsGrid .freight-btn,
#gdsGrid .fares-btn {
    width: 170px;
    text-align: center;
    padding: 5px 0;
}

#gdsGrid .openReadmore {
    position: absolute;
    width: 60px;
    height: 17px;
    top:5px;
    right: 63px;
    border-bottom: 1px dashed #525150;
    color: #525150;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

#gdsGrid .freight-readmore .freight-info {
    background-color: rgb(235,235,235);
}

#gdsGrid .freight-card.active .freight-readmore .freight-info {
    background-color: rgba(150,100,100,0.1);
}

#gdsGrid .freight-readmore .arrow {
    color: #000;
}

#gdsGrid .freight-readmore .arrow .airline_icon {
    background-size: 80%;
}

#gdsGrid .freight-card .freight-btn .icon-ok,
#gdsGrid .freight-card .freight-btn .change-tariff-link {
    display: none;
}

#gdsGrid .freight-card .freight-btn .icon-ok svg {
    display: block;
    width: 30px;
    height: 25px;
}

#gdsGrid .freight-card.active .freight-btn .icon-ok {
    display: inline-block;
    padding-top: 7px;
}
#gdsGrid .freight-card.active .freight-btn .change-tariff-link {
    margin-top: 7px;
}
#gdsGrid .freight-card.active .freight-btn button {
    display: none;
}

#gdsGrid .freight-card .freight-btn .change-tariff-link a {
    text-decoration: none;
    display: inline-block;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}

#ADDITIONAL_SERVICES {
    padding: 5px 10px;
    height: auto;
}

#search_tour .price_legend .tour_gds_img,
#search_gdstour .price_legend .tour_gds_img {
    width: 23px;
    height: 23px;
    background: url(../pict/icon-gds.png) no-repeat 0 0;
    background-size: contain;
    margin: 3px;
}

#search_tour .price_legend .tour_nogds_img,
#search_gdstour .price_legend .tour_nogds_img {
    width: 23px;
    height: 23px;
    background: url(../pict/icon-nogds.png) no-repeat 0 0;
    background-size: contain;
    margin: 3px;
}

#additional_fares legend {
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 14px;
}

#additional_fares .fares_variants {
    position: relative;
    margin-bottom: -1px;
    z-index: 2;
}

#additional_fares .fares_variants table {
    margin: 0 auto;
}

#additional_fares .fares_variants table tr {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}

#additional_fares .fares_variants .fares_variant_btn {
    position: relative;
    border-bottom: 1px solid #333;
    background-color: #eee;
    padding-bottom: 5px;
    cursor: pointer;
    text-align: center;
    vertical-align: top;
    max-width: 200px;
}

#additional_fares .fares_variants .fares_variant_btn > div {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

#additional_fares .fares_variants .fares_variant_btn .fares_variant_name {
    padding: 6px 15px;
}

#additional_fares .fares_variants .fares_variant_surcharge {
    padding: 6px 4px;
    font-size: 18px;
    color: #1e6e59;
}

#additional_fares .fares_variants .fares_variant_btn.active {
    background-color: #fff;
    border: 1px solid #333;
    border-bottom-color: #fff;
    cursor: default;
}

#additional_fares .fares_variants .fares_variant_btn.active .fares_variant_surcharge {
    font-weight: bold;
}

#additional_fares .fares_container {
    position: relative;
    z-index: 1;
}

#additional_fares .fares_item_main {
    background-color: #F6F9FB;
    border: 1px solid #333;
    margin-bottom: 15px;
    text-align: left;
    font-size: 13px;
}

#additional_fares .fares_item_main > table.res {
    width: 100%;
}

#additional_fares .fares_item_main > table.res td {
    padding: 15px;
    vertical-align: top;
}

#additional_fares .fares_item_main > table.res td button {
    padding: 15px 30px
}

#additional_fares .fares_item_main .title {
    font-weight: bold;
}

#additional_fares .fares_item_main .fares_item_tariff {
    display: inline-block;
    width: 40%;
    vertical-align: top;
}

#additional_fares .fares_item_main .fares_item_tariff .title {
    display: inline-block;
    margin-bottom: 15px;
}

#additional_fares .fares_item_main .services_legend {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    padding: 3px;
    margin-right: 35px;
}

#additional_fares .fares_item_main .fares_item_tariff .services_item,
#additional_fares .fares_item_segments .segment_services .services_item {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    margin-bottom: 4px;
}
#additional_fares .fares_item_main .icon, 
#additional_fares .fares_item_segments .icon {
    display: inline-block;
    margin-right: 4px;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
}
#additional_fares .fares_item_main .icon-included,
#additional_fares .fares_item_segments .icon-included {
    background-image: url(../pict/included.svg)
}
#additional_fares .fares_item_main .icon-money,
#additional_fares .fares_item_segments .icon-money {
    background-image: url(../pict/money.svg)
}
#additional_fares .fares_item_main .icon-not-offered,
#additional_fares .fares_item_segments .icon-not-offered {
    background-image: url(../pict/not-offered.svg)
}

#additional_fares .fares_item_segments {
    text-align: left;
    padding: 15px;
}

#additional_fares .fares_item_segments strong {
    font-weight: bold;
}

#additional_fares .fares_item_segments .title {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
}

#additional_fares .itineraries_item {
    margin-bottom: 15px;
}

#additional_fares .fares_item_panel {
    position: relative;
    cursor: pointer;
}

#additional_fares .fares_item_panel .info span {
    display: inline-block;
    margin-bottom: 10px;
}

#additional_fares .fares_item_panel .city {
    font-size: 14px;
    margin-bottom: 10px;
}

#additional_fares .fares_item_panel .date {
    font-size: 14px;
}

#additional_fares .fares_item_panel + table {
    
}

#additional_fares .fares_item_panel.active:after {
    top: 18px;
    transform: rotate(-135deg) skew(-5deg, -5deg);
}

#additional_fares .fares_item_panel:hover {
    /*background-color: #eee;*/
}

#additional_fares .fares_item_panel:after {
    /*content: '';
    display: block;
    width: 7px;
    height: 7px;
    position: absolute;
    top: 17px;
    right: 15px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg) skew(-5deg, -5deg);*/
}

#additional_fares .fares_item_panel td {
    padding: 15px;
}

#additional_fares .fares_item_segment {
    text-align: left;
    font-size: 13px;
    border: 1px solid #333;
    padding: 15px;
    background-color: #fff;
    margin-bottom: 15px;
}

/*#additional_fares .fares_item_segment:last-child {
    border-bottom: none;
}
*/
#additional_fares .fares_item_segment > table.res {
    width: 100%;
}

#additional_fares .fares_item_segment > table.res td {
    padding: 15px;
    vertical-align: middle;
}

#additional_fares .fares_item_select {
    padding: 15px 0;
    text-align: center;
}

#additional_fares .fares_item_select button {
    padding: 15px 30px;
    font-size: 13px;
}

#additional_fares .fares_item_select a {
    display: inline-block;
    padding: 0 12px;
}

#additional_fares .tariff_rules {
    position: relative;
    display: none;
    width: 100%;
    margin-bottom: 15px;
}

#additional_fares .tariff_rules_inner {
    position: relative;
    color: #333;
    /*padding: 30px;*/
    /*white-space: pre-line;*/
    text-align: left;
}

#additional_fares .tariff_rules_inner .segment_rules {
    padding: 15px;
    background-color: InfoBackground;
}

#additional_fares .tariff_rules_inner .segment_rules strong {
    font-weight: bold;
}

#additional_fares .tariff_rules_inner .segment_rules .description {
    white-space: pre-line;
}

#additional_fares .tariff_rules_inner table {
    width: 100%;
}

#additional_fares .tariff_rules_inner table td {
    vertical-align: top;
}

#additional_fares .tariff_rules_inner h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

/*#additional_fares .tariff_rules_inner > div {
    
}*/

/*#additional_fares .tariff_rules_close {
    position: absolute;
    top: 15px;
    right: 15px;
    background-image: url(../pict/close-bg.png);
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    cursor: pointer;
    padding: 0;
}*/

/*#additional_fares .tariff_rules_close:hover {
    background-position: -16px 0;
}
*/

/* By Anton V. Kozin 
Фон для кнопки регистрации в форме авторизации
*/

.samo_container div.logon-wrapper div.panel div.choose a::before {
    content: '';
    position: absolute;
    background-color: #00735533;
    top: 0;
    left: -12px;
    right: -12px;
    bottom: 0;
    border-radius: 4px;
    opacity: 1;
    transition: opacity .25s;
}
.samo_container .v_yandexkassa/*, .samo_container #cl_refer_person .icon.yandexkassa */{
	background-image: none;
}

.samo_container .icon.yandexkassa {
    color: none;
    background-image: url('../pict/icon-yookassa.png');
    min-width: 20px;
    min-height: 20px;
	background-repeat: no-repeat;

}