/********MEDIA********/
@media all and (min-width: 980px) {
	body.one-page {
	padding-top: 70px; }
	.flexnav > li > .touch-button{
		display: none;
	}
	
	
	#top-menu{
		top: 150px;
	}
	
	.flexnav {
	overflow: visible; }
    .flexnav.opacity {
	opacity: 1; }
    .flexnav.one-page {
		top: 0;
		right: auto;
	max-width: 1080px; }
    .flexnav li {
		position: relative;
		list-style: none;
		float: left;
		display: block;
		
		overflow: visible;
	}
    .flexnav li a {
		border-left: 1px solid #acaca1;
	border-bottom: none; }
    .flexnav li > ul {
		position: absolute;
		top: auto;
		left: 0; 
		width: 163px;
		background: #F5F5F5;
		display: none;
	}
	.flexnav li > ul li {
	width: 100%; }
    .flexnav li ul li > ul {
		margin-left: 100%;
	top: 0; }
    .flexnav li ul li a {
		border-bottom: none;
	}
    .flexnav li ul.open {
		display: block;
		opacity: 1;
		visibility: visible;
		z-index: 1; 
		
	}
	.flexnav li ul.open li {
        overflow: visible;
	max-height: 100px; }
	.flexnav li ul.open ul.open {
        margin-left: 100%;
	top: 0; }
	
	.menu-button {
	display: none; } 
}
.oldie body.one-page {
padding-top: 70px; }
.oldie .flexnav {
overflow: visible; }
.oldie .flexnav.one-page {
    top: 0;
    right: auto;
max-width: 1080px; }
.oldie .flexnav li {
    position: relative;
    list-style: none;
    float: left;
    display: block;
overflow: visible; }
.oldie .flexnav li:hover > ul {
    display: block;
    width: 100%;
overflow: visible; }
.oldie .flexnav li:hover > ul li {
	width: 100%;
float: none; }
.oldie .flexnav li a {
    border-left: 1px solid #acaca1;
    border-bottom: none;
overflow: visible; }
.oldie .flexnav li > ul {
    background: #acaca1;
    position: absolute;
    top: auto;
    left: 0;
    display: none;
    z-index: 1;
overflow: visible; }
.oldie .flexnav li ul li ul {
top: 0; }
.oldie .flexnav li ul li a {
border-bottom: none; }
.oldie .flexnav li ul.open {
    display: block;
    width: 100%;
overflow: visible; }
.oldie .flexnav li ul.open li {
width: 100%; }
.oldie .flexnav li ul.open ul.open {
	margin-left: 100%;
	top: 0;
	display: block;
	width: 100%;
overflow: visible; }
.oldie .flexnav ul li:hover ul {
    margin-left: 100%;
top: 0; }
.oldie .menu-button {
display: none; }
.oldie.ie7 .flexnav li {
width: 19.9%; }



div.menu-clear-left { clear:left; }

/*Common Elements */
div.content-form { padding-left:1em; }


