* {margin:0; padding:0;}

body {
	width:100%;
	height:100%;
	font-size:12px;
	font-family:Tahoma, Arial, sans-serif;
	color:000;
	text-align:center;
	background:url(/img/design/bg-body.jpg) center top;
}

table {
	font-size:12px;
	border-collapse:collapse;
}

img {border:0;}

.g-clear {
	width:100%;
	clear:both;
	float:none !important;
	overflow:hidden;
	height:0;
	font-size:0;
	border:0;
}

a {color:#399228;}
a:hover {color:##399228; text-decoration: none;}





/* Шляпа */
.l-header {
	position:relative;
	width:960px;
	height:250px;
	margin:0 auto;
	margin-bottom:-250px;
	text-align:left;
	background:#E7B14F url(/img/design/header.jpg);
}

	.b-header-name {
		position:relative;
		top:10px;
		left:40px;
		width:200px;
	}

		.b-header-name big {
			display:block;
			color:#2C8C1C;
			font-size:38px;
			font-family:Impact, sans-serif;
			line-height:0.9em;
			white-space:nowrap;
		}

		.b-header-name strong {
			display:block;
			margin:2px 0 1em 0;
			color:#7E431D;
			font-size:16px;
			font-weight:normal;
			line-height:1.1em;
		}

		.b-header-name em {
			display:block;
			color:#453630;
			font-size:16px;
			font-weight:bold;
			font-style:normal;
			line-height:1.3em;
		}

	.b-header-icons {
		position:absolute;
		top:10px;
		left:256px;
		width:16px;
	}

		.b-header-icons a,
		.b-header-icons strong {
			display:block;
			width:16px;
			height:16px;
			margin:0 0 6px 0;
			font-size:0;
			background-image:url(/img/design/icons.gif);
			background-repeat:no-repeat;
		}

			.b-header-icons a.home {background-position:0 0;}
			.b-header-icons a.home:hover,
			.b-header-icons strong.home {background-position:-16px 0;}
			
			.b-header-icons a.contacts {background-position:0 -16px;}
			.b-header-icons a.contacts:hover,
			.b-header-icons strong.contacts {background-position:-16px -16px;}

	.b-header-anchors {}

		.b-header-anchors a {
			position:absolute;
			display:block;
			font-size:0;
		}

			.b-header-anchors a.doors {top:10px; left:384px; width:165px; height:180px;}
			.b-header-anchors a.windows {top:13px; left:606px; width:76px; height:152px;}
			.b-header-anchors a.stairs {top:0; left:736px; width:215px; height:209px;}





/* Контент */
.l-content {
	width:960px;
	margin:0 auto;
	//height:100%;
	min-height:100%;
	text-align:left;
	background:#ECC288 url(/img/design/bg.jpg) repeat-y;
}

.l-content:after {
	clear:both;
	content:"";
	display:block;
	height:0;
	visibility:hidden;
}

	.l-content-wrap {
		padding:250px 0 50px 0;
	}

	.l-left {
		float:left;
		width:216px;
		padding:0 0 40px 0;
	}

	.l-center {
		float:left;
		width:525px;
		width:741px;
		margin-right:-216px;
		padding:0 0 40px 0;
	}

	.l-right {
		float:left;
		width:219px;
		padding:0 0 40px 0;
	}





/* Навигация */
.b-navigation {
	width:179px;
	margin:0 0 40px 15px;
	padding:40px 0 0 0;
	background:url(/img/design/navigation.gif) top left no-repeat;
}
	
	.b-navigation-bg {width:179px; background:url(/img/design/navigation.gif) top center repeat-y;}
	.b-navigation-bg-bottom {width:179px; padding:0 0 10px 0; background:url(../img/design/navigation.gif) bottom right no-repeat; position:relative; z-index:19;}
	
	.b-navigation a,
	.b-navigation strong {
		display:block;
		margin:0 10px 1px 9px;
		padding:0.1em 0;
		color:#E3C23D;
		font-size:14px;
		font-weight:normal;
		text-decoration:none;
		text-indent:10px;
		background:#418436;
		border:1px solid #26170B;
	}
	
	.b-navigation a:hover,
	.b-navigation strong {color:#000;}





/* Текст */
.b-text {position:relative; font-size: 12pt; font-family: 'Times New Roman'; line-height:1em !important;}

.b-text h1, .b-text h2, .b-text h3 {font-family: 'Tahoma'; font-weight:normal; line-height:1em; color:#2C8C1C; text-transform:uppercase;}
.b-text h1 {font-size:18px; padding:0 0 0.3em 0;}
.b-text h2 {font-size:18px; padding:0.6em 0 0.4em 0;}
.b-text h3 {font-size:18px; padding:0.8em 0 0.4em 0;}

.b-text p {line-height:1.5em; padding-bottom:1.3em;}
.b-text p small {line-height:1.5em; padding-bottom:1.3em;}
	
.b-text table1,
.b-text img.img {margin:0 24px 1.3em 24px;}

.b-text ul,
.b-text ol {margin-left:2em; line-height:1.5em; padding-bottom:0.5em;}
.b-text ul {list-style:none;}
	.b-text ul li,
	.b-text ol li {line-height:1.5em;}
	.b-text ul li {background:url(/img/design/li.png) 0 0.6em no-repeat; margin:0 0 0 -20px; padding:0 0 0 20px;}
	
.b-text1 table th {padding:1.3em 2.6em 1.3em 0; border-bottom:2px solid #999;}
.b-text1 table td {padding:1em 2em 1em 0; border-bottom:1px solid #999;}
.b-text1 table th {font-weight:normal; font-size:10px; vertical-align:bottom; text-align:left;}

.b-text table td {vertical-align: top;}
	
.b-text h1,
.b-text h2,
.b-text h3,
.b-text h4,
.b-text h5,
.b-text h6,
.b-text h7,
.b-text p,
.b-text ul,
.b-text ol {padding-right:15px; padding-left:15px;}





/* Скидки */
.b-sales {font-family: 'Times New Roman'; padding:0 24px 0 32px;}
.b-sales h7, .b-sales h6, .b-sales h5, .b-sales h4, .b-sales h3, .b-sales h2, .b-sales h1 {}
.b-sales h3, .b-sales h2, .b-sales h1 
{font-weight:normal; line-height:1em; color:#2C8C1C; font-size:18px; padding:0 0 0.4em 0; text-transform:uppercase;}
.b-sales small {display:block; font-size:11pt; font-weight:bold;}
.b-sales p {display:block; font-size:11pt; line-height:1.3em; padding-bottom:2.3em;}





/* © */
.l-footer {
	position:relative;
	width:960px;
	height:60px;
	margin:0 auto;
	margin-top:-60px;
	color:#fff;
	font-size:10px;
	text-align:left;
	background:url(/img/design/footer.gif);
}

	.l-footer .l-left,
	.l-footer .l-center,
	.l-footer .l-right {
		position:absolute;
		padding:35px 0 0 0;
	}

	.l-footer .l-left {left:0;}
	.l-footer .l-center {left:216px;}
	.l-footer .l-right {left:741px;}

	.l-footer .l-left p {padding:0 0 0 23px;}
	.l-footer .l-center p {padding:0 0 0 16px;}
	.l-footer .l-right p {padding:0 0 0 32px;}

	.l-footer a {color:#fff;}
	.l-footer a:hover {color:#2C8C1C;}
	
	
hr {
	height: 1px;
	width: 96%;
	border: 0;
	background: #6E3D2F;
margin-left: auto;
margin-right: auto;
}


div#gallery {
	padding: 5px 10px;
	width: 500px;
}

div#gallery div {
	padding: 0 12px 19px 12px;
	float: left;
}

div#gallery div a {
	display: block;
	border: 4px solid #6E3D2F;
}

div#gallery div a:hover {
	display: block;
	border: 4px solid #A9604D;
}

.currentpage {
	font-weight: bold;
	color: #000;
}

#master {
	margin: 0 25px;
}

#master td {
	border: 0;
	padding: 5px;
	vertical-align: middle;
}

#master td input, #master td select {
	width: 250px;
	background: #F2DFBE;
	border: 1px solid #A9604D;
}

#master td textarea {
	width: 250px;
	height: 100px;
	background: #F2DFBE;
	border: 1px solid #A9604D;
}

#master td input#captcha {
	width: 50px;
	background: #F2DFBE;
	border: 1px solid #A9604D;
}

#master td input#send {
	width: 80px;
	background: #A0A0A0;
	border: 1px solid #A9604D;
}


/* Счетчики */
.b-counters {
	padding:30em 0 0 30px;
	overflow:hidden;
}





/* Выравнивание по вертикали */
.vertical-align {
	display:table;
	position:relative;
	//overflow-y:hidden;
	width:741px;
	left:-216px;
}

.vertical-align .r {
	display:table-row;
	position:relative;
	//top:100%;
}

.vertical-align .left,
.vertical-align .center,
.vertical-align .right {
	display:table-cell;
	//display:inline;
	position:relative;
	//float:left;
	vertical-align:bottom;
}

.vertical-align .left {
	width:216px;
}

.vertical-align .right {
	width:522px;
	vertical-align:top;
}

	.vertical-align .right .r {
		//height:30em;
	}

.vertical-align .r .r {
	display:block;
	//top:-100%;
	width:auto;
	//width:100%;
}
