.mobile {display: none;}
.tablet {display: none;}

body.noScroll {
    overflow: hidden;
}

.header_mobile {
    height: 80px;
    width: 100%;
    background-color: #a25d3c;
    position: fixed;
    z-index: 999;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.5);
}
    .not_main .header_mobile {
        background-color: #efe6dd;
    }
    .header_mobile__block__call {
        width: 19%;
        height: 100%;
        display: inline-block;
        vertical-align: top;
        background-image: url(/i/phone-mobile.png);
        background-size: auto 26%;
        background-position: center;
        background-repeat: no-repeat;
        float: left;
        transition: background-image 0.2s ease-in-out;
    }
    .header_mobile__block__call:active {
        background-color: #965739;
    }
    .header_mobile__block__call.active {
        background-image: url(/i/x.png);
    }
        .not_main .header_mobile__block__call {
            background-image: url(/i/phone-mobile-2.png);
        }
            .not_main .header_mobile__block__call:active {
                background-color: #efe6dd;
            }
    .header_mobile__block__logo {
        width: 59%;
        height: 100%;
        display: inline-block;
        vertical-align: top;
        background-image: url(/i/logo-mobile.png);
        background-size: auto 70%;
        background-position: center;
        background-repeat: no-repeat;
    }
        .header_mobile__block__logo a {
            display: block;
            height: 100%;
            border-bottom: none;
        }
        .not_main .header_mobile__block__logo {
            background-image: url(/i/logo-mobile-2.png);
        }
    .header_mobile__block__menu {
        width: 19%;
        height: 100%;
        display: inline-block;
        vertical-align: top;
        background-image: url(/i/menu-mobile.png);
        background-size: auto 18%;
        background-position: center;
        background-repeat: no-repeat;
        float: right;
    }
        .header_mobile__block__menu:active {
            background-color: #965739;
        }
        .not_main .header_mobile__block__menu {
            background-image: url(/i/menu-mobile-2.png);
        }
            .not_main .header_mobile__block__menu:active {
                background-color: #efe6dd;
            }
    .header_mobile__block__phone {
        width: 80%;
        height: 100%;
        float: right;
        top: 0;
        right: 0;
        display: none;
        vertical-align: top;
        position: absolute;
        background-color: #a25d3c;
        text-align: left;
        //border-bottom: 2px solid #f7eee4;
    }
        .header_mobile__block__phone a {
            color: #f5eade;
            border-bottom: none;
            display: block;
            font-size: 20px;
            padding: 30px 0 30px 10%;
        }
            .header_mobile__block__phone a:hover,
            .header_mobile__block__phone a:active {
                background-color: #965739;
                color: #f5eade !important;
            }
        .not_main .header_mobile__block__phone {
            background-color: #efe6dd;
        }
            .not_main .header_mobile__block__phone a {
                color: #965739;
            }
                .not_main .header_mobile__block__phone a:hover,
                .not_main .header_mobile__block__phone a:active {
                    background-color: #f5eade;
                    color: #965739 !important;
                }

.header_menu_mobile {
    width:100%;
    height:100%;
    position: fixed;
    background-color: #a25d3c;
    z-index: 1000;
    display: none;
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
}
    .header_menu_mobile__close {
        font-size: 35px;
        width: 20%;
        height: 24px;
        line-height: 20px;
        font-weight: lighter;
        color: #d8d8d8;
        position: absolute;
        top: 28px;
        right: 0;
    }
    .header_menu_mobile ul {
        list-style: none;
        padding: 0;
        margin: 75px 0 0;
    }
        .header_menu_mobile ul li {
            font-size: 20px;
            margin-bottom: 25px;
        }
            .header_menu_mobile ul li a {
                color: #f5eade !important;
                border-bottom: none !important;
            }
            .header_menu_mobile ul li a.selected {
                color: #ffffff !important;
            }

.about_menu.mobile {
    width:100% !important;
}
    .about_menu_mobile__wrap {
        border: 1px solid #aca69f;
        padding: 10px 15px;
    }
    .about_menu_mobile__wrap ul {
        //text-align: center;
    }


.popup {
    position: fixed;
    top: 0;
    left: 5%;
    width: 90%;
    padding: 20px 20px;
    z-index: 999;
    background-color: #f7eee4;
    margin-top: -100px;
    border-radius: 5px;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.5);
    opacity: 0;
    transition: all 0.4s ease-in-out;
    color: #a25d3c;
    text-align: center;
    font-size: 15px;
}
.popup.active {
    margin-top: 10px;
    opacity: 1;
}
    .popup_price {
        display: block;
        line-height: 24px;
        font-size: 24px;
        font-family: 'haginCapsMedium';
        margin-top: 8px;
        color: #000;
    }


