* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* Header */
.header {width: 1040px;height: 160px;position: relative;}
.es-carousel ul {position: relative;}
.header:before, .header:after,.contaner:before,.contaner:after,.row:before,.row:after,.es-carousel ul:before,.es-carousel ul:after {content: '';clear: both;display: table;}
.logotype {padding-top: 10px;width: 20%;float:left;text-align: center;}
.header-form {float:left;width: 20%;padding-top: 20px;}
.header-info {padding-top:35px; padding-left:35px;width: 60%;float:left;}
/* Content */
.contaner {width: 100%;position: relative;}
.sidebar {width: 270px;float:left;padding:0px 5px;padding-top:12px;}
.content-block {float:left;width: 910px;padding:5px;}
.bg1 {margin:0 auto;}
.full-width {width: 100%;}
.index-table {width: 720px;padding-bottom:30px;margin:0 auto;}
.section {width: 50%;float:left;}
.top {padding-left: 80px;}
.index-table.row {}
.content-block > .namerazdel {padding-left: 14px;}
ul.B_crumbBox {margin-left: -44px !important; }
/* Footer */
footer {width: 100%;height: 120px;}
.footer-logo {float:left;width: 7%;display: block;margin-top: 30px;}
.footer-logo img{width: 90px;}
.copy {float:left;width: 42.5%;display: block;margin-top: 45px;}
.footer-numbers {float:left;width: 42.5%;text-align: right;display: block;margin-top: 45px;}
.menu-button {display: none;}
.resp-table {overflow-x: auto;}


/* Modal Window */
/* РљРѕРЅС‚РµР№РЅРµСЂ */
.modal {

position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;
-webkit-transition: opacity 500ms ease-in;
-moz-transition: opacity 500ms ease-in;
transition: opacity 500ms ease-in;
display:none;
pointer-events: none;
}

.modal:target {
display: block;
pointer-events: auto;
}


.modal > div {
width: 500px;
background: #fff;
position: relative;
margin: 10% auto;
-webkit-animation: minimise 500ms linear;
padding: 30px;
}

.modal:target > div {
-webkit-animation-name: bounce;
}
.modal label     {font-family: "Arial Narrow", Arial;
    font-weight: 700;
    padding-bottom: 10px;
    display: block;}
