/* ... общие настройки ... */

body{margin:5px;}
table.all, td.all{width:100%;}
table.all,tr.all{height:100%;}
td{vertical-align:top;}
form{margin:0;padding:0;}
input{margin:0;}
img.bordered,iframe,input,textarea{border:solid 1px;}
input.file{border:none;_border:1px solid;}
textarea,input{padding-left:3px;padding-right:3px;}
input.radio{border:none;background:none;}

a.active,a.active:hover{cursor:default;text-decoration:none;}


p.pages{padding-top:5px;margin-top:5px;border-top:solid 1px;}
p.pages a{padding-left:3px;padding-right:2px;}
p.pages a.current{cursor:default;font-weight:bold;font-size:12px;}
p.bottom{padding-bottom:5px;margin-bottom:10px;border-bottom:solid 1px;}
p.top{padding-top:5px;margin-bottom:10px;border-top:solid 1px;}
p.bottom img{margin-top:3px;}
P.alert{
	border:0 solid;
	border-left-width:2px;
	border-bottom-width:2px;
	padding:5px 0 5px 10px;
	margin-bottom:10px;
	font-weight:bold;
}

hr{
	clear:all;
	margin:0 0 10px 0;
	height:1px;
	width:100%;
	border: 0px solid;
	_background:none;
	_border:none;
}

img.top {vertical-align:text-top;}

ul{margin:0px 0px 20px 18px;padding:0;}
ol{margin-top:0px;margin-bottom:15px;}
ol li{margin:4px 0px 5px 0px;padding:0px;}
ul li{margin:4px 0px 5px 0;padding:0px;}
ul li{list-style:none;padding-left:10px;background:url(../../img/design/bullet.gif) no-repeat 0 6px;}
ul li p, ol li p{padding:0px;margin:0px;}

/*ul ul li{background-image:url(../../img/design/bullet.white.gif);}
ul ul ul li{background-image:url(../../img/design/bullet.blue.gif);} */

table.reTable td,table.reTable th{padding:2px 5px 2px 0;}
table.reCellBordered td,table.reCellBordered1 {padding:3px 5px 3px 5px !important;}
table.reTable P,table.reTable h1,table.reTable h2,table.reTable h3,table.reTable h4,table.reTable h5,table.reTable h6{margin:5px 0 !important;} 

img.png{filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);}
div.png{
	display:inline;
	filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.firstChild.src+"')");
	width:expression(this.firstChild.width); 
	height:expression(this.firstChild.height);
} 
img.top {vertical-align:text-top !important;}
img.bottom {vertical-align:text-bottom !important;}
img.middle {vertical-align:middle !important;}
img.baseline {vertical-align:baseline !important;}


/*===============================================*/
body{
	color:#6D6C71;
	background:#ffffff;
}
body.page{
	margin:0px;padding:0px;
}

p,h1,h2,h3,h4,h5,h6{padding:0;margin: 0px 0px 20px 0px;}
body,td,th,input,select,textarea,h1,h2,h3,h4,h5,h6{font-family:Tahoma,Verdana,Arial,sans-serif;}
body,td{font-size:12px;}