@media all and (max-width: 980px) {
	.lang-wrap{
		position: absolute;
		left: 455px;
		top: 20px;
	    z-index: 10000;
	}
	
	
	img.banner{
		margin-top: 47px;
	}
	
	.slider{
		margin-top: 0px;
		padding-top: 71px;
	}
	.lang-wrap{
		left: 175px;
	}
	
	
	ul.breadcrumb-navigation{
		margin-top: 50px;
	}
	
	#header{
		position: fixed;
		z-index: 99999;
		background-color: #fff;
		margin-left: -15px;
		box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, .2);
		height: 55px;
	}
	#logo {
		left: 15px;
	}
	
	#logo a img{
		width: 100%;
	}
	
	.flexnav li a{
		background: #5c5c5c;
		border-bottom: 1px solid #fff;
	}
	
	.ua .flexnav >li:first-child > a, .flexnav >li:first-child > a{
		padding-left: 15px;
	}
	.wrap-table{
		width: 100%;
		overflow: scroll;
	}
	
	.flexnav .touch-button{
		top: -7px;
		right: 10px;
	}
	.flexnav li ul {
		padding: 0;
	}
	
	.flexnav li a{
		padding: 9px 15px 10px;
		line-height: 30px;
	}
	.flexnav li ul li a{
		padding-left: 20px;
	}
	
	.flexnav .touch-button .navicon {
		position: relative;
		top: 1.4em;
		font-size: 12px;
		color: #fff;
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
		display: block;
		font-style: normal;
	}
	
	.flexnav ul .touch-button .navicon{
		top: 1.0em;
		font-size: 12px;
		color: #adadad;
	}
	.flexnav ul li ul li a{
		padding-left: 25px;
	}
	
	.flexnav >li > a{
		border-radius: 0 !important;
	}
	
	
	.razdel{
		width: 33%;
	}
	
	
	.flexnav.flexnav-show{
		max-width: 340px;
		position: absolute;
		right: 0;
		top: 48px;
	}
	
	#top-menu{
		top: 8px;
		width: calc(100% - 30px);
		right: 15px;
	}
	
	.zakaz {
		display: block;
		width: 210px;
		position: absolute;
		float: left;
		margin-left: -105px;
		left: 50%;
		border-radius: 5px;
		background: #f29412;
		top: 8px;
		box-shadow: 1px 1px 2px #ccc;
		font-size: 17px;
		line-height: 40px;
		color: #fff;
		text-shadow: 1px 1px 2px #4d4d4d;
		text-decoration: none;
		text-align: center;
		font-weight: 600;
		z-index: 1000;
	}
	
	.phones {
		width: 130px;
		top: 18px;
		
		left: auto;
		right: 75px;
		margin: 0;
		position: absolute;
		height: auto;
		z-index: 1000;
	}
	h1, h2, h3, h4, h5, h6 {
		text-align: left;
	}
	.flexslider{
		margin-bottom: 0px !important;
	}
	.phones p{
		width: auto;
		text-align: left !important;
		margin: 0;
		position: relative;
		clear: both;
		left: 0px;
		top: 0px;
		line-height: 0;
	}
	.phones p:nth-child(2) span{
		font-size: 14px !important;
	}
	.phones p:last-child span{
		font-size: 12px !important;
	}
	
	.phones p:first-child{
		display: none;
	}
	
	#logo{
		width: 120px;
		clear: both;
		left: 15px;
		position: relative;
		top: 14px;
		height: auto;
	}
	
	
	
	.cont-text{
		width: 100%;
		
		float:left;
		display:block;
	}
	.cont-form{
		width: 100%;
		max-width:470px;
		float:left;
		display:block;
	}
	
	
	.menu-button .btn-menu span{
		transition: background 0s .0s;
	}
	
	.menu-button.active .btn-menu span{
		transition-delay: 0s,0.3s;
	}
	.menu-button.active .btn-menu{
		height: 21px;
	}
	
	
	
	.menu-button .btn-menu span:first-child{
		transition-property: top,transform;
	}
	.menu-button .btn-menu span:last-child{
		transition-property: bottom,transform;
	}
	.menu-button .btn-menu span:first-child, .menu-button .btn-menu span:last-child{
		transition-duration: .3s,0.3s;
		
	}
	.menu-button.active .btn-menu span:first-child, .menu-button.active .btn-menu span:last-child{
		transition-delay: 0s,0.3s;
	}
	
	.menu-button.active .btn-menu span:first-child{
		top: 21px;
		transform: rotate(45deg);
		position: absolute;
	}
	.menu-button.active .btn-menu span:last-child{
		bottom: 21px;
		transform: rotate(-45deg);
		position: absolute;
	}
	.menu-button .btn-menu span:nth-child(2){
		transition: background 0s .3s;
	}
	.menu-button.active .btn-menu span:nth-child(2){
		background: none;
	}
	
}



@media all and (max-width: 767px) {
	.partner-item p{
	 line-height: 25px;
	 font-size: 20px;
	}
	.partner-item{
	margin-bottom: 40px;
	}
	
	.rt-t{
		font-size: 18px;
	}
	
	.razdel{
		margin-bottom: 25px;
	}
	
	.fancybox-title{
	font-size: 16px !important;
	}
	
	.fancybox-skin .zakaz{
	margin-bottom: 25px;
	margin-top: 25px;
	}
	
	.all-news a{
		font-size: 16px;	
	}
	
	#footer {
	    justify-content: center;
        flex-wrap: wrap;
        text-align: center;
	}
	
	#copyright a {
		font-size: 14px !important;
		line-height: 15px;
	}
	#copyright{
		font-size: 14px;
		margin-left: 0px;
	}
	
	#workarea div{
		font-size: 16px;
	}
	body{
		font-size: 16px;
		line-height: 22px;
	}
	#footer .phone_foot{
		margin-right: 0px;
	}
	
	.news-index-item{
	height: auto;
	}
}