.modal h2 {font-size: 25px;padding: 0 0 20px;text-align: center;color: #333;font-family: "Arial Narrow", Arial;}

@-webkit-keyframes bounce {
  0% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  	-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
  	-webkit-transform: scale3d(1.08,1.08,1);
  	-webkit-box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
  	-webkit-transform: scale3d(0.95,0.95,1);
  	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
  	-webkit-transform: scale3d(1,1,1);
  	-webkit-box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-webkit-keyframes minimise {
  0% {
  	-webkit-transform: scale3d(1,1,1);
  }
  100% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  }
}


.modal a.modal-close {
position: absolute;
right: 15px;
top: 15px;
color: transparent;
}
button:hover, input[type=submit]:hover {cursor:pointer;}
.button24 {width: 140px !important;display: block !important;margin:10px auto !important;
color: white;
font-family: 'Arial Narrow';
text-transform: uppercase;
    text-decoration: none;
    padding: .4em 2em;
    outline: none;
    border-width: 2px 0;
    border-style: solid none;
    border-color: #FDBE33 #000 #D77206;
    border-radius: 6px;
    background: linear-gradient(#F3AE0F, #E38916) #E38916;
    transition: 0.2s;}
.zayavka {width: 100%;}
.zayavka  input{outline:none;border-radius: 3px;float:none !important;display: block;width: 100%;height: 20px;border: 0;font-weight: 300;background: #fff;margin-bottom: 10px;padding:10px 15px;font-size: 14px;font-family: 'Arial Narrow';box-sizing: border-box;height: 40px;}

.modal input,.modal button {float:none !important;display: block;width: 100%;height: 40px;border: 0;font-weight: 300;background: #fff;margin-bottom: 10px;padding: 10px;font-size: 14px;font-family: 'Arial Narrow';border: 1px solid #ccc;box-sizing: border-box;}
.modal input[type=submit],.modal input[type=submit-call],.modal button {float:none !important;width: 150px !important;margin:15px auto;background: #99cc33;font-family: 'Arial Narrow',sans-serif;color: #fff;text-transform: uppercase;font-weight: 700;border:0;outline: 0;}
.modal span.error_name > .error,.modal span.error_phone > .error,.zayavka span.error_phone > .error,.zayavka span.error_name > .error,.zayavka span.error_city > .error   {    display: block;
	  font-size: 13px;
	  font-family: 'Arial Narrow',sans-serif;
    color: #fff;
    background: brown;
    padding: 10px;
    margin: 10px 0px;
position: relative;}
.lightSlider li > img {max-width: 100%}
.lightSlider li > img:hover {cursor:pointer;}
.licenses li > img {width: 50%;}
.licenses li {text-align: center;}
.lg-next {   height: 32px;width: 32px;    background-position: -32px 0;
    background-image: url(../img/controls.png);} 
.lg-prev{   height: 32px;width: 32px;    background-position: 0px 0px;
    background-image: url(../img/controls.png);} 
.lg-toolbar .lg-icon {margin: 10px;}
.lg-download {   height: 32px !important;width: 32px !important; background-image: url(../img/download.png);}
.lg-close {   height: 32px !important;width: 32px !important; background-image: url(../img/cancel.png);}
.lg-actions .lg-next:before,.lg-toolbar .lg-download:after,.lg-toolbar .lg-download:after,.lg-actions .lg-prev:after,.lg-toolbar .lg-close:after {display: none;}
.modal span.error_name > .error:before,.modal span.error_phone > .error:before,.zayavka span.error_phone > .error:before,.zayavka span.error_name > .error:before,.zayavka span.error_city > .error:before {	border: 5px solid transparent;	border-bottom: 5px solid brown;position: absolute;content:'';top:-10px;left:20px;}
.our-cars-slider {height: auto !important;margin-bottom: 30px !important;text-align: center;}
.our-cars {margin: 30px 0px !important;}

.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li:hover {border-radius:0px !important;border:3px solid #4a4a4a;}

.lic > .rg-image-wrapper > .rg-image img {width: 50%;}
.lic > .rg-image-wrapper > .rg-image {text-align: center;}
/*Slider*/
.our-cars-2 .es-carousel {height: 110px;    width: 100% !important;}
.rg-image-wrapper{
	position:relative;
	padding:20px 30px;
	min-height:20px;
}
.rg-image{
	position:relative;
	text-align:center;
	line-height:0px;
}
.rg-image img{
	max-height:100%;
	max-width:95%;
}
.rg-image-nav a{
	position:absolute;
	top:50%;
	left:8px;
	background:url(../img/controls.png) no-repeat top left;
	width:32px;
	height:32px;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.3;
	outline:none;
}
.rg-image-nav a.rg-image-nav-next{
	right:8px;
	left:auto;
	background-position:top right;
}
.rg-image-nav a:hover{
	opacity:0.8;
}
.rg-caption {
	text-align:center;
	margin-top:15px;
	position:relative;
}
.rg-caption p{
    font-family: "Myriad Pro";
    font-size: 17px;
	line-height:1.5;
	padding:0 15px;
	min-height: 110px;
}
.rg-view{
	height:30px;
	display: none;
}
.rg-view a{
	display:block;
	float:right;
	width:16px;
	height:16px;
	margin-right:3px;
	background:#464646 url(../images/views.png) no-repeat top left;
	border:3px solid #464646;
	opacity:0.8;
}
.rg-view a:hover{
	opacity:1.0;
}
.rg-view a.rg-view-full{
	background-position:0px 0px;
}
.rg-view a.rg-view-selected{
	background-color:#6f6f6f;
	border-color:#6f6f6f;
}
.rg-view a.rg-view-thumbs{
	background-position:0px -16px;
}
.rg-loading{
	width:46px;
	height:46px;
	position:absolute;
	top:50%;
	left:50%;
	background:#000 url(../images/ajax-loader.gif) no-repeat center center;
	margin:-23px 0px 0px -23px;
	z-index:100;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	opacity:0.7;
}

/* Elastislide Style */
.es-carousel-wrapper{
	background: #f7f7f7;
	position:relative;
	position:relative;
	margin-bottom:20px;
}
.es-carousel{
	overflow:hidden;
	background:transparent;
	height:155px;
	padding:10px 25px;
}
.es-carousel img {max-height: 100px;}
.es-carousel ul{
	display:none;
}
.es-carousel ul li{
	height:100%;
	float:left;
	display:block;
}
.es-carousel ul li a{
	display:block;
	border-style:solid;
	border-color:#f7f7f7;
	opacity:0.8;
	-webkit-touch-callout:none;
	/* option */
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.es-carousel ul li.selected a{
	border-color:#222;
	opacity:1.0;
}
.es-carousel ul li a img{
	display:block;
	border:none;
	max-height:100%;
	max-width:100%;
}
.es-nav span{
	position:absolute;
	top:50%;
	left:8px;
	background:transparent url(../img/controls.png) no-repeat top left;
	width:32px;
	height:32px;
	margin-top:-13px;
	text-indent:-9000px;
	cursor:pointer;
	opacity:0.8;
}
.es-nav span.es-nav-next{
	right:8px;
	left:auto;
	background-position:top right;
}
.es-nav span:hover{
	opacity:1.0;
}
body > div.jGrowl {z-index: 999999;border-radius:0 !important;font-family:'Arial Narrow',sans-serif !important;}
.jGrowl-notification  {border-radius:0 !important;font-family:'Arial Narrow',sans-serif !important;font-size: 18px !important;padding:30px !important;width: 400px !important;}

/* Media Phones */
@media only screen and (max-width: 801px) {
	div.jGrowl.top-right {width: 100%;}
    .jGrowl-notification {width: 100% !important;margin:0 !important;padding:20px !important;}
	.header,.logotype,.header-form,.header-info,.sidebar,.content-block,.index-table,.section,.modal > div{width: 100%;height: auto}
	img {max-width: 100%;}
	.sidebar {margin-bottom: 50px;}
	.content-block {padding:5px !important;}
	.layout-centering {width: 100%;}
	.header-form {text-align: center;}
	.header-info {padding:0;}
	.header-info > .addr {padding-left: 0;text-align: center;}
	.addr,.content-block > .namerazdel {padding-left: 0 !important;}
	ul.tel {display: block;width: 100%;margin-top: 15px;}
	ul.tel li {float:none;width: 100%;text-align: center;}
	ul.tel li.slesh {display: none;}
	.nametel,.teltel {text-align: center;}
	.osn {padding-left: 10px !important;padding-right: 10px !important;}
	.bg1 {display: none;}
	.t3,.bot {padding-left: 0;}
	.section {margin-bottom: 30px;}
	.footer-logo,.copy,.footer-numbers {width: 100%;text-align: center;}
	.footer-logo {margin-top: 0;}
	footer {height: auto;padding:30px 0px;}
	.zayavka {margin:0 auto;}
	.hidden-xs {display: none;}
	.menubg {min-height: auto;}
	.hormenu {display: none;    padding: 15px 0px;}
	.menubgosn {padding:0;height: 47px;line-height: 47px;padding-left: 20px;position: relative;margin-left: 0;margin-right: 0;}
	.menu-button {display: block;position: absolute;right:0;height: 47px;width: 47px;padding: 11.5px;    background: #749c23;}
	.resp-table {position: relative;padding-top: 30px;}
	.resp-table:focus:before {display: none;}
	.resp-table:before {position: absolute;content:'Прокручивайте таблицу влево/вправо';top:0px;text-align: center;display: block;background: rgba(153,204,51,0.3);color: #333;font-size: 14px;height: 30px;line-height: 30px;padding: 0px 10px;width: 100%;}
	.hormenu li a {display: block;}
}
@media only screen and (min-width: 600px) and (max-width: 801px) {
	.hormenu li a {display: block;}
	.section {width: 50%;    padding: 0px 50px;}
	table {width: 100%;}
	.logotype {width: 20%;}
	.header-info {width: 80%;}
	ul.tel {margin-top: 10px;margin-bottom: 30px;text-align: center;}
	ul.tel li.slesh {display: inline-block;float:none;}
	ul.tel li {width: auto;display: inline-block;    vertical-align: middle;}
	.header-info > .addr {float:left;width: 100%;}
	.modal > div {width: 500px;}
	}
@media only screen and (min-width: 768px) and (max-width: 801px) {
	.bg1 {display: block;}
}
