html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 12px;
    vertical-align: baseline;
    font-family: Arial;
    background: transparent;
}
#photo_block {
	padding: 20px 0px 20px 17px;
	width: 580px;
}

#photo_block a {
	display: block;
	float: left;
	margin: 20px 23px 0px 0;
}

#photo_block img {
	border: 1px solid #020202;
	
}
html, body {
	width:100%;
    height: 100%;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

/* remember to define focus styles! */:focus {
    outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

body {
	color: #535353;
	background:url(../files/bg.gif) repeat left top;
}

h1, h3 {
	color: #502200;
}

h3 {
	font-size:1.3em;
	line-height:1.5em;
	margin-bottom:.7em;
}

a {
	color: #7a7a7a;
}

.italic {
	font-style: italic;
}

.red {
	color:#fe0113;
}

input.error {
	border: 1px solid #fe0113;
}

#wrap {
	width:100%;
	height:100%;
}

#viewport {
	position:relative;
	min-height: 100%;
}

* html #viewport {
 	height: 100%;
}

#container, #footer_container {
	padding: 0 4px;
	position:relative;
	width:976px;
	margin:0 auto;
	background: url(../files/viewport_bg.png) repeat-y left top;
	padding-bottom: 211px;
}

/*#container {
	height:100%;
}
*/
#head_container {
	height:419px;
	background: #fff url(../files/top.jpg) no-repeat left top;
	border-bottom:2px solid #d7c697;
}

#logo {
	position:absolute;
	width:256px;
	height:134px;
	left:184px;
	top:24px;
	z-index:100;
}

#menu_container {
	position:relative;
	top: 135px;
	height:47px;
	background:url(../files/menu_container_bg.gif) repeat-x left top;
}

#tel {
	position:absolute;
	top:7px;
	left:5px;
}

#tel span {
	font-family: Tahoma;
	color: #f1f0d1;
	font-size: 1.583em;
}

#menu {
	float:right;
}

#menu .item {
	float:left;
	line-height: 40px;
	height:40px;
	text-transform:uppercase;
	color: #fff;
	padding: 0 21px 0 20px;
	margin-top:-2px	;
	
}

#menu .active {
	background:url(../files/ac_menu_bg_l.gif) no-repeat -5px -5px;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

#menu .item a {
	color:#fff;
	text-decoration:none;
}

#menu .active a {
	color:#532400;
	text-decoration:none;
}

#menu .item a:hover {
	text-decoration:underline;
}

#content_container {
	margin-top: -194px;
}

#content {
	padding:0 34px;
}

#content .left, #content .right {
	float:left;	
}

#content .left {
	width:653px;
}
#content .left1 {
	width:900px;
}
#content .right {
	width:237px;
	margin-left:17px;	
	clear:right;
}

#content h1 {
	font-size: 2em;
	padding-bottom:1em;
}

.main_text {
	padding:20px;
	background-color:#fff;
	margin-bottom:20px;
/*	font-size: 1.25em; */
	font-size: 1em;

}

/*
.main_text p {
	padding-bottom:.7em;
}*/

.main_text ul {
	list-style-type: circle;
	margin-left: 15px;
}

.main_text li {
	margin: 5px 0 5px 15px;
	
}



.list table.flat_item {
	margin-bottom:20px;
}

table.flat_item td {
	vertical-align:top;
}

table.flat_item td.img_container {
	padding-right:12px;
}

table.flat_item td.img_container img {
	border: 5px solid #e5decb;
}

table.flat_item td.flat_descr {
	
}

table.flat_item td.flat_descr .title {
	font-weight:bold;
	margin-bottom:.3em
}

.block {
	border: 3px solid #bdbe82;
}

.round, .round2 {
	border:none;
}

.right .block {
	margin-bottom:19px;
}

.right .block .title, .right .block .body {
	padding:0 23px 21px 27px;
}

.right .block .title {
	height:40px;
	line-height:40px;
	vertical-align:middle;
	border-bottom: 1px solid #a4a477;
	padding-bottom:0;
	background-color: #e1e2be;
	text-transform: uppercase;
	color: #3a1402;
	font-size: 1.7em;
	white-space: nowrap;
}

.right .selection_form span {
	display:block;
	line-height:1.1em;
	margin-bottom:.7em;
}

