/*
	initial settings
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent!important;
}
body {
	font-family: 'Roboto', sans-serif;
	color: #3f3f41;
	background-color: #fefefe;
}
p {
	font-size: 15px;
	font-weight: normal;
	line-height: 145%;
	margin: 11px 0;
}
a {
	font-weight: 700;
	text-decoration: none;
	color: #3f3f41;
}
ul, ol {
	margin-left: 40px;
}
li {
	font-size: 15px;
	line-height: 145%;
}
.wrapper {
	max-width: 1190px;
	width: 100%;
	margin: 0 auto;
}
.ecology h2 {
	margin-top: 30px;
	margin-bottom: 20px;
}
.no_mobile {
	display: inline-block;
}
.no_descktop {
	display: none;
}
/*
	header
*/

.top {
	background-color: #fefefe;
}

/*
	header
	title
*/

.top_title {
	height: 60px;
	display: grid;
	grid-template-columns: repeat(15, 1fr);
	grid-column-gap: 20px;
	align-content: center;
}
.title_descktop {
	grid-column: 1/16;
}
.mont_bold {
	font-family: 'Montserrat';
	font-size: 38px;
	line-height: 44;
	letter-spacing: 1px;
	color: #3f3f41;
	font-weight: 700;
}
.mont {
	font-family: 'Montserrat';
	font-size: 24px;
	line-height: 44;
	letter-spacing: 1px;
	color: #3f3f41;
	font-weight: 400;
}

/*
	header
	menu
*/

.top_menu_out {
	width: 100%;
	height: 40px;
	background-color: #8a8b8c;
	position: sticky;
	top: 0;
	min-height: 40px;
	z-index: 9996;
}
.top_menu_in {
	display: grid;
	grid-template-columns: repeat(15, 1fr);
	grid-column-gap: 20px;
	align-content: center;
}
.menu-top_menu-container {
	grid-column: 1/16;
}
.top_menu_in ul {
	margin-left: 0;
}
.top_menu_in li {
	display: inline;
	list-style: none;
	margin-right: 30px;	
	line-height: 40px;
	font-size: 17px;
	color: #ffffff;
}
.top_menu_in a {
	font-weight: 400;
	color: inherit;
}
.current-menu-item {
	background-color: #c4c4c4;
	padding: 10px;
}

/*
	header
	logo
*/

.top_logo {
	position: fixed;
	top: 0;
	left: 30px;
	z-index: 9997;
}
.top_logo_img {
	width: 79px;
	height: auto;
}

/*
	Astafiev
*/

.top_margin {
	height: 80px;
}
.green {
	background: rgb(0,122,53);
	background: linear-gradient(0deg, rgba(0,122,53,1) 0%, rgba(0,163,71,1) 70%);
	margin-bottom: 67px;
	height: 482px;
}
.y_100_descktop img,
.y_100_mobile img {
	width: 100%;
	height: auto;
}
.astafiev_1,
.astafiev_2 {
	position: relative;
}
.astafiev_11,
.astafiev_33 {
	position: absolute;
}
.astafiev_11 img,
.astafiev_33 img {
	width: 100%;
	height: auto;
}
.astafiev_22,
.astafiev_44 {
	position: absolute;
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
}
.astafiev_11 {
	bottom: -4px;
	right: 0;
}
.astafiev_22 {
	top: -440px;
	left: 0;
}
.astafiev_33 {
	bottom: -4px;
	left: 0;
}
.astafiev_44 {
	top: -440px;
	right: 0;
}
.breadcrumps {
	margin-bottom: 25px;
}
.wp-block-columns {
	margin-bottom: 0;
}
.wp-block-column:not(:first-child) {
	margin-left: 118px;
}
.wp-block-column h3 {
	font-size: 30px;
	font-weight: 700;
	line-height: 37px;
	margin-top: 60px;
	margin-bottom: 16px;
}
.wp-block-column h2.descktop {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	margin-bottom: 60px;
	background-color: #007a35;
	color: #fefefe;
	padding-right: 17px;
}
h4 {
	font-size: 30px;
	font-weight: 400;
	line-height: 33px;
	border: 1px solid #000000;
	padding: 30px 60px;
	margin-top: 80px;
	margin-bottom: 55px;
}
.astafiev_hidden {
	display: none;
}
#astafiev_more {
	margin-left: 0;
}
.master_word {
	display: grid;
	grid-template-columns: repeat(15, 1fr);
	grid-column-gap: 20px;
	padding-top: 23px;
	padding-bottom: 68px;
}
.master_word h3 {
	font-size: 30px;
	letter-spacing: 1px;
	margin-bottom: 10px;
}
.word {
	font-size: 18px;
}
.word_1 {
	grid-column: 1/6;
}
.word_2 {
	grid-column: 6/11;
}
.word_3 {
	grid-column: 11/16;
}
.word_1,
.word_2,
.word_3 {
	background-color: #fefefe;
	height: 284px;
	display: flex;
	justify-content: center;
	padding: 0 30px;
	flex-direction: column;
}
.master_word_title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 44px;
	background-color: #007a35;
	color: #fefefe;
	padding-left: 17px;
	width: 45%;
	margin-top: 30px;
}

