/*!
Theme Name: Osnova tepla
Theme URI: http://underscores.me/
Author: Kirill Riabokobylenko
Author URI: http://underscores.me/
Description: Custom theme for Osnova tepla
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: teplo
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.

Osnova tepla 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.
*/

.breadcrumbs a,
.breadcrumbs span {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.93;
	text-decoration: none;
	color: #cecece
}

.breadcrumbs .breadcrumb_last {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.93;
	text-decoration: none;
	color: #f8b006;
}

.ajax-loader {
	position: absolute !important;
}

.header-menu li {
	display: list-item;
}

.header-menu a {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.71;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
}

.header-menu a:hover {
	text-decoration: underline;
}

.header-catalog__menu a {
	padding: 8px 0;
	width: 100%;
	display: block;
	font-weight: 400;
	font-size: 14px;
	line-height: 17px;
	color: #9d9d9d;
	text-decoration: none;
	-webkit-transition: .3s all;
	-o-transition: .3s all;
	transition: .3s all;
}

.header-catalog__menu a:hover {
	color: #f8b006;
}

.lang__menu {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.lang__menu .menu-item-has-children {
	position: relative;
	padding: 20px 20px 20px 10px;
	border-radius: 10px;
	background-color: #f2f2f2;
}

.lang__menu .menu-item-has-children::after {
	position: absolute;
	content: '';
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	width: 10px;
	height: 6px;
	background-image: url("data:image/svg+xml,%3Csvg width='7' height='5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.5 1l3 3 3-3' stroke='%23459CAF'/%3E%3C/svg%3E");
	background-size: cover;
	transition: 0.25s all;
}

.menu-item-has-children:hover::after {
	transform: translateY(-50%) rotate(180deg);
}

.lang__menu .menu-item-has-children a {
	font-size: 11px;
	text-decoration: none;
	color: #459caf;
}

.menu-item-has-children .sub-menu {
	/* hidden START */
	opacity: 0;
	pointer-events: none;
	/* hidden END */
	position: absolute;
	top: 100%;
	left: 0;
	padding: 5px;
	border-radius: 10px;
	width: 100%;
	list-style-type: none;
	background-color: #f2f2f2;
	transition: 0.25s all;
}

.menu-item-has-children:hover .sub-menu {
	opacity: 1;
	pointer-events: all;
	z-index: 2;
}

.sub-menu li {
	text-align: center;
}

.sub-menu li:not(:last-child) {
	margin-bottom: 5px;
}

.btn_center {
	margin: 0 auto;
}

.footer-navigation {
	width: 80%;
	margin-right: 0 !important;
}

.footer-navigation a {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.86;
	color: #adadad;
	text-decoration: none;
	transition: 0.25s all;
}

.footer-navigation a:hover {
	color: #f8b006;
}

.footer-navigation__columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 10px;
}

#filter-btn {
	padding: 10px;
	width: 100%;
}

/**************************\
Basic Modal Styles
\**************************/

.modal {
	font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, helvetica neue, helvetica, ubuntu, roboto, noto, segoe ui, arial, sans-serif;
}

.modal__overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal__container {
	position: relative;
	background-color: #fff;
	padding: 30px;
	max-width: 768px;
	width: 100%;
	max-height: 100vh;
	border-radius: 4px;
	/* overflow-y: auto; */
	box-sizing: border-box;
}

.modal__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal__title {
	margin-top: 0;
	margin-bottom: 0;
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.25;
	color: #00449e;
	box-sizing: border-box;
}

