/*
	laptop, ipadpro
*/

@media screen and (max-width: 1440px) {
	.wrapper {
		max-width: 1000px;
	}
	.mont_bold,
	.mont {
		letter-spacing: 1px;
	}
	.current-menu-item {
		padding: 10px; 
	}
	.post_item {
		width: 660px;
	}
	.green {
		height: 318px;
	}
	.astafiev_11 img,
	.astafiev_33 img {
		width: 66%;
		height: auto;
	}
	.astafiev_22,
	.astafiev_44 {
		top: -295px;
	}
	.right_sidebar_topics ul li.cat-item {
		font-size: 16px;
	}
	.right_sidebar_topics ul li.cat-item:before,
	.right_sidebar_topics ul li.cat-item:after {
		font-size: 34px;
	}
	.right_sidebar_topics ul li.cat-item:before {
		left: -9px;
	}
	.award {
		font-size: 73px;
	}
	.master_word h3 {
		font-size: 28px;
	}
	.word {
		font-size: 15px;
	}
	.winners_title {
		width: 100%;
	}
	.socials {
		display: flex;
		margin: 20px 0;
		justify-content: space-between;
		width: 100%;
	}
}

/*
	ipad landscape
*/

@media screen and (max-width: 1260px) {
	.wrapper {
		max-width: 786px;
	}
	.current-menu-item {
		padding: 10px; 
	}
	.posts {
		grid-column: 1/10;
	}
	.post_item {
		width: 463px;
	}
	.side_bars {
		grid-column: 11/16;
	}
	.footer {
		height: 131px;
	}
	.about,
	.fb {
		margin-right: 10px;
	}
	.yt {
		margin-right: 0;
	}
}

/*
	ipad portret
*/

