/*!
Theme Name: AI Domani
Theme URI: http://underscores.me/
Author: John Constantine
Author URI: http://underscores.me/
Description: Domani WP Theme
Version: 1.0.99993
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ai-domani
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 with others.

AI Domani is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

/*
	HTML5 Reset :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:

	Eric Meyer					:: https://meyerweb.com
	HTML5 Doctor				:: https://html5doctor.com
	and the HTML5 Boilerplate	:: https://html5boilerplate.com

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

/* Let's default this puppy out
-------------------------------------------------------------------------------*/

:root {
	--vh: 1vh;
}

html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
menu,
nav,
section,
time,
mark,
audio,
video,
details,
summary {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font-weight: normal;
	vertical-align: baseline;
	background: transparent;
}

article,
aside,
figure,
footer,
header,
nav,
section,
details,
summary {
	display: block;
}

/* Handle box-sizing while better addressing child elements:
   https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

/* consider resetting the default cursor: https://gist.github.com/murtaugh/5247154 */

/* Responsive images and other embedded objects
*/
img,
object,
embed {
	max-width: 100%;
}

/*
   Note: keeping IMG here will cause problems if you're using foreground images as sprites.
	 In fact, it *will* cause problems with Google Maps' controls at small size.
	If this is the case for you, try uncommenting the following:

#map img {
		max-width: none;
}
*/

/* force a vertical scrollbar to prevent a jumpy page */
html {
	overflow-y: scroll;
	overflow: overlay;
}

/* we use a lot of ULs that aren't bulleted.
	don't forget to restore the bullets within content. */
ul {
	list-style: none;
}

blockquote,
q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	color: inherit;
	background: transparent;
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

abbr[title],
dfn[title] {
	border-bottom: 1px dotted #000;
	cursor: help;
}

/* tables still need cellspacing="0" in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

th {
	font-weight: bold;
	vertical-align: bottom;
}

td {
	font-weight: normal;
	vertical-align: top;
}

hr {
	display: block;
	height: 1px;
	border: 0;
	border-top: 1px solid #ccc;
	margin: 1em 0;
	padding: 0;
}

input,
select {
	vertical-align: middle;
}

pre {
	white-space: pre;
	/* CSS2 */
	white-space: pre-wrap;
	/* CSS 2.1 */
	white-space: pre-line;
	/* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word;
	/* IE */
}

input[type="radio"] {
	vertical-align: text-bottom;
}

input[type="checkbox"] {
	vertical-align: bottom;
}

.ie7 input[type="checkbox"] {
	vertical-align: baseline;
}

.ie6 input {
	vertical-align: text-bottom;
}

select,
input,
textarea {
	font: 99% sans-serif;
}

table {
	font-size: inherit;
	font: 100%;
}

small {
	font-size: 85%;
}

strong {
	font-weight: bold;
}

td,
td img {
	vertical-align: top;
}

/* Make sure sup and sub don't mess with your line-heights https://gist.github.com/413930 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

/* standardize any monospaced elements */
pre,
code,
kbd,
samp {
	font-family: monospace, sans-serif;
}

/* hand cursor on clickable elements */
.clickable,
label,
input[type=button],
input[type=submit],
input[type=file],
button {
	cursor: pointer;
}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button,
input,
select,
textarea {
	margin: 0;
}

/* make buttons play nice in IE */
button,
input[type=button] {
	width: auto;
	overflow: visible;
}

/* scale images in IE7 more attractively */
.ie7 img {
	-ms-interpolation-mode: bicubic;
}

/* prevent BG image flicker upon hover
   (commented out as usage is rare, and the filter syntax messes with some pre-processors)
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
*/

/* let's clear some floats */
.clearfix:before,
.clearfix:after {
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	font-size: 0;
	content: " "
		/*	content: "\0020";
	display: block;
	height: 0;
	overflow: hidden;
*/
}

.clearfix:after {
	clear: both;
}

.clearfix {
	zoom: 1;
}


/*--------------------------------------------------------------
## Domani styles
--------------------------------------------------------------*/

body {
	font-family: Roboto, serif;
}

.top-slide-menu {
	position: fixed;
	z-index: 100;
	width: 100%;
	background: #F3F0EB;
	color: black !important;
	padding: 5px 0;
	-webkit-transition-duration: 400ms;
	transition-duration: 400ms;
	top: 25px;
}

