﻿.header
{
	width:auto;
	height:auto;
	color: #343175;
	padding-bottom: 10px;
	padding-top: 10px;
}

.header.headertick
{

}

.header .midcolumn
{
	max-width:970px;
	margin: 0px auto;
}

.header a
{
	text-decoration:none;
}

header .nav_item_text>a
{
/*	border-bottom:1px solid #fff;*/
/*        border: 1px solid #999;*/

	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;
	padding: 0.5em 0.2em;
	font-weight: 500;
	font-size: 16px;
}

header .nav_item_text>a:hover,
header .nav_item_text>a.active
{
/*        border: 1px solid #999;*/
}

header .nav_item_text a:hover,
header .nav_item_text a.active
{
/*	border-bottom:1px solid #777;*/

	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;

}


img.inlinelogo
{
	display: block;
	width: 26px;
	height: 26px;
	margin-right: 12px;
	margin-bottom: -10px;
	float: left;
}

.nav_social a
{
	display: inline-block;
	padding: 1px 4px;
}

.nav_social p
{
	display: inline;
	position: relative;
	top: 4px;
	color: #333;
}

.nav_social p:first-child
{
	margin: 0px auto 3px;
}

.nav_social>span,
.nav_social>p
{
	display: block;
	margin: 0px;
}

.socialinmobilemenu
{
	text-align: center;
	padding: 36px 0px;
}

.socialinmobilemenu a
{
	display: inline-block;
	padding: 4px;
}


@media only screen and (max-width: 1450px)
{
	.header .logo
	{
		left: 5px;
	}
}

@media only screen and (max-width: 980px)
{
	.header .logo
	{
		top: 0px;
		left: 5px;
	}
}



.logotext
{
	display:block;
	width:300px;
	height:auto;
	float:left;
	text-align:left;
	font-size:18px;
	font-weight:300;
}

.statictopmenu
{
	height:auto;
	text-align:center;
	clear:both;
	background-color: #FCFCFC;
	padding: 5px 5px 5px;
/*	border-bottom: 1px solid #E5E8EB;*/
}

.statictopmenu .toptexts
{
	margin: 0px auto;
	max-width: 970px;
}

.menumidlevel a/*, .menumidlevel span*/
{

	display:-moz-inline-stack; /* for FF2*/
	display:inline-block; /* normal browsers */
	zoom:1; /* for IE (hasLayout true) */
	*display:inline; /* for IE */
	height:auto;
	width: auto;

	padding:8px 23px;

	vertical-align:top;
	text-align:left;

	text-align: center;

	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;

	background-color: #FCFCFC
	background-image:none;

	color: #333;
	font-size: 110%;
	font-weight: bold;
	text-decoration: none;

	font-size: 15px;
	color: #000;
	text-decoration: none !important;
	text-transform: uppercase;
}

.menumidlevel a:first-child img
{
	margin-top: -3px;
	margin-left: -5px;
	margin-bottom: -10px;
	margin-right:15px;
	width: 30px;
	height: 30px;
}


.menumidlevel::last-child
{
	padding-left:3px;
}

.menumidlevel a:hover, .menumidlevel .active
{
	color: #a71d21;

	-webkit-transition: all .15s;
	-moz-transition: all .15s;
	-o-transition: all .15s;
	transition: all .15s;
}

.menumain .hasSubmenu:after {
	content: '\2193';
	float: right;
	display: block;
	margin-left: 6px;
	font-size: 12px;
	color: #777;
	position: relative;
}

.menumain .inmenu {
	display: none;
	position: absolute;
	background: rgba(255,255,255,0.975);
/*	margin-top: 15px;*/
/*	width: 260px;*/
	z-index: 111;
	font-size: 75%;
	margin-left: 2px;
	margin-top: 2px;
	box-shadow: 0px 15px 15px #bbb;
}

.menumain .inmenu li
{
	list-style: none;
	cursor: pointer;
	text-align: left;
	display: block;
	float: none;
}


