/*!
Theme Name: customthemes (actual)
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: customthemes
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.

customthemes 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
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

@keyframes css-animation-rotate {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(-360deg);
	}
}

.section-1__video-play {
	animation: css-animation-rotate 10s linear infinite;
}
.section-1__video-play svg {
	animation: css-animation-rotate2 10s linear infinite;
}
@keyframes css-animation-rotate2 {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

.lwptoc_title {
	font-size: 36px;
	line-height: 110%;
}
.lwptoc_header {
	margin-bottom: 15px !important;
}
.lwptoc_item {
	margin-top: 7px !important;
}
@media (max-width: 61.9988em) {
	.lwptoc_title {
		font-size: 32px;
	}
}
@media (max-width: 47.9988em) {
	.lwptoc_title {
		font-size: 30px;
	}
}
@media (max-width: 35.9988em) {
	.lwptoc_title {
		font-size: 23px;
	}
}
.lwptoc_item_label {
	font-size: 18px;
	color: rgba(92, 122, 94, 1);
}
.lwptoc_item_number {
	display: none;
}
.lwptoc-notInherit .lwptoc_i DIV.lwptoc_item A {
	position: relative;
	padding-left: 15px;
}
.lwptoc-notInherit .lwptoc_i DIV.lwptoc_item A::before {
	content: "";
	top: 8px;
	left: 0;
	position: absolute;
	background-color: #5c7a5e;
	border-radius: 50%;
	width: 5px;
	height: 5px;
}
.lwptoc-light .lwptoc_i {
	background: transparent !important;
	padding: 0 !important;
}
.lwptoc-light .lwptoc_i a {
	color: rgba(92, 122, 94, 1) !important;
}
.lwptoc-light .lwptoc_i a:hover,
.lwptoc-light .lwptoc_i a .lwptoc-notInherit .lwptoc_i div a:hover {
	border-color: rgba(92, 122, 94, 1) !important;
	color: rgba(92, 122, 94, 1) !important;
}
@media (max-width: 767.98px) {
	.lwptoc-notInherit .lwptoc_i DIV.lwptoc_item A::before {
		top: 6px;
	}
}

.header__search-results {
	padding: 10px;
	position: absolute;
	background: white;
	width: 100%;
}
.header__search-results-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.header__search-results-list a:hover {
	color: rgba(92, 122, 94, 1);
}

/*стили для модуля*/
.header__search-result-content {
	display: flex;
	gap: 0 10px;
	flex-wrap: wrap;
	align-items: center;
}
.header__search-result-type,
.header__search-result-category {
	color: #8080808f;
	font-size: 12px;
	position: relative;
	padding-left: 15px;
}
.header__search-result-type::before,
.header__search-result-category::before {
	content: "";
	top: 10px;
	left: 0;
	position: absolute;
	background-color: #5c7a5e;
	border-radius: 50%;
	width: 5px;
	height: 5px;
}
.header__search-result-item:not(:last-of-type) {
	border-bottom: 1px solid rgba(92, 122, 94, 1);
}
@media (max-width: 767.98px) {
	.header__search-result-type::before,
	.header__search-result-category::before {
		top: 8px;
	}
}
/*стили для модуля*/

/* WP admin bar: never hide behind fixed headers/overlays */
#wpadminbar {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	z-index: 99999 !important;
}
body.admin-bar {
	padding-top: 32px;
}
@media (max-width: 782px) {
	body.admin-bar {
		padding-top: 46px;
	}
}

/* Referals page: hero dark gradient overlay (screen #1) */
body.page-template-page-referals .section-1.section-1_ref {
	position: relative;
}
body.page-template-page-referals .section-1.section-1_ref::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(89.44deg, rgba(15, 16, 18, 0.5) 37.73%, rgba(15, 16, 18, 0) 58.55%);
	border-radius: inherit;
	pointer-events: none;
	z-index: 0;
}
body.page-template-page-referals .section-1.section-1_ref > * {
	position: relative;
	z-index: 1;
}

/* Referals page: partners form block tweaks */
body.page-template-page-referals .section-7.section-7_partners,
body.page-referals .section-7.section-7_partners,
body.page-clients .section-7.section-7_partners,
.section-7.section-7_partners {
	margin-bottom: 120px !important;
	padding-bottom: 120px;
}

body.page-template-page-referals .section-7.section-7_partners .section-7__title,
body.page-referals .section-7.section-7_partners .section-7__title,
.section-7.section-7_partners .section-7__title {
	color: #1a1a1a !important;
}

body.page-template-page-referals .section-7.section-7_partners .form__label,
body.page-referals .section-7.section-7_partners .form__label,
.section-7.section-7_partners .form__label {
	color: #939393 !important;
}