/* 
	content
*/

.content {
	background: rgb(232,234,233);
	background: linear-gradient(90deg, rgba(232,234,233,1) 0%, rgba(245,233,210,1) 100%);
}
.data {
	display: grid;
	grid-template-columns: repeat(15, 1fr);
	grid-column-gap: 20px;
}
.posts {
	grid-column: 1/11;
}
.side_bars {
	grid-column: 12/16;
}
.side_bar {
	position: sticky;
	top: 80px;
}
.post_item {
	width: 786px;
	background-color: #ffffff;
	margin: 35px 0 45px 0;
	padding-top: 1px;
	padding-bottom: 21px;
}
.post_item_pages {
	margin: 35px 0 45px 0;
	padding-top: 1px;
	padding-bottom: 21px;
}
.post_item_pages_2 {
	margin-top: 35px;
	padding-bottom: 70px;
}
.read_more {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.read_more a {
	color: #8a8b8c;
	font-weight: 400;
}
.more {
	display: flex;
}
.more a {
	color: #8a8b8c;
}
.more img {
	padding-left: 10px;
}
.posts_more {
	color: inherit;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
	margin-left: 28px;
	color: #8a8b8c;
}
.num_comments {
	width: 30px;
	height: 30px;
	background-image: url(http://www.astafiev.ru/wp-content/uploads/2021/06/box.svg);
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: center;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 13px;
	color: #007a35;
}
.num_comments a {
	margin-bottom: 5px;
	font-weight: 700;
	display: block;
	color: #007a35;
}
.popup_descktop_comm {
	display: flex;
}
.popup_mobile_comm {
	display: none;
}
.post_date_categories {
	display: flex;
}
.post_date {
	margin: 14px 0 12px 27px;
	font-size: 15px;
}
.post-categories {
	margin-top: 13px;
	margin-left: 15px;
}
.post-categories li {
	list-style: none;
}
.new_window a {
	color: #8a8b8c;
	font-weight: 300;
}
.post_title {
	margin: 38px 27px 14px 27px;
}
.post_title h2 {
	font-weight: 700;
	font-size: 30px;
	line-height: 37px;
}
.post_text {
	margin: 0 29px;
}

/* 
	comments
*/
.comments {
	padding: 0 0;
}
.iframe_comments {
	width: 100%;
	height: 100%;
	border: none;
}
.body_comments::-webkit-scrollbar,
.popup_comments::-webkit-scrollbar {
	width: 0;
}
.body_comments {
	background: transparent;
}
#wpdcom .wpd-prim-button {
	background-color: #007a35;
}
#wpdcom .wpd-auth .wpd-login a {
	color: #007a35;
}
#wpdcom .wpd-social-login .wpdsn-wp i {
	background-color: #000000;
}
#wpdcom .wpd-social-login i {
	font-size: 19px;
}
#wpdcom.wpd-layout-2 .wpd-form .wpd-avatar img,
#wpdcom.wpd-layout-2 .wpd-form .wpd-avatar img.avatar,
#wpdcom.wpd-layout-2 .wpd-comment .wpd-avatar img,
#wpdcom.wpd-layout-2 .wpd-comment .wpd-avatar img.avatar {
	border-radius: 50%;
}
#wpdcom .wpd-comment-text p {
	font-size: 15px;
	color: #000;
}