@media only screen and (max-width: 600px) {

.menumidlevel a, .menumidlevel span
{
	background-image:none;
	padding: 4px;
	font-size: 100%;
	font-weight: normal;
}

.menumidlevel a:hover, .menumidlevel .active
{
	background-image: none;

}

.dynatitle
{
	display: none;
}

.nav_onpage .inmenu {
    position: relative;
    width: 100%;
}

}



#inside_page_header 
{
	z-index:9999;
	overflow:hidden;
	width:100%;
	background: #ffe5b8;
}

#inside_page_header.fixed_top 
{
	top:-100px;
} 

#inside_page_header.fixed 
{
	position:fixed;
	top:0;

	-webkit-transition: all .55s ease-out;
	-moz-transition: all .55s ease-out;
	-o-transition: all .55s ease-out;
	transition: all .55s ease-out;
}

.leftside
{
	width:240px;
	padding-left:5px;
	padding-right:5px;
	height: auto;
	float:left;
	margin-right:5px;
}

.rightside
{
	width:740px;
	padding-right:5px;
	height: auto;
	float:right;
	padding-top:15px;
}


.leftmenu
{
	height: auto;
	margin-top:20px;
	margin-bottom:20px;
}

.leftmenu .head
{
	background-image: url(/img/leftmenu/leftmenu_head.png);
	background-position: center top;
	height: 51px;
	width: 100%;
}

.leftmenu .mid
{
	background-image: url(/img/leftmenu/leftmenu_mid.png);
	background-position: center top;
	height: auto;
	width: 100%;
}

.leftmenu .mid a
{
	display: block;
	width: 208px;
	margin-left:6px;
	margin-right:6px;
	height: auto;
	padding: 10px 10px;
	border-top: 1px solid #d4b8b8;
	color: #440808;
	text-decoration: none;

	-webkit-transition: all .25s ease-out;
	-moz-transition: all .25s ease-out;
	-o-transition: all .25s ease-out;
	transition: all .25s ease-out;
}

.leftmenu .mid a:last-child
{
/*	border-bottom: 1px solid #d4b8b8;*/
}

.leftmenu .mid a:hover, .leftmenu .mid .active
{
	box-shadow: 0 0 20px rgba(0,0,0,0.5) inset;

	-webkit-transition: all .25s ease-out;
	-moz-transition: all .25s ease-out;
	-o-transition: all .25s ease-out;
	transition: all .25s ease-out;
}


.leftmenu .foot
{
	background-image: url(/img/leftmenu/leftmenu_foot.png);
	background-position: center top;
	height: 21px;
	width: 100%;
}

.toptexts, .catalog_and_search
{
	font-size: 20px;
	margin: 0px auto;
	text-align: center;
	height: auto;
}

.catalog_and_search
{
	background-color: #0199d5; /*3b8a39;*/
}

.toptexts .topelement, .catalog_and_search .topelement
{
	display: inline-block;
	min-width: 260px;
	vertical-align: middle;
}




.toptexts .contactline .topelement
{
	min-width: 50px;
	padding: 0px 12px;
}

.toptexts .contactline .topelement a
{
	font-size: 15px;
	color: #000;
	text-decoration: none;
}

.toptexts .contactline .phone b
{
	color: #cb2026;
	font-size: 28px;
	font-weight: bold;
	line-height: 15px;
}

.toptexts .topelement:nth-child(1), .catalog_and_search .topelement:nth-child(1)
{
	float: left;
}


.toptexts .topelement:nth-child(2), .catalog_and_search .topelement:nth-child(2)
{
	float: right;
}


@media (max-width: 1200px)
{
	.toptexts .topelement:nth-child(2)
	{
/*		width: 430px;*/
	}
}

@media (max-width: 970px)
{
	.toptexts .topelement
	{
		clear: both;
		text-align: center;
		margin: 0px auto;
	}
	.toptexts .topelement:nth-child(2)
	{
		width: 100%;
	}


	.logohead img
	{
		max-width: 258px;
		position: relative;
	//	margin-top: 12px;
	}

}


