﻿/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */
/* #101B68 - синий */
/* #00E676 - зеленый */
/* #323232 - получерный */
/* #212432 - черный с синим оттенком*/


/*
    #0082ff - f голубой
    #335cd6 - new голубой
*/

.post-card__title a {
    color: #212432;
}

header {
    position: relative;
    z-index: 2;
}

body {
    hyphens: auto;
    -webkit-font-smoothing: antialiased;
    background: #f2f5f9;
    /* background: linear-gradient(90deg, rgb(76 76 76 / 15%) 0%, rgb(247 247 247) 100%); */
    background: linear-gradient(90deg, #f2f5f9 0%, #f2f5f9 100%);
    margin-bottom: 0;

}

.entry-meta {
    justify-content: flex-start;
}



#before_widget_area {
    background: #212432;
    height: 180px;
    padding: 16px;
    color: #fff;
    display: flex;
    justify-content: center;
}

/* #r-sidebar {
    position: sticky;
    z-index: 10;
    top: 0px;
    width: 256px;
    height: calc(100vh - 82px);
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .1);
    display: none;
    flex: 0 0 256px;
}
#r-sidebar .widget {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px - 82px);
    padding: 24px 0 48px;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    overflow-y: overlay;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
    scrollbar-color: rgba(24, 23, 22, .14) transparent;
    scrollbar-width: thin;
} */

/* #r-sidebar {
    position: sticky;
    z-index: 10;
    top: 82px;
    width: 256px;
    height: calc(100vh - 82px);
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .1);
    display: block;
    flex: 0 0 256px;
}

#r-sidebar .widget {
    position: relative;
    width: 100%;
    height: calc(100vh - 220px - 82px);
    padding: 24px 0 48px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(24, 23, 22, .14) transparent;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    overflow-x: hidden;
    -ms-scroll-chaining: none;
    overscroll-behavior: contain;
} */


#r-sidebar {
    display: none;
    position: relative;
    z-index: 10;
    width: 256px;
    height: calc(100vh - 82px);
    flex: 0 0 256px;
}
#r-sidebar .sidebar-container{
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .1);
    position: fixed;
    height: calc(100vh - 82px);
    width: 256px;
    display: flex;
    flex-wrap: wrap;
}

#r-sidebar .widget {
    position: relative;
    width: 100%;
    height: calc(100vh - 82px);
    padding: 24px 0 48px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(24, 23, 22, .14) transparent;
}

.posts-side {
    padding: 0px 16px;
    margin: 0;
}

.posts-side li {
    list-style: none;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.posts-side li .post-card__category {
    display: block;
    color: #335cd6;
    font-size: 12px;
}

.posts-side li a{
    padding-top: 5px;
    color: #212432;
    text-decoration: none;
}


#content {
    background: transparent;
}

.site-content-inner {
    background: #fff;
    box-shadow: 0 0 24px 0 rgba(0, 0, 0, .1);
}

.site-content {
    padding-top: 0px;
}

.top-menu {
    margin-right: 16px;
    margin-left: auto;
}

.top-menu ul li>a,
.top-menu ul li>span {
    text-transform: none;
    font-size: 16px;
    font-weight: 400;
    opacity: 1;
}

.breadcrumb a,
.breadcrumb span {
    text-transform: none;
    font-size: 13px;
    font-weight: 400;
    opacity: 1;
}

.top-menu>ul>li>a:before,
.top-menu>ul>li>span:before {
    display: none;
}

.entry-content,
.home-text,
.taxonomy-description {
    max-width: 924px;
}

.entry-author,
.entry-comments,
.entry-date,
.entry-time,
.entry-views {
    padding-right: 60px;
}

@supports (display:grid) {
    .post-cards--vertical {
        display: grid;
        grid-auto-flow: row dense;
        grid-gap: 16px;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

@media (min-width: 1400px) {

    .block-after-site,
    .main-navigation-inner,
    .related-posts,
    .section-block,
    .section-html,
    .site-content,
    .site-footer-inner,
    .site-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
    .site-footer.fixed,
    .site-header.fixed{
        max-width: 1552px;
    }
}

@media (min-width: 768px) {

    .block-after-site,
    .main-navigation-inner,
    .related-posts,
    .section-block,
    .section-html,
    .site-content,
    .site-footer-inner,
    .site-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 768px) {

    .section-block,
    .section-html {
        margin-left: 0px;
        margin-right: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
        margin-top: -40px;
        margin-bottom: 40px;
    }

    .post-cards--grid {
        margin-left: -8px;
        margin-right: -8px;
    }

    .site-content-inner {
        padding: 24px;
    }

    .fixed.site-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.block-after-site,
.main-navigation-inner,
.related-posts,
.section-block,
.section-html,
.site-content,
.site-footer-inner,
.site-header-inner {
    padding-left: 0px;
    padding-right: 0px;
}


@media (min-width: 1336px) {

    .container,
    .fixed.block-after-site,
    .fixed.main-navigation-inner,
    .fixed.related-posts,
    .fixed.section-block,
    .fixed.section-html,
    .fixed.site-content,
    .fixed.site-footer-inner,
    .fixed.site-header-inner,
    .footer-navigation.fixed,
    .main-navigation.fixed,
    .site-footer.fixed,
    .site-header.fixed {
        max-width: 1296px;
    }
}

@media (min-width: 1572px) {
    #content {
        display: flex;
        align-items: flex-start;
    }
    .site-footer.fixed,
    .site-header.fixed{
        max-width: 1552px;
    }

    #r-sidebar {
        display: block;
        max-width: 256px;
        order: 0;
        z-index: 1;
    }

    .fixed.site-header-inner,
    .fixed.site-content {
        max-width: 1552px;
    }

    .site-content-inner {
        flex: 0 0 1296px;
        max-width: 1296px;
        padding: 24px;
    }

    .fixed.site-header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (min-width: 992px) {
    .content-area {
        max-width: calc(100% - 300px);
        -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(100% - 300px);
        flex: 0 0 calc(100% - 300px);
        padding-right: 24px;
        padding-top: 24px;
    }
}

#secondary {
    padding-top: 24px;
}


#top-ads {
    padding: 24px;
    background: #eaeaea;
    margin-top: -24px;
    margin-left: -24px;
    margin-right: -24px;
}

