body, a, input, select, .button {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    outline: none;
}
/* Цвет текста */
body, input, select, .button {
    color: #464646;
}

/* Цвет сылок и т.д. */
a, .page-caption a span, .forum__caption h1 > a, .forum__caption span {
    color: #1f384c;
}

/* Заголовки H */
h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5,
.page-caption span,
.page-caption h1,
.page-caption_h1__h1,
.link-caption,
.link-caption-lg,
.link-caption-xl {
    font-family: "Times New Roman",Times,serif;
}
.page-caption_h1,
.page-title_h1 {
    margin-top: -3px;
}

.page-title {
    margin-top: 20px;
    margin-bottom: 15px;
}

h1, h2, h3, h4, h5
.h1, .h2, .h3, .h4, .h5 {
    padding: 0;
    font-weight: normal;
}

h1, .h1 {
    font-size: 26px;
    line-height: 26px;
    margin: 36px 0 22px 0;
}
h2, .h2 {
    font-size: 23px;
    line-height: 25px;
    margin: 32px 0 20px 0;
}
h3, .h3 {
    font-size: 20px;
    line-height: 22px;
    margin: 30px 0 18px 0;
}
h4, .h4 {
    margin: 22px 0 14px 0;
}
h5, .h5 {
    margin: 20px 0 12px 0;
}
h6, .h6 {
    margin: 18px 0 10px 0;
}
/* END Заголовки H */

/* стили для фонтеллы */
[class^="icon-"]:before, [class*=" icon-"]:before {
    color: #747474;
}

.pub-sliderG ul,
.pub-sliderG li,
.pub-sliderG__control,
/*.simpleSlider ul,*/
/*.simpleSlider li,*/

/* ЦВЕТ бордюра заголовков */
.page-caption, .page-caption span, .page-caption h1 {
    border-color: #dddddd;
}
.link-dashed, .page-caption a span, .linkdashed {
    border-color: #1f384c;
}

.page-caption {
    border-bottom-width: 1px;
    border-bottom-style: solid;
}

.page-caption h1, .page-caption_h1__h1 {
    font-size: 18px;
    font-weight: normal;
    margin: 0px;
}

.link-caption {
    font-size: 14px;
    line-height: 16px;
}
.link-caption-lg {
    font-size: 16px;
    line-height: 18px;
}
.link-caption-xl {
    font-size: 19px;
    line-height: 23px;
}
.link-caption,  .link-caption-lg, .link-caption-xl{
    margin-right: 10px;
}
.linkdashed {
    text-decoration: none;
}
.link-dashed, .linkdashed span {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}
.link-dashed:hover, .linkdashed span:hover {
    border-color: transparent;
}

.x0-text-lg {font-size: 16px !important;}
.x0-text-sm {font-size: 12px !important;}
.x0-text-xs {font-size: 11px !important;}

.x0-text-pale {
    color: #848484;
}

