@font-face {
	font-family: 'Myriad Pro';
	src: url('../fonts/MyriadPro.otf');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Casual Chance';
	src: url('../fonts/CasualChance.eot');
	src: url('../fonts/CasualChance.eot?#iefix') format('embedded-opentype'),
	url('../fonts/CasualChance.woff') format('woff'),
	url('../fonts/CasualChance.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}

* {
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	color: #40382f;
	background: #fefefe;
	font: 400 24px/140% 'Myriad Pro', 'Arial', sans-serif;
	overflow-x: hidden;
}
body.active-menu {
	max-height: 100vh;
	overflow: hidden;
}
ul,
ol,
li,
p,
form,
fieldset,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
}

/* links */
a {
	color: #40382f;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

/* paragraph */
p {
	margin-bottom: 40px;
}

/* lists */
ul,
ol {
	padding: 0 0 40px 0;
	line-height: 150%;
}
ul ul,
ol ol,
ol ul,
ul ol {
	padding: 1px 0 0 0;
}
ul li,
ol ul li {
	padding: 2px 0 2px 14px;
	list-style: none;
	line-height: 140%;
	position: relative;
}
ol li {
	margin-left: 20px;
	padding: 2px 0 2px 14px;
}
ol ul li {
	margin-left: 0;
}
ul li li,
ol li li {
	padding-bottom: 0;
}
ul li:before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	position: absolute;
	top: 13px;
	left: 0;
	background-color: #2b231a;
	border-radius: 100%;
}

/* images */
img {
	max-width: 100%;
	height: auto;
	border-style: none;
}
.cl {
	clear: both;
}

/* tables */
.table-responsive {
	width: 100%;
	margin-bottom: 40px;
	overflow: auto;
}
table {
	margin-bottom: 0;
	border: 1px solid #c5c5c5;
	border-spacing: 0;
	text-align: center;

}
table th,
table td {
	padding: 3px 6px;
	border: 1px solid #c5c5c5;
}

/* slider */
.header {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: calc(100vh - 80px);
	min-height: 210px;
	position: relative;
	background: url('../images/back.jpg') no-repeat 50% 100%;
	background-size: cover;
}
.header .inside {
	width: 100%;
	max-width: 1200px;
	height: 100%;
	position: relative;
}
.header .socials {
	display: flex;
	position: absolute;
	top: 30px;
	right: 20px;
}
.header .socials a,
.header .socials > span {
	display: inline-block;
	width: 46px;
	height: 46px;
	margin-right: 8px;
	background-color: #568564;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: 40px auto;
	border-radius: 100%;
}
.header .socials > span {
	width: auto;
	padding: 0 20px;
	border-radius: 25px;
	color: #fff;
	line-height: 48px;
}
.header .socials a:last-of-type {
	margin-right: 0;
}
.header .socials a.fb {
	background-image: url('../images/icon-fb.png');
}
.header .socials a.insta {
	background-image: url('../images/icon-insta.png');
}
.header .socials a.messenger {
	background-image: url('../images/icon-messenger.png');
}
.header .socials a.whatsapp {
	background-image: url('../images/icon-whatsapp.png');
}
.header .socials a span {
	display: none;
}

/* top menu */
.main-menu {
	width: 100%;
	height: 80px;
	background: #63a375;
	box-shadow: 0px 15px 15px rgba(0, 0, 0, 20%);
	position: relative;
	z-index: 50;
}
.main-menu.fixed {
	position: fixed;
	left: 0;
	top: 0;
}
.main-menu .inside {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0;
	position: relative;
}
.main-menu nav {
	display: flex;
	justify-content: center;
	height: 100%;
	margin: 0 auto;
}
.main-menu ul {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	text-transform: lowercase;
}
.main-menu ul li {
	margin: 0 0 0 50px;
	padding: 0;
	background: none;
	line-height: 80px;
}
.main-menu ul li:before {
	display: none;
}
.main-menu ul li:first-child {
	margin-left: 0;
}
.main-menu ul li a {
	display: block;
	height: 100%;
	position: relative;
	color: #21160b;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 20px;
	text-align: center;
	text-decoration: none;
	transition: 0.3s;
	outline: none;
}
.main-menu ul li:not(.logo) a:hover,
.main-menu ul li:not(.logo) a.active {
	color: #fefefe;
}
.main-menu ul li:not(.logo) a:after {
	content: '';
	display: block;
	width: 27px;
	height: 5px;
	margin: 0 auto;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	background: url('../images/menu-hover-small.png') no-repeat;
	opacity: 0;
	transition: 0.3s;
}
.main-menu ul li a:hover:after,
.main-menu ul li a.active:after {
	opacity: 1;
}
.main-menu ul li.logo {
	width: 305px;
	height: 305px;
	position: relative;
	bottom: 210px;
	line-height: 305px;
	transition: 0.3s;
}
.main-menu.fixed ul li.logo {
	width: 110px;
	height: 110px;
	bottom: 45px;
}
.main-menu ul li.logo h1 {
	width: 0;
	height: 0;
	line-height: 0;
	overflow: hidden;
	text-indent: -5000px;
}
.main-menu .socials {
	display: flex;
	align-items: center;
	width: 0;
	height: 100%;
	margin: 0 20px;
	overflow: hidden;
	transition: 0.3s;
}
.main-menu.fixed .socials {
	flex-shrink: 0;
	width: 100px;
}
.main-menu .socials a {
	width: 45px;
	height: 45px;
	position: relative;
	background-color: #568564;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	border-radius: 100%;
}
.main-menu .socials a.fb {
	background-image: url('../images/icon-fb.png');
}
.main-menu .socials a.insta {
	background-image: url('../images/icon-insta.png');
}
.main-menu .socials a.messenger {
	background-image: url('../images/icon-messenger.png');
}
.main-menu .socials a.whatsapp {
	background-image: url('../images/icon-whatsapp.png');
}
.main-menu .socials a:not(:last-child) {
	margin-right: 8px;
}
.main-menu .socials a:after {
	content: '';
	display: block;
	width: 27px;
	height: 5px;
	margin: 0 auto;
	position: absolute;
	right: 0;
	bottom: -17px;
	left: 0;
	background: url('../images/menu-hover-small.png') no-repeat 50% 50%;
	opacity: 0;
	transition: 0.3s;
}
.main-menu .socials a:hover:after {
	opacity: 1;
}
.main-menu .socials a span {
	display: none;
}
.mobile-logo {
	display: none;
}
.mobile-menu {
	display: none;
	width: 39px;
	height: 39px;
	margin: 12px 0 0 50px;
	float: right;
	background: url('../images/menu-icon.png') no-repeat left top;
	transition: all .1s linear;
}
.mobile-menu.active {
	background-position: right top;
}
.mobile-menu span {
	display: none;
}

/* blocks */
.block-content {
	width: 100%;
	float: left;
	clear: both;
	padding: 80px 0;
	position: relative;
	background: #fefefe;
}
.inside {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	position: relative;
}

/* apartments */
.apartments {
	background: url('../images/back-wood.png') repeat 50% 50%;
	background-size: cover;
	color: #fefefe;
}
.apartments .inside {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	position: relative;
}
.apartments .inside:after {
	content: '';
	display: block;
	width: 575px;
	height: 558px;
	position: absolute;
	bottom: -190px;
	left: -360px;
	background: url('../images/icon-cones.png') no-repeat 50% 50%;
}
.apartments .inside:not(:last-child):after {
	display: none;
}
.apartments .item {
	width: 560px;
	margin-bottom: 80px;
	padding: 0 100px;
	text-align: center;
}
.apartments .item p:last-of-type {
	margin-bottom: 25px;
}
.apartments .title {
	margin-bottom: 40px;
	color: #63a375;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.apartments .controls {
	display: flex;
	justify-content: center;
}
.apartments .controls .btn {
	height: 55px;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 22px;
	line-height: 50px;
	text-decoration: none;
	text-transform: lowercase;
	transition: 0.3s;
}
.apartments .controls .btn:hover {
	color: #fefefe;
}
.apartments .controls .white {
	padding: 0 40px 0 45px;
	background-color: #fefefe;
	border-radius: 100px 0 0 100px;
	color: #21160b;
}
.apartments .controls .green {
	padding: 0 45px 0 40px;
	background-color: #63a375;
	border-radius: 100px 100px;
	color: #21160b;
}
.apartments .text {
	width: 75%;
	position: relative;
	z-index: 10;
}
.apartments .text *:last-child {
	margin-bottom: 0;
}

/* apartments info */
.apartments-info {
	display: none;
	max-width: 800px !important;
}
.apartments-info .label {
	margin-bottom: 40px;
	color: #63a375;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.apartments-info p:last-of-type {
	margin-bottom: 0;
}

/* parallax */
.parallax-window {
	width: 100%;
	height: 470px;
	padding: 0;
	float: left;
	clear: both;
	background: transparent;
}

/* surroundings */
.surroundings {
	padding-bottom: 30px;
	background-color: #63a375;
}
.surroundings:after {
	content: '';
	display: block;
	width: 480px;
	height: 565px;
	position: absolute;
	right: 0;
	top: 0;
	background: url('../images/icon-sticks.png') no-repeat 50% 50%;
	background-size: 480px auto;
}
.surroundings .inside {
	display: flex;
	flex-wrap: wrap;
}
.surroundings .item {
	width: 50%;
	margin-bottom: 50px;
	padding: 0 0 0 210px;
	position: relative;
	z-index: 49;
}
.surroundings .item:before {
	content: '';
	display: block;
	width: 100px;
	height: 100px;
	position: absolute;
	top: -25px;
	left: 70px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.surroundings .item.nature:before {
	background-image: url('../images/surroundings-nature.png');
}
.surroundings .item.history:before {
	background-image: url('../images/surroundings-history.png');
}
.surroundings .item.summer:before {
	background-image: url('../images/surroundings-summer.png');
}
.surroundings .item.winter:before {
	background-image: url('../images/surroundings-winter.png');
}
.surroundings .title {
	margin-bottom: 50px;
	color: #21160b;
	cursor: pointer;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
	transition: 0.3s;
}
.surroundings .title:hover,
.surroundings .item.open .title {
	color: #fefefe;
}
.surroundings ul {
	display: none;
	padding-bottom: 0;
}
.surroundings a {
	display: inline-block;
	padding-right: 43px;
	position: relative;
	color: #fefefe;
}
.surroundings a.tip:after {
	content: '';
	display: inline-block;
	width: 35px;
	height: 35px;
	position: absolute;
	top: 0;
	right: 0;
	background: url('../images/icon-tip.png') no-repeat 50% 50%;
	background-color: #456950;
	border-radius: 100%;
}

/* gallery */
.gallery {
	background: url('../images/back-wood.png') repeat 50% 50%;
	background-size: cover;
	color: #fefefe;
}
.gallery .top {
	display: flex;
	align-items: center;
	margin-bottom: 45px;
	padding: 0 70px;
}
.gallery .title {
	margin: 0 15px 10px 0;
	color: #fefefe;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.gallery .switch {
	display: flex;
	margin-left: auto;
}
.gallery .switch a {
	padding: 10px 20px;
	border-bottom: 5px solid transparent;
	color: #fefefe;
	text-decoration: none;
	transition: 0.3s;
}
.gallery .switch a.active,
.gallery .switch a:hover {
	border-color: #63a375;
}
.gallery .gallery-item {
	flex-wrap: wrap;
	display: none;
	width: 100%;
	margin: 0;
}
.gallery .gallery-item-02 {
	display: block;
}
.gallery .gallery-item .wrap > a {
	width: 33.3333%;
	float: left;
}
.gallery .gallery-item .wrap > a img {
	display: none;
	width: 100%;

	float: left;
}
.gallery .gallery-item .wrap > a:nth-child(-n+6) img {
	display: block;
}
.gallery-item .wrap,
.gallery-item .more,
.gallery-item .text {
	width: 100%;
	float: left;
	clear: both;
}
.gallery-item .more {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 55px;
}
.gallery-item .more a {
	height: 55px;
	margin: 10px 0 45px 0;
	padding: 0 70px 0 70px;
	background-color: #63a375;
	border-radius: 100px;
	color: #21160b;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 22px;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	text-transform: lowercase;
	transition: 0.3s;
}
.gallery-item .more a:hover {
	color: #fefefe;
}
.gallery-item .text {
	padding: 0 70px;
}
.gallery-item .text *:last-child {
	margin-bottom: 0;
}
.tma {
	display: none;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 35;
	background: rgba(0, 0, 0, .7);
}
.active-menu .tma {
	display: block;
}

/* contact */
.contact {
	background-color: #f3f3f3;
}
.contact .inside {
	padding: 0 50px;
	text-align: center;
}
.contact .title {
	width: 100%;
	margin: 0 0 45px 0;
	padding: 0 20px;
	color: #63a375;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.contact .block {
	width: 60%;
	padding: 0 20px;
}
.contact .block:last-of-type {
	width: 40%;
}
.contact .inside > *:last-child,
.contact .block > *:last-child {
	margin-bottom: 0;
}

/* pricelist */
.pricelist .inside {
	padding: 0 50px;
	text-align: center;
}
.pricelist .title {
	width: 100%;
	margin: 0 0 45px 0;
	padding: 0 20px;
	color: #63a375;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.pricelist table {
	margin: 0 auto;
	border: 0;
}
.pricelist table th,
.pricelist table td {
	padding: 12px 20px 8px 20px;
	border: 0;
}
.pricelist .label {
	background-color: #3a6049;
	color: #fff;
	font-weight: 400;
	line-height: 33px;
	text-align: left;
	text-transform: uppercase;
}
.pricelist .type {
	background-color: #539b6d;
	text-align: left;
}
.pricelist .price {
	background-color: #d2d7d3;
}
.pricelist .type:first-child,
.pricelist .price:nth-child(2) {
	border-right: 2px solid #fff;
}
.pricelist .type:last-child,
.pricelist .price:nth-child(3) {
	border-left: 2px solid #fff;
}
.pricelist .inside > *:last-child {
	margin-bottom: 0;
}

/* form */
.form {
	background-color: #f3f3f3;
}
.form .inside {
	padding: 0 50px;
	text-align: center;
}
.form .title {
	width: 100%;
	margin: 0 0 45px 0;
	padding: 0 20px;
	color: #63a375;
	font-family: 'Casual Chance', 'Arial', sans-serif;
	font-size: 34px;
	line-height: 50px;
	text-transform: lowercase;
}
.form .form-wrap {
	display: flex;
	justify-content: space-between;
}
.form .form-item {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	width: 32%;
	margin-bottom: 20px;
}
.form .form-item.half {
	width: 49%;
}
.form .form-item.full {
	width: 100%;
}
.form .form-item label {
	cursor: pointer;
}
.form .form-item input[type="text"],
.form .form-item textarea {
	width: 100%;
	height: 40px;
	padding: 4px 8px;
	border: 2px solid #a9a9a9;
	font-family:  'Myriad Pro', 'Arial', sans-serif;
	font-size: 20px;
	outline: none;
	transition: border-color 0.3s;
}
.form .form-item textarea {
	height: 150px;
	padding: 8px;
	resize: none;
}
.form .form-item input[type="text"]:focus,
.form .form-item textarea:focus {
	border-color: #3a6049;
}
.form .btn-submit {
	width: 100px;
	height: 40px;
	margin-top: 20px;
	background-color: #63a375;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-family:  'Myriad Pro', 'Arial', sans-serif;
	font-size: 20px;
	line-height: 40px;
	outline: none;
	transition: background-color 0.3s;
}
.form .btn-submitH {
  display: none;
}
.form .btn-submit:hover {
	background-color: #3a6049;
}
.form .error,
.form .success {
	margin-bottom: 30px;
}
.form .error {
	color: #ff0000;
}
.form .success {
	color: #3a6049;
}
.form .controls {
	display: flex;
	align-items: center;
	flex-direction: column;
	margin-top: 20px;
}

/* instagram */
.instagram {
	display: block;
	width: 100%;
	border: 0;
	overflow: hidden;
}

/* map */
.map {
	height: 435px;
	padding: 0;
	background: none;
}
.map #map {
	width: 100%;
	height: 435px;
}

/* copyright */
.copyright {
	padding: 40px 0 10px 0;
	background-color: #e8e8e8;
	color: #949494;
	font-size: 18px;
	line-height: 24px;
	text-align: center;
}
.copyright img {
	max-width: 100px;
}

/* responsive design */
@media (min-width: 991px) {
	.main-menu nav ul li:first-child,
	.main-menu nav ul li:last-child {
		width: 115px;
	}
	.main-menu nav ul li:nth-child(2),
	.main-menu nav ul li:nth-child(3),
	.main-menu nav ul li:nth-child(5),
	.main-menu nav ul li:nth-child(6) {
		width: 80px;
	}
}

@media (min-width: 1201px) {
	.main-menu nav ul li:first-child,
	.main-menu nav ul li:last-child {
		width: 130px;
	}
	.main-menu nav ul li:nth-child(2),
	.main-menu nav ul li:nth-child(3),
	.main-menu nav ul li:nth-child(5),
	.main-menu nav ul li:nth-child(6) {
		width: 100px;
	}
}

@media (min-width: 1601px) {
	.main-menu nav ul li:first-child,
	.main-menu nav ul li:last-child {
		width: 140px;
	}
	.main-menu nav ul li:nth-child(2),
	.main-menu nav ul li:nth-child(3),
	.main-menu nav ul li:nth-child(5),
	.main-menu nav ul li:nth-child(6) {
		width: 110px;
	}
}

@media (max-width: 1600px) {
	.main-menu ul li {
		margin-left: 20px;
	}
	.main-menu ul li a {
		font-size: 18px;
	}
	.surroundings:after {
		display: none;
	}
}

@media (max-width: 1200px) {
	.main-menu ul li a {
		font-size: 16px;
	}
	.main-menu ul li,
	.main-menu.fixed ul li {
		margin-left: 10px;
	}
	.apartments .item {
		width: 50%;
		padding: 0 50px;
	}
}

@media (max-width: 990px) {
	.header {
		height: calc(100vh - 63px);
	}
	.main-menu .inside {
		padding-right: 20px;
	}
	.main-menu ul {
		display: none;
		width: 90%;
		max-width: 400px;
		height: auto;
		max-height: calc(100vh - 63px);
		position: absolute;
		top: 63px;
		right: 0;
		background: #63a375;
		overflow: auto;
	}
	.main-menu ul li,
	.main-menu.fixed ul li {
		width: 100%;
		margin: 0;
		padding: 0;
		border-top: 1px solid rgba(255, 255, 255, .2);
		line-height: 135%;
	}
	.main-menu ul li a,
	.main-menu ul li a.active,
	.main-menu ul li a:hover {
		width: 100%;
		margin: 0;
		padding: 10px 0 15px 15px;
		color: #fff;
	}
	.main-menu {
		height: 63px;
	}
	.main-menu .logo,
	.main-menu .socials {
		display: none;
	}
	.mobile-logo {
		display: block;
		width: 80px;
		position: absolute;
		top: 14px;
		left: 20px;
	}
	.mobile-menu {
		display: block;
	}
	.apartments .inside:after {
		display: none;
	}
	.apartments .item {
		padding: 0 5px;
	}
	.apartments .image {
		max-width: 80%;
	}
	.surroundings .item {
		padding: 0 20px 0 140px;
	}
	.surroundings .item:before {
		left: 20px;
	}
	.gallery .top,
	.gallery-item .text {
		padding: 0 20px;
	}
	.contact .inside,
	.pricelist .inside,
	.form .inside {
		padding: 0 20px;
	}
}

@media (max-width: 780px) {
	.main-menu {
		box-shadow: none;
	}
	.apartments .text {
		width: 100%;
		padding: 0 20px;
	}
	.surroundings .item {
		width: 100%;
	}
	.apartments .title,
	.surroundings .title,
	.gallery .title {
		margin-right: 0;
		font-size: 26px;
		line-height: 34px;
	}
	.gallery .top {
		flex-wrap: wrap;
	}
	.gallery .switch {
		flex-wrap: wrap;
		width: 100%;
		margin-top: 20px;
	}
	.gallery .switch a {
		margin-bottom: 10p;
	}
}

@media (max-width: 576px) {
	.header .socials {
		flex-wrap: wrap;
		padding: 0 8px;
	}
	.header .socials > span {
		margin-bottom: 8px;
	}
	.form .form-wrap {
		flex-wrap: wrap;
	}
	.form .form-item,
	.form .form-item.half {
		width: 100%;
	}
}

@media (max-width: 500px) {
	.apartments .inside {
		flex-wrap: wrap;
	}
	.apartments .item {
		width: 100%;
		margin-bottom: 40px;
	}
	.apartments .text {
		margin-top: 40px;
	}
	.gallery .gallery-item > a {
		width: 50%;
	}
	.contact .block {
		width: 100%;
	}
	.contact .block:last-of-type {
		margin-top: 30px;
	}
}
