@charset "windows-1251";
/* CSS Document */
html, body {
	margin:0;
	padding:0;
	width:100%;
	height:100%;
	min-width: 1000px;
}

body {
	background-image: url(/images/bg.jpg);
	background-repeat: no-repeat;
	background-position: center top;
}

body, input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	font-size: 13px;
}

a {
	color: #000;
	text-decoration: underline;
}


a:hover {
	color: #666;
}

img {
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}


.main {
	min-height:100%;
	background-image: url(/images/traces.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	border: 0px dotted #6C6;
	z-index: 1;	
}

.main_second {
	min-height:100%;	
	z-index: 1;	
}

#container {
	width: 960px;
	border: 0px dotted #6C6;
	position: relative;
}

/* Верх */
#top {
	border: 0px dotted #6C6;
	margin-top: 50px;
	margin-right: 40px;
	margin-left: 40px;
	display: table;
	margin-bottom: 35px;
	position: relative;
}

#top .logo {
	float: left;
	border: 0px dotted #6C6;
}

#top .menu {
	float: left;
	border: 0px dotted #6C6;
	padding-right: 40px;
	padding-left: 40px;
	width: 405px;
}

#top .menu table {
	background-image: url(/images/menu_bg.png);
	background-repeat: repeat;
	background-position: left top;
}

#top .menu table td {
	text-align: center;
	height: 42px;
	vertical-align: middle;
	padding-right: 10px;
	padding-left: 10px;
}

#top .menu table .left {
	padding-left: 5px;
}

#top .menu table .right {
	padding-right: 5px;
}

#top .menu a {
	color: #000;
	text-decoration: none;
}

#top .menu a:hover {
	color: #666666;
}

#top .menu .selected {
	background-image: url(/images/menu_bg_active.png);
	background-repeat: repeat-x;
	background-position: bottom;
}

#top .menu .selected a {
	/*color: #666;*/
}

#top .tel {
	float: right;
	border: 0px dotted #6C6;
	width: 173px;
}

#top .tel .link {
	margin-top: 5px;
}

#top .tel .link a {
	border-bottom-width: 1px;
	border-bottom-style: dashed;
	border-bottom-color: #000;
	text-decoration: none;
	color: #000;
}


/* Услуги */

.services {
	padding-top: 10px;
	display: table;
	border: 0px solid #F00;
	width: 100%;
	margin-bottom: 130px;
}

.services a {
	text-decoration: underline;
}


.services a:hover {
	color: #666666;
}


.services .img {
	margin-bottom: 30px;
}

.services .links {
	line-height: 18px;
}

.services .links img {
	margin-bottom: 22px;
}

.services #trucking {
	width: 240px;
	float: left;
	margin-left: 40px;
}

.services #trucking .links {
	margin-left: 10px;
}

.services #special {
	width: 320px;
	float: left;
	margin-left: 40px;
}

.services #special .links {
	margin-left: 80px;
}

.services #building_materials {
	width: 230px;
	float: left;
	margin-left: 50px;
}

.services #building_materials .links {
	margin-left: 60px;
}

/* Второй уровень */

.second {
	display: table;
	border: 0px solid #F00;
	width: 880px;
	margin-bottom: 60px;
	background-image: url(/images/second_bg.png);
	background-repeat: repeat;
	padding-right: 40px;
	padding-left: 40px;
	padding-top: 30px;
	padding-bottom: 40px;
	min-height: 470px;
	height: 470px;
}

.tray {
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #000;
	display: table;
	width: 100%;
	margin-bottom: 40px;
}

.tray a {
	text-decoration: none;	
}

.tray a:hover {
	color: #666;
}

.tray .header, .tray .submenu {
	float: left;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.tray .header {
	font-weight: bold;
	width: 130px;
	border: 0px solid #F00;
	white-space: nowrap;
}

.tray .selected {
	background-image: url(/images/menu_bg_active.png);
	background-repeat: repeat-x;
	background-position: bottom;	
}

.tray .selected a {
	/*color: #666;	*/
}


.catalogue td {
	vertical-align: top;
}


.catalogue .goods {
	border: 0px solid red;
	display: table;
	width: 440px;
}

.catalogue .spacer td {
	height: 10px;
}

.catalogue .foto {
	border: 1px solid #e0e0e0;
	height: 120px;
	width: 160px;
	float: left;
	margin: 1px;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #FFF;
}

.catalogue .description {
	float: left;
	margin-left: 20px;
	margin-top: 16px;
	border: 0px solid red;
	width: 245px;
}

.catalogue .description .param {
	color: #666666;
	font-size: 11px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.catalogue .description .price {
	color: #666666;
	font-weight: bold;
}

.catalogue a {
	text-decoration: none;
}

.catalogue td:hover {
	/*cursor: hand;*/
}


.catalogue .foto:hover {
	border-top-color: #fac832;
	border-right-color: #fac832;
	border-bottom-color: #fac832;
	border-left-color: #fac832;
	border-top-width: 2px;
	border-right-width: 2px;
	border-bottom-width: 2px;
	border-left-width: 2px;
	margin: 0px;
}


.catalogue td:hover .price {
	/*color: #efbc00;*/
}


.listing {
	display: table;
	margin-top: 30px;
}

.listing a {
	margin-right: 3px;
	text-decoration: none;
}

.listing a:hover {
	text-decoration: none;
}

.listing span {
	padding-right: 7px;
	padding-left: 7px;
	padding-top: 2px;
	padding-bottom: 2px;
	background-color: #FFF;
}

.listing span:hover, .listing span.selected {
	color: #FFF;
	background-color: #000;
}

.table .th td {
	font-weight: bold;
}

.table .fill td {
	background-color: #f3f3f3;
}

.table td {
	padding-right: 20px;
	padding-left: 20px;
	padding-top: 7px;
	padding-bottom: 7px;
}

/* Форма */

.table_form td {
	padding-bottom: 5px;
	padding-right: 10px;
}

.input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	width: 200px;
}

.captcha {
	width: 80px;
	font-size: 24px;
	text-align: center;
	vertical-align: middle;
	height: 44px;
}

/* Выравнивание по центру */
.align_center {
	position: relative;
	width: 100%;
	border: 0px solid #F00;
}
.align_center:after {
	content: '';
	display: block;
	clear: both;
}
.align_center_to_left {
	position: relative;
	right: 50%;
	float: right;
	border: 0px dotted #6C6;
}
.align_center_to_right {
	position: relative;
	z-index: 1;
	right: -50%;
	border: 0px dotted #6C6;
}
.valign_container {
	display: table-cell;
	vertical-align: middle;
	border: 0px dotted #CCC;
}
.valign_box {
	border: 0px solid;
	margin-top: expression((parentNode.offsetHeight - this.offsetHeight)<0 ? "0" : (parentNode.offsetHeight - this.offsetHeight)/2 + "px");
}
