.under-header {
    margin-bottom: 20px;
}
.under-header .lightgrey, .under-header .date-with-ico{
    margin-right: 10px;
    display: inline-block;
}
#centercol > .catalog-h1 {
    text-transform: uppercase;
}
.under-header .own-links a.catalog-subscribe {
    margin-left: 10px;
}
.under-header .own-links a.catalog-h1-add-btn {
    text-decoration: none;
}
.under-header .own-links {
    display: inline-block;
}
.under-header .own-links a {
    display: inline-block;
    vertical-align: middle;
    color: #9d948b;
    font-size: 12px;
    line-height: 28px;
}
.under-header .date-with-ico {
    background-position-y: top;
}
.under-header .catalog-h1-links a:hover {
    color: #ec271e;
}
#centercol > .catalog-h1.under-header {
    text-transform: none;
    text-align: left;
}
.under-header .catalog-h1-links a {
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
    color: #9d948b;
    font-size: 12px;
    line-height: 28px;    
}
.under-header .catalog-h1-links {
    float: none; 
    width: 150px;
    /*display: inline-block;*/
    display: none;
    color: #3a3a3a;
    font-weight: bold;
    line-height: 28px;
    position: relative;
    z-index: 10;
    top: -1px;
    text-align: center;    
    margin-right: 20px;
}
#photo_all, #video_all {
    margin-right: auto;
    margin-left: auto;
}
#header__box .radius__none {
    border-radius: 0;
}
#header__box .select__box::after {
    content: '';
    position: absolute;
    top: 13px;
    right: 0;
    width: 7px;
    height: 5px;
    margin: -2px 3px;
    background: url(/img2/arrow-down-orange.png) no-repeat;
    pointer-events: none;
}
#header__box .search__select {
    -webkit-appearance: none;
    appearance: none;
}
.search__select_box .select__box {
    position: relative;
} 
@media only screen and (min-width: 500px) and (max-width: 570px) {
    #header__box .header__search-box .nh-search-wrap.search-box-full {
        border: 1px solid #ddd;
    }
    #header__box .nh-search-wrap.search-box-full .search__select {
        border-right: 1px solid #ece5d5;
    }    
}
@media only screen and (max-width: 500px) {
    #header__box .header__search-box .nh-search-wrap input.search__input_poly,  
    #header__box .header__search-box .nh-search-wrap select.search__select{
        width: 98%;
        padding: 5px 5px;
        box-sizing: border-box;
        border: 1px solid #ddd;
        border-radius: 0 !important;
        margin-bottom: 3px;
        margin-left: 3px;
    }
    .search__select_box .select__box {
        width: inherit;
    }
    #header__box .nh-search-wrap.search-box-full .search__select_box .select__box,
    #header__box .nh-search-wrap.search-box-full .search__select_box .inp__box {
        padding: 0px 0 0 5px;
    }
    #header__box .select__box::after {
        margin: -2px 15px;
    }    
    #header__box .search__select {
        width: 98% !important;
        right: 0;
    }
}
.f-title-review-link {
    position: relative;
    margin-left: 32px;
    vertical-align: middle !important;
    font-size: 12px !important;
    color: #9d948b !important;
    background: none;
}
.g-toggle-label {
    color: #999;
    background: none;    
}
@media screen and (min-width: 660px) {
    #calendar-wrapper > .mt5.c + .mt5.c {
        top: 0px;
        left: 410px;
    }
}
.article-body p {
    margin-bottom: 5px;
}
@media screen and (max-width: 1230px) {
    .f-title {
        padding-right: 0;
    }
}
@media screen and (max-width: 700px) {
    .f-title-links {
        display: none !important;
    }
}
@media screen and (max-width: 500px) {
    #block_list .firm-cards .fw-prev, #block_list .firm-cards .fw-next {
        top: 105px;
    }
    .firm-cards-items-wrapper {
       height: 280px;
    }    
}
@media screen and (max-width: 700px) {
    .f-comments .comment-wrapper {
        height: 190px;
    }
    .f-comments .f-btn {
        display: block;
    }    
}
@media screen and (min-width: 1230px) {
    .catalog-promo-block.big.half {
        width: 50%;
    }
}
.user-service-padding-block {
    min-height: 81px;
}
.big-ico-link {
    width: 90%;
}
.f-counter-link {
    width: auto;
}
.f-counter-img {
    margin-top: 0;
}
@media screen and (max-width: 355px) {
    .f-counter-img {
        margin-top: 12px;
    }
}
@media screen and (max-width: 1020px) {
    .event-catalog-h1 {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 570px) {
    .event-catalog-h1 {
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 391px) {
    .catalog-sort-links {
        top: 70px;
    }
}
@media screen and (max-width: 317px) {
    .event-catalog-h1 {
        margin-bottom: 25px;
    }
    .catalog-sort-links .catalog-sort-link:first-child {
        margin-bottom: 5px;
    }
}
@media screen and (min-width: 1020px) {
    .f-info-center {
        display: none;
    }
}
.f-info-center {
    max-width: 300px;
    margin: 0 auto;    
}
.f-info-center .f-info-phone-show , .f-info-center .f-info-order-btn  {
    padding: 5px 0px !important;
    width: 85% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    display: block;
    box-sizing: border-box;
}
.f-info-center .f-contacts-map-col {
    width: 278px;
}
#YMapsID-center {
    margin-right: auto;
    margin-left: auto;
}
@media only screen and (max-width: 1020px){
    #header__box .header__top-block .top__left_sider > span:first-child {
        display: inline;
    }
    .g-slider-items {
        height: 420px;
    }
}
.header__logo-menu {
    padding-top: 17px;
}
.g-album-container {
    margin: 20px 0 20px;
}
.g-slider-items {background: none !important;}
#flbox {max-width: 90%;}
.header__logo-menu:hover ul {
    top: 39px;
}
@media screen and (max-width: 1230px) {
    .f-social-col1-md {
        margin: 0 auto;
    }
}
@media screen and (max-width: 500px) {
    .f-social-col1-md {
        width: initial;
    }
    #gallery_photos_block, #photo_all {
        display: none;
    }
    .g-slider.full-album {
        display: block;
        margin-bottom: 20px;
    }
    .g-slider.full-album .album-name {
        z-index: 10;
        display: table;
        padding: 7px 11px;
        box-sizing: border-box;
        margin: 0 auto;
        width: max-content;
    }
}
@media screen and (min-width: 500px) {
    .g-slider.full-album {
        display: none;
    }
}
@media screen and (max-width: 354px) {
    .f-social-col1-md {
        width: initial;
    }
}
@media screen and (min-width: 1020px) {
    .fw-container.top5articles{
        display: none;
    }
}
@media screen and (max-width: 1020px) {
    .top-5-articles-right {
        display: none;
    }
}

