@charset "utf-8";

.hidden {
    display: none !important;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
.clearfix {
    display: inline-block;
}
html[xmlns] .clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}

.clearer {
    width: 100%;
    overflow: hidden;
    clear: both;
}



body {
    font: 12px/1.231 Arial, Helvetica, sans-serif;
    color: #232323;
}

input.empty {
    color: #939598;
}

input, textarea {
    padding: 2px;
}


.text-button {
    cursor: pointer;
    text-decoration: underline;
}

.text-button:hover {
    text-decoration: none;
}

span.red {
    color: #E4092E;
}

/* ссылки */
a {
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}

/* Голубые - дефолтные*/
a:link {
    color: #008ace;
}
a:visited {
/*    color: #1c749f;*/
    color: #008ace;
}
a:hover {
    color: #008ace;
}
a:active {
    color: #e30026;
}

/* Красные */
a.red:link {
    color: #e4092e;
}
a.red:visited {
/*    color: #b6243d;*/
    color: #e4092e;
}
a.red:hover {
    color: #e4092e;
}
a.red:active {
    color: #e4092e;
}

/* Черные */
a.black:link {
    color: #232323;
}
a.black:visited {
    color: #232323;
/*    color: #646464;*/
}
a.black:hover {
    color: #008ace;
}
a.black:active {
    color: #e30026;
}

/* Розовые */
a.pink:link {
    color: #eb0d76;
}
a.pink:visited {
    color: #eb0d76;
/*    color: #c01868;*/
}
a.pink:hover {
    color: #eb0d76;
}
a.pink:active {
    color: #e30026;
}

/* Серые */
a.gray:link, .gray {
    color: #939598;
}
a.gray:visited {
    color: #939598;
/*    color: #7b7f84;*/
}
a.gray:hover {
    color: #232323;
}
a.gray:active {
    color: #e30026;
}

/**
 * В некоторых блоках (особенно на главной)
 * есть такие ссылки, у которых подчеркивание появляется только
 * при наведении на нее. Есть вариант смены цвета в синий
 * (на макетах это были ссылки на новостные статьи) или черный
 * (ссылки на страницы компаний)
 */
a.article:link {
    color: #232323;
    text-decoration: none;
}
a.article:visited {
    color: #232323;
/*    color: #1c749f;*/
    text-decoration: none;
}
a.article:hover {
    color: #008ace;
    text-decoration: underline;
}
a.article:active {
    color: #e30026;
    text-decoration: underline;
}
a.company:link {
    color: #232323;
    text-decoration: none;
}
a.company:visited {
    color: #232323;
/*    color: #7b7f84;*/
    text-decoration: none;
}
a.company:hover {
    color: #232323;
    text-decoration: underline;
}
a.company:active {
    color: #e30026;
    text-decoration: underline;
}




/**
 * Рейтинг в виде звездочек
 * Заготовленные классы "stars-1", "stars-2", "stars-3", "stars-4", "stars-5",
 * которые назначаются блоку "stars", рисуют соответствующее количество звезд
 * Если захочется нарисовать дробный рейтинг (например, 3.65),
 * то нужно установить соответствующую ширину блоку "stars-w"
 * в процентах (в этом случае 100 * 3.65 / 5 = 73%).
 */
