html, body {
  margin:0;
  padding:0;
  width:100%;
  height:100%;
}
body {
  font-size: 12px; 
  background-color: #ffffff; 
  font-family:  Verdana, Arial, Tahoma;
  color: #575755;
  background: url('/images/bg-body.gif');

}
p             {font-size:100%; color: #575755;}
td            {font-size:100%; color: #575755;}
tr            {font-size:100%; color: #575755;}
div           {font-size:100%; color: #575755;}
li            {font-size:100%; color: #575755;}

#left          { 
float:left;
width: 202px;
padding: 0;
margin: 0 0 0 4px;
font-size:100%;	
}
#editor {
background: #f0f0f0;
}
* html #left {
width: 198px;
margin:  0 0 0 2px;
}
#middle        {
margin:25px 20px 0 256px;
padding: 0;
font-size:100%;
}
#shadowl {
min-height: 100%;
width: 9.5%;
background: url('/images/left-shadow1.gif') right 0 repeat-y;
}
#shadowr {
min-height: 100%;
width: 9.5%;
background: url('/images/right-shadow1.gif') left 0 repeat-y;
}
#conteiner {
min-height: 100%;
width: 81%;
min-width: 953px;
margin: 0 auto;
width:expression((document.documentElement.clientWidth
 || document.body.clientWidth) < 952? "952px": "auto");
max-width: 1156px;
width:expression((document.documentElement.clientWidth
 || document.body.clientWidth) > 1164? "1164px": "auto");
border-left: 0px solid #ff0;
border-right: 4px solid #fff;
background: #f0f0f0 url('/images/bg-cont.gif') 0 0 repeat-y;
}

* html #conteiner {
  height: 100%;
}
a img {
border: 0;
}
.clear {
 clear: both;
}
a:link     { font-size:12px; color: #575755; text-decoration:underline; }
a:visited  { font-size:12px; color: #575755; text-decoration:underline; }
a:hover    { font-size:12px; color: #de0306; text-decoration:none }
a:active   { font-size:12px; color: #575755; text-decoration:underline; }

h1 { color: #de0306; font-size:24px; font-variant: small-caps; font-weight:normal; text-align:left; background: #f0f0f0 url('/images/bg-h1.gif') 0 35px repeat-x; padding: 0px 0 10px 0;}
h2 { color: #575755; font-size:14px; font-weight:bold; text-align:left; padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0;}
h3 { color: #de0306; font-size:14px; font-weight:bold; text-align:left;  padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
h4 { color: #575755; font-size:14px; font-weight:bold; text-align:center; }
h5 { color: #de0306; font-size:12px; font-weight:bold; text-align:left;  }
h6 { color: #575755; font-size:12px; font-weight:bold; text-align:center; }

.import {
color: #d8141b;  font-weight:bold;
}
#middle #list, #middle #prof {
list-style: none;
}

/* TOP */

#header { 
position: relative;
padding: 0;
margin: 0;
height: 257px;
background: #ffffff url('/images/bg-header.jpg') 0 0 no-repeat;
}
#logo {
position: absolute;
top: 18px;
left: 385px;
width: 182px;
height: 70px;
}
#logo-old {
position: absolute;
top: 25px;
left: 15px;
width: 68px;
height: 56px;
}
#phone {
position: absolute;
top: 120px;
left: 765px;
width: 138px;
height: 73px;
}
table.menu {
position: absolute;
top: 213px;
left: 0px;
width: 100%;
border-collapse: collapse;
padding: 0;
margin: 0;
height: 44px;
background: url('/images/bg-menu.gif') 0 0 repeat-x;
}
table.menu td {
padding: 12px 0 0 10px;
margin: 0;
vertical-align: top;
}
table.menu td.first {
background: url('/images/bg-td-left.gif') 0 0 no-repeat;
width: 530px;
padding: 7px 0 0 0;
margin: 0;
}
table.menu td.first a.image:link {float: left; width: 27px;  background: none;}
table.menu td.first a.image:visited {float: left; width: 27px; background: none;}
table.menu td.first a.image:hover {float: left; width: 27px; height: background: none;}
table.menu td.first a.image:active {float: left; width: 27px; height: background: none;}

table.menu td.last {
width: 6px;
background: url('/images/bg-td-right.gif') right 0 no-repeat;
}
table.menu td.menu {
padding: 0 0 0 10px;
margin: 0;
background: url('/images/bullet.gif') 0 18px no-repeat;
}
table.menu td.clicked {
padding: 12px 0 0 10px;
margin: 0;
background: url('/images/bg-menu-clicked.gif') 0 0 repeat-x;
border-left: 2px solid #7e8284;
border-right: 2px solid #7e8284;
}
table.menu td a:link     { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
table.menu td a:visited  { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
table.menu td a:hover    { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #de0306; text-decoration:none }
table.menu td a:active   { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }

/* LEFT */

#left ul {
list-style: none;
padding: 0;
margin: 0;
}
#left ul li {
display: block;
width:206px;
background: #f2f2f3 url('/images/bg-left1.gif') 0 0 repeat-x;
padding: 0;
margin: 0;
}
* html #left ul li {
width:180px;
}
#left ul li div{
padding: 10px 0 10px 14px;
background: url('/images/bg-left2.gif') 0 bottom repeat-x;
border-left: 2px solid #7e8284;
border-right: 2px solid #7e8284;
}
#left ul li ul {
padding: 10px 0 10px 35px;
background: #e7e7e7;
}
#left ul li li {
display: block;
width:150px;
border: 0;
padding: 5px 0;
background: #e7e7e7;
}
.catalog {
text-align: center;
}
#left ul li a:link     { display: block; width:180px; background: url('/images/bullet-left.gif') 0 center no-repeat; padding: 0 0 0 15px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
#left ul li a:visited  { display: block; width:180px; background: url('/images/bullet-left.gif') 0 center no-repeat; padding: 0 0 0 15px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
#left ul li a:hover    { display: block; width:180px; background: url('/images/bullet-left.gif') 0 center no-repeat; padding: 0 0 0 15px; font-size:12px; font-weight: bold; color: #de0306; text-decoration:none }
#left ul li a:active   { display: block; width:180px; background: url('/images/bullet-left.gif') 0 center no-repeat; padding: 0 0 0 15px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }

* html #left ul li a:link     { width:172px; }
* html #left ul li a:visited  { width:172px; }
* html #left ul li a:hover    { width:172px; }
* html #left ul li a:active   { width:172px; }


#left ul li ul li a:link     { display: block; width:150px; padding: 0 0 0 10px; background: #e7e7e7; font-weight: normal; font-size:12px; color: #575755; text-decoration:underline; }
#left ul li ul li a:visited  { display: block; width:150px; padding: 0 0 0 10px; background: #e7e7e7; font-weight: normal; font-size:12px; color: #575755; text-decoration:underline; }
#left ul li ul li a:hover    { display: block; width:150px; padding: 0 0 0 10px; background: #e7e7e7; font-weight: normal; font-size:12px; color: #de0306; text-decoration:none }
#left ul li ul li a:active   { display: block; width:150px; padding: 0 0 0 10px; background: #e7e7e7; font-weight: normal; font-size:12px; color: #575755; text-decoration:underline; }

* html #left ul li ul li a:link     { width:160px; }
* html #left ul li ul li a:visited  { width:160px; }
* html #left ul li ul li a:hover    { width:160px; }
* html #left ul li ul li a:active   { width:160px; }

#left h2 {
text-align: center;
font-size: 12px;
padding-top: 25px;
}
#left img {
padding: 4px;
margin: 4px;
border: 1px solid #7e8284;
}

