﻿body {
	background-color: #ccc;
	font-family: Arial;
}

a {
	color: #00b0f0; text-decoration: none;
}

#layout {
	max-width: 1100px;
	min-width: 900px;
	margin: 0 auto;
	font-size: 0;
	background: url(../img/pattern_02.gif) repeat top left;
}
.header_top {
	height: 50px;
	width: 100%;
	background-color: #005a95;
	position: relative;
	z-index: 50;
}
.header_top_inner {
	width: 980px;
	padding-left: 10px;
	margin: 0 auto;
	position: relative;
}
.logo {
	padding: 14px 0 0 0;
}
.logo_yit {
	position: absolute;
	top: 0; 
	right: 0;
	margin-top: 26px;
	z-index: 100;
}
.header_main {
	background: url(../img/graf.jpg) no-repeat top center;
	width: 100%;
	height: 444px;
}
.header_menu {
	height: 34px;
	background-color: #009ad5;
	width: 100%;
	font-size: 0;
}
.header_menu_inner, .submenu {
	width: 980px;
	padding-left: 10px;
	margin: 0 auto;
}
.header_menu_inner ul li, .submenu ul li {
	float: left;
	padding: 0;
}
.header_menu_inner ul li a, .submenu ul li a {
	display: block;
	background: url(../img/menu_line.gif) no-repeat 100% 10px;
	padding-right: 9px;
	padding-left: 9px;
	line-height: 0.9;
	padding-top: 11px;
	height: 23px;
	float: left;
}
.header_menu_inner ul li.act {
	background-color: #005a95;
}
.header_menu_inner ul li.act a, .header_menu_inner ul li.no_bg a {
	background: none;
}
.header_menu_inner ul li.last a, .submenu ul li.last a {
	background: none;
	margin-right: 0;
}
.header_menu_inner ul li a, .submenu ul li a {
	color: #FFF;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	text-decoration: none;
}

#content, #footer{
	font-size: 12px;
}
#content {
	padding: 35px 0 0;
}
#content h1 {
	color: #1f262d;
	font-size: 16px;
	text-transform: uppercase;
	width: 385px;
	padding-bottom: 15px;
}
#content h3 {
	font-size: 13px;
	text-transform: uppercase;
	font-weight: normal;
}
.content_inner, .footer_inner {
	width: 980px; 
	padding-left: 10px;
	margin: 0 auto;
	color: #515151;
}
.main_content {
	margin-right: -364px;
	float: left;
}
.squeeze {
	margin:0 364px 0 0;
	width: 606px;
}
.sub_content {
	width: 364px;
	float: right;
}
#content .sub_content h1 {
	width: 306px;
	padding-left: 19px;
}
#content p {
	padding-top: 6px;
	padding-bottom:5px;
}
#content .main_content_inner {
	width: 478px;
	margin-bottom: 28px;
}
#content .second_content_inner {
	margin: 0 20px 28px 0;
}
.main_content_gallery ul li {
	float: left;
	margin-right: 10px;
	font-size: 0;
	margin-bottom: 31px;
	padding: 0;
}
.main_content_gallery ul.big li {
	margin-right: 16px;
	margin-bottom: 0;
}
.main_content_gallery ul.big li.last, .main_content_gallery ul li.last {
	margin-right: 0;
}

.sub_news {
	width: 306px;
}
.sub_news ul li {
	margin-bottom: 14px;
	padding-left: 19px;
}
.news ul li {
	padding-bottom: 18px;
}

.news div{
	padding-bottom: 3px;
}

.news_date_one {
	background:#bebbac;
	color:#FFFFFF;
	font-size:10px;
	padding:2px;
	text-align:center;
	width:94px;
	margin-bottom:3px;
}

.sub_news ul li span, .news ul li span {
	display: block;
}
.link_more {
	font-size: 11px;
}
.link_more {
	background: url(../img/icons/more_link_news.gif) no-repeat 3px 3px;
	padding-left: 19px;
}
.sub_phones .link_more {
	background: url(../img/icons/more_link_dilers.gif) no-repeat 6px 3px;
	padding-left: 19px;
}
.sub_phones {
	margin-top: 37px;
}
#content .sub_phones p {
	padding: 0 0 0 19px;
}
.sub_phones p span {
	color: #1f262d;
}
#content .sub_phones h1.phone {
	font-size: 31px;
	font-weight: normal;
	padding-bottom: 13px;
}

.footer_inner {
	padding: 35px 0;
}
#footer .sub_content .counters {
	padding-left: 19px;
}
#footer .sub_content .counters img {
	margin-right: 10px;
}

/* submenu */
.submenu_wrapper {
	border-top: 1px solid #FFF;
	background-color: #005a95; padding-top: 1px;
}
.submenu {
	height: 34px;
}
.submenu ul li a {
	font-weight: bold;
}
.submenu ul li.act a {
	font-weight: bold;
	color: #c0b072;
}

/* second */
.second_header {
	1background: url(../img/second_head.jpg) no-repeat top left;
	height: 124px;
	width: 100%;
	border-top: 1px solid #FFF;
	border-bottom: 1px solid #FFF;
	overflow: hidden;
}

