html {
	overflow: auto;
	}
body  {
	margin: 0;
	padding: 0;
	font-family: Arial, Tahoma, Verdana, san-serif;
	font-size: 12px;
	color: #535353;
	}

p {
	margin: 0;
	padding: 0; 
	}

div, p, dl, dd, dt, ul, ol, li, img, form, fieldset {
	margin: 0;
	padding: 0;  
	border: 0px; 
	font: 12px Arial, Tahoma, Verdana, san-serif;
	}
	
input, textarea, select { font: 12px Arial, Tahoma, Verdana, san-serif; }
	
a {  
	color: #3399cc; 
	text-decoration: underline; 
	}
	a:hover {
	text-decoration: none;
	}

h1, h2, h3, h4, h5, h6 {
	padding: 0;
	margin: 0;
	font-weight: normal;
	font-family: Arial, Tahoma, Verdana, san-serif;
	}

img, a img {
	border: 0;
	}

ul, li {
	list-style-type: none;
	margin: 0;
	padding: 0;
	}

#container {
	width: 1000px;
	margin: 0 auto;
	}

#header {
	padding: 18px 58px;
	overflow: hidden;
	height: 1%;
	}
	
#logo {
	float: left;
	width: 147px;
	height: 107px;
	background: url(../img/p_logo.gif) no-repeat;
	}
	#logo a {
		display: block;
		width: 147px;
		height: 107px;
		text-indent: -3000px;
		}

#about {
	float: right;
	padding-top: 5px;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
	color: #c4152a;
	}

#header_content {
	margin: 0 207px;
	padding-top: 2px;
	}
	#header_content a {
		margin-right: 33px; 
		}
		#header_content a.order {
			float: left;
			background: url(../img/i_order.gif) no-repeat 0 3px;
			margin-top: 13px;
			padding-left: 26px;
			}
	#header_content span.code {
		font-size: 25px; 
		}
	#header_content span.phone {
		font-size: 26px;
		font-weight: bold; 
		color: #c4152a;
		}
	#header_content p.slogan {
		margin: 33px 0 0 25px;
		font-size: 25px; 
		}

#main_menu {
	background-color: #535353;
	margin: 0 18px;
	padding: 0 40px;
	overflow: hidden;
	height: 1%;
	position: relative;
	}
	#main_menu li {
		float: left;
		height: 23px;
		margin-right: 10px;
		padding: 0 7px;
		font-size: 15px;
		}
		#main_menu li.last {
			margin-right: 0;
			}
	#main_menu li#visitors_uid {
		margin: 0;
		position: absolute;
		top: 5px;
		right: 0px;
		font-size: 12px;
		color: #9b9b9b;
		}
	#main_menu li.selected {
			background: url(../img/bg_red.gif) repeat-x;
			font-weight: bold;
			}
		#main_menu li a {
			color: #fff;
			text-decoration: none;
			position: relative;
			top: 2px;
			}
#zone {
	padding-top: 20px;
	overflow: hidden;
	height: 1%;
	}
#left {
	float: left;
	width: 165px;
	}
	#left .menu {
		padding: 25px 0 40px 18px;
		}
		#left .menu a {
			font-size: 14px;
			line-height: 18px;
			}
			#left .menu .selected a {
				text-decoration: none;
				font-weight: bold;
				}
		#left .menu h3 {
			margin-top: 15px;
			}
			#left .menu h3 a {
				color: #c4152a;
				font-weight: bold;
				}
		#left .menu ul {
			margin: 6px 0 0 12px;
			}
	#left a.banner {
		display: block;
		width: 160px;
		height: 265px;
		background: url(../img/p_catalog.jpg) no-repeat;
		}

#center {
	margin-left: 170px;
}

.content {
	margin: 0 18px 0 11px;
	overflow: hidden;
	height: 1%;
	}
.content h2 {
	font-size: 18px;
	margin: 20px 0 10px 0;
	}
.content h3 {
	float: left;
	font-size: 16px;
	font-weight: bold;
	color: #c4152a;
	margin: 20px 0 8px 0;
	}
.admin {
	margin: 0 18px;
	}
.bread {
	font-size: 10px;
	}
.bread a {
	color: #535353;
	}
.catalog h4 {
	font-size: 14px;
	font-weight: bold;
	margin-top: 20px;
	}
