/*!
Theme Name: fiveTerreflats
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fiveterreflats
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

fiveTerreflats is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('//fonts.googleapis.com/css?family=Open+Sans|Roboto');
@import url('//fonts.googleapis.com/css?family=Montserrat');
@font-face {
  font-family: 'Roboto', sans-serif;
  font-family: 'Open Sans', sans-serif;
  font-family: 'Montserrat', sans-serif;
}
@font-face {
  font-family: 'Castellar';
  src: url('fonts/CASTELAR.ttf');
}
:focus {
    outline: -webkit-focus-ring-color auto 0px!important;
}
body{
  font-family: 'Roboto', sans-serif;
  margin: 0;
}
h1, h2, h3, h4, h5, h6, span{
  cursor: default;
}
.wpcf7-validation-errors, .wpcf7-mail-sent-ok{
  display: none!important;
}

.modal {
  display: none; 
  position: fixed; 
  z-index: 5; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 40px;
  border: 4px solid #B38D58;
  width: 340px;
}
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  margin-top:-20px;
  margin-right:-20px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}



.mobile_menu{
  position: absolute;
  top:30px;
  right: 50px;
  display: none;
}
.mobile_menu span{
  width: 35px;
  height: 5px;
  background-color: #B38D58;
  margin: 6px 0;
  display: block;
}
.header_container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1620px;
  margin: 0 auto;
  padding: 20px 20px 0;
  position: relative;
}
.logo_container img{
  width: 11%;
}
.logo_container img{
  width: 100%;
  height: auto;
}
.header_info{
  display: flex;
  justify-content: space-between;
  width: 77%;
  align-items: center;
  margin-bottom: 20px;
}
.header_info a{
  font-size: 18px;
  color: #333333;
  text-decoration: none;
  position: relative;
  transition: .5s;
}
.header_info .wpml-ls-item a{
  padding-right: 20px;
  position: relative;
}

.header_info .menu-item-has-children a{
  padding-right: 20px;
  position: relative;
}
.header_info .menu-item-has-children a::before{
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 15px;
  content: '▼';
  width: 7px;
  height:7px;
  z-index: -1;
}
.header_info .menu-item-has-children .sub-menu{
	display:none;
	position: absolute;
    padding: 5px;
    background-color: #ffffff;
    border: 2px solid #33333354;
    border-radius: 2px;
    width: fit-content;
    width: -moz-fit-content;
    z-index: 3;
}
.header_info .menu-item-has-children .sub-menu a{
	margin:10px 0;
	display:block;
}
.header_info .menu-item-has-children .sub-menu:hover{
	display:block;
}
.header_info .menu-item-has-children a:hover + .sub-menu{
	display:block;
}
.header_info .wpml-ls-item a:hover{
  color: #333333;
}
.header_info .wpml-ls-item a:hover::after{
  display: none;
}
.header_info .wpml-ls-item a + .sub-menu{
  display: none;
  position: absolute;
  padding: 5px;
  background-color: #ffffff;
  border: 2px solid #33333354;
  border-radius: 2px;
  width: fit-content;
  width: -moz-fit-content;
  z-index: 3;
}
#primary-menu .sub-menu li{
  margin: 0;
  background-color: #ffffff;
}
.header_info .wpml-ls-item a + .sub-menu a::before{
  display: none;
}
.header_info .wpml-ls-item a:hover + .sub-menu, .header_info .wpml-ls-item a + .sub-menu:hover{
  display: block;
}
.header_info a:hover{
  color: #B38D58;
}
.header_info a::after{
  transition: .5s;
  position: absolute;
  content: '';
  bottom: -5px;
  left: 0;
  width: 52%;
  height: 3px;
  background-color: #B38D5800;
}
.header_info a:hover::after{
  background-color: #B38D58;
}

.header_info .wpml-ls-item a::before{
  position: absolute;
  top: 2px;
  right: 10px;
  font-size: 15px;
  content: '▼';
  width: 7px;
  height:7px;
  z-index: -1;
}
.header_info .contact_header a.phone_header{
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #DEB47C;
  border: 3px solid #DEB47C;
  box-sizing: border-box;
  padding: 11px 30px;
}
.header_info .contact_header a{
  transition: .5s;
}
.header_info .contact_header a:hover{
  background-color: #DEB47C;
  color:#fff;
}
.header_info .contact_header a:hover::after{
  display: none;
}
.header_info .contact_header{
  display: flex;
  align-items: center;
}
.header_info .contact_header a.social_header{
  color: #DEB47C;
  border: 2px solid #DEB47C;
  box-sizing: border-box;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 26px;
  display: flex;
  width: 41px;
  height: 41px;
  justify-content: center;
  align-items: center;
}
.header_info .contact_header a.social_header:hover{
  color:#fff;
}
.top_bunner{
  position: relative;
}
.top_bunner img{
  width: 100%;
}
.top_bunner .mack_img{
  background:  linear-gradient(to top, rgba(179, 141, 88, 0.9) 11.06%, rgba(179, 141, 88, 0.9) 11.06%, rgba(179, 141, 88, 0) 71.27%);
  position: absolute;
  height: 100%;
  width: 100%;
  top:0;
  left: 0;
}
.absolute_block_top_bunner{
  position: absolute;
  width: 940px;
  height: 220px;
  top: 33%;
  text-align: center;
  left: calc(50% - 470px);
}
.absolute_block_top_bunner .top_bunner_text{
  font-family: 'Castellar';
  font-size: 64px;
  color: #FFFFFF;
  cursor: default;
  background: linear-gradient(81.19deg, #E4C7B1 -26.36%, rgba(228, 199, 177, 0.270718) 13.29%, rgba(228, 199, 177, 0) 73.32%);
}
.absolute_block_top_bunner .top_bunner_btn{
  font-family: 'Roboto';
  font-weight: 900;
  line-height: normal;
  font-size: 24px;
  color: #fff;
  background: #B38D58;
  padding: 15px 85px;
  text-decoration: none;
  margin-top: 120px;
  display: block;
  width: fit-content;
  width: -moz-fit-content;
  margin-left: auto;
  margin-right: auto;
  transition: .5s;
	cursor:pointer
}
.absolute_block_top_bunner .top_bunner_btn:hover{
  background-color: #fff;
  color: #B38D58;
}
.arrow_down_bunner{
  position: absolute;
  bottom: 45px;
  left: calc(50% - 45px);
  height: 50px;
  width: 90px;
}
.arrow_down_bunner::after{
  width: 50px;
  height: 3px;
  background-color: #ffffff55;
  transform: rotate(35deg);
  position: absolute;
  content: '';
  left: 0;
  top:20px;
}
.arrow_down_bunner::before{
  width: 50px;
  height: 3px;
  background-color: #ffffff55;
  transform: rotate(-35deg);
  position: absolute;
  content: '';
  right: 0;
  top:20px;
}
.scroll_down{
  position: absolute;
  right: -180px;
  top: 46%;
  padding-right: 300px;
  transform: rotate(-90deg);
  font-family: Georgia;
  font-size: 16px;
  letter-spacing: 4px;
  color: #FFFFFF;
}
.scroll_down::after{
  position: absolute;
  top: 5px;
  right: 0;
  height: 10px;
  width: 270px;
  background-color: #fff;
  content: '';
}
.description_block{
  background: #F5F5F5;
  padding: 65px 20px 150px;
}
.description_block h1{
  font-family: 'Castellar';
  line-height: normal;
  font-size: 36px;
  color: #B38D58;
  position: relative;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
}
.description_block h1::after{
  position: absolute;
  content: '';
  bottom: -10px;
  left: 0;
  border-bottom: 5px solid #B38D58;
  width: 38%;
  height: 5px;
}
.desc_flex_block{
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin: 120px auto 30px;
}
.desc_info{
  width: 42%;
  box-sizing: border-box;
  padding-left: 45px;
}
.desc_img{
  width: 44%;
  position: relative;
  height: fit-content;
  height: -moz-fit-content;
}
.desc_content{
  position: relative;
  padding-bottom: 30px;
}
.desc_content::after{
  position: absolute;
  width: 19px;
  height: 19px;
  top: 2px;
  left: -45px;
  background-color: #B38D58;
  content: '';
}
.desc_content::before{
  position: absolute;
  width: 2px;
  height: calc(100% - 25px);
  top: 25px;
  left: -36px;
  background-color: #B38D58;
  content: '';
}
.desc_content:last-child::before{
  height: 0;
}
.desc_content h3{
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 24px;
  color: #B38D58;
  margin: 5px 0 0;
}
.desc_content p{
  font-family: 'Roboto';
  font-weight: 500;
  font-size: 18px;
  color: #444444;
  margin: 5px 0;
}
.sleeps_room_type{
  display: flex;
  margin: 10px 0;
}
.sleeps_room_type div:nth-child(1){
  margin-right: 30px;
}
.span_p_desc {
  display: flex;
}
.span_p_desc span{
  margin-right: 10px;
}
.include_room_1{
	padding-left: 40px;
	position: relative;
}
.tv::after{
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	background-image: url('img/computer-screen.png');
	background-size: cover;
	width: 23px;
	height: 20px;
}
.pet::after{
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	background-image: url('img/pawprint.png');
	background-size: cover;
	width: 23px;
	height: 23px;
}
.jacuzzy::after{
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	background-image: url('img/icon.png');
	background-size: cover;
	width: 23px;
	height: 20px;
}
.family::after{
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	background-image: url('img/family-room.png');
	background-size: cover;
	width: 23px;
	height: 23px;
}
#primary-menu{
	margin: 0;
	padding: 0;
	display: flex;
}
#primary-menu li{
	list-style: none;
	margin-right: 38px;
}
.desc_img img{
  width: 100%;
  height: auto;
  z-index: 1;
  position: relative;
  box-shadow: -4px 4px 18px rgba(0, 0, 0, 0.25);
}
.desc_img span{
  position: absolute;
  right: -20px;
  top: -20px;
  width: calc(100% - 20px);
  height:  calc(100% - 20px);
  background-color:  #DABA8C;
}
.desc_info span{
	display: inline-block;
}
.text_num_sleep{
	font-family: 'Roboto';
	font-weight: 500;
	font-size: 20px;
	float: right;
	display: block;
	width: fit-content;
	color: #B38D58;
	margin-right: 10px;
}
.see_more_desc{
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 24px;
  color: #FFFFFF;
  padding: 17px 80px;
  background: #B38D58;
  width: fit-content;
  width: -moz-fit-content;
  margin: 0 auto;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
  transition: .5s;
  border: 3px solid #B38D58;
}
.see_more_desc:hover{
  background-color: #fff;
  color: #B38D58;
}
.apartament_photo_block h1{
  margin: 70px auto;
  width: fit-content;
  width: -moz-fit-content;
  font-family: 'Castellar';
  font-size: 36px;
  color: #B38D58;
  position: relative;
}
.apartament_photo_block h1::after{
  position: absolute;
  content: '';
  bottom: -10px;
  left: 0;
  border-bottom: 5px solid #B38D58;
  width: 38%;
  height: 5px;
}
.apartament_photos{
  max-width: 1220px;
  margin: 0 auto;
}
.apartament_photos_slide{
  position: relative;
  padding: 0 30px;
  box-sizing: border-box;
}
.apartament_photos_slide .first_img{
  width: 550px;
  height: 690px;
  overflow: hidden;
  float: left;
  margin-right: 25px;
  z-index: 2;
}
.apartament_photos_slide .first_img img{
  height: 100%;
  width: auto;
}
.apartament_photos_slide .second_img{
  width: 570px;
  /* height: 355px; */
  overflow: hidden;
  margin-bottom: 35px;
  z-index: 2;
}
.apartament_photos_slide .second_img img,
.apartament_photos_slide .third_img img{
  width: 100%;
  height: auto;
}
.apartament_photos_slide .third_img{
  width: 470px;
  /* height: 350px; */
  overflow: hidden;
  z-index: 2;
}
.apartament_photos .apartament_photos_slide div{
  position: relative;
  transition: .5s;
}
.apartament_photos .apartament_photos_slide div::after{
  position: absolute;
  transition: .5s;
  height: 100%;
  width: 100%;
  top:0;
  left: 0;
  content: '';
  background-color:  rgb(58, 58, 58);
  opacity: 0;
}
.apartament_photos .apartament_photos_slide div:hover::after{
  opacity: 0.4;
}
.see_the_photo{
  position: absolute;
  top: 50%;
  left: 50%;
  outline-color: #ffffff00;
  text-decoration: none;
  padding: 10px 55px;
  background-color: #fff;
  font-family: 'Roboto';
  font-weight: 900;
  font-size: 24px;
  color: #B38D58;
  margin-top: -10px;
  margin-left: -120px;
  opacity: 0;
  z-index: 1;
  transition: .5s;
}
.desc_img:hover .see_more_photo{
	opacity:1;
}
.see_more_photo{
	position: absolute;
    top: 50%;
    left: 50%;
    outline-color: #ffffff00;
    text-decoration: none;
    padding: 10px 55px;
    background-color: #fff;
    font-family: 'Roboto';
    font-weight: 900;
    font-size: 24px;
    color: #B38D58;
    margin-top: -10px;
    margin-left: -120px;
    opacity: 0;
    z-index: 1;
    transition: .5s;
	cursor:pointer;
}
.see_more_photo:hover{
	color: #fff;
	background-color:#B38D58;
}
.see_the_photo:hover{
  color:#fff;
  background-color: #B38D58;
}
.apartament_photos .apartament_photos_slide div:hover .see_the_photo{
  opacity: 1;
}
.apartament_photos_slide::after{
  max-width: 750px;
  width: 100%;
  z-index: 1;
  height: 510px;
  position: absolute;
  bottom: 100px;
  right: 0px;
  border: 8px solid #B38D58;
  box-sizing: border-box;
  content: '';
}
.apartament_photos .slick-arrow, .news_carousel .slick-arrow{
  border-radius: 50%;
  border: 2px solid #B38D58;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  position: absolute;
  top:50%;
  margin-top: -30px;
  color:#ffffff00;
  cursor: pointer;
  background-color: #ffffff00;
  transition: .5s;
}
.apartament_photos .slick-arrow:hover, .news_carousel .slick-arrow:hover{
  background-color: #B38D58;
}

