/** 
 * Базовый CSS файл дизайна Domavin.RU
 * @author Ardent
 * @version    SVN: $Id: basic.css 177 2009-06-29 09:22:00Z kotmiron $
 *
 */

body {
    color: #000;
    background: #e8e8e8;
    font-family:Arial, Verdana, sans-serif;
    font-size:11px;
    font-weight:normal;
}
h1 {
}
h2 {
}
h3 {
    color: #a01a08;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
}
h4 {
}
h5 {
}
h6 {
}
p {
}
ul {
}
li {
}
a {
}

.error {
    font-weight: bold;
    color: red;
}

/* Parts */
#top {
    background: url(/img/index/top-background.jpg) repeat-x #1b497a;
}
#middle {
    background: url(/img/index/middle-background.jpg) repeat-x #d5d5d5;
    border-top: 1px solid #d5d5d5;
}
#bottom {
    background: url(/img/index/bottom-background.jpg) repeat-x #1f0100;
    border-top: 4px solid #c9d1d9;
}

/* Wrapper */
.wrapper {
    width: 988px;
    margin: 0 auto;
}
#top .wrapper {
    width: 865px;
    padding: 0 61px;
    background: url(/img/index/wrapper.png) no-repeat;
}
#middle .wrapper {
    padding: 25px 0px;
    width:960px;
}
#bottom .wrapper {
    text-align: center;
}

/* Header */
#header {
    padding: 20px 0;
}
#logo {
    margin:0 0 10px 0;
    display: block;
    float: left;
    width: 292px;
    height: 17px;
    color: #fff;
    ___background: url(/img/index/domavin-logo.gif) no-repeat;
    text-align:center;
    padding-top:45px;
    padding-left:25px;
    text-decoration:none;
}
#header ul {
    float: right;
    padding: 10px 0 0 0;
}
#header ul li {
    float: left;
    padding: 10px 0 0 0;
    background-repeat: no-repeat;
    background-position: center 0;
}
#header ul li a {
    display: block;
    color: #88b5e0;
    padding: 23px 10px 0 10px;
    border-right: 1px solid #2b4762;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
}

#header ul li a:hover {
    text-decoration:underline;
    color:#d9ecfd;
}
#header ul .login {
    background-image: url(/img/login.gif);
    background-position: center 4px;
}
#header ul .register {
    background-image: url(/img/register.gif);
}
#header ul .help {
    background-image: url(/img/common/globe-small.png);
    background-position: 14px 2px;
}
#header ul li a.last {
    border:0;
    padding-right: 0;
}

/* Search Finder */
#finder {
    margin:0;
    clear: both;
    padding: 0 0 10px 170px; /* top padding was 25px */
    background: url(/img/index/house.gif) no-repeat 333px 0px;
}

#finder fieldset label {
    color: #ADD7FF;
}

#finder .uno, #finder .due, #finder .tre {
    margin: 15px 0 0 0; /* was 30px top */
    padding: 5px 0 0 45px; /* was 8px top, was 4px top */
}
#finder .uno {
    background: url(/img/index/uno.gif) no-repeat 0px 20px;
}

#finder .uno label.type {
    margin-top:20px;
}

#finder .due {
    background: url(/img/index/due.gif) no-repeat top left;
}

#finder .tre {
    background: url(/img/index/tre.gif) no-repeat left 15px;
}
#finder label {
    color: #fff;
}
#finder label.type {
    display: block;
    margin:0; /* was 30px */
    font-size: 16px;
}
#finder label.buy, #finder label.rent {
    margin-top:30px;
    display: block;
    width: 290px;
    float: left;
    height: 53px;
    background-position: 60px 0;
    background-repeat: no-repeat;
}

#finder label.buy input, #finder label.rent input {

}

