﻿.header
{
	height: 664px;
	margin-bottom: -580px;
	overflow: hidden;
	background-position: center 84px;
	background-repeat: no-repeat;
	background-size: contain;	
}

.leftcorner
{
	background-image: url(/images/ugol-0.png);
	background-repeat: no-repeat;
	background-position: top right;
	height: 664px;
	width: calc(50% - 480px + 253px);
	float: left;
	text-align: right;
}

.header a.logo
{
	position: relative;
	width: 253px;
	height: 174px;
	display: block;
	float: right;
	margin: -1px -10px 0px 0px;
	background-repeat: no-repeat;
	background-position: center center;
}

.header a.logo img
{
	width: 253px;
	height: 174px;
}


.topother
{
	height: 102px;
	display: block;
	float: left;
	margin-left: -100px;
	padding-left: 70px;
	background-image: url(/images/ten%20verh.png);
	background-repeat: no-repeat;
	background-position: 90% 100%;
	width: calc(50% + 480px - 253px + 100px);
}


.menumidlevel
{
	max-width:830px;
	height: auto; 	
	text-align:center;
	padding: 0px 0px 0px 0px;
	float: left;
	display:flex;
}

.menumidlevel a.double, .menumidlevel span.double
{
	height: 48px;
	line-height: 34px;
}

.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;
	padding: 36px 12px 31px 12px;
	margin: 0px -3px; 
	font-size:100%;	 

	vertical-align:top;
	text-align: center;

	-webkit-transition: all .25s;
	-moz-transition: all .25s;
	-o-transition: all .25s;
	transition: all .25s;

	color: #000;
	font-size: 14px;

	font-weight: normal;
	text-decoration: none;
	background: transparent none no-repeat center bottom;
	text-transform: uppercase;
}

.menumidlevel a:hover, .menumidlevel .active
{
	color: #000;
	background: transparent url(/images/polosa.png) no-repeat center bottom;
	-webkit-transition: all .15s;
	-moz-transition: all .15s;
	-o-transition: all .15s;
	transition: all .15s;
}

.topelement
{
	display: inline-block;
	width: auto;
	float: left;
	padding-top: 12px;
	line-height: 140%;
	text-align: center;
}

.header .email
{
	color:#8F8478;
	font-size: 12px;
	display: inline-block;
}

.tinkoff
{
	position: absolute;
	width: 150px;
	display: inline-block;
	top: 145px;
	left: 0px;
	z-index:10;
}

.tinkoff img
{
	max-width:100%;
	max-height: 100%;
}

	.menumidlevel 
	{
		width: auto;
		float: none;
	}

	.menumidlevel a, .menumidlevel span
	{
		padding: 6px 8px 8px;
		margin: 0px;
		border-right: 1px solid #e8e4de;
		max-width: 112px;
		
	}

	.menumidlevel *:last-child
	{
		border-right: none;
	}

	.topelement
	{
		clear: left;
		width: auto;
		float: none;
		display: block;
		padding-top: 5px;
		max-width: 830px;
	}
	.topelement .clear
	{
		clear: none !important;
		display: inline;
	}

@media only screen and (max-width: 1120px) 
{
	.topelement
	{
		padding-top: 0px;
	}

	.menumidlevel a, .menumidlevel span
	{
		padding: 6px 12px;
	}
}



@media only screen and (max-width: 960px) 
{
	.header 
	{
		overflow: hidden;
	}


	.leftcorner
	{
		width: 120px;
	}

	.leftcorner a.logo
	{
		width: 126px;
		height: 87px;
	}

	.leftcorner a.logo img
	{
		width: 126px;
		height: 87px;
	}

	.topother
	{
		width: 100%;
		margin-left: -120px;
	}

	.menumidlevel 
	{
		width: auto;
		float: none;
	}

	.menumidlevel a, .menumidlevel span
	{
		padding: 10px 5px;
	}

	.topelement
	{
		clear: left;
		width: auto;
		float: none;
		display: block;
		padding-top: 20px;
	}

	.topelement .clear
	{
		clear: none !important;
		display: inline;
	}
	.topelement span
	{
		padding-right: 12px;
	}

}



/* поменять ширину при другом количестве пунктов меню! */

@media only screen and (max-width: 620px) 
{
	.topother
	{
		margin-left: -120px;
		height: 160px;
		padding-left: 80px;
	}

	.header 
	{
		overflow: hidden;
		margin-bottom: -530px;
		background-position: center 142px;
	}

	.menumidlevel
	{
		margin-left: 80px;
	}


	.menumidlevel a, .menumidlevel span
	{
	}

	.menumidlevel a:hover, .menumidlevel .active
	{
	}

	.topelement
	{
		padding-top: 70px;
	}

	.tinkoff
	{
		top: 195px;
	}


}