.top-slide-menu-under {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(75, 64, 47, 0.65);
	z-index: 50;
}

/*.top-slide-menu */
.menu-main-menu-container {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.toggle-menu {
	-webkit-transform: translateY(75px);
	transform: translateY(75px);
}

.main-logo {
	top: 10vh;
	width: 300px;
	left: 50%;
	margin-left: -150px;
	position: absolute;
	pointer-events: none;
	z-index: 2;
}

.main-logo .logo-background {
	position: fixed;
	width: 300px;
	height: 107px;
	/* background-color: rgba(0, 0, 0, 0.5); */
	/* background-color: rgba(255, 255, 255, 0.5); */
	z-index: 5;
}

.main-logo .logo-logo {
	position: fixed;
	margin: 3px;
	z-index: 10;
}

body.cover-bkgr {
	background-repeat: no-repeat !important;
	background-attachment: fixed;
	background-position: top center !important;
	background-size: cover !important;
}

.main-wrapper,
.front-main-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

div.main-section {
	width: 50%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.main-section.hover {
	background: rgba(0, 0, 0, 0.5);
}

.main-section .content {
	-webkit-transition-delay: .25s;
	transition-delay: .25s;
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	text-align: center;
}

.content h2 {
	color: white !important;
	font-family: PT Serif, sans-serif;
	font-style: normal;
	font-weight: 500;
	font-size: 40px;
	text-shadow: rgba(0, 0, 0, 0.5) 1px 1px 5px;
}

.content>a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.right-section>.content,
.left-section>.content {
	height: 100%;
	width: 100%;
	z-index: 2;
}

.site-navigation-small {
	display: none;
	padding-right: 20px;
	-ms-flex-item-align: center;
	align-self: center;
}


.main-section .content .menu {
	opacity: 0;
	-webkit-transform: translateY(-32px);
	transform: translateY(-32px);
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

.main-section .content .menu li {
	margin: 0 10px 8px 10px;
	display: inline-block;
}

.main-section .content .menu li a {
	color: white;
	font-size: 20px;
	font-weight: 300;
}

.main-section.hover .content .menu {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

body #main-footer {
	bottom: 0;
	width: 100%;
	position: fixed;
}

body #single-footer {
	width: 100%;
}

#footer-bottom {
	background-color: rgba(185, 182, 172, 0.8)
}

.container {
	position: relative;
	text-align: left;
	width: 80%;
	max-width: 1200px;
	margin: auto
}

.social-icons {
	float: right;
	height: 54px;
	font-size: 0;
}

.social-icons li {
	display: inline-block;
}

.social-icon span {
	display: none
}

#footer-info {
	display: inline;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	color: #695C52;
}

.menu-container {
	margin-top: 6px;
}

.main-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #F3F0EB no-repeat center center;
}

/* Хэдэр */

header {
	height: 100px;
}

.header-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 100px;
	width: 100%;
	position: absolute;
	z-index: 1000;
	background-color: #B9B6AC;
	-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
	position: fixed;
}

.header-logo {
	margin-left: 80px;
	margin-top: 25px;
}

nav.site-navigation-big {
	margin-right: 80px;
	-ms-flex-item-align: end;
	align-self: flex-end;
}

nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
}

nav ul li {
	display: inline-block;
	cursor: pointer;
}

nav a {
	display: block;
	padding: 0 20px;
	color: #FFF;
	font-size: 20px;
	line-height: 60px;
	text-decoration: none;
	border-radius: 7px 7px 0 0;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}


nav li:hover>a {
	background: rgba(255, 255, 255, 0.4);
	-webkit-box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
	box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}

nav ul ul {
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
	position: absolute;
	top: 100%;
}

nav ul li:hover>ul {
	visibility: inherit;
	opacity: 1;
}

nav ul ul li {
	min-width: 222px;
	float: none;
	display: list-item;
	position: relative;
}

nav ul ul a {
	color: #695C52;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 0;
	line-height: 45px;
	font-size: 18px;
}

.lh1 {
	text-align: center;
	font-size: 50px;
	margin: 100px 0 100px 0;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "PT Serif", sans-serif;
	width: 50%;
}

.rh1 {
	text-align: center;
	font-size: 50px;
	margin: 100px 0 100px auto;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "PT Serif", sans-serif;
	width: 50%;
}

