/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/


.image-list { padding-bottom:10px; }
a.image-list__link img { border:1px solid #ccc; margin-top:10px; }
.catalog-detail__gallery__picture, .fancybox-image { border:1px solid #ccc; }
.cart__item-image img { border:1px solid #ccc; }

.contest-place { font-size:1.2em; font-weight:bold; }

.catalog-block__item .catalog-block__item--img-corner .sticker { top:3px; left:3px; }

/* Убираем счетчики разделов в боковом меню */
.side-menu .side-menu__link-count {
    display: none !important;
}


/* Описание под карточками галереи */
.gallery-list__wrapper {
    display: flex;
    flex-direction: column;
}

.gallery-list__item-description-under {
    padding-top: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;

    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-photos-row .col-md-4 .text-center img{
	width: 312px;
    height: 312px;
	object-fit: cover;
	margin-bottom: 15px  !important;
}

.articles-with-scroll{
	overflow-y: auto !important;
    overflow-x: hidden !important;

    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;

    /* Firefox */
    scrollbar-width: thin !important;
}
.mobile-sections-menu {
    width: 100%;
    background: #fff;

    height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;

    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    /* Firefox */
    scrollbar-width: thin;
}
.mobile-sections-menu::-webkit-scrollbar {
    width: 4px;
}

.mobile-sections-menu::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-sections-menu::-webkit-scrollbar-thumb {
    background: #c5c5c5;
    border-radius: 4px;
}
.mobile-sections-item {
    border-bottom: 1px solid #e5e5e5;
}

/* Строка родительского раздела */
.mobile-sections-item__row {
    min-height: 53px;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Ссылка на родительский раздел */
.mobile-sections-item__link {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 53px;
    padding: 12px 15px 12px 22px;

    color: #555f68;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 400;
    text-decoration: none;

    box-sizing: border-box;
}

.mobile-sections-item__link:hover {
    color: #555f68;
    text-decoration: none;
}

/* Кнопка со стрелкой */
.mobile-sections-item__toggle {
    flex: 0 0 48px;
    width: 48px;
    height: 53px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    color: #555f68;
    cursor: pointer;
}

/* сама стрелка */
.mobile-sections-item__toggle svg {
    width: 12px;
    height: 12px;

    transition: transform 0.2s ease;
}

/* Поворот стрелки при открытии */
.mobile-sections-item.is-open .mobile-sections-item__toggle svg {
    transform: rotate(180deg);
}


/*
 * Подразделы.
 * Изначально скрыты.
 */
.mobile-sections-item__children {
    display: none;
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
}

/* Открытые подразделы */
.mobile-sections-item.is-open .mobile-sections-item__children {
    display: block;
}

/* Ссылка подраздела */
.mobile-sections-item__child {
    display: flex;
    align-items: center;

    min-height: 46px;
    padding: 10px 20px 10px 35px;

    box-sizing: border-box;

    color: #68727b;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;

    border-bottom: 1px solid #e5e5e5;
}

.mobile-sections-item__child:last-child {
    border-bottom: 0;
}

.mobile-sections-item__child:hover {
    color: #555f68;
    text-decoration: none;
}

@media (min-width: 768px) {
.articles-filter-button{
	display:none;
}
}

.houses-owl-slider {
    position: relative;
    width: 100%;
}

.houses-owl-slider .owl-stage-outer {
    overflow: hidden;
}

.houses-owl-slider .owl-stage {
    display: flex;
}

.houses-owl-slider .owl-item {
    display: flex;
}

.houses-owl-slider__item {
    width: 100%;
}

.houses-owl-slider__item a,
.houses-owl-slider__item picture {
    display: block;
    width: 100%;
}

.houses-owl-slider__item img {
    display: block;
    width: 100% !important;
    height: auto;
}


/* Навигация */
.houses-owl-slider .owl-nav {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 10 !important;

    pointer-events: none;
}

.houses-owl-slider .owl-nav button {
    position: absolute !important;
    top: 50% !important;

    width: 40px !important;
    height: 40px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    pointer-events: auto;

    font-size: 33px !important;
    line-height: 40px !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.houses-owl-slider .owl-nav .owl-prev {
    left: 20px !important;
}

.houses-owl-slider .owl-nav .owl-next {
    right: 20px !important;
}


/* Точки */
.houses-owl-slider .owl-dots {
    margin-top: 10px;
}


/* Мобильная версия */
@media (max-width: 767px) {

    .houses-owl-slider .owl-nav {
        display: none !important;
    }

}

.right-sidebar-wrapper, .share.fill-theme-hover, .rss.fill-theme-hover{
	display: none !important;
}