@media only screen and (max-width: 420px) 
{
	.topother
	{
		margin-left: -120px;
		height: 235px;
		padding-left: 0px;
		width: 100%;
	}

	.menumidlevel
	{
		margin-left: 160px;
	}

	.header 
	{
		height: 235px;
		margin-bottom: 0px;
		overflow: hidden;
		background-position: center 217px;
	}

	.topelement
	{
		padding-top: 110px;
	}

}

a[href="#backcall"]
{
	border-bottom: 1px dotted #000;
	text-decoration:none;
}


a.button[href="#backcall"]
{
	border-bottom: 2px solid #8F8478;
}




.topicon 
{
	margin-right: 6px;
	max-height: 20px;
	width: auto;
	position: relative;
	top: 4px;
}

.topelement .contact
{
	font-size: 14px;
}

.topelement .contact a
{
	border-bottom: 1px dotted #0199d5;
	color: inherit;
}

.topelement .contact a img
{
	width: 16px;
	height: 16px;
	margin: 0px 5px 0px 0px;
}

a[href="#mobilemenu"]
{
	display: none;
}

.closemobilemenu
{
	display: none;
}

a.skidka
{
    background-image: url(/img/action11.png);
    position: absolute;
    z-index: 2;
    left: 0px;
    margin-top: 210px;
    color: #01941b;
    text-decoration: none;
    font-size: 22px;
    width: 358px;
    height: 89px;
    line-height: 25px;
    padding: 3px 15px 3px 125px;
    text-align: center;
	box-shadow: 2px 2px #aaa;
}

a.skidka b
{
	font-weight: bold;
	display:inline-block;
	float: left;
	font-size: 50px;
	line-height: 56px;
	color: #cf2314;
	text-align: right;
}

a.skidka span
{
	font-weight: normal;
	display:inline-block;
	text-align: left;
	float: right;
	font-size: 23px;
	color: #cf2314;
}

a.skidka font
{
	display:block;
	clear: both;
	float: none;
	font-size: 15px;
	color: #000;
	text-align: center;
}


/*
@media only screen and (min-width: 1500px) 
{
	a.skidka
	{
        	position: fixed;
	}
}*/

a.mobile, div.mobile, img.mobile, li.mobile
{
	display: none;
}

.mobile.left
{
	float: left;
}

.mobile.right
{
	float: right;
}


.desktop .messicon {
    max-height: 16px;
    top: 2px;
	position:relative;
	padding: 0px 12px 0px 0px;
}


@media only screen and (max-width: 1056px) {
	.desktop
	{
		display: none;
	}

	a.mobile, div.mobile, img.mobile, li.mobile
	{
		display: unset;
	}

	.mobile .messicon 
	{
		max-height: 32px;
		top: 0px;
	}

	a.skidka
	{
		margin-top:350px;
		max-width:100%;
		z-index:10;
		position: fixed;		
		bottom: 50px;
	}

	a[href="#mobilemenu"]
	{
		display: inline-block;
		float: right;
	}

	.closemobilemenu
	{
		display: inline-block;
		float: right;
	}


	a[href="#mobilemenu"] img
	{
		width: 32px;
		height: 32px;
	}

	div.closemobilemenu
	{
		display: inline-block;
		text-align: right;
	}

	.closemobilemenu img
	{
		width: 32px;
		height: 32px;
	}

	.menumidlevel
	{
		display:none;
		position: absolute;
		margin: 0px;
		padding: 12px;
		background: rgba(255,255,255,0.95);
/*		background-image: url(/images/ugol-0.png);
		background-repeat: no-repeat;
		background-position: top right;
		background-size: auto;*/
		width: 100%;
		height: 100%;
		min-height: 500px;
		left: 0px;
		z-index: 10000;
	}

        .menumidlevel a, .menumidlevel span,
	.menumidlevel a.double, .menumidlevel span.double
	{
		float: none;
		display: block;
		clear: both;
		border: none;
		max-width: unset;
		height: auto;
	}

	.header a.mobile
	{
		margin: 10px 4px 0px;
		width: 32px;
		height: 32px;
	}
}

@media only screen and (max-width: 373px) {

	a.skidka b {
	    font-size: 30px;
	    line-height: 36px;
	}
	a.skidka span {
	    font-size: 14px;
		line-height:1.2em;
	}
	a.skidka font {
		line-height:1.2em;
	}
}