/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html, body
{
    height: 100%; width: 100%;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}
a, ul li a, header a, #content a, .col-right a, .col-right img, .col-left a {
	outline: none;
}
/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
/*
@font-face {
  font-family: "Jeff Script";
  src: local("Jeff Script"),
       url('../fonts/Jeff_Script.otf') format("opentype");
}
*/
map area { cursor: pointer; }

body {
    background-color: rgb(228, 228, 228);
    font: 14px/16px Helvetica, Arial, sans-serif;
    text-align: justify;  
}

.container { width: 1024px; margin: 0 auto;  }
header { 
    min-width: 1024px;     
    background: #584336 url('../img/header-bg.jpg') no-repeat top center;
    height: 240px; 
    color: white; 
    overflow: hidden; 
}
@media only screen and (min-width: 1900px) {
    header { 
        -o-background-size: 100% 100%;  /* Opera 9.5+ */
        -webkit-background-size:100% 100%; /* Safari 3+, Chrome */
        -moz-background-size:100% 100%; /* Firefox 3.6+ */
        -khtml-background-size:100% 100%; /* Konqueror */
        background-size: 100% 100%;
    }
}


#logo { display: inline-block; margin: 45px 0 0 72px; }
header .phone { font-size: 64px; line-height: 64px; float: right; margin: 90px 65px 0 0; }
#main { min-width: 1024px; min-height: 700px; padding: 8px 0; background: #ddc4a7 url('../img/main-tbg.jpg') repeat-x left top;  }
#main > .container, footer > .container { width: 980px; }

#main-top-line, #main-bottom-line { height: 13px; }
#main-top-line > span { display: inline-block; height: 13px; }
#main-top-line > span.lc, #main-top-line > span.rc { width: 14px; background: url('../img/sprt.png') no-repeat 0 -38px; }
#main-top-line > span.rc { width: 14px; background-position: -14px -38px; }
#main-top-line > span.middle { background-color: #f4e1d0; width: 952px; }

#main-bottom-line > span { display: inline-block; height: 13px; }
#main-bottom-line > span.lc, #main-bottom-line > span.rc { width: 14px; background: url('../img/sprt.png') no-repeat 0 -50px; }
#main-bottom-line > span.rc { width: 14px; background-position: -14px -50px; }
#main-bottom-line > span.middle { background-color: #f4e1d0; width: 952px; }

nav ul { margin: 0; padding: 0; overflow: hidden; }
#top-nav { height: 30px; }
#top-nav ul li { position: relative; z-index: 1; display: inline-block; width: 180px; float: left; margin-left: 20px; }
#top-nav ul li:first-child { margin-left: 0; }
#top-nav ul li.active {  }
#top-nav ul li a { color: #CAA786; display: block; height: 34px; text-align: center;  font-size: 14px; line-height: 34px; text-decoration: none; }
#top-nav ul li.active a { color: #6b6b6b; background: url('../img/sprt.png') no-repeat 0 0;  }
#top-nav ul li a:hover { color: white; }
#top-nav ul li.active a { font-weight: bold; }
#top-nav ul li.active a:hover { color: #6b6b6b;  }


#content { background-color: #f4e1d0;/*#eee0d0;*/ min-height: 600px; padding: 2px 25px; }
.col-left { width: 200px; margin-right: 22px; float: left; }
.col-right { width: 705px; float: right; }

