/**
 * Copyright © 2007 Dominant web-studio 
 * Project:			  www.newprivoz.com
 * Author: 			  Mukhin I.O.
 * Author's homepage: www.mukhin.dominant.od.ua
 * Creation date:	  20.03.2007-23.04.2007
 */

/* !!!!!!!!!!!!!!!!!!!!!!! */
1table 	{ border-style: solid; border-width: 1px; }
1td		{ border-style: solid; border-width: 1px;  }
1* { border: 1px solid red; }
1div { border: solid 1px red; margin: 0px; }

body					{ padding: 0px; margin: 0px; background: #F5F5F5; }
*						{ font-family: verdana, arial, tahoma; font-size: 9pt; }
p						{ text-indent: 20px; }

table					{ border-collapse: collapse; padding: 0px; margin: 0px;}
table.wide				{ width: 100%; }

td						{ margin: 0px; padding: 0px; vertical-align: top; 	}
form					{ margin: 0px; padding: 0px;				}
input.txt				{ width: 100%;								}
textarea				{ height: 100%; width: 100%;				}
select					{ width: 100%;								}
textarea.h100			{ height: 100px; }

address					{ font-style: normal; padding: 0px; margin: 0px; }

img, img a				{ border: 0px; 								}
ul						{ margin: 0px; padding-left: 10px;			}

a						{ color: #1A77F0;							}
a:hover 				{ text-decoration: none;					}
a.notlink				{ color: black; text-decoration: none; cursor: default;		}
a.raquo					{ letter-spacing: 0px; }

.locallink				{ border-style: dashed; border-width: 0px; border-bottom-width: 1px; border-color: #1A77F0; color: #1A77F0; cursor: pointer; cursor: hand; }
.locallink:hover		{ border-width: 0px!important; }

/*
dt						{ margin: 0px; padding: 0px; }
dl						{ margin: 0px; padding: 10px 0px 10px 0px; }
dd						{ margin: 0px; padding: 5px 0px 0px 20px; }
*/
/*
ul, ol						{ margin: 0px; }
li							{ margin: 5px 0px 5px 25px; padding: 0px; }
*/
.botpad { padding-bottom: 10px; }

#logo					{ position: relative; left: -255px; }
div.content				{ width: 100%; }

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *	{ color: #1A77F0; padding: 0px; margin: 0px; 	}
h1, h1 * 						{ font-size: 14pt;	 							}
h2, h2 * 						{ font-size: 10pt; 								}
h3, h3 * 						{ font-size: 10pt; font-weight: 100;			}

table.main			{ height: 100%; position: absolute; left: 0px; top: 0px; }
tr.header			{ background-color: #FAFAFA; background-image: url('/i/header_bg.gif'); background-repeat: repeat-x; height: 110px; }

table.info {  }
table.info td { border: 1px solid gray; }

table.address, table.address a		{ color: white; }
table.address tr 	{ background-color: #D42828; background-image: url('/i/address_bg.gif'); background-repeat: repeat-x; height: 42px; }
table.address td.l	{ background-image: url('/i/address_lr.gif'); background-repeat: no-repeat; width: 5px; }
table.address td.r	{ background-image: url('/i/address_lr.gif'); background-repeat: no-repeat; background-position: -4px 0px; width: 5px; }
table.address td.c	{ vertical-align: middle; }
table.address td a	{ padding-left: 10px; padding-right: 10px; }

div.address			{ text-align: center; }

/* меню */
tr.menubox					{ height: 38px; background: #B5AAA3 url('/i/menu_bg.gif') repeat-x; }
tr.menubox *				{ text-decoration: none; font-size: 14pt; color: white; }

	table.menu tr			{ height: 38px; }
	table.menu td			{ padding-top: 10px; margin-bottom: 10px; }

	table.menu .item a			{ text-align: center; margin-left: 10px; line-height: 18px;  }
	table.menu .item a:hover	{ text-decoration: underline; }
	
	/* делимитер меню */
	table.menu td.delim 	{ width: 1px; background-color: white; }

/* серый бокс */
td.leftbox						{ width: 250px; }
td.rightbox						{ width: 250px; }

	div.greybox 						{ width: 250px; margin-bottom: 20px; margin-top: 20px; background: #D7D2C7 url('/i/greybox_main_bg.gif'); }
	div.greybox div.boxheader			{ background: url('/i/greybox_head_bg.gif') repeat-x; }
	
	/* таблица (серый бокс) */
		
		/* левая закругленная часть */
		div.greybox tr.boxheader td.l	{ background-image: url('/i/white_angles.gif'); background-repeat: no-repeat; width: 10px; background-position: -10px -10px; }
		
		/* надпись - заголовок */
		div.greybox tr.boxheader td.c		{ padding: 10px; }
		div.greybox tr.boxheader td.c *		{ font-size: 18px; color: black; font-weight: bold; text-align: center; }
	
		/* правая закругленная часть */
		div.greybox tr.boxheader td.r	{ background-image: url('/i/white_angles.gif'); background-repeat: no-repeat; width: 10px; background-position: 0px -10px; }
	
	/* содержание серого бокса */
	div.greybox .boxcontent td.c		{ width: 230px; font-size: 75%; color: black; }
	div.greybox .boxcontent td.c a		{ font-size: 100%; color: black; }
	
	/* футер */
	div.greybox tr.boxfooter				{ height: 10px; }
		
		/* левая часть */
		div.greybox tr.boxfooter td.l		{ width: 10px; background-image: url('/i/white_angles.gif'); background-repeat: no-repeat; background-position: -10px 0px; }
		
		/* центральная часть - пустая. просто ширина */
		div.greybox tr.boxfooter td.c		{  }
		
		/* правая часть */
		div.greybox tr.boxfooter td.r		{ width: 10px; background-image: url('/i/white_angles.gif'); background-repeat: no-repeat; background-position: 0px 0px; }
	
	.firm				{ margin-top: 10px;	}
		.firm td.delim	{ width: 10px; 		}
		.firm .type		{ color: gray; 		}
		
		/* строчка рейтинга */
		.firm .rating				{ }
			.firm .rating .digit	{ color: red; }
		
		.firm .phone .code			{ color: gray; }
	
	div.greybox .boxcontent .more	{ padding-top: 20px; text-align: right; }
	div.greybox .boxcontent .more a	{  }

/* красный бокс */
	div.redbox 							{ width: 250px; margin-top: 20px; margin-bottom: 20px; background: #D01616 url('/i/redbox_main_bg.gif'); }
	div.redbox div.boxheader			{ background: url('/i/redbox_head_bg.gif') repeat-x; }
	
	/* таблица (серый бокс) */
		
		/* левая закругленная часть */
		div.redbox tr.boxheader td.l	{ background: url('/i/white_angles.gif') no-repeat; width: 10px; background-position: -10px -10px; }
		
		/* надпись - заголовок */
		div.redbox tr.boxheader td.c	{ padding: 10px; }
		div.redbox tr.boxheader td.c *	{ font-size: 18px; color: white; font-weight: bold; text-align: center; }

		/* правая закругленная часть */
		div.redbox tr.boxheader td.r	{ background: url('/i/white_angles.gif') no-repeat; width: 10px; background-position: 0px -10px; }
	
	/* содержание серого бокса */
	div.redbox .boxcontent td.c			{ width: 230px; font-size: 75%; color: white; }
	div.redbox .boxcontent td.c	a		{ font-size: 100%; color: white; }
	
	/* футер */
	div.redbox tr.boxfooter				{ height: 10px; }
		
		/* левая часть */
		div.redbox tr.boxfooter td.l		{ width: 10px; background: url('/i/white_angles.gif') no-repeat; background-position: -10px 0px; }
		
		/* центральная часть - пустая. просто ширина */
		div.redbox tr.boxfooter td.c		{ width: 224px; }
		
		/* правая часть */
		div.redbox tr.boxfooter td.r		{ width: 10px; background: url('/i/white_angles.gif') no-repeat; background-position: 0px 0px; }

	div.redbox .boxcontent .more	{ padding-top: 20px; text-align: right; }
	div.redbox .boxcontent .more a	{  }


table.doublebox	{ width: 100%; background: white; }
	table.doublebox tr.boxheader	td.m, 
	table.doublebox tr.boxcontent	td.m, 
	table.doublebox tr.boxfooter	td.m { width: 1px;  background-color: #EBEBEB; }

	table.doublebox		tr.boxheader { height: 10px; }
		table.doublebox tr.boxheader td.l	{ width: 10px; background: url('/i/doublebox_angles.gif') no-repeat; background-position: -10px -10px;}
		table.doublebox tr.boxheader td.c	{ 			   background: url('/i/doublebox_dt.gif') repeat-x; background-position: 0px -10px;}
		table.doublebox tr.boxheader td.r	{ width: 10px; background: url('/i/doublebox_angles.gif') no-repeat; background-position: 0px -10px;}

	table.doublebox 	tr.boxcontent		{}
		table.doublebox tr.boxcontent td.l	{ width: 10px; background: url('/i/doublebox_rl.gif') repeat-y; background-position: -10px 0px;}
		table.doublebox tr.boxcontent td.r	{ width: 10px; background: url('/i/doublebox_rl.gif') repeat-y; background-position: 0px 0px;}

		table.doublebox tr.boxcontent td.cl,
		table.doublebox tr.boxcontent td.cr	{ padding: 10px; }
	
	table.doublebox 	tr.boxfooter		{ height: 10px; }
		table.doublebox tr.boxfooter td.l	{ width: 10px; background: url('/i/doublebox_angles.gif') no-repeat; background-position: -10px 0px;}
		table.doublebox tr.boxfooter td.c	{ 			   background: url('/i/doublebox_dt.gif') repeat-x; background-position: 0px 0px;}
		table.doublebox tr.boxfooter td.r	{ width: 10px; background: url('/i/doublebox_angles.gif') no-repeat; background-position: 0px 0px;}

	.doublebox .boxcontent .more	{ padding-top: 10px; text-align: right; }
	.doublebox .boxcontent .more a	{  }

td.contentbox				{ vertical-align: top; width: 100%; }
	.contentbox .content	{ margin-bottom: 20px; }

tr.copyright				{ height: 70px; background-color: #FBF0E4; }
tr.copyright td.copyred		{ height: 70px; background: url('/i/copy_red_bg.gif') repeat-x; }
tr.copyright td.copyblue	{ height: 70px; background: url('/i/copy_blue_bg.gif') repeat-x; }
tr.copyright td.copygray	{ height: 70px; background: url('/i/copy_gray_bg.gif') repeat-x; }

.copyright *				{ font-size: 10px; }
div.copyright 				{ vertical-align: middle; padding: 12px 20px 0px; }

/* index */

.new		{  }
.new_title	{ font-weight: bold; }

.new_date	{ color: gray; text-align: right; }
.new_date a	{ color: gray; text-decoration: none; }
.new_date a:hover { text-decoration: underline; }

.ann				{ }
.ann_title			{ font-weight: bold; }
/*
.ann_date			{ color: gray; text-align: right; }
.ann_date a			{ color: gray; text-decoration: none; }
.ann_date a:hover	{ text-decoration: underline; }
*/

#counter #li img	{ clip: rect(1px 75px 13px 2px); position: absolute; }

td.hdelim	{ width: 1%; }
td.hcont	{ }
td.hbox		{ width: 200px; }

.block					{ clear: both; padding-top: 20px; }
.indent					{ padding-left: 30px;  }
/* dd.indent				{ padding-left: 50px !important;  }*/
.hidden					{ display: none; visibility: hidden; }
.published				{ text-align: right; color: #444; }
.contact				{ text-align: right; color: #444; }


/*.object_name			{ text-align: right; }*/

/* photos, news */

.thumbnails								{  }
	.thumbnails .thumbnail				{ float: left; margin: 0px 10px 10px 0px; width: 162px; height: 215px; }
	.thumbnails .thumbnail *			{ font-size: 10px; text-align: center; }	
	.thumbnails .thumbnail div.photo	{ background: white; padding: 5px; border: solid 1px #A2A2A2; height: 200px; }
	
	.thumbnails .thumbnail .comment		{ margin-top: 5px; }
	.thumbnails .thumbnail img.photo	{  }


.index_photos							{ width: 162px; text-align: center; }
	.index_photos div.photo				{ background: white; padding: 5px; border: solid 1px #A2A2A2; height: 190px; }
		.index_photos div.photo *		{ font-size: 75%; text-align: center; }	
	.index_photos img.photo				{ margin-bottom: 5px; }


div#bigphoto							{ background: white; width: 400px; border: solid 1px #A2A2A2; padding: 5px; }
div#bigphoto img						{ cursor: pointer; cursor: hand; }


/* index photos */
/*
.index_photos							{ text-align: center; }
	.index_photos .photo				{ margin: 0px 0px 20px; }
	.index_photos .photo .title			{ margin-bottom: 5px; }
	.index_photos .photo .title	h2 a	{ color: #1A77F0 ! important; }
*/

.index_photos							{ text-align: center; }
	.index_photos .photo				{ margin: 0px 0px 20px; }
	.index_photos .photo .title			{ margin-bottom: 5px; }
	.index_photos .photo .title	h2 a	{ color: #1A77F0 ! important; }

/* news */
div.new					{ }

/* anns */
div.ann					{ }

/* captcha */
div#captcha_image		{ background: white; border: solid 1px #B3B9C3; text-align: center; }
div.label				{ margin-bottom: 5px; }

/* Все строчки сдвинуты и серые */
#all_objects .phone,
#all_objects .rating,
#all_objects .person,
#all_objects .visitors,
#all_objects .http			{ color: #444444; }

/* На главной */
.top_objects			{ width: 100%; }
.top_objects .object	{ float: left; width: 220px; margin: 0px 10px 20px 0px; }
.top_objects .object h2	{ color: #FFFFCC; }

/* С комментами только */
.comment_objects .object,
.contacts_objects .object,
.all_objects .object		{ clear:none!important; float: left; width: 400px; margin: 20px 5px 0px; }

.comment_objects .phone,
.comment_objects .rating,
.comment_objects .person,
.comment_objects .visitors,
.comment_objects .http		{ display: none; visibility: hidden; }

/* С контактами */
.contacts_objects .rating,
.contacts_objects .comment,
.contacts_objects .visitors	{ display: none; visibility: hidden; }

.contacts_objects .phone,
.contacts_objects .person,
.contacts_objects .http		{ color: black !important; }	

/* administration */
.administration				{ float: left; margin: 0px 20px 20px 0px; width: 412px; height: 450px; }
.administration				{ text-align: center; }
.administration div.photo	{ background: white; padding: 5px; border: solid 1px #A2A2A2; }
.fio						{ margin-top: 5px; font-weight: bold; }
.status						{ /* font-style: italic; */ }

/* personal page */
/* input.link					{ width: 150px; }*/


table.pricelist 	{ text-align: center; }
table.pricelist td	{ padding: 3px; border: solid 1px black; vertical-align: middle; }


dt.partslist dl		{  }
dt.partslist dd		{  }