* {margin: 0; padding: 0}
body {margin: 0px; padding: 0; background: #E1E1E1; font-family: "Trebuchet MS", sans-serif; font-size: 14px;}
.container {position: relative; width: 940px; margin: 0 auto;}

.container:after {
    display: table;
	clear: both;
	content: '';
}

#header {clear: both; background: url(img/topbg.png) repeat-x; padding-bottom:20px; margin-bottom:20px; overflow: hidden;}
#head_top {clear: both; background: url(img/bmw.png) no-repeat 260px top; height: 275px;}
/*body:not(#id1) #head_top{ display:none; }*/
#head_logo {padding: 50px 0 0 0; float: left; width: 124px;}
#head_phone {float: right; font-size: 17px; color: #fff; font-family: 'Droid Sans', sans-serif; background: url(img/phone.png) no-repeat center top; padding: 60px 0 0 0; margin: 70px 0 0 0; text-align: center;}
#head_phone b {font-size: 29px; font-weight: normal;}

#head_menu{overflow: hidden; text-align: center;}
/*body:not(#id1) #head_menu{ padding-top:20px; }*/
#head_menu ul {display: inline-block; height: 40px; line-height: 40px; border-left: 1px solid #282828; border-right: 1px solid #282828; border-radius: 6px; padding: 0 3px; border-top: 2px solid #0E0E0E; border-bottom: 1px solid #282828; }
#head_menu ul li {list-style: none; float: left; display: block; position: relative;}
#head_menu li a {position: relative; left: 0; bottom: -1px; color: #FEFEFE; font-size: 16px; font-family: 'Droid Sans', sans-serif; text-decoration: none; display: block; padding: 0 26px; height: 39px; line-height: 39px;  border-left: 1px solid #262626;}
#head_menu li a:hover,
#head_menu li a.current {color: #FEFEFE; border-bottom: 1px solid #007EC6; background: url(img/menu_hover.png) repeat-x bottom;}
#res30 {background: #FF0000;}

#head_menu ul li.first a,
#head_menu ul li:first-child a {border: none;}

.middle {
    width: 100%;
	float: left;
	overflow: hidden;
}

.content {padding: 0 229px;}
.product-page-block { position: relative; overflow: hidden;}
.product-title {font-size:12px; font-weight:normal;}

#main {
    position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 952px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
    border-top: none;
}

#main p {padding:10px 0;}

#kmini {
	display: inline-block;
	text-align: center;
	position: relative;
	margin: 5px 5px 5px 5px;
    background: #fff;
    min-height: 150px;
	border-radius: 3px;
    border: 1px solid #C1C1C1;
	float: none;
	padding: 5px;
	width: 200px;
}

#akciamin {
	display: inline-block;
	text-align: center;
	position: relative;
	margin: 0px 0px 0px 0px;
    background: #fff;
    min-height: 150px;
	border-radius: 3px;
    border: no-border;
	float: none;
	padding: 0px;
	width: 100%;
}

#Karta {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
border-radius: 3px;
    border: 1px solid #C1C1C1;
float: right;
padding: 10px;
width: 35%;
}

#Fotki {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;
	float: left;
	padding: 10px;
	width: 45%;
}


#FotkiMSK {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;
	float: left;
	padding: 0px auto;
	width: 60%;
}

#Text {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 200px;

float: left;
padding: 0px;
width: 100%;
}