@media screen and (min-width: 480px) and (max-width: 640px) {
    .header_menu_mobile ul {
        margin: 15px 0 0;
    }
    #hbd_calendar__ct {
        max-width: 400px !important;
    }
    .h span:before, .h span:after {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .text_room {
        max-height: 230px;
    }

    /* clear Main styles begin */
    .body_wrapper_wrapper {
        max-width: 100vw;
        width: 100vw;
        //overflow-x: hidden;
    }
    .mobile {display: block;}
    .mobile_hide {display: none !important;}

    .root_table__top {height:80px;}
    .ftext h1 {text-align: center;}
    .ftext img {max-width: 100%;height: auto;}
    .ftext p {word-break: break-word;}
    .h4 {
        font-size: 30px;
        line-height: 30px;
        text-align: center;
        display: block;
    }
    blockquote {display: none;}
    .ta_c {text-align: center;}
    .block_photo_mobile {padding:0 !important;}
    .block_photo_mobile img {width: 100% !important;height:auto !important;}
    .sidebar_zayavka {max-width: 100%;margin-top:0;}
    .h span:before, .h span:after { display: none; }
    /* clear Main styles end */

    .to_div {display: block; width: 100%;}
    .to_div > tbody {display: block; width: 100%;}
    .to_div > tbody > tr {display: block; width: 100%;}
    .to_div > tbody > tr > td {display: block; width: 100%;word-wrap: break-word;}

    /* Главная страница begin */
    .cycle-slideshow {
        height:160px;
    }
        .slider img {
            height: 160px;
            background-size: cover;
            background-position: center;
        }

    .spec_offer {
        margin-top: 60px;
    }
    .h span {
        line-height: 30px;
    }

    .features {
        padding: 0;
        text-align: center;
        margin-bottom: 30px;
        min-height: 0;
        height: auto;
    }
        .features__img {
            position: relative;
            margin: 0 auto;
            margin-bottom: 10px;
        }

    .weather {
        border-bottom: 2px solid #fff;
        padding-bottom: 25px;
    }
        .weather__title {
            text-align: center;;
        }
        .weather_block {
            width:100% !important;
        }
    .reviews {
        padding-top: 25px;
    }
        .reviews__title {
            text-align: center;;
        }
        .table__reviews .full_image img {
            width: 100%;
            height: auto;
        }
    .max_width.correct {
        padding:0 !important;
    }
        .max_width.correct .max_width:first-child {
            padding:0 20px !important;
        }
    .room_reserve {
        width:100%;
    }
    .room_tab td {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
        .rooms_numbers{
            //padding:0 15px;
            //width: 100vw;
            width: 88vw;
            //overflow: auto;
            position: relative;
            //height: 50px;
            margin: 0 auto;
        }
            .selection .rooms_numbers {
                display: none;
            }
            .selection .rooms_numbers + script + i.br20 {
                display: none;
            }
            .rooms_numbers__wrap {
                //white-space: nowrap;
            }
            .room_num_link {
                margin-bottom: 5px;
            }
                .room_num_link:last-child {
                    margin-right: 0 !important;
                }
        .room_white_b {
            border: none !important;
        }
        .h.mobile {
            line-height: 30px;
        }
        .res_slider {
            width: 100%;
        }
            .res_slider__main {
                height: 160px;
            }
            .res_slider__main + .br10 {
                height: 15px !important;
            }
            .res_slider__items .item_link {
                width: 16% !important;
                margin-right: 5% !important;
                margin-bottom: 15px !important;
            }
                .res_slider__items .item_link:nth-child(5n+5) {
                    margin-right: 0 !important;
                }
                .res_slider__items .item_link img {
                    width: 100%;
                    height: 35px;
                }
            .res_slider .misc {
                width: 50%;
                font-size: 13px;
            }
            .table_prices tbody tr:first-child td {
                padding-top: 10px;
            }
            .table_prices tbody td {
                padding-bottom: 10px;
            }
            .table_prices1 tr td:nth-child(5),
            .table_prices1 tr td:nth-child(6),
            .table_prices1 tr td:nth-child(7) {
                display: none;
            }
            .table_prices2 tr td:nth-child(2),
            .table_prices2 tr td:nth-child(3),
            .table_prices2 tr td:nth-child(4) {
                display: none;
            }
            .res_form {
                margin: 0;
                padding: 5px 20px;
            }
                .res_form > div {
                    line-height: 30px;
                    padding-bottom: 20px !important;
                }
                .res_form span.h3.lh18 {
                    line-height: 20px;
                }
                table.num_p tr {
                    position: relative;
                }
                .res_form__child_popup {
                    z-index: 9;
                    left: 25px !important;
                    margin-left: -7px;
                    bottom: auto;
                    margin-top: 5px;
                    padding-top: 0;
                }
                #hbd_calendar__ct {
                    width:100% !important;
                }
                .hbd_calendar__calendar__days__w {
                    overflow-y: auto !important;
                }
        .reserve_text {
            width:100% !important;
            padding: 0 15px;
        }
    /* Главная страница end */

    /* Номера begin */
    .rooms_table {
        
    }
        .rooms_table td[width="10"] {
            padding:0 3px;
        }
            .rooms_table td[width="10"] img {
                display: none;
            }
        .roof__tile {
            height:30px;
        }
        .floor__item {
            height: 50px;
            font-size: 22px;
            padding-top: 15px;
        }
    .rooms_prices {

    }
        .rooms_prices .h4 {
            font-size: 22px;
            line-height: 25px;
        }
        .rooms_prices .table_prices thead td {
            padding-right: 3px;
            padding-left: 3px;
        }
        .rooms_prices .table_prices tbody td {
            padding-top: 10px !important;
            padding-right: 5px;
            padding-bottom: 10px;
            padding-left: 5px;
        }
    /* Номера end */

    /* Отзывы begin */
    .max_width__more {
        padding: 0 15px !important;
    }
    .review_container {
        height: auto !important;
    }
        .review_container__item {
            position: relative !important;
            width: 100% !important;
            padding: 0 !important;
            left: 0 !important;
            top: 0 !important;
        }
        .review_container__item__form input[type="text"],
        .review_container__item__form textarea {
            width: 100%;
        }
        .review_container__item__form button {
            margin: 0 auto;
            display: block;
        }
    /* Отзывы end */

    /* Контакты begin */
    #map {
        width:100% !important;
        height: 250px !important;
    }
    /* Контакты end */

    /* Фотогалерея begin */
    .press_index__photo__item {
        width:100% !important;
        padding-right: 0 !important;
        padding-top: 20px !important;
    }
        .press_index__photo__item__img {
            width: 90%;
            height: auto;
        }
        .press_index__photo__item__img__3 {
            position: relative !important;
            top: 0 !important;
            margin-bottom: 7px;
            display: block;
        }
    /* Фотогалерея end */

    /* Подтверждение, оплата begin */
    .confirm,
    .payment {
        width:100% !important;
    }
        .confirm .confirm__corners,
        .payment .payment__corners {
            display: none;
        }
            .confirm tr,
            .payment tr {
                vertical-align: top;
            }
                .confirm tr:first-child td,
                .payment tr:first-child td {
                    border-bottom: 1px solid #aca69f !important;
                    padding: 8px 8px 10px !important;
                }
                .confirm tr td,
                .payment tr td {
                    border-bottom: none !important;
                    padding: 11px 8px 7px !important;
                    font-size: 14px;
                }
                    .confirm tr td b,
                    .payment tr td b {
                        font-family: 'dinPro';
                    }
                    .confirm tr td input {
                        width: 68%;
                    }
                    .payment tr td input[type="text"] {
                        width: 95%;
                    }
                    .bottom_dotted:after {
                        display: none;
                    }
                .confirm tr:last-child td {
                    text-align: center;
                    padding: 10px 8px 26px !important;
                }
                .payment tr:last-child td {
                    border-top: 1px solid #aca69f !important;
                }
    /* Подтверждение, оплата end */

    /* Футер begin*/
    .root_table__bottom {
        
    }
        .root_table__bottom table tr:last-child td:last-child div {
            float: none !important;
        }
            .root_table__bottom table tr:last-child td:last-child div > a {
                position:relative !important;
                margin-left:0 !important;
                margin-top:0 !important;
            }
    /* Футер end*/

    .root_table tr:nth-child(2) {
        //display:none;
    }
    .root_table > tbody > tr:last-child {
        //display:none;
    }

    .max_width {
        max-width: 100%;
        min-width: 100%;
        text-align: left;
        padding: 0 15px;
        position: relative;
    }
}

@media screen and (min-width: 641px) and (max-width: 1100px) {
    .tablet {
        display: block;
    }
    .tablet_hide {display: none !important;}
    .block_photo_mobile {
        width: auto !important;
    }
    .sidebar_zayavka .success {
        padding-top: 40px;
    }
}