a{text-decoration:underline; color:#1466C3;}	 
a:hover,a.active,a.active:hover{text-decoration:underline;color:#056864;}

iframe,textarea,input{border-color:#52BDBA;}
img.bordered{border-color:#52BDBA;}
textarea,input{color:#444444;background:#FFFFFF;}
input.submit{
	font-weight:bold;
	color:#ffffff;
	font-size:11px;
	height:18px;
	border:none;
	letter-spacing:1px;
	padding-left:10px;
	padding-right:10px;
	_padding-left:2px;
	_padding-right:1px;
	margin:0 0 0px 0px !important;
	background:url(../../img/design/menu.bg.gif) repeat-x left center;
}
input.dis{
	background:#bbbbbb;
}

img.reImage{/*border:1px solid #52BDBA;*/}
img.reImageLeft{margin:2px 8px 3px 0;}
table.reCellBordered td,table.reCellBordered1 td{vertical-align:middle !important;}
table.reTable,table.reTable td,table.reTable th{border-color:#52BDBA;}
table.reTable td{vertical-align:top;}
table.reTable th{vertical-align:middle;}
		table.reTable td.cat1 {padding: 3px 5px 3px 5px !important;}
		table.reTable td.cat2 {padding: 3px 5px 3px 23px !important;}
		table.reTable td.cat3 {padding: 3px 5px 3px 41px !important;}
		table.reTable td.cat4 {padding: 3px 5px 3px 59px !important;}
		table.reTable td.cat5 {padding: 3px 5px 3px 77px !important;}
		table.reTable td.cat6 {padding: 3px 5px 3px 95px !important;}
		table.reTable td.cat7 {padding: 3px 5px 3px 113px !important;}
		table.reTable td.cat8 {padding: 3px 5px 3px 131px !important;}
		table.reTable td.cat9 {padding: 3px 5px 3px 149px !important;}
		table.reTable td.cat10{padding: 3px 5px 3px 167px !important;}
		.label{color:#52BDBA;/*font-size:11px;*/}
		td.label, table.reTable td.label{
			color:#52BDBA;
			/*font-size:11px;	*/
			font-weight:normal;
			padding:3px 5px 3px 0;
			/*vertical-align:middle !important;	*/
		}
		td.label, table.reTable td.label,.nowrap{
			white-space:nowrap;
		}

tr.color_0 td{/*background:#F5FBE1 !important;border-width:0;*/}	
tr.color_1 td{/*border-width:0;*/}

tr.color_2 td,tr.line_0 td{

	color:#FFFFFF;
	background:#3D99FF;
	font-weight:bold;
	background:url(../../img/design/content.gif) repeat-x 0 0;


	/*padding:2px 5px !important;
	font-size:11px;
	background:#F5FBE1;
	color:#50A318 !important;
	border-width:0;
	border-top:2px solid #CCCCCC;  
	border-bottom:1px solid #95B9E0;*/
}		

table.reCellBordered{}
table.reCellBordered td{padding:2px 5px;}

p.pages,p.bottom,p.top{border-top-color:#52BDBA;}
p.pages{color:#0D5AB0;margin-top:20px;font-size:10px;}
p.pages span{font-size:11px;}
p.pages a.number{text-decoration:none;padding:0 5px;}
p.pages a.number:hover{text-decoration:none;}
p.pages a.numbercurrent,p.pages a.numbercurrent:hover{text-decoration:none;font-weight:bold !important;color:#ffffff;background:#0D5AB0;}

P.alert{background:#950084;color:#FFFFFF;border:none;margin-top:10px;}
p.navigation{color:#000000;font-size:10px;margin:3px 0 2px 0;padding:0;}
p.navigation a{color:#000000;}
p.navigation a:hover{color:#444444;}

.require{color:#950084 !important;}
a.require:hover{text-decoration:none;}
.small,.small td, p .small{font-size:11px !important;}																						 
.selected{color:#808080;}																						 
p.small{margin:5px 0;}
.green{color:#05A9A3;}
.big{font-size:25px;color:#00938D;font-weight:normal;}
hr{
	background-color:#52BDBA;
	border-color:#52BDBA;
	_background:none;
	_border:none;
	_color:#52BDBA;
}

h1,.h1h { 
	color:#056864;
	font-size:13px; 
	margin:0 0 8px 0;
	font-weight:bold;
	background:url(../../img/design/h1.png) no-repeat 0 0;
	padding:0 0 0 19px;
	text-transform:uppercase;
	_background:none;
	_height:10px;
	filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/h1.png',sizingMethod='crop')");

}
h2 {font-size:12px;font-weight:bold;color:#036EAB;margin:20px 0px 8px 0px;text-transform:uppercase;}

h3 { font-size: 13px; font-weight: bold; color: #056864; margin:20px 0px 15px 0px;}
	h3 a{color: #056864;text-decoration:underline;}
	h3 a:hover{color: #036EAB;text-decoration:underline;}

	h3.noorder{margin:30px 0 0 0;}


h4 { font-size: 13px; font-weight: bold; color: #036EAB; margin:0px 0 10px 0px;}
h4 a{color: #036EAB;}
h4 a:hover{color: #056864;}
h4.news {margin:0px 0px 3px 0px;}

h5 { font-size: 11px; font-weight: bold; color: #056864; margin:14px 0px 2px 0px;}
h5.news {margin:10px 0px 0px 0px;}
h6 { font-size:11px; font-weight: bold; color: #036EAB;  margin:0 0px 5px 0px;}

div.blank{width:1px;height:1px;margin:0;padding:0;}
/* ====================================== */
/* topRow */
#topRow{height:104px;}
	#topTd{
		background:#C7EEEC url(../../img/design/top.bg.jpg) repeat-x 0 0;
		
	}
	#topTd table{
		width:100%;
		height:104px;
	}
		#topTd table td{font-size:13px;
			color:#6D6C71;
		font-weight:bold;}

#logo{
	width:343px;
	height:104px;
	background:url(../../img/design/top.left.jpg) no-repeat 0 0;
}
#logo p{
	margin:0;
	text-align:right;
	font-weight:normal;
	font-size:19px;
}

		#topCenter{
			padding-right:8px;
			text-align:right;
			width:100%;
			vertical-align:middle;
		}
		#topCenter p{margin:0;padding:0;}
		#topCenter h3{margin-top:0;padding:0;}

		#topRight{
			background:url(../../img/design/top.right.png) no-repeat 0 0;
			_background:none;
			filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/top.right.png',sizingMethod='crop')");
			padding-left:53px;
		}



#topMenu{
}
#topMenu table{
		width:100%;
		height:34px;
		background:#16827E url(../../img/design/menu.bg.gif) repeat-x top right;
}
#topMenu table tr{
		height:34px;
}
#topMenu table td{
		text-align:center;
		vertical-align:middle;
}
#topMenu table td.delim{
		background:url(../../img/design/top.menu.gif) no-repeat top center;
}
#topMenu table td.left{
		text-align:left;
		vertical-align:top;
}
#topMenu table td.right{
		text-align:right;
		vertical-align:top;
}

	#topMenu a{
		font-size:11px;
		font-weight:bold;
		text-transform:uppercase;
		text-decoration:none;
		color:#FFFFFF;
		white-space:nowrap;
	}
	#topMenu a:hover,#topMenu a.active{
		/*background-image:url(../../img/design/top.menu.a.gif);*/
		text-decoration:none;
		color:#C7F0EE;
	}




#menuRow{
	height:238px;
}
#menuRow #menuTd{
	vertical-align:bottom;
	background:url(../../img/design/top.1.jpg) no-repeat 0 0;
}
#menuTd a{
	background:url(../../img/design/center.menu.gif) no-repeat left center;
	text-align:center;
	font-size:17px;
	color:#FFFFFF;
	float:left;
	text-decoration:none;
	width:231px;
	line-height:37px;
	margin:0;
	margin-left:6px;
	_margin-left:expression(previousSibling?"6px":"0");
}
#menuTd a:first-child {margin-left:0;}
		#menuTd a:hover, #menuTd a.active{
		color:#BFD0EA;
		}


/* ====================================== */
/* contentRow */
#contentRow{height:100%;}
	#content{
		background:url(../../img/design/content.gif) repeat-x 0 0;
	}
	#contentLeft{
		padding:17px 20px 20px 1px;
		background: url(../../img/design/content.left.gif) no-repeat bottom right;
	}

	#contentLeft h1,#contentLeft h2{margin-left:12px;	}
		p.bold{color:#69686D;font-size:12px;font-weight:bold;margin:10px 0px 5px 0px;padding:0 0 0 14px;}

		p.addmenu{
			margin:0px 0px 0px 0px;
			background: url(../../img/design/addmenu.gif) no-repeat 0 0;
			line-height:17px;
			padding-left:29px;
		}
		p.addmenu a{
			/*color:#3685B3; */
			font-size:12px;
			text-decoration:underline;
		}
		p.addmenu a:hover, p.addmenu a.active{
			/*color:#178380;*/
			text-decoration:underline;
		}




	#contentCenter{
		padding:0px 0 20px 7px;
		width:100%;
	}
	#contentRight{
		padding:17px 25px 20px 30px;
	}
 p.newsdate{font-size:11px;margin:0;}
	#contentRight P{font-size:11px;}
	}


/* ====================================== */
/* bottom */
#bottomRow{
	height:50px;
}
#bottomRow td{
	vertical-align:middle;
	background:#1A8987 url(../../img/design/bottom.bg.gif) repeat-x 0 0;
}
	#bottomRow td p{margin:3px 0;}

	#bottomRow 	td#bottomLeft{
		text-align:center;
		background:#FFFFFF url(../../img/design/bottom.left.gif) no-repeat 0 0;
	}
	#bottomLeft div.blank{width:225px;}

	#bottomCenter {
		padding:0 35px;
	}
	