@media screen and (max-width: 1050px) {
	.wrapper {
		max-width: 536px;
	}
	.mont_bold,
	.mont {
		font-size: 15px;
		letter-spacing: 1px;
	}
	.top_title {
		height: 36px;
	}
	.top_logo {
		left: 25px;
	}
	.top_logo_img {
		width: 44px;
		height: 76px;
		transition: all ease-in-out 300ms;
	}
	/*.sticky_img {
		width: 25px;
		height: 40px;
		transition: all ease-in-out 300ms;
 	}*/	
 	.top_menu_in li {
		font-size: 14px;
	}
 	.top_menu_in li {
 		margin-right: 25px;
 	}
	.current-menu-item {
		padding: 11px; 
	}
	.post_item {
		width: 286px;
	}
	.post_title h2 {
		font-size: 17px;
	}
	.right_sidebar_topics ul li.cat-item {
		font-size: 11px;
	}
	.right_sidebar_topics ul li.cat-item:before,
	.right_sidebar_topics ul li.cat-item:after {
		font-size: 27px;
	}
	.right_sidebar_topics ul li.cat-item:before {
		left: -8px;
	}
	.top_margin {
		height: 36px;
	}
	.green {
		height: 246px;
	}
	.astafiev_11 img,
	.astafiev_33 img {
		width: 100%;
		height: auto;
	}
	.astafiev_11,
	.astafiev_33 {
		right: 0;
		left: 299px;
	}
	.astafiev_22,
	.astafiev_44 {
		top: -228px;
		left: 0;
		font-size: 18px;
	}
	.wp-block-column:not(:first-child) {
		margin-left: 50px;
	}
	.wp-block-column h3 {
		font-size: 18px;
		line-height: 19px;
		margin-bottom: 16px;
		margin-top: 20px;
	}
	.wp-block-column h2.descktop,
	.master_word_title {
		line-height: 35px;
	}
	.word_1,
	.word_2,
	.word_3 {
		height: 212px;
		padding: 0 20px;
	}
	.word_1 h3,
	.word_2 h3,
	.word_3 h3 {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.word_1 p,
	.word_2 p,
	.word_3 p {
		margin: 0;
	}
	h4 {
		font-size: 17px;
		line-height: 17px;
		padding: 24px 34px;
		margin-top: 50px;
		margin-bottom: 25px;
	}
	.award {
		font-size: 50px;
	}
	.winners_title {
		line-height: 37px;
	}
	.winners_item_img img {
		width: 130px!important;
		height: auto;
	}
	.popup_descktop_comm,
	.popup_descktop {
		display: none;
	}
	.popup_planshet {
		display: block;
	}
	.popup_planshet_comm {
		display: flex;
	}
	.popup {
		padding: 50px 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-left: 25px;
	}
	.popup_img {
		margin-right: 0;
	}
	.popup_img img {
		border-radius: 50%;
		width: 200px;
		padding: 2px;
		border: 1px solid #007a35;
	}
	.popup_title {
		font-size: 18px;
		font-weight: 700;
		line-height: 23px;
		text-align: center;
	}
	.popup_title .popup_content {
		font-size: 13px;
		font-weight: 400;
		line-height: 18px;
		text-align: left;
	}
 	.footer {
 		height: 98px;
 	}
 	.socials {
 		margin: 15px 0 0 0;
 	}
 	.about a,
 	.email_address a {
 		font-size: 13px;
 	}
 	.copyright p,
 	.email_text {
 		font-size: 11px;
 	}
}

/*
	mobile
	landscape
*/

@media screen and (max-width: 768px) {
	/* .wrapper {
		max-width: 490px;
	} */
 	.top_menu_in li {
 		margin-right: 20px;
 	}
	.post_date {
		margin: 12px 0 12px 25px;
	}
	.post-categories {
		margin-top: 10px;
	}
	.post_title {
		margin: 15px 25px;
	}
	.post_title h2 {
		font-weight: normal;
		font-size: 20px;
		line-height: 27px;
	}
	.post_text {
		margin: 0 25px 15px 25px;
	}
	.more {
		margin-left: 0;
		font-size: 15px;
	}
	.posts_more {
		margin-left: 25px;
		font-size: 15px;
	}
	.right_sidebar_topics ul li.cat-item {
		font-size: 10px;
	}
	.right_sidebar_topics ul li.cat-item:before,
	.right_sidebar_topics ul li.cat-item:after {
		font-size: 26px;
	}
	.right_sidebar_topics ul li.cat-item:before {
		left: -7px;
	}
	.wp-block-column:not(:first-child) {
		margin-left: 30px;
	}
	.award {
		font-size: 47px;
	}
 	.footer {
 		height: 98px;
 	}
 	.socials {
 		margin: 15px 0 0 0;
 	}
 	.about a,
 	.email_address a {
 		font-size: 13px;
 	}
 	.copyright p,
 	.email_text {
 		font-size: 11px;
 	}
 	.word {
 		font-size: 13px;
 	}
}

/*
	mobile
	portret
*/

@media screen and (max-width: 660px) {
	/*
		initial settings
	*/

	p {
		font-size: 17px;
	}
	.top_title,
	.top_menu_in,
	.side_bars,
	h4,
	.popup_descktop,
	.popup_planshet {
		display: none;
	}
	.wrapper {
		max-width: 560px;
		padding: 0;
	}
	.wrapper.ecology {
		padding: 0 30px;
	}
	.wrapper.ecology h2 {
		margin-top: 30px;
		margin-bottom: 20px;
	}
	.no_mobile {
		display: none;
	}
	.no_descktop {
		display: block;
	}
	
	/*
		title
	*/

	.top_title_mobile {
		display: flex;
		height: 37px;
		justify-content: center;
		align-items: center;
		margin-left: 70px;
	}
	.mont_bold,
	.mont {
		font-size: 15px;
		letter-spacing: 0;
	}
	.mont_bold {
		text-transform: uppercase;
	}

	/*
		logo
	*/

	.top_logo {
		left: 25px;
	}
	.top_logo_img {
		width: 53px;
		height: 91px;
		transition: all ease-in-out 300ms;
	}
	.sticky_img {
		width: 35px;
		height: 54px;
		transition: all ease-in-out 300ms;
 	}

	/*
		menu
	*/

	.menu li {
		display: block;
	}
	.top_menu_out {
		height: 54px;
	}
	nav.mobile {
		height: 54px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding-right: 44px;
		width: 100%;
		z-index: 9999;
	}
    .menu-mobile-container ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #e8e8e8;
	    flex-direction: column;
	    align-items: flex-start;
        transition: 300ms;
        padding-top: 70px;
		z-index: 9998;
		margin-left: 0;
    }
	.menu-mobile-container ul li {
        margin: 0 0 -3px 0;
        font-size: 20px;
		text-indent: 20px;
		line-height: 60px;
		border-bottom: 2px solid rgba(243, 243, 243, 1);
		border-top: 2px solid rgba(243, 243, 243, 1);
		width: 100%;
		list-style: none;
    }
	.menu-mobile-container ul li a {
		color: #3f3f41;
		font-weight: 400;
		display: block;
		height: 100%;
	}
	.menu-mobile-container ul li:hover {
		background-color: #dbdbdb;
		border-bottom: 1px solid #dbdbdb;
	}
	.menu-mobile-container ul li:hover a {
		color: #3f3f41;
	}
    .menu-mobile-container ul li.menu-item-317, .menu-mobile-container ul li.menu-item-317:hover {
		border-bottom: none;
    }
	.current-menu-item {
		background-color: #f4f4f4;
		padding: 0;
	}
    .close {
    	display: block;
    }
    .close img {
        position: absolute;
        top: 14px;
        right: 18px;
        cursor: pointer;
    }
    .open {
        display: block;
        cursor: pointer;
        margin-right: -24px;
    }
    .open img {
        width: 40px;
        height: 40px;
    }
    #responsive_menu:checked ~ .menu-mobile-container ul {
        right: 0;
    }

	/*
		sidebar for awards pages
	*/

	.right_sidebar_topics {
		margin-left: 25px;
	}

	/*
		content
	*/

	.content {
		background: rgb(232,234,233);
		background: linear-gradient(90deg, rgba(232,234,233,0) 0%, rgba(245,233,210,0) 100%);
	}

	.data {
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 25px;
		padding-top: 20px;
	}
	.posts,
	.posts_award {
		grid-column: 1/3;
	}
	.post_item {
		width: 100%;
	}
	.post_item,
	.post_item_pages {
		margin: 10px 0 15px 0;
	}
	.post_item_pages_2 {
		margin-top: 0;
	}
	.post_date_categories, .post_date_categories a {
		color: #8a8b8c;
	}
	.post_date {
		margin: 12px 0 12px 25px;
		font-weight: 300;
	}
	.post-categories {
		margin-top: 10px;
	}
	.post-categories a {
		font-weight: 300;
	}
	.post_title {
		margin: 15px 25px;
	}
	.post_title h2 {
		font-weight: normal;
		font-size: 20px;
		line-height: 27px;
	}
	.post_text {
		margin: 0 25px 15px 25px;
	}
	.more {
		margin-left: 0;
		font-size: 15px;
	}
	.posts_more {
		margin-left: 25px;
		font-size: 15px;
	}
	.popup_descktop_comm,
	.popup_planshet_comm {
		display: none;
	}
	.popup_mobile_comm {
		display: flex;
	}
	.comments {
		padding: 0 20px;
	}

	/*
		carousel
		common settings
	*/

	.owl-dots {
		margin-top: 4px!important;
	}

	/*
		carousel
		partners
	*/

	.owl_title {
		margin-left: 25px;
	}
	.partners .item {
		width: 190px;
	}
	.partners .item .item_tax {
		font-size: 14px;
		margin-bottom: 3px;
		text-align: center;
	}
	.partners .item .item_txt p {
		font-size: 14px;
	}
	.partners .item .item_txt p a {
		font-size: 14px;
	}

	/*
		owl carousel
		books
	*/

	.books .item .item_img img {
		width: 90%;
	}

	/*
		footer
	*/

	.footer {
		height: 266px;
	}
	.footer_2 {
		display: flex;
		flex-direction: column;
	}
	.left,
	.right {
		padding-left: 25px;
		width: 100%;
	}
	.socials {
		display: flex;
		margin: 20px 0;
		justify-content: space-between;
		width: 100%;
	}
	.vk,
	.fb,
	.yt {
		margin-right: 25px;
	}
	.about a {
		color: inherit;
		font-size: 17px;
		font-weight: 700;
	}
	.fb img,
	.yt img,
	.vk img {
		width: 80%;
		height: auto;
	}
	.right {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.email_address a {
		color: inherit;
		font-size: 15px;
		margin-right: 0px;
	}
	.logo_horizontal img {
		width: 100%;
		height: auto;
		display: block;
	}

	/*
		Astafiev
	*/

	.top_margin {
		height: 0;
	}
	.wp-block-column h2.descktop {
		display: none;
	}
	.green {
		margin-bottom: 31px;
		height: 130px;
	}
	.astafiev_11 img,
	.astafiev_33 img {
		width: auto;
		height: 15vh;
	}
	.astafiev_11,
	.astafiev_33 {
		right: 0;
		left: 250px;
	}
	.astafiev_22,
	.astafiev_44 {
		top: -115px;
		left: 25px;
		font-size: 18px;
	}
	.breadcrumps {
		margin-left: 25px;
	}
	.wp-block-columns {
		padding: 0 25px;
	}
	.wp-block-column:not(:first-child) {
		margin-left: 0;
	}
	.wp-block-column h3 {
		font-size: 18px;
		font-weight: 700;
		line-height: 19px;
		margin-bottom: 16px;
		margin-top: 30px;
	}
	h2.mobile {
		display: block;
		font-size: 17px;
		font-weight: 700;
		line-height: 34px;
		margin-bottom: 17px;
		background-color: #007a35;
		color: #fefefe;
		padding-left: 25px;
		width: 178px;
	}
	#astafiev_more {
		margin-left: 25px;
	}
	.master_word {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-column-gap: 20px;
		grid-row-gap: 20px;
		padding-top: 23px;
		padding-bottom: 68px;
	}
	.word_1,
	.word_2,
	.word_3 {
		grid-column: 1/3;
		height: 143px;
		padding: 0 25px;
	}
	.word_1 h3,
	.word_2 h3,
	.word_3 h3 {
		font-size: 18px;
		margin-bottom: 10px;
	}
	.word_1 p,
	.word_2 p,
	.word_3 p {
		margin: 0;
	}
	.master_word_title {
		font-size: 17px;
		line-height: 34px;
		padding-left: 25px;
		width: 45%;
	}
	.word {
		font-size: 17px;
	}

/* 
	awards
*/

	.award {
		font-size: 44px;
		margin-left: 25px;
	}
	.winners_title {
		font-size: 20px;
		line-height: 27px;
		padding-left: 25px;
		margin-top: 10px;
	}
	.winners {
		margin-top: 30px;
		padding-bottom: 53px;
	}
	.winners_item {
		width: 180px!important;
		height: auto;
	}
	.winners_item_img img {
		width: 126px!important;
		height: auto;
	}
	.popup_mobile {
		display: block;
	}
	.popup {
		padding: 50px 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-left: 25px;
	}
	.popup_img {
		margin-right: 0;
	}
	.popup_img img {
		border-radius: 50%;
		width: 200px;
		padding: 2px;
		border: 1px solid #007a35;
	}
	.popup_title {
		font-size: 18px;
		font-weight: 700;
		line-height: 23px;
		text-align: center;
	}
	.popup_title .popup_content {
		font-size: 13px;
		font-weight: 400;
		line-height: 18px;
		text-align: left;
	}
}