/* 
	widget's styles
	topics
*/

.right_sidebar_topics_title {
	font-size: 0;
	color: #ffffff;
}
.right_sidebar_topics {
	margin-top: 35px;
}
.right_sidebar_topics ul {
	margin-left: 0;
}
.right_sidebar_topics li {
	list-style: none;
}
.right_sidebar_topics ul li.cat-item {
	color: #8c8b8d;
	padding: 5px 17px 5px 4px;
	margin: 0 15px 15px 0;
	display: inline-block;
	border-top: 2px solid #8c8b8d;
	border-bottom: 2px solid #8c8b8d;
	cursor: pointer;
	position: relative;
}
.right_sidebar_topics ul li.cat-item:before,
.right_sidebar_topics ul li.cat-item:after {
	content: "(";
	font-size: 33px;
	font-weight: 300;
	position: absolute;
	top: 2px;
}
.right_sidebar_topics ul li.cat-item:before {
	left: -10px;
}
.right_sidebar_topics ul li.cat-item:after {
	right: 0;
}
.right_sidebar_topics ul li.cat-item:hover,
.right_sidebar_topics ul li.current-cat {
	border-top: 2px solid #007a35;
	border-bottom: 2px solid #007a35;
	color: #007a35;
}
.right_sidebar_topics ul li.current-cat:before,
.right_sidebar_topics ul li.current-cat:after {
	color: #007a35;
}
.right_sidebar_topics ul li.cat-item a {
	font-weight: 400;
	color: inherit;
	display: block;
}

/* 
	widget's styles
	archives
*/