@media only screen and (max-width: 600px) 
{
	.toptexts .topelement:nth-child(2)
	{

	}
}

.toptexts span, .toptexts a
{

}

.phoneenter b
{
	display: block;
	text-align: right;
	margin-top:10px;
	font-weight: 300;
	font-size: 19px;
}

.phoneenter b small
{
	font-size: 16px;
	font-weight: bold;
	line-height: 18px;
	padding-top: 20px;
	display: block;
}

.phoneenter strong
{
	font-weight:700;
	font-size:36px;
}

.phoneenter a
{
	text-decoration:none;
	height:auto;
	padding-top:4px;
	color: #4c4c4c;
}

a[href="#backcall"]
{
/*	border-bottom: 1px dotted #000;*/
	text-decoration:none;
}

.toptexts a.back
{
	text-decoration:none;
	border-bottom: 1px dotted #000;
	height:auto;
	font-size: 19px;
	color: rgb(212,58,37);
	position: relative;
	top: 3px;
}


.phoneenter img
{
	position: relative;
	top:3px;
	margin-right:5px;
}

.finder
{
	border: 1px solid #fff;
	padding: 4px 35px 4px 4px;
	margin: 3px 0px;
	border-radius: 1px;
	width: 100%;
	text-align:center;
	position: relative;
	top: 6px;
}

.finder:hover, .finder:active
{
	border: 1px solid #000;
	background-color: #eef;
}

.finderimg
{
	position: absolute !important;
	top: 0px;
	right: 3px;
	cursor: pointer;
}

#suggestions
{
	position: absolute;
	width:260px;
	margin: 5px 0px 0px 0px;
	padding: 10px 0px;
	border-radius: 3px;
	display:none;
	z-index: 900;

	 -webkit-box-shadow: 0px 0px 15px #222;
	  -moz-box-shadow: 0px 0px 15px #222;
	  box-shadow: 0px 0px 15px #222;

	border: 1px solid #de0303;
	background-color: #fff;
	text-align: left; 
	color: #333; 
}

#suggestions a 
{
	display: block; 
	padding:10px;
	height: auto;
	clear: both;
	font-size: 12px;
	min-height:50px;
}

#suggestions a:nth-child(odd)
{
	background-color:#eee;
}

#suggestions a img 
{
	display:block; 
	float:left;
	border-radius: 50%;
	margin-right: 12px;
	width: 50px;
}

#suggestions a:hover 
{
	text-decoration: underline;
}

#suggestions a span
{
	color: red;
	float: right;
}

#suggestions a.last
{
	text-align:center;
	min-height: 12px;
}

#suggestions a.selected
{
	background-color:#de0303;
	color: #fff;
}

#suggestions a.selected span
{
	color: #fff;
}

#suggestions a.selected font
{
	color: #fff !important;
}

#suggestions img.close
{
	cursor: pointer;
	padding-left: 30px;
	float: right;
	margin-top: -8px;
	right: 0px;
}

.topicon 
{
	margin-right: 12px;
	max-height: 20px;
	width: auto;
	position: relative;
	top: 4px;
}

.topelement .contact
{
	font-size: 16px;
}

.topelement .contact a
{
	color: inherit;
	text-decoration:none;
}

.topelement .contact a img
{
	width: 16px;
	height: 16px;
	margin: 0px 5px 0px 0px;
}

.cataloglevel
{
	display: none;
	background: rgba(13,30,122,0.92); //#0d1e7a;
	width: 100%;
	margin: 0px auto;
	position: absolute;
	z-index:10;
	min-height: 300px;
}

.cataloglevel div, .cataloglevel>a
{
	display: inline-block;
	width: auto;
	height: auto;
	background-color: #0d1e7a;
	vertical-align: top;
	text-align: left;
	border: 1px solid #333;
	margin-left: -1px;
	margin-top: -1px;
}

