/*
Theme Name: Meisterwerk 4.0
Description: Wordpress Theme
Author: Alexandr
Author URI: https://opttour.ru/author/maker1447/
Version: 3.0
Tags: two-columns, custom-background, custom-colors, featured-images, theme-options
Text Domain: https://opttour.ru
Theme URI: https://opttour.ru
License: Premium
License URI: https://opttour.ru
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400&display=swap');

:root {
	--color-1: #ffc800;
	--color-2: #15377f;
	--color-3: #155ca7;
	--color-line: #f7f7f7;
}

/* Общие стили */

*, ::after, ::before {margin:0; padding:0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

html, body { 
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	background: #111;
    position: relative;
    z-index: -1;

	/* тест более глобального применения отступов. У .row пока отключены */
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 1.5rem;
}

a {
	color: var(--color-1);
	text-decoration: none; 
	transition: all 0.3s ease;
	-o-transition: all 0.3s;
	-webkit-transition: all 0.3s ease 0s;
}

/* a:hover {text-decoration: underline;} */

img {max-width: 100%; height: auto;}
a img {border: none;}
	
h1, h2, h3, h4, h5 {clear: both; margin-bottom: var(--bs-gutter-x); overflow: hidden; position: relative;}

strong {font-weight: 600;}

table {width: 100%; border-collapse: collapse;}		  

/* iframe, embed {width: 100%;} */
/* .mejs-container {max-width: 100% !important;} */

input, textarea, select, button {font-family: 'Montserrat', sans-serif;}

*:focus, input:focus, button:focus {outline: none;}

input, button {  
	transition: color 0.3s ease, background-color 0.3s ease;
	-o-transition: color 0.3s, background-color 0.3s;
	-webkit-transition: color 0.3s ease 0s, background-color 0.3s ease 0s;
}

input, select, textarea {padding: 10px 20px; max-width: 100%; border: 1px solid #eee; font-size: 1rem;}

@media (max-width: 576px) { body {background: #fff;} }

  
/* Блочная верстка */

.container, .container-fluid {
	width: 100%;
	/*max-width: 1320px;*/ 
	margin-left: auto; 
	margin-right: auto;   
	padding-right: var(--bs-gutter-x, 0.75rem);
	padding-left: var(--bs-gutter-x, 0.75rem);
}

@media (max-width: 576px) { 
	.container {
		max-width: 100%; 
		padding-right: var(--bs-gutter-x, 1.5rem); 
		padding-left: var(--bs-gutter-x, 1.5rem);
	} 
}
@media (min-width: 576px) { .container {max-width: 540px;} }
@media (min-width: 768px)  { .container {max-width: 720px;} }
@media (min-width: 992px)  { .container {max-width: 960px;} }
@media (min-width: 1200px) { .container {max-width: 1140px;} }
@media (min-width: 1400px) { .container {max-width: 1320px;} }	

.container-fluid {max-width: none;}

.row {
	/* --bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0; */
	display: flex;
	flex-wrap: wrap;
	/* margin-bottom: calc(var(--bs-gutter-y) * -1); */
	row-gap: var(--bs-gutter-y);
	margin-right: calc(var(--bs-gutter-x) * -.5);
	margin-left: calc(var(--bs-gutter-x) * -.5);
}

/* .gutter {
    --bs-gutter-y: 1rem;
} */

.align-items-center {
	align-items: center !important;
}

.row > * {
	box-sizing: border-box;
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: calc(var(--bs-gutter-x) * .5);
	padding-left: calc(var(--bs-gutter-x) * .5);
	/*margin-top: var(--bs-gutter-y);*/
	order: 10;
}

.col {flex: 1 0 0%;}
.row-cols-auto > * {flex: 0 0 auto; width: auto;}
.row-cols-1 > * {flex: 0 0 auto; width: 100%;}
.row-cols-2 > * {flex: 0 0 auto; width: 50%;}
.row-cols-3 > * {flex: 0 0 auto; width: 33.3333333333%;}
.row-cols-4 > * {flex: 0 0 auto; width: 25%;}
.row-cols-5 > * {flex: 0 0 auto; width: 20%;}
.row-cols-6 > * {flex: 0 0 auto; width: 16.6666666667%;}

.col-1  {flex: 0 0 auto; width: 8.33%;}
.col-2  {flex: 0 0 auto; width: 16.66%;}
.col-3  {flex: 0 0 auto; width: 25%;}
.col-4  {flex: 0 0 auto; width: 33.33%;}
.col-5  {flex: 0 0 auto; width: 41.66%;}
.col-6  {flex: 0 0 auto; width: 50%;}
.col-7  {flex: 0 0 auto; width: 58.33%;}
.col-8  {flex: 0 0 auto; width: 66.66%;}
.col-9  {flex: 0 0 auto; width: 75%;}
.col-10 {flex: 0 0 auto; width: 83.33%;}
.col-11 {flex: 0 0 auto; width: 91.66%;}
.col-12 {flex: 0 0 auto; width: 100%;}

.mb-0 {margin-bottom: 0 !important;}
.mb-1 {margin-bottom: 0.25rem !important;}
.mb-2 {margin-bottom: 0.5rem !important;}
.mb-3 {margin-bottom: 1rem !important;}
.mb-4 {margin-bottom: 1.5rem !important;}
.mb-5 {margin-bottom: 3rem !important;}
.mb-auto {margin-bottom: auto !important;}

@media (max-width: 992px)  { 
	.row-cols-3 > *, .col-3 {width: 50%;} 
}

@media (max-width: 576px)  {
	.row-cols-2 > *, .row-cols-3 > *, .col-3 {width: 100%;} 
	
}
	

/* ---------- HEADER ---------- */

#mobile-head {
    display: none;
    position: sticky;
    z-index: 999;
    top: 0;
	background: #fff;
    border-bottom: 1px solid #eee;
}

.mobile-head {
    height: 60px;
}

.mobile-head > * {
    display: flex;
    align-items: center;
    height: 100%;
}

#mobile-head-button {
    justify-content: flex-end;
}

#mobile-head-logo a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 0;
}

#mobile-head-logo img {
    display: block;
    /* max-width: 200px; */
    width: auto;
    max-height: 100%;
}