@media all and (max-width: 640px) {
	
	#footer {
		height: 120px;
	}

	.phone_foot a.mobtel .small{
		display: inline-block;
	}
	.phone_foot a.mobtel{
		display: inline-block;	
	}
	
	.phone_foot .small-foot{
		font-size: 16px;
	}
	
	.zakaz {
		display: none;
	}
	.flexnav li a{
		font-size: 16px;	
	}
	
	#logo a img {
		width: 100%;
		margin-top: 8px;
	}
	
	.zakaz-mob{
		display: block;
		width: 210px;
		position: absolute;
		float: left;
		margin-left: -105px;
		left: 50%;
		border-radius: 5px;
		background: #f29412;
		top: 8px;
		box-shadow: 1px 1px 2px #ccc;
		
		color: #fff;
		text-shadow: 1px 1px 2px #4d4d4d;
		text-decoration: none;
		text-align: center;
		font-weight: 600;
		z-index: 1000;
		
		font-size: 16px;
		line-height: 18px;
		width: 104px;
		/*top: 30px; nb*/
		top: 30px;
		right: 100px;
		left: auto;
	}
	.small{
		display: none;
	}
	
	.field-body {
		margin-left: 41px;
		margin-top: 20px;
	}
	.field-body > .fb-text{
		display: none;
	}
	.flex-control-nav{
		display: none;
	}
	
	.razdel{
		width: 100%;
	}
	.phones {
		width: 130px;
		/*top: 18px;  nb*/
		top: 14px;
		left: auto;
		right: 75px;
		margin: 0;
		position: absolute;
		height: auto;
	}
	
	.phones p{
		width: auto;
		text-align: left !important;
		margin: 0;
		position: relative;
		clear: both;
		left: 0px;
		top: 0px;
		line-height: 0;
	}
	.phones p:nth-child(2) span, .mobtel{
		font-size: 14px !important;
		color: #5c5c5c;
		text-decoration: none;
	}
	.phones p:last-child span {
		font-size: 12px !important;
	}
	
	.phones p:first-child{
		display: none;
	}
	
	#logo{
		width: 120px;
		clear: both;
		left: 15px;
		position: relative;
		top: 14px;
		height: auto;
	}
	.lang-wrap{
		top: 18px;
		left: 145px;
	}
	
	.lang-wrap a{
		margin-right: 5px;
	}
	
	#header {
		height: 55px;
		border-bottom: solid 1px;
	}
	
	#top-menu {
		top: 7px;
	}
	.flexnav.flexnav-show{
		max-width: 100%;
		position: absolute;
		right: 0;
		top: 48px;
	}
	
}
@media all and (max-width: 580px) {
	
	.old_maps{
		display: block;
		width: 100%;
		max-width: 90%;
		clear: both;
		float: none;
		position: relative;
		overflow: hidden;
		margin: 0 auto;
	}

	
	.section-desc table{
		width: 100%;
	}
	
}
@media all and (max-width: 540px) {
	
	.lang-wrap{
		top: 5px;
		left: 15px;
	}
	
}


@media (max-width: 410px){
	/*.lang-wrap {
		top: 18px;
		left: 138px;
	}*/
}


@media all and (max-width: 380px) {
	
	
	#logo{
		width: 120px;
		clear: both;
		left: 15px;
		position: relative;
		top: 18px;
		height: auto;
	}
}

@media all and (max-width: 320px) {
	
	#logo a img {
		width: 80%;
	}
	#logo {
		
		width: 120px;
		clear: both;
		left: 15px;
		position: relative;
		top: 22px;
		height: auto;
		
		text-align: left;
		
	}
	.lang-wrap {
		text-align: left;
		margin-top: 0px;
	}
}