.foto {float: left; width: 50%;}
.photo1 {float: left; width: 90%;}
.photo2 {float: left; width: 90%;}
.photo3 {float: left; width: 90%;padding:10px 5px;}
.photo4 {float: left; width: 90%;padding:10px 5px;}
.fotomini {float: none; width: 100%;}
.zena_rab { margin: 0px 0 10px 0; font-size: 14px;color: #828282;}
.engine { margin: 10px 0 0px 0; font-size: 14px;color: #828282;}
.vremia { margin: 10px 0 10px 0; font-size: 14px;}
.pod_kluch {font-size: 20px; color: #3481B8;}
.rashod {font-size: 16px;font-style: italic;font-weight: 600;}
.bodycar {margin: 0 0 10px 0;font-size: 14px; color: #828282;}
.sostav {margin: 0 0 10px 0;font-size: 14px; color: #000000;}
.opisanie {margin: 10px 0 10px 0; font-size: 16px; }
.price1 {margin: 0 0 20px 0;font-size: 36px; color: #3481B8; }
.oldprice {color: #000000;margin: 0 0 0 0px;font-size: 18px; font-weight: bold;text-decoration: line-through; }
.oldpricesmall {text-align: left; color: #000000; margin: 0 0 0 15px;font-size: 18px; font-weight: bold;text-decoration: line-through; }
.skidka {margin: 0 0 20px 0px;font-size: 56px; font-weight: 900;color: #FF0000; }
.skidkasmall {text-align: right; margin: 0 10px 0px 0px;font-size: 36px; font-weight: 900;color: #FF0000; }
.nalichie {margin: 0 0 20px 0;}
.tip {font-size: 12px; color: #3481B8;}
.diametr {margin: 0 0 10px 0;font-size: 12px; color: #3481B8;}
.articul {font-size: 12px; color: #3481B8; }
.proizv {margin: 0 0 10px 0; font-size: 12px; color: #3481B8; }
.kontakt {margin: 10px 0 0 0;}
.kategoria {margin: 20px 0px;}
.text1 {margin: 10px 0px;}
.akcia2 {margin-bottom:10px;}


#left_sidebar {
    float: left;
	width: 220px;
	margin-left: -100%;
	position: relative;
}

#right_sidebar {
    float: left;
	width: 220px;
	margin-left: -220px;
	position: relative;
}

.widget { margin-bottom: 15px; clear: both; background: #fff; border-radius: 3px; border-left: 1px solid #C1C1C1;  border-right: 1px solid #C1C1C1;  border-bottom: 1px solid #C1C1C1;}
.widget.noborder {border: none; border-radius: 0; background: none;}

.widget_header {background: url(img/he1.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 220px; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }
.widget_header_red {background: url(img/he3.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 100%; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }
.he3 {background: url(img/he2.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: -1px 0 0 -1px; width: 482px; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; overflow:hidden; }
.he3 h1{ font-size:18px; font-weight:normal; padding:0; margin:0;}

.widget a {color:#464646; font-size: 13px; font-family: 'Droid Sans', sans-serif; text-decoration: none; overflow: hidden;}
.widget a:hover {color: #228FCE;}
a.current{ color:#228FCE; text-decoration: none; }
.widget ul {padding: 4px 0;}
.widget li {list-style: none; padding: 4px 0 4px 10px;}

.news {padding: 0px; background: #fff;}
.news p {color: #555555; font-family: "Trebuchet MS", sans-serif; font-style: italic; font-size: 14px; line-height: 18px;}
.news p.news_more {text-align: right;}
.widget .news a {color: #007EC6; }
.widget .news a:hover {color: #000;}

.news_sep {height: 1px; width: 165px; margin: 0 auto; background: #6D6D6D; margin-bottom: 10px;}
.news_sep:last-child{ display:none; }

.ajmenu {background: #CFCFCF;}
.ajmenu > ul  {padding: 0; margin: 0 0 0 -10px; padding-bottom: 0; width: 230px; position: relative; border-radius: 0 0 3px 3px; }
.ajmenu li {/*border-bottom: 1px solid #C2C2C2; padding-bottom: 0;*/ padding: 0 0 0 10px;}
.ajmenu li:last-child {border: none;}
.ajmenu li ul {/*border-top: 2px solid #3CA5D8;*/ background: #F2F2F2; /*margin-top: 3px;*/ width: 218px;}
.ajmenu li ul li {border: none; padding: 0;}
.ajmenu li a {/*line-height: 1; padding: 4px 0 4px 10px;*/padding: 8px 0 8px 10px; font-size: 14px; font-family: 'Droid Sans', sans-serif; font-weight:bold; display: block; border-bottom: 2px solid #E8E8E8;}
.ajmenu li li a{ font-weight:normal; }
.ajmenu li a span {font-size: 11px;}
.ajmenu li ul li a {font-size: 13px; border-bottom: none;}

.mcnt {padding-bottom: 11px;}

#main_bot {background: url(img/prefoot.png) no-repeat; width: 32px; height: 11px; position: absolute; bottom: 0; left: 50%; margin: 0 0 -11px -16px; z-index: 9999;}
#footer {background: url(img/botbg.png) repeat-x top; clear: both; margin-top: 30px; height: 146px;}
#footer_logo {float: left; width: 140px; padding: 20px 0 0 20px;}
#footer_menu {float: left; width: 520px; padding: 56px 0 0 0;}
#footer_menu li {list-style: none; float: left; border-right: 1px solid #F0F0F0; line-height: 28px;}
#footer_menu li a {color: #FEFEFE; font-size: 13px; font-family: 'Droid Sans', sans-serif; text-decoration: none; display: block; height: 28px; padding: 0 21px; border-right: 1px solid #414141;}
#footer_menu li a:hover {color: #2683D9}
#footer_menu li:last-child, #footer_menu li:last-child a {border: none;}

#footer_phone {width: 240px; float: right; font-size: 16px; color: #fff; font-family: 'Droid Sans', sans-serif; text-align: left; padding: 45px 0 0 0;}
#footer_phone b {font-size: 28px; font-weight: normal;}


ul.hleb{margin: 5px 0px 10px 10px}
ul.hleb li{list-style: none; margin: 0; display: inline-block; }
ul.hleb .raz{margin: 0 5px;}
ul.hleb a{color: #414141;}
ul.hleb a:hover{text-decoration: none!important;}
ul.hleb span{color: #444}

.pagecontent{ padding:5px 10px; }
.pagecontent ul,
.pagecontent ol{ margin-left:40px; }

.vin_table table{ width:100%; margin-bottom:10px; font-size:13px; }
.vin_table table tr:first-child td{ background:none; }
.vin_table table td{ background:#DDD; padding:1px; text-align:left; }
.vin_table table td:first-child{ width:60%; font-weight:bold; }


h2 {
padding:0;
margin-top:-8px;
margin-bottom:-8px;
margin: 10px auto 0;
align: center; 
font-size: 18px;
color: #228FCE;
} 

 /* css dlya ul*/

	 ul {
	 padding-top: 5px;
	 padding-bottom: 5px;
    list-style-image: url(Kartinki/bmw_spisok.png); /* Путь к изображению маркера */
   }

   /* css dlya knopki*/

  .button {
border-style:solid;
border-width:1px;
background:#3481B8;
font-size: 18px; 
color: #FEFEFE; /* Цвет шрифта */ 
text-align: center; /* Надпись на кнопке по центру */ 
   border: solid 1px #73C8F0; /* Параметры рамки кнопки */ 
   cursor: pointer; /* Изменение вида курсора при наведении*/
   font-family: "Trebuchet MS",sans-serif;
   border-radius: 3px 3px 3px 3px;
   padding: 2px 5px; /* Поля вокруг текста */ 
text-shadow: 0 1px 1px #000000;
white-space: pre;           /* CSS 2.0 */
    white-space: pre-wrap;      /* CSS 2.1 */
    white-space: pre-line;      /* CSS 3.0 */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap;  /* HP Printers */
    word-wrap: break-word;
}

/*.button:hover {
border-color:#FFCC66 #FFFF99 #FFFF99 #FFCC66;
border-style:solid;
border-width:1px;
background:#FFFF99;
}
.button:focus {
background:#ddd;
border-color:#ddd #333 #333 #ddd;
border-style:solid;
border-width:1px;
}*/

 /* Стиль спойлера */ 
.spoiler_style
{
border-style:solid;
border-width:1px;
background:#3481B8;
font-size: 16px; 
color: #FEFEFE; /* Цвет шрифта */ 
text-align: center; /* Надпись на кнопке по центру */ 
   border: solid 1px #73C8F0; /* Параметры рамки кнопки */ 
   cursor: pointer; /* Изменение вида курсора при наведении*/
   font-family: "Trebuchet MS",sans-serif;
   border-radius: 3px 3px 3px 3px;
   padding: 1px 1px; /* Поля вокруг текста */ 
text-shadow: 0 1px 1px #000000;
}
.spoiler_style td
{
vertical-align:top;

}
.link_karta {
    color: #000000; /* Цвет обычной ссылки */ 
    text-decoration: none; /* Убираем подчеркивание у ссылок */
   }

.link
 {
    color: #007EC6; /* Цвет обычной ссылки */ 
    text-decoration: none; /* Убираем подчеркивание у ссылок */
   }

.link_pod
 {
    color: #007EC6; /* Цвет обычной ссылки */ 
    text-decoration: none; /* Убираем подчеркивание у ссылок */
   }   

.link:hover {

       text-decoration: underline; /* Добавляем подчеркивание */

}
h4 {
padding:0;
margin-top:-8px;
margin-bottom:-8px;
margin: 10px auto 0;
align: center; 
font-size: 16px;
color: #228FCE;
font-style: italic;
} 

.spoiler_style_S
{
border-style: solid;
border-width: 1px;
background: #E8E8E8;
font-size: 14px; 
color: #464646; /* Цвет шрифта */ 
text-align: center; /* Надпись на кнопке по центру */ 
   border: solid 1px #E8E8E8; /* Параметры рамки кнопки */ 
   cursor: pointer; /* Изменение вида курсора при наведении*/
   font-family: "Droid Sans",sans-serif;
font-weight: bold;
 border-radius: 3px 3px 3px 3px;
   padding: 1px 1px; /* Поля вокруг текста */ 



}
.spoiler_style_S td
{
vertical-align:top;
}

@-ms-viewport{width:device-width;}
@viewport{width:device-width;}

#zvezdi1 {display: none;}


/* 261<372px
----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 371px) and (min-width: 261px) {

#footer {background: #000000;   clear: both; margin-top: 30px; height: 272px;}

#footer_phone {background: #000000; width: 100%;  margin-left: 0px; float: right;  font-size: 12px; color: #fff; font-family: 'Droid Sans', sans-serif; text-align: right; padding: 5px 10px 0 0;}

#footer_menu {float: left; width: 190px; padding: 10px 0 0 0;}

#footer_logo {float: left; width: 80px; padding: 20px 0 0 20px;}

#head_menu li a {position: relative; left: 0; bottom: -1px; color: #FEFEFE; font-size: 16px; font-family: 'Droid Sans', sans-serif; text-decoration: none; display: block; padding: 0 20px; height: 39px; line-height: 39px;  border-left: 1px solid #262626;}

#head_menu ul { width: 100%;  padding: 0px 0 0 0; display: block; height: 40px; line-height: 40px; border-left: 1px solid #282828; border-right: 1px solid #282828; border-radius: 6px; padding: 0 3px; border-top: 2px solid #0E0E0E; border-bottom: 1px solid #282828; }

#header {width: 100%;   background: #000000; clear: both; padding-bottom:5px; margin-bottom:5px; overflow: hidden; }

#head_phone {width: 75%; float: right; font-size: 17px; color: #fff; font-family: 'Droid Sans', sans-serif; background: url(img/phone.png) no-repeat center top; padding: 60px 0 0 0; margin: 10px 0 0 0; text-align: center;}

#head_logo {padding: 0px 0 0 0; float: left; background-size: 100px; width: 25%;}

#head_top {clear: both; background: url(img/bmw.png) no-repeat top ; width: 100%; height: 200px;}


.photologo {width: 100%;}
.spoiler_style
{
width: 200px;

}
.spoiler_style td
{width: 200px;
vertical-align:top;
}

.middle {
    width: 100%;
	float: left;
	overflow: hidden;
}



.widget {margin-bottom: 15px; clear: both; background: #fff; width: 100%; border-radius: 3px; border-left: 1px solid #C1C1C1;  border-right: 1px solid #C1C1C1;  border-bottom: 1px solid #C1C1C1;}

.he3 { background: url(img/he2.png) repeat left top; height: auto; line-height: 34px; position: relative; margin: -1px 0 0 -1px; width: 100%;  font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; overflow:hidden; }

.widget_header_red { background: url(img/he3.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 220px;  font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }

.widget_header {background: url(img/he1.png) repeat-x left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 100%; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }

#main {
    position: relative;
	width: 100%;
    margin-top: 1px;
	/*margin-left: -110px;*/
    background: #fff;
    min-height: 1230px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
    border-top: none;
}

#kmini {
	display: inline-block;
	text-align: center;
	position: relative;
    margin-top: 1px;
	margin: 10px 0 0 -7px;
    background: #fff;
    min-height: 150px;
	border-radius: 3px;
    border: 1px solid #C1C1C1;
	float: none;
	padding: 5px;
	width: 100%;
}

.content {padding: 0 0px 0 34%;}

.ajmenu {background: #CFCFCF; width: 100%; }

.ajmenu li ul { width: 100%; padding-right: 10px; }

.ajmenu > ul  {padding: 0px; margin: 0 20 0 -15px;  padding-bottom: 0; width: 100%; position: relative; border-radius: 0 0 3px 3px; }

#Karta {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 100px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
float: left;
padding: 10px;
width: 85%;
}

#Fotki {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;

float: left;
padding: 10px;
width: 85%;
}

#FotkiMSK {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;

float: left;
padding: 0px;
width: 85%;
}

.foto {float: left; width: 90%;}
.photo1 {float: left; width: 90%;}
.photo2 {float: left; width: 90%;}
.zoom {float: right; width: 50px;}

#left_sidebar {
    float: left;
	width: 32%;
	margin-left: -100%;
	position: relative;
}


.container { float: none; position: relative; width: 100%; margin: 0 0 20 20;}

#right_sidebar {

margin-top: 20px;
    float: left;
	width: 98%;
	margin-left: 0px;
	position: relative;
}


.gal-item-user {
  background: #ffffff none repeat scroll 0 0;
  display: block;
  float: none;
  margin: 8px;
  vertical-align: text-top;
}

.gal-item {
    float: left;
    padding: 3px;
    border: 1px solid #d4d4d4;
    margin: 4px;
    opacity: 0.8;
}

.gal-item:hover {
    opacity: 1.0;
}

.gal-item-user:hover {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 0 3px #333333;
}

.gal-item-user .descr {
  line-height: normal;
  text-align: center;
}

.gal-item-user a {
  color: #000000;
  line-height: 0;
  padding: 0;
  text-decoration: none;
}

}




/* 372<552px
----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 552px) and (min-width: 372px) {

#zvezdi {display: none;}
#zvezdi1 {display: inline;}
.skidka {margin: 0 0 20px 0px;font-size: 40px; font-weight: 900;color: #FF0000; }
}


/* 761<799px
----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 799px) and (min-width: 761px) {

#zvezdi {display: none;}
#zvezdi1 {display: inline;}
.skidka {margin: 0 0 20px 0px;font-size: 54px; font-weight: 900;color: #FF0000; }
}


/* 372<760px
----------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 760px) and (min-width: 372px) {

#footer {background: #000000;   clear: both; margin-top: 30px; height: 272px;}

#footer_phone {background: #000000; width: 240px;  margin-left: 0px; float: right;  font-size: 12px; color: #fff; font-family: 'Droid Sans', sans-serif; text-align: right; padding: 10px 10px 0 0;}

#footer_menu {float: left; width: 52%; padding: 10px 0 0 0;}

#footer_logo {float: left; width: 80px; padding: 20px 0 0 20px;}

#head_menu ul { width: 100%;  padding: 0px 0 0 0; display: block; height: 40px; line-height: 40px; border-left: 1px solid #282828; border-right: 1px solid #282828; border-radius: 6px; padding: 0 3px; border-top: 2px solid #0E0E0E; border-bottom: 1px solid #282828; }

#header {width: 100%;   background: #000000; clear: both; padding-bottom:5px; margin-bottom:5px; overflow: hidden; }

#head_phone {float: right; font-size: 17px; color: #fff; font-family: 'Droid Sans', sans-serif; background: url(img/phone.png) no-repeat center top; padding: 60px 20px 0 0; margin: 10px 15px 0 0; text-align: center;}

#head_logo {padding: 0px 0 0 0; float: left; background-size: 100px; width: 20%;}

#head_top {clear: both; background: url(img/bmw.png) no-repeat 60% top; height: 200px;}


.photologo {width: 100%;}
.spoiler_style
{
width: 200px;

}
.spoiler_style td
{width: 200px;
vertical-align:top;
}

.middle {
    width: 100%;
	float: left;
	overflow: hidden;
}

.widget {margin-bottom: 15px; clear: both; background: #fff; width: 100%; border-radius: 3px; border-left: 1px solid #C1C1C1;  border-right: 1px solid #C1C1C1;  border-bottom: 1px solid #C1C1C1;}

.he3 { background: url(img/he2.png) repeat left top; height: auto; line-height: 34px; position: relative; margin: -1px 0 0 -1px; width: 100%;  font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; overflow:hidden; }

.widget_header_red {background: url(img/he3.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 220px;  font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }

.widget_header {background: url(img/he1.png) repeat-x left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 100%; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }

#main {
    position: relative;
	width: 100%;
    margin-top: 1px;
	/*margin-left: -110px;*/
    background: #fff;
    min-height: 937px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
    border-top: none;
}

.content {padding: 0 0px 0 34%;}

.ajmenu {background: #CFCFCF; width: 100%; }

.ajmenu li ul { width: 100%; padding-right: 10px; }

.ajmenu > ul  {padding: 0px; margin: 0 20 0 -15px;  padding-bottom: 0; width: 100%; position: relative; border-radius: 0 0 3px 3px; }



#left_sidebar {
    float: left;
	width: 32%;
	margin-left: -100%;
	position: relative;
}


.container { float: none; position: relative; width: 100%; margin: 0 0 20 20;}

#right_sidebar {

margin-top: 20px;
    float: left;
	width: 98%;
	margin-left: 0px;
	position: relative;
}

#FotkiMSK {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;
	float: left;
	padding: 10px auto;
	width: 55%;
}

.gal-item-user {
  background: #ffffff none repeat scroll 0 0;
  display: block;
  float: none;
  margin: 8px;
  vertical-align: text-top;
}

.gal-item {
    float: left;
    padding: 3px;
    border: 1px solid #d4d4d4;
    margin: 4px;
    opacity: 0.8;
}

.gal-item:hover {
    opacity: 1.0;
}

.gal-item-user:hover {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 0 3px #333333;
}

.gal-item-user .descr {
  line-height: normal;
  text-align: center;
}

.gal-item-user a {
  color: #000000;
  line-height: 0;
  padding: 0;
  text-decoration: none;
}

}


/* 761<975px ---------------------------------------------------*/
@media screen and (max-width: 974px) and (min-width: 761px) {

#head_top {clear: both; background: url(img/bmw.png) no-repeat 30% top; height: 250px;}

#footer_menu {float: left; width: 200px; padding: 10px 0 0 0;}

#head_menu ul { width: 100%;  padding: 0px 0 0 0; display: block; height: 40px; line-height: 40px; border-left: 1px solid #282828; border-right: 1px solid #282828; border-radius: 6px; padding: 0 3px; border-top: 2px solid #0E0E0E; border-bottom: 1px solid #282828; }

#head_phone {float: right; font-size: 17px; color: #fff; font-family: 'Droid Sans', sans-serif; background: url(img/phone.png) no-repeat center top; padding: 60px 20px 0 0; margin: 80px 5px 0 0; text-align: center;}


.widget_header {background: url(img/he1.png) no-repeat left top; height: 34px; line-height: 34px; position: relative; margin: 0 0 0 -1px; width: 160px; font-family: Tahoma, sans-serif; color: #FEFEFE; font-size: 18px; padding-left: 10px; text-shadow: 0 1px 1px #000; }

.he3 { background: url(img/he2.png) repeat left top; height: auto; line-height: 34px; position: relative; margin: -1px 0 0 -1px; width: 100%;  font-size: 18px; padding: 0 0px 0 10px;  text-shadow: 0 1px 1px #000; overflow:hidden; }


.ajmenu li ul {/*border-top: 2px solid #3CA5D8;*/ background: #F2F2F2; /*margin-top: 3px;*/ width: 170px;}

.ajmenu > ul  {padding: 0; margin: 0 0 0 -10px; padding-bottom: 0; width: 180px; position: relative; border-radius: 0 0 3px 3px; }

.container { float: none; position: relative; width: 97%; margin: 0 0 20 20;}

.content {padding: 0 229px 0 179px;}

#main {
    position: relative;
	width: 100%;
    margin-top: 1px;
	/*margin-left: -110px;*/
    background: #fff;
    min-height: 984px;
    border-radius: 3px;
    border: 1px solid #C1C1C1;
    border-top: none;
}

#left_sidebar {
    float: left;
	width: 171px;
	margin-left: -100%;
	position: relative;
}

#FotkiMSK {
position: relative;
    margin-top: 1px;
    background: #fff;
    min-height: 150px;
	border: none;
	float: left;
	padding: 10px auto;
	width: 56%;
}

.gal-item-user {
  background: #ffffff none repeat scroll 0 0;
  display: block;
  float: none;
  margin: 8px;
  vertical-align: text-top;
}

.gal-item {
    float: left;
    padding: 3px;
    border: 1px solid #d4d4d4;
    margin: 4px;
    opacity: 0.8;
}

.gal-item:hover {
    opacity: 1.0;
}

.gal-item-user:hover {
  background: #ffffff none repeat scroll 0 0;
  box-shadow: 0 0 3px #333333;
}

.gal-item-user .descr {
  line-height: normal;
  text-align: center;
}

.gal-item-user a {
  color: #000000;
  line-height: 0;
  padding: 0;
  text-decoration: none;
}

}