.mobile-head #mobile-head-button:before {
    content: "\e968";
    font-family: "icomoon";
    /* background: #007c88; */
    color: var(--color-1);
    border: 1px solid #eee;
    font-size: 1.2rem;
    min-width: 45px;
    line-height: 45px;
    text-align: center;
}

[menu=open] .mobile-head #mobile-head-button:before {
	content: "\ea83";
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    will-change: transform;
    -webkit-transition: .3s cubic-bezier(.36,.07,.19,.97);
    -o-transition: .3s cubic-bezier(.36,.07,.19,.97);
    transition: .3s cubic-bezier(.36,.07,.19,.97);
    z-index: 80;
    background: rgb(0 0 0 / 20%);
	visibility: hidden;
    opacity: 0;
}

[menu=open] .overlay {
    visibility: visible;
    opacity: 1;
}

[menu=open] body {
    overflow: hidden;
}


body > header {position: relative; z-index: 999; position: fixed; width: 100%; top: 15px;}
body > header .box {align-items: center;}
	
body > header.fixed {position: fixed; top: 0; left: 0; right: 0;}
body.compensate-for-scrollbar > header.fixed, body.windows-active > header.fixed {right: 17px;}	

#header {background: #fff; padding: 30px; border-radius: 10px; border: 1px solid var(--color-line);}
#header .row {justify-content: space-between;}
#header a {color: inherit;}
#header a[href]:hover {color: var(--color-1);}	

#header i {color: var(--color-1); margin-right: 10px;}

#header-logo {flex: 0 0 200px;}
#header-logo a {display: flex; /*padding: 15px 0;*/}

#header-slogan {
    font-weight: 500;
	color: #777;
}


#header a[href^="tel"] {text-decoration: none !important; cursor: default; white-space: nowrap;}
#header a[href^="tel"]:hover { color: inherit !important;}

  
.menu {display: flex; gap: 15px 30px}
.menu li {list-style: none;}
.menu > li > a {padding: 30px 0; display: block; text-decoration: none;}
.menu > li.menu-item-has-children > a:after {
    content: "\ec19";
    font-family: 'icomoon';
    font-size: 0.6rem;
    margin-left: 10px;
    color: var(--color-1);
}

.menu .sub-menu {
	position: absolute; 
	top: 100%;
	background: #eee; 
	visibility: hidden; 
	opacity: 0; 
	-o-transition: all 0.3s; 
	transition: all 0.3s ease; 
	-webkit-transition: all 0.3s ease 0s;
}

.menu li:hover .sub-menu {visibility: visible; opacity: 1;}

.sub-menu li > a {padding: 15px; display: block; text-decoration: none;}



#mobile-search-button, #mobile-menu-button {display: none;}

#mobile-menu-button:before {
    content: "\e968";
    display: inline-block;
    border-radius: 3px;
    font-family: "icomoon";
    color: var(--color-1);
    border: 1px solid var(--color-line);
    font-size: 1.2rem;
    min-width: 40px;
    line-height: 40px;
    text-align: center;
}

#mobile-menu-button.active:before {content: "\ea83";}

#mobile-search-button i {
    width: 45px;
    height: 45px;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: 7px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}



	
#header-contact {flex: 0 0 225px; position: relative;}  
#header-contact .phone {font-weight: 600; font-size: 1.5rem; white-space: nowrap; text-align: right;}

#header-contact > span {
    position: absolute;
    font-size: 0.9rem;
    right: 0;
    padding-right: calc(var(--bs-gutter-x)* .5);
    color: #777;
}

@media (max-width: 992px) {  
	#header-slogan {display: none;}
}

@media (max-width: 768px) {  
	#header-logo {flex: 0 0 170px;}
}

@media (max-width: 576px) {  
	body > header {top: 0; background: #fff; border-bottom: 1px solid var(--color-line); position: sticky;}
	#header {padding: 20px 0; border: none;}
	#header-logo {flex: 0 0 150px;}
	#header-contact .phone {font-size: 1.25rem;}
	#header-contact > span {font-size: 0.75rem;}
}

@media (max-width: 480px) {  
	#header {padding: 15px 0;}
	#header-logo {flex: 0 0 120px;}
	#header-contact {flex: 1 0 0%;}
	#header-contact .phone {font-size: 1rem;}
	#header-contact > span {display: none;}
}

@media (max-width: 380px) {  
	#header {padding: 10px;}
	#header-logo {flex: 0 0 90px;}
	#header-contact i {display: none;}
	#header-contact .phone {font-size: 0.85rem;}
}

@media (max-width: 280px) {  
	#header .row {flex-wrap: nowrap;}
	#header-contact .phone span {display: none;}
	#header-contact i {display: block; color: #777;}
}