.cataloglevel div a
{
	clear: both;
	display: block;
}

.cataloglevel a
{
	color: #fff;
	padding: 12px;
	display: inline-block;
	text-decoration: none;

	-webkit-transition: all .25s ease-out;
	-moz-transition: all .25s ease-out;
	-o-transition: all .25s ease-out;
	transition: all .25s ease-out;

}

.cataloglevel a img
{
	width: 16px;
	height: 16px;
	margin-right: 12px;
	display: inline-block;
	padding: 1px 3px;
	background: #fff;
	position: relative;
	border-radius: 4px;
	top: 5px;
}

.cataloglevel a:hover
{
	text-decoration: underline;
}

div.content
{
	float: right;
	width: 900px;
	width: calc(100% - 260px);
	height: auto;
}

div.newsdiv
{
	float: left;
	width: 260px;
	height: auto;
}

div.newsdiv h2 a
{
	color:#000;
	text-decoration: none;
}

div.newsdiv h2
{
	margin-top: 16px;
}


@media (max-width: 1070px)
{
	div.content
	{
		width: 740px;
	}
}

@media (max-width: 991px)
{
	div.newsdiv {    display: none; }

	div.content
	{
		float: none;
		width: auto;
	}

}

.slogan
{
	text-align:center;
	color: #cb2026;
	padding: 3px 0px 12px;
}

.restrictions
{
    position: absolute;
    font-size: 12px;
    text-align: center;
    color: #fff;
    z-index: 100;
    margin-top: -14px;
    width: 100%;
}

@media (max-width: 900px)
{
	.restrictions
	{
	    margin-top: -28px;

	}
}

@media (max-width: 450px)
{
	.restrictions
	{
	    margin-top: -42px;

	}
}

.nav_offsite img
{
	margin: 6px;
	position: relative;
	top: 2px;
}

.mainslide.video
{
	position: relative;
	overflow: hidden;
}

video
{
/*
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background-color: #000000;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transform: translateY(-50%);
    pointer-events: none;
    position: absolute;
    object-fit: cover;
    overflow: hidden;
    height: auto;
    width: 100%;
    left: 0px;
    top: 50%;*/
/* position: absolute;
    top: 0;
    left: 0;
    height: auto;
	min-height:100%;
	min-width:100%;*/
/*	background-image: url(/uploads/ozero73.jpg);*/
	background-size: cover;
	background-position: center center;
}

.mainimg
{
	position: relative;
}

#mainslidewrapper
{
	height: 100vh;
	z-index: 0;
	background-color: #ddd;
/*	background-image: url(/uploads/mainfon.jpg);*/
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	overflow: hidden;
}

#mainslidewrapper .owl-nav
{
	top: 50%;
	position: absolute;
	width:100%;
	height: 0px;
	overflow:visible;
}

#mainslidewrapper .owl-nav .owl-prev
{
	background: #eeeeee2b;
	font-size: 56px;
	float: left;
	line-height: 1em;
	border-radius: 50%;
	padding: 10px 15px;
}


#mainslidewrapper .owl-nav .owl-next
{
	background: #eeeeee2b;
	font-size: 56px;
	float: right;
	line-height: 1em;
	border-radius: 50%;
	padding: 10px 15px;
}

#mainslidewrapper .owl-nav .owl-prev:hover,
#mainslidewrapper .owl-nav .owl-next:hover
{
	background: #eeeeeeee;
	color: #000;
}

#mainslidewrapper .newsdate {
/*	background-color: #00a7ff;*/
	background-color: #fff;
	color: #000;
	padding: 6px;
	border-radius: 2px;
    	font-size: 1em;
    	margin-top: 0px;
	display: inline-block;
}

#mainslidewrapper .aboutthis,
#mainslidewrapper .allnews 
{
	background-color: #fff;
	color: #000;
	padding: 6px;
	border-radius: 2px;
    	font-size: 1em;
    	margin-top: 0px;
	display: inline-block;
	text-decoration: none;
}