#bottomRight {
		text-align:right;
		padding:0 25px 0 30px;
	}
		#bottomRight div.blank{width:183px;}
		#bottomRight a{color:#ffffff;text-decoration:none;}
			#bottomRight a img{background-color:#ffffff;vertical-align:bottom;margin-bottom:0px;_margin-bottom:0px;}
		#bottomRight a:hover{color:#C7F0EE;text-decoration:none;}
			#bottomRight a:hover img{background-color:#C7F0EE;}
	#r52{font-size:10px !important;}



 #copy{font-size:13px;color:#ffffff;}
/* ====================================== */

 	/* ... фотогалерея ... */
		div.photo{
			float:left;
			margin:0 20px 10px 0;
			padding:0;
			text-align:center;
			width:210px;
			height:245px;
		}
		div.photo p{
			margin:0 !important;
			padding:6px 0 !important;
			font-size:11px;
		}
		div.photo img{margin:0;}


div.guest{margin-bottom:15px;}
	div.guest p.gfio{margin-bottom:5px;}


.note{font-size:10px;color:#6D6D6D;margin-left:15px;}
table.users{width:500px;}
table.users td,table.users td.label{vertical-align:top !important;}
		#obasket{
			margin:22px 0 20px 0;
			width:209px;
			height:40px;
			text-align:left;
			background:url(../../img/design/basket.png) no-repeat 0 0;
			_background:none;
			filter:expression("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+base+"img/design/basket.png',sizingMethod='crop')");
		}
		#obasket p,#obasket h2{padding-left:70px;margin:0 0 5px 0;font-size:11px;} 
		#obasket p{padding-left:70px;margin:5px 0;font-size:11px;} 

		table.lenses td {padding:0 5px 2px 0 !important;}
		select.refraction option{text-align:right;}
		div.catalogue{
			width:244px;
			height:171px;
			float:left;
			margin:0 5px 5px 0;
		}
		div.catalogue div.cat_overflow{
			overflow:hidden;
			width:112px;
			height:136px;
			margin:0;
		}
		div.catalogue table{
			/*border-left:1px solid #52BDBA;
			border-right:1px solid #52BDBA;*/
			width:244px;
			height:171px;
			table-layout:fixed;
		}
		div.catalogue td{
			font-size:11px;
		}
		div.catalogue td p{
			margin-bottom:10px;
		}
		div.catalogue p.cat_top,div.catalogue p.cat_bottom{
			padding:0;margin:0;
		}
		div.catalogue p.cat_top{
			padding:0;margin:0;
			background:url(../../img/design/cat.top.bg.gif) no-repeat top right;
		}
		div.catalogue p.cat_bottom{
			padding:0;margin:0;
			background:url(../../img/design/cat.bottom.bg.gif) no-repeat top right;
		}
		div.catalogue td.cat_ref{border-right:1px solid #52BDBA;}
		div.catalogue td.cat_ref a{padding-left:15px;
			margin:3px 5px 0 0;
			float:right;font-size:11px;
			background:url(../../img/design/button.gif) no-repeat left center;text-align:right;
		}
		div.catalogue td.cat_pic{padding:0 0 0 5px;border-left:1px solid #52BDBA;}
		div.catalogue td.cat_text{padding:0 5px;border-right:1px solid #52BDBA;}
		div.catalogue td.cat_big{padding:0 0 0 5px;color:#178380;font-size:17px;text-align:center;border-left:1px solid #52BDBA;}
		input.grey{border-color:#dddddd;}
		input.number{width:50px;}

		#glassdiv{margin:15px 0 0 14px;width:182px;height:197px;}



/********************************************/
a.aTableHeader{color:#ffffff;}

a.aTableHeader:hover{text-decoration:none;}

table.history{border-bottom:1px solid #cccccc;border-right:1px solid #cccccc;width:100%;}
table.history td{border-color:#cccccc;padding:1px 5px!important;font-size:11px;vertical-align:middle;}
table.history tr.gr td{background-color:#eeeeee;}
a img{border:none;}

#delivTable{margin:0;}
#vk_groups{position:absolute;}
