/*
    Стили видов отображения виджетов в мобильной версии
*/

.w_CarouselCategories.w_template_plates .slick-carousel {
    margin-right: -5px;
    margin-left: -5px;
}
.w_CarouselCategories.w_template_plates .carousel-item {
    position: relative;
    overflow: hidden;
    padding: 5px;
}
.w_CarouselCategories.w_template_plates .item-wrapper {
    display: block;
    background: #f5f5f5;
}
.w_CarouselCategories.w_template_plates .big_element_slide_photo {
    margin-bottom: 0;
    padding-bottom: 100%;
    background-size: cover;
}
.w_CarouselCategories.w_template_plates .item-name {
    position: absolute;
    display: block;
    bottom: 20px;
    left: 20px;
    padding: 5px 10px;
    font-size: 16px;
    color: #fff;
    background-color: #d4c7b4;
    border: none;
    border-radius: 4px;
}

.w_CarouselCategories.w_template_chess .carousel-item,
.w_CarouselCategories.w_template_blocks .carousel-item,
.w_CarouselCategories.w_template_small_blocks .carousel-item,
.w_CarouselCategories.w_template_string .carousel-item {
    position: relative;
    padding: 15px;
}
.w_CarouselCategories.w_template_chess .no-carousel .carousel-item,
.w_CarouselCategories.w_template_blocks .no-carousel .carousel-item,
.w_CarouselCategories.w_template_small_blocks .no-carousel .carousel-item,
.w_CarouselCategories.w_template_string .no-carousel .carousel-item {
    border-bottom: 1px solid #e8e8e8;
}
.w_CarouselCategories.w_template_chess .carousel-item:last-child,
.w_CarouselCategories.w_template_blocks .carousel-item:last-child,
.w_CarouselCategories.w_template_small_blocks .carousel-item:last-child,
.w_CarouselCategories.w_template_string .carousel-item:last-child {
    border-bottom: none;
}
.w_CarouselCategories.w_template_chess .item-image-wrapper,
.w_CarouselCategories.w_template_chess .item-name-wrapper,
.w_CarouselCategories.w_template_chess .item-aligner,
.w_CarouselCategories.w_template_blocks .item-image-wrapper,
.w_CarouselCategories.w_template_blocks .item-name-wrapper,
.w_CarouselCategories.w_template_small_blocks .item-image-wrapper,
.w_CarouselCategories.w_template_small_blocks .item-name-wrapper {
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
    overflow: hidden;
}
.w_CarouselCategories.w_template_chess .item-image-wrapper,
.w_CarouselCategories.w_template_chess .item-name-wrapper,
.w_CarouselCategories.w_template_blocks .item-image-wrapper,
.w_CarouselCategories.w_template_blocks .item-name-wrapper,
.w_CarouselCategories.w_template_small_blocks .item-image-wrapper,
.w_CarouselCategories.w_template_small_blocks .item-name-wrapper {
    width: 50%;
}
.w_CarouselCategories.w_template_chess .item-name-wrapper,
.w_CarouselCategories.w_template_blocks .item-name-wrapper,
.w_CarouselCategories.w_template_small_blocks .item-name-wrapper {
    padding: 0 15px;
}
.w_CarouselCategories.w_template_chess .item-name-wrapper a,
.w_CarouselCategories.w_template_blocks .item-name-wrapper a,
.w_CarouselCategories.w_template_small_blocks .item-name-wrapper a,
.w_CarouselCategories.w_template_string .carousel-item a {
    font-size: 22px;
    color: #2e373b;
}
.w_CarouselCategories.w_template_chess .big_element_slide_photo,
.w_CarouselCategories.w_template_blocks .big_element_slide_photo,
.w_CarouselCategories.w_template_small_blocks .big_element_slide_photo {
    margin-bottom: 0;
    padding-bottom: 80%;
}
.w_CarouselCategories.w_template_chess .carousel-item:nth-child(even) .item-image-wrapper {
    float: right;
}
.w_CarouselCategories.w_template_chess .item-aligner {
    width: 0;
    padding-bottom: 40%;
}
.w_CarouselCategories.w_template_small_blocks .item-image-wrapper {
    width: 30%;
}
.w_CarouselCategories.w_template_small_blocks .item-name-wrapper {
    width: 70%;
}