body.page-template-page-referals .section-7.section-7_partners .form__checkbox-text,
body.page-referals .section-7.section-7_partners .form__checkbox-text,
.section-7.section-7_partners .form__checkbox-text,
body.page-template-page-referals .section-7.section-7_partners .form__checkbox-text a,
body.page-referals .section-7.section-7_partners .form__checkbox-text a,
.section-7.section-7_partners .form__checkbox-text a {
	color: #1a1a1a !important;
}

/* Remove spacing above the form inside this block */
body.page-template-page-referals .section-7.section-7_partners .section-7__form,
body.page-referals .section-7.section-7_partners .section-7__form,
.section-7.section-7_partners .section-7__form {
	margin-top: 0 !important;
}

/* Referals page: section-8 cards gradient overlay */
/* Scoped to page-referals.php section (guaranteed selector hit) */
.section-8.section-8_ref-mask .section-8__items_v2 .section-8__item {
	position: relative !important;
	overflow: hidden !important;
}
.section-8.section-8_ref-mask .section-8__items_v2 .section-8__item > img {
	z-index: 0 !important;
}
.section-8.section-8_ref-mask .section-8__items_v2 .section-8__item::after {
	position: absolute !important;
	content: "" !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	background: linear-gradient(74.62deg, rgba(15, 16, 18, 0.8) 6.58%, rgba(15, 16, 18, 0) 69.25%) !important;
	border-radius: inherit !important;
	pointer-events: none !important;
	z-index: 1 !important;
}
.section-8.section-8_ref-mask .section-8__items_v2 .section-8__item .section-8__item-wr {
	position: relative !important;
	z-index: 2 !important;
}
#showroom-modal .section-7__title,
#showroom-modal .section-7__subtitle {
	color: #000 !important;
}
.quiz2-card__img {
	position: relative;
	overflow: visible;
}
#reviews-popup {
	max-width: 1200px;
	width: 100%;
}
@media (max-width: 47.9988em) {
	.section-7::after #showroom-modal .section-7__title,
	#showroom-modal .section-7__subtitle {
		color: #fff !important;
	}
}

/*--------------------------------------------------------------
# Страница 404
--------------------------------------------------------------*/
.error404 {
	padding: 60px 0 100px;
	background: #fff;
}
.error404__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
	color: #0f1012;
}
.error404__hero {
	max-width: 720px;
	margin-bottom: 64px;
}
.error404__code {
	margin: 0 0 8px;
	font-size: 72px;
	line-height: 1;
	font-weight: 700;
	color: #e85122;
}
.error404__title {
	margin: 0 0 20px;
	font-size: 40px;
	line-height: 1.15;
	font-weight: 700;
	color: #0f1012;
}
.error404__lead {
	margin: 0 0 32px;
	font-size: 18px;
	line-height: 1.55;
	color: #4a4d55;
}
.error404__search {
	margin-bottom: 28px;
}
.error404__search .search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 620px;
}
.error404__search .search-form label {
	flex: 1 1 320px;
	margin: 0;
}
.error404__search .search-field {
	width: 100%;
	height: 56px;
	padding: 0 20px;
	font-size: 17px;
	color: #0f1012;
	background: #f5f5f7;
	border: 1px solid #dcdde1;
	border-radius: 10px;
	outline: none;
	transition: border-color 0.2s ease;
}
.error404__search .search-field:focus {
	border-color: #e85122;
}
.error404__search .search-submit {
	height: 56px;
	padding: 0 32px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #e85122;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.error404__search .search-submit:hover {
	background: #c9410f;
}
.error404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.error404__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 32px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: #e85122;
	border: 1px solid #e85122;
	border-radius: 10px;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.error404__button:hover {
	background: #c9410f;
	border-color: #c9410f;
	color: #fff;
}
.error404__button_ghost {
	color: #e85122;
	background: transparent;
}
.error404__button_ghost:hover {
	color: #fff;
	background: #e85122;
}
.error404__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
}
.error404__subtitle {
	margin: 0 0 18px;
	padding-bottom: 12px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #0f1012;
	border-bottom: 2px solid #e85122;
}
.error404__links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.error404__links li {
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.45;
	color: #4a4d55;
}
.error404__links a {
	color: #e85122;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}
.error404__links a:hover {
	color: #c9410f;
}
.error404__empty {
	margin: 0;
	color: #4a4d55;
}

@media (max-width: 991.98px) {
	.error404__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px;
	}
	.error404__title {
		font-size: 32px;
	}
	.error404__code {
		font-size: 56px;
	}
}

@media (max-width: 575.98px) {
	.error404 {
		padding: 40px 0 64px;
	}
	.error404__cols {
		grid-template-columns: minmax(0, 1fr);
	}
	.error404__hero {
		margin-bottom: 44px;
	}
	.error404__title {
		font-size: 26px;
	}
	.error404__lead {
		font-size: 16px;
	}
	.error404__search .search-submit,
	.error404__button {
		width: 100%;
	}
}