#slideshow {
    position:relative;
    height:124px;
    overflow: hidden;
}

#slideshow IMG {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
}

#slideshow IMG.active {
    z-index:10;
    opacity:1.0;
}

#slideshow IMG.last-active {
    z-index:9;
}


.quest-answer {
	margin-top: 31px;
}
#content .quest-answer h3 {
	background: url(../img/quest-answer_title.png) no-repeat top left;
	width: 160px; height: 23px;
	line-heigth: 1;
	padding-left: 19px;
	padding-top: 6px;
	color: #1f262d;
	font-style: italic;
	font-weight: bold;
	text-transform: none;
	font-size: 16px;
}
#content .quest-answer h3.request_title {
	background-image: url(../img/request_title.gif);
	width: 196px;
}
.quest-answer_body {
	background-color: #FFF;
	padding: 9px 19px 3px;
	width: 316px;
}
.quest-answer_body h4 {
	color: #1f262d;
	font-size: 18px;
}
.quest-answer_top {
	background: url(../img/quest-answer_top.gif) no-repeat top left;
	width: 354px; 
	height: 5px; font-size: 0;
}
.quest-answer_bottom {
	background: url(../img/quest-answer_bottom.gif) no-repeat top left;
	width: 354px; 
	height: 6px; font-size: 0;
}
.quest-answer_body .map img {
	margin-right: 5px;
}

.news_body {
	margin: 15px 0;
}

.second_content_inner .gallery ul li {
	float: left;
	margin: 0 5px 15px 0;
	padding: 0;
}
.second_content_inner .gallery h3 {
	margin-bottom: 10px;
}
.second_content_inner .journal h3 {
	margin-bottom: 5px;
}
#content .second_content_inner .journal p {
	padding: 0;
	margin: 0 0 10px;
}
.second_content_inner .gallery ul li.last {
	margin-right: 0;
}

.second_content_inner .gallery ul li img, .content_images img {
	border:2px solid #aeab9c;
}

.second_content_inner h2 {
	padding: 15px 0 1px;
	color: #30363b;
	font-weight: normal;
	font-size: 14px;
	font-weight: bold;
}
.second_content_inner ul li {
	margin: 5px 0;
}

#content .important p {
	color: #747474;
	font-size: 16px;
	padding-top: 0;
}

/* База квартир */
.flatbase {
	margin-top: 20px;
}
.flatbase table td span, .flatbase table td a {
	display: block;
	width: 40px; height: 19px;
	border-top: 1px solid #97adb3;
	border-bottom: 1px solid #97adb3;
	margin: 5px;
	text-align: center;
	font-weight: bold;
	font-size: 13px;
	color: #1f262d;
	padding-top: 3px;
	text-decoration: none;
}
.flatbase table td.left span, .flatbase table td.left a {
	margin-left: 10px;
}
.flatbase table tr.second td.right, .flatbase table tr.top td.right {
	background-image: url(../img/baseflat_td_bg.gif);
	background-position: 45px 33px;
	background-repeat: no-repeat;
}
.flatbase table td.right {
	background: url(../img/baseflat_td_bg.gif) no-repeat 45px 28px;
}
.flatbase table td.right span, .flatbase table td.right a {
	margin-right: 10px;
}
.flatbase table tr.top td span, .flatbase table tr.top td a {
	margin-top: 10px;
	margin-bottom: 0;
}
.flatbase table tr.second td span, .flatbase table tr.second td a {
	margin-top: 10px;
}
.flatbase table tr.bottom td span, .flatbase table tr.bottom td a {
	margin-bottom: 10px;
}
.flatbase table td.status_1 {
	background-color: #e9ebdb;
}
.flatbase table td.status_2 {
	background-color: #e3f3f5;
}

.flatbase table td.status_3 {
	background-color: #f0f7d9;
	
}

.flatbase table td.status_1 a {
	background-color: #ded8c5;
}
.flatbase table td.status_2 a {
	background-color: #d9e7ea;
}
.flatbase table td.status_3 a {
	background-color: #c2d48a;
}
.flatbase table tr.bottom_floor td {
	text-align: center;
	vertical-align: middle;
	background-color: #dedee3;
	height: 39px;
	text-transform: uppercase;
	font-weight: bold;
	color: #1f262d;
}
.flatbase table td.floor span, .flatbase table td.empty span {
	border-bottom: 1px solid #d4d4d4;
	border-top: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 4px;
}
.flatbase table td.floor {
	white-space: nowrap;
}
.flatbase table td.floor span {
	font-size: 12px; color: #747474; font-weight: bold; font-family: "Trebuchet MS",Helvetica,Jamrul,sans-serif;
}