.modal__close {
	position: absolute;
	top: -40px;
	right: -10px;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.modal__header .modal__close:before {
	content: "\2715";
	font-size: 30px;
	color: #fff;
}

.modal__content {
	line-height: 1.5;
	color: rgba(0, 0, 0, .8);
}

.modal__content h2 {
	font-size: 36px;
	font-weight: 700;
	line-height: .88;
	text-align: center;
	color: #000;
	margin-bottom: 15px;
}

.modal__content form {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.modal__content form p {
	width: 100%;
}

.modal__content input {
	width: 100%;
	margin-bottom: 15px;
	padding: 17px 20px;
	border: 1px solid #cecece;
	width: 100%;
	border-radius: 4px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.4;
}

.modal__btn {
	font-size: .875rem;
	padding-left: 1rem;
	padding-right: 1rem;
	padding-top: .5rem;
	padding-bottom: .5rem;
	background-color: #e6e6e6;
	color: rgba(0, 0, 0, .8);
	border-radius: .25rem;
	border-style: none;
	border-width: 0;
	cursor: pointer;
	-webkit-appearance: button;
	text-transform: none;
	overflow: visible;
	line-height: 1.15;
	margin: 0;
	will-change: transform;
	-moz-osx-font-smoothing: grayscale;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	transition: -webkit-transform .25s ease-out;
	transition: transform .25s ease-out;
	transition: transform .25s ease-out, -webkit-transform .25s ease-out;
}

.modal__btn:focus,
.modal__btn:hover {
	-webkit-transform: scale(1.05);
	transform: scale(1.05);
}

.modal__btn-primary {
	background-color: #00449e;
	color: #fff;
}



/**************************\
Demo Animation Style
\**************************/
@keyframes mmfadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes mmfadeOut {
	from {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

@keyframes mmslideIn {
	from {
		transform: translateY(15%);
	}

	to {
		transform: translateY(0);
	}
}

@keyframes mmslideOut {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-10%);
	}
}

.micromodal-slide {
	display: none;
}

.micromodal-slide.is-open {
	display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
	animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
	animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
	animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
	animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
	will-change: transform;
}

.text__counter {
	max-width: 700px;
	margin-top: 75px;

}

.text__counter p {
	font-size: 16px;
	font-weight: 600;
	opacity: 0.9;
}



/**/


@media (min-width: 1200px) {

	.header-menu li {
		position: relative;
	}

	.header__bottom .menu-item-has-children .sub-menu {
		max-width: 265px;
		top: 63px;
		left: -25px;
		border-radius: 0;
		width: 160%;
		background-color: #fff;
		padding-left: 15px;
		padding-top: 20px;
		box-shadow: 4px 4px 8px 0 rgb(0 0 0 / 20%);
		padding-bottom: 20px;
	}

	.header__bottom .sub-menu li:not(:last-child) {
		margin-bottom: 15px;
	}

	.header__bottom .sub-menu li {
		text-align: left;

	}

	.header__bottom .menu-item-has-children .sub-menu a {
		padding: 8px 0;
		font-size: 14px;
		line-height: 17px;
		font-weight: 300;
		text-transform: none;
		color: #9d9d9d;
		transition: .3s all;
		text-align: left;
	}


	.header__bottom {
		padding: 0 !important;
	}

	.header-menu>li {
		padding: 20px 0;
	}


}

.stk__5perc {

	left: 25% !important;
}

.stk__15perc {
	left: 75% !important;

}

.home .calculator {
	margin-bottom: 0;
}

@media (min-width: 1700px) {

	body .cost-calculator__img {
		max-width: 600px;
	}



}

@media (min-width: 4500px) {

	body .cost-calculator__img {
		max-width: 2200px;
	}


}


.page-id-928 aside {

	display: none !important;
}


@media (min-width: 1000px) {

	.calculator .title-1 {

		text-transform: uppercase;
	}

	.calculator .subtitle-2 {

		font-size: 18px;
		margin-bottom: 30px;
		margin-top: 30px
	}

	.calculator div a {
		max-width: 270px;

	}

}

.postid-449 .btn-size-1,
.postid-464 .btn-size-1,
.postid-473 .btn-size-1,
.postid-443 .btn-size-1 {
	display: none;

}


.items__ext .product-card {
	margin-right: 20px;
}


.postid-449 .items__ext,
.postid-464 .items__ext,
.postid-473 .items__ext,
.postid-443 .items__ext {
	display: flex;
	margin-top: 25px;
	margin-bottom: 60px
}

.postid-449 .brand .items__ext p,
.postid-464 .brand .items__ext p,
.postid-473 .brand .items__ext p,
.postid-443 .brand .items__ext p {
	margin-bottom: 0;
}


.page-id-928 .entry-header {
	display: none;
}

#menu-item-293 .sub-menu {
	max-height: 450px;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: 200%;

}

.catalog__result .product-card a img {
	height: 100%;
}

@media screen and (min-width:992px) {
	.product-page__gallery .owl-carousel .owl-item img {
		width: auto;
		height: 100%;
	}

	.product-page__gallery .gallery__big-item,
	.product-page__gallery .owl-carousel .owl-stage {
		height: 100%;
	}

	.product-page__gallery .owl-carousel .owl-item,
	.product-page__gallery .owl-carousel .owl-stage-outer {
		height: inherit;
	}
}

.aligncenter {
	margin: 0 auto;
}

.ct-modal {
	position: fixed;
	opacity: 0;
	pointer-events: none;
	top: 0%;
	left: 0%;
	z-index: 1000;
	width: 100%;
	height: 100%;
	background-color: #0000006f;
	transition: 0.25s all;
}

.ct-modal.active {
	opacity: 1;
	pointer-events: all;
}

.ct-modal__content {
	position: absolute;
	padding: 25px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fbfbfb;
}

.ct-modal__content .input {
	width: 100%;
}

.ct-modal__content .input:not(:last-child) {
	margin-bottom: 30px;
}

.ct-modal__content input[type="text"] {
	padding: 20px;
	text-align: left;
	background-color: #fff;
	border: none;
	outline: 0;
	border-radius: 4px;
	width: 100%;
	-webkit-font-feature-settings: 'pnum'on, 'lnum'on;
	font-feature-settings: 'pnum'on, 'lnum'on;
}

.ct-modal__content input[type="submit"] {
	display: block;
	width: 100%;
	padding: 20px 30px;
	background-color: #e94216;
	font-size: 18px;
	color: #fff;
	border: none;
	cursor: pointer;
	transition: 0.25s all;
}

.ct-modal__content input[type="submit"]:hover {
	background-color: #f8b006;
}

.ct-modal__close {
	position: absolute;
	top: 5px;
	right: 5px;
	width: 40px;
	height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px solid rgba(0, 0, 0, 0.3);
	border-radius: 50%;
}

.ct-modal__close svg {
	width: 20px;
	height: 20px;
}

.ct-modal__open {
	cursor: pointer;
}

.brand__goods {
	width: 100%;
	flex-basis: 100%;
}

.brand__goods .product-card {
	margin-bottom: 15px;
}

.category-section p a {
    text-decoration: none;
}

@media (max-width: 767px) {
	.brand__goods .btn-primary {
		margin-bottom: 0 !important;
	}
	div.category-section-card__img img {
		height: 80px;
	}
}