/*SETTINGS*/
body {
  min-width: 320px;
}
.menu_media {
  position: fixed;
  background: #fff;
  top: 0;
  right: 0;
  padding: 10px;
  font-size: 15px;
  border-radius: 0;
  color: #fff;
  display: block;
  text-align: center;
  border: 0;
  z-index: 9;
  background-color: #383838;
  background: rgba(56, 56, 56, 0.56);
  display: none;
}
@media (max-height: 860px) {
  #header {
    padding-bottom: 50px;
  }
  .oval_top {
    bottom: -185px;
  }
}
@media (max-height: 500px) {
  .top_block {
    padding: 28px 20px !important;
  }
  .oval_top {
    bottom: -185px;
  }
  #header {
    padding-bottom: 10px !important;
  }
}
@media (max-width: 1270px) {
  .owl-carousel.offers_block {
    width: 85%;
  }
}
@media (max-width: 1170px) {
  .buttons_block .wrap_text .title_button {
    font-size: 2em;
    width: 90%;
  }
}
@media (max-width: 1160px) {
  /*.logo {*/
  /*	width: 23%;*/
  /*}*/
  /*.right_line {*/
  /*	width: 76%*/
  /*}*/
  /*.top_line {*/
  /*	justify-content: space-between;*/
  /*}*/
}
@media (max-width: 1140px) {
  .item_comfort {
    font-size: 12px;
  }
}
@media (max-width: 1100px) {
  .item_footer.infocenter {
    width: 31%;
  }
}
@media (max-width: 1070px) {
  #header {
    padding-bottom: 50px;
  }
  .title_top {
    font-size: 4em;
    line-height: 1.3em;
  }
  .text_top {
    font-size: 1.5em;
  }
  .top_block {
    padding: 54px 20px;
  }
}
@media (max-width: 1035px) {
  .top_line {
    justify-content: center;
    flex-wrap: wrap;
  }
  .logo {
    margin-bottom: 20px;
  }
  .right_line {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .logo {
    width: 100%;
    text-align: center;
  }
  .oval_top {
    bottom: -185px;
  }
  .btn_cert {
    margin: 0;
  }
  .btn_head {
    margin: 10px;
  }
}
@media (max-width: 1000px) {
  .item_comfort .name_comfort {
    display: none;
  }
}
@media (max-width: 950px) {
  #menu_top > li {
    font-size: 13px !important;
  }
  .reviews_block:before, .reviews_block:after {
    display: none;
  }
}
@media (max-width: 860px) {
  .image_header_back {
    background-size: cover !important;
  }
  .inner_page #wrapper_header {
    height: 555px !important;
  }
  .oval_top {
    display: none;
  }
  .buttons_block .wrap_text .title_button {
    font-size: 1.6em;
    padding: 20px 4px;
  }
  .buttons_block .button {
    padding: 11px 39px;
  }
  #footer {
    flex-wrap: wrap;
  }
  .item_footer.infocenter {
    width: 100%;
    margin-top: 20px;
  }
  .item_footer.contacts {
    width: 40%;
  }
  .item_footer.reviews {
    width: 58%;
  }
}
@media (max-width: 795px) {
  .right_line {
    flex-wrap: wrap;
    justify-content: center;
  }
  .item.phone {
    width: 100%;
    margin: 0;
    text-align: center;
    align-items: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
  }
  .item.phone .item_phone {
    padding: 0 15px;
  }
  .page_title {
    font-size: 4em;
  }
}
@media (max-width: 780px) {
  #menu_top {
    display: none;
  }
  .menu_media {
    display: block;
  }
}
@media (max-width: 700px) {
  .buttons_block {
    flex-wrap: wrap;
  }
  .buttons_block > div {
    width: 100%;
  }
  .owl-carousel.offers_block {
    width: 75%;
  }
}
@media (max-width: 640px) {
  .title_top {
    font-size: 2em;
    line-height: 1em;
    margin-bottom: 40px;
  }
  .text_top {
    font-size: 1em;
  }
}
@media (max-width: 600px) {
  .top_line .btn {
    width: 100%;
    font-size: 13px;
    border: 1px solid #fff;
    padding: 12px 10px;
    margin: 10px;
  }
  .item.phone {
    flex-wrap: wrap;
  }
  .item_phone {
    width: 100%;
    padding: 0;
  }
  .owl-carousel.offers_block {
    width: 65%;
  }
  .top_line .btn, .top_block, .buttons_block .wrap_text .title_button {
    background: rgba(0, 0, 0, 0.59);
  }
  .comfort_wrap {
    flex-wrap: wrap;
  }
  .comfort_wrap > div {
    width: 100% !important;
  }
  .comfort_wrap .item_comfort {
    text-align: center;
  }
  .btn_angel:after {
    display: none;
  }
  .news-item .right {
    padding-left: 0 !important;
  }
  .wrapper_spec .offers_block {
    flex-wrap: wrap;
  }
  .wrapper_spec .offer_item {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .wrapper_offers .offers_block .owl-controls .owl-nav div {
    background-size: contain !important;
    height: 30px;
    width: 20px;
  }
  .owl-carousel.offers_block {
    width: 90%;
  }
  .wrapper_offers .offers_block .owl-controls .owl-nav .owl-prev {
    left: -20px;
  }
  .wrapper_offers .offers_block .owl-controls .owl-nav .owl-next {
    right: -27px;
  }
}
@media (max-width: 440px) {
  #footer .item_footer {
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }
  .page_title {
    font-size: 2em;
    height: 130px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }
  .title_block {
    font-size: 21px;
  }
  .item_photo {
    width: 100% !important;
    pointer-events: none;
  }
  .mm-menu.mm-theme-black {
    background: #000;
  }
}
@media (max-height: 420px) {
  .top_block {
    display: none !important;
  }
}
@media (max-width: 370px) {
  #header {
    padding-bottom: 10px !important;
  }
  .top_line .btn {
    /*width: 48%;*/
    font-size: 13px;
    border: 1px solid #fff;
    padding: 12px 10px;
    margin: 5px 0;
  }
  .logo {
    width: 62%;
  }
  .change_album_wrapper .btn span {
    min-width: 220px !important;
  }
  .fancybox-skin {
    padding: 10px !important;
  }
  .modal_pop .someform input[type="text"], .modal_pop .someform input[type="password"], .modal_pop .someform textarea, .modal_pop .someform select {
    min-width: 0 !important;
  }
  .g-recaptcha > div {
    width: auto !important;
  }
  .g-recaptcha iframe {
    width: 219px !important;
    border: 1px solid #eae9e9;
  }
  .inner_page #wrapper_header {
    height: 385px;
  }
}
/*BLOCKS*/
@media (max-width: 600px) {
  .inner_content_page {
    padding: 15px 10px;
  }
  .offer_item, .section_item {
    width: 49%;
    margin-bottom: 12px;
  }
  .section_item .name, .offer_item .name {
    font-size: 14px;
  }
  .change_album_wrapper {
    margin-top: -20px;
    margin-bottom: 20px;
  }
  .item_photo {
    width: 49%;
    height: 234px;
    margin-bottom: 11px;
  }
  .page_sidebar {
    flex-wrap: wrap;
  }
  .page_sidebar > div {
    width: 100% !important;
  }
}
/*SECTIONS*/
@media (max-width: 1875px) {
  .services_list .item {
    background-color: #f8f8f8;
  }
  .sub_item.anons {
    padding-top: 18px;
  }
}
@media (max-width: 825px) {
  .sub_item.anons {
    width: 100% !important;
    padding: 15px !important;
  }
  .sub_item.img {
    width: 100% !important;
  }
  .services_list .item {
    flex-wrap: wrap !important;
  }
  .itpanda_detail .detail_img.flex {
    margin-bottom: 0;
  }
  .anons_inner {
    width: 100% !important;
  }
  .services_list .item:nth-child(2n+2) .sub_item.anons {
    order: initial !important;
  }
  .sub_item.img {
    margin-bottom: 20px !important;
  }
  .bottom_text {
    margin-top: 40px !important;
  }
}
@media (max-width: 600px) {
  .personals_massage {
    grid-template-columns: 1fr;
  }
  .section_detail .img_anons {
    width: 100%;
    margin-bottom: 20px;
  }
  .section_detail .text_anons {
    width: 100%;
    padding-bottom: 0 !important;
  }
  .itpanda_detail .detail_img.flex {
    flex-wrap: wrap;
  }
  .item_view2 {
    flex-wrap: wrap;
  }
  .item_view2 .left {
    order: -1;
  }
  .item_view2 .left, .item_view2 .right {
    width: 100%;
  }
  .item_view2 .wrap_active_img {
    text-align: center;
    margin-top: 15px;
  }
  .news-item .left, .news-item .right {
    width: 100%;
  }
  .news-item {
    flex-wrap: wrap;
  }
  .news-item .left img {
    width: 100% !important;
  }
  .news-item .left {
    margin-bottom: 20px;
  }
}
@media (max-width: 500px) {
  .itpanda_detail .img_anons {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .detail_img .text_anons {
    width: 100% !important;
  }
}
@media (max-width: 340px) {
  .down-arrow {
    bottom: -13px;
  }
}
/*PHOTOGAL*/
@media (max-width: 980px) {
  .photo-main {
    min-width: 0 !important;
  }
}