.containers {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box; 
}
@media (min-width: 768px) {
  .containers {
    max-width: 750px;
  }
}
@media (min-width: 992px) {
  .containers {
    max-width: 970px;
  }
}
@media (min-width: 1150px) {
  .containers {
    max-width: 1120px;
  } 
}
@media (min-width: 1300px) {
  .containers {
    max-width: 1290px;
  } 
  .footer .containers {
    height: 100%;
  } 
}


.footer .footer-inner{width: auto;}
.footer .footer-inner .footer-bottom{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-around;
}
.footer .footer-inner .foot-logo{position: static;}
.footer .footer-inner .footmenu, .footer .footer-inner .footer-contacts{position: static !important;}

.right-sidebar{float: none; margin-left: 0;}
.left-sidebar{float: none; margin-left: 0;}
.three-col main.content{display: flex; justify-content: flex-start; padding: 30px 0 50px 0; }
main.content .text-boxs{margin: 0 25px; width: 100%;}
.wrapper{width: auto;}
main.content .text-boxs iframe{max-width: 100%;}
main.content:after{display: none !important;}
.header .topslider .slider_2{width: 250px; height: 250px; top: 9px;}
.header .topslider .slider_3 {width: 260px; height: 260px; right: 276px;}
.header{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  padding-top: 20px;
}
.content:after{display: none;}