#mainslidewrapper .allnews 
{
	text-transform: uppercase;
}
	

#mainslidewrapper .aboutthis
{
	font-size:1em;
}

#mainslidewrapper a.mainlink
{
	text-decoration: none;
}

.mainslide
{
	height: 100vh;
/*	background-position: center top;
	background-size: cover;*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #fff;
}


.mainimg>div.upstring
{
	margin: 0px auto;
	padding: 60px 60px 20px;
/*	width: 1200px;*/
	max-width: 100%;
	text-align: left;
	background: #ffffffbb;
	position: absolute;
	width: 100%;
	top: 0%;
	z-index:2;
}

.mainimg>div.upstring>.col2 img
{
	width: 26px;
	height: 26px;
	margin: 0px 3px;
	position: relative;
	top: 3px;
}

.mainimg>div.upstring>.col2>h3 img
{
	width: auto;
	height: 110px;
	margin: 0px 3px;
	position: relative;
	top: 1px;
}


.mainimg>div.upstring>.col2:first-child,
.mainimg>div.upstring>.col2:first-child p,
.mainimg>div.upstring>.col2:first-child h3
{
	text-align: left;
	color: #1875B0;
	font-size: 44px;
}

.mainimg>div.upstring>.col2:first-child p,
.mainimg>div.upstring>.col2:first-child h3
{
	margin: 0px;
	padding: 0px;
}

.mainimg>div.upstring>.col2:first-child p
{
	font-size: 24px;
}

.mainimg>div.upstring>.col2:last-child,
.mainimg>div.upstring>.col2:last-child a
{
	text-align: right;
	color: #555;
	font-size: 28px;
}

.mainimg>div.upstring>.col2:last-child a:nth-child(3)
{
	text-decoration: none;
}

.mainimg>div.upstring>.col2:last-child a:nth-child(3) img
{
	margin-right: 10px;
}

.mainimg>div.upstring>.col2:last-child a:last-child
{
	text-decoration: none;
	border-bottom: 1px dotted #000;
	font-size: 20px;
	color: #1875B0;
}

.mainimg .titles
{
	margin: 140px auto 0px;
	padding: 20px 60px 0px;
	width: 100%;
	background: ;
	max-width: 100%;
	text-align: left;
	position: absolute;
	bottom: 0px;
	z-index:2;
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 82%);
}



.mainimg>div h1, .mainimg>div h2
{
	color: #fff;
	padding: 0px;
	text-align: left;
/*	text-shadow: 0px 0px 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000;*/
}

.mainimg>div h1
{
	font-size: 62px;
	font-weight: 700;
	line-height: 1.1em;
	padding-bottom: 0.5em;
}

.mainimg>div h2
{
	font-size: 40px;
	padding: 1em 2px;
	text-transform: none;
	font-weight: normal;
}

.mainimg>div h2>sup
{
	font-size: 20px;
	line-height: 1.1em;
}

.downbtn
{
	bottom: 30px;
	left: 50%;
	z-index:9999;
	cursor: pointer;
	position: absolute;
	margin-left: -27px;
	border-radius: 50%;

    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;

}