h1, h2, .title { color: #603813; font-size: 24px; font-weight: bold; margin: 0.67em 0; }
h1, .title { margin-bottom: 30px; }



footer { height: 65px; padding: 0 22px; line-height: 65px; }
#copyright { margin-left: 20px; }



/* SPECIAL */
#content .house_type { border-top: 2px solid #f6efe7; margin-bottom: 20px; padding-top: 20px; }
#content .house_type:first-child { border-top: none; padding-top: 0; }
.house_type h2 { font-size: 15px; font-weight: normal; }
.house_type h2 > strong, .house_type h2 > b { font-size: 24px; }
.house_type  h3 { color: #603813; font-size: 24px; }
.house_type img { vertical-align: top; }
.house_type .image {
    width: 705px;
    height: 500px;
    background-position: center center;
    background-repeat: no-repeat;
}
.house_type .image img { display: none; }
.house_type .thumbs div a {
    display: block;
}
.house_type .thumbs div {  margin-top: 25px; }
.house_type .thumbs div:first-child { margin-top: 0; }
.house_type .description .col-left ul {
    color: #4d4d4d;
    font-size: 13px;
    padding: 0;
    list-style: none;
}
.house_type .description .col-left ul li { margin-bottom: 10px; text-align: left;  }
.house_type .description .col-left ul li:before {
    content: "•  ";
    font-size:13px;
}
.house_type .description .col-right table { width: 100%; }
.house_type .description .col-right table tr td {
    padding: 5px; margin: 0; border-bottom: 2px solid #f6efe7; line-height: 20px; color: #4d4d4d;
}



a.print {
float: right;
cursor: pointer;
font-weight: bold;
display: block;
padding: 2px 21px;
}


.gallery {
    background: white; 
    padding: 20px 0 0 0;
}
.gallery > div {
 padding: 0 0 20px 20px; 
 float: left;
}
.gallery > div a { display: block; }
.gallery > div img {
 vertical-align: top; 
}


.uchtooltip {
        position: absolute;
        left: 0; top: 0;
        z-index: 10;
        display: none;

        background: rgba(255, 255, 255, 0.8);
		
        text-align: left; line-height: 20px;
        width: 230px;  
        padding: 20px 15px;  

        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -khtml-border-radius: 4px;
        -o-border-radius: 4px;
        border-radius: 4px;
}
.lt-ie9 .uchtooltip { background-color: white; }
.uchtooltip .price {
    color: #0000ff;

}
.uchtitle {
    color: #664221; font-weight: bold;
}
.red { color: red; font-weight: bold; }


#plan_poselka {
	position: relative;
}
.map_area_label {
	position: absolute;
	z-index: 2;
	background: url('../img/malbg.png') no-repeat top left;
	width: 32px;
	height: 32px;

	text-align: center;
	color: white;
	font: bold 18px/32px Arial;
	text-decoration: none;
}


#map_area_label_17 {	left: 676px; bottom: 20px;	}
#map_area_label_18 {	left: 578px; bottom: 20px;	}
#map_area_label_19 {	left: 480px; bottom: 20px;	}

#map_area_label_20 {	left: 278px; bottom: 22px;	}
#map_area_label_21 {	left: 221px; bottom: 88px;	}
#map_area_label_22 {	left: 174px; bottom: 142px;	}
#map_area_label_23 {	left: 132px; top: 388px;	}
#map_area_label_24 {	left: 92px;  top: 338px;	}
#map_area_label_25 {	left: 56px;  top: 276px;	}
#map_area_label_26 {	left: 34px;  top: 212px;	}
#map_area_label_27 {	left: 14px;  top: 148px;	}



#map_area_label_68 {	right: 105px; top: 430px;	}
#map_area_label_69 {	right: 51px; top: 370px;	}
#map_area_label_70 {	right: 54px; top: 311px;	}
#map_area_label_71 {	right: 68px; top: 256px;	}
#map_area_label_72 {	right: 71px; top: 202px;	}
#map_area_label_73 {	right: 84px; top: 147px;	}

#map_area_label_74 {	right: 290px; top: 150px;	}
#map_area_label_75 {	right: 290px; top: 205px;	}
#map_area_label_76 {	right: 290px; top: 260px;	}
#map_area_label_77 {	right: 290px; top: 315px;	}
#map_area_label_78 {	right: 290px; top: 370px;	}
#map_area_label_79 {	right: 290px; top: 430px;	}

#map_area_label_80 {	right: 432px; top: 426px;	}
#map_area_label_81 {	right: 336px; top: 370px;	}
#map_area_label_82 {	right: 336px; top: 315px;	}
#map_area_label_83 {	right: 336px; top: 260px;	}
#map_area_label_84 {	right: 336px; top: 205px;	}
#map_area_label_85 {	right: 336px; top: 150px;	}

#map_area_label_86 {	left: 336px; top: 150px;	}
#map_area_label_87 {	left: 336px; top: 198px;	}
#map_area_label_88 {	left: 322px; top: 245px;	}
#map_area_label_89 {	left: 394px; top: 334px;	}

#map_area_label_90 {	left: 395px; top: 442px;	}
#map_area_label_91 {	left: 310px; top: 360px;	}
#map_area_label_92 {	left: 278px; top: 245px;	}
#map_area_label_93 {	left: 395px; top: 198px;	}
#map_area_label_94 {	left: 282px; top: 152px;	}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