.kitchen-description {
	width: 50%;
	background: #fff;
	position: absolute;
	right: 100px;
	z-index: 2;
	-webkit-box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
	padding: 30px 30px 60px 30px;
	-webkit-transform: translateY(-100px);
	transform: translateY(-100px);
}

.kitchen-description.left {
	left: 100px;
}

.kitchen-description-caption {
	margin: 10px 0 30px 0;
	font-size: 40px;
	font-weight: bold;
	font-family: "PT Serif", sans-serif;
}

.kitchen-description p:not(.kitchen-description-caption) {
	margin-top: 20px;
	font-size: 18px;
}

.image {
	height: 800px;
	overflow: hidden;
	position: relative;
	background-size: cover;
	background-position: 50% 50%;
}

.parallax-page {
	overflow: hidden;
}

.carousel-frame {
	height: 255px;
	width: 100%;
	padding-top: 15px;
	margin-bottom: 60px;
	background: #F3F0EB;
	-webkit-box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.2);
}

.carousel-slider-nav-icon {
	fill: rgba(255, 255, 255, 0.75) !important;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	height: 100% !important;
}

.carousel-slider-nav-icon:hover {
	fill: #FFF !important;
	-webkit-filter: drop-shadow(0px 0px 15px black);
	filter: drop-shadow(0px 0px 15px black);
}

button,
button:active,
button:focus {
	outline: none;
}

.owl-prev,
.owl-next {
	height: 100% !important;
}

.site {
	background: #F3F0EB;
}

.footer-menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	padding: 30px 80px 15px 80px;
	background: rgba(185, 182, 172, 0.5);
}

.footer-menu-item {
	width: 30%;
}

.footer-menu-item#f-m-1 {
	width: 50%;
}

.footer-menu-item {
	color: #695C52;
	font-size: 20px;
}

.footer-menu-item>ul>li>a {
	line-height: 30px;
}

.footer-menu-item>p {
	line-height: 25px;
}

.footer-menu-item a {
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.footer-menu-item a:hover {
	color: rgb(153, 142, 133);
}

#footer-contacts {
	text-align: right;
}

.content-wrapper {
	margin: 0 180px;
	max-width: 1530px;
}

.content-description {
	font-size: 20px;
	background: #fff;
	-webkit-box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
	padding: 30px 30px;
}

.carousel-frame-full {
	margin: 40px 0;
	max-height: 900px;
	overflow: hidden;
}

.verical-align {
	-webkit-transform: translateY(-10vw);
	transform: translateY(-10vw);
}

.su-posts {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.su-post {
	height: 600px;
	margin: 0 15px !important;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.su-post:hover {
	-webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

.ta-center {
	text-align: center;
}

.su-post-thumbnail {
	float: none !important;
	display: block;
	width: unset !important;
	height: unset !important;
	margin-right: 0 !important;
}

.su-post-thumbnail img {
	max-width: unset !important;
	max-height: unset !important;
	margin-top: 15px;
}

.su-post-title {
	font-family: 'PT Serif';
	font-size: 30px !important;
}

.su-lightbox {
	width: 300px;
}

.lb-post-title {
	font-family: 'PT Serif';
	font-size: 26px;
}

.su-lightbox-content p {
	font-size: 14px;
}

.ai-post {
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.ai-post:hover {
	-webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

.jw-posts__inner-box .extra-info {
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	left: -10px;
	top: 0px;
	background-color: transparent;
	position: absolute;
	opacity: 0;
	z-index: 10;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.jw-posts__inner-box {
	height: 360px;
	background-blend-mode: darken;
	background-color: #F3F0EB;
}

.extra-info .dimentions {
	position: absolute;
	width: 100%;
	height: 40px;
	bottom: 0;
	background-color: #fff;
	color: #A0A0A0;
	text-transform: capitalize;
	line-height: 40px;
}

.extra-info:hover {
	-webkit-box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
	opacity: 1;
	cursor: pointer;
}

.extra-info:hover+.decor-container {
	opacity: 1;
}

.el-image {
	height: 800px;
}

.el-title {
	height: 290px;
}

.parallax {
	-webkit-perspective: 1px;
	perspective: 1px;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
}

.parallax__layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.parallax__layer--fore {
	-webkit-transform: translateZ(100px) scale(0.6);
	transform: translateZ(100px) scale(0.6);
}

.parallax__layer--base {
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.parallax__layer--back {
	-webkit-transform: translateZ(-1px);
	transform: translateZ(-1px);
}

.parallax__group {
	position: relative;
	height: 100vh;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.box-shadow {
	background-color: #fff;
	-webkit-box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
}

.box-shadow-gallery {
	-webkit-box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.15);
}

.right-border {
	border-right: 1px solid #999;
}

.parametres-value p::before {
	content: "—";
	height: 20px;
	width: 20px;
	position: absolute;
	left: -12px;
}

.pos-a {
	position: absolute;
}

.title-1 {
	height: 220px;
}

#parametres {
	top: 850px;
	z-index: 1;
}

.elementor-image-carousel-wrapper [class^=eicon-chevron] {
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.elementor-image-carousel-wrapper [class^=elementor-swiper-button] {
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.7)), to(rgba(255, 255, 255, 0)));
	background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0));
	padding: 25px 0;
	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.elementor-image-carousel-wrapper .elementor-swiper-button-prev {
	border-radius: 0 15px 15px 0;
	margin-left: -15px;
}

.elementor-image-carousel-wrapper .elementor-swiper-button-next {
	border-radius: 15px 0 0 15px;
}

.elementor-image-carousel-wrapper [class^=elementor-swiper-button]:hover {
	background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.7)), to(rgba(255, 255, 255, 0.2)));
	background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));
	-webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