.stars, .stars .stars-w,
.stars-huge, .stars-huge .stars-w,
.stars-tiny, .stars-tiny .stars-w {
    background: url(../i/stars-sprite.png) no-repeat 0 0;
}
.stars, .stars-tiny {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.stars-huge {
    display: inline-block;
    vertical-align: top;
}
.stars .stars-w,
.stars-tiny .stars-w {
    overflow: hidden;
    display: block;
    height: 0;
    width: 0;
}
.stars {
    width: 81px;
    height: 17px;
}
.stars .stars-w {
    background-position: 0 -20px;
    padding-top: 17px;
}
.stars-huge {
    background-position: -90px 0;
    width: 121px;
    height: 24px;
/*# новое #*/
    color: #939598;
    font-size: 14px;
    font-style: italic;
    margin-top: 8px;
    margin-left: 10px;
    white-space: nowrap;
/*##*/
}

.stars-huge .stars-w {
    background-position: -90px -25px;
    height: 24px;
    line-height: 24px;
    text-indent: 125px;
    width: 0;
}
.stars-tiny {
    background-position: 0 -40px;
    width: 61px;
    height: 13px;
}
.stars-tiny .stars-w {
    background-position: 0 -60px;
    padding-top: 13px;
}
.stars-1 .stars-w {
    width: 20%;
}
.stars-2 .stars-w {
    width: 40%;
}
.stars-3 .stars-w {
    width: 60%;
}
.stars-4 .stars-w {
    width: 80%;
}
.stars-5 .stars-w {
    width: 100%;
}



.pager {
    font-size: 14px;
    position: relative;
    left: -16px;
    margin-top: 22px;
}
.pager ul {
    display: block;
    width: 100%;
    overflow: hidden;
    clear: both;
}
.pager li {
    display: block;
    float: left;
    margin-right: 22px;
}
.pager li.current {
    color: #e30026;
}


/* Табы dl > dt + dd */
dl.tabs dt {
    float: left;
    position: relative;
}
dl.tabs dd {
    float: right;
    position: relative;
    margin-left: -100%;
    margin-top: 54px;
    width: 100%;
    display: none;
}
dl.tabs dd.active {
    display: block;
}

/**
 * Модульные сетки
 * Классы для контейнера колонок:
 *      "grid-435-435" => 2 колонки по 435 пикселей шириной
 *      "grid-604-292" => 2 колонки 2/3 и 1/3
 *      "grid-682-214" => 2 колонки 3/4 и 1/4
 *      "grid-214" => колонки 1/4 от ширины страницы (используется внутри 3/4)
 * Еще обязательно надо назначить класс "clearfix", чтобы контейнер получил высоту
 */
.grid-435-435 .unit,
.grid-604-292 .unit,
.grid-682-214 .unit,
.grid-682-214 .grid-214 .unit {
    float: right;
    position: relative;
}
.grid-435-435 .unit-first,
.grid-604-292 .unit-first,
.grid-682-214 .unit-first,
.grid-682-214 .grid-214 .unit {
    float: left;
}
.grid-435-435 .unit {
    width: 435px;
}
.grid-682-214 .unit-first .unit,
.grid-604-292 .unit {
    width: 292px;
}
.grid-682-214 .unit {
    width: 214px;
}
.grid-604-292 .unit-first {
    width: 604px;
}
.grid-682-214 .unit-first .unit-first {
    width: 370px;
}
.grid-682-214 .unit-first {
    width: 682px;
}
.grid-682-214 .grid-214 .unit {
    width: 214px;
    margin-left: 20px;
}
.grid-682-214 .grid-214 .unit-first {
    margin-left: 0;
}


/* Кнопки: <span class="btn"><em class="l"></em><em class="r"></em><input type="button" /></span> */
.btn {
    position: relative;
    background: url(../i/btn-blue.png) no-repeat;
    display: inline-block;
}
.btn em {
    background: url(../i/btn-blue.png) no-repeat;
    position: absolute;
    display: block;
}
.btn em.l {
    left: 0;
}
.btn em.r {
    left: 100%;
}
.btn input {
    padding: 0;
    outline: 0 none;
    border: 0 none;
    background: transparent;
    width: 100%;
    color: white;
    position: relative;
}
.btn, .btn * {
    cursor: pointer;
}


.btn-blue { background: #F9F7EC; border: 0px none; margin: 0px; padding: 0px; cursor: pointer; }
.btn-blue span {
    background: url(../i/btn-blue.png) no-repeat 0 -29px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding-left: 14px;
}
.btn-blue span span {
    background-position: right -29px;
    padding-right: 16px;
    padding-left: 0;
    height: 29px;
    line-height: 25px;
    text-decoration: underline;
}
/*
span.btn-blue,
span.btn-blue span {
    background: url(../i/btn-blue.png) no-repeat 0 -29px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding-left: 14px;
}
span.btn-blue span {
    background-position: right -29px;
    padding-right: 16px;
    padding-left: 0;
    height: 29px;
    line-height: 25px;
    text-decoration: underline;
}
*/


/* N */

.placeholder {
    color: #999;
}

#map-menu {
    width: 215px;
    height: 237px;
    background: url("../i/map-menu.png") no-repeat transparent;
    position: absolute;
    margin:0;
    padding: 0;
    color: #FFF;
    font-size: 12px;
    line-height:1.4;
    cursor: default;
}
    #map-menu form {
        margin:0;
        padding: 26px 20px 0 20px;
    }
    #map-menu input {
        margin:.8em 0 .6em 0;
        padding: 2px;
        width:168px;
    }
    #map-menu a{
        color: #FFF;
        text-decoration:none;
        border-bottom: 1px #FFF dashed;
        font-style:italic;
        margin-bottom: 1em;
        cursor: pointer;
    }

    #map-menu button {
        display: inline-block;
        margin-top: 18px;
        border: 0 none;
        width: 105px;
        height:30px;
        background: url(../i/map-button.png) no-repeat;
        padding-bottom: 6px;
        cursor: pointer;
        color: white;
        font-size: 14px;
        text-decoration: underline;
        text-align:center;
        font-weight: bold;
    }