.apartament_photos .slick-arrow::after, .news_carousel .slick-arrow::after{
  position: absolute;
  content: '';
  font-size: 30px;
  border-top: 2px solid #B38D58;
  border-left: 2px solid #B38D58;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
  top: calc(50% - 10px);
  left: calc(50% - 7px);
  transition: .5s;
}
.apartament_photos .slick-arrow:hover::after, .news_carousel .slick-arrow:hover::after{
  border-color: #fff;
}
.apartament_photos .slick-prev.slick-arrow, .news_carousel .slick-prev.slick-arrow{
  left: -100px;
}
.apartament_photos .slick-next.slick-arrow, .news_carousel .slick-next.slick-arrow{
  right: -100px;
}
.apartament_photos .slick-next.slick-arrow::after, .news_carousel .slick-next.slick-arrow::after{
  transform: rotate(135deg);
  left: calc(50% - 15px);
}
button{
  outline-color: #ffffff00;
  background-color: #ffffff;
}
.block_news{
  background: #F5F5F5;
  padding: 28px 50px 70px;
  position: relative;
  /* margin-top: 105px; */
}
.online_registration_img{
  margin-top: 105px;
}
.block_news h1{
  margin: 70px auto;
  width: fit-content;
  width: -moz-fit-content;
  font-family: 'Castellar';
  letter-spacing: 3px;
  font-size: 36px;
  color: #B38D58;
  position: relative;
}
.block_news h1::after{
  position: absolute;
  content: '';
  bottom: -10px;
  left: 0;
  border-bottom: 5px solid #B38D58;
  width: 38%;
  height: 5px;
}
.news_carousel{
  max-width: 1200px;
  margin: 90px auto;
}
.news_carousel .slick-slide{
  height: 390px;
  margin: 0 15px;
  overflow: hidden;
}
.news_carousel .slick-slide > div{
  height: 100%
}
.news_single_home {
  height: 100%;
  position: relative;
  transition: .5s;
}
.news_single_home img{
  height: 100%;
  width: auto;
}
.news_single_home .info_news{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 23px 35px;
  background: rgba(11, 11, 11, 0.65);
  color: #fff;
  max-height: 220px;
  transition: max-height .5s;
  transition-delay: -.3s;
  box-sizing: border-box;
  width: 100%;
}
.news_single_home:hover .info_news{
  max-height: 100%;
  height: 100%;
  transition-delay: 0s;
}

