/*!
Theme Name: LabnyDom
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: labnydom
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.

LabnyDom 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 */
.header-open {
	height: 100vh;
	overflow: scroll;
}

.header ul .sub-menu {
	display: none;
}

.footer ul .sub-menu {
	display: none;
}

.spollers__item {
	position: relative;
}

.black-title {
	background-image: url(dist/img/black-title.png) !important;
}

.portfolio-item__title-div {
	max-width: 120px;
}

.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	font-weight: 700;
	margin-bottom: 20px;
	margin-top: 30px;
	font-size: 36px;
}

.content p {
	margin-bottom: 20px;
}

.content ol,
.content ul {
	padding-left: 70px;
	margin-bottom: 20px;
}

.content ul li {
	list-style: disc;
}

.content__wrapper-img {
	display: grid;
	grid-template-areas: "a  b"
		"a c";
	column-gap: 36px;
	row-gap: 23px;
	margin-top: 20px;
	margin-bottom: 20px;
}

@media(max-width:767.98px) {
	.content__wrapper-img {
		gap: 10px;
	}
}

.content__wrapper-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content__wrapper-img img:nth-child(1) {
	grid-area: a;
}

.content__wrapper-img img:nth-child(2) {
	grid-area: b;
}

.content__wrapper-img img:nth-child(3) {
	grid-area: c;
}

.contact-info__phone {
	color: #000;
	font-family: eurof;
	font-size: 33px;
	font-weight: 500;
	margin-top: 50px;
	display: block;
	margin-bottom: 27px;
}

.contact-info__text {
	color: #000;
	font-size: 24px;
	font-weight: 300;
	margin-bottom: 27px;
}

.contact-info__grid {
	display: flex;
	justify-content: space-between;
	gap: 100px;
}

.contact-info__col {
	display: flex;
	flex-direction: column;
}

.contact-info__btn {
	gap: 26px;
	margin-bottom: 12px;
	color: #000;
	font-family: PoiretOne;
	font-size: 27px;
	height: 63px;
	padding: 5px !important;
	padding-left: 70px !important;
	padding-right: 70px !important;
	justify-content: center;
	align-items: center;
	display: grid !important;
	grid-template-columns: 30px 1fr;
}