.right .selection_form select, .right .selection_form textarea, .right .selection_form input {
	width:100%;
	display:block;
	margin-bottom:1em;
}

.right .selection_form .subm_container {
	margin-top:1.8em;
	text-align:right;
}

.right .selection_form .subm_container input {
	width:auto;
	display: inline;
	margin-bottom:0;
}

.right .round .title, .right .round2 .title {
	height:34px;
	line-height:34px;
	background-color: transparent;
	border: none;
	color: #fff;
	text-transform: none;
}

.round .round_t_l {
	background: url(../files/r_top_l.gif) no-repeat left top;
}

.round .round_t_r {
	background: url(../files/r_top_r.gif) no-repeat right top;
}

.round2 .round_t_l {
	background: url(../files/r2_top_l.gif) no-repeat left top;
}

.round2 .round_t_r {
	background: url(../files/r2_top_r.gif) no-repeat right top;
}

/*******/

.round .round_b_l, .round2 .round_b_l {
	height:10px;
	background: url(../files/r_bottom_l.gif) no-repeat left top;
}

.round .round_b_r, .round2 .round_b_r {
	widht:9px;
	height:10px;
	background: url(../files/r_bottom_r.gif) no-repeat right top;
}

.round2 .round_b_l {
	background: url(../files/r2_bottom_l.gif) no-repeat left top;
}

.round2 .round_b_r {
	background: url(../files/r2_bottom_r.gif) no-repeat right top;
}

.right .block .body {
	padding-top:15px;
	background-color: #cacc98;
}

/*.right .round .body, .right .round2 .body {
	padding-left: 1px;
	padding-right: 1px;	
}*/

.right .round .body {
	border-left: 1px solid #cfbd8c;
	border-right: 1px solid #cfbd8c;
	background-color: #e5d8b4;
	padding: 0;
} 

.right .round2 .body {
	padding-top:0;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	background-color: #decd9e;
	padding:0;
}

.right .block .bottom {
	padding: 0 23px 0 27px;
	text-align:right;
}

.items .item {
	padding:18px 23px 15px 27px;
	border-bottom: 1px solid #fff;
}

.items .last {
	border-bottom:0;	
}

#footer_container {
	height: 115px;
	margin-top: -115px;
	padding-bottom:0;
	overflow:hidden;
}
*:first-child+html #footer_container {
   margin-top: 0px;
}
* html #footer_container{
	margin-top: 0px;
} 
* html #shem{
	margin-top: 200px;
}
*:first-child+html #shem{
	margin-top: 200px;
}
* html #text{
	width:150px;
}
* html #flat_gallery{
height: 1%;

}

*:first-child+html #text{
	width:150px;
}
.inputtext{
font-size:9pt;
}
#footer_container .footer_wrap {
	border-top:1px solid #fff;
	position:relative;
	background-color: #b4b674;
	padding-top: 30px;
}

#footer_container .footer {
	border-top: 1px solid #713e27;
	background-color:#3a1402;
	height:73px;
	padding:12px 8px 0 34px;
}

.bottom_menu {
	margin-bottom:1em;
}

.bottom_menu li {
	display:inline;
	padding: 0 15px 0 14px;
	line-height:1em;
	background:url(../files/bot_separator.gif) no-repeat right 2px;
}

.bottom_menu li.last {
	background:none;	
}

.bottom_menu li a {
	color:#e5deca;
	text-decoration: none;
}

.btn2 {
	display: inline-block;
	*display:inline;
	*zoom:1;
	background: url(../files/btn2_bg.gif) repeat-x left top;
}

.btn2 .btn2_l {
	background: url(../files/btn2_l.gif) no-repeat left top;
}

.btn2 .btn2_l a {
	color:#fff;
	text-align:center;
	text-transform:uppercase;
	padding: 0 2em;
	line-height:2em;
	text-decoration:none;
}

.full_flat_descr td {
	vertical-align: top;
}

.full_flat_descr td .flat_description {
	padding-right: 20px;
}

.flat_description span, .flat_description div {
	padding: .5em 0;
}

.flat_description p {
	font-size:1em;
}

.flat_description ul {
	padding-left: .6em
}

.sort_table {
	height:60px;
}

.sort_table td {
	padding:0 5px;
	vertical-align:middle;
}

.sort_table td.metro_station {
	width:165px;
}

