@media only screen and (max-width: 1450px) {
  /* Общее */
  body {
    font-size: 14px;
  }
  .content {
      width: 960px;
  }
  .home h1 {
    font-size: clamp(1.375rem, 4.5vw, 1rem);
}
.spon_item {
    flex: 0 min(240px, 30vw);
}
.spon_item object, .spon_item img {
    width: min(240px, 27vw);
}
    /* Шапка */
header.shapka {
  height: 70px;
}
.hblok.blokh1 img {
  width: 120px;
}
ul#top-nav li a {
  font-size: 16px;
}
ul#top-nav .wpml-ls-menu-item .wpml-ls-flag {
height: auto;
vertical-align: middle;
}
.btn.mini {
padding: 2px 10px 3px 10px;
font-size: 16px;
}
.blokh5 svg {
width: 24px;
}
.vo_bot {
  flex-wrap: wrap;
}
.vo_left {
  width: 100%;
  text-align: center;
  margin: 0 0 35px 0;
}
.vo_right {
  width: 100%;
  text-align: center;
}
.one_villa_block {
  width: 50%;
  min-width: 50%;
}
.two_villa_block {
  width: 50%;
  margin: 0 0 0 20px;
}
.villa_img_con {
  height: 350px;
}
.gallery-thumbs {
  height: 70px;
}
.booking .page_form_item {
  width: 33%;
  padding: 0 20px;
}
span.wpcf7-not-valid-tip {
  font-size: 12px;
  margin: 2px 0 -13px 0;
}
.page.page-id-423 .text .flex2:first-of-type, .page.page-id-28 .text .flex2:first-of-type {
  flex-direction: column;
}
.page.page-id-423 .text .flex2:first-of-type .chess1, .page.page-id-423 .text .flex2:first-of-type .chess2, .page.page-id-28 .text .flex2:first-of-type .chess1, .page.page-id-28 .text .flex2:first-of-type .chess2 {
  width: 100%;
}
.locb .txt-loc2 {
  max-width: calc(100% - 50px);
  display: inline-block;
  vertical-align: middle;
}
}
@media only screen and (max-width: 1400px) {

}
@media only screen and (max-width: 1023px) {
  /* Общее */
  .team .team_item {
    width: 28%;
}
  .content {
      width: 720px;
      padding: 0px 20px;
  }
  .hblok.blokh1 {
    margin: 0 0 0 20px;
    width: auto;
  }
  .hblok.blokh5 {
    margin: 0 20px 0 0;
  }
  #adout h1 {
    font-size: 31px;
    padding: 110px 0 100px 0;
}
.btn.big {
  padding: 9px 24px 10px 24px;
  font-size: 20px;
}
.text h2 {
  font-size: 26px;
  margin: 60px 0 30px 0;
}
span.chess_img_txt {
  bottom: 13px;
  right: 20px;
  font-size: 22px;
}
.villas_img {
  height: 220px;
}
.vo_top {
  padding: 7px 15px;
}
.vo_bot {
  padding: 5px 15px 18px 15px;
}
span.vo_area {
  margin-right: 15px;
}
span.vo_area, .vo_guests {
  font-size: 14px;
}
.vo_guests svg, .vo_area svg {
  margin-right: 8px;
}
.vo_area svg {
  max-width: 16px;
  margin-bottom: -3px;
}
.vo_guests svg {
  max-width: 25px;
  margin-bottom: -8px;
}
span.vo_title, span.vo_price {
  font-size: 18px;
}
.btn.mini {
  font-size: 14px;
}
.vo_left, .vo_right {
  width: 100%;
  text-align: center;
}
.vo_top, .vo_bot {
  flex-wrap: wrap;
}
.vo_left {
  margin: 0 0 20px 0;
  text-align: center;
}
.icon_m_svg img, .icon_m_svg svg {
  max-width: 50px;
  max-height: 50px;
  margin: 0 0 15px 0;
}
.icon_m {
  width: 21%;
  margin: 25px 0;
}
.right_one {
  font-size: 21px;
}
.wrapp_bg.top0 {
  margin: 50px 0 70px 0;
}
section#block_8 {
  margin: 70px 0 0 0;
  padding: 40px 0;
}
section#block_9 span {
  font-size: 16px;
}
.page-template-location .content .text {
  font-size: 16px;
}
.foot1 .logo img {
  width: 100px;
}
.booking .page_form_item {
  width: 50%;
  padding: 0 20px;
  box-sizing: border-box;
}
.head_page h1 {
  font-size: 30px;
}
.head_page {
  margin: 0 0 40px 0;
  padding: 125px 0 65px 0;
}
.main_villa_block {
  flex-wrap: wrap;
}
.one_villa_block {
  width: 100%;
}
.gallery-thumbs {
  height: 80px;
}
.two_villa_block {
  width: 100%;
  margin: 0;
}
.foot2.footbl {
  width: 24%;
}
.foot1.footbl, .foot3.footbl {
  width: 38%;
}
}