.sort {
	float: right;
	margin-top: 23px;
	width: 187px;
	}
	.sort span {
		background: url(../img/bg_red.gif) repeat-x;
		padding: 5px 10px;
		font-weight: bold;
		color: #fff;
		position: relative;
		top: -5px;
		}
		.sort span.color {
			float: left;
			margin-right: 10px;
			}
		.sort span.models {
			float: right;
			margin-left: 10px;
			}
.doors {
	float: left;
	width: 100%;
	padding-top: 10px;
	}
	.doors h3 {
		font-size: 18px;
		font-weight: normal;
		margin-left: 11px;
		}
	.doors ul {
		overflow: hidden;
		height: 1%;
		}
	.doors li {
		float: left;
		width: 166px;
		margin: 13px 18px 0 0;
		padding: 0 0 29px 11px;
		font-size: 14px;
		}    
		.doors li div {
			margin-top: 3px;
			}
			.doors li div.colors {
				overflow: hidden;
				height: 1%;
				}
				.doors li div.colors a {
					float: left;
					margin-right: 1px;
					}
					.doors li div.colors a.last {
						margin: 0;
						}
		span.dollar {
			color: #c4152a;
			/*margin-left: 8px;*/
			}    
		span.cost {
			color: #c4152a;
			font-size: 20px;
			font-weight: bold;
			}
	.catalog .doors li {
		padding: 0 0 29px 0;
		margin-right: 45px;
		}    
		.catalog .doors li.last {
			margin-right: 0;
			}    

.interior {
	width: 410px;
	}  

.exterior {
	background: url(../img/bg_gray.gif) no-repeat;
	width: 390px;
	padding-left: 30px;
	}

a.more {
	display: block;
	background: url(../img/bg_red.gif) repeat-x;
	width: 170px;
	height: 19px;
	margin: 0 auto;
	padding: 2px 5px;
	font-size: 15px;  
	font-weight: bold;
	color: #fff;
	text-align: center;
	text-decoration: none;
	position: relative;
	top: -10px;
}

.slider {
	float: left;
	width: 100%;
	margin-top: 30px;
	text-align: center;
	}
	
.door {
	}
	.door .about {
		margin-top: 40px;
		overflow: hidden;
		height: 1%;
	}
	.door .view {
		float: left;
		width: 400px;
	}
	.door .image_colors {
		overflow: hidden;
		height: 1%;
		}
	.door .image {
		float: left;
		margin-right: 15px;
		}
	.door dl.colors  {
		float: left;
		width: 210px;
		}
		.door dl.colors dt, .door dl.colors dd  {
			}
		.door dl.colors dt  {
			float: left;
			height: 39px; 
			margin-right: 15px;
			}
			.door dl.colors dt a  {
				display: block;
				}
		.door dl.colors dd  {
			height: 27px; 
			padding-top: 12px;
			 
			}
	.door a.zoom, .door a.more_photos {
		float: left;
		margin-top: 13px;
		padding-left: 18px;
		text-decoration: none;
		height: 14px;
		}
	.door a.more_photos {
		color: #c4152a;
		}
		.door a.zoom span, .door a.more_photos span {
			float: left;
			border-bottom: 1px dashed #3399cc;
			height: 13px;
			}
		.door a.more_photos span {
			border-bottom-color: #c4152a; 
			}
			.door a.zoom:hover span, .door a.more_photos:hover span {
				border-bottom: 0;
				}
	.door a.zoom {
		background: url(../img/i_zoom.gif) no-repeat;
		margin-right: 30px;
		}
	.door a.more_photos {
		background: url(../img/i_photo.gif) no-repeat;
		}
	.door .description {
		float: left;
		width: 368px;
		min-height: 350px;
		background: url(../img/p_gradient.gif) no-repeat;
		padding-left: 30px;
		}
	.door .coll_info {
		margin-bottom: 10px;
		}
		.door .coll_info ul {
			list-style: none;
			}
			.door .coll_info ul li {
				margin-left: 1.3em;
				text-indent:-1.3em;  /* сдвигаем текст обратно влево на ширину дефиса и пробела чтобы выравнивание шло строго по тексту */
				}
				.door .coll_info ul li:before {
					content: '\2014\a0'; /* в качестве маркера используем дефис и пробел*/
					}
			.door .coll_info ul li {
				behavior: expression( !this.before ? this.before = this.innerHTML = '&mdash;&nbsp;'
				+ this.innerHTML : '' ); /* приручаем интернет експлорер*/
				}
	.door .sizes {
		margin-top: 25px;
		float:left;
		width:100%;
		}
		.door .sizes span {
			float: left;
			margin: 5px 0 0 7px;
			font-size: 14px;
			}
			.door .sizes span.title {
				width: 100px;
				margin: 5px 25px 0 0;
				}
		.door .sizes ul {
			float: left;
			}
			.door .sizes ul li {
				float: left;
				background: url(../img/p_gradient_s.gif) no-repeat;
				padding: 5px 7px;
				font-size: 14px;
				}
				.door .sizes ul li.first {
					background: none;
					}
	.door dl.prices {
		margin-top: 25px;
		float: left;
		width: 100%;
		}
		.door dl.prices dt, .door dl.prices dd {
			height: 28px;
			}
		.door dl.prices dt {
			float: left;
			width: 110px;
			}
		.door dl.prices dd {
			font-size: 14px;
			}
			.door dl.prices dd.current {
				color: #c4152a;
				position: relative;
				top: -9px;
				}
				.door dl.prices dd.current span {
					font-size: 22px;
					font-weight: bold;
					}
	.door .to_catalog {
		padding: 30px 0 20px;
		}
	.door p {
		margin: 20px 0;
		}
	.door ul.more_images {
		overflow: hidden;
		height: 1%;
		padding: 20px 0;
		}
		.door ul.more_images li {
			float: left;
			margin-right: 33px;
			}
			.door ul.more_images li.last {
				margin: 0;
				}
	.door dl.comments {
		margin: 20px 0;
		overflow: hidden;
		height: 1%;
		}
		.door dl.comments dd {
			clear: both;
			background-color: #dfdfdf;
			padding: 8px;
			}
		.door dl.comments dt {
			float: left;
			margin-bottom: 20px;
			padding: 10px 35px 0 0;
			background: url(../img/p_comment.gif) no-repeat 100% 0;
			}

