html, body {
	--COLOR-GREEN: #87a67b;
}
* {
	background: none;
}
p {
	margin: 0;
}
html {
	position: relative;
	-webkit-user-select: none;
	user-select: none;
	width: 100%;
	min-height: 100%;
	background-color: #fff;
	font-family: "Cormorant Garamond", serif;
	font-weight: 500;
}
body {
	margin: 0;
	min-height: 100%;
}
main {
	color: #000;
}
.main_block {
	padding: 0 7vw;
	padding-bottom: 50px;
}
header {
	background-color: #fff;
	color: #000;
	margin-bottom: 0;
}
#header_soc_icons {
	max-width: 120px;
	position: absolute;
	left: 10px;
	top: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin-top: 0;
}
#header_soc_icons a {
	margin-right: 10px;
}
#header_soc_icons img {
	width: 30px;
	transition: transform 0.1s linear;

	&:hover {
		transform: scale(1.1);
	}
}
.main_title_parent {
	position: static;
	white-space: nowrap;
	text-align: center;
	margin-left: 0;
	margin-right: 0;

	&::before {
		height: 100%;
		display: inline-block;
        vertical-align: middle;
        content: '';
	}
}
#main_title_block {
	display: inline-block;
	white-space: normal;
	vertical-align: middle;
	text-align: center;
	margin-top: 10px;
}

#main_title {
	font-family: Cormorant Garamond, serif;
	font-style: normal;
	font-weight: 600;
	font-size: 40px;
	color: #000;
	margin: 0;
	transform: translateX(-30px);
}

#inharta_log {
	width: 210px;
	margin-bottom: -18px;
	transition: transform 0.5s ease-in;

	&:hover {
		transform: scale(1.1);
		transition: transform 0.1s ease-out;
	}
}
.main_subtitle {
	display: block;
	color: #513725;
	font-size: 20px;
	font-weight: 600;
	margin: 0;
	margin-top: -18px;

}

#bron_link {
	position: absolute;
	right: 20px;
	top: 15px;
	padding: 15px 30px;
	background-color: #000;
	border-radius: 30px;
	transition: transform 0.2s linear;
	cursor: pointer;



	&:hover {
		transform: scale(1.1);
	}
}
#bron_link a {
	text-decoration: none;
}
#bron_link span {
	display: block;
	color: #fff;
	text-decoration: none;
	font-size: 20px;
}

#switch_lang {
	position: absolute;
	right: 20px;
	top: 10px;
}
.main_aside {
	margin-top: -20px;
	padding: 0 7% 0;
	font-size: 20px;
	display: flex;
	justify-content: space-between;
	overflow-x: auto;
}
.main_aside a {
	position: relative;
	width: calc(100% - 20px);
	background-color: transparent;
	color: #000;
	padding: 0 10px 2px;
	text-decoration: none;
	font-weight: 600;
	transition: font-weight 0.2s linear;


	& span {
		display: block;
		transition: transform 0.5s linear;
	}

	&::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 0;
		height: 3px;
		background-color: #000;
		transition: width 0.5s linear;
	}

	&:hover {
		font-weight: 900;

		& span {
			transform: translateY(-3px);
			transition: transform 0.2s linear;
		}

		&::after {
			width: 99%;
			transition: width 0.2s linear;
		}
	}	
}
.main_aside a.selected_aside {
	font-weight: 900;
	& span {
		transform: translateY(-3px);
		transition: all 0s;
	}
	&::after {
		width: 99%;
		transition: all 0s;
	}
}

footer {
	box-sizing: border-box;
	width: 100%;
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #fff;
	color: #000;
	padding: 10px 10px;
}
#footer_left {
	height: inherit;
	margin: inherit;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	flex-direction: column;
}
.mail_link, #tel_link {
	color: #000;
	text-decoration: none;
}
.inst_link, .wtsp_link
 {
	display: inline-block;
	text-decoration: none;
	color: #87a67b;
	font-weight: 600;
}
#footer_left p {
	margin: 0;
}

#footer_right {
	height: inherit;
}
#ftr_right_mail_link {
	position: relative;
	overflow: hidden;
	display: inline-block;
	background: none;
	text-decoration: none;
	color: #000;
	font-weight: 700;
	font-size: 20px;
	border: 3px solid #87a67b;
	border-radius: 15px;
	padding: 20px 40px;
	transition: color 0.4s linear,
				border-color 0.8s linear,
				transform 0.4s linear,
				font-weight 0.4s linear
				;

	&:hover {
		color: #000;
		border-color: #000;
		transform: scale(1.1);
		font-weight: 900;
		transition: color 0.1s linear,
					border-color 0.2s linear,
					transform 0.1s linear,
					font-weight 0.1s linear
					;
	}
	&:hover:before {
		width: 200%;
		height: 300%;
		left: -50%;
		top: -75%;
	}
}
#ftr_right_mail_link:before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 0%;
	height: 0%;
	z-index: -1;
	border-radius: 50%;
	background: #87a67b;
	transition: width 0.2s linear,
				height 0.2s linear,
				left 0.2s linear,
				top 0.2s linear
				;
}





@media (max-width: 1050px) {
	footer {
		padding-bottom: 20px;
	}
	.main_block {
		padding-left:1%;
		padding-right:1%;
	}
	.main_aside {
		padding: 0 1% 0;
	}
}
@media (max-height: 820px) {
	footer {
		padding-bottom: 20px;
	}
}

@media (max-width: 880px) {
	footer {
		flex-direction: column;
	}
}
.non_selected_lang{
	display: none !important;
}
@media (max-width: 650px) {
	#header_soc_icons {
		left: 0;
		top: 10px;
		flex-wrap: nowrap;
		justify-content: center;
		max-width: 100vw;
		width: 100vw;
	}
	#main_title_block {
		margin-top: 40px;
	}

	#bron_link {
		display: flex;
		right: 10px;
		padding: 0;
		border-radius: 50%;
		width: 90px;
		height: 90px;
		justify-content: center;
		align-items: center;
	}
	#bron_link span {
		width: auto;
		max-width: 40px;
		text-transform: lowercase;
	}
	#bron_link span[for="lang_ru"] {
		max-width: 70px;
		font-size: 15px;
	}
}
@media (max-width: 420px) {
	#header_soc_icons {
		left: -50px;
	}
	#header_soc_icons a {
		margin-right: 5px;
	}
	#bron_link {
		width: 70px;
		height: 70px;

		& span {font-size: 17px}
	}
}