* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	color: #000000;
	height: 100%;
	background-color: #F7F7F7;
	font-family: Arial, Tahoma, Verdana, Times New Roman;
	font-size: 11px;
	text-align: left;
}

table {
	border-collapse: collapse;
	margin: 0;
}
td {
	vertical-align: top;
}
img {
	border: none;
}

a {
	color: #3366CC;
}

a:visited {
	color: #666666;
}

a:hover {
	color: #CC0000;
}


p {
	padding: 5px 0;
}

ul {
	list-style-type: none;
	padding: 0;
}

ol {
	margin: 5px 0px 5px 25px;
}


ul li {
	margin: 3px 0 3px 0;
	padding: 0 0 0 24px;
	background: transparent url("li.gif") 0 3px no-repeat;
}

ul li.new {
	background: transparent url("new.gif") top left no-repeat;
}


.strike {
	text-decoration: line-through;
}

#main {
	width: 980px;
	margin-left: auto;
	margin-right: auto;
	/* border: #000000 1px solid; */
	background: #f7f7f7 url("image.jpg") 125px 0 no-repeat;
}

#main #head_left {
	height: 130px;
	width: 702px;
}

#main #head_left a img {
	text-decoration: none;
	margin: 50px 0 0 36px ;
}

#head_right {
	text-align: right;
	font-size: 11px;
}

#head_right h1{
	margin: 36px 30px 0 20px;
	font-weight: bold;
	font-size: 11px;
	color: #333333;

}

#head_phone {
	padding: 0 0 0 27px;
	margin: 0 30px 0 20px;
	font-size: 11px;
	color: #333333;
	font-weight: bold;
	background: transparent url("phone.gif") 50px 8px no-repeat;
}

#head_phone span {
	color: #CC0000;
	font-size: 24px;
}

#main_url {
	margin: 0 30px 3px 20px;
}

#main_url a {
	color: #000;
}


#content_left {
	width: 702px;
}


#header {
	margin: 0 0 20px 20px;
	width: 500px;
}

#header h1, #header h2 {
	margin: 5px 10px 3px 16px;
	font-size: 24px;
	font-weight: normal;
}

#header p {
	font-size: 12px;
	margin: 5px 10px 3px 16px;
}



#content {
	margin: 0 0 20px 20px;
	width: 660px;
	font-size: 13px;
}


#content h2 {
	margin: 5px 2px 5px 1px;
	padding: 0 10px 8px 15px;

	background: #1B71A5 url("bg_h.gif") 0 bottom no-repeat; 
	color: #ffffff;
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
}


#content h3 {
	margin: 15px 0 5px 0;
	padding: 4px 10px 4px 16px;
	background-color: #3A84B1; /* #999999*/
	color: #ffffff;
	font-size: 13px;
	font-weight: bold;
	text-transform: uppercase;
}

#content p {
	font-size: 13px;
	margin: 0px 16px 3px 16px;
/*	text-align: justify;*/
}
#content table td p {
	text-align: left !IMPORTANT;
}

#content em {
	font-size: 12px;
}


#content li {
	margin: 0 16px 3px 16px;
}

#content table td.photo_col {
	width: 100px;
	padding: 10px;
	font-weight: bold;
	font-size: 11px;
}


#content_right {
	padding: 16px 0 20px 0;
}


#content_right p {
	margin: 2px 25px 2px 25px;
	min-height: 35px; 
	padding: 3px 0 3px 42px;
	background: transparent url("articles.gif") top left no-repeat;
}

#content_right ul {
	margin: 15px 25px 20px 0px;

}

#content_right ul li {
	margin: 10px 5px 12px 25px;

}

#content_right li span {
	color: #777777;
	font-size: 10px;
}


#footer {
	height: 40px;
}

#contacts {
	border-top: #bbbbbb 1px solid;
	margin: 15px 25px 5px 20px;
	padding: 4px 10px 4px 16px;
	width: auto;
}


#counters {
	margin: 15px 25px 5px 20px;
	padding: 4px 10px 4px 16px;
	width: auto;
}

#metro {
	text-align: center;
}

