/* Стили для страницы карты */

/* Скрытые элементы с координатами */
.map-coords-hidden {
    display: none;
}

/* Заголовок страницы */
.page-header-wrapper {
    background-color: rgba(255,255,255,0.5);
    padding: 10px 20px;
    margin-bottom: 30px;
}

.page-header-breadcrumb {
    padding-bottom: 4px;
}

.page-header-title {
    margin-top: 0;
    margin-bottom: 0;
}

/* Основной контейнер карты */
.map-container {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    border-top: 2px solid #9AD835;
    border-bottom: 2px solid #9AD835;
}

/* Левая панель (фильтр/описание) */
.map-sidebar-left {
    flex-grow: 0;
    flex-shrink: 0;
    height: 570px;
    width: 300px;
    border-right: 2px solid #9AD835;
}

/* Блок фильтра */
.block-filter {
    padding: 10px;
    background-color: #f8f8f8;
    height: 570px;
    overflow-y: auto;
}

.block-filter-title {
    font-size: 16px;
    text-align: center;
}

/* Блок описания объекта */
.block-description-object {
    display: none;
    padding: 10px;
    background-color: #f8f8f8;
    height: 570px;
    overflow-y: auto;
    position: relative;
}

.block-description-title {
    font-size: 16px;
    text-align: center;
}

/* Крестик закрытия */
#close-description {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 32px;
    color: #666;
    line-height: 1;
    z-index: 10;
    font-weight: bold;
}

/* Сообщение "Выберите объект" */
#no_opisanie {
    background-color: rgba(102,239,106,0.2);
    margin-top: 20px;
    border-radius: 6px;
    padding: 60px 0;
    text-align: center;
}

/* Блок описания (скрыт по умолчанию) */
#opisanie {
    display: none;
}

.hotel-type-name {
    font-size: 17px;
}

.hotel-address {
    margin-top: 10px;
    padding: 3px;
    height: 36px;
    background-color: #ffffff;
    border: 1px solid #c3c3c3;
    border-radius: 7px;
}

.hotel-image {
    margin-top: 10px;
    margin-bottom: 4px;
}

.hotel-price-label {
    font-size: 22px;
}

/* Блоки с информацией */
.info-block {
    margin-top: 10px;
    background-color: rgba(255,255,255,1.0);
    border-radius: 7px;
    border: 1px solid #c3c3c3;
}

.info-block-header {
    padding: 3px;
    text-align: center;
    border-bottom: 1px solid #c3c3c3;
}

.info-block-body {
    padding: 3px;
}

.info-block-body-center {
    padding: 3px;
    text-align: center;
}

/* Дополнительные опции */
.options-icons {
    text-align: center;
}

.img_options {
    display: none;
}

#q_options_opisanie {
    height: 23px;
    padding-top: 4px;
    text-align: center;
}

/* Ссылка на гостиницу */
.hotel-link-wrapper {
    margin-top: 10px;
    text-align: center;
}

/* Контакты */
#q_contacts {
    padding: 3px;
    font-size: 18px;
    text-align: center;
}

/* Чекбоксы */
.check {
    padding-top: 4px;
}

/* Правая панель с картой */
.map-content {
    flex-grow: 1;
    flex-shrink: 1;
}

/* Карта */
#map {
    width: 100%;
    height: 570px;
}

/* Окна (календарь, информация и т.д.) */
.window {
    width: 100%;
    height: 570px;
}

#div_kalendar,
#info_num,
#temp {
    display: none;
    border: 2px solid #9AD835;
    background-image: url(/ss/debut_light.png);
}

/* Кнопки */
.sendmail,
.sendmail2 {
    text-align: center;
}

.go_back {
    width: 250px;
}

.go_pay {
    width: 250px;
}

/* Календарь */
.calendar-title {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

.calendar-legend {
    margin: 10px;
    text-align: center;
}

.calendar-legend-today {
    border: 1px solid #000000;
    padding: 0 6px;
}

.calendar-legend-unavailable {
    background-color: #FCBCA7;
    padding: 0 6px;
}

.calendar-legend-selected {
    background-color: #D2F581;
    padding: 0 6px;
}

#div_newkal {
    border: 0;
    margin-top: 30px;
}

#select_dt {
    margin: 10px;
}

/* Формы */
.form-wrapper {
    margin: 10px;
}

.temp-selection-info {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 16px;
}

.temp-form-title {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

/* Футер с описанием */
.page-footer-description {
    background-color: rgba(255,255,255,0.7);
    padding: 0 20px;
    border-top: 2px solid #e3e3e3;
    border-bottom: 2px solid #e3e3e3;
}

/* Медиа-запросы для адаптивности */
@media (min-width: 1px) and (max-width: 349px) {
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar-left {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #9AD835;
    }
    
    #map {
        height: 300px;
    }
}

@media (min-width: 350px) and (max-width: 575px) {
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar-left {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #9AD835;
    }
    
    #map {
        height: 300px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar-left {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #9AD835;
    }
    
    #map {
        height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .map-container {
        flex-direction: column;
    }
    
    .map-sidebar-left {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #9AD835;
    }
    
    #map {
        height: 300px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .map-container {
        flex-direction: row;
    }
    
    .map-sidebar-left {
        width: 300px;
        border-right: 2px solid #9AD835;
        border-bottom: none;
    }
}

@media (min-width: 1200px) and (max-width: 999999px) {
    .map-container {
        flex-direction: row;
    }
    
    .map-sidebar-left {
        width: 300px;
        border-right: 2px solid #9AD835;
        border-bottom: none;
    }
}