/* PAGE */

#middle ul {
list-style: none;
padding: 10px 0 10px 10px;
margin: 0;
}
#middle #list li, #middle #prof li {
background: none;
}

#middle ul li {
padding: 10px 0 10px 15px;
margin: 0;
background: url('/images/bullet.gif') 0 15px no-repeat;
}
#middle ul li li {
padding: 5px 15px;
margin: 0;
background:none;
}

#middle img {
padding: 4px;
margin: 0px;
border: 1px solid #7e8284;
}
.item a img {
float: left;
padding: 10px;
margin: 0 15px 0 0;
}
.item p {
margin: 0 0 0 15px;
padding: 0 0 0 110px;
}
.item {
overflow: auto;
padding: 0 30px 0 0;
}
*html .item {
height: 150px;
}
.foto1 {
height: 230px;
width: 190px;
overflow: hidden;
float: left;
text-align: center;
}
#middle div {
padding: 0;
margin: 0;
overflow: hidden;
}
.wind {
border-collapse: collapse;
padding: 0;
margin: 0;
width: 600px;
border: 0px solid #7e8284;
}
.wind td {
vertical-align: top;
width: 150px;
padding: 5px;
margin: 0;
text-align: center;
border: 0px solid #7e8284;
}

.pageheader {
color: #d91b22;
font-weight: bold;
}
#middle .wind img {
border: 0px solid #f0f0f0;
}

/* FOOTER */

#footer {
position: relative;
height: 80px;
margin: 20px 0 0 0;
padding: 10px 0  10px 0;
font-size: 10px;
}
#counters {
position: absolute;
top: 5px;
right: 80px;
width: 50px;
height: 40px;
}
#counters img {
padding: 5px;
}
#kleimo {
position: absolute;
bottom: 20px;
left: 10px;
}
a:active.foot, a:visited.foot, a:visited.foot, a:link.foot  {
font-size:11px; 
text-decoration:underline;
color: #d8141b;
}
a:hover.foot    { 
color: #de0306; 
}
table.menuf td.first{
width: 256px;
}
#copiright {
position: absolute;
bottom: 20px;
left: 256px;
}
table.menuf td a:link     { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
table.menuf td a:visited  { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }
table.menuf td a:hover    { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #de0306; text-decoration:none }
table.menuf td a:active   { display: block; width:115px; background: url('/images/bullet.gif') 0 5px no-repeat; padding: 0 0 0 10px; font-size:12px; font-weight: bold; color: #575755; text-decoration:underline; }


/*  для фотогалереи */

#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 { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#prevLink:active { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#prevLink:link { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#prevLink:visited { background: url(../images/prevlabel.gif) left 15% no-repeat; }

#nextLink:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
#nextLink:active { background: url(../images/nextlabel.gif) right 15% no-repeat; }
#nextLink:link { background: url(../images/nextlabel.gif) right 15% no-repeat; }
#nextLink:visited { background: url(../images/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: #fff; }
#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; }




.foto{
	float: left;

width: 200px;
text-align: center;
color: #F00;
margin-bottom: 5px;

}
.gallery {
	margin: 0;
	padding:2px;
}
