/*
Theme Name: Meinland-2  
Description: Wordpress Theme
Author: Alexandr
Author URI: http://www.opttour.ru
Version: 2.00
Tags: two-columns, custom-background, custom-colors, featured-images, theme-options
Text Domain: https://opttour.ru
License: Premium
License URI: https://opttour.ru/instruktsiya-po-saytu/
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');


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


html, body { 
	background-size: cover;
	background-repeat: no-repeat;
	width: 100%; 
	z-index: -200;
	position: relative;  
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: #333;  
}

body {overflow-y: scroll; overflow-x: hidden;}

.disable-hover, .disable-hover * {pointer-events: none !important;}
  
i {margin-right: 10px;}

a {
  color: #000; 
  text-decoration: none; 
  -o-transition: all 0.3s;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease 0s;
}

a:hover, #before-content a:hover, #head-order a:hover {color: #50AAFF;}

img {max-width: 100%; height: auto;}

h1, h2, h3, h4, h5 {/*font-family: 'Merriweather', serif;*/ margin-bottom: 15px;}

table, audio, small {width:100%;}		  

iframe, embed {width: 100%;}

.mejs-container {max-width: 100% !important;}

ul li {list-style-type: square;}

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

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

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

input, select, textarea, label:not(.acceptance) {padding: 7px 15px; max-width: 100%; border: 1px solid #ccc;}
  
small {font-size: 0.9rem;}


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

.box {display: -webkit-flex; display: flex; position: relative; /*align-items: center;*/}

.box > * {padding-right: 15px; padding-left: 15px; order: 10;}
	
.block-1  {width: 8.33%;}
.block-2  {width: 16.66%;}
.block-3  {width: 25%;}
.block-4  {width: 33.33%;}
.block-5  {width: 41.66%;}
.block-6  {width: 50%;}
.block-7  {width: 58.33%;}
.block-8  {width: 66.66%;}
.block-9  {width: 75%;}
.block-10 {width: 83.33%;}
.block-11 {width: 91.66%;}
.block-12 {width: 100%;}

@media screen and (max-device-width: 800px) { .box {justify-content: space-between;} }

@media screen and (max-device-width: 480px) { 
	.box {-webkit-flex-wrap: wrap; flex-wrap: wrap;} 
	.box > * {padding-right: 10px; padding-left: 10px;}
}

@media screen and (max-device-width: 320px) { 
	.box > * {padding-right: 5px; padding-left: 5px;}
}	
	
  

/* ---------- Header ---------- */

body > header {position: sticky; top: 0; background: #fff; border-bottom: 1px solid #eee; border-bottom: 5px solid #0039a6;}

header {position: relative; z-index: 99; width: 100%;}

#head-order {border-bottom: 5px solid #d52b1e;}

#head-order a {color: inherit;}
#head-order a:hover {color: inherit;}

#head-order #phone i {color: #fe4600;}
#head-order #email i {color: #0064b9;}

#header-corp {display: -webkit-flex; display: flex; align-items: center;}

#logo {position: relative; z-index: 99; /*margin: 0 auto;*/}

#logo a {
    display: block;
    padding: 10px 0;
    /*border-radius: 0 0 15px 15px;
    background: #fff;
    box-shadow: 1px 1px 6px rgb(51 51 51 / 20%);
    margin-bottom: -15px;*/
    margin-right: 15px;
}

#logo img {
    max-width: 70px;
    margin: 0 auto;
    display: block;
}

#site-name {
    font-size: 2.6rem;
}

#slogan {
	font-style: italic;
    font-size: 0.8rem;
}

#contact-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#social {display: -webkit-flex; display: flex; justify-content: center; flex-wrap: wrap; margin-right: 50px;}
#social div {display: flex; flex-wrap: wrap; justify-content: space-between; width: 75px;}
#social a {font-size: 2rem; color: #0064b9; /*width: 50%;*/ text-align: center;}
#social a:hover {color: #fe4600;}
#social a i {margin: 0;}
  