.downbtn:hover, .downbtn.skok
{
	bottom: 2px;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.downbtn.skok:hover
{
	bottom: 2px;
}

header
{
	position: fixed;
}

header .left.logo
{
	position: absolute;
	width: 300px;
	top: 0px;
	height: 100px;
}

.nav.nav_onpage
{
	padding-left: 350px;
}

.nav_offsite.desktop {
    float: right;
    margin: 0px auto;
	padding-right: 12px;
    display: block;
    width: auto;
	font-family: 'Roboto Slab', serif;
	font-size: 20px;
	font-weight: 400;
}

.nav_offsite.desktop.nav ul {
    margin: 0 auto;
    display: inline-block;
}

/* логотип и H1 */

.header {
	background: #00000080;
}

.header>.wrapper,
.contentwrapped
{
	width: 1170px;
	max-width:100%;
	position: relative;
	margin: 0px auto;
}

.mainh1
{
	width: 80%;
	left:10%;
	margin: 0px auto;
	bottom: 50vh;
	text-align: center;
	display: block;
	float: none;
	position: absolute;
	z-index:100;
}

#mainslide
{
	width: 100%;
	float: none;
	display: block;	
}

.mainh1>img
{
	width: 200px;
}

.mainimg>div.mainh1 h1
{

	font-family: 'Roboto Slab', serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.5em;
	text-align: center;
	color: #fff;
	padding: 10% 0px 52px;
	text-shadow: 0px 0px 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000;
}
.mainimg>div.mainh1 h2
{
	font-size: 38px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	padding: 36px 0px 0px;
	text-shadow: 0px 0px 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000;
}


.nav_social,
.nav_buttons
{
	float: none;
	padding: 72px 0px 0px;
	clear:both;
}

.nav_buttons a
{
	color: #000;
	background: #fff;
	border-radius: 5px;
	padding: 10px 20px;
	margin: 5px;
	text-decoration: none;
}


@media only screen and (min-width: 981px) {

	#mainslidewrapper video
	{
		position: absolute;
	    	top: 0;
	    	left: 0;
	    	height: auto;
		min-height:100%;
		min-width:100%;
		width: 100%;
	    	object-fit: cover;
	}

	#mainslidewrapper .onvideo
	{
		padding: 0px 0px 24px;
		position: absolute;
		bottom: 50vh;
		background: none;
		top: unset;
		height: auto;

    -webkit-transition: all 2.4s ease-in-out;
    -moz-transition: all 2.4s ease-in-out;
    -o-transition: all 2.4s ease-in-out;
    -ms-transition: all 2.4s ease-in-out;
    transition: all 2.4s ease-in-out;

	}

	#mainslidewrapper .onvideo h1
	{
		color: #fff;
		padding: 5px;
		margin: 0px;
		text-shadow: 0px 0px 3px #333;

    -webkit-transition: all 1.4s ease-in-out;
    -moz-transition: all 1.4s ease-in-out;
    -o-transition: all 1.4s ease-in-out;
    -ms-transition: all 1.4s ease-in-out;
    transition: all 1.4s ease-in-out;

	}
	#mainslidewrapper .onvideo h2
	{
		color: #fff;
		padding: 5px;
		text-shadow: 0px 0px 3px #333;
		margin: 0px;

    -webkit-transition: all 1.4s ease-in-out;
    -moz-transition: all 1.4s ease-in-out;
    -o-transition: all 1.4s ease-in-out;
    -ms-transition: all 1.4s ease-in-out;
    transition: all 1.4s ease-in-out;

	}
	#mainslidewrapper .onvideo>img
	{
		display: none;
    -webkit-transition: all 1.4s ease-in-out;
    -moz-transition: all 1.4s ease-in-out;
    -o-transition: all 1.4s ease-in-out;
    -ms-transition: all 1.4s ease-in-out;
    transition: all 1.4s ease-in-out;

	}
	#mainslidewrapper .onvideo nav p
	{
		text-shadow: 0px 0px 3px #333;
		color: #fff;
    -webkit-transition: all 1.4s ease-in-out;
    -moz-transition: all 1.4s ease-in-out;
    -o-transition: all 1.4s ease-in-out;
    -ms-transition: all 1.4s ease-in-out;
    transition: all 1.4s ease-in-out;
	}

}

@media only screen and (max-width: 980px) {


#mainslidewrapper {
	height: auto;
}

.mainh1
{
	left:10%;
	width: 80%;
	float: none;
	clear: both;
	margin: 0px;
	padding: 60px 0px 20px;
	height: auto;
	bottom: 30px;
	top:0px;
}

.mainh1>img,
.mainh1>h2,
.mainh1>.nav_buttons,
#mainslidewrapper .downbtn
{
	display: none;
}



#mainslide
{
	width: 100%;
	float: none;
	clear: both;
	height: 300px;
}

.mainslide {
    height: 300px;
}


#mainslidewrapper .allnews {
    text-transform: uppercase;
}

