.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
}
.flex--column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.flex--center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.flex--top {
    -webkit-box-align: initial;
    -ms-flex-align: initial;
    align-items: initial;
}
.flex--bottom {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.flex--base {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}
.flex--start {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}
.flex--content--center {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.flex--end {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.is--fit {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
}
.flex--col--100 {
    width: 100%;
}
.flex--col--66 {
    width: calc(66.6% - 4px);
}
.flex--col--33 {
    width: calc(33.3% - 8px);
}
.flex--col--25 {
    width: calc(25% - 10px);
}
.h-100 {
    height: 100%;
}
.w-100 {
    width: 100%;
}
.flex--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse wrap;
    flex-flow: row-reverse wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.wrapper {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}
.wrapper--column--4 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 1040px) {
    .wrapper {
      width: 90%;
    }
    .wrapper--column--4 {
        width: 90%;
    }
}

.post-item {
    margin-bottom: 16px;
}

.item-top-100 {
    position: relative;
}
.item-top-100 .counter {
    position: absolute;
    display: inline-block;
    z-index: 100;
    left: -10px;
    top: -10px;
    font-weight: 600;
    font-size: 20px;
    background: #f5f5f5;
    height: 1.6em;
    width: 1.6em;
    line-height: 1.4;
    border: .1em solid rgba(0,0,0,.05);
    text-align: center;
    vertical-align: middle;
    color: #ccc;
    -moz-border-radius: 1.5em;
    -webkit-border-radius: 1.5em;
    border-radius: 1.5em;
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -ms-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
.item-top-100 .tile_grid__item:hover {
    -webkit-box-shadow: 7px 7px 16px 0px rgb(50 50 50 / 35%);
    box-shadow: 7px 7px 16px 0px rgb(50 50 50 / 35%);
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.item-top-100 .tile_grid__item:hover + .counter {
    background-color: #ff6060;
    border-color: rgba(0,0,0,.08);
    border-width: .2em;
    color: #fff;
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
    transform: scale(1.5);
    line-height: 1.2;
}

.page-template-top-100 .section-header {
    text-align: center;
    padding: 40px 10px 10px 10px;
}
.page-template-top-100 .section-title{
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 28px;
    font-family: 'Montserrat',sans-serif;
    margin-bottom: 6px;
}
.page-template-top-100 .section-description{
    text-align: center;
    display: block;
    margin: 0px;
    line-height: 1;
}
.page-template-top-100 .section-description p {
    margin: 0;
}

.page-template-top-100 .nav-tabs {
    margin-bottom: 30px;
}
.page-template-top-100 .nav-tabs .nav-tab-link{
    color: #000;
    font-size: 15px;
    display: block;
    padding: .5rem 1rem;
    text-decoration: none;
}
.page-template-top-100 .nav-tabs .nav-tab-link:hover {
    color: #fff;
    background-color: #31343d !important;
}
.page-template-top-100 .nav-tabs .nav-tab-link.active {
    color: #fff;
    background-color: #CC1917 !important;
}
.page-template-top-100 .tab-content {
    max-width: 96%;
    margin: 0 auto;
}

@media (max-width: 1040px) {
    .page-template-top-100 .tab-content {
        max-width: 100%;
    }
    .page-template-top-100 .flex--col--25 {
        width: calc(50% - 5px);
    }
}

@media (max-width: 660px) {
    .flex--col--25,
    .flex--col--33,
    .flex--col--66 {
        width: 100%;
    }
    .page-template-top-100 .flex--col--25 {
        width: 100%;
    }
}

/** Loader */
.content-loader-wrapper {
    width: 100%;
    height: 200px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #CC1917;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #CC1917 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/** Breadcrumbs */
.article {
    margin-top: 0px;
}
.rank-math-breadcrumb,
#breadcrumbs {
    margin-top: 30px;
    margin-bottom: 16px;
    /* font-size: 14px; */
}
.rank-math-breadcrumb span,
#breadcrumbs span {
    color: #828282;
}
.rank-math-breadcrumb a,
#breadcrumbs a {
    text-decoration: none;
    color: #000;
}
.rank-math-breadcrumb a:hover,
#breadcrumbs a:hover {
    text-decoration: none;
    color: #F06313;
}
.single #breadcrumbs .breadcrumb_last {
    display: none;
}

/** Show more button */
.loadmore-wrapper {
    width: 100%;
    margin: 32px 0;
    text-align: center;
    position: relative;
}
.loadmore-button {
    cursor: pointer;
    display: inline-flex;
    text-align: center;
    border: 1px solid #DFDFDF;
    border-radius: 24px;
    padding: 7px 31px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    width: auto;
}
.loadmore-button span{
    margin-right: 4px;
    display: inline-block;
    line-height: 24px;
}
.loadmore-button img{
    margin-top: 0;
    margin-bottom: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    transition: transform .4s ease-in-out;
}

.loadmore-button:hover {
    border: 1px solid #f06e24;
}
.loadmore-button:hover img{
    transform: rotate(360deg);
}

.container-posts {
    margin-top: 24px;
}
.page-title {
    font-weight: bold;
    font-size: 28px;
}
.section-description {
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    font-weight: 400;
    text-align: justify;
    margin: 15px 5% 35px;
}
.section-description p {
    padding-bottom: 7px;
    color: #6d6d6d;
}


/** Hot posts */
@media (min-width: 660px) and (max-width: 1040px) {
    .hot-posts-container .post-item:nth-child(3) {
        display: none;
    }
    .hot-posts-container .post-item {
        width: calc(50% - 5px);
    }
}

.news-partner-title {
    margin-bottom: 0;
}

#button_up {
    z-index: 100;
}

.allrubs .categories li {
    text-transform: uppercase;
}

.article figcaption, 
.article caption {
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: justify;
    margin-top: 20px;
}

@media (max-width: 660px) {
    .article figure {
        margin-left:0;
    }
}

.origin_post {
    font-size: 16px;
    line-height: 24px;
    font-style: normal;
    font-weight: 400;
    /* margin-bottom: 25px; */
    text-align: justify;
}

.blockvstvzgrn {
    font-weight: 600;
}
.postovoyrn {
    border: 1px solid #DFDFDF;
    position: relative;
    padding: 7px 10px;
}

.article__right_side .small_cards {
    margin-top: 10px;
}

.article .origin_post figure {
    width: 100%!important;
}

.origin_post img.image_full_width {
    width: 100%!important;
    height: auto;
}