@media (min-width: 768px) {
    .post-card--grid.post-card--thumbnail-no .post-card__title {
        padding-top: 30px;
    }

    .post-card--grid {
        -ms-flex: 0 0 calc(33.333% - 16px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
        margin-left: 8px;
        margin-right: 8px;
        margin-bottom: 16px;
        height: 292px;
    }

    body.sidebar-none .post-card--grid:nth-child(6n),
    body.sidebar-none .post-card--grid:nth-child(6n+1) {
        -ms-flex: 0 0 calc(50% - 16px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(66.666% - 16px);
        max-width: calc(66.666% - 16px);
    }

    body.sidebar-none .post-card--grid {
        -ms-flex: 0 0 calc(33.333% - 16px);
        -webkit-box-flex: 0;
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}














.grid-main-1 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.grid-main-1 .post-cards {
    max-width: 948px;
    position: relative;
}

.grid-main-1 .post-cards .post--ads {
    position: absolute;
    top: 0;
    right: -308px;
}

.grid-8x-main {
    padding-top: 40px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.grid-8x-main .post-card {
    border-radius: 10px;
}

.grid-small-4x2 {}

span.post-card__category {
    line-height: 1em;
    padding: 0 !important;
    text-transform: none !important;
    background: none !important;
    /* background: none!important; */
    /* color: #00E676!important; */
}

:root :where(p.has-background) {
    padding: 0.5em 0.7em;
}


.accent-1,
.primer-1 {
    padding: 0.5em 0.7em;
    background: #f2f5f9;
}

.accent-2,
.primer-2 {
    border-left: 2px solid #00E676;
    padding-left: .6em;
}

.accent-3,
.primer {
    padding: 0.5em 0.7em;
    background: #f2f5f9;
    border-left: 2px solid #101b68;
}

/* #101B68 - синий */
/* #00E676 - зеленый */
/* #323232 - получерный */
/* #212432 - черный с синим оттенком*/

.plus-and-minus-2 {
    gap: .5em;
}

.plus-and-minus-2 p.heading {}

.plus-and-minus-2 p {
    margin-bottom: 1em;
}

.plus-and-minus-2 .pluses {
    padding: 0.5em 0.7em;
}

.plus-and-minus-2 .minuses {
    padding: 0.5em 0.7em;
}

.entry-content blockquote:not(.wpremark),
.home-text blockquote:not(.wpremark),
.taxonomy-description blockquote:not(.wpremark) {
    position: relative;
    margin: 2em 0;
    background: #f2f5f9;
    padding: 10px 20px;
    border-left: 3px solid #4d3bfe !important;
}

.section-preset--bgc-4.grid-small-4x2 {
    width: 100%;
    position: relative;
    color: #fff;
    margin-top: 20px;
}

.section-preset--bgc-4.grid-small-4x2.grid-small-4x2:before {
    /* background: #101b68; */
    background: #212432;
    width: 100%;
    margin: 0 !important;
}

.section-preset--bgc-4.grid-small-4x2 .post-card.post-card--small {
    padding-left: 24px;
    padding-right: 24px;
}

.section-preset--bgc-4.grid-small-4x2 .post-card.post-card--small a {
    color: #fff;
}

.section-preset--bgc-4.grid-small-4x2 .post-card.post-card--small .post-card__meta span:before {
    /* color: #00E676; */
}

.section-preset--bgc-4.grid-small-4x2 .post-card {
    max-width: 292px;
}

.section-preset--bgc-4.grid-small-4x2 .post-card.post-card--small .post-card__category {
    /* color: #00E676; */
    padding-left: 0 !important;

}


/* .post-cards.post-cards--vertical .post-card--vertical.post-card .post-card--thumbnail-no{
    text-align: left;
} */
.is-show-thumbnails-true .post-card--vertical.post-card--thumbnail-no {
    text-align: left;
    justify-content: flex-start;
}

.is-show-thumbnails-true .post-card--vertical.post-card--thumbnail-no .post-card__category {}

.post-cards.post-cards--grid .post-card.post-card--grid span.post-card__category {
    display: inline-block;
    width: fit-content;
}





.post-card:not(.post-card--small) .post-card__category {
    margin-bottom: 10px;
}

.post-card__thumbnail {
    margin-bottom: 10px;
}
.single .entry-meta{
    margin-top: 30px;
}

.is-show-thumbnails-true .post-card--vertical.post-card--thumbnail-no:hover {
    border-color: #335cd6;
}

.post-card--grid:nth-child(6n):not(.post-card--thumbnail-no) .post-card__title,
.post-card--grid:nth-child(6n+1):not(.post-card--thumbnail-no) .post-card__title {
    padding-top: 0;
}