﻿.wmin #ma.masonry-gallery__itemin, .wmax #main {
    background: none !important;
    box-sizing: border-box
}

.masonry-gallery {
    margin-top: 30px
}

.masonry-gallery {
    -ms-flex-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap
}

.masonry-gallery__item__title {
    padding: 20px 40px;
    text-align: center;
    font-size: 17px;
    line-height: 30px
}

.masonry-gallery__item {
    width: 260px;
    margin-bottom: 27px;
    color: #6b7074;
    overflow: hidden;
    flex-direction: column;
    display: flex;
    background-color: #fff;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1);
    border-radius: 3px
}

@media (max-width:768px){
    .masonry-gallery,.masonry-gallery__item {
        width: 100%;
    }
}

.masonry-gallery>.left{
    width: 29%;
}

.masonry-gallery>.right{
    width: 70%;
}

.masonry-gallery__item.masonry-gallery__item_horizontal{
    width:100%!important;
    display: block!important;
}

.masonry-gallery__item.masonry-gallery__item_horizontal .image{
    width: 40% !important;
    float: right;
}

.masonry-gallery__item.masonry-gallery__item_horizontal_left .image{
    float:left!important;
}

.masonry-gallery__item.masonry-gallery__item_horizontal  .masonry-gallery__item__title,.masonry-gallery__item.masonry-gallery__item_horizontal .masonry-gallery__item__description,.masonry-gallery__item.masonry-gallery__item_horizontal .masonry-gallery__item__detail{
    float: left;
    width: 60%;
    box-sizing: border-box;
}

.masonry-gallery__item.masonry-gallery__item_horizontal_left  .masonry-gallery__item__title,.masonry-gallery__item.masonry-gallery__item_horizontal_left .masonry-gallery__item__description,.masonry-gallery__item.masonry-gallery__item_horizontal_left .masonry-gallery__item__detail {
    float: right!important;
}


.masonry-gallery__item.masonry-gallery__item_horizontal .masonry-gallery__item__detail{
    padding: 20px 25px 30px!important;
    margin:0!important;
}

.masonry-gallery__item.masonry-gallery__item_horizontal .image a{
    display: block;
    line-height: 0!important;
}

.masonry-gallery__item:hover {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .2)
}

.masonry-gallery__item .image:not(.solo) {
    width: 100%
}

.masonry-gallery__item .image {
    overflow: hidden
}

.masonry-gallery__item .image__mask {
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    background: -webkit-gradient(linear, left bottom, left top, from(#2f2727), to(transparent));
    background: linear-gradient(to top, #2f2727, transparent)
}

.masonry-gallery__item__title {
    padding: 20px 40px;
    display: block;
    direction: rtl;
    text-align: center;
    font-size: 17px;
    line-height: 30px
}

.masonry-gallery__item__description {
    padding: 20px 25px 30px;
    text-align: justify;
    font-size: 13px;
    line-height: 25px;
    direction: rtl
}

.masonry-gallery__item__detail {
    margin: 0 20px 20px;
    align-items: center;
    text-align: left;
    display: flex;
}

.masonry-gallery__item__description:before {
    content: "";
    display: block;
    width: 45px;
    border-top: 2px solid #f1e6cc;
    top: -2px;
    right: calc(50% - 45px);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    position: relative
}

.masonry-gallery__item .image__mask {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    pointer-events: none;
    z-index: 3;
    background: -webkit-gradient(linear, left bottom, left top, from(#2f2727), to(transparent));
    background: linear-gradient(to top, #2f2727, transparent)
}

.masonry-gallery__item:hover .image__mask {
    height: 100%
}

.masonry-gallery__item .image {
    position: relative;
    overflow: hidden
}

.masonry-gallery__item__detail [class*=calendar] {
    font-size: 15px;
    color: #afb6bc;
    padding-left: 5px;
    float: left;
    margin-top: 3px;
    display: block
}

.masonry-gallery__item__detail .past-time {
    font-size: 10px;
    color: #afb6bc;
    vertical-align: baseline;
    float: left
}

.topics__content {
    direction: rtl
}

.post-module {
    margin-top: 25px;
    padding: 0 85px
}

.breadcrumbs {
    height: 80px;
    color: #fff;
    border-bottom: 2px solid hsla(0, 1%, 100%, .2)
}

.breadcrumbs__nav {
    -ms-flex-positive: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-size: 13px
}

.post-module .breadcrumbs__nav .item:last-child {
    font-weight: 700;
    color: #6b7074
}

.post-module .breadcrumbs__nav .item {
    color: #949ca2;
    position: relative
}

.breadcrumbs__nav .item:last-child {
    padding-left: 0
}

.breadcrumbs__nav .item {
    padding: 0 10px
}

.breadcrumbs__nav .item:before {
    content: "\e921";
    display: block;
    font: normal 5px icons;
    color: #ff637d;
    top: 4px;
    left: -5px;
    position: absolute
}

.post-module ._sep {
    height: 1px;
    background-color: #e1e0e0
}

.post-module__title {
    color: #6b7074;
    padding-top: 40px
}

.post-attachment {
    position: relative
}

.post-attachment {
    margin: 0;
    line-height: 0
}

.post-module__content {
    text-align: justify;
    color: #6b7074;
    padding-bottom: 50px;
    font-size: 13px;
    direction: rtl
}

.post-module__social {
    color: #9ba4ab;
    height: 100px
}

.post-module__tags {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 32px 0
}

.post-module__tags--title {
    color: #6b7074;
    font-size: 14px;
    font-weight: 700;
    margin-left: 20px
}

.post-module__tags--item {
    padding: 7px 10px;
    font-size: 12px;
    background-color: #f2f2f2;
    color: #868e95;
    margin: 5px 0 5px 15px;
    border-radius: 100px
}

.post-module img {
    max-width: 100%;
    height: auto
}

.post-module__author--date {
    font-size: 13px
}

.post-module__author [class*=clock-icon] {
    padding: 0 0 2px 5px
}

.post-module__img {
    width: 40%;
    border-radius: 3px;
    float: left;
    margin: 0 30px 30px 0
}

.post-module__author {
    color: #c3c3c3;
    margin: 20px 0 25px
}

.post-module__title ._txt {
    font-size: 20px;
    font-weight: 700;
    line-height: 2.2;
    width: 100%;
    margin-top: -10px
}