/*!
Theme Name:   Astra Child
Theme URI:    https://denoll.ru/
Author:       DENOLL
Author URI:   https://denoll.ru/
Description:  Astra child - это дочерняя тема создана на основе базовой темы Astra (ПРЕДУПРЕЖДЕНИЕ! Базовую тему "Astra" удалять ни в коем случае нельзя)
Version:      1.0.0.24
Template:     astra
Tested up to: 6.0.1
Requires PHP: 7.3.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  astra-child
Tags:         e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, editor-style

*/

.elementor-denoll {
    --e-global-color-primary: #E30613;
    --e-global-color-secondary: #54595F;
    --e-global-color-text: #000000;
    --e-global-color-accent: #3D2683;
    --e-global-color-701747df: #EFEFEF;
    --e-global-color-6d320ddb: #C61B22;
    --e-global-color-6b18dbcf: #4054B2;
    --e-global-color-610cfac1: #23A455;
    --e-global-color-7b62cd67: #000;
    --e-global-color-7ca483d9: #FFF;
    --e-global-typography-primary-font-weight: bold;
    --e-global-typography-secondary-font-weight: bold;
    --e-global-typography-text-font-weight: normal;
    --e-global-typography-accent-font-weight: normal;
}

:root {
    --scrollbarBg: rgba(64, 74, 60, 1);
    --scrollbarThumb: rgba(255, 255, 255, 0.8);
    --scrollbarBgTransp: rgba(64, 74, 60, 0.3);
    --scrollbarThumbTransp: rgba(255, 255, 255, 0.1);
    --scrollbarWidth: 9px;
    --scrollbarBorder: 2px solid var(--scrollbarBg);
    --scrollbarBorderTransp: 2px solid var(--scrollbarBgTransp);
    --scrollbarBorderRadius: calc(var(--scrollbarWidth) / 2);
}
* {
    scrollbar-width: var(--scrollbarWidth);
    scrollbar-color: var(--scrollbarThumb) var(--scrollbarBg);
}
*::-webkit-scrollbar {
    width: var(--scrollbarWidth);
}
*::-webkit-scrollbar-track {
    background: var(--scrollbarBg);
    border-radius: var(--scrollbarBorderRadius);
}
*::-webkit-scrollbar-thumb {
    background-color: var(--scrollbarThumb);
    border-radius: var(--scrollbarBorderRadius);
    border: var(--scrollbarBorder);
}

.fshow-wrapper{
    width: 100%;
}

/**
       Для получения бледного скрола, необходимо добавить класс элемента который должен иметь бледный скролл
       к четырем стилям которые находятся ниже:
       .entry-header,
       .entry-content
       то классы которые уже содержат бледный скрол, просто добавьте свои класс с запятой к уже имеющимся классам
 */

.entry-header,
.entry-content {
    scrollbar-width: 6px;
    scrollbar-color: var(--scrollbarThumbTransp) var(--scrollbarBgTransp);
}

.entry-header::-webkit-scrollbar,
.entry-content::-webkit-scrollbar {
    width: 6px;
}

.entry-header::-webkit-scrollbar-track,
.entry-content::-webkit-scrollbar-track {
    background: var(--scrollbarBgTransp);
    border-radius: var(--scrollbarBorderRadius);
}

.entry-header::-webkit-scrollbar-thumb,
.entry-content::-webkit-scrollbar-thumb {
    background-color: var(--scrollbarThumbTransp);
    border-radius: var(--scrollbarBorderRadius);
    border: var(--scrollbarBorderTransp);
}

.ast-row{
    display: inline-block;
}

.type-post.ast-full-width{
    display:  inline-block;
    width: 100%;
}

.site-title{
    color: #404A3C !important;
    font-size: 22px !important;
}

.single-post .ast-container .entry-content p{
    
}

article.type-post .post-thumb{
    box-sizing: border-box;
    display: block;
    height: auto;
    border-radius: 8px;
    float: none;
    overflow: auto;
}

article.type-post .post-thumb img{
    border-radius: 8px;
}

article.type-post.ast-article-single header.entry-header{
    display: block;
    height: auto;
    overflow-y: auto;
}

article.type-post.ast-article-single header.entry-header h2{
    display: block;
    height: auto;
}
article.type-post.ast-article-single div.entry-content{
    display: block;
    height: auto;
    overflow-y: auto;
}




article.type-post.ast-article-post header.entry-header h2{

}

article.type-post.ast-article-post div.entry-content{
    display: block;
}



@media (min-width: 780px){
    article.type-post.ast-article-post.ast-full-width{
        width: 49%;
    }
    article.type-post.ast-article-post .post-thumb{
        height: 250px;
        overflow: hidden;

    }
    article.type-post.ast-article-post header.entry-header{
        display: block;
        height: 136px;
        overflow-y: auto;
    }
    article.type-post.ast-article-post header.entry-header h2{
        display: block;
        height: 90px;
        overflow: hidden;
        font-size: 1.4rem;
    }
    article.type-post.ast-article-post div.entry-content{
        display: block;
        height: 200px;
        overflow-y: auto;
    }
}

@media (min-width: 922px){
    article.type-post.ast-article-post.ast-full-width{
        width: 33%;
    }
    article.type-post.ast-article-post .post-thumb{
        height: 220px;
        overflow: hidden;
    }
    article.type-post.ast-article-post header.entry-header{
        display: block;
        height: 136px;
        overflow-y: auto;
    }
    article.type-post.ast-article-post header.entry-header h2{
        display: block;
        height: 90px;
        overflow: hidden;
        font-size: 1.4rem;
    }
    article.type-post.ast-article-post div.entry-content{
        display: block;
        height: 200px;
        overflow-y: auto;
    }
}

article.type-post{

}