.menub {
  width: 3em;
  height: 3em;
  position: relative;
  z-index: 0;
  margin: 0 auto;
  margin-left: -1px;
}
.menub .bit-1::before {
  content: '';
  left: 0.5em;
  top: 0.5em;
  position: absolute;
  width: 1em;
  transform-origin: left bottom;
  height: 0.3em;
  background: #FFFFFF;
  transition: transform 0.3s, top 0.3s;
}
.menub .bit-1::after {
  content: '';
  position: absolute;
  right: 0.5em;
  top: 0.5em;
  width: 1em;
  transform-origin: right bottom;
  height: 0.3em;
  background: #FFFFFF;
  transition: transform 0.3s, top 0.3s;
}
.menub .bit-2 {
  position: absolute;
  width: 2em;
  top: 50%;
  left: 50%;
  height: 0.3em;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
  transition: transform 0.3s 0.3s, width 0.3s 0.6s;
}
.menub .bit-3::before {
  content: '';
  position: absolute;
  bottom: 0.5em;
  left: 0.5em;
  width: 1em;
  transform-origin: left top;
  height: 0.3em;
  background: #FFFFFF;
  transition: transform 0.3s, bottom 0.3s;
}
.menub .bit-3::after {
  content: '';
  position: absolute;
  bottom: 0.5em;
  right: 0.5em;
  width: 1em;
  transform-origin: right top;
  height: 0.3em;
  background: #FFFFFF;
  transition: transform 0.3s, bottom 0.3s;
}
.menub.open .bit-1:before {
  top: 0.4em;
  width: 1.2em;
  transform: rotate(45deg);
  transform-origin: left bottom;
  transition: transform 0.3s 0.3s, width 0.3s 0.3s, top 0.3s 0.3s;
}
.menub.open .bit-1:after {
  top: 0.4em;
  width: 1.2em;
  transform: rotate(-45deg);
  transform-origin: right bottom;
  transition: transform 0.3s 0.3s, width 0.3s 0.3s, top 0.3s 0.3s;
}
.menub.open .bit-2 {
  width: 0.3em;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform 0.3s 0.3s, width 0.3s;
}
.menub.open .bit-3:before {
  bottom: 0.4em;
  width: 1.2em;
  transform: rotate(-45deg);
  transform-origin: left top;
  transition: transform 0.3s 0.3s, width 0.3s 0.3s, bottom 0.3s 0.3s;
}
.menub.open .bit-3:after {
  bottom: 0.4em;
  width: 1.2em;
  transform: rotate(45deg);
  transform-origin: right top;
  transition: transform 0.3s 0.3s, width 0.3s 0.3s, bottom 0.3s 0.3s;
}
.topmenu_mobile_button{width: 40px; height: 40px; position: relative; border: 2px solid #fff; transition: 0.3s ease;}
.mob_button_wrap{
  display: none;
  align-items: center;
  cursor: pointer;
}
.mob_button_wrap > span{
  display: none;
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  margin-left: 10px;
}
.topmenu_mobile_button:hover{background: rgba(255, 255, 255, 0.13);}

.button_sub{
  background-image: url(../img/arrow.svg);
  -webkit-background-size: 13px;
  background-size: 13px;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  z-index: 999;
  top: 17px;
  left: 6px;
  background-position: center;
  display: none;
}
.text-boxs img[width^="7"] {
    max-width: max-content;
    width: 100%;
    height: auto;
}
.main-slider {
    max-width: 850px;
    width: 100%;
    height: auto;
}
.main-slider img{
  width: 100%;
  height: auto;
}
.h3_span{
  display: block;
  color: rgb(0, 0, 0);
  font-weight: bold;
  line-height: 25px;
  font-size: 16px;
  margin: 10px 0px;
}



.table-responsive table.price-table {
  min-width: 1030px;
}
.text-boxs .price-table tr td:first-child{min-width: 125px;}
@media (min-width: 992px) and (max-width: 1300px) {
  .main-slider {max-width: 480px;}
}

.text-boxs ul{margin-left: 25px; list-style-type: disc;}

.text-boxs img{
  border: 3px solid #fff;
  border-radius: 3px;
  max-width: 100%;
  height: auto;
}
.bookingForm{margin-top: 0; float: none;}
.object-gallery {width: 100%; max-width: 936px}
.booking-form{float: none;}
.top-contacts a{color: #fff; text-decoration: none; font-family: "Roboto Condensed", sans-serif; font-weight: bold;}
.header .topslider .top-contacts{text-align: center;}
.footer-contacts a{color: #423830; text-decoration: none;}

.one_photo {text-align: center; padding: 10px 0;}
.one_photo img {width: 100% !important; max-width: 850px; margin: 0 auto;}
.two_photo {padding: 10px 0; display: flex; justify-content: space-between;}
.two_photo img{width: 100% !important; max-width: 850px; margin: 0 auto;border: none;height: 100%}
.two_photo a {width: 49%;border: 3px solid #fff;} 

.footer {margin: -285px auto 0; height: 285px;}
.footer .footer-inner .footer-bottom{height: 65px;}
.footer .footer-inner .footmenu{display: block;}
.bottom_adres{display: block; color: #fff; font-size: 13px; margin-top: 8px; padding-left: 6px;}
.footer:after{bottom: 71px;}
.footer .footer-inner .footmenu ul{
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;  
  justify-content: space-between; 
}
.footer .footer-inner .footmenu ul li {
    border: none !important;
}

@media (max-width: 1300px) {
  .header .topslider{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header .topslider .slider_1, .header .topslider .slider_2, .header .topslider .slider_3, .header .topslider .slider_4{
    position: relative;
    width: 120px;
    height: 120px;
    top: auto;
    left: auto;
    right: auto;
  }
  .header .topslider .top-contacts{position: static;}
  .header .topslider .logo{position: static;}
  .logo_wraper{text-align: center;}
  .footer .footer-inner{position: static;}
  .header .topmenu > ul > li > a{padding: 5px 7px;} 
}
@media (max-width: 1150px) {
  .header .topmenu > ul > li > a{
    display: flex;
    min-height: 50px;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .footer .footer-inner .footmenu ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer .footer-inner .footmenu ul li{border: none !important;}
  .footer .footer-inner .footmenu ul li a{font-size: 13px;}
  .right-sidebar{display: none;}
  .contact_page .right-sidebar{display: block;}
  .contact_page .left-sidebar{display: none;}
  .three-col.contact_page  main.content{
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    align-items: center;
  }
  .left-sidebar{margin-top: 10px;}
  .footer .footer-inner .foot-logo{margin-bottom: 16px;}
  .bottom_adres {color: #584942; text-align: center;}
  .footer .footer-inner .footer-bottom{flex-wrap: wrap; padding-top: 20px;}
  .footer .footer-inner .footmenu{width: 75%; margin-bottom: 2px; padding-top: 0;}
  .footer .footer-inner .footer-bottom{position: static;}
  .header .topslider .slider_2, .header .topslider .slider_3{display: none;}
  .footer .footer-inner .footmenu{width: 100%;} 
  .left-sidebar{display: none;}
  main.content .text-boxs{margin: 0;}
  .footer {
    background: url(../img/bottom-bg.jpg) center bottom no-repeat;
    border-top: 2px solid #685638;
  }
  .footer .footer-inner .footmenu ul li a{color: #000;}
  .footer{height: 320px; margin: -260px auto 0;}
  .footer:after{display: none;}
  .footer .footer-inner .footer-contacts{width: 100%;}
  .footer .footer-contacts li{float: none;}
  .footer .footer-inner .footer-contacts ul{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer .footer-inner{position: static;}
  .ya-metrika{position: absolute; right: 6px; bottom: 0;}
  .header .topmenu > ul > li > a {
    background: rgba(255, 255, 255, 0.95);
  }
  .header .topmenu > ul > li:first-child a {
    border-radius: 10px 10px 0 0px;
  }
  .header .topmenu > ul > li:last-child a {
    border-radius: 0 0 10px 10px;
  }
  .header .topmenu{position: static; display: none; padding-top: 15px;}
  .header .topmenu > ul{
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
  }
  .header .topmenu{height: auto;}
  .header .topmenu > ul > li > a{padding-left: 36px;}
  .header .topmenu > ul > li:hover > .submenu{display: none;}
  .header .topmenu .submenu{width: 100%; position: static; padding-top: 0;}
  .header .topmenu .submenu li a{padding: 5px 12px 5px 38px;} 
  .mob_button_wrap > span{display: block;}
  .mob_button_wrap{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
  }
  .button_sub{display: block;}

  .table-responsive, .form-responsive {
    overflow-x: auto;
    width: 100%;
}
  .table-responsive .form-responsive, .form-responsive  .table-responsive{width: auto; overflow-x: auto;}

  .slider .slick-arrow {
    width: 40px;
  }
  .article-slider-item .title {
    font-size: 1.5rem;
    line-height: 30px;
  }
}
@media (max-width: 768px) {
  main.content .text-boxs p > img{float: none !important; margin: 15px auto !important; display: block; }
  .related-articles a{height: auto; padding-bottom: 10px; width: 100%;}
  .header{padding: 20px 15px 0 15px;}
  .calc-form{background: #DAC59F; border: 3px solid #fff;}
} 
@media (max-width: 540px) {
  .header .topslider .slider_1, .header .topslider .slider_2, .header .topslider .slider_3, .header .topslider .slider_4{display: none;}
  .header .topslider{justify-content: center;}
  .header .topslider .logo{width: 180px; height: 180px; background: url(../img/logo.png); -webkit-background-size: 180px; background-size: 180px; background-repeat: no-repeat;}
  .header{padding: 20px 0 0 0; height: 330px;}
  .logo_wraper{margin-top: 40px;}
}
@media (max-width: 460px) {
  .footer .footer-inner .footer-contacts ul{
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    align-items: center;
  }
  .footer .footer-contacts li{height: 24px;}
  .footer{height: 350px;}
  .bottom_adres{font-size: 12px;}
}
@media (max-width: 450px) {
  
  .footer .footer-inner .footmenu{margin-bottom: 10px;}
  .footer .footer-inner .footer-contacts ul{
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    align-items: center;
  }
  .articles-item .articles-img {display: block; margin: 10px 0; text-align: center; float: none;}
  .articles-item .articles-title{margin-bottom: 10px;}
  .articles-item .articles-title{display: block; margin-bottom: 6px;}
}