.right_sidebar_archives_title {
	font-size: 0;
	color: #ffffff;
}
.right_sidebar_archives {
	margin-top: 20px;
}
.right_sidebar_archives ul {
	margin-left: 0;
	background: linear-gradient(150deg, #3f3f41 20%, #fefefe 70%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.right_sidebar_archives ul li {
	list-style: none;
	font-size: 25px;
	font-weight: bold;
	margin-bottom: 10px;
}

/*
	owl carousel
	common settings
*/

.owl-dots {
	margin-top: 0!important;
}
.owl-dot span {
	width: 6px!important;
	height: 6px!important;
	margin: 8px 8px!important;
}
.owl-prev:hover,
.owl-next:hover,
.owl-dot:hover,
.owl-prev:active,
.owl-next:active,
.owl-dot:active,
.owl-prev:focus,
.owl-next:focus,
.owl-dot:focus {
	background-color: transparent!important;
	outline: none!important;
}

/*
	owl carousel
	post
*/

.post .owl-prev,
.post .owl-next {
	position: absolute;
	top: 45%;
}
.post .owl-prev {
	left: 15px;
}
.post .owl-next {
	right: 15px;
}

/*
	owl carousel
	partners
*/

.owl_title {
	margin-top: 35px;
	margin-bottom: 20px;
	font-size: 15px;
	font-weight: 700;
}
.partners {
	margin-bottom: 50px;
}
.partners .item {
	width: 270px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.partners .item .item_img {
	margin-bottom: 6px;
}
.partners .item .item_tax {
	font-size: 13px;
	margin-bottom: 10px;
}
.partners .item .item_txt {
	text-align: center;
}
.partners .item .item_txt p {
	font-size: 13px;
	margin: 0;
}
.partners .item .item_txt p a {
	font-size: 15px;
}
.partners .owl-prev,
.partners .owl-next {
	position: absolute;
	top: 20%;
}
.partners .owl-prev {
	left: -5px;
}
.partners .owl-next {
	right: -5px;
}

/*
	owl carousel
	books
*/

.books {
	padding-bottom: 35px;
}
.books .owl-prev,
.books .owl-next {
	position: absolute;
	top: 40%;
}
.books .owl-prev {
	left: 0;
}
.books .owl-next {
	right: 0;
}

/*
	owl carousel
	winners
*/

.winners .owl-prev,
.winners .owl-next {
	position: absolute;
	bottom: 50%;
}
.winners .owl-prev {
	left: -30px;
	top: 2%;
}
.winners .owl-next {
	right: -30px;
	top: 2%;
}


/* 
	awards
*/

.award {
	font-size: 82px;
	color: #007a35;
	font-style: italic;
}
.screen-reader-text {
	display: none;
}
#TB_title {
	background: rgb(232,234,233)!important;
	background: linear-gradient(90deg, rgba(232,234,233,1) 0%, rgba(245,233,210,1) 100%)!important;
}
.thickbox-loading {
	background-image: url(http://www.astafiev.ru/wp-content/uploads/2021/03/bg.jpg);
	background-repeat: no-repeat;
	background-position: center right;
}
.tb-close-icon {
	color: #007a35!important;
}
.winners_title {
	display: block;
	font-size: 30px;
	font-weight: 700;
	line-height: 44px;
	color: #000000;
	padding-left: 17px;
	width: 50%;
}
.winners {
	margin-top: 30px;
	padding-bottom: 115px;
}
.winners .item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.winners_item_img {
	text-align: -webkit-center;
}
.winners_item_img img {
	border-radius: 50%;
	width: 153px!important;
	height: auto;
}
.winners_item_txt,
.winners_item_tax {
	text-align: center;
}
.winners_item_txt {
	font-size: 18px;
	font-weight: 700;
	margin-top: 20px;
	margin-bottom: 5px;
}
.popup_descktop {
	display: block;
}
.popup {
	display: flex;
	padding: 60px 100px;
}
.popup_img {
	margin-right: 80px;
}
.popup_img img {
	border-radius: 50%;
	width: 200px;
	padding: 2px;
	border: 1px solid #007a35;
}
.popup_title {
	font-size: 30px;
	font-weight: 700;
	line-height: 44px;
}
.popup_title .popup_content {
	font-size: 17px;
	font-weight: 400;
	line-height: 21px;
}

/*
	footer
*/

.footer {
	width: 100%;
	height: 161px;
	background-color: #007a35;
	color: #ffffff;
	font-size: 11px;
}
.footer_2 {
	display: flex;
	justify-content: space-between;
}
.left {
	width: 25%;
}
.socials {
	display: flex;
	margin: 30px 0 10px 0;
	justify-content: space-between;
	align-items: center;
	width: 86%;
}
.about a {
	color: inherit;
	font-size: 17px;
	font-weight: 700;
}
.social_icons {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.fb {
	margin-right: 12px;
}
.fb img,
.yt img,
.vk img {
	width: 55%;
	height: auto;
}
.copyright p {
	font-size: 13px;
}
.copyright {
	padding-top: 1px;
}
.right {
	width: 68%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.email {
	margin-top: 4px;
}
.email_text {
	font-size: 13px;
}
.email_address a {
	color: inherit;
	font-size: 17px;
	margin-right: 20px;
}
.logo_horizontal img {
	width: 100%;
	height: auto;
	display: block;
}

/*
	hidden classes (for mobile only)
*/

.close,
.open,
.mobile,
.top_title_mobile,
h2.mobile,
.popup_mobile,
.popup_planshet,
.popup_planshet_comm {
	display: none;
}
#responsive_menu {
    position: absolute;
    visibility: hidden;
    z-index: -9999;
}

.video-container {
    position: relative;
    width: 100%; /* Занимает 100% ширины родительского элемента */
    padding-bottom: 56.25%; /* Пропорция 16:9 (9 / 16 * 100) */
    height: 0; /* Устанавливаем высоту 0 */
    overflow: hidden; /* Скрыть переполнение */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Занимает 100% высоты родительского элемента */
}