.elementor-image-carousel-wrapper [class^=elementor-swiper-button]:hover [class^=eicon-chevron] {
	color: rgba(0, 0, 0, 0.65) !important;
}

.dialog-lightbox-widget-content [class^=eicon-chevron] {
	font-size: 40px !important;
}

.swiper-wrapper {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.decor-container {
	position: absolute;
	top: 10px;
	right: 10px;
	opacity: 0;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.decor-item {
	height: 40px;
	width: 40px;
	border-radius: 20px;
	border: 3px;
	border-color: #fff;
	border-style: solid;
	margin: 5px;
}

.display-none {
	display: none;
}

.elementor-text-editor>p {
	margin-bottom: 10px;
}

.kitchen-bg {
	background: url(/wp-content/themes/ai-domani/img/craft-bg_.jpg);
	background-size: cover;
	background-position: right center;
}

.bedroom-bg {
	background: url(/wp-content/themes/ai-domani/img/richard-bg.jpg);
	background-size: cover;
	background-position: right center;
}


.kitchen {
	background: url(/wp-content/themes/ai-domani/img/contemp-bg_.jpg);
	background-size: cover;
	background-position: left center;
}

.bedroom {
	background: url(/wp-content/themes/ai-domani/img/livorno-bg_.jpg);
	background-size: cover;
	background-position: left center;
}

.hall {
	background: url(/wp-content/themes/ai-domani/img/hall-chikago_bg_.jpg);
	background-size: cover;
	background-position: right center;
}

.hall-bg {
	background: url(/wp-content/themes/ai-domani/img/hall-livorno_bg_.jpg);
	background-size: cover;
	background-position: left center;
}

.livr {
	background: url(/wp-content/themes/ai-domani/img/modena-liv-bg_.jpg);
	background-size: cover;
	background-position: right center;
}

.livr-bg {
	background: url(/wp-content/themes/ai-domani/img/livorno-liv-bg_.jpg);
	background-size: cover;
	background-position: left center;
}

.left-section {
	width: calc(50vw + 75px);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	position: absolute;
	height: 100vh;
	background-blend-mode: darken;
	-webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
	clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
}

.left-section_under {
	width: calc(50vw + 95px);
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	position: absolute;
	height: 100vh;
	background: rgba(255, 255, 255, 0.4);
	-webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
	clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
}

.right-section.hover,
.left-section.hover {
	background-color: rgba(0, 0, 0, 0.5);
}

.section-wrapper,
.shad-wrap {
	-webkit-filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
	filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
}

.right-section {
	width: calc(50% + 75px);
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	background-blend-mode: darken;
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

/***********************************************************************/
/********************** UPDATE *****************************************/
/***********************************************************************/

.main-wrapper.few-items {
	justify-content: space-between;
	flex-direction: row-reverse;
	overflow: hidden;
}

.main-wrapper.few-items h2 {
	font-size: 28px;
	transition: all 0.5s ease-in-out;
}

.main-wrapper.few-items .selected h2 {
	font-size: 40px;
}

.main-wrapper.few-items>.section-wrapper {
	flex-grow: 1;
	flex-basis: 15%;
	transition: all 0.5s ease-in-out;
	filter: none;
}

.main-wrapper.few-items.three>.section-wrapper {
	flex-basis: 22%;
}

.section-item {
	display: flex;
	transition: all 0.5s ease-in-out;
	flex-grow: 1;
	flex-basis: 25%;
	padding: 0;
	padding-left: 50px;
	margin: 0 -100px;
	background-size: cover;
	background-position: center;
	background-blend-mode: darken;
	background-color: rgba(0, 0, 0, 0.2);
	cursor: pointer;
	overflow: hidden;
	height: 100vh;
	transform: translate3d(0, 0, 0);
	clip-path: polygon(150px 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
}

.section-wrapper:last-child .section-item {
	clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
	margin-left: 0;
	flex-grow: 0;
	flex-basis: 15%;
	padding-left: 0;
    padding-right: 75px;
	background-position: left;
}

.section-wrapper:last-child{
	flex-grow: 0;
	flex-basis: 15%;
}

.section-wrapper:first-child .section-item {
	clip-path: polygon(150px 0, 100% 0%, 100% 100%, 0% 100%);
	margin-right: 0;
	padding-left: 0;
	flex-basis: 15%;
	background-position: right;
}

.section-wrapper:first-child {
	flex-basis: 15%;
}

.section-wrapper:first-child .section-item>.content{
	margin-right: -75px;
    margin-left: 75px;
}

.main-wrapper.few-items .section-wrapper.selected {
	flex-grow: 4;
	flex-basis: 55%;
}

.main-wrapper.few-items.three .section-wrapper.selected {
	flex-grow: 3;
	flex-basis: 55%;
}

.section-wrapper.selected .section-item {
	background-color: unset;
}

.section-item>.content {
    height: 100%;
    width: 100%;
	padding-top: 30px;
}

.section-item_under {
	width: calc(100% + 120px);
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
	position: absolute;
	height: 100vh;
	/* background: rgba(255, 255, 255, 0.4); */
	background: rgb(255 255 255);
	-webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
	clip-path: polygon(0 0, 100% 0%, calc(100% - 150px) 100%, 0% 100%);
}

/***********************************************************************/
/***********************************************************************/
/***********************************************************************/



.content {
	-webkit-transition: all .5s ease-in-out;
	transition: all .5s ease-in-out;
}

.hide {
	opacity: 0;
}

.elementor-section.elementor-section-height-full>.elementor-container {
	max-width: 1800px;
}

/*************************************************************
*	КНОПКА МЕНЮ 
*************************************************************/

.site-navigation-big.nav-menu-small-btn {
	width: 60px;
	height: 50px;
	z-index: 3;
	padding: 10px 0 0 0;
	position: relative;
	outline: none;
	cursor: pointer;
	display: none;
}

.nav-menu-small-btn span {
	width: 36px;
	display: block;
	margin: 0 auto 10px auto;
	height: 2px;
	position: relative;
	background: #fff;
	-webkit-transition: opacity 0.3s linear, -webkit-transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	transition: opacity 0.3s linear, -webkit-transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
	transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s linear;
	transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s linear, -webkit-transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-open .nav-menu-small-btn span:first-child {
	-webkit-transform: translate3d(0, 14px, 0) rotate(45deg);
	transform: translate3d(0, 14px, 0) rotate(45deg);
}

.menu-open .nav-menu-small-btn span:first-child+span {
	/* filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); */
	opacity: 0;
	-webkit-transform: scaleX(0);
	transform: scaleX(0);
}

.menu-open .nav-menu-small-btn span:first-child+span+span {
	-webkit-transform: translate3d(0, -12px, 0) rotate(-45deg);
	transform: translate3d(0, -12px, 0) rotate(-45deg);
}

.elementor-swiper-button:focus {
	outline: none;
}

.calc_btn {
	display: inline-flex;
	padding: 1em;
	background: #878273;
	color: #fff;
	text-decoration: none;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
}

.l_btn a.calc_btn:hover {
	color: #d4d4d4;
	background: #585549
}

.r_btn a.calc_btn:hover {
	color: #fff;
	background: #706447;
}

.r_btn .calc_btn {
	color: #000;
	background: #D1BC8A;
}

.r_btn {
	margin-top: 0.5em;
}

.l_btn {
	margin-bottom: 0.5em;
}

.dashicons-external {
	margin-left: 0.5rem;
	transition: All 0.3s ease;
	-webkit-transition: All 0.3s ease;
}


/***********************************************************************
***********************************************************************/

@media screen and (max-width: 1100px) {

	nav a {
		padding: 0 10px;
	}

}

@media screen and (max-width: 1024px) {

	.header-logo {
		margin: 20px;
		height: 40%;
	}

	.header-logo a img {
		height: 100%;
	}

	nav.site-navigation-big {
		margin-right: 20px;
	}
}

@media screen and (max-width: 845px) {

	nav a {
		padding: 0 5px;
		font-size: 18px;
	}

}

@media screen and (max-width: 768px) {

	.elementor-swiper-button {
		font-size: 40px !important;
	}

	.elementor-swiper-button.elementor-swiper-button-next {
		margin-right: -15px;
	}

	nav ul ul {
		position: fixed;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.8);
	}

	nav ul ul a {
		background: none;
	}



	nav.site-navigation-big {
		-ms-flex-item-align: center;
		align-self: center;
	}

	

	div.main-logo {
		top: 10vh;
	}

	div.main-logo .logo-background {
		opacity: 0;
	}

	div.front-main-wrapper {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.front-main-wrapper:before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0, 0, 0, 0.45);
		z-index: 1;
	}

	div.main-section {
		height: 33vh;
		width: 100%;
		z-index: 2;
	}

	div.main-section.hover {
		background: transparent;
	}

	div.main-section .content .menu {
		opacity: 1;
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	div.main-section .content .menu li {
		margin: 0 15px 8px 15px;
	}

	div.main-section .content .menu li a {
		font-size: 16px;
	}


	div.main-section.main-construction {
		margin-top: 30vh;
	}

	/* div.main-section.main-construction:after {
	    content: '';
	    position: absolute;
	    border: solid 1px white;
	    top: 66vh;
	    width: 66%;
	} */
	div.main-section.main-construction:after {
		display:none!important;
	}

	div.main-section .content {
		opacity: 1;
	}

	div.main-section .content .menu {
		-webkit-transform: translateY(0);
		transform: translateY(0);
	}

	.footer-menu {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		padding: 0 20px;
	}

	.footer-menu-item {
		width: 100%;
		margin-bottom: 20px;
	}

	#footer-menu {
		text-align: center;
	}

	.footer-menu-item#f-m-1 {
		width: 1000%;
		height: 70px;
		background-position: center center;
		margin-top: 20px;
	}

	div.left-section {
		-webkit-clip-path: unset;
		clip-path: unset;
		width: 100vw !important;
		height: calc(50vh - 50px) !important;
		background-position: center center;
	}

	div.right-section {
		position: relative;
		-webkit-clip-path: unset;
		clip-path: unset;
		width: 100vw !important;
		height: calc(50vh - 50px) !important;
		background-position: center center;
	}

	div.right-section:after {
		content: '';
		position: absolute;
		border: solid 1px white;
		top: calc(50vh - 50px);
		width: 66%;
		z-index: 2;
	}

	.main-wrapper:not(.few-items):before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		/* bottom: 0; */
		height: 100vh;
		background: rgba(0, 0, 0, 0.45);
		z-index: 1;
	}

	div.left-section_under {
		display: none;
	}

	/***********************************************************************/
	/***********************************************************************/
	/***********************************************************************/

	.section-wrapper.selected .section-item {
		background-color: rgba(0, 0, 0, 0.3) !important;
	}

	div.section-item_under {
		display: none;
	}

	.main-wrapper.few-items .selected h2 {
		font-size: 28px;
	}

	.jw-posts__item.cp_btn.col-desk-5.col-tab-3.col-mob-1:nth-child(3) .jw-posts__inner-content {
		margin-top: 0 !important;
	}

	.jw-posts__item.cp_btn.col-desk-5.col-tab-3.col-mob-1:nth-child(4) .jw-posts__inner-content {
		margin-top: 0 !important;
	}

}

@media screen and (max-width: 1180px) {
    html:has(.menu-item-has-children:hover) {
        overflow: hidden;
    }
    
    .sub-menu {
        max-height: 50vh;
        overflow-y: scroll;     /* Всегда вертикальный скролл */
        overflow-x: hidden;     /* Без горизонтального */
        border: 1px solid #ddd; /* Отступ от body */
    }
    
    /* Стилизация WebKit (Chrome/Safari/Edge) */
    .sub-menu::-webkit-scrollbar {
        width: 8px; /* Ширина вертикальной полосы */
    }
    
    .sub-menu::-webkit-scrollbar-track {
        background: #f5f5f5; /* Фон трека */
        border-radius: 4px;
    }
    
    .sub-menu::-webkit-scrollbar-thumb {
        background: #000;    /* Ползунок */
        border-radius: 4px;
    }
    
    .sub-menu::-webkit-scrollbar-thumb:hover {
        background: #999;    /* Темнее на hover */
    }
    
    /* Firefox */
    .sub-menu {
        scrollbar-width: thin;        /* thin/normal/revert */
        scrollbar-color: #000 #f5f5f5; /* thumb track */
    }
    
    .main-wrapper.few-items {
		justify-content: unset;
		flex-direction: column;
		overflow:hidden!important;
	}
	.main-wrapper.few-items .section-wrapper {
		position: relative;
	}

	.main-wrapper.few-items .section-wrapper:not(:last-child) .shad-wrap:last-child::after {
		content: '';
		position: absolute;
		bottom: -1px;
		/* left: 17%; */
		left: 0;
		border: solid 1px white;
		/* width: 66%; */
		width: 100%;
		z-index: 2;
	}
	
	div.main-wrapper {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		top: 100px;
	}
	
	div.section-item>.content {
		opacity: 1;
		padding: 0 !important;
		margin: 0 !important;
		background: rgba(0, 0, 0, 0.3) !important;
	}
	
	div.section-item {
		flex-grow: 0;
		flex-basis: auto;
		-webkit-clip-path: unset !important;
		clip-path: unset !important;
		width: 100vw !important;
		height: calc((100vh - 100px) / 5) !important;
		height: calc((var(--vh, 1vh) * 100 - 100px) / 5) !important;
		background-position: center center;
		margin: 0 !important;
		padding: 0 !important;
		text-align: center;
	}

	.three div.section-item {
		height: calc((var(--vh, 1vh) * 100 - 100px) / 4) !important;
		text-align: center;
	}
	
	div.section-wrapper,
	div.shad-wrap {
		-webkit-filter: none;
		filter: none;
	}
	
    div.section-item {
        height: calc( (var(--vh, 1vh) * 100 - 100px) / var(--items-count) ) !important;
    }
    #main-footer {
		display: none;
	}   
	
	.site-navigation-small {
		display: block;
	}
	
	.site-navigation-big {
		display: none;
	}
	
	nav a {
		color: #695C52;
		text-transform: uppercase;
	}
}

