/* Фиксы для панелей ЦА*/
.top_menu_select .hostcmsPanel .jq-selectbox__select-text, .top_menu_item .hostcmsPanel a { line-height: 0; display: initial; }
.backendBody .ui-datepicker .ui-icon { background-image: none !important; }
button.submit_button { border: 0;/* padding: 0;*/ }

/* Панель управления */
.top_menu_item a:before {
    content: attr(data-count);
    position: absolute;
    right: -16px;
    color: #FF9238;
    font-size: 14px;
    top: -8px;
}


/* Календарь */
/**/
.offer-item-months { margin-top: 10px; }
.offer-item-months__month.offer-item-months__month_first { float: left; margin-right: 30px; }
.offer-item-months__month.offer-item-months__month_second {}

.offer-item-months__container { overflow: hidden; }

.offer-item-months_many .offer-item-calendar__cell.offer-item-calendar__cell_passed.offer-item-calendar__cell_filled .offer-item-calendar__label { cursor: default; }

/**/
.offer-item-calendar { /*width: 100%; margin: 0; margin-top: 5px;*/ border-collapse: collapse; background: transparent; }
.offer-item-calendar * { font-family: 'Open-sans', sans-serif !important; }
.offer-item-calendar__wrapper { padding: 10px 20px 20px; }
.offer-item-calendar__caption { position: relative; text-align: center; margin-bottom: 5px; margin-top: 5px; padding: 3px 0; height: ; }
/*
.offer-item-calendar__prev-month,
.offer-item-calendar__next-month {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;

  border: 0;
  background-color: transparent;
  background-size: 30px 30px;
}
*/
/*
.offer-item-calendar__prev-month { left: 0; background-image: url('/img/cal_prev_small.svg'); }
.offer-item-calendar__prev-month:hover { background-image: url('/img/cal_prev_hover.svg'); }
*/
/*
.offer-item-calendar__next-month { right: 0; background-image: url('/img/cal_next_small.svg'); }
.offer-item-calendar__next-month:hover { right: 0; background-image: url('/img/cal_next_hover.svg'); }
*/
.offer-item-calendar__head {}
.offer-item-calendar__month { color: #676767; font-size: 17px; font-weight: 600; }
.offer-item-calendar__year {
    font-size: 17px;
    font-weight: 600;
    color: #999999;
    opacity: 1;
}
.offer-item-calendar__body {}
.offer-item-calendar__row {}
.offer-item-calendar__cell {
    /*position: relative;*/
    width: 61px;

    border: none;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;

    color: #676767;
    text-align: center;
    font-size: 14px;
    line-height: 38px;

    overflow: hidden;
}
.offer-item-calendar__cell:nth-last-child(2),
.offer-item-calendar__cell:last-child { width: 62px; }

.offer-item-calendar__cell_has-date { background: #F4F4F4; }
.offer-item-calendar__cell_head {
  color: #999999;
    line-height: 36px;
    font-size: 13px;
    font-weight: 600;
    /*text-transform: lowercase;*/
}

.offer-item-calendar__cell_start .offer-item-calendar__label,
.offer-item-calendar__cell_end .offer-item-calendar__label { position: relative; }

.offer-item-calendar__cell_start .offer-item-calendar__label:before,
.offer-item-calendar__cell_end .offer-item-calendar__label:before {
    content: '';
    
    position: absolute;
    display: inline-block;
    
    width: 8px;
    height: 8px;
    top: 50%;
    margin-top: -3px;
    transform: rotate(45deg);

    background: #fff;
}
.offer-item-calendar__cell_start .offer-item-calendar__label:before { left: -5px; }
.offer-item-calendar__cell_end .offer-item-calendar__label:before { right: -5px; }

.offer-item-calendar__label {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;

  cursor: pointer;

  line-height: 40px;
  text-decoration: none;
  font-weight: 700;

  text-decoration: none;
}
.offer-item-calendar__label:hover { background: #E6E6E6; text-decoration: none; }
/*.offer-item-calendar_orders .offer-item-calendar__cell .offer-item-calendar__label { cursor: initial; }

.offer-item-calendar_orders
  .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled):not(.offer-item-calendar__cell_new):not(.offer-item-calendar__cell_no-resources) 
    .offer-item-calendar__label:hover { background: inherit; }*/

.offer-item-calendar_orders .offer-item-calendar__cell_order .offer-item-calendar__label,
.offer-item-calendar_orders .offer-item-calendar__cell_new .offer-item-calendar__label { cursor: pointer; }
.offer-item-calendar_orders .offer-item-calendar__cell_passed .offer-item-calendar__label { cursor: default !important; }

.offer-item-calendar__cell_passed .offer-item-calendar__label { color: #bcbcbc !important; background-color: transparent !important; cursor: default; }
.offer-item-calendar__cell_passed.offer-item-calendar__cell_filled .offer-item-calendar__label { cursor: pointer; }
.offer-item-calendar__cell_passed .offer-item-calendar__label:after { background-color: #999999 !important; }

.offer-item-calendar__cell_current .offer-item-calendar__label { border: 1px solid #CCCCCC; }
.offer-item-calendar__cell_filled .offer-item-calendar__label { color: #ffffff; background-color: #5EC478; }
.offer-item-calendar__cell_filled .offer-item-calendar__label:hover { color: #ffffff; background-color: #57B66F; }

.offer-item-calendar__cell_new .offer-item-calendar__label { color: #ffffff; background-color: #FF9238; }
.offer-item-calendar__cell_new .offer-item-calendar__label:hover { color: #ffffff; background-color: #FF7A38; }

.offer-item-calendar__cell_no-resources .offer-item-calendar__label { color: #ffffff; background-color: #B3B3B3; }
.offer-item-calendar__cell_no-resources .offer-item-calendar__label:hover { color: #ffffff; background-color: #999999; }

.offer-item-calendar__cell_order { position: relative; }
.offer-item-calendar__cell_order .offer-item-calendar__label:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #ffffff;
    position: absolute;
    top: 4px;
    right: 4px;
}

.offer-item-calendar__checkbox { display: none; }
.offer-item-calendar__checkbox:checked + .offer-item-calendar__label {
    color: #676767;
    background-color: rgb(211, 238, 217);
}

.offer-item-calendar__cell_new.offer-item-calendar__cell_order .offer-item-calendar__checkbox:checked + .offer-item-calendar__label:after,
.offer-item-calendar__cell_new.offer-item-calendar__cell_filled.offer-item-calendar__cell_order .offer-item-calendar__checkbox:checked + .offer-item-calendar__label:after {
    background-color: #FF9238;
}

.offer-item-calendar__cell_filled.offer-item-calendar__cell_order .offer-item-calendar__checkbox:checked + .offer-item-calendar__label:after {
    background-color: #5EC478;
}

/**/
.offer-item-calendar_small { background-color: #F4F4F4; width: 300px; margin: 0 auto; }

.offer-item-calendar_small .offer-item-calendar__month { color: #808080; font-size: 15px; font-weight: 600; }
.offer-item-calendar_small .offer-item-calendar__year { color: #999999; font-size: 15px; font-weight: 600; }

.offer-item-calendar_small .offer-item-calendar__label { line-height: 30px; }
/*
.offer-item-calendar_small .offer-item-calendar__prev-month,
.offer-item-calendar_small .offer-item-calendar__next-month { width: 24px; height: 24px; background-size: 24px 24px; }
*/
.offer-item-calendar_small .offer-item-calendar__cell { width: 37px; height: 30px; line-height: 30px; font-size: 13px; border-color: #f4f4f4; font-weight: 700; color: #676767; }
.offer-item-calendar_small .offer-item-calendar__cell_head { font-weight: 400; }
.offer-item-calendar_small .offer-item-calendar__cell.offer-item-calendar__cell_has-date { background-color: #ffffff; }

/* Дни без ресурсов */
.offer-item-calendar_small .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled) .offer-item-calendar__label  { cursor: default; }
.offer-item-calendar_small .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled) .offer-item-calendar__label:hover { background: transparent; }

/* Дни с ресурсами */
.offer-item-calendar_small .offer-item-calendar__cell.offer-item-calendar__cell_filled .offer-item-calendar__label  { cursor: pointer; background-color: #cdedd5; color: #676767; }
.offer-item-calendar_small .offer-item-calendar__cell.offer-item-calendar__cell_filled .offer-item-calendar__label:hover { background-color: #b6e3c2;/* color: #ffffff;*/ }

.offer-item-calendar_small .offer-item-calendar__cell .offer-item-calendar__checkbox:checked + .offer-item-calendar__label,
.offer-item-calendar_small .offer-item-calendar__cell .offer-item-calendar__checkbox:checked + .offer-item-calendar__label:hover,
.offer-item-calendar_small .offer-item-calendar__cell_filled.offer-item-calendar__cell_selected .offer-item-calendar__label,
.offer-item-calendar_small .offer-item-calendar__cell_filled.offer-item-calendar__cell_selected .offer-item-calendar__label:hover { background-color: #5ec478; color: #ffffff; }

.offer-item-calendar_small .offer-item-calendar__cell_passed .offer-item-calendar__label { color: #bcbcbc !important; }

.offer-item-calendar_small .offer-item-calendar__cell_near:not(.offer-item-calendar__cell_passed) .offer-item-calendar__label { color: #8c8c8c !important; }
.offer-item-calendar_small .offer-item-calendar__cell_near .offer-item-calendar__checkbox:checked + .offer-item-calendar__label { color: #ffffff !important; }

.offer-item-calendar_small .offer-item-calendar__cell_current { overflow: visible; }
.offer-item-calendar_small .offer-item-calendar__cell_current .offer-item-calendar__label { border: 0; outline: 1px solid #CCCCCC; }


/*.offer-item-calendar_small .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled) .offer-item-calendar__label:hover { background-color: #D4EFDB; }
.offer-item-calendar_small .offer-item-calendar__cell_passed .offer-item-calendar__label { font-weight: 400; }

.offer-item-calendar_order .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled) .offer-item-calendar__label,
.offer-item-calendar_order .offer-item-calendar__cell:not(.offer-item-calendar__cell_filled) .offer-item-calendar__label:hover {
  background: transparent;
  cursor: default;
}*/

/* Ошибки в панели управления */
.form_error {
    display: inline-block;
    width: 500px;
    margin-right: 20px;

    line-height: 40px;   
    color: #DE4D43;
    font-size: 14.15px;
    text-align: right;
    font-weight: normal;
}

/* Всплывающие окна */
.popup {
    display: none;
    width: 500px;
    max-width: 100%;
    padding: 45px 50px 45px 60px;
    text-align: center;
}
.popup .popup__content .radio_btn {
	padding-left: 33px;
	text-indent: -33px;
}
.popup.popup_left { text-align: left; }
.popup.popup_message { line-height: 1.5; }

.popup__header {
    font-size: 19px;
    font-weight: 600;
    color: #4D4D4D;
    margin-bottom: 30px
}

.popup__content {
    margin-bottom: 35px;
    line-height: 1.6;
    font-size: 15px;
    color: #9e9e9e;
  }

.popup__buttons.popup__buttons_right { text-align: right; }
.popup__buttons .popup-button { margin-right: 6px; }
.popup__buttons .popup-button:last-child { margin-right: 0; }

.popup.popup-cropper-logo { padding: 0 0 33px; }

.popup-button {
    display: inline-block;
    width: auto;
    padding: 0 20px;
    
    border: 0;
    border-radius: 0;

    color: #fff;
    background: #5EC478;

    line-height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

.popup-button_gray { color: #a39999; background-color: #f2f2f2; }

.popup-textarea {
    width: 100%;
    min-height: 80px;
    height: 120px;
    padding-top: 7px;
    border-color: #cccccc;
}

.popup-textarea:focus { border-color: #9bd9aa; }

.edit_block h3 {
  padding-left: 25px;
  background: url(/img/calendar_icon.svg) center left no-repeat;
  float: left;
  color: #4D4D4D;
  margin: 0;
  line-height: 30px;
}

/**/
.publish { line-height: 60px; padding-right: 30px; }

.top-menu-button {
  display: inline-block;
  width: auto;
  padding: 0 20px;
    
  border: 0;
  border-radius: 0;

  color: #fff;
  background: #5EC478;

  line-height: 38px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  
  background-color: #4d4d4d;
  color: #b3b3b3;
  border: 2px solid #b3b3b3;
  border-radius: 2px;
}

/**/
/**/
.form-error { padding-top: 25px; text-align: center; color: #DE4D43; font-weight: 700; }
.company_reg_block .form-error { text-align: left; }
.form-input-error {
  display: block;
  position: absolute;
  left: 0;
  
  font-size: 14.15px;
  color: #DE4D43;
  font-weight: bold;
}

/* Перекрываем стили */
.reg_input[value != ""] + .reg_placeholder {
    bottom: 35px;
    font-size: 12px;
    text-transform: uppercase;
    color: #57B66F;
}
/*.form_row.error:after { content: '' !important; }
.form_row.error { margin-bottom: 15px; padding-bottom: 0; }
.form_row.full.error .reg_placeholder, .error .reg_input:focus + .reg_placeholder { bottom: 35px; }
.error .reg_placeholder { bottom: 0; }
.full.error .reg_input + .reg_placeholder,
.full.error .reg_input:focus + .reg_placeholder { color: #DE4D43; }*/
.reg_input.uneditable { background-color: #ffffff; }

/**/
.form_row_link label { position: relative; color: #57B66F; font-weight: 400; cursor: pointer; }
.form_row_link label input { position: absolute; left: 0; top: 0; width: 100%; padding: 0; opacity: 0; z-index: -1; }
.form_row_link label:hover { text-decoration: underline; }

.form_row_logo { margin-bottom: 10px; }
.form_row_logo .form-input-error { position: relative; }

/**/
.loaded_logo_block { margin-top: 0; }
.loaded_logo_block img { height: auto; }

.submit_button.reg_button.disabled_btn { color: #999999; }

/* Всплывающий календарь */
/*#ui-datepicker-div {
    width: 300px;
    padding: 10px 17px;
    border: none;
    border-radius: 0;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
}

.ui-datepicker-current-day a.ui-state-default.ui-state-active,
.ui-state-default, 
.ui-widget-content .ui-state-default, 
.ui-widget-header .ui-state-default {
    border: none;
    background: #F4F4F4;
    color: #676767;
    text-align: center;
    font-size: 14px;
    line-height: 38px;
    padding: 0;
}*/

/**/
/*.head { z-index: 202; }*/

.head_status_select { width: 180px; }

/**/
.top-message{
  width: 100%;
  text-align: center;
  padding: 10px;
  background-color: #4fd04f;
  margin: -8px 0px 10px -8px;
  color: white;
}

.top-message.error{
  background-color: red;
}

.top-message-close{
    color: white;
    text-decoration: none;
    font-weight: bold;
    float: right;
    margin-right: 25px;
}

/**/
.undeletable .remove_btn { display: none; }

/**/
#popup_login { display: none; }
.reg_login_block.reg_login_block_ajax { margin: 0; padding: 30px 50px; min-width: 410px; }

/**/
.order_message .order_button {
  padding: 0 9px;

  border: 0;
  background: none;

  color: #999;
}
.order_message .order_button:hover { text-decoration: underline; }
.order_button + .order_button { border-left: 1px solid #E6E6E6; }
#refuse_order_other_reason { margin: 10px 0; }
.message_form .mess_row .message_submit { border: 0; }

.message_link { position: relative; margin-bottom: 0; color: #57B66F; cursor: pointer; }
.message_link input[type="file"] { position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; z-index: -1; }
.mess_col { display: inline-block; vertical-align: top; margin-right: 10px; max-width: 50%; overflow: hidden; }
.files-container .files-container__item { margin: 0 0 5px; word-break: break-all; }
.files-container .files-container__remove {
  display: inline-block;
  height: 8px;
  width: 8px;
  margin-left: 8px;
  vertical-align: middle;
  background-image: url(/img/message_file_remove.svg);
  background-size: contain;
  cursor: pointer;
}
.files-container .files-container__remove:hover {
   background-image: url(/img/message_file_remove_hover.svg);
}

/**/
.offer_information_block h4 a { color: #4D4D4D; text-decoration: none; }

/**/
/*.user_block { min-width: 110px; }*/

/**/
.home { overflow: auto; }

/**/
.social-likes {}
.social-likes__widget { }
.social-likes__counter { display: none; }

.fav__bsoc { cursor: pointer; }

/* Настройки тура */
.settings_block .button_block .dashed_link { border-top: 0; border-left: 0; border-right: 0; background: none; padding: 0; line-height: 1.5; }
.settings_block .button_block { line-height: 40px; }
.settings_block .contact_row:first-child .delete_contact_row { display: none; }

/* Страница заказа */
/*.code_select_block .jq-selectbox.dropdown .jq-selectbox__dropdown ul { margin: 5px 0; }
.jq-selectbox.jqselect.select.count_select.border.dropdown.opened .jq-selectbox__select { border-bottom: 0; }*/
.time_block.time_block_single { border: 0; }
.offer_item_group { min-height: 37px; }
.code_select_block .jq-selectbox__dropdown ul { padding-top: 35px; }
.orders_page .price span.order_price { font-size: 30px; }

/* Подтверждение заказа*/
.company_logo_block img { max-width: 100%; }

/**/
.order_item_title a { color: #4D4D4D; text-decoration: none; }
#complaint_other_reason { margin: 10px 0; }

/* Настройки */
.ps__line.ps__line_hold {}
.ps__line.ps__line_hold .ps__lhead { padding-right: 25px; cursor: default; }
.ps__line.ps__line_hold .ps__lhead:after { content: none; }

/* Уведомления */
.notification {
  position: relative;
  background-color: #5ec478;
  text-align: center;
  padding: 10px 50px 10px 20px;
}

.notification--error { background-color: #eb5757; }
/*.notification--error { background-color: #ff7f50; }*/

.notification--fixed {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  text-align: center;
  z-index: 105;
}
.notification--fixed span { line-height: 40px; }

.notification span {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.notification a { color: #ffffff; text-decoration: underline; }

.notification__close {
  position: absolute;
  top: 16px;
  right: 30px;
  display: inline-block;
  height: 8px;
  width: 8px;
  background: transparent url('/img/new/notification.close.svg') center no-repeat;
  cursor: pointer;
}

.home .notification { box-shadow: 0 0 10px 0px #464646; }

/**/
.message_form .textarea.error:focus { border-color: #FFC2C2 !important; }

/**/
.number-plus-minus.disabled:hover, .number-plus-minus.disabled:active { border-color: #D8D8D8; }
.number-plus-minus.disabled .jq-number {
    background: #F0F0F0 !important;
    border-color: #F0F0F0 !important;
    color: #999999;
}
.number-plus-minus.disabled .number_input { color: #999999; }

/**/
.company_message_block .message_text_block, .reviews_block .message_text_block { height: auto; padding-bottom: 0; }

/**/
.cut-text {}
.cut-text__twrapper { margin-bottom: 7px; }
.cut-text__bwrapper {}
.cut-text__button {
  border: 0;
  padding: 0;
  border: 0;
  background: none;
  outline: 0;

  color: #57B66F
}
.cut-text__button:hover { text-decoration: underline; }

/**/
.offer-public-map { position: relative; }
.offer-public-map__container { width: 100%; height: 450px; }
.offer-public-map__zplus,
.offer-public-map__zminus {
  background: #fff;
  line-height: 35px;
  border-radius: 3px;
  margin-bottom: 5px;
  font-weight: bold;
  box-shadow: 0 0 2px rgba(0,0,0,0.15);
  font-size: 20px;
  cursor: pointer;
}
.offer-public-map__zplus:before { content: '+'; }
.offer-public-map__zminus:before { content: '–'; }
.offer-public-map__zoom {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 35px;
  text-align: center;
}

/**/
.calendar_button { border: 0; }
.calendar_nav .green_btn { border: 0; padding: 10px 15px; margin: 10px 0; }

.soc_row div { cursor: pointer; }

.calendar_nav { height: auto; min-height: 60px; }

.calendar_head.group_head .clearfix.group_head_price { width: 250px; min-height: 39px; }
/* .head_date_calendar { position: absolute; background-color: #f4f4f4; z-index: 10; top: 100%; transform: translateY(-100%);top: 10px; } */
.head_date_calendar { position: absolute; background-color: #f4f4f4; z-index: 10; top: 60px; box-shadow: 0 0 12px 0 rgba(0,0,0,.25); }
.head_date { position: relative; }
#tab_tour_price.tour_price { font-size: 16px; font-weight: normal; }
#tab_tour_price.tour_price span { font-size: 20px; /*line-height: 58px;*/ font-weight: 600; }
.group_head_price.group_head_price_unavailable {
	color: white;
	background-color: #e45c5d;
	margin: -20px -20px -11px;
	padding: 0 20px;
	height: 68px;
	line-height: 68px;
	font-weight: bold;
}
.calendar_head.group_head.clearfix { padding: 20px 20px 10px; }
.offer-item-calendar-placeholder { color: #9b9b9b; font-size: 14px; padding: 20px 20px 15px; font-weight: 700; }
.soc_block { margin-top: 25px; }
.calendar_head_no_resources { text-align: center; }


.pac-container {
  position: relative;
  margin-top: -1px;
  background-color: #fff;
  font-family: Open-Sans, Arial, sans-serif;
  box-shadow: 0 0 8px 3px rgba(0,0,0,0.15), 0 0 0 1px #e6e6e6 inset;
  border-radius: 0;
  z-index: 2;
}
.pac-container:after { content: none; }
.pac-item {
  color: #b3b3b3;
  font-size: 15px;
  line-height: 40px;
  height: 40px;
  padding: 0 20px;
  box-shadow: 0 -1px 0 0 #e6e6e6 inset;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
  border: 0;
}
.pac-item:hover { background-color: #f2f2f2; }
.pac-icon { display: none; }
.pac-matched { font-weight: normal; }
.pac-item-query {
  font-size: 15px;
  font-weight: normal;
  color: #4d4d4d;
}
.pac-item span:not(.pac-item-query) {}
.client_order_popup { background-color: #ffffff; }
.top_menu_title {
    padding-left: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 35px;

    display: block;
    line-height: 60px;
    color: #fff;
    opacity: .8;
    position: relative;
    font-size: 16px;
}

.top_menu_item_span {
    display: block;
    color: #7f7f7f;
    line-height: 60px;
    /*color: #fff;*/
    opacity: .8;
    position: relative;
    font-size: 16px;
    font-weight: 700;
    font-family: Open-sans, Arial, sans-serif;
}

.top_menu_item_span.current { color: #fefefe; }

.top_menu_item_span.current:before {
    content: attr(data-count);
    position: absolute;
    right: -16px;
    color: #FF9238;
    top: -8px;
}

.top_menu_item_span.current:after {
    content: '';
    border: 5px solid transparent;
    border-bottom: 5px solid #fff;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.tour_info_splitter { border-left: 1px dashed #D8D8D8; margin-left: 20px; padding-left: 20px; }
a.tr { text-decoration: none; }

.edit_group_popup { background-color: white; }

/*.document_remove {
    display: inline-block;
    height: 12px;
    width: 12px;
    margin-left: 15px;
    vertical-align: middle;
    background-image: url(/img/document_remove.svg);
    background-size: contain;
    cursor: pointer;
}*/

.remove_doc { cursor: pointer; }

.company_reg_block .form_row.form_row_documents { margin-bottom: 28px; }
/*.company_reg_block .form_row.form_row_logo { padding-top: 0; }*/

.fancybox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 13px;
  height: 13px;
  background-image: url(/img/fancy_close.svg);
}

.heart_gray_icon { width: 18px; height: 18px; background-size: contain; }
.heart_gray_icon_filled { background-image: url('/img/heart_gray_filled.svg'); }
.heart_link { font-size: 14px; font-weight: 700; }

.fancybox-close:before { content: none; }

.intl-tel-input .country-list { z-index: 101; }

.padding-top-40 { padding-top: 40px; }
.offer-form { min-width: 1024px; }

/* #214 */
.form_block_title { margin-bottom: 10px; }
.edit_block_form .form_block_descr { margin-bottom: 20px; font-size: 13px; color: #999999;}

.reviews_block { margin-bottom: 40px; }
/* .tour_head .photo_btn { background-size: 60%; } */

[v-cloak] { display: none; }

.gallary_item.gallary_hidden { display: none; }
.gallary_item.gallary_big, .gallary_item.gallary_small { background-position: center; }

.offer-form-program__text {
  display: block;
  width: 100%;
  height: 50px;
  resize: none;
  line-height: 23px;
  font-size: 15px;
  border: 1px solid transparent;
  outline: 0;
}
.offer-form-include__description { min-height: 33px; height: 33px; overflow: hidden !important; padding-top: 5px; padding-bottom: 5px; }
.offer-form__submit:disabled, .offer-form__submit:disabled:hover { background-color: #b3e8c1; }

.offer-form-map__picon,
.offer-form-map__point_location .offer-form-map__picon,
.offer-form-map__point_departure .offer-form-map__picon,
.offer-form-map__point_route .offer-form-map__picon,
.offer-form-map__point_add .offer-form-map__picon {
    display: inline-block;
    vertical-align: top;

    width: 24px;
    height: 57px;
    margin-left: 0;
    margin-right: 5px;
    
    background-position: center center;
    /*background-size: 17px 23px;*/
}

.offer-form-map__point_location .offer-form-map__picon { background-size: 17px 23px; }
.offer-form-map__point_departure .offer-form-map__picon { background-size: 20px 20px; }
.offer-form-map__point_add .offer-form-map__picon { background-size: 24px 24px; }
.offer-form-map__point_route .offer-form-map__picon { background: none; line-height: 57px;  }
.offer-form-map__point_route .offer-form-map__piinner {
  display: inline-block;
  vertical-align: middle;
  
  width: 24px;
  height: 24px;
  background-color: #7e7e7e;
  border-radius: 50%;
  
  line-height: 24px;
  text-align: center;
}

.offer-form-map__pinput { vertical-align: middle; }
.offer-form-map__pbutton { vertical-align: middle; }
.offer-form-map__pbwrapper { line-height: 57px; display: inline-block; vertical-align: top; height: 57px; }

.offer-form-map__pilabel_error { color: #de4b44; }

.simple-select_small { padding-right: 20px; white-space: nowrap; }

.offer-form-program__head { display: table; width: 100%; }

.offer-form-program__description { width: auto; }

.offer-form-program__twrapper,
.offer-form-program__day { width: auto; }
.offer-form-program__rwrapper { width: 30px; }

.offer-form-program__twrapper,
.offer-form-program__dnumber,
.offer-form-program__day,
.offer-form-program__description,
.offer-form-program__rwrapper { display: table-cell; vertical-align: middle; }

.offer-form-program__dnumber { width: 50px; }
.offer-form-program__day { width: 75px; }

.offer-form-program_time .offer-form-program__twrapper { width: 120px; }

.offer-form-map__pdescription { resize: none; }

.offer-form-include__name_error { background-color: #ffebeb; border-color: #fbbfbb !important; }

.offer-form__photo-error { margin: 0 0 20px; color: #e04e3f; font-size: 15px; text-align: center; }

.points-autocomplete.points-autocomplete_hidden { display: none; }

.ps-container > .ps-scrollbar-y-rail { opacity: 1.0; }

.offer-form-map__route { max-height: 230px; }
.offer-form-map__route_hidden { display: none; }
.offer-form-map__point_add { border-top: 1px solid #d8d8d8; }

/**/
/*.edit_block .offer_item_day_time:first-child .remove_btn { display: none; }*/

/**/
.photo_block { background-position: center; }
.offer_public .textarea_programm { min-height: initial; }
.offer_public .not_included_block { margin-bottom: 0; }
.offer_public .include_container { margin-bottom: 40px; }
/* .offer_public .company_logo_block { width: 70px; } */
.offer_public .location_namber { margin: 0 6px 0 0; }
.offer_public .map_location_block { padding-right: 68px; font-size: 14px; }
.offer_public .map_location_block.add_location.add_programm { padding: 15px; font-size: 14px; }
.offer_public .map_location_block.add_location.add_programm .map_location_block_description { line-height: 20px; }
.offer_public .map_location_block_description { overflow: hidden; height: 44px; line-height: 20px; }
.offer_public .map_location_block.add_location.add_programm p { margin: 0; }
.offer_public .map_location_photo_block { width: 460px; height: 255px; background-size: cover; background-position: center; }

.offer_public .programm_block .programm_item,
.offer_public .programm_block .programm_item + .programm_item { margin-top: 0; }
.offer_public .programm_block .textarea_programm { margin-top: 0; }

.offer_public .programm_block .programm_item { margin-bottom: 30px; }
.offer_public .programm_block .programm_item .programm_item_title { margin-bottom: 5px; }
.offer_public .programm_block .programm_item .textarea_programm {}
.offer_public .description_container .include_container { padding: 0; }
.offer_public .description_container #comments { padding: 0; }

.not .not__more { padding: 0; border: 0; }

/**/
.offer_public .reviews_block { margin-bottom: 50px; }
.offer_public .programm_block { margin-bottom: 50px; }
.offer_public .include_container { margin-top: 50px; margin-bottom: 50px; }
/*.offer_public .map_container { margin-bottom: 50px; }*/
.offer_public .gallery_container { margin-bottom: 50px; }
.offer_public .company_message_block { margin-top: 0; }
.offer_public .programm_block { padding-bottom: 0; }
.offer_public .include_container h3, .offer_public .comments_container h3 { margin-top: 0; }

.offer_public .comments_container .message_button_block { margin-top: -15px; margin-bottom: 50px; }

/**/
/*.tb__logo {}
.tb__linner { display: block; max-width: 156px; line-height: 58px; height: 58px; }*/

/* #216 Иконка редактирования на странице списка туров компании, перекрытие стилей */
.moderated .edit_link:after, .moderated .edit_link:before {background: none;}
/* .moderated .edit_link.edit_link:hover {background: url(/img/edit_icon_hover.svg) center no-repeat; cursor: auto;} */ /* ticket #685 */
/* #216 */

/**/
.company_name_block h4 { margin-top: 6px; }

/*.container.top_menu { position: relative; }

.container.top_menu.padding-top-40 .top_menu_button_block {
    margin-top: 40px
}*/

.not_resp.not_resp_offer_item .top_menu { z-index: 100; }

.top_menu_gray_btn {
  border: 0;
  padding: 11px 15px 11px;
  display: block;
  font-size: 13px;
  color: #fff;
  background: #808080;
  font-weight: bold;
  line-height: 1;
}

.top_menu_gray_btn:hover {
    background: #999999;
    color: #fff;
    text-decoration: none;
}

.top_menu_button_block {
    position: absolute;
    right: 30px;
    top: 12px;
}

.simple-select_small .simple-select__list { z-index: 12; }

.green_btn.green_btn_disabled { background-color: #b3e8c1; cursor: default; }

/*.head__logo .tb__logo { padding-left: 0; border-bottom: 0; }
.desktop .header_search .head__logo { display: none; }*/

.pgr__items--empty { margin-bottom: 115px; }
.form_error { position: relative; top: -1px; width: 280px; line-height: inherit; vertical-align: middle; }

/**/
.simple-select .simple-select__lwrapper { max-height: 350px; }

.simple-select_bordered { height: 52px; }
.simple-select_bordered .simple-select__value { border: 1px solid #d8d8d8; }
.simple-select_bordered .simple-select__value:hover { border-color: #9ddaac; }
.simple-select_bordered .simple-select__list { background-color: #ffffff; border: 1px solid #d8d8d8; }
.simple-select_bordered.simple-select_error .simple-select__value { background: #ffebeb; border-color: #fbbdbb; }

.simple-select_large .simple-select__item { line-height: 50px; }

.fancybox-inner .reg_login_block { margin: 0; }

.comments.comments--empty { padding-left: 15px; }
.likes.likes--empty { padding-left: 13px; }

/*.phone_number_block .flag-container, .phone_row .phone_block .flag-container { border: none; }
.name_block input.text_input.border { width: 258px; }*/

#company_registration_logo { position: absolute; opacity: 0; }
.loaded_logo_block img { width: 110px; }

.company_reg_block .form_row { z-index: auto; }

.cashback_days .input_block { padding-right: 0; }
.cashback_days .input_title { margin-left: 15px; }
.cashback_days .text_input { padding-right: 50px !important; width: 100px !important; }

.head_date_select.input_select input + i:after{
    content: '';
    border: 5px solid transparent;
    border-top: 5px solid #B3B3B3;
    position: absolute;
    right: 20px;
    top: 28px ;
}
/*.head_date_select.input_select input:focus + i:after,*/
.show_calendar.head_date_select.input_select i:after{
    content: '';
    border: 5px solid transparent;
    border-bottom: 5px solid #B3B3B3;
    position: absolute;
    right: 20px;
    top: 23px;
}

.head_date_select input.text_input.border { position: static; }

/* Правки по тикету 753 */
.calendar_button{
padding: 14px 20px;
}

.edit_block_body .nav-tabs>li>a{
padding: 15px 14px 15px 40px;
}
/* /Правки по тикету 753 */

/**/
.company_reg_block .reg_placeholder { text-transform: lowercase !important; font-size: 17px !important; }
.company_reg_block .reg_placeholder .info_block { text-transform: auto !important; }

/* Нижний регистр для надписей в профилях пользователя и компании */
.profile .p__ph { text-transform: lowercase !important; }

@media (max-width: 500px) {
	.popup {
		padding: 45px 20px;
	}
}

/* Фикс fb для мобильного*/
@media (max-width: 414px) {
  .fancybox-wrap.fancybox-type-ajax{
		left: 0 !important;
		width: 100% !important;
		//top: 0 !important;
	}
}

/* #522 */
.price_td {
    width: 100px;
}

/* Выпадающий список туров компании */
li.top_menu_item.top_menu_select { width: 290px; }

/**/
.offer-form__name { text-align: center; line-height: 80px; }
.offer-form__name-inner { display: inline-block; position: relative; vertical-align: bottom; line-height: 1; }
.offer-form__name-inner .offer-form__name-button { position: relative; display: inline-block; height: 65px; padding: 2px 2px 2px 5px; }
.offer-form__name-inner .offer-form__name-content { display: inline-block; height: 65px; }

.offer-form__name-inner.offer-form__name-inner_filled { display: block; position: static; }
.offer-form__name-inner.offer-form__name-inner_filled .offer-form__name-button { position: absolute; display: block; }
.offer-form__name-inner.offer-form__name-inner_filled .offer-form__name-button.offer-form__name-button_hidden { display: none; }
.offer-form__name-inner.offer-form__name-inner_filled .offer-form__name-content { display: block; }