#header-contact {text-align: right;} 

#phone {font-size: 1.6rem; white-space: nowrap;}

#address {}

#revers-phone {cursor: pointer; font-size: 1rem;}

#slogan-mobile {
    display: none;
    text-align: center;
    font-style: italic;
    color: #555;
    border-bottom: 1px solid #eee;
    padding: 3px 0;
}

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

}


@media screen and (max-device-width: 860px) { 
	/*#header-corp {width: 25%;}*/
	/*#logo {width: 100%;}*/
	/*#slogan {display: none;}*/
	#site-name {font-size: 2rem;}
	#phone {font-size: 1.4rem;}
	#email i {display: none;}
    #email a {color: #aaa;}
	#social a {font-size: 1.8rem;}
}

@media screen and (max-device-width: 750px) { 
	#site-name {font-size: 1.6rem;}
	#logo img {max-width: 50px;}
}

@media screen and (max-device-width: 680px) { 
	#logo a {margin-right: 10px;}
	#logo img {max-width: 40px;}
	#site-name {font-size: 1.4rem; font-weight: 400;}
}

@media screen and (max-device-width: 640px) { 
	#social {margin-right: 30px;}
}

@media screen and (max-device-width: 620px) {
	#site-name {font-size: 1.2rem;}
	#slogan {font-size: 0.7rem;}
}


@media screen and (max-device-width: 580px) {
	#header-corp {width: 40%;}
	#slogan {display: none;}
	#slogan-mobile {display: block;}
	#branding {width: 50%;}
	#contact-social {width: 60%;}
	#header-contact {display: flex; justify-content: space-between; align-items: center; width: 25%;}
	#phone span, #email span {display: none;}
	#email {font-size: 1.4rem;}
	#email i {display: block; margin-right: 0;}
	#social {margin-right: 15px;}
	#social div {width: 100%;}
	#social a {margin: 0 5px;}
}

@media screen and (max-device-width: 480px) { 
	#head-order {padding: 7px 0;}
	#logo {/*display: none;*/}
	#logo a {margin-right: 5px;}
	#logo img {max-width: 35px;}
	#site-name {font-size: 1rem; font-weight: 500;}
}

@media screen and (max-device-width: 420px) { 
	#logo img {max-width: 30px;}
	#site-name {font-size: 0.9rem;}
	#slogan-mobile {font-size: 0.9rem;}
	#social {margin-right: 10px;}
	#social a {font-size: 1.6rem;}
}

@media screen and (max-device-width: 380px) { 
	/*#header-corp {width: 10%;}*/
	/*#logo {display: block;}*/
	#logo a {padding: 0;}
	/*#site-name {display: none;}*/
	#slogan-mobile {font-size: 0.8rem;}
	/*#contact-social {width: 90%;}*/
	#social {margin-right: 5px;}
	#social div {flex-wrap: nowrap;}
	#social a {font-size: 1.5rem;}
	#header-contact {width: auto;}
	#email {display: none;}
	#phone i {margin: 0;}
}

@media screen and (max-device-width: 340px) { 
	#site-name {font-size: 0.8rem;}
	#slogan-mobile {
		font-size: 0.7rem;
		color: #000;
		font-style: normal;
		font-weight: 400;
	}
	#social a {font-size: 1.4rem; margin: 0 3px;}
}

@media screen and (max-device-width: 290px) { 
	#site-name {display: none;}
}


/* Контентная часть */

.wrapper {width: 100%; max-width: 1440px; margin-left: auto; margin-right: auto; position: relative;} /* position: relative; отключать при обычной прокрутке */

@media screen and (min-device-width: 2000px) { .wrapper {max-width: 1920px;} }
@media screen and (max-device-width: 1440px) {  }
@media screen and (max-device-width: 1280px) { .wrapper {max-width: none; width: 100%; padding: 0 15px;} }
@media screen and (max-device-width:  580px) { .wrapper {padding: 0;} .section .wrapper {overflow: hidden;} }	