.news_single_home .info_news h3{
  font-family: 'Roboto';
  font-weight: 400;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
  max-height: 60px;
  overflow: hidden;
}
.news_single_home:hover .info_news h3{
  height: 60px;
  margin-top: 45px;
}
.news_single_home .info_news p{
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: .5s;
  font-size: 18px;
  color: #DBDBDB;
  margin: 0;
  overflow: hidden;
}
.news_single_home:hover .info_news p{
  opacity: 1;
  height: 65px;
  visibility: visible;
  margin-top: 18px;
  margin-bottom: 25px;
}
.date_reviews{
  display: flex;
  justify-content: space-between;
}
.date_reviews span{
  font-family: 'Montserrat';
  font-size: 20px;
  opacity: 0.8;
}
.date_reviews span.reviews{
  padding-left: 30px;
  position: relative;
  margin-right: 18px;
}
.date_reviews span.reviews::after{
  position: absolute;
  left: 0;
  top: -3px;
  content: '';
  opacity: 1;
  background-image: url('img/visible.svg');
  width: 25px;
  height: 20px;
}
.news_single_home .see_more_news{
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 24px;
  color: #FFFFFF;
  text-decoration: none;
  box-sizing: border-box;
  padding: 15px 120px 15px 42px;
  border: 2px solid #FFFFFF;
  outline-color: #ffffff00;
  position: relative;
  opacity: 0;
  display: none;
  transition: 1s;
}
.news_single_home:hover .see_more_news{
  opacity: 1;
  display: block;
  margin-top: 40px;
}
.news_single_home .see_more_news:hover{
  padding-right: 42px;
  padding-left: 42px;
  text-align: center;
  border-color: #B38D58;
  background-color: #B38D58;
  transition: 1s;
}
.news_single_home .see_more_news:hover::before,
.news_single_home .see_more_news:hover::after{
  visibility: hidden;
  opacity: 0;
  width: 0;
  height: 0;
  transition: .5s;
}
.news_single_home .see_more_news:hover::before{
  top: 30px;
}
.news_single_home .see_more_news::after{
  position: absolute;
  right: 35px;
  top: 30px;
  width: 85px;
  height: 2px;
  background-color: #fff;
  content: '';
  transition: .5s;

}
.news_single_home .see_more_news::before{
  position: absolute;
  right: 35px;
  top: 23px;
  width: 15px;
  height: 15px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  content: '';
  transition: .5s;

}
.absolute_online_registration p{
  margin: 0;
}
.absolute_online_registration{
  position: absolute;
  top:50%;
  left: 50%;
  width: 670px;
/*   height: 635px; */
  margin-top: -317px;
  margin-left: -355px;
  background-color: #fff;
  box-sizing: border-box;
  padding: 30px 95px;
  z-index: 2;
}
.absolute_online_registration h1{
  font-family: 'Castellar';
  font-size: 36px;
  color: #B38D58;
  margin: 0px auto 20px;
  width: fit-content;
  width: -moz-fit-content;
  position: relative;
}
.absolute_online_registration h1::after{
  position: absolute;
  content: '';
  bottom: -5px;
  left: 0;
  border-bottom: 5px solid #B38D58;
  width: 38%;
  height: 5px;
}
.absolute_online_registration label{
  width: 100%;
  font-family: 'Roboto';
  font-weight: 500;
  font-size: 18px;
  color: #000000;
}
.absolute_online_registration input{
  background: #FFFFFF;
  border: 3px solid #919191;
  box-sizing: border-box;
  width: 100%;
  height: 60px;
  font-size: 18px;
  color: #616161;
  outline-color: #ffffff00;
  margin: 6px 0;
}
.absolute_online_registration input:-webkit-autofill{
  border: 3px solid #919191;
  -webkit-text-fill-color: #616161;
  -webkit-box-shadow: 0 0 0px 0px #ffffff00 ;
  transition: background-color 5000s ease-in-out 0s;
  /* transition: background-image 5000s ease-in-out 0s; */
}
.absolute_online_registration .calendar{
  padding-left: 50px;
  position: relative;
  background-image: url('img/calendar.png');
  background-repeat: no-repeat;
  background-position: 10px 10px;
  margin: 6px 0 20px;
}
.absolute_online_registration input::placeholder{
  font-size: 18px;
  color: #616161;
}
.adult_children_bl{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.adult_children_bl label:first-child{
  width: 100%;
}
.adult_children_bl label:first-child::after{
  display: none;
}
.adult_children_bl .apartment{
  width: 70%;
  margin-right: 5%
}

.adult_children_bl .guest{
  width: 25%;
}
.adult_children_bl select{
  width: 100%;
  background: #FFFFFF00;
  border: 3px solid #919191;
  box-sizing: border-box;
  height: 60px;
  outline-color: #ffffff00;
  border-radius: 0;
  font-size: 18px;
  color: #616161;
  -moz-appearance:none;
  -webkit-appearance:none;
  appearance:none;
  padding: 0 10px;
  cursor: pointer;
}

.adult_children_bl label{
  position: relative;
}
.adult_children_bl label::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: '';
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  border-bottom: 1px solid #616161;
  border-right: 1px solid #616161;
  z-index: -1;
}
.absolute_online_registration input[type="email"]{
  padding-left: 50px;
  position: relative;
  background-image: url('img/message.png');
  background-repeat: no-repeat;
  background-position: 10px 10px;
}
.absolute_online_registration .wpcf7-not-valid{
  border-color: #f00;
}
.wpcf7-form-control-wrap{
  position: relative;
}
span.wpcf7-not-valid-tip{
  position: absolute;
  top: -40px;
  right: 0;
}
.absolute_online_registration input[type="submit"]{
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  font-size: 24px;
  color: #FFFFFF;
  background: #B38D58;
  margin-top: 30px;
  border-color: #B38D58;
  cursor: pointer;
  transition: .5s;
  box-sizing: border-box;
  border: 3px solid #B38D58;
}
.absolute_online_registration input[type="submit"]:hover{
  color: #B38D58;
  background-color: #fff;
}
#map{
  height: 600px;
  width: 100%;
}
#map iframe{
  height: 100%;
  width: 100%;
}
.absolute_online_registration::after{
  width: 30px;
  height: 100%;
  left: -30px;
  bottom: -30px;
  border-left: 8px solid #B38D58;
  border-top: 8px solid #B38D58;
  box-sizing: border-box;
  content: '';
  position: absolute;
  z-index: -1;
}
.absolute_online_registration::before{
  width: 100%;
  height: 30px;
  bottom: -30px;
  left: -30px;
  border-bottom: 8px solid #B38D58;
  border-right: 8px solid #B38D58;
  box-sizing: border-box;
  content: '';
  position: absolute;
  z-index: -1;
}
.bunner_margin{
  margin-top: 155px;
}
footer{
  text-align: center;
  background: #3F3321;
  padding: 25px;
}
footer p{
  font-family: 'Roboto';
  font-weight: 500;
  font-size: 24px;
  color: #FFFFFF;
  margin: 0;
  cursor: default;
}
	.apartament_photos_mobile{
		display:none!important;
	}