.add_quote {
	float: left;
	width: 100%;
	}
	.add_quote span {
		float: left;
		padding: 5px 10px 25px 0;
		font-size: 14px;
		font-weight: bold;
		}
	.add_quote input {
		float: left;
		width: 20px;
		margin-right: 7px;
		padding: 2px;
		font-size: 14px;
		}
.arrows {
	float: left;
	width: 7px;
	padding: 2px 0;
	}
	.arrows div {
		width: 7px;
		height: 8px;
		font-size: 0;
		cursor: pointer;
		}
		.arrows .up {
			background: url(../img/i_arrow_up.gif) no-repeat;
			margin-bottom: 6px;
			}
		.arrows .down {
			background: url(../img/i_arrow_down.gif) no-repeat;
			}
.red_but {
	float: left;
	margin-right: 20px;
	background: url(../img/bg_red.gif) repeat-x;
	padding: 2px 15px 3px !important;
	font-size: 15px;  
	font-weight: bold;
	color: #fff;
	text-decoration: none;
	}
input.red_but {
	border: 0 !important;
	width: auto !important; 
	}
	
.quick_quote {
	}
	.quick_quote table {
		border: 0;
		padding: 0;
		margin: 0;
		margin-top: 30px;
		}
		.quick_quote table.border {
			border-collapse: collapse;
		}
	.quick_quote td {
		padding: 5px;
		font-size: 14px;
		border-bottom: 1px solid #dfdfdf;
		}
		.quick_quote table.border td, .quick_quote table.border td.first, .quick_quote table.border td.last {
			border: 1px solid #000;
		}
		.quick_quote td.first {
			border-left: 1px solid #dfdfdf;
			}
		.quick_quote td.last {
			border-right: 1px solid #dfdfdf;
			}
	.quick_quote thead td {
		/*font-size: 12px;*/
		background-color: #dfdfdf;
		}
	.quick_quote tfoot td {
		background-color: #dfdfdf;
		font-weight: bold;
		padding: 7px 10px 3px;
		}
		.quick_quote tfoot td.clear {
			background: none;
			border: none;
			}
		.quick_quote tfoot td.total p {
			color: #c4152a;
			font-size: 14px;
			font-weight: normal;
			position: relative;
			top: -3px;
			}
			.quick_quote tfoot td.total p span {
				font-size: 20px;
				font-weight: bold;
			}
	.quick_quote .delete {
		float: right;
		margin-top: 2px;
		}