.user-gallery .albums {
    overflow: hidden;
    height: 21px;
    margin: 0 30px;
    position: relative;
    top: 1px;
}
.user-gallery .gallery .albums > div:first-child {
    z-index: 99;
}
.user-gallery .albumtab.albumtab-current, .user-gallery .filtertab-current {
    background-image: url(/images/theme_0/albumtab-right-current.png);
    position: relative;
    z-index: 101 !important;
}

.user-gallery .albumtab, .filtertab {
    width: initial;
    height: initial;
    float: left;
    background: url(/images/theme_0/albumtab-right.png) right top no-repeat;
    margin-right: -10px;
    cursor: pointer;
    position: relative;
}
.user-gallery .albumtab-current .albumtab-i1 {
    background-image: url(/images/theme_0/albumtab-bg-current.png);
}
.user-gallery .albumtab-i1, .user-gallery .filtertab-i1 {
    background: url(/images/theme_0/albumtab-bg.png) 0 0 repeat-x;
    margin-right: 20px;
}
.user-gallery .albumtab-current .albumtab-i2 {
    height: 21px;
}
.user-gallery .albumtab-i2, .user-gallery .filtertab-i2 {
    background: url(/images/theme_0/albumtab-left.png) left top no-repeat;
    height: 20px;
}
.user-gallery .albumtab-i2 span, .user-gallery .filtertab-i2 a {
    line-height: 22px;
    padding-left: 15px;
    padding-right: 5px;
    color: #666;
    vertical-align: middle;
    text-decoration: none;
    display: inline;
}
.user-gallery .album-prev {
    float: left;
    margin: 3px 0 0 5px;
    background-image: url(/images/icons/icon-prev.png);
    display: block;
    width: 14px;
    height: 16px;
}
.user-gallery .album-next {
    float: right;
    margin: 3px 5px 0 0;
}
.user-gallery .gallery-scrollable { 
	position: relative;
    overflow: hidden; 
    margin: 0 43px;    height:80px;
} 
.user-gallery .gallery-scrollable div.gallery-items { 
    width:20000em; 
    position:absolute; 
} 