#metro img {
	width: 140px;
	height: 171px;
}


#copyright p {
	padding: 30px 35px 0 0;
	text-align: right;
	color: #999999;
}

#copyright a {
	color: #333333;
	text-decoration: none;
	color: #999999;
}

#copyright a u {
	color: #2579D7;
	text-decoration: underline;
	font-weight: bold;
	font-size: 12px;
}

#artlist {
	font-size: 11px; 
	margin: 0 10px 10px 20px;
}

#artlist li {
	margin: 3px 0 7px auto;
}

#all_flats {
	margin: 0 2px 0 1px;

/*	border: 1px solid #6B90AF;*/
}
#all_flats td {
	text-align: left;
	padding: 10px 15px 10px 20px;
/*	border: 1px solid #6B90AF;*/
	font-size: 11px;
}
#all_flats th {
	text-align: left;
	margin: 5px 2px 5px 1px;
	padding: 0 10px 8px 15px;

	background: #1B71A5 url("bg_h.gif") 0 bottom  no-repeat; 
	color: #ffffff;
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
/*

	background-color: #6B90AF;
	color: #FFFFFF;
	text-align: left;
	padding: 3px 7px;
	border: 1px solid #6B90AF; */
}

#all_flats img {
	float: left;
	margin: 3px 12px 0 0;

/*	border: 1px solid #6B90AF;*/
}


#all_flats thead td b{
	color: #CC0000;
}


/* ******************************************************** */

#flats table {
	margin: 0 0 20px 0;
}

#flats img {
	margin: 0 10px 10px 16px;
}

#flats .grey {
	color: #888888;
	font-size: 11px;	
}

#flats .small {
	font-size: 8px;	
}



#flats .left {
	width: 160px;
	padding: 0;
	border-right: 1px #E6E6E6 solid;

/*	border: 1px solid #777777; */
}

#flats .left  div {
	padding: 0;
	margin: 0 15px 0 0;
}

#flats .left p {
	padding: 0;
	margin: 0;
	/*border-right: 1px #E6E6E6 solid; */
}

#flats td.right {
	border-left: #fff solid 1px;

}

#flats .right p {
	font-size: 11px;
	margin: 0;
	padding: 0 0 10px 15px;
	/* border-left: #fff solid 1px;*/
}

#flats .right p.small {
	margin: 0;
	padding: 0 0 0 15px;
}


#flats .big {
	color: #CC0000;
	font-size: 24px;
}

#flats p.small {
	margin: 10px 0 0 0;
	padding: 0;
}


#photo_block {
	padding: 20px 0px 20px 17px;
	width: 380px;
}

#photo_block a {
	display: block;
	float: left;
	margin: 20px 23px 0px 0;
}

#photo_block img {
	border: 1px solid #020202;
}


form#login_form div.type-text {
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}

form# div.type-text input {
	padding: 2px;
}

form#login_form div.type-button input {
	border-top: 1px #ddd solid;
	border-left: 1px #ddd solid;
	border-right: 1px #444 solid;
	border-bottom: 1px #444 solid;
	padding: .3em 1.2em;
	width: auto;
	cursor: pointer;
}

form#login_form div.type-button input:focus,
form#login_form div.type-button input:hover,
form#login_form div.type-button input:active {
	border-top: 1px #444 solid;
	border-left: 1px #444 solid;
	border-right: 1px #ddd solid;
	border-bottom: 1px #ddd solid;
}

div.flat_param {
	font-size: 12px;
	margin: 8px 16px 3px 16px;
	text-align: justify;
}

#content div.input_editable p,
#content div.textarea_editable p {
	margin-left: 0px;
	margin-right: 0px;
}

form#admin_edit_form {
	width: auto;
	padding: 0;
	margin: 0;
}

form#admin_edit_form input.clear {
	width: 100%;
	padding: 0;
	margin: 0;
}

.warning {
	color: #ff0000;
	font-size: 11px;
}

.error {
	color: #ff0000;
	font-size: 11px;
}


#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;
} 

#price {
	background-color: #ffffff;
	border: 1px solid #E0E0E0;
}