/* plans block */
.plans_block {
	margin-top: 31px;
}
#content .plans_block h3 {
	background: url(../img/quest-answer_title.png) no-repeat top left;
	width: 160px; height: 23px;
	
}
.plans_block ul.plans_header li {
	float: left;
	padding-left: 0;
	margin: 0;
}
.plans_block ul.plans_header li a, .plans_block ul.plans_header li span {
	display: block;
	width: 149px; height: 23px;
	line-heigth: 1;
	padding-left: 29px;
	padding-top: 6px;
	color: #005a95;
	font-style: italic;
	font-weight: bold;
	text-transform: none;
	font-size: 16px;
	text-decoration: none;
	position: absolute;
}
.one_plan_block ul.plans_header li span {
	width: 310px;
	background: url(../img/one_plan_title.gif) no-repeat top left;
}
.plans_block ul.plans_header li a.second {
	margin-left: 160px;
	z-index: 2;
}
.plans_block ul.plans_header li a.third {
	margin-left: 320px;
	z-index: 1;
}
.plans_block ul.plans_header li a.act {
	z-index: 3;
	background: url(../img/plans_menu_act.gif) no-repeat top left;
}
.plans_block ul.plans_header li a.noact {
	background: none;
}
.plans_block_body {
	background-color: #FFF;
	padding: 9px 19px 3px;
	width: 542px;
}
.plans_block_top {
	padding-top: 29px;
	background: url(../img/plans_top_alt.gif) no-repeat bottom left;
	width: 580px; 
	height: 5px; font-size: 0;
}
.plans_block_bottom {
	background: url(../img/plans_bottom.gif) no-repeat top left;
	width: 580px; 
	height: 5px; font-size: 0;
}

ul.plans_pic li {
	padding-left: 0;
	margin: 15px 0 0; 
	background: url(../img/dotted_line.gif) repeat-x top left;
	clear: both;
	width: 540px;
	padding-top: 1px;
}
ul.plans_pic li.first {
	background: none;
}
ul.plans_pic li.last {
	background: none;
	float: right;
}
.plan_link_text {
	color: #009ad5;
	padding: 7px 0 10px 20px;
	background: url(../img/icons/more_link_plans.gif) no-repeat scroll 0 8px;
}
.plan_link_text_revert {
	background-image: url(../img/icons/more_link_plans_revert.gif);
}
.plan_link_text strong {
	color: #1f262d;
}
ul.plans_pic ul li {
	float: left;
	width: auto;
	clear: none;
	background: none;
}
#content ul.plans_pic ul li h3 {
	margin: 0 0 5px 0;
	font-weight: bold;
}
#content ul.plans_pic ul li a.plans_link {
	display: block;
}

.one_plan_desc p {
	width: 460px;
	background: url(../img/dotted.gif) repeat-x bottom left;
	height: 11px;
	position: relative;
}
.one_plan_desc p span {
	background: #FFF;
	height: 26px;
	position: absolute;
}
.one_plan_desc p span.right {
	right: 0;
}
.one_plan_block {
	margin-top: 30px;
}
.one_plan_block h2 {
	font-style: italic;
	color: #005A95;
	font-size: 16px;
	font-weight: bold;
	padding: 0;
	margin-bottom: 30px;
}
#content .one_plan_block h3 {
	width: auto;
	color: #747474;
	font-size: 12px;
	font-weight: bold;
	text-transform: none;
	padding:0;
	margin: 0 0 15px;
	background: none;
}
#content .one_plan_block p {
	padding-top: 0;
}
.plans_block_body .plan_link_text_revert {
	margin-top: 40px;
}

.dotted {
	padding-left: 0;
	margin: 20px 0 0; 
	background: url(../img/dotted_line.gif) repeat-x top left;
	clear: both;
	width: 540px;
	padding-top: 1px;
}

.request_form {
	width: 305px;
	font-size: 13px;
	color: #5e5d5d;
}
.request_form div {
	margin-bottom: 15px;
}
.request_form label {
	float: left;
	width: 60px;
}
.request_form input {
	width: 225px;
}
.request_form label.clear_label {
	float: none;
	margin-bottom: 5px;
	display: block;
	width: auto;
}
.request_form textarea {
	width: 285px;
	height: 55px;
}
.request_form input.submit {
	display: block;
	background: url(../img/subm.gif) no-repeat top left;
	border: 0;
	width: 126px;
	height: 28px;
	cursor: pointer;
	margin-left: 165px;
	font-size: 0;
}
.star {
	color: #b00b0b;
	padding-left: 2px;
}

#YMapsID, #YMapsID_1 {
	border:2px solid #AEAB9C;
	height: 385px;
}
#YMapsID h2, #YMapsID_1 h2 {
	margin: 0 0 10px;
	padding: 0;
	font-size: 12px;
	font-weight: bold;
	text-transform: none;
	text-align: left;
}
#YMapsID img.map, #YMapsID_1 img.map {
	border:2px solid #AEAB9C;
	margin-bottom: 3px;
}
#YMapsID p, #YMapsID_1 p {
	margin: 0; padding: 0;
}

.pages {
	margin: 15px 0;
}

.second_content_inner ul {
	list-style-type: disc;
	padding-left: 20px;
}
.second_content_inner li {
	padding-left: 5px;
}
.gallery ul, .plans_block ul, .news ul {
	list-style-type: none;
	padding: 0;
}

.blue{
	font-weight:bold;
	color:#005A95;
}
