* {
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
    padding: 0;
    margin: 0;
}
body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 0.7em;
    color: #3d3d3d;
    background: #f1f1f1 url(../all/head_left.gif) left top no-repeat;
}
h1 {
    font-size: 1.2em;
    font-weight: bold;
    color: #3d3d3d;
    margin: 0px 0px 18px 9px;
}
h2 {
    font-size: 12px;
    font-weight: bold;
    color: #3d3d3d;
    margin: 0px 0px 4px;
}
h1 a, h2 a {
    color: #3d3d3d;
}
h3 {
    font-size: 0.7em;
}
h4 {
    font-size: 1.8em;
    font-weight: normal;
    color: #0079ab;
    padding: 11px 10px 9px 0px;
}
p, li, label, legend {
    font-size: 1em;
}
ul {
    padding: 10px 0px 15px 31px;
    list-style: url(../all/marker.gif);
}
ul li {
    padding-left: 7px;
    //padding-left: 11px;
    padding-bottom: 6px;
}
ol {
    padding: 10px 0px 15px 70px;
}
ol li {
    padding-bottom: 6px;
}
p {
    margin-bottom: 1em;
}
a {
    cursor: pointer;
    color: #0079ab;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
td {
    font-size: 1.3em;
}
td p, td li {
    font-size: 1em;
}
a img {
    border: 0;
}
.center-text {
    text-align: center;
}
.left-text {
    text-align: left;
}
.right-text {
    text-align: right;
}
.float_l {
    float: left;
}

#container-page {
    width: 100%;
    margin: 0 auto;
    position: relative;
    min-height: 100%;
    min-width: 900px;
    height: auto !important;
    height: 100%;
}
#container-header {
    width: 100%;
    min-width: 1000px; 
    background: url(../all/head_right.gif) right top no-repeat;  
}	
#container-header:after {
    clear: both;
    display: block;
    font: 1px/0px serif;
    content: " ";
    height: 0px;
    visibility: hidden;
}
#container-footer {
    width: 799px;
    height: 145px;
    color: #585858;
    font-size: 0.9em;
    background: url(../all/bg_footer.jpg) left bottom no-repeat;
}
#container-footer a {
    color: #888;
}
.footer_block {
    padding-top: 65px;
}
.foot_left {
    float: left;
    width: 167px;
    padding-right: 14px;
}
.foot_mid {
    float: left;
    width: 233px;
}
.foot_right {
    margin-left: 400px;
    padding-top: 6px;
}
/*главное меню*/
.menu {
    position: relative;
    margin-right: 190px;
    height: 145px;
    margin-left: 154px;
}
.menu a {
    color: #3d3d3d;
}
.menu_item a {
    text-decoration: none;
}
.menu_item a:hover {
    color: #0079ab;
}
.drop a {
    cursor: pointer;
}
.menu-company, .menu-company_h {
    position: absolute;
    width: 23%;
    left: 0%;
    font-size: 13px;	
}
.menu-avto, .menu-avto_h {
    position: absolute;
    width: 15%;
    left: 23%;
    text-align: center;
    font-size: 13px;
}
.menu-finprogs, .menu-finprogs_h {
    position: absolute;
    width: 27%;
    left: 38%;
    text-align: center;
    font-size: 13px;
}
.menu-forum_tempname, .menu-forum_tempname_h {
    position: absolute;
    width: 20%;
    left: 65%;
    text-align: center;
    font-size: 13px;
}
.menu-services, .menu-services_h {
    position: absolute;
    width: 15%;
    left: 85%;
    text-align: right;
    font-size: 13px;
}
.menu_item_block {
    padding: 0px 1px;
    background: url(../all/shadow.png) left top repeat;
    //background: none;
    //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/all/shadow.png',sizingMethod='scale');
}
.menu_item {
    background: #fff url(../all/bg_menu_item.jpg) left bottom no-repeat;
    font-size: 11px;
    padding: 5px 5px 6px 19px;
    border-left: 1px #d7d7d7 solid;
    border-right: 1px #d7d7d7 solid;
}