.mainh1>img
{
	width: 80px;
}

.mainimg>div.mainh1 h1
{
	font-size: 16px;
	text-align: center;
	padding: 12px 0px 12px;
/*	text-shadow: 0px 0px 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000;*/
}
.mainimg>div.mainh1 h2
{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 3px 0px 0px;
/*text-shadow: 0px 0px 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, -1px -1px 1px #000, 1px -1px 1px #000;*/
}


#mainslidewrapper .owl-nav .owl-prev,
#mainslidewrapper .owl-nav .owl-next {
	    font-size: 36px;
	    line-height: 1.2em;
	}

.menumain .hasSubmenu:after {
    margin-left: -24px;
    width: 24px;
 }


	.logo 
	{
		line-height: 20px;
	}

	#mainslidewrapper
	{
/*		height: calc(100vh - 88px);*/
	
	}

	.mainslide
	{
/*		height: calc(100vh - 88px);*/
	}

	.wanthelp strong, .wantconf strong {
	    font-size: 20px;
	}
        .wanthelp input, .wantconf input {
	    clear: both;
	    width: auto;
	    margin: 24px auto;
	    display: block;
	}

        header .nav_item_text>a {
		color: #000 !important;
	}
	.nav.nav_onpage {
	 	padding-left: 10px; 
	}
	header .left.logo {
	    position: absolute;
	    width: 130px;
	    top: -5px;
	    height: 50px;
	}
}

/* галерея */

.gallery a,
.itemwidth
{	
	height: 290px; 
	overflow: hidden;
	border: 5px solid #fff;
	width: 25%;
}

.gallery a div
{
	background-position:center center;
	background-size: cover;
	background-repeat: no-repeat;
	width:100%;
	height: 100%;
	transition-delay: 0s !important;
-webkit-transition: .7s !important;
    -o-transition: .7s !important;
    transition: .7s !important;
    transition-timing-function: ease-in-out;
}

.gallery a:hover div 
{
	transform: scale(1.05) !important;
	transition-delay: 0s !important;
-webkit-transition: .7s !important;
    -o-transition: .7s !important;
    transition: .7s !important;
    transition-timing-function: ease-in-out;
}

.gallery a.big {	width: 50%; height: 580px; overflow: hidden;}
.gallery a.high {	height: 580px; overflow: hidden;}

@media only screen and (max-width: 990px) 
{ 
	.gallery a { height: 200px; }
	.gallery a.big {	height: 400px;}
	.gallery a.high {	height: 400px; overflow: hidden;}

}
@media only screen and (max-width: 600px) 
{ 
	.gallery a { width: 50%; height: 130px; }
	.gallery a.big {	height: 260px;}
	.gallery a.high {	height: 260px; overflow: hidden;}

}

@media only screen and (max-width: 800px) {

.mainslide { 

/*	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;*/
}


}

@media (min-width: 960px)
{
	.nav_onpage 
	{
		width: 100%;
	}

	header .menumain 
	{
		display: flex;
		flex-wrap: wrap;
	}

	header .menumain>li
	{
		flex-grow: 1;
		min-width: 100px;
/*		background: #42aaff1f;*/
		margin: 0px 1px 2px;
	}

	header .menumain>li
	{
		border: none !important;
	}


	header .nav_item_text a:hover, 
	header .nav_item_text a.active {
/*		border: none;*/
/*		background: #f1507d78;	*/
/*		color: #cb2026 !important;*/
	}

}


@media (max-width: 1550px)
{
	header .ugoldiv
	{
		top: 147px;
	}
}