.sort_table td select {
	width: 100%;
}

.sort_table td.name {
	width:170px;
	text-align:center;
}

.sort_table td span {
	padding-bottom:.5em;
	display:block;
} 

.sort_table td.name span {
	text-transform:uppercase;
	color:#3A1402;
	padding:0;
}

.paginaion_container {
	width:100%;
	text-align:center;
	padding:1em 0;
}

.pagination .num {
	display:inline-block;
	*display:inline;
	*zoom:1;
	width: 1.5em;
	height:1.5em;
	line-height:1.5em;
	vertical-align:middle;
	text-align:center;
	cursor:pointer;
	margin-right:.3em;
	color:#3A1402;
}

.pagination .active {
	background-color:#3A1402;
	color:#fff;
	cursor:default;
}

.order_form {
	padding-right:20px;
}

.order_form table {
	width:100%;
}

.order_form table td {
	vertical-align:top;
	padding:7px 0;
}

.order_form table td input, .order_form table td textarea{
	width:100%;
}

.order_form table td.label {
	text-align:right;
	width:30%;
	padding-right:20px;
	color:#000;
}

.order_form .message_container, .selection_form .message_container {
	display:none;
	margin:.8em;
	font-style:italic;
}

#content .contacts .left, #content .contacts .right {
	width:445px;
}

#content .services .left, #content .services .right {
	width:285px;
}

.services_tbl td {
	vertical-align: top;
	padding-bottom:10px;
}

.services_tbl td.img {
	padding-right:10px;
}

.services_tbl td.img img {
	border: 5px solid #e5deca;
}

.services_tbl .name {
	font-weight:bold;
	margin-bottom:.7em;
}

table.contacts {
	width:100%;
}

table.contacts td {
	vertical-align:top;
}

table.contacts td div {
	margin-bottom:1em;
}

table.contacts td.photo {
	padding-right:10px;
}

table.contacts td.photo img {
	border:5px solid #e5deca;
}

form.question {
	margin:20px 0 10px 0;
}

form.question table td {
	vertical-align:top;
	padding: 0 10px 5px;
}

form.question .btns {
	height:20px;
	text-align:right;
}

.blocker {
	position:absolute;
	z-index:1000;
	top:-3px;
	width:100%;
	height:100%;
	left:-3px;
}

.blocker_bg {
	background-color:#fff;
	width:100%;
	height:100%;
	position:absolute;
	opacity:0.6;
	filter: alpha(opacity = 60);
}

.loader {
	background:url(../images/loading.gif) no-repeat 50% 50%;
	width:100%;
	height:100%;
	position:absolute;
}

/*Gallery styles*/

#flat_gallery {
	width:668px;
	height:500px;
	margin: 0 auto;
}
.select_editable{
width:150px;
}
.formsel{
float:left;
}
#sm{
font-size:8pt;
width: 170px;
height: 35px;
}
.selbox{
font-size:8pt;
}
#contacts td{
padding: 10px;
}
#auto{
width:250px;
}
#butUpload{

}
#butUpload span{
font-size:12px;
}
#blup{
margin-top:20px;
float:right;
}
.icon_photo_delete {
	width: 100%;
	overflow: hidden;
	display: inline;
}

.icon_photo{
float: left;
position: relative;
margin: 10px;
}
.icon_photo a span {
	display: none;
	width: 24px;
	height: 24px;
	background-image: url('icon_delete.png');
	background-repeat: no-repeat;
	position: absolute;
	left: 74px;
	top: 20px;
}

.icon_photo_delete img {
	/*border: solid 1px #888888;*/
	/*padding: 5px;*/
}	

.icon_photo a:hover span {
	display: block;
} 

#icon_photo_delete {
	width: 100%;
	overflow: hidden;
	display: inline;
}

#icon_photo_delete a {
	float: left;
	position: relative;
	/*margin: 5px;*/
}

#icon_photo_delete a span {
	display: none;
	width: 24px;
	height: 24px;
	background-image: url('icon_delete.png');
	background-repeat: no-repeat;
	position: absolute;
	left: 0px;
	top: 0px;
}

#icon_photo_delete img {
	/*border: solid 1px #888888;*/
	/*padding: 5px;*/
}	

#icon_photo_delete a:hover span {
	display: block;
}