@media (max-width: 1499px) {

  .header_info .contact_header a.social_header{
    font-size: 20px;
    margin-right: 7px;
  }
  .header_info .contact_header a.phone_header{
    font-size: 16px;
    padding: 8px 20px;
  }
  .desc_flex_block{
    max-width: 1050px;
  }
  .desc_content h3{
    font-size: 22px;
  }
  .desc_content p{
    font-size: 16px;
  }
  .apartament_photos{
    max-width: 1000px;
  }
  .apartament_photos_slide .first_img{
    width: 450px;
    height: 560px;
  }
  .apartament_photos_slide .second_img {
    width: 440px;
    height: 255px;
  }
  .apartament_photos_slide .third_img {
    width: 370px;
    height: 250px;
  }
  .apartament_photos_slide::after {
    max-width: 550px;
    height: 400px;
    bottom: 50px;
  }
  .absolute_online_registration {
    width: 500px;
    height: 530px;
    margin-top: -265px;
    margin-left: -250px;
    padding: 20px 40px;
  }
  .absolute_online_registration h1 {
    font-size: 30px;
  }
  .block_news h1{
    font-size: 30px;
  }
  .absolute_online_registration input::placeholder{
    font-size: 16px;
  }
  .absolute_online_registration input{
    height: 50px;
    font-size: 16px;
  }
  .absolute_online_registration .calendar{
    background-position: 7px 6px;
  }
  .absolute_online_registration label{
    font-size: 16px;
  }
  .adult_children_bl select{
    height: 50px;
  }
  .news_carousel{
    max-width: 900px;
  }
  .news_carousel .slick-slide{
    height: 340px;
  }
  .news_single_home .info_news{
    padding: 20px 25px;
  }
  .news_single_home .info_news h3{
    font-size: 20px;
    height: 50px;
  }
  .news_single_home .info_news p{
    font-size: 16px;
  }
  .news_single_home:hover .info_news p{
    height: 58px;
  }
  .news_single_home:hover .info_news h3{
    margin-top: 20px;
    height: 50px;
  }
  .date_reviews span{
    font-size: 16px;
  }
  .news_single_home .see_more_news{
    font-size: 20px;
    padding: 10px 100px 10px 25px;
  }
  .news_single_home .see_more_news::after{
    width: 50px;
    top: 22px;
  }
  .news_single_home .see_more_news::before{
    top: 17px;
    width: 10px;
    height: 10px;
  }
  .news_single_home .see_more_news:hover::before{
    top: 22px;
  }
  footer p{
    font-size: 18px;
  }
  .absolute_block_top_bunner .top_bunner_text, .news_carousel .top_bunner_text{
    font-size: 50px;
  }
  .apartament_photos .slick-prev.slick-arrow, .news_carousel .slick-prev.slick-arrow{
    left: -70px;
  }
  .apartament_photos .slick-next.slick-arrow, .news_carousel .slick-next.slick-arrow{
    right: -70px;
  }
  /* .adult_children_bl label::after{
    top: 30px;
    left: 43%;
    width: 20px;
    height: 20px;
  } */
  .absolute_online_registration input[type="submit"]{
    margin-top: 15px;
  }
	#primary-menu li{
		margin-right: 30px;
	}
  .header_info a{
    font-size: 16px;
  }
}
@media (max-width: 1299px) {
  #primary-menu li{
    margin-right: 18px;
  }
  .header_info .contact_header a.phone_header {
    font-size: 14px;
    padding: 8px;
  }
}
@media (max-width: 1199px) {
	#primary-menu{
		display: block;
	}
	#primary-menu li{
		width: fit-content;
		margin: 20px auto;
	}
  .mobile_menu{
    display: block;
    z-index: 2;
  }
  .mobile_menu span{
    transition: .5s;
  }
  .mobile_menu.close span:nth-child(1){
    transform: rotate(45deg);
    top: 10px;
    right: 0;
    position: absolute;
  }
  .mobile_menu.close span:nth-child(2){
    opacity: 0;
  }
  .mobile_menu.close span:nth-child(3){
    transform: rotate(-45deg);
    top: 10px;
    right: 0;
    position: absolute;
  }
  .header_info{
    display: block;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    padding: 30px 0;
    left: 0;
    top: -500px;
    z-index: 1;
    transition: .5s;
  }
  .header_info.visible{
    top: 0;
  }
  .header_info > div{
    width: fit-content;
    width: -moz-fit-content;
    margin: 20px auto;;
  }
  .logo_container img {
    width: 130px;
  }
  .scroll_down {
    right: -100px;
    padding-right: 150px;
    font-size: 12px;
    letter-spacing: 3px;
  }
  .scroll_down::after {
    position: absolute;
    top: 3px;
    right: 0;
    height: 8px;
    width: 130px;
  }
  .absolute_block_top_bunner{
    width: 500px;
    left: calc(50% - 250px);
  }
  .absolute_block_top_bunner .top_bunner_text{
    font-size: 30px;
  }
  .absolute_block_top_bunner .top_bunner_btn {
    font-size: 20px;
    padding: 12px 55px;
    margin-top: 50px;
  }
  .desc_flex_block {
    max-width: 500px;
    display: block;
    margin: 50px auto;
  }
  .desc_info {
    width: 100%;
  }
  .desc_img {
    width: 100%;
  }
  .see_more_desc{
    font-size: 20px;
    padding: 12px 55px;
  }
  .description_block{
    padding: 65px 20px;
  }
  .apartament_photos_slide .first_img,
  .apartament_photos_slide .second_img,
  .apartament_photos_slide .third_img{
    width: 48%;
  }
  .apartament_photos_slide .second_img,
  .apartament_photos_slide .third_img{
  height: auto;
  }
  .apartament_photos_slide::after{
    display: none;
  }
  .apartament_photos_slide{
    padding: 0 60px;
  }
  .apartament_photos .slick-prev.slick-arrow, .news_carousel .slick-prev.slick-arrow{
    left: 0;
  }
  .apartament_photos .slick-next.slick-arrow, .news_carousel .slick-next.slick-arrow{
    right: 5px;
  }
  .apartament_photos .slick-arrow, .news_carousel .slick-arrow {
    width: 50px;
    height: 50px;
  }
  .apartament_photos .slick-arrow::after, .news_carousel .slick-arrow::after {
    width: 15px;
    height: 15px;
    top: calc(50% - 8px);
    left: calc(50% - 6px);
  }
  .apartament_photos .slick-next.slick-arrow::after, .news_carousel .slick-next.slick-arrow::after {
    left: calc(50% - 12px);
  }
  .bunner_margin {
    margin-top: 100px;
  }
  .news_carousel {
    padding: 0 60px;
  }
  .online_registration_img img, .online_registration_img .mack_img{
    display: none;
  }
  .online_registration_img{
    padding-bottom: 60px;
    position: relative;
  }
  .absolute_online_registration{
    position: relative;
    margin: 40px auto 0;
    top:0 ;
    left: 0;
    border: 8px solid #B38D58;
    box-sizing: border-box;
    height: 550px;
  }
  .absolute_online_registration::before {
    left: -38px;
    bottom: -38px;
  }
  .absolute_online_registration::after {
    bottom: -38px;
    left: -38px;
  }
  .see_the_photo{
    font-size: 16px;
    padding: 10px 25px;
    margin-top: -20px;
    margin-left: -74px;
  }
  .see_more_photo{
    font-size: 16px;
    padding: 10px 25px;
    margin-top: -20px;
    margin-left: -74px;
  }
  .arrow_down_bunner{
    bottom: 35px;
  }
  .absolute_online_registration input[type="email"]{
    background-position: 10px 5px;
  }
}
@media (max-width: 991px) {
  .apartament_photos_slide .first_img,
  .apartament_photos_slide .second_img,
  .apartament_photos_slide .third_img{
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .apartament_photos_slide .first_img img,
  .apartament_photos_slide .second_img img,
  .apartament_photos_slide .third_img img{
    width: 100%;
    height: auto;
  }
  .apartament_photos{
    max-width: 500px;
  }
  .news_carousel{
    max-width: 500px;
  }
	.apartament_photos_mobile{
		display:block!important;
	}
	.apartament_photos_desctop{
		display:none!important;
	}
}
@media (max-width: 767px) {
  .absolute_block_top_bunner{
    top: 20%;
  }
  .scroll_down {
    right: -100px;
    padding-right: 130px;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .scroll_down::after {
    height: 6px;
    width: 115px;
  }
  .arrow_down_bunner::before {
    width: 40px;
    height: 2px;
  }
  .arrow_down_bunner::after {
    width: 40px;
    height: 2px;
  }
  .arrow_down_bunner {
    bottom: 5px;
    left: calc(50% - 36px);
    height: 50px;
    width: 72px;
  }
  .description_block h1{
    font-size: 24px;
  }
  .block_news h1{
    font-size: 24px;
  }
  .desc_content h3{
    font-size: 20px;
  }
  .desc_content p{
    font-size: 14px;
  }
  .desc_content span img{
    width: 20px;
    margin-top: 5px;
  }
  .desc_content::after {
    width: 14px;
    height: 14px;
    left: -42px;
  }
  .desc_content::before {
    height: calc(100% - 20px);
    top: 20px;
  }
  .desc_content {
    padding-bottom: 15px;
  }
  .desc_content:last-child{
    padding-bottom: 40px;
  }
  .apartament_photo_block h1{
    font-size: 24px;
    margin: 50px auto;
  }
  .absolute_online_registration h1{
    font-size: 24px;
  }
  .absolute_online_registration h1::after, .apartament_photo_block h1::after, .description_block h1::after, .block_news h1::after{
    height: 3px;
    border-width: 3px;
  }
  .absolute_online_registration input[type="submit"]{
    font-size: 20px;
  }
  footer p{
    font-size: 14px;
  }
}
@media (max-width: 567px) {
  .absolute_block_top_bunner{
    top:13%;
    width: 310px;
    left: calc(50% - 150px);
  }
  .absolute_block_top_bunner .top_bunner_text {
    font-size: 22px;
  }
  .absolute_block_top_bunner .top_bunner_btn {
    font-size: 16px;
    padding: 10px 34px;
    margin-top: 20px;
  }
  .scroll_down{
    padding-right: 0;
    right: -25px;
  }
  .scroll_down::after{
    height: 0;
  }
  .arrow_down_bunner{
    display: none;
  }
  .see_more_desc {
    font-size: 16px;
    padding: 10px 35px;
  }
  .online_registration_img{
    padding: 0 20px 30px;
    box-sizing: border-box;
  }
  .absolute_online_registration{
    width: auto;
    border-width: 5px;
  }
  .absolute_online_registration::after, .absolute_online_registration::before{
    display: none;
  }
  footer{
    padding: 15px 10px;
  }
  .block_news{
    padding: 10px;
  }
  .block_news h1{
    margin: 25px auto;
  }
  .news_carousel{
    margin: 20px auto;
    padding: 0 50px;
  }
}
@media (max-width: 424px){
.scroll_down {
    display: none;
  }
  .absolute_online_registration{
    padding: 20px;
  }
  /* .adult_children_bl select{
    width: 70%;
    margin-right: 30%;
  } */
  .absolute_online_registration h1, .apartament_photo_block h1, .description_block h1, .block_news h1{
    font-size: 20px;
  }
  .description_block{
    padding: 30px 20px;
  }
  .mobile_menu{
    right: 25px;
  }
  .header_container{
    padding: 20px 10px 0;
  }
  .header_info{
    padding: 50px 0 30px;
  }
  /* .adult_children_bl label::after{
    left: 50%;
  } */
  .header_info .contact_header{
    flex-wrap: wrap;
    justify-content: center;
  }
  .header_info .contact_header a{
    margin-bottom: 20px;
  }
  span.wpcf7-not-valid-tip{
    top: -35px;
    font-size: 12px
  }
  .apartament_photos .slick-arrow {
    width: 35px;
    height: 35px;
	  z-index: 9;
  }
  .apartament_photos .slick-prev.slick-arrow{
    left: 3px;
  }
  .apartament_photos .slick-next.slick-arrow{
    right: 4px;
  }
  .apartament_photos .slick-arrow::after{
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
  }
  .apartament_photos .slick-next.slick-arrow::after{
        left: calc(50% - 9px);
  }
  .apartament_photos_slide{
    padding: 0 40px;
  }
  .apartament_photos_slide .first_img, .apartament_photos_slide .second_img, .apartament_photos_slide .third_img{
    height: 140px;
  }
  .desc_info {
    padding-left: 25px;
  }
  .desc_content::after{
    left: -20px;
  }
  .desc_content::before{
    left: -14px;
  }
  .block_news{
    padding: 10px 5px;
  }
  .news_carousel{
    margin: 20px auto;
    padding: 0 40px;
  }
  .news_carousel .slick-next.slick-arrow{
    right: 0;
  }
  .news_single_home .info_news {
    padding: 15px 10px;
  }
  .news_single_home .see_more_news{
    padding: 10px 60px 10px 15px;
  }
  .news_single_home .see_more_news::after{
    right: 15px
  }
  .news_single_home .see_more_news::before{
    right: 15px;
  }
  .news_carousel .slick-arrow {
    width: 35px;
    height: 35px;
  }
  .news_carousel .slick-slide{
    margin: 0;
  }
  .block_news{
    /* margin-top: 50px; */
  }
  .online_registration_img{
    margin-top: 50px;
  }
  .news_carousel .slick-arrow::after{
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
  }
  .news_carousel .slick-next.slick-arrow::after{
        left: calc(50% - 9px);
  }
  .bunner_margin{
    margin-top: 50px;
  }
  .adult_children_bl select{
    font-size: 15px;
    padding: 0 5px;
  }
  .adult_children_bl label::after {
    top:54%;
    right: 10px;
  }
  .modal-content {
    padding: 20px;
    width: 270px;
  }
  .close {
    margin-top: -10px;
    margin-right: -10px;
  }
  .modal-content p{
	font-size:14px;
  }
}