.nextPage {
    float: right;
    margin-top: 30px;
}
.prevPage {
    float: left;
    margin-top: 30px;
}
.user-gallery .gallery_thumb.mb10 {
    margin-bottom: 5px;
    margin-right: 5px;
}
.user-gallery .popup-image {
    line-height: 0;
    display: block;
}
.user-gallery .rbb-inner {
    padding-bottom: 0;
    min-height: 85px;
    padding-left: 5px;
}
.user-gallery #add-photo {
    margin-right: 5px;
}
.comment-place {
    margin-bottom: 4px;
}
.comment-descr {
    font-style: italic;
    cursor: pointer;
}
#trailer iframe {
    margin: 0 auto 20px auto;
    display: block;
}
@media screen and (max-width: 500px) {
    #trailer iframe {
        max-width: 100%;
        /*max-height: fit-content;*/
        min-height: unset;
    }
    .f-contacts.big-map .f-info-order-btn{
    }
}
@media screen and (max-width: 700px) {
    .f-contacts .f-info-order-btn {
        position: absolute;
    }
}
.under-header .img-prev img, .under-header .img-next img {
    vertical-align: middle;
}
.albumtab[rel=""] .album-name {
    height: 120px;
    display: inline-block;
    padding: 28% 23%;
    box-sizing: border-box;
    text-align: center;
}
#gallery_photos .g-album-container .albumtab {
    background: #ccc;
}
.albumtab[rel=""] img {
    display: none;
}
.albums .album-admin, .video-admin {
    z-index: 100000001;
    position: absolute;
    margin-left: 3px;
}
.gallery-add-btn {
    cursor: pointer;
}
.ellip {
  display: block;
  height: 100%;
}

.ellip-line {
  display: inline-block;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  max-width: 100%;
}

.ellip, .ellip-line {
  position: relative;
  overflow: hidden;
}
.f-info .f-sale-col {
    width: 100%;
    padding: 0 !important;
    float: none;
}
.f-info .f-sale-col:last-child {
    margin-top: 20px;
}
.cpb-content-articles-groups {
    height: auto;
}
.f-owner-0 {
    display: none;
}
.create-firm-link {
    color: #929292 !important;
    font-weight: normal;
    font-size: 14px;
    width: max-content;
    /*max-width: fit-content;*/
    padding: 8px 15px;
}
.system-alert {
    border-radius: 0;
    padding: 5px 35px;
    width: fit-content;
    margin: 18px auto 26px auto;
}
body[data-authorized="true"] .system-alert {
    margin: 0px auto 26px auto;
}
.gallery-non-popup-page-link {
    float: right; 
    display: inline-block; 
    margin-top: 7px;
}
@media screen and (max-width: 790px) {
    .gallery-non-popup-page-link {
        float: left;
    }
    #flbox-body .under-header {
        margin-bottom: 10px;
    }    
}
@media screen and (max-width: 900px) {
    .yashare-auto-init {
        margin-bottom: 10px !important;
    }    
}
@media screen and (max-width: 450px) {
    #gallery-popup-comments button {
        float: none;
        margin: 0 auto 15px auto;
    }
    #gallery-popup-comments button::after {
        content: ' ';
        clear: both;
    }
    #gallery-popup-comments .f-comments .f-sub-header {
        text-align: center;
    }
}
#flbox .centered .gallery-non-popup-page, #flbox .centered .article-body {
    display: none;
}
@media screen and (max-height: 500px) {
    #flbox  .gallery-non-popup-page, #flbox .article-body {
        display: none;
    }
    #flbox .centered .gallery-non-popup-page, #flbox .centered .article-body {
        display: block;
    }
}
.f-info .f-sale-col + .f-sale-col::before {
    display: none;
}
.vpb-title div.hide {
    display: none !important;
}
@media screen and (max-width: 700px) {
    .f-aside-in-center .col3 > .f-owner.hide {
        display: none;
    }
    .f-aside-in-center .col3 > .f-owner {
        margin-bottom: 30px;
    }
}

.order_advert.discounts::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 28px;
    height: 20px;
    background: right center no-repeat;
}
.order_advert.discounts::after {
    background-image: url(/img2/sale-ico.png);
}