.clear {
	clear: both;
	}

.fl_left {
	float: left !important;
	}

.fl_right {
	float: right !important;
	}

.no_fl {
	float: none !important;
	}

.center {
	text-align: center !important;
	}

.right {
	text-align: right !important;
	}

p.error {
	color: #c4152a;
	font-weight: bold;
	}
input.error, select.error {
	background-color: #f9a7b1;
	}

.page {
	font-size: 14px;
	}
	.page p, .page ul, .page ol {
		font-size: 14px;
		line-height: 18px;
		margin: 10px 0;
	}
	.page li {
		font-size: 14px;
		line-height: 18px;
		margin-left: 30px;
		}
	.page ul li {
		list-style: disc;
		}
	.page ol li {
		list-style: decimal;
		}
	.page ul.gallery {
		overflow: hidden;
		height: 1%;
		margin: 20px 0;
		}
		.page ul.gallery li {
			list-style: none;
			float: left;
			width: 215px;
			margin: 0 0 20px 0;
			}
			.page ul.gallery li.last {
				width: 155px;
				}
			.page ul.mr_45 li {
				width: 211px;
				}
				.page ul.mr_45 li.last {
					width: 166px;
					}

	.page ul.orange {
		}
		.page ul.orange li {
			width: 209px;
			}
		.page ul.orange li.last {
			width: 172px;
			}
		.page ul.orange div {
			overflow: hidden;
			height: 1%;
			border-bottom: 1px solid #c4152a;
			color: #c4152a;
			margin-bottom: 5px;
			width: 172px;
			}
		.page ul.orange p {
			margin: 5px 0;
			}
		.page ul.orange .price {
			float: right;
			}
		.page ul.orange .name {
			float: left;
			font-size: 18px;
			font-weight: bold;
			}
		.page ul.orange a {
			display: block;
			border: 1px solid #c4152a;
			width: 170px;
		}

	.page .framing-flash {
		width: 450px;
		height: 450px;
		margin: 20px auto;
		border:1px solid #c4152a;
	}

.form {
	}
	.form h3 {
		float: none;
		}
	.form .half, .form .image {
		float: left;
		width: 340px;
		}
	.form .image {
		padding-left: 5px;
		}
.form .half_big {
		float: left;
		width: 440px;
		}
.form fieldset {
		padding: 10px 0;
		}
	.form label {
		float: left;
		width: 65px;
		padding-top: 5px;
		}
		.form.big_labels label {
			width: 105px;
			}
		.form .half_big label {
			width: 165px;
			}
			.form .half_big label.small {
				width: 46px;
				}
			.form .half_big select.small {
				float: left;
				width: 66px;
				}
		.form .half_big .mr {
			margin-right: 18px;
			}
	.form input {
		width: 230px;
		padding: 3px;
		}
		.form.big_labels input {
			width: 190px;
			}
	.form select {
		width: 242px;
		padding: 2px 0;
		}
		.form.big_labels select {
			width: 202px;
			}
	.form span {
		color: #c4152a;
		}
	.form .field {
		overflow: hidden;
		height: 1%;
		margin-bottom: 5px;
	}
	.form .comment {
		overflow: hidden;
		height: 1%;
		}
		.form .comment div {
			padding: 8px;
			overflow-x: hidden;
			overflow-y: scroll;
			background-color: #dfdfdf;
			}
		.form .comment textarea {
			overflow: auto;
			background-color: #dfdfdf;
			width: 100%;
			height: 80px;
			border: 0;
			margin: 0;
			}
			.form .comment textarea.error {
				background-color: #f9a7b1;
				}
		.form .comment label {
			float: left;
			padding: 10px 35px 0 0;
			background: url(../img/p_comment.gif) no-repeat 100% 0;
			}
	.form p.info {
		padding: 5px 0 10px;
	}
	.form p.error {
		clear: both;
		margin: 0;
		padding-left: 65px;
		}
	.form .red_but {
		clear: both;
		margin-top: 20px;
	}
	.form .big input, .form .big select {
		width: 530px;
	}

