/*!
Theme Name: theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: theme
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.

theme is based on Underscores https://underscores.me/, (C) 2012-2020 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/












.first-section__article-image picture, .first-section__article-image img {
	min-height: 140px;
}

.first-section__article:first-child .first-section__article-image picture, .first-section__article:first-child .first-section__article-image img {
	min-height: 400px;
	max-height: 450px;
}
body .articles__image picture,body  .articles__image img {
	height: 180px;
}
@media screen and (min-width: 960px) { 
	body .quiz__image {
		position: absolute;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		width: clamp(220px, 20vw, 270px);
		height: clamp(220px, 20vw, 270px);
		z-index: 2;
		left: -30px;
		top: -40px;
		-webkit-transform: rotate(-5deg);
		-ms-transform: rotate(-5deg);
		transform: rotate(-5deg);
		-webkit-transition: all 0.3s ease-in;
		transition: all 0.3s ease-in;
	}
}
body .filters-section__item-image picture, body .filters-section__item-image img {
	height: 180px;
}
body .usefull-section__material-image picture, body .usefull-section__material-image img {
	height: 120px;
}
body .interesting-section__tab button {
	pointer-events: auto!important;
}
label.topics select#topics {
	width: 100%;
}
body .main-form label textarea {
	height: 130px;
}
.header-menu__language a {
	text-transform: uppercase;
}
body .article__content .article__aside-download {
	display: inline-flex;
	width: auto;
}
.article__content-block i, .article__content-block i p {
	font-style: italic;
}
body .article__content {
	align-items: flex-start;
	gap: 30px;
}
.article__feedback-text p {
	font-family: var(--font-second);
	font-size: 18px;
	line-height: 167%;
	font-weight: 300;
	font-style: italic;
	letter-spacing: -0.02em;
}
.article__feedback-avatar img {
	max-width: 75px;
}
.mailpoet_form {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
}
.mailpoet_paragraph input {
	height: 54px;
	width: 100%;
	position: relative;
	border-radius: 100px;
	padding: 14px 24px;
	background: rgba(var(--bg-a), 1);
	-webkit-box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.12);
	padding-left: 20px !important;
}
.mailpoet_paragraph label.mailpoet-screen-reader-text {
	display: none;
}
.mailpoet_form .mailpoet_paragraph {
	width: 100%;
}
.mailpoet_form .mailpoet_paragraph.last {
	position: absolute;
	right: 65px;
}
.mailpoet_form .mailpoet_paragraph.last input.mailpoet_submit {
	position: absolute;
	height: 50px;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	font-family: var(--font-second);
	font-size: 18px;
	line-height: 167%;
	font-weight: 500;
	letter-spacing: -0.02em;
	padding: 10px 16px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	gap: 10px;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e594aa), to(#c069d8)), -webkit-gradient(linear, left top, left bottom, color-stop(0, #5caced), to(#2f50b0));
	background: linear-gradient(180deg, #e594aa 0, #c069d8 100%), linear-gradient(180deg, #5caced 0, #2f50b0 100%);
	border-radius: 100px;
	color: rgba(var(--cl-a), 1);
	-webkit-transition: all 0.4s ease;
	transition: all 0.4s ease;
	width: 150px;
	max-width: 150px;
	right: 0;
	top: -10px;
}


.filters-section__box .main-button.main-button--green {
	display: none;
}



@media screen and (max-width: 960px) { 
	.mailpoet_form .mailpoet_paragraph.last input.mailpoet_submit {
		position: relative;
		top: auto;
		left: auto;
		margin: 0;
		width: 100%;
		max-width: 100%;
	}

	.mailpoet_form .mailpoet_paragraph.last {
		position: relative;
		width: 100%;
		display: flex;
		right: auto;
	}

	#mailpoet_form_1 form.mailpoet_form {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
	.subscribe-section__form {
		padding-bottom: 0;
	}

	#mailpoet_form_1 form.mailpoet_form {
		padding: 0 !important;
	}

	.filters-section__box .main-button.main-button--green, .filters-section__box .filter-menu__clear {
		display: block !important;
	}
	.filters-section__box {
		position: fixed !important;
		z-index: 50;
		left: 0;
		max-width: 100%;
		top: 0;
		bottom: 0;
		width: 100%;
		background: rgba(var(--bg-a), 1);
		padding: 38px 16px 32px;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-transition: .4s;
		transition: .4s;
		height: 100dvh;
		overflow-y: auto;
		display: flex;
		flex-direction: column;
		grid-gap: 32px;
		-webkit-transform: translate(120%);
		-ms-transform: translate(120%);
		transform: translate(120%);
	}
	.filters-section__box.active-filtr {
		-webkit-transform: translate(0);
		-ms-transform: translate(0);
		transform: translate(0);
	}
	.filters-section__box.active-filtr .filters-section__controls.category-page {
		display: flex;
		flex-direction: column;
		margin-top: 50px;
	}
	body .categories__body.active {
		z-index: 9 !important;
	}

	.active-filtr .select__header {
		padding-right: 16px;
	}
	.filters-section__box.active-filtr .filters-section__controls.category-page .search {
		display: flex;
	}
	button.filters-section__btn.close-filtr {
		font-size: 0;
		background-image: url(/wp-content/themes/theme/img/close-01.svg);
		background-size: 20px;
		z-index: 99;
		position: fixed;
		right: 0;
		margin-top: -20px;
		background-repeat: no-repeat;
	}

	button.filters-section__btn.close-filtr svg {
		opacity: 0;
	}
}