.x0-user {text-decoration: none; font-style: italic; font-size: 12px;}
.x0-user span {border-bottom: 1px solid #1f384c;}
.x0-author {font-style: italic; font-size: 12px;}

/* Цвет текста даты */
.x0-date, .x0-date-sm, .x0-date-xs {
    color: #848484;
}
.x0-date-sm {
    font-size: 12px;
}
.x0-date-xs {
    font-size: 10px;
}

.x0-list__body {
    background: #F9F9FB;
    border: 1px solid #E7E8EA;
}
.x0-list__body:before {
    background: url("/theme/flat/img/list_ar.png") no-repeat bottom;
}


/* Цвет обводки картинок
.x0-image {
    outline: 1px solid #EDEDED;
}*/

/* Цвета менюх */
    /* Верхнее меню */
    .menu-top {
        background-color: #F8F6F6;
        border-bottom: 1px solid #f0f0f0;
    }
    /*.menu-top li:hover, .menu-top .menu-context li:hover {
        background: #ededed;
    }
    .menu-top li.menu-item_selected {
        background: #e6e6e6;
    }*/

    .menu-top li.menu-item_house.menu-item_selected, .menu-top li.menu-item_house:hover, .menu-top .menu-context li.menu-item_house:hover {
        background: #dec0db;
    }
    .menu-top li.menu-item_auto.menu-item_selected, .menu-top li.menu-item_auto:hover, .menu-top .menu-context li.menu-item_auto:hover {
        background: #f8caca;
    }
    .menu-top li.menu-item_realty.menu-item_selected, .menu-top li.menu-item_realty:hover, .menu-top .menu-context li.menu-item_realty:hover {
        background: #cfc3b9;
    }
    .menu-top li.menu-item_building.menu-item_selected, .menu-top li.menu-item_building:hover, .menu-top .menu-context li.menu-item_building:hover {
        background: #f8d8b3;
    }
    .menu-top li.menu-item_business.menu-item_selected, .menu-top li.menu-item_business:hover, .menu-top .menu-context li.menu-item_business:hover {
        background: #b9e2a9;
    }
    .menu-top li.menu-item_job.menu-item_selected, .menu-top li.menu-item_job:hover, .menu-top .menu-context li.menu-item_job:hover {
        background: #bfd5dd;
    }
    .menu-top li.menu-item_beauty.menu-item_selected, .menu-top li.menu-item_beauty:hover, .menu-top .menu-context li.menu-item_beauty:hover {
        background: #f5bdd4;
    }
    .menu-top li.menu-item_health.menu-item_selected, .menu-top li.menu-item_health:hover, .menu-top .menu-context li.menu-item_health:hover {
        background: #9fdad6;
    }
    .menu-top li.menu-item_tourism.menu-item_selected, .menu-top li.menu-item_tourism:hover, .menu-top .menu-context li.menu-item_tourism:hover {
        background: #d3e391;
    }
    .menu-top li.menu-item_sport.menu-item_selected, .menu-top li.menu-item_sport:hover, .menu-top .menu-context li.menu-item_sport:hover {
        background: #d5e6f6;
    }
    .menu-top li.menu-item_children.menu-item_selected, .menu-top li.menu-item_children:hover, .menu-top .menu-context li.menu-item_children:hover {
        background: #f8f69d;
    }
    .menu-top li.menu-item_education.menu-item_selected, .menu-top li.menu-item_education:hover, .menu-top .menu-context li.menu-item_education:hover {
        background: #f7d4c5;
    }

    .menu-top li {
        background: #f8f6f6;
    }

    /* Подменю */
    .menu-sub {
        /*background: rgba(239,232,224,1);
        background: -moz-linear-gradient(top, rgba(239,232,224,1) 0%, rgba(239,232,224,0) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(239,232,224,1)), color-stop(100%, rgba(239,232,224,0)));
        background: -webkit-linear-gradient(top, rgba(239,232,224,1) 0%, rgba(239,232,224,0) 100%);
        background: -o-linear-gradient(top, rgba(239,232,224,1) 0%, rgba(239,232,224,0) 100%);
        background: -ms-linear-gradient(top, rgba(239,232,224,1) 0%, rgba(239,232,224,0) 100%);
        background: linear-gradient(to bottom, rgba(239,232,224,1) 0%, rgba(239,232,224,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#efe8e0', endColorstr='#efe8e0', GradientType=0 );*/
        border-left: 1px dashed #efe8e0;
        border-right: 1px dashed #efe8e0;
        border-bottom: 1px dashed #efe8e0;
    }
    .menu-sub ol > li.menu-item {
        /*border-left: 1px dotted #ffffff;*/
    }
    .menu-sub ol > li.menu-item:first-child {
        border-left: none;
    }
    .menu-sub li ol {
        background: #efe8e0 !important;
    }
    .menu-sub li a {
        text-align: left !important;
    }
    .menu-sub li a, .menu-sub li a span {
        color: #252525;
        font-size: 12px;
    }
    .menu-sub li.menu-item:hover {
        background-color: #e4dbd0 !important;
    }
    .menu-sub li.menu-item:hover i.icon_sub:before {
        border: 1px solid #747474;
    }
    .menu-sub *, .menu-sub *:before{
        color: #a9a6a3 !important;
    }
    .menu-sub li:hover *, .menu-sub li:hover *:before{
        color: #464646 !important;
    }
    div a.menu-sub__show {
        /*background-color: #efe8e0;*/
        border-left: 1px dashed #efe8e0;
        border-right: 1px dashed #efe8e0;
        border-bottom: 1px dashed #efe8e0;
    }
    .menu-sub i[class*=icon] {
        position: relative;
        top: -1px;
    }
    
/*    .menu-sub {
        background: #f4e7bf;
    }
    .menu-sub li ol {
        background: #f4e7bf !important;
    }
    .menu-sub li a, .menu-sub li a span {
        color: #252525;
    }
    .menu-sub li.menu-item:hover {
        background-color: #E0CE9E !important;
    }
    div a.menu-sub__show {
        background-color: #F4E7BF;
    }
*/
    /* Основное меню */
    .menu-main {
        background-color: #464646;
    }
    .menu-main li a, .menu-main li a span, .menu-main div.menu-context li a {
        color: #a1a1a1;
    }
    .menu-main li ol {
        background: #2B2B2B !important;
    }
    .menu-main li.menu-item_selected {
        background-color: #989898 !important;
    }
    .menu-main li.menu-item_selected > a {
        color: #2c2c2c !important;
    }

    .menu-main li.menu-item:hover {
        background-color: #242424 !important;
    }
    .menu-main > ol > li.menu-item:hover {
        background-color: #2B2B2B !important;
    }
    .menu-main li.menu-item:hover > a {
        color: #A1A1A1 !important;
    }
/* END Цвета менюх */

/* Старые диалоговые окна */
div.ui-dialog, div.ui-datepicker {
    padding: 0;
    box-shadow: 3px 5px 5px rgba(50, 50, 50, 0.75);
}
div.ui-widget-content {

}
div.ui-widget-header {
    background: #f8f6f7;
    color: #464646;
/*        background: #464646;
    color: #fff;*/
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
}
div.ui-dialog .ui-dialog-titlebar-close span {
  /*  background: none;*/
}
div.ui-dialog .ui-dialog-titlebar-close span {
    background: url('/theme/flat/img/btn__close.png') no-repeat center center;
}
div.ui-dialog .ui-dialog-title {
    margin-top: 0;
}
div.ui-dialog .ui-dialog-titlebar {
    padding: 2px 15px;
}
div.ui-dialog .ui-dialog-titlebar-close, div.ui-dialog .ui-dialog-titlebar-close span {
    height: 36px;
    width: 36px;
}
div.ui-widget-overlay {
    background: #000;
    opacity: 0.4;
}
div.ui-datepicker-calendar a {
    font-size: 18px;
}
.ui-widget-content .ui-tabs-nav a {
    font-size: 12px;
}
/* END Старые диалоговые окна */


/* Крошки */
.forum__bread li a, .forum__bread li {
    color: #898989;
}
.forum__bread li a {
    border-bottom: 2px solid #c6c6c6;
}



/* Цвет футера */
.page__footer {
    background: rgba(211, 217, 215, 0.8);
    width: 100%;
    min-width: 1000px;
    height: 270px;
    padding-bottom: 10px;
    margin-top: -280px;
    /*margin-top: -275px;*/
}
/* Футер */
.menu-footer ol.menu-column ol a {
    color: #777777;
    font-size: 12px;
}
.menu-footer ol.menu-column a:hover {
    color: #000;
}
.menu-footer h3 {
   font-size: 14px;
   font-weight: bold;
   margin: 0px;
   margin-bottom: 3px;
}
    /* Menu-footer */
    .menu-footer {
        padding-top: 20px;
    }
    .menu-footer ol.menu-column {
        min-height: 170px;
    }
    .menu-footer > ol > li > ol > li {
        border-bottom: 1px dotted #BEBFBE;
    }
    .menu-footer ol.menu-column ol {
        margin: 0;
    }
    .menu-footer > ol.menu-column > li {
        /*width: 16%;
        margin-left: 5%;*/
        width: auto;
        margin-left: 67px;
    }
    .menu-footer > ol.menu-column > li:first-child {
        margin-left: 0;
    }
    .menu-footer ol.menu-column ol li {
        line-height: 26px;
    }
    /* END Menu-footer */

/* Кнопка еще */
    .x0-more a {
        background: url('/theme/flat/img/btn__more.png') no-repeat center center;
    }
    
    .page__sideleft-main .x0-more a {
        background: url('/theme/flat/img/btn__more_inv3.png') no-repeat center center;
    }
    
    .x0-more_loader {
        background: url('/resource/img/wait_20x20.gif') no-repeat center center;
    }
    .x0-more a span {
        border-bottom: 1px dashed #1F384C;
    }


/* Возрастное ограничение */
    .x0-age > div {
        border-bottom: 40px solid #adb3b7;
    }
    .x0-age > span {
        color: #fff;
    }

/* Количество комментариев */
.comment__count, .comment__count i:before {
    /*color: #747474;*/
    color: #cccccc;
}
.comment__count i:before {
    font-size: 13px;
    /*margin-left: 5px;
    margin-top: 2px;*/
}
/* END Количество комментариев */

/* Списки комментариев */
/*.x0-comments .x0-list__body {
    padding-bottom: 0;
}*/
.x0-comments-title {
    text-transform: uppercase;
    font-weight: bold;
}
    .x0-comments-title > * {
        font-weight: bold;
    }
.x0-comments__deletereason {
    color: red;
    font-size: 12px;
}
.x0-comments__good {
    background-color: #DAF2B6;
}
.x0-comments__bad {
    background-color: #FEDFE3;
}

.x0-comments .fcvotebad {
    color: silver;
}
/* END  Списки комментариев */

/* автокомплит */
ul.ui-autocomplete {
    background: none repeat scroll 0 0 #FFFBE3;
    box-shadow: 1px 1px 3px 0 #A7A59B;
}

.ui-autocomplete li.ui-menu-item a {
    color: #000000;
}

.ui-autocomplete a.ui-state-hover {
    border: 1px dashed #A7A59B;
}

/* Инсеты */
div.context__inset_ILI, div.context__inset_IRI {
    background: #E9DECF !important;
}

/* Иконки круглые */
@font-face {
    font-family: 'circleicon';
    src:
        url('/theme/flat/font/circleicon.eot'),
        local('☺'),
        url('/theme/flat/font/circleicon.woff') format('woff'),
        url('/theme/flat/font/circleicon.ttf') format('truetype'),
        url('/theme/flat/font/circleicon.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
.iconcircle{
    display: inline-block;
    font-family: circleicon, Arial, Helvetica, sans-serif;
    font-size: 170px;
    line-height: 70px;
    width: 90px;
    height: 90px;
    color: #b1c1c5;
    text-align: center;
    vertical-align: top;
    text-decoration: none;
}
.iconcircle_small{
    display: inline-block;
    font-family: circleicon, Arial, Helvetica, sans-serif;
    font-size: 80px;
    line-height: 32px;
    width: 42px;
    height: 42px;
    color: #b1c1c5;
    text-align: center;
    vertical-align: top;
    text-decoration: none;
}
.iconcircle:hover, .iconcircle_small:hover{
    color: #1f384c;
}

.theme-icons-layout {
    background-color: #e6ebef;
    padding: 5px 18px;
    overflow: hidden;
}
    .theme-icons-layout .iconcircle,
    .theme-icons-layout .iconcircle_small {
        /* color: #FFFFFF; */
        color: #cccccc;
    }
    .theme-icons-layout .iconcircle:hover,
    .theme-icons-layout .iconcircle_small:hover {
        color: #1f384c;
    }


/* END Иконки круглые*/

/* Разное */
.profile-avatar img {
    width: 160px;
}

.tritooltip1 * {
    font-size: 12px;
}

.spec-photo img {
    width: 160px !important;
}


div.context__inset_ILI, div.context__inset_IRI {
    background: #E9DECF !important;
}


/* services */
.services {
    margin-bottom: 20px;
}

/* комментарии */
.form-field-textarea_commentsgb{
    height: 70px !important;
}

/* END Разное */
.external-site-link{
    width: 4px;
    height: 4px;
    position: absolute;
    overflow: hidden;
}
/*
.page__sideleft-fixed{
    width: 140px;
    top: 40px;
    position:  fixed;
    display: none;
    z-index: 1;
}*/
/* Логотип Страны1 */
@font-face {
    font-family: 'logo2';
    src:
        url('/resource/font/logostrana/logo.eot'),
        url('/resource/font/logostrana/logo.eot?91921306#iefix') format('embedded-opentype'),
        url('/resource/font/logostrana/logo.woff?91921306') format('woff'),
        url('/resource/font/logostrana/logo.ttf?91921306') format('truetype'),
        url('/resource/font/logostrana/logo.svg?91921306#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}
.logo-footer {
    left: 50%;
    top: 50%;
    width: 72px;
    height: 200px;
    font-family: logo2;
    position: absolute;
    font-size: 7em;
    margin: -100px 0 0 -36px;
}
.logo__show-footer {
    top: 30px;
    left: 12px;
    position: absolute;
}
.logo__text-footer {
      top: 5.7em;
      font-size: 0.25em;
      position: absolute;
      color: #d0d0d0;
      left: 2px;
}
.logo-footer span {
    position: absolute;
    width: 100%;
    display: block;

}
.logo-col-footer {
    width: 90px;
    position: absolute;
    right: 0;
    top: -10px;
    height: 200px;
    display: inline-block;
    background: #2f5eb6; /* Old browsers */
    background: -moz-linear-gradient(top,  #2f5eb6 0%, #1a3f85 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2f5eb6), color-stop(100%,#1a3f85)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #2f5eb6 0%,#1a3f85 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #2f5eb6 0%,#1a3f85 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #2f5eb6 0%,#1a3f85 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #2f5eb6 0%,#1a3f85 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f5eb6', endColorstr='#1a3f85',GradientType=0 ); /* IE6-8 */
}
.logo-triangle-footer{
    position: absolute;
    top: -10px;
    right: 0;
    margin-right: 90px;
    border: 5px solid transparent;
    border-right: 5px solid #1e3152;
    border-bottom: 5px solid #1e3152;
    
}
.logo-a-footer{
    display: block;
    position: absolute;
    top: -10px;
    right: 0;
    width: 90px;
    height: 200px;
    z-index: 1;
    text-decoration: none;
}
.menu-footer{
    margin-right: 135px;
}
.page__footer-counters{
    margin-bottom: 10px;
}
.page__footer-counters [data-id=counters][data-easyedit] {
    display: inline-block;
    min-width: 100px;
    min-height: 30px;
}
.error404-line{
    margin: 90px 0 20px 0;
    position: relative;
    height: 90px;
    background-color: #efe8e0;
}
.error404-404, .error404-label{
    font-family: "Times New Roman", Times, serif;
}
.error404-404, .error404-label, .error404-yoda{
    position: absolute;
}
.error404-404{
    font-size: 140px;
    left: 18px;
    top: -88px;
}
.error404-label{
    font-size: 26px;
    left: 22px;
    top: 45px;
}
.error404-yoda{
    width: 325px;
    height: 345px;
    background: url('../img/yoda.png');
    top: -110px;
    left: 480px;
}
.error404-text{
    padding-left: 40px;
    line-height: 18px;
}


.logo-container {
    font-size: 60px;
    width: 273px;
    height: 110px;
    line-height: 110px;
}
.logo-container-small {
    font-size: 28px;
    width: 136px;
    height: 55px;
    line-height: 55px;
}
.logo-container img,
.logo-container-small img {
    width: 100%;
    height: 100%;
}

.logo {
    font-family: logo, logo-style, Arial, Helvetica, sans-serif;
    font-size: 60px;
    width: 100%;
    height: 100%;
    font-size: 100%;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;    
    display: block;
    position: relative;
}

.map-preview {
    display: block;
    font-family: logo, fontello;
    font-size: 80px;
    padding: 30px 0 25px 0;
    text-align: center;
    border: 1px #dddddd solid;
    background-color: #cad0d2;
    color: #747474;
    text-decoration: none;
}