.delete {
	width: 12px;
	height: 12px;
	background: url(../img/i_close.gif) no-repeat;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}
.ordering {
	margin-bottom: 20px;
	}
	.door_over {
		position: relative;
		margin-top: 20px;
	}
		.door_over .delete {
			position: absolute;
			top: 5px;
			right: 5px;
		}
	.ordering table {
		/*width: 100%;*/
		background-color: #dfdfdf;
		padding: 0 10px;
		}
		.ordering table table {
			padding: 0;
			margin: 0;
			}
			.ordering table table td {
				padding-bottom: 0;
				}
			.ordering table table label {
				margin-right: 10px;
				}
	.ordering td {
		height: 28px;
		padding: 0 10px 5px;
		}
		.ordering td.wbr {
			border-right: 1px solid #fff;
			}
		.ordering td.wbt {
			border-top: 1px solid #fff;
			}
		.ordering td.w {
			width: 95px;
			}
		.ordering td.last {
			width: 90px;
			}
		.ordering td.no_pr {
			padding-left: 35px;
			padding-right: 0;
			}
		.ordering td.no_pl {
			padding-left: 0;
			width: 40px;
			}
	.ordering .first_row td {
			padding-top: 5px;
			}
	.ordering label  {
		float: left;
		padding-top: 3px;
		}
	.ordering input, .ordering select  {
		float: right;
		}
	.ordering .name  {
		width: 135px;
		}
	.ordering input.custom  {
		float: left;
		width: 30px;
		}
	.ordering select  {
		width: 100px;
		}
		.ordering select.wall  {
			width: 52px;
			}
	.ordering .frameset {
		width: 80px;
		margin: 0 auto;
		overflow: hidden;
		}
	.ordering .left {
		float: left;
		margin: 5px 20px 0 0;
		}
	.ordering .red_but {
		clear: both;
		margin-top: 20px;
		}

.flash {
	font-size: 14px;
	padding-bottom: 10px;
	}
.flash-error {
	color: #c4152a;
	}
/*.flash-message {
	color: #3399cc;
	}*/

#feedback {
	position: relative;
	overflow: hidden;
	height: 1%;
	padding: 20px 30px 30px 0;
	}  
	#feedback .cards {
		float: left;
		margin: 10px 20px;
		width: 140px;
		text-align: center;
		/*height: 41px;
		background: url(../img/p_card.gif) no-repeat 100% 100%;*/
		}
		#feedback .cards a {
			color: #535353;
			text-decoration: none;
			}
			#feedback .cards a:hover {
				text-decoration: underline;
				}
	#feedback p {
		font-size: 11px;
		text-align: justify;
		color: #000;
		}

a#contact_us {
	display: block;
	background: url(../img/contact.png) no-repeat 100% 100%;
	z-index: 85;
	position: fixed;
	bottom: 1px;
	right: 1px;
	width: 147px;
	height: 95px;
}

#footer_out {
	background-color: #535353;
	}
#footer {
	width: 1000px;
	margin: 0 auto;
	/*margin-top: 1px;*/
	padding: 10px;
	color: #9b9b9b;
	background-color: #535353;
	font-size: 11px;
	overflow: hidden;
	height: 1%;
	}
	#footer a {
		color: #9b9b9b;
		}
	#footer ul.menu {
		float: left;
		margin: 6px 28px 0 0;
	}
		#footer ul.menu li {
			float: left;
			padding: 0 10px;
			border-right: 1px solid #9b9b9b;
			}
			#footer ul.menu li.last {
				border: none;
				}
	#footer .contacts {
		float: right;
		padding-right: 72px;
		}
	#footer .copyright {
		margin: 6px 0;
		}

.history {
	overflow-y:auto;
	overflow-x:auto;
	max-height:100px;
}

.pager {
	margin: 20px 0 40px;
}
.pager, pager a {
	font-size: 12px;
}
.admin .quick_quote td {
	font-size: 12px;
}
.admin_search td {
	font-size: 12px;
	padding-right: 5px;
}
.admin_search .text {
	width: 50px;
}
.admin_search .submit {
	width: 30px;
}
.admin p.count {
	margin: 10px 0;
}
.referer {
	width: 150px;
	overflow-x: hidden;
	overflow-y:auto;
	max-height:100px;
}