/*  @ M E D I A  Q U E R I E S  */

@media (max-width: 1199px) {
    .booking .wrap {
        padding: 0 0px 0 60px;
    }
    .booking input.date {
        width: 226px;
    }
    .booking .count {
        width: 130px;
    }
    .historyblock .contentbox {
        height: 292px;
    }
    .features ul li {
        margin: 0 10px;
    }
    header .logo img {
        width: 250px;
        height: auto;
    }
    .rooms {
        padding: 0;
    }
    .contentbox .prices {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    .price table,
    .price .table {
        display: none;
    }
    .history .right {
        padding-left: 190px;
    }
    .history .left {
        padding-right: 190px;
    }
}

@media (max-width: 991px) {
    .historyblock .contentbox {
        height: 210px;
    }
    .features ul li {
        min-width: 0;
    }
    .features ul li:first-child {
        margin-left: 0;
    }
    .features ul li:last-child {
        margin-right: 0;
    }
    .features ul li span {
        font-size: 15px;
    }
    .features ul li:first-child + li + li {
        max-width: 150px;
    }
    .booking .col {
        width: 50%;
    }
    .booking .col + .col {
        width: 50%;
    }
    .booking .title {
        display: none;
    }
    .booking .wrap {
        padding: 0;
    }
    .booking {
        padding-top: 32px;
    }
    .booking .wrap > .title {
        display: block;
        text-align: center;
        float: none;
        padding: 0 0 22px;
        font-size: 18px;
    }
    .booking .data .caption {
        font-size: 15px;
    }
    .booking .bottom .col + .col input[type="text"] {
        width: 100%;
    }
    .booking .bottom .col + .col input[type="text"] + input[type="text"] {
        margin-top: 32px;
    }
    .booking .data .count:first-child .caption {
        padding-left: 0;
    }
    .booking .controls .remove + .add {
        margin-left: 10px;
    }
    .booking .count {
        width: 98px;
    }
    .booking .count input {
        width: 30px;
        height: 32px;
    }
    .booking .bottom textarea {
        height: 141px;
    }
    .booking .col {
        padding-right: 16px;
    }
    .booking .col + .col {
        padding-left: 16px;
    }
    .booking .count div {
        width: 24px;
    }
    .booking .data .item + .item .controls {
        margin-top: 15px;
    }
    header .logo {
        margin: 4px 0 70px;
        width: 40%;
        text-align: center;
    }
    header > .top .container > div {
        text-align: center;
    }
    header .logo img {
        width: auto;
    }
    header > .top .container {
        display: block;
        overflow: hidden;
        position: relative;
    }
    header > .top .container > div,
    header > .top .container > a {
        float: left;
    }
    header .social-likes {
        width: 40%;
        float: none;
        clear: both;
        margin-left: 0;
        position: absolute;
        left: 0;
        bottom: 20px;
    }
    header > .top .container .address {
        float: right;
        margin: 16px 0 0;
    }
    header > .top .container > .phone {
        margin: 20px 0 0 40px;
    }
    header > .top {
        padding-bottom: 0;
    }
    .history .logo {
        width: 160px;
        margin-left: -80px;
    }
    .history .right {
        padding-left: 120px;
    }
    .history .left {
        padding-right: 120px;
    }
    .history .img {
        width: 180% !important;
        max-width: 180%;
    }
}

@media (max-width: 767px) {
    header > .top {
        padding-bottom: 22px;
    }
    header .logo {
        margin: 0 0 30px;
        width: 100%;
        text-align: center;
        display: block;
    }
    header > .top .container > .address,
    header > .top .container > .phone {
        float: none;
        margin: 0 0 18px;
        padding: 18px 0 0;
        border-top: 1px solid #d6d7ad;
    }
    header > .top .container > .address br,
    header > .top .container > .phone br {
        display: none;
    }
    header .phone span {
        white-space: normal;
    }
    header .social-likes {
        width: 100%;
        float: none;
        clear: both;
        margin: 0;
        position: relative;
        left: 0;
        bottom: 0;
        border-top: 1px solid #d6d7ad;
        padding: 18px 0 0;

    }
    header > .top .container > div,
    header > .top .container > a {
        float: none;
        margin-left: 0;
    }
    header .nav ul {
        text-align: left;
        padding: 0;
        margin: 0 -15px;
        border-top: 1px solid #40563a;
        border-right: 1px solid #40563a;
        overflow: hidden;
        -webkit-box-shadow: inset 0px -1px 0 #40563a;
        box-shadow: inset 0px -1px 0 #40563a;
    }
    header .nav ul li {
        width: 33.3%;
        float: left;
        padding: 18px 10px;
        margin: 0;
        text-align: center;
        border-left: 1px solid #40563a;
        border-bottom: 1px solid #40563a;
    }
    header .nav ul li:last-child {
        -webkit-box-shadow: 1px 0 0 #40563a;
        box-shadow: 1px 0 0 #40563a;
    }
    header .nav ul li.wide {
        width: 50%;
    }
    .historyblock .slider {
        width: 100%;
        float: none;
        top: 0;
        margin: 0 0 25px;
    }
    .historyblock .contentbox {
        height: 210px;
    }
    .features ul {
        display: block;
    }
    .features ul li {
        display: inline-block;
        width: 49.5%;
        vertical-align: top;
        margin: 0;
        padding: 0 20px;
    }
    .features ul li:first-child + li + li {
        max-width: 999px;
        margin-top: 30px;
    }
    .features ul li:first-child + li + li + li {
        margin-top: 30px;
    }
    .features ul li span br {
        display: none;
    }
    .contentbox img, 
    .contentbox .img {
        max-width: 100%;
        height: auto;
        margin: 25px auto;
        display: block;
        float: none;
    }
    .contentbox img.justifyright,
    .contentbox .img.justifyright,
    .contentbox img.justifyfull,
    .contentbox .img.justifyfull,
    .contentbox img.justifyleft,
    .contentbox .img.justifyleft {
        float: none;
        margin: 25px auto;
    }

    .booking .top .col,
    .booking .bottom .col {
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .booking .top .col:first-child input {
        float: none;
        margin-bottom: 20px;
    }
    .booking input.date {
        width: 256px;
        padding: 18px 26px;
    }
    .booking {
        padding: 28px 0;
    }
    .booking .bottom .col + .col {
        margin-top: 22px;
    }
    .booking .bottom .col:first-child {
        line-height: 0;
    }
    .booking .bottom .col:first-child * {
        line-height: 1.3;
    }
    .booking .bottom textarea,
    .booking .bottom .col + .col input[type="text"] + input[type="text"] {
        margin-top: 22px;
    }
    .booking .bottom textarea {
        display: none;
    }
    .booking .bottom .col + .col textarea {
        display: inline-block;
    }
    .booking .col,
    .booking .col + .col {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .booking .data .col + .col {
        margin-top: 20px;
    }
    .booking .count {
        width: 26%;
    }
    .booking .data .count:first-child .caption {
        padding-left: 29px;
    }
    .booking .data .caption {
        min-height: 40px;
    }
    .booking .data .count .caption {
        min-height: 50px;
    }
    .booking .controls,
    .booking .data .item + .item .controls {
        margin-top: 57px;
    }
    .booking .data .item + .item .caption {
        display: block;
    }
    .booking .data .item .col > .caption {
        display: none;
    }
    .booking .data .item + .item .count {
        margin-top: 0;
    }
    .booking .data .item {
        background: #2a3c26;
        padding: 26px;
    }
    .booking .data .item + .item {
        margin-top: 10px;
    }
    .info.contentbox .img {
        width: 100% !important;
        float: none;
        top: 0;
        margin: 0 0 24px;
    }
    .rooms .item .left,
    .rooms .item .right {
        width: 100%;
        padding-right: 0;
        float: none;
    }
    .rooms .item .right {
        padding-left: 0;
        margin-top: 26px;
    }
    .rooms .item {
        padding-top: 36px;
    }
    .price .buttons {
        float: none;
    }
    .price .buttons a {
        margin: 10px 0 14px;
    }
    img.ruble {
        height: 11px;
        width: auto;
        display: inline-block;
        vertical-align: middle;
        margin: 0;
        padding: 0;
        position: relative;
        top: -2px;
    }
    .reviews ul {
        display: none;
    }
    .reviews ul + ul {
        display: block;
    }
    .history .left,
    .history .right {
        float: none;
        width: auto;
        padding-right: 0;
        padding-left: 0;
    }
    .history .img {
        width: 100% !important;
        max-width: 100%;
    }
    .history .logo {
        width: auto;
        margin: 42px auto 48px;
        position: relative;
        top: 0;
        left: 0;
    }
    .booking .count input {
        width: 34px;
        height: 36px;
    }
    .booking .count div {
        font-size: 30px;
        width: 28px;
    }
}

@media (max-width: 590px) {
    .booking .count {
        width: 29%;
    }
}

@media (max-width: 520px) {
    .features ul li {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .features ul li + li {
        margin-top: 28px;
    }
    .booking .controls,
    .booking .data .item + .item .controls {
        float: none;
        clear: both;
        text-align: center;
        margin-top: 0;
        padding-top: 35px;
        margin-top: 0;
        line-height: 0;
    }
    .booking .controls .remove, 
    .booking .controls .remove + .add {
        float: none;
        display: inline-block;
        margin: 0 5px;
    }
    .booking .count {
        width: 33.3%;
        text-align: center;
    }
    .booking .data .count .caption,
    .booking .data .count:first-child .caption {
        padding-left: 0;
    }
}

@media (max-width: 440px) {
    .booking .count {
        width: 100%;
        float: none;
        text-align: center;
    }
    .booking .count br {
        display: none;
    }
    .booking .data .count .caption,
    .booking .data .count:first-child .caption {
        min-height: 0;
        margin-bottom: 10px;
    }
    .booking .data .count + .count,
    .booking .data .item + .item .count + .count {
        margin-top: 20px;
    }
    .booking .data .col + .col {
        margin-top: 26px;
    }
    .booking .count input {
        width: 38px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    header .nav ul li a {
        font-size: 17px;
    }
}

@media (max-width: 350px) {
    header .nav ul li a {
        font-size: 16px;
    }
}

@media (max-width: 330px) {
    header .nav ul li a {
        font-size: 15px;
    }
}