.menu_item_top_block {
    background: url(../all/menu_item_top.jpg) left top no-repeat;
}
.menu_item_block_last {
    border-top: 1px #d6d6d6 solid;
    border-left: none;
    border-right: none;
    padding: 0;
    background: none; 
    height: 3px;
    margin: -1px 1px 0px 1px;
}
.menu_item_top {
    height: 31px;
    font-size: 13px;
    padding: 14px 19px 0px; 
    font-weight: bold;
    background: url(../all/menu_item_top_last.jpg) right top no-repeat; 
}
.menu-company_h .drop .menu_item, .menu-avto_h .drop .menu_item, .menu-finprogs_h .drop .menu_item, .menu-forum_tempname_h .drop .menu_item, .menu-services_h .drop .menu_item, .menu-company .drop .menu_item_block, .menu-avto .drop .menu_item_block, .menu-finprogs .drop .menu_item_block, .menu-forum_tempname .drop .menu_item_block, .menu-services .drop .menu_item_block, .menu-company .drop .menu_item_block_last, .menu-avto .drop .menu_item_block_last, .menu-finprogs .drop .menu_item_block_last, .menu-forum_tempname .drop .menu_item_block_last, .menu-services .drop .menu_item_block_last {
    display: none;
}
.menu-company .drop .menu_item_top_block, .menu-avto .drop .menu_item_top_block, .menu-finprogs .drop .menu_item_top_block, .menu-forum_tempname .drop .menu_item_top_block, .menu-services .drop .menu_item_top_block, .menu-company .drop .menu_item_top, .menu-avto .drop .menu_item_top, .menu-finprogs .drop .menu_item_top, .menu-forum_tempname .drop .menu_item_top, .menu-services .drop .menu_item_top  {
    background: none;
}
.menu-company .drop_over .menu_item_block, .menu-company .drop_over .menu_item, .menu-company .drop_over .menu_item_block_last, .menu-avto .drop_over .menu_item_block, .menu-avto .drop_over .menu_item, .menu-avto .drop_over .menu_item_block_last, .menu-finprogs .drop_over .menu_item_block, .menu-finprogs .drop_over .menu_item, .menu-finprogs .drop_over .menu_item_block_last, .menu-forum_tempname .drop_over .menu_item_block, .menu-forum_tempname .drop_over .menu_item, .menu-forum_tempname .drop_over .menu_item_block_last, .menu-services .drop_over .menu_item_block, .menu-services .drop_over .menu_item, .menu-services .drop_over .menu_item_block_last {
    display: block;
}
.drop, .drop_over {
    margin: -4px 0px 0px;
    //margin: -12px 0px 0px; 
    padding: 0;
    z-index: 1200;
}
.menu-finprogs .menu_item_top, .menu-finprogs_over .menu_item_top, .menu-finprogs_h .menu_item_top {
    height: 38px;
}
.menu-forum_tempname .menu_item_top, .menu-forum_tempname_over .menu_item_top, .menu-forum_tempname_h .menu_item_top {
    padding-left: 25px;
    padding-right: 25px;
}
/*
.menu-services .menu_item_top, .menu-services_over .menu_item_top, .menu-services_h .menu_item_top {
    width: 100px;
}
*/
.menu-services .drop, .menu-services .drop_over, .menu-services_over .drop, .menu-services_over .drop_over, .menu-services_h .drop, .menu-services_h .drop_over {
    width: 120px;
}
/* */

.logo {
    width: 154px; 
    height: 165px;
    float: left;
    padding: 0;
}
.tools {
    float: right;
    width: 190px;
    height: 145px; 
    min-width: 190px;
    margin-top: -145px; 
}
.tools table {
    margin: 45px 25px 0px 0px;
    //margin: 40px 25px 0px 0px;
}
.tools img {
    margin-right: 9px;
}	
.date1, .date2 {
    background: url(../all/bg_date1.gif) left top no-repeat;
    width: 79px;
    height: 29px;
    padding: 8px 0px 0px 9px;
    font-size: 1.2em;
    font-weight: bold;
}
.date2 {
    background: url(../all/bg_date2.gif) left top no-repeat;
}
.news_on_main {
    margin: 0px 15px 4px 9px;
}
.inp {
    font-size: 11px;
    color: #888;
    width: 139px;
    height: 15px;
    border-left: 1px #3d3d3d solid;
    border-top: 1px #3d3d3d solid; 
    border-right: 1px #d0d1d5 solid; 
    border-bottom: 1px #d0d1d5 solid;
    padding: 3px 10px 0px 4px;
    margin-left: 9px;
}
.but {
    width: 27px;
    height: 20px;
    border: none;
    background: url(../all/button.gif) left top no-repeat;
    cursor: pointer;
}
.marg18 {
    margin-top: 18px;
}
.marg1 {
    margin-left: 1%;
}
.flash_shadow_right {
    float: left;
    width: 820px;
    background: url(../all/flash_bg_right_long.jpg) right top no-repeat;
}
.flash_shadow_top {
    width: 820px;
    height: 20px; 
    background: url(../all/flash_bg_top_long.jpg) left top no-repeat;
}
.right_block {
    margin-left: 820px;
    //margin-left: 810px;
    background: url(../all/pensil.jpg) right top no-repeat;
    padding-top: 20px;
}
.ban {
    width: 174px;
    height: 181px;
    background: url(../all/ramka_ban.jpg) left top no-repeat;
    margin: 30px 0px 7px 14px;
}
.portmone {
    background: url(../all/portmone.jpg) center top no-repeat;
    height: 330px;
    padding: 21px 0px 0px 0px;
    /*margin-left: -26px;*/
    position: relative;
}

.portmone img {
    margin: 8px 0px 5px;
}