.w_PhotoGallery .no-carousel .carousel-item {
    margin-right: -.27em;
}
.w_PhotoGallery.w_template_plates .big_element_slide_photo {
    margin-bottom: 0;
    padding-bottom: 100%;
}

.w_Carousel.w_template_plates .carousel-item {
    padding: 5px;
    margin: 0 -1px -1px 0;
    border: 1px solid #e8e8e8;
}
.w_Carousel.w_template_plates .carousel-item > a {
    display: block;
}
.w_Carousel.w_template_plates .carousel-photo-block,
.w_Carousel.w_template_plates .carousel-description-block {
    width: 100%;
}
.w_Carousel.w_template_plates .carousel-description-block {
    margin-top: 5px;
    padding: 0;
    text-align: center;
}
.w_Carousel.w_template_plates .carousel-description-block > div {
    margin-bottom: 5px;
}
.w_Carousel.w_template_plates .carousel-photo {
    height: 0;
    padding-bottom: 80%;
    background-position: center center;
    border-radius: 4px;
}
.w_Carousel.w_template_plates .carousel-element-name {
    font-size: 16px;
    /*color: #aa9d75;*/
}

.w_ListItems.w_template_plates .slick-carousel.row {
    margin-right: -17px;
    margin-left: -16px;
}
.w_ListItems.w_template_plates .slick-track,
.w_ListItems.w_template_plates .slick-carousel.no-carousel {
    padding-bottom: 1px;
}
.w_ListItems.w_template_plates .carousel-item {
    padding: 0;
    margin-right: -1px;
    margin-bottom: -1px;
}
.w_ListItems.w_template_plates .w_ListItems-wrapper {
    border: 1px solid #e9e9e9;
}
.w_ListItems.w_template_plates .w_ListItems-image {
    display: block;
    padding-bottom: 90%;
    margin: 0;
}
.w_ListItems.w_template_plates .w_ListItems-text-wrapper {
    padding: 15px;
}
.w_ListItems.w_template_plates .w_ListItems-date,
.w_ListItems.w_template_list .w_ListItems-date,
.w_ListItems.w_template_small_list .w_ListItems-date {
    color: #989898;
}
.w_ListItems.w_template_plates .w_ListItems-name,
.w_ListItems.w_template_list .w_ListItems-name,
.w_ListItems.w_template_small_list .w_ListItems-name {
    font-size: 16px;
}

.w_ListItems.w_template_list .no-carousel .carousel-item,
.w_ListItems.w_template_small_list .no-carousel .carousel-item {
    margin-bottom: 20px;
}
.w_ListItems.w_template_list .w_ListItems-image,
.w_ListItems.w_template_list .w_ListItems-text-wrapper,
.w_ListItems.w_template_small_list .w_ListItems-image,
.w_ListItems.w_template_small_list .w_ListItems-text-wrapper {
    display: inline-block;
    *display: inline;
    zoom: 1;
    vertical-align: middle;
    margin-right: -.27em;
}
.w_ListItems.w_template_list .w_ListItems-text-wrapper,
.w_ListItems.w_template_small_list .w_ListItems-text-wrapper {
    width: 60%;
    padding-left: 20px;
}
.w_ListItems.w_template_list .w_ListItems-image {
    width: 40%;
}
.w_ListItems.w_template_list .carousel-photo,
.w_ListItems.w_template_small_list .carousel-photo {
    display: block;
    height: 0;
    padding-bottom: 100%;
    margin: 0;
    border-radius: 5px;
}
.w_ListItems.w_template_list .w_ListItems-date,
.w_ListItems.w_template_small_list .w_ListItems-date {
    margin-bottom: 5px;
}
.w_ListItems.w_template_list .w_ListItems-wrapper,
.w_ListItems.w_template_small_list .w_ListItems-wrapper {
    overflow: hidden;
}
.w_ListItems.w_template_small_list .w_ListItems-text-wrapper {
    width: 80%;
}
.w_ListItems.w_template_small_list .w_ListItems-image {
    width: 20%;
}