#finder label.buy q, #finder label.rent q {
    display: none;
}
#finder label.buy {
    ___background-image: url(/img/index/buy.gif);
    cursor:pointer;
}
#finder label.rent {
    background-image: url(/img/index/rent.gif);
    cursor:pointer;
}
#finder label.buy .radio, #finder label.rent .radio {
}
#finder span.radio {
   width: 53px;
   height: 53px;
   background: url(/img/index/radio.gif) no-repeat;
   display: block;
   clear: left;
   float: left;
}
#finder label.location {
    display: block;
    font-size: 16px;
}
#finder label.location .text, #finder .advanced .text  {
    display: block;
    width: 496px;
    margin: 14px 0 0 0;
    padding: 7px 10px;
    color: #971807;
    background: url(/img/index/input.gif) repeat-x #fff;
    border: 1px solid #1f3d57;
    font-size: 18px;
}

#finder .advanced {
    display: none;
    width: 496px;
    margin: 5px 0 0 0; /* was 16px */
    padding: 0 0 8px 22px;
    color: #ececec;
    border-bottom: 1px solid #4676a7;
    border-top: 1px solid #4676a7; /* was _border */
    text-decoration: none;
}

#finder .due a {
    color:#fffaaa;
    text-decoration:none;
}
#finder .due a:hover {
    text-decoration:underline;
}

#finder .min, #finder .max {
    font-size:11px;
    display: block;
    width: 496px;
    margin: 5px 0 0 0; /* was 16 top */
    padding: 0 0 5px 22px;
    text-decoration: none;
}

#finder .min {
    background: url(/img/index/min.gif) no-repeat 2px 2px;
}
#finder .max {
    background: url(/img/index/max.gif) no-repeat 2px 2px;
}

#finder .advanced p {
    padding: 10px 0;
}
#finder .advanced .text {
    display: inline;
    padding: 5px;
    width: 98px;
    font-size: 14px;
    margin: 0 14px 0 4px;
}
#finder .advanced select {
    margin: 0 14px 0 4px;
}
#finder .advanced select.small {
    width: 100px;
}
#finder .advanced select.big {
    width: 190px;
}
#finder .advanced input.big {
    width: 388px;
}
#finder .tre .button {
    width: 107px;

}

/* Box */
/*#middle ul {
    width: 940px;
    height:250px;
    margin: 0 auto;
    padding:0 0 0 35px;
}*/

.box {
    margin:0px 1px 0px 20px;
    float: left;
    width: 275px;
    padding:0px;
}
.box h3 {
    margin:0;
    padding: 0 7px;
    width: 100%;
    height: 25px;
    font-weight: bold;
    font-size: 110%;
}
.box p {
    margin:0 7px;
    padding:0;
    line-height: 16px;
}
.box a {
    display: block;
    color: #a01a08;
    margin: 16px 7px 0 7px;
    padding: 0 0 0 11px;
    background: url(/img/index/arrow.gif) no-repeat left;
    font-weight: bold;
    text-decoration:none;
}
.box a:hover {
    text-decoration:underline;
    color:red;
}

/* Column Image below Header. */
.frame {
    width: 239px;
    height: 91px;
    padding: 19px;
    background: url(/img/index/frame-background.jpg) no-repeat;
}
.ribbon {
    position: static;
    margin: -93px 0 0 154px;
/*    position: relative;*/
    width: 93px;
    height: 64px;
    background: url(/img/index/ribbon.gif) no-repeat; /* - was 0 3px */
    text-indent: -1986em;
    overflow: hidden;
}
.frame img {
    border: 1px solid #8b8b8b;
}

/* Footer menu */
#footer {
    padding: 10px 0 160px 0; /* 16px */
}
#footer a {
    padding: 0 5px; /* 12px */
    color: #ffd0d0;
    border-right: 1px solid #b14131;
    text-decoration: none;
}
#footer a:hover {
    color: #fff;
    text-decoration: underline;
}
#footer a.last {
    border-right: 0;
}

/* Clearer */
.clearer {
    clear: both;
    width: 0px;
    height: 0px;
    border: 0px;
    font-size: 0px;
    line-height: 0px;
}

.hidden {
    display: none;
}