@media(max-width:900px){
  a.header__logo-link {
    display: block;
    width: 44px;
    height: 42px;
    position: relative;  }
  a.header__logo-link img { height: 100%; position: relative; }
  header.shapka .content_wide {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--margin-small);
    box-sizing: border-box;   
}
    header.shapka {
        height: 54px;
    }
    .hblok.blokh3 {
    display: none;
    }
    ul#top-nav li a:hover {
    background: inherit;
}

}


@media only screen and (max-width: 767px) {
  .team .team_item {
    width: 44%;
}
.foot1 .logo img {
  margin: auto;
}
  .content {
      width: 451px;
      padding: 0px 15px;
  }
  .hblok.blokh1 img {
    width: 90px;
}
.hblok.blokh1 {
  margin: 0 0 0 15px;
  width: auto;
}
.hblok.blokh5 {
  margin: 0 15px 0 0;
}
.btn.mini {
  font-size: 14px;
}
.blokh5 svg {
  width: 20px;
}
.responsive-menu-inner, .responsive-menu-inner::before, .responsive-menu-inner::after {
  width: 20px !important;
}
.responsive-menu-box {
  width: 20px !important;
}
button#responsive-menu-button {
  width: 20px !important;
  height: 22px !important;
}
#adout h1 {
  font-size: 22px;
  padding: 80px 0 80px 0;
}
#adout a.btn {
  margin: 0 0 150px 0;
}
.btn.big {
  padding: 7px 8px 8px 8px;
  font-size: 14px;
}
.text h2 {
  margin: 50px 0 30px 0;
}
.flex2 {
  flex-wrap: wrap;
  margin: 0 0 30px 0;
}
.chess1, .chess2 {
  width: 100%;
  position: relative;
  display: block;
}
.villas_list {
  flex-wrap: wrap;
}
.villas_item {
  width: 100%;
  margin: 0 0 20px 0;
}
.foot_greed {
  align-items: start;
  align-self: start;
}
.foot1.footbl, .foot2.footbl, .foot3.footbl {
  width: 100%;
  text-align: center;
}
.foot1.footbl {
  margin: 0 0 45px 0;
}
.foot2.footbl {
  margin: 0 0 25px 0;
}
.foot_greed {
  align-items: start;
  align-self: start;
  flex-wrap: wrap;
  flex-direction: column;
}
.btn {
  border: 1px solid #fff;
}
.icon_m {
  width: 27%;
}
.booking .page_form_item {
  width: 100%;
  padding: 0;
}
span.special_txt {
  font-size: 16px;
  line-height: 21px;
}
.special_bg {
  padding: 15px 20px;
}
div#special {
  padding: 15px 20px;
}
#special h2 {
  font-size: 24px;
  margin: 0 0 15px 0;
}

.foot_greed {
padding: 1em 0;
}
}

@media only screen and (max-width: 480px) {
  /* Общее */
  .team .team_item {
    width: 90%;
}
  .content {
              width: 370px;
      padding: 0px 10px;
  }
  .hblok.blokh1 img {
    width: 90px;
}
  .hblok.blokh1 {
    margin: 0 0 0 10px;
    width: auto;
  }
  .hblok.blokh5 {
    margin: 0 10px 0 0;
  }
  .blokh5 .btn.mini {
    margin: 0 15px 0 10px;
}
.flex2_one {
  flex-wrap: wrap;
}
.left_one, .right_one {
  width: 100%;
}
.vo_right a.btn {
  margin: 0;
}
.head_page h1 {
  font-size: 23px;
}
.head_page {
  padding: 70px 0 40px 0;
}
span.special_txt {
  font-size: 14px;
}
.special_bg {
  padding: 10px 10px;
}
div#special {
  padding: 10px 10px;
}
#special h2 {
  font-size: 21px;
  margin: 0 0 10px 0;
}
section#block_9 span {
  font-size: 14px;
}
.page-template-location .content .text {
  font-size: 14px;
}
}

@media only screen and (max-width: 400px) {
  .head_btn_bl svg {
    display: inline-block;
}
  .head_btn_bl span {
  display: none;
}
.head_btn_bl a.btn.white.mini {
  border: none;
}
.blokh5 .btn.mini {
  margin: 0 9px 0 10px;
}
header.shapka.fixed .hblok.blokh1 img {
  width: 60px;
}


}