@media screen and (max-width: 580px) {

	.top-slide-menu {
		top: -70px;
	}

	.toggle-menu {
		-webkit-transform: translateY(170px);
		transform: translateY(170px);
	}

	nav ul {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}

	nav ul li a {
		line-height: 40px;
	}

}

.wpcf7-textarea{
    resize: none!important;
}

/* Home page menu */
@media screen and (min-width:769px){
    .main-construction .content, .main-furniture .content{
        /* min-height: 200px!important;
        max-height: 200px!important; */
        min-height: 40vh!important;
        max-height: 40vh!important;
    }
}

@media screen and (min-width:1400px){
    .elementor-section.elementor-section-boxed > .elementor-container{
        max-width: 1368px!important;
    }
    .jw-posts__item .jw-title-fields__item-value{
        font-size:25px!important;
    }
}

@media screen and (min-width:1850px){
    .elementor-section.elementor-section-boxed > .elementor-container{
        max-width: 1650px!important;
    }
}


@media screen and (min-width: 768px){
.su-image-carousel-crop .su-image-carousel-item-content img {margin-inline: auto!important; max-width: 95%!important;}

.su-image-carousel button.flickity-prev-next-button.next {right: -30px!important;}

.su-image-carousel button.flickity-prev-next-button.previous {left: -30px!important;}
}

@media screen and (max-width: 1000px){
    .cp_popup_body{
        padding-top:60px!important;
    }
}