.bord {
    border: 6px #dfdfdf solid;
}
.yellow_title {
    margin: 28px 20px 15px 0px;
}
.title_1 {
    background: url(../all/yellow1.png) left top no-repeat;
    //background: none;
    //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/all/yellow1.png',sizingMethod='crop');
}
.title_2 {
    padding-top: 10px;
    padding-right: 20px;
    background: url(../all/yellow2.png) left top repeat-x;
    //padding-top: 0px;
    //background: none;
    //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/all/yellow2.png',sizingMethod='scale');
}
.title_3 {
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../all/yellow3.png',sizingMethod='crop');
}
.title_1 img, .title_3 img {
    filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
}
.title_2 a, .title_2 a:hover {
    color: #3d3d3d;
    text-decoration: none;
}
.scroll {
    padding-bottom: 0px;
    font-size: 0.9em; 
    color: #0079ab;
}
.scroll span {
    color: #3d3d3d;
}
.scroll a {
    color: #888;
}
.from_history {
    padding-left: 10px;
    padding-top: 10px;
}
.from_history a {
    color: #888;
    font-size: 0.8em;
}
.from_history p {
    margin: 0;
}
.left_col {
    float: left; 
    width: 820px;
}
.left_col_shadow {
    background: #ededed url(../all/flash_bg_right.jpg) right top repeat-y;
}
.bord1 {
    width: 800px;
    background: url(../all/gray_left_s.jpg) left top repeat-y;
}
.bord2 {
    background: url(../all/bg_sec.jpg) right top repeat-y;
}
.bord3 {
    background: url(../all/gray_bot_big.jpg) left bottom no-repeat;
}
.bord4 {
    background: url(../all/gray_top.jpg) left top no-repeat;
}
.bord5 {
    margin: 0;
} 
.article {
    margin: 0px 40px 120px 45px;
    font-size: 0.85em;
}
.article_item {
    margin-left: 45px;
    margin-right: 50px;
}
.pad18 {
    padding-top: 18px;
}
.article_item .date1, .article_item .news_on_main {
    font-size: 0.7em;   
}
.sp {
    font-size: 0.9em;
    margin: 4px 5px 2px 42px;
}
.cars .yellow_title {
    margin: 1px 20px 15px 0px;
}
.cars .title_1 {
    background: url(../all/yellow12.png) left top no-repeat;
    //background: none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../all/yellow12.png',sizingMethod='crop');
}
.cars .article {
    margin-bottom: 50px;
}
.model, .model_h {
    float: left;
    width: 336px; 
    height: 136px;
    background: #dfdfdf;
    margin: 0px 1px 1px 0px;
    font-size: 0.9em;
}
.model_h {
    background: #cfcfcf;
}
.model h4, .model_h h4 {
    font-size: 2em;
    padding: 28px 5px 11px 0px;
}
.model a, .model_h a {
    color: #888;
    padding: 0px 0px 0px 2px;
}
.avto_link {
    clear: both;
    padding: 40px 0px 0px 10px;
}
.more {
    padding-top: 9px;
    padding-bottom: 17px;
}
.gal, .gal_h {
    float: left;
    width: 110px; 
    height: 71px;
    background: #dfdfdf;
    margin: 0px 1px 1px 0px;
}
.gal_h {
    background: #b1b1b1;
}
.gal img, .gal_h img {
    padding: 6px 0px 0px 6px;
}
.lev3_item, .lev3_item_h {
    font-size: 0.85em;
    color: #0079ab;
    padding-bottom: 4px;
    padding-left: 34px;
}
.lev3_item_h {
    font-weight: bold;
    background: url(../all/marker_li.gif) left top no-repeat;
}
.also {
    font-size: 0.85em;
    background: url(../all/bg_also.gif) left top no-repeat;
    margin-top: 49px;
}
.also_link {
    color: #888;
    font-size: 0.8em;
}
.also_text {
    padding-left: 34px;
}
.list_model_item, .list_model_item_h {
    width: 267px; 
    height: 58px;
    margin: 0px 0px 1px;
    font-size: 0.9em;
}
.list_model_item_h {
    background: #d2d2d2;
}
.list_model_item h4, .list_model_item_h h4 {
    font-size: 1em;
    color: #3d3d3d;
    padding: 20px 3px 0px 0px;
}
.list_model_item a, .list_model_item_h a, .list_model_item a:hover, .list_model_item_h a:hover {
    color: #888;
    text-decoration: underline;
}
.tab {
    width: 100%;
    empty-cells: show;
    margin-bottom: 20px;
    //margin-bottom: 30px;
}
.tab th {
    text-align: left;
    border-top: 1px #3d3d3d solid;
    border-bottom: 1px #3d3d3d solid;
    vertical-align: middle;
    padding: 7px 20px 10px 0px;
    margin: 0;
}
.tab td {
    vertical-align: top;
    text-align: left;
    padding: 6px 20px 6px 0px;
    font-size: 1em;
    border-bottom: 1px #d0d1d5 solid;
    margin: 0;
}
.block_test {
    margin: 7px 25px 0px 0px;
}
.block_contacts {
    margin: 5px 0px 0px 0px;
}
.p {margin-left: 17%; //margin-left: expression(document.body.clientWidth < 1200? "12%" : document.body.clientWidth > 1200? "7%" : "auto");}














#lightbox{
	position: absolute;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../all/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../all/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../all/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%	
	}

#imageData{	padding:0 10px; color: #666; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	}