@media(max-width:991.98px) {
	.contact-info__grid {
		gap: 15px;
	}

	.contact-info__btn {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}

@media(max-width:767.98px) {
	.contact-info__grid {
		gap: 15px;
		flex-direction: column;
	}

	.contact-info__btn {
		max-width: 200px;
		height: 33px;
		font-size: 14px !important;
	}

	.contact-info__phone {
		font-size: 21px;
		margin-top: 10px;
	}

	.contact-info__text {
		font-size: 14px;
		margin-bottom: 15px;
	}
}

.hero-map {
	position: absolute;
	width: 68%;
	height: 100%;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin-left: auto;
}

.hero-map div {
	width: 100%;
	height: 100%;
}

.hero-map div iframe {
	width: 100%;
	height: 100%;
}

.hero__wrapper-map {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 50px;
}

.hero__content-map {
	position: relative;
	z-index: 1;
}

@media(max-width:1399.98px) {
	.hero__content-map .hero-abs {
		top: 180px;
	}
}

@media(max-width:767.98px) {
	.hero__content-map .hero-abs {
		top: 94px;
	}
}

@media(max-width:479.98px) {
	.hero__content-map .hero-abs {
		top: 59px;
	}
}

.header-logo::before {
	z-index: 2;
}

html {
	scroll-behavior: smooth;
}

.webp .header-logo::before {
	background-image: url(./dist/img/header-before.png);
}

/* .header-logo::after {
	content: '';
	background-image: url(./dist/img/header-sq.png);
	background-size: cover;
	background-repeat: no-repeat;
	position: absolute;
	width: 286px;
	height: 243px;
	display: block;
	z-index: 3;
	left: 0;
	top: 199px;
} */

/* @media(max-width:1799.98px) {
	.header-logo::after {
		top: 115px;
	}
} */

/* @media(max-width:1399.98px) {
	.header-logo::after {
		width: 200px;
		height: 167px;
	}
} */

/* @media(max-width:1299.98px) {
	.header-logo::after {
		width: 141px;
		height: 109px;
		top: 110px;
	}
}

@media(max-width:1199.98px) {
	.header-logo::after {
		width: 133px;
		height: 82px;
		top: 110px;
	}
}

@media(max-width:1079.98px) {
	.header-logo::after {
		top: 93px;
	}
}

@media(max-width:1023.98px) {
	.header-logo::after {
		width: 122px;
		top: 84px;
	}
}

@media(max-width:991.98px) {
	.header-logo::after {
		width: 94px;
		top: 93px;
	}
} */

/* @media(max-width:767.98px) {
	.header-logo::after {
		height: 50px;
		width: 80px;
		top: 67px;
	}
}

@media(max-width:479.98px) {
	.header-logo::after {
		height: 44px;
		width: 62px;
		top: 52px;
	}
}

@media(max-width:379.98px) {
	.header-logo::after {
		height: 44px;
		width: 52px;
		top: 45px;
	}
} */

.header-phone a {
	position: relative;
}

.header-phone a::before {
	webkit-transition: all .3s ease;
	-o-transition: all .3s ease;
	transition: all .3s ease;
	content: "";
	position: absolute;
	width: 0%;
	height: 1px;
	background-color: #667496;
	opacity: 0;
	visibility: hidden;
	left: 0;
	bottom: -4px;
}

.header-phone a:hover::before {
	opacity: 1;
	visibility: visible;
	width: 100%;
}

.order .__container {
	position: relative;
}

.order .__container:after {
	content: '';
	background-image: url(./dist/img/order-d.png);
	width: 270px;
	height: 230px;
	position: absolute;
	bottom: -75px;
	left: 0;
	z-index: -1;
}

._header-scroll .header-logo::after {
	display: none;
}

.black-title {
	max-width: 440px;
}

input {
	outline: none;
}

.popup-close {
	width: 85px;
	height: 85px;
	border: 1px solid #707070;
	background: rgba(255, 255, 255, .7);
	position: absolute;
	top: 0px;
	right: 0px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.popup-close img {
	width: 40px;
	height: 40px;
}

.popup-close::after {
	content: "";
	background-image: url(./dist/img/icons/burger2.svg);
	background-size: cover;
	width: 23px;
	height: 23px;
	position: absolute;
	left: 0;
	top: 0;
}

@media(max-width:991.98px) {
	.popup-close {
		width: 50px;
		height: 50px;
	}

	.popup-close::after {
		width: 15px;
		height: 15px;
	}

	.popup-close img {
		width: 16px;
		height: 16px;
	}
}

@media(max-width:766.98px) {
	.popup__content {
		padding-top: 35px;
	}
}

.about {
	padding-bottom: 40px;
}

.about-text {
	-ms-flex: 878px 0 1 !important;
	flex: 878px 0 1 !important;
}

.breadcrumbs {
	padding-top: 30px;
	padding-bottom: 30px;
	color: #ACACAC;
	font-size: 15px;
	font-weight: 300;
}

.breadcrumb_last {
	text-decoration-line: underline;
}

@media(max-width:1439.98px) {
	.portfolio-item__title-div {
		max-width: 116px;
	}

	.portfolio-item__title {
		left: 70%;
	}
}

@media(max-width:1359.98px) {
	.portfolio-item__title-div {
		max-width: 100px;
	}

	.portfolio-item__title {
		left: 73%;
	}
}

.btn-up {
	position: fixed;
	background-color: #D9D9D9;
	left: 20px;
	bottom: 90px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.15s ease-in-out, transform 0.3s ease-in-out;
	color: #667496;
	width: 60px;
	height: 60px;
	opacity: 1;
	transform: translateY(0);
}

.btn-up::before {
	content: "";
	width: 100%;
	height: 100%;
	background: transparent no-repeat center center;
	background-size: 100% 100%;
	background-image: url(./dist/img/up.png);
}

.btn-up_hide {
	display: none;
}

.btn-up_hiding {
	opacity: 0;
	transform: translateY(100px);
}

.btn-up-icon {
	width: 40px;
	height: 40px;
	fill: currentcolor;
}

@media (hover: hover) and (pointer: fine) {
	.btn-up:hover {}
}

.portfolio-swiper {
	height: 380px !important;
}

@media(max-width:767px) {
	.portfolio__wrapper {
		height: 380px !important;
		align-items: center !important;
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
	}

	.single .portfolio__wrapper {
		height: auto !important;
		align-items: center !important;
		-webkit-box-align: center !important;
		-ms-flex-align: center !important;
	}
}


.swiper-slide-next {
	transform: scale(1.4) !important;
	z-index: 10;
}

.swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	border: 0.5px solid #667496;
	border-radius: 0 !important;
}

.swiper-pagination-bullet-active {
	background-color: #667496;
}

.portfolio-swiper {
	display: none;
}

@media(max-width:767.98px) {
	.portfolio-grid-desctop {
		display: none;
	}

	.portfolio-swiper {
		display: block;
	}

	.portfolio-item__title {
		font-size: 18px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.btn-up {
		width: 40px;
		height: 40px;
	}

	.portfolio-item__title-span {
		font-size: 16px;
		padding-top: 10px;
	}
}

@media(max-width:619.98px) {
	.portfolio-item__title {
		font-size: 16px;
		padding-left: 10px;
		padding-right: 5px;
		left: 76%;
	}

	.portfolio__wrapper {
		height: 262px !important;
	}

	.portfolio-swiper {
		height: 300px !important;
	}

	.portfolio-item__title-span {
		font-size: 14px;
		line-height: 1;
		padding-top: 10px;
	}
}

@media(max-width:539.98px) {
	.portfolio-item__title {
		left: 72%;
	}

	.portfolio__wrapper {
		height: 215px !important;
	}

	.portfolio-swiper {
		height: 250px !important;
	}

	.portfolio-item__title-span {
		font-size: 12px;
		padding-top: 5px;
		margin-left: auto;
	}
}

@media(max-width:459.98px) {
	.portfolio-item__title {
		left: 68%;
	}

	.portfolio-item__title-span {
		font-size: 8px;
	}

}

@media(max-width:399.98px) {
	.portfolio-item__title {
		left: 67%;
		font-size: 14px;
	}

	.portfolio__wrapper {
		height: 160px !important;
	}

	.portfolio-swiper {
		height: 200px !important;
	}
}

@media(max-width:359.98px) {
	.portfolio-item__title {
		left: 67%;
		font-size: 14px;
		padding-left: 5px;
	}

	.portfolio__wrapper {
		height: 140px !important;
	}

	.portfolio-swiper {
		height: 180px !important;
	}
}

.input.hidden {
	display: none;
}

* {
	scrollbar-width: thin;
	scrollbar-color: #667496 #dedede;
}

/* для Chrome/Edge/Safari */
*::-webkit-scrollbar {
	height: 12px;
	width: 5px;
}

*::-webkit-scrollbar-track {
	background: #dedede;
}

*::-webkit-scrollbar-thumb {
	background-color: #667496;
	border-radius: 5px;
}

.block__more {
	display: none;
}

.about-text__case {
	-ms-flex: 100% 0 1 !important;
	flex: 100% 0 1 !important;
}

.footer-phone {
	white-space: nowrap;
}

.footer-category a {
	white-space: nowrap;
}

@media(max-width:1340px) {
	.footer-category {
		margin-right: 30px;
	}

	.footer-menu {
		margin-right: 10px;
	}
}

@media(max-width:1130px) {
	.footer__wrapper {
		flex-wrap: wrap;
	}

	.footer-right {
		margin-top: 20px;
	}
}

@media(max-width:380px) {
	.footer-category {
		font-size: 15px;
		margin-right: 0 !important;
	}

	.footer__wrapper {
		row-gap: 19px;
	}

	.footer-menu {
		line-height: 180%;
	}
}

.black-title {
	background-color: #000;
	position: relative;
	background-image: none !important;
}

.black-title:after {
	content: '';
	background-image: url(dist/img/sq.png) !important;
	background-repeat: no-repeat;
	background-size: contain;
	width: 286px;
	height: 243px;
	position: absolute;
	bottom: 50px;
	right: 50px;
}

.contact-map {
	flex-basis: auto;
	flex-grow: 1;
	margin-left: 20px;
}

@media(max-width:1366px) {
	.black-title:after {
		width: 220px;
		height: 196px;
		bottom: 37px;
		right: 50px;
	}

	.contact-info__btn {
		padding-left: 30px !important;
		padding-right: 30px !important;
	}

	.contact-info__grid {
		gap: 20px;
	}
}

@media(max-width:1280px) {
	.contact-info__grid {
		gap: 20px;
		flex-direction: column;
	}

	.contact-info__phone {
		margin-top: 10px;
		margin-bottom: 10px;
	}

	.contact-info__text {
		margin-bottom: 15px;
	}

	.contact-info__btn {
		max-width: 220px;
	}
}

@media(max-width:768px) {
	.black-title:after {
		width: 140px;
		height: 130px;
		bottom: 10px;
		right: 17px;
	}

	.hero__wrapper-map {
		align-items: start;
		gap: 10px;
		flex-direction: column;
	}

	.hero__wrapper-map .about-text {
		-ms-flex: auto 0 1 !important;
		flex: auto 0 1 !important;
	}
}

@media(max-width:480px) {
	.black-title:after {
		width: 103px;
		height: 100px;
		bottom: 3px;
		right: 11px;
	}

	.about__wrapper-ct {
		flex-wrap: wrap;
	}

	.contact-map {
		flex-basis: 100%;
		flex-grow: 1;
		margin-top: 20px;
		margin-left: 0;
	}
}

header .footer__wrapper ul {
	flex-direction: column;
	gap: 0;
	color: #fff;
}

header .footer-top {
	padding-top: 0;
	padding-bottom: 0;
}

.header-open {
	padding-bottom: 30px;
}

.menu-open .header-open {
	overflow-x: hidden;
}

@media(max-width:1440px) {
	header .footer-category {
		margin-right: 30px;
	}

	header .footer-menu {
		margin-right: 10px;
	}
}

@media(max-width:1200px) {
	header .footer__container {
		padding-left: 0;
	}
}