@media (max-width: 1450px)
{

	.contactsmapwrap
	{
/*		height:800px;*/
	}

	.contactsmap
	{
/*		height:800px;*/
	}

	.mainimg .upstring .col2:last-child
	{
		padding: 0px;
		width: calc(49% - 40px);
	}
	video {

	}

	.leftcontacts, .rightcontacts
	{
		width:auto;
		clear: both;
		float: none;
	}

	.rightcontacts
	{
	    padding: 0px 3% 74px;
	}

}

@media (max-width: 980px)
{

	
	header .ugoldiv 
	{
		bottom: 70px;
		top: unset;
		right: 6px;
	}

	header a[href="#viewspecial"] 
	{
		font-size:0px;
		background-size: 74%;

	}
	header a[href="#viewspecial"]:hover 
	{
		font-size:0px;
	}

	.mainimg>div.upstring>.col2:last-child a 
	{
		font-size: 20px;
	}

	video {
		top: 0px;
	    display: block;
	    width: 100%;
	    position: relative;
	}
}


@media (max-width: 767px)
{
	.contactsmapwrap
	{
		height:400px;
	}

	.contactsmap
	{
		height:400px;
	}


        .col2
	{
		display: block;
		width: auto;
		clear: both;
	}

        .col3
	{
		display: block;
		width: auto;
		clear: both;
	}

	.leftright .right 
	{
	    width: 100%;
	}

	.faq .question 
	{
		padding-right: 60px;
		position: relative;
		font-size: 20px;
	}

	.faq .question img 
	{
		position: absolute;
		top: 0px;
		right: 0px;
		display: block;
		margin: 0px auto 0px;		
	}

	.lastivents 
	{
	    padding: 12px;
	}


	.mainimg .upstring .col2:last-child 
	{
		width: auto;
	}

	.mainimg>div.upstring 
	{
		padding: 0px 20px 12px;
		width: 100%;
	}

	.mainimg>div.titles {
		margin: 40px auto 0px;
		padding: 20px 20px 80px;
		width: 100%;
	}

	.mainimg .upstring .col2:first-child 
	{
		margin-top: 0px;
/*		background: #ffffffee; */
		padding: 10px;
	}

	.mainimg>div.upstring>.col2:first-child h3 {
		font-size:24px;
		margin-bottom: 12px;
	}

	.mainimg .upstring .col2:last-child 
	{
		margin-top: 20px;
/*		    background: #ffffffee; */
	}
	.mainimg>div h2>sup {
	    font-size: 12px;
	}

	.mainimg>div.upstring>.col2:last-child, 
	.mainimg>div.upstring>.col2:first-child p,
	.mainimg>div.upstring>.col2:last-child a,
	.mainimg>div.upstring>.col2:first-child h3 {
		text-align: center;
		margin: 0px auto;
	}


	.mainimg>div h1
	{
		font-size: 32px;
	}
	.mainimg>div h2 
	{
		font-size: 20px;
	}

	video {

	}


}

@media (max-width: 400px)
{
	.mainimg>div.upstring>.col2:first-child
	{
		margin-top: 0px;
		padding: 0px 20px;
	}
	.mainimg>div.upstring>.col2:first-child h3 
	{
	    	font-size: 18px;
	    	margin-bottom: 12px;
	}
	.mainimg>div.upstring>.col2:first-child p {
	    font-size: 16px;
	}
	.mainimg>div.upstring>.col2:last-child
	{
		padding: 10px 20px;
	}

	.mainimg>div.upstring>.col2:last-child, 
	.mainimg>div.upstring>.col2:last-child a {
	    text-align: center;
	    color: #555;
	    font-size: 18px;
	}
	.mainimg>div.upstring 
	{
		padding: 0px 10px;
		width: 100%;
	}

}

// скрываем фенсибокс превьюшки на маленьком экране

@media (max-width: 576px)
{
	.fancybox-thumbs {
		width: 0px;
		display: none;
	}
	.fancybox-show-thumbs .fancybox-inner {
	    right: 0px;
	}
}

@media (max-width: 399px) {
	body
	{
		overflow-x: hidden;
	}
}