
* { padding: 0; margin: 0; }
html, body {margin: 0; padding: 0;}
div#wrapper { max-width:1400px; margin:0 auto;}
body{
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px; 
color: #555555; 
background-color: #FFFFFF;
}
H1 {
 font-size: 14px;
 font-weight: bold;
 color: #CC3333;
 margin-bottom: 18px;  
}
/* не требуется */
H2 {
 font-size: 12px;
 color: #CC3333; 
 margin: 12px 12px 12px 0;  
}
/* оставляем оформление для заголовков, являющихся ссылками */
H2 > a:link, H2 > a:hover, H2 > a:visited, H2 > a:active {
 font-size: 12px;
 color: #CC3333;
 margin: 12px 12px 12px 0; 
 border-bottom-style: none; 
}

H3 {
 font-size: 12px;
 font-weight: bold;
 color: #CC3333;
 text-align: left;
}
P {
 margin-bottom: 12px; 
}

/* блок верхней навигации – при нахождении в разделе и отсутствии ссылки «на себя самого» – показывает красный цветом, в каком разделе посетитель */
.menu_category {
 color: #CC3333;
 text-transform: uppercase;
 font-weight:bolder;
 text-align: center;
}
.menu_category a {
 color: #003399;
 text-transform: uppercase;
 font-weight:bolder;
 text-align: center;
}
#logo {
	border:0;
	border-bottom-style: none	
}
/* не требуется */
/* блок  вертикальной навигации –  класс проставить для P и убрать из A */
.menu_primary {
 color: #003399;
 white-space: nowrap;
 padding-left: 10px;
 padding-right: 10px;
 margin-bottom: 12px; 
}
/* заголовки старой навигации – убран фон, изменено название класса – заменить _left на _h*/

.menu_primary_h {
 color: #003399;
 text-align: left;
 margin: 12px 0 12px 0;
 font-weight:bolder;
}
/* задаёт отступ в ячейке вертикальной навигации */
.left_block {
 padding-right: 5px;
}
/* задаёт отступы в центральной ячейке с контентом */
.central_block {
 vertical-align: top;
 text-align: left;
 padding-right: 10px;
 padding-left: 10px;
}
/* задаёт отступы в правой ячейке */
.right_block {
 text-align: left;
 padding-right: 10px;
 padding-left: 10px;
}
/* отбивка футера ячейкой с полосой */
.top_border {
 border-top: 1px dotted #9999FF;
}
.form_table { /* табличный вывод результатов поиска по базе*/
 border-collapse:collapse;
 border: 1px solid #ce4c3e;
 color: #CC6633;
 padding: 5px;
}
.form_table td { padding: 2px 4px 2px 4px;}

.form_table p {
 color: #CC6633;
 text-decoration: none;
}

/* названия параметров в карточке варианта */
.form_name_pos {
 color: #666666
}
.form_search_table {
 border: 1px solid #006699;
 color: #000000;
}
.form_search_table p {
 color: #000000;
 background-color: #FFFFFF; 
}
/* ССЫЛКИ */
a:link {
 color: #003399;
 text-decoration: none;
}

a:visited {
color: #003399; 
 text-decoration: none;
}
a:hover {
 color: #003399;
 border-bottom-width: 1px;
 border-bottom-style: dotted; 
}
/* div found - контейнер с таблицей результата поиска */
#found {padding: 1em 0 1em 0;}
/* ссылки внутри таблицы с результатами поиска */
#found  a:link{
 color: #CC6633;
 text-decoration: underline;
}
#found a:visited {
 color: #CC6633;
 text-decoration: underline;
}
#found  a:hover{
 color: #003399;
 border-bottom-style: dotted;
 border-bottom-width: 1px;
}


/* оставлено для совместимости, чтобы не переписывать стили */
#found a:link.form_table_link_none{ 
 color: #CC6633;
 text-decoration: none;
}
#found a:visited.form_table_link_none{ 
 color: #CC6633;
 text-decoration: none;
}
/* отбивка картинок в новостном блоке */
#central_block img {
 padding:0 5px 5px 0;
}
.central_block img {
 padding:0 5px 5px 0;
}

address {
	color: #003366;
	white-space: nowrap;
	font-style: normal;
	padding-right: 10px;
	padding-left: 10px;
}

ul {
	margin-left:40px;
	padding-left:0px;
}
/* td.form_table {
padding: 2px 4px 2px 4px ;
} */
/* td.listing { 
padding: 1px 1px 1px 1px; 
} */


#lightbox{	position: absolute;	left: 0; width: 100%; z-index: 100; text-align: center; line-height: 0;}
#lightbox img{ width: auto; height: auto;}
#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-image: url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ display: block; }
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/lightbox/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/lightbox/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; outline: none;}	 	

#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; }


