/**
 * Borders
 * ========================================================================== */
body{

    $border:1px solid rgba(188,188,188,.5);

    color:#333;

    &.emulsion-no-sidebar{
        .primary-menu-wrapper{
            border-top:1px solid rgba(188,188,188,.5);
            border-bottom:1px solid rgba(188,188,188,.5);
        }
    }
    &.emulsion-has-sidebar{
        .primary-menu-wrapper{
            border-top:1px solid rgba(188,188,188,.5);
            nav[class|="menu"]{
                border-bottom:1px solid rgba(188,188,188,.5);
            }
        }
    }
    .side-right{
        .sidebar-widget-area{
            border-left:1px solid rgba(188,188,188,.5);
        }
    }
    .side-left{
        .sidebar-widget-area{
            border-right:1px solid rgba(188,188,188,.5);
        }
    }
    .footer-layer{
        border-top:1px solid rgba(188,188,188,.5);
    }
    blockquote{
        border-left:6px solid currentColor;
        max-width:100%;
    }
    .wp-block-pullquote{
        border-left:none;
        border-right:none;
        border-top:2px solid;
        border-bottom:2px solid;
        border-color:rgba(188,188,188,.5);
        & > blockquote{
            border-left:none;
        }
    }
    .wp-block-tag-cloud{
        border:$border;
    }
    .wp-block-button__link{
        border:$border;
    }
    pre[class]:not(.wp-block-verse),
        pre code{
        color: #555;
        background: #f8f8ff;
    }
    .is-style-emulsion-inline li,
    .horizontal-list-group li{
        border:$border;
    }
    .skin-button,
    .wp-block-file a,
    .theme-message,
    .wp-block-column .wp-block-archives li,
    textarea,
    input,
    .wp-block-search__button,
    .attachment-pdf .attachment img,
    .wp-list-comments > li,
    .reply a,
    th,
    td,
    .wp-block-archives select,
    .wp-block-latest-posts > li,
    .wp-block-rss.is-grid > li,
    .wp-block-categories > ul > li,
    .wp-block-categories-dropdown select,
    fieldset,
    .wp-block-table td,
    .page-break-links > span,
    .page-break-links a,
    .wp-block-code,
    .nav-links > div,
    .solid-border,
    .wp-caption,
    kbd,
    .paginate-comment-links .current,
    .paginate-comment-links a,
    .pagination .nav-links span,
    .pagination .nav-links a,
    .widget_nav_menu .children,
    ins:hover:before,
        del:hover:before{
        border:$border;
    }
    .entry-content{
        .wp-block-categories-list{
            border:$border;
            li{
                border-bottom:$border;
            }
            .sub-menu li,
            .children li{
                border-bottom:none;
            }
        }
        ul.wp-block-archives li:before{
            border-top:$border;
        }
    }
    hr{
        border-bottom:1px solid rgba(188,188,188,.7);
        &.wp-block-separator{
            &.is-style-default{
                border-bottom:$border;
            }
            &.is-style-wide{
                border-bottom:$border;
            }
            &.is-style-dots{
                border-bottom:none;
                &:before{
                    content:'\2026';
                    font-size:3rem;
                    margin:1rem auto;
                    color:rgba(188,188,188,.7);
                }
            }
        }
    }
    .article-wrapper{
        border-bottom:$border;
    }
    &.page,
    &.single{
        .article-wrapper{
            border-bottom:none;
        }
    }
    .grid{
        .article-wrapper{
            border:$border;
        }
    }
    .stream{
        .stream-wrapper{
            border:$border;
        }
        .template-part-content{
            // post formats
            article{
                border:$border;
            }
        }
    }
    .wp-nav-menu.primary .sub-menu,
    .wp-nav-menu.primary .children{
        border-top:$border;
        border-right:$border;
        border-left:$border;
    }
    .article-wrapper{
        border-bottom:$border;
    }
    &.single .article-wrapper{
        border-bottom:none;
    }
    .emulsion-table-wrapper{
        &::-webkit-scrollbar-thumb{
            outline: 1px solid currentColor;
        }
    }
    .wp-block-subhead,
    .taxonomy-description{
        color:var(--thm_header_text_color);
    }
    .wp-block-calendar{
        table{
            th{
                border:$border;
                td{
                    border:$border;
                }
            }
            tbody{
                td{
                    border:$border;
                }
            }
        }
    }
    .horizontal-list-group li,
    .entry-meta li{
        border:$border;
    }
    .post-navigation{
        .nav-links{
            .nav-previous{
                a{
                    .text{
                        color:rgba(128,128,128,1);
                    }
                    .title{
                    }
                }
            }
            .nav-next{
                a{
                    .text{
                        color:rgba(128,128,128,1);
                    }
                    .title{
                    }
                }
            }
        }
    }
    .post-password-form{
        input[type="password" i]:required{
            border-bottom:1px solid rgba(188, 188, 188, .3);
        }
    }
    .entry-content{
        .wp-block-columns{
            .wp-block-column{
                .wp-block-archives{
                    &.wp-block-archives-list{
                        padding-left:var(--thm_box_gap);
                        padding-right:var(--thm_box_gap);
                        li{
                            border-top:none;
                            border-left:none;
                            border-right:none;
                        }
                    }
                }
                .wp-block-categories{
                    &.wp-block-categories-list{
                        border:none;
                        .children{
                            padding-right:0;
                            margin-top:0;
                            margin-bottom:0;
                            li{
                                padding-right:0;
                            }

                        }

                    }
                }
            }
        }
    }
    .header-layer.template-part-header{
        border-bottom: 1px solid rgba(188, 188, 188, .5);
        .header-layer-nav-menu nav[class|="menu"]{
            border-bottom:none;
        }
    }
}
input[type="checkbox"][data-skin="inset"] + label span{
    background:rgba(188, 188, 188, .5);
}
//.header-is-light,
//.header-is-dark{
.header-layer{
    & ~ .page-wrapper{
        //no sidebar

        .template-part-content-attachment,
        .template-part-content{
            a.skin-button{
                color:var( --thm_header_text_color );
                background: var( --thm_header_bg_color );
            }
        }
        .post-navigation,
        .pagination{
            color: var(--thm_general_text_color);
            background: var(--thm_background_color);
        }
        .pagination .current,
        .pagination .prev,
        .pagination .next{
            color:var( --thm_header_text_color );
            background: var( --thm_header_bg_color );
        }
        .post-password-form{
            input[type="submit"] {
                color:var( --thm_header_text_color );
                background: var( --thm_header_bg_color );
            }
        }
    }
    & ~ .layout-block{
        //has sidebar
        .page-wrapper{
            a.skin-button{
                color:var( --thm_header_text_color );
                background: var( --thm_header_bg_color );
            }
            .template-part-content-attachment,
            .template-part-content{
                a.skin-button{
                    color:var( --thm_header_text_color );
                    background: var( --thm_header_bg_color );
                }
            }
            .post-navigation,
            .pagination{
                color: var(--thm_general_text_color);
                background: var(--thm_background_color);
            }
            .pagination .current,
            .pagination .prev,
            .pagination .next{
                color:var( --thm_header_text_color );
                background: var( --thm_header_bg_color );
            }
            .post-password-form{
                input[type="submit"] {
                    color:var( --thm_header_text_color );
                    background: var( --thm_header_bg_color );
                }
            }

        }

    }
    & ~ .scroll-button-top{
        &.skin-button{
            color:var( --thm_header_text_color );
            background: var( --thm_header_bg_color );
        }
    }
}
.custom-background{
    a{
        &.skin-button{
            color:var( --thm_header_text_color );
            background: var( --thm_header_bg_color );
        }
    }
    &.emulsion-no-sidebar{
        .primary-menu-wrapper{
            border-top:none;
            border-bottom:none;
        }
    }
    &.emulsion-has-sidebar{
        .primary-menu-wrapper{
            border:none;
            nav[class|="menu"]{
                border:none;
            }
        }
    }
    .side-right{
        .sidebar-widget-area{
            border-left:none;
        }
    }
    .side-left{
        .sidebar-widget-area{
            border-right:none;
        }
    }
    .footer-layer{
        border-top:none;
    }
    &.is-dark{
        /**
         * dark border
         */

        $border_color:rgba(188,188,188,.3);

        & *{
            border-color:$border_color;
        }
        hr,
        .article-wrapper{
            border-color:$border_color;
        }
        .wp-nav-menu.primary .sub-menu,
        .wp-nav-menu.primary .children{
            border-color:$border_color;
        }
        .grid{
            .article-wrapper{
                border-color:$border_color;
            }
        }
        .stream{
            .stream-wrapper{
                border-color:$border_color;
            }
            .template-part-content{
                // post formats
                article{
                    border-color:$border_color;
                }
            }
        }
        .wp-block-calendar{
            table{
                th{
                    border-color:$border_color;
                    td{
                        border-color:$border_color;
                    }
                }
                tbody{
                    td{
                        border-color:$border_color;
                    }
                }
            }
        }
        .horizontal-list-group li,
        .entry-meta li{
            border-color:$border_color;
        }
        .post-navigation{
            .nav-links{
                .nav-previous{
                    color:var(--thm_general_text_color);
                    a{
                        .text{
                            color:rgba(188,188,188,1);
                            background:transparent;
                        }
                        .title{
                        }
                    }
                }
                .nav-next{
                    color:var(--thm_general_text_color);
                    a{
                        .text{
                            color:rgba(188,188,188,1);
                            background:transparent;
                        }
                        .title{
                        }
                    }
                }
            }
        }
    }
    &.is-light{
        $border_color:#999;
        main *{
            border-color:var(--thm_sub_background_color_darken);
        }
        hr,
        .article-wrapper{
            border-color:var(--thm_sub_background_color_darken);
        }
        .grid{
            .article-wrapper{
                border-color:var(--thm_sub_background_color_darken);
            }
        }
        .stream{
            .stream-wrapper{
                border-color:var(--thm_sub_background_color_darken);
            }
            .template-part-content{
                // post formats
                article{
                    border-color:var(--thm_sub_background_color_darken);
                }
            }
        }
        .wp-block-calendar{
            table{
                th{
                    border-color:var(--thm_sub_background_color_darken);
                    td{
                        border-color:var(--thm_sub_background_color_darken);
                    }
                }
                tbody{
                    td{
                        border-color:var(--thm_sub_background_color_darken);
                    }
                }
            }
        }
        .horizontal-list-group li,
        .entry-meta li{
            border-color:var(--thm_sub_background_color_darken);
        }
        .post-navigation{
            .nav-links{
                .nav-previous{
                    color:var(--thm_general_text_color);
                    a{
                        .text{
                            color:var( --thm_general_link_color);
                            background:transparent;
                        }
                        .title{
                        }
                    }
                }
                .nav-next{
                    color:var(--thm_general_text_color);
                    a{
                        .text{
                            color:var( --thm_general_link_color);
                            background:transparent;
                        }
                        .title{
                        }
                    }
                }
            }
        }
    }
}
.sidebar-is-default{
    $border:1px solid rgba(188,188,188,.5);
    .widget_nav_menu{
        .menu li .sub-menu > li,
        .menu li .children > li{
            border-bottom:$border;
        }
        .widget_nav_menu .children a,
        .widget_nav_menu .sub-menu a,
        .widget_nav_menu .children,
        .widget_nav_menu .sub-menu{
            border:none;
        }
    }
    .footer-widget-area-lists,
    .sidebar-widget-area-lists{
        .widget_archive select,
        .widget_categories select{
            border:$border;
        }
        .widget > ul > li{
            border-bottom:$border;
        }
        .children,
        .sub-menu{
            border-top:1px solid  rgba(188,188,188,.5);
            padding-right:0;
        }
        .widget li{
            border-bottom:$border;
        }
        .widget li:last-child{
            border-bottom:none;
        }
        .widget > ul{
            border-bottom:$border;
            border-top:$border;
        }
        .widget{
            &.widget_meta li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_pages li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_comments li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_entries li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
        }
    }
    .footer-widget-area-lists{
        .widget_nav_menu,
        .widget_categories,
        .widget_archive{
            li{
                border:none;
                border-bottom:$border;
            }
        }
    }
}
.sidebar-is-light{
    $border:1px solid rgba(188,188,188,.5);
    .widget_nav_menu{
        .children a,
        .sub-menu a{
            //border-bottom:$border;
        }
        .menu li .sub-menu > li,
        .menu li .children > li{
            border-bottom:$border;
        }
        .widget_nav_menu .children a,
        .widget_nav_menu .sub-menu a,
        .widget_nav_menu .children,
        .widget_nav_menu .sub-menu{
            border:none;
        }
    }
    .footer-widget-area-lists,
    .sidebar-widget-area-lists{
        .widget_archive select,
        .widget_categories select{
            border:$border;
        }
        .widget > ul > li{
            border-bottom:$border;
        }
        .children,
        .sub-menu{
            border-top:1px solid  rgba(188,188,188,.5);
            padding-right:0;
        }
        .widget li{
            border-bottom:$border;
        }
        //.widget li:last-child:hover,
        .widget li:last-child{
            border-bottom:none;
        }
        .widget > ul{
            border-bottom:$border;
            border-top:$border;
        }
        .widget{
            &.widget_meta li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_pages li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_comments li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_entries li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
        }
    }
    .footer-widget-area-lists{
        & > li{
            //  border:$border;
        }
        .widget_nav_menu,
        .widget_categories,
        .widget_archive{
            li{
                border:none;
                border-bottom:$border;
            }
        }
    }
}
.sidebar-is-dark{
    $border:1px solid rgba(188,188,188,.5);
    .widget_nav_menu{
        .children a,
        .sub-menu a{
            //border-bottom:$border;
        }
        .menu li .sub-menu > li,
        .menu li .children > li{
            border-bottom:$border;
        }
        .widget_nav_menu .children a,
        .widget_nav_menu .sub-menu a,
        .widget_nav_menu .children,
        .widget_nav_menu .sub-menu{
            border:none;
        }
    }
    .footer-widget-area-lists,
    .sidebar-widget-area-lists{
        .widget_nav_menu .children a,
        .widget_nav_menu .sub-menu a,
        .widget_nav_menu .children,
        .widget_nav_menu .sub-menu{
            border:none;
        }
        .widget > ul > li{
            border-bottom:$border;
        }
        .children,
        .sub-menu{
            border-top:1px solid  rgba(188,188,188,.5);
            padding-right:0;
        }
        .widget li{
            border-bottom:$border;
        }
        //.widget li:last-child:hover,
        .widget li:last-child{
            border-bottom:none;
        }
        .widget > ul{
            border-bottom:$border;
            border-top:$border;
        }
        .widget{
            &.widget_meta li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_pages li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_comments li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
            &.widget_recent_entries li{
                border-top:none;
                border-left:none;
                border-right:none;
            }
        }
    }
    .footer-widget-area-lists{
        & > li{
            //  border:$border;
        }
        .widget_nav_menu,
        .widget_categories,
        .widget_archive{
            li{
                border:none;
                border-bottom:$border;
            }
        }
    }

}
/**
 * Header
 * ========================================================================== */
body{
    // $background_tranparent_hover:rgba(188, 188, 188, .2);
    &.on-scroll{
        // .header-is-light-color,
        // .header-is-dark-color{
        .header-layer-site-title-navigation{
            background:var(--thm_header_bg_color);
        }

        .menu-placeholder{
            [for="toc-toggle"]{
                span{
                    background:var(--thm_header_bg_color);
                }
            }
            .toc{
                background:var(--thm_background_color);
                color:var(--thm_general_text_color);
                a{
                    color:var(--thm_general_link_color);
                }
                ul{
                    @include font_size(5);
                    li{
                        &.toc-active{
                            color:red;
                            a{
                                color:var(--thm_hover_color);
                            }
                        }
                    }
                }
            }
        }
        //}

        &.is-dark .header-is-default-color ~ .primary-menu-wrapper{
            [for="toc-toggle"]{
                span{
                    background:var(--thm_sub_background_color_lighten);
                }
            }
        }
        &.is-light .header-is-default-color ~ .primary-menu-wrapper{
            [for="toc-toggle"]{
                span{
                    background:rgba(188, 188, 188, .2);
                }
            }
        }
    }
    /**
     * Background Dark
     * ========================================================================== */
    &.is-dark{

        &.metabox-reset-post-presentation{
            .header-layer-site-title-navigation{
                .menu{
                    .nav-menu-child-opener-label{
                        &:before{
                            background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                        &:before {
                            content:' ';
                            background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                            background-size:contain;
                        }
                    }
                }
            }
        }

    }
    &.is-light{

        &.metabox-reset-post-presentation{
            .header-layer-site-title-navigation{
                .menu{
                    .nav-menu-child-opener-label{
                        &:before{
                            background: url(#{$theme_image_dir}svg/arrow-down.svg);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                        &:before {
                            content:' ';
                            background:url('#{$theme_image_dir}svg/arrow-up.svg');
                            background-size:contain;
                        }
                    }
                }
            }
        }

    }
    &.is-dark,
    &.is-light{

        &.metabox-reset-page-presentation{

            &.custom-background main *{

                border-color:#999;
            }
            .header-layer.template-part-header-custom + .primary-menu-wrapper .wp-nav-menu{

                &.menu{
                    .nav-menu-child-opener-label{

                        &:before{
                            background: url(#{$theme_image_dir}svg/arrow-down.svg);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                        &:before {
                            content:' ';
                            background:url('#{$theme_image_dir}svg/arrow-up.svg');
                            background-size:contain;
                        }
                    }
                }
            }
        }
    }
    .header-layer{
        color:var(--thm_header_text_color);
        a{
            color:var(--thm_header_link_color);
            &:hover{
                color:var(--thm_header_hover_color);
            }
        }
    }
    .header-is-dark{
        &.template-part-header{
            &.header-video-active{
                background:#000;
            }
        }
        .emulsion-monthly-archive-prev-next-navigation{
            & > div{
                border:1px solid rgba(188,188,188,.3);
            }
        }
        .header-layer-site-title-navigation{
            .menu{
                .nav-menu-child-opener-label{
                    &:before{
                        background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                        background-size: contain;
                        filter:none;
                        -webkit-filter:none;
                    }
                }
                .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                    &:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                        background-size:contain;
                    }
                }
            }
        }
    }
    .header-is-default-color .header-layer-site-title-navigation{
        color:var(--thm_header_text_color);
        a{
            color:var(--thm_header_link_color);
        }
        .menu{
            .nav-menu-child-opener-label{
                &:before{
                    background: url(#{$theme_image_dir}svg/arrow-down.svg);
                    background-size: contain;
                    filter:none;
                    -webkit-filter:none;
                }
            }
            .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                &:before {
                    content:' ';
                    background:url(#{$theme_image_dir}svg/arrow-up.svg);
                    background-size:contain;
                }
            }
            .children,
            .sub-menu{
                background:var(--thm_header_bg_color);
            }

        }
    }
    .header-layer{
        &.template-part-header-custom + .primary-menu-wrapper{
            &.menu-is-dark{
                $border:1px solid rgba(188,188,188,.5);
                .wp-nav-menu.primary .sub-menu,
                .wp-nav-menu.primary .children{
                    border-top:$border;
                    border-right:$border;
                    border-left:$border;
                    li{
                        border-bottom:$border;
                    }
                }
                .menu{
                    &.wp-nav-menu{
                        .nav-menu-child-opener-label{
                            &:before{
                                background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                                background-size: contain;
                                filter:none;
                                -webkit-filter:none;
                            }
                        }
                        .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                            content:' ';
                            background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                            background-size:contain;
                        }
                    }
                }
            }
            &.menu-is-light{
                $border:1px solid rgba(188,188,188,.5);
                .wp-nav-menu.primary .sub-menu,
                .wp-nav-menu.primary .children{
                    border-top:$border;
                    border-right:$border;
                    border-left:$border;
                    li{
                    }
                }
                .wp-nav-menu.primary .children li,
                .wp-nav-menu.primary .sub-menu li,
                .widget_nav_menu .children a,
                .widget_nav_menu .sub-menu a{
                    border-bottom:$border;
                }
                .menu{
                    &.wp-nav-menu{
                        .nav-menu-child-opener-label{
                            &:before{
                                background: url(#{$theme_image_dir}svg/arrow-down.svg);
                                background-size: contain;
                                filter:none;
                                -webkit-filter:none;
                            }
                        }
                        .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                            content:' ';
                            background:url('#{$theme_image_dir}svg/arrow-up.svg');
                            background-size:contain;
                        }
                    }
                }
            }
        }
    }
    &.is-dark{
        &.metabox-reset-post-presentation{
            .header-layer{
                &.template-part-header-custom + .primary-menu-wrapper{
                    .menu{
                        &.wp-nav-menu{
                            .nav-menu-child-opener-label{
                                &:before{
                                    background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                                    background-size: contain;
                                    filter:none;
                                    -webkit-filter:none;
                                }
                            }
                            .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                                content:' ';
                                background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                                background-size:contain;
                            }
                        }
                    }
                }
            }
        }
    }
    &.is-light{
        &.metabox-reset-post-presentation{
            .header-layer{
                &.template-part-header-custom + .primary-menu-wrapper{
                    .menu{
                        &.wp-nav-menu{
                            .nav-menu-child-opener-label{
                                &:before{
                                    background: url(#{$theme_image_dir}svg/arrow-down.svg);
                                    background-size: contain;
                                    filter:none;
                                    -webkit-filter:none;
                                }
                            }
                            .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                                content:' ';
                                background:url('#{$theme_image_dir}svg/arrow-up.svg');
                                background-size:contain;
                            }
                        }
                    }
                }
            }
        }
    }


    /**
     * Sidebar
     * ========================================================================== */

    .sidebar-widget-area{

        &.sidebar-is-default{
            background:var(--thm_background_color);
            color:var(--thm_general_text_color);
            a{
                color:var(--thm_general_link_color);

            }
        }
        &.sidebar-is-dark{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);
            a{
                color:var(--thm_sidebar_link_color);
            }
            .widget_nav_menu{
                .menu-item{
                    .nav-menu-child-opener-label{
                        &:before{
                            content:' ';
                            background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                        background-size:contain;
                    }
                }
            }
        }
        &.sidebar-is-light{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);
            a{
                color:var(--thm_sidebar_link_color)
            }
            .widget_nav_menu{
                .menu-item{
                    .nav-menu-child-opener-label{
                        &:before{
                            content:' ';
                            background: url(#{$theme_image_dir}svg/arrow-down.svg);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg');
                        background-size:contain;
                    }
                }
            }
        }
    }
    .footer-widget-area{
        &.sidebar-is-default{
            background:var(--thm_background_color);
            color:var(--thm_general_text_color);

            a{
                color:var(--thm_general_link_color);
            }
        }
        &.sidebar-is-light,
        &.sidebar-is-dark{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);

            a{
                color:var(--thm_sidebar_link_color);
            }
        }
        &.footer-is-dark{
            .widget_nav_menu{
                .menu-item{
                    .nav-menu-child-opener-label{
                        &:before{
                            content:' ';
                            background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                        background-size:contain;
                    }
                }
            }
        }
        &.footer-is-light{
            a{
                color:var(--thm_sidebar_link_color)
            }
            .widget_nav_menu{
                .menu-item{
                    .nav-menu-child-opener-label{
                        &:before{
                            content:' ';
                            background: url(#{$theme_image_dir}svg/arrow-down.svg);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                    .nav-menu-child-opener[type="checkbox"]:checked ~ label:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg');
                        background-size:contain;
                    }
                }
            }
        }
    }
    footer.banner address{
        a{
            color:var(--thm_sidebar_link_color);
        }
    }
    .has-category-colors .widget_categories > ul > li:hover{
        a{
            color:#fff;
        }
    }
    /**
     * Background Light
     * ========================================================================== */
    .header-is-light{
        &.template-part-header{
            &.header-video-active{
                background:#000;
            }
        }
        .emulsion-monthly-archive-prev-next-navigation{
            & > div{
                border:1px solid rgba(188,188,188,.5);
            }
        }
        .header-layer-site-title-navigation{
            .menu{
                .nav-menu-child-opener-label{
                    &:before{
                        background: url('#{$theme_image_dir}svg/arrow-down.svg');
                        background-size: contain;
                        filter:none;
                        -webkit-filter:none;
                    }
                }
                .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                    &:before {
                        content:' ';
                        background:url('#{$theme_image_dir}svg/arrow-up.svg');
                        background-size:contain;
                    }
                }
            }
        }
    }
    /**
     * Header Video
     * ========================================================================== */
    .header-layer{
        &.header-video-active{
            background:#000;
            .header-layer-site-title-navigation{
                .menu{
                    .nav-menu-child-opener-label{
                        &:before{
                            background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                            background-size: contain;
                            filter:none;
                            -webkit-filter:none;
                        }
                    }
                }
            }
        }
    }
    /**
     * Is Paged
     * ========================================================================== */
    &.paged{
        .header-layer{
            &.header-video-active{
                background:var(--thm_header_bg_color);
            }
            &.header-is-dark{
                .header-layer-site-title-navigation{
                    .menu{
                        .nav-menu-child-opener-label{
                            &:before{
                                background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                                background-size: contain;
                                filter:none;
                                -webkit-filter:none;
                            }
                        }
                    }
                }
            }
            &.header-is-light{
                .header-layer-site-title-navigation{
                    .menu{
                        .nav-menu-child-opener-label{
                            &:before{
                                background: url(#{$theme_image_dir}svg/arrow-down.svg);
                                background-size: contain;
                                filter:none;
                                -webkit-filter:none;
                            }
                        }
                    }
                }
            }
        }
    }
    /**
     * Header
     * ========================================================================== */
    & > header{
        color:var(--thm_header_text_color);
        background:var(--thm_header_bg_color);

        &.header-is-default-color{
            color:#333;
            color:var(--thm_header_text_color);
            a{
                color:var(--thm_header_link_color);
                background:transparent;
            }

        }

        &.header-is-dark{
            color:#fff;
            color:var(--thm_header_text_color);
            a{
                color:var(--thm_header_link_color);
                background:transparent;
            }

        }
        &.header-is-light{
            color:#333;
            color:var(--thm_header_text_color);
            a{
                color:var(--thm_header_link_color);
                background:transparent;
            }
        }
        &.template-part-header{
            .header-layer-site-title-navigation{
                a{
                    color:var(--thm_header_link_color);
                    background:transparent;
                }
            }
            .site-title{
                .site-title-text{
                    color:var(--thm_header_text_color);
                }
            }
            .header-layer-nav-menu{
                .has-chckbox-control{
                    .menu{
                        li{
                            a{
                                color:var(--thm_header_link_color);
                                background:transparent;
                            }
                        }
                    }
                }
            }
            &.header-is-dark{
                .header-layer-nav-menu{
                    .wp-nav-menu{
                        .sub-menu,
                        .children{
                            border:1px solid rgba(188,188,188,.5);
                            color:var(--thm_header_text_color);
                            background:var(--thm_header_bg_color);
                        }
                    }
                }
            }
            &.header-is-light{
                .header-layer-nav-menu{
                    .wp-nav-menu{
                        .sub-menu,
                        .children{
                            border:1px solid rgba(188,188,188,.5);
                            color:var(--thm_header_text_color);
                            background:var(--thm_header_bg_color);
                        }
                    }
                }
            }
        }
        &.header-layer{
            color:var( --thm_header_text_color );
            background: var( --thm_header_bg_color );
            @include bg-gradient;
            .widget_nav_menu .children a,
            .widget_nav_menu .sub-menu a{
                color:var(--thm_general_link_color);
            }
            &.header-is-dark{
                .menu .nav-menu-child-opener-label:before {
                    background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                    background-size: contain;
                }
            }
            &.header-is-light{
                .menu .nav-menu-child-opener-label:before {
                    background: url(#{$theme_image_dir}svg/arrow-down.svg);
                    background-size: contain;
                }
            }
            &.header-is-dark,
            &.header-is-light{
                &.no-header-media{
                    .taxonomy-description,
                    .page-title-block,
                    .site-title-text,
                    .site-description,
                    .header-text{
                        z-index:7;
                        text-shadow:none;
                        a{
                            color:var(--thm_header_link_color);
                            // color:var(--thm_header_text_color);
                            background:transparent;
                        }
                    }
                    .header-text{
                        a{
                            color:var(--thm_header_text_color);
                        }
                    }
                    .entry-text{
                        color: var(--thm_header_text_color);
                        .entry-title{
                            color: var(--thm_header_text_color);
                            background:transparent;
                            text-shadow:none;
                        }
                        .posted-on{
                            color: var(--thm_header_text_color);
                            background:transparent;
                            text-shadow:none;
                            .entry-date,
                            a{
                                color:var(--thm_header_link_color);
                                // color: var(--thm_header_text_color);
                                text-shadow:none;
                                background:transparent;
                            }
                        }
                        .entry-meta{
                            a{
                                color: var(--thm_header_link_color);
                                background:transparent;
                                text-shadow:none;
                            }
                            .cat-item{
                                a{
                                    color: var(--thm_header_link_color);
                                }
                            }
                        }
                    }
                    div.emulsion-monthly-archive-prev-next-navigation a,
                    div.archive-year-links,
                    div.archive-year-links a{
                        .current{
                            text-decoration:underline;
                        }
                    }
                }
            }
            &.cta-layer-active{
                .cta-layer{
                    a{
                        color:var(--thm_header_text_color);
                        background:var(--thm_header_bg_color);
                        //
                    }
                }
            }
            &.header-is-default-color{
                .cta-layer{
                    a{
                        background:#fff;
                    }
                }
            }
            &.header-is-light{
                .cta-layer{
                    a{
                        background:#fff;
                    }
                }
            }
            &.header-is-dark{
                .cta-layer{
                    a{
                        filter: brightness(130%);
                    }
                }
            }
            &.header-video-active{
                &.template-part-header-custom{
                    .site-title .site-title-text,
                    .entry-text,
                    .entry-text a,
                    .site-description,
                    .header-text a{
                        color: #fff;
                        background:transparent;
                        text-shadow: #000 1px 0 10px;
                    }
                    &.cta-layer-active{
                        .cta-layer{
                            a{
                                color:var(--thm_header_text_color);
                                background:var(--thm_header_bg_color);
                                filter: brightness(130%);
                            }
                        }
                    }
                }
                .site-title .site-title-text,
                .entry-text,
                .entry-text a,
                .site-description,
                .header-text a{
                    color:#fff;
                    background:transparent;
                }
            }
            &.header-image-active{
                &.template-part-header-custom{
                    .site-title-text,
                    .taxonomy-description a,
                    .taxonomy-description,
                    .emulsion-monthly-archive-prev-next-navigation a,
                    .archive-year-links,
                    .archive-year-links a,
                    .site-description,
                    .header-text a,
                    .entry-text,
                    .entry-text a{
                        color:#fff;
                        background:transparent;
                        text-shadow: #000 1px 0 10px;
                    }
                    &.cta-layer-active{
                        .cta-layer{
                            a{
                                color:var(--thm_header_text_color);
                                background:var(--thm_header_bg_color);
                                filter: brightness(130%);
                            }
                        }
                    }
                }
                .site-title-text,
                .taxonomy-description a,
                .taxonomy-description,
                .emulsion-monthly-archive-prev-next-navigation a,
                .archive-year-links,
                .archive-year-links a,
                .site-description,
                .header-text a{
                    position:relative;
                    color:#fff;
                    background:transparent;
                }
                .entry-text,
                .entry-text a{
                    color:#fff;
                    background:transparent;
                }
                .entry-text a{
                    color: var(--thm_header_link_color);
                }
            }
            .search-drawer{
                color:var(--thm_header_text_color);
                background:var(--thm_header_bg_color);
                @include bg-gradient;
                h1,h2,h3,h4{
                    text-transform:var(--thm_heading-font-transform);
                    font-weight:var( --thm_heading_font_weight);
                    font-family: var(--thm_heading_font_family);
                }
                a{
                    color:var(--thm_header_text_color);
                }
            }
            .taxonomy-description{
                padding:var(--thm_content_gap, 24px);
            }
        }
    }
    &.customize-partial-edit-shortcuts-shown{
        // for customizer
        & > header{
            &.header-layer{
                color:var( --thm_header_text_color );
                // background: var( --thm_header_bg_color );
            }
        }
    }
    /**
     * Header Template Default
     * ========================================================================== */
    .template-part-header-custom{
        & + .primary-menu-wrapper{
            background:var(--thm_primary_menu_background);
            color:var(--thm_primary_menu_color);
            & + .primary-menu-wrapper{
                background:var(--thm_primary_menu_background);
                color:var(--thm_primary_menu_color);
                a{
                    color:var(--thm_primary_menu_link_color);
                }
            }
            .widget_nav_menu .children li:first-child:last-child a,
                .widget_nav_menu .sub-menu li:first-child:last-child a{
                border-bottom:none;
                color:var(--thm_sidebar_link_color);
            }
        }
    }
    /**
     * Custom Background
     * ========================================================================== */
    &.custom-background{

        /**
         * Custom Background Dark
         * ========================================================================== */
        &.is-dark{
            //  color:var(--thm_general_text_color);
            //  background:var(--thm_background_color);
            .wp-block-group{
                &.emulsion-add-dark-color{
                    color:#fff;
                }
                &.emulsion-add-light-color{
                    color:#333;
                }
                &.has-success-background-color{
                    color:#fff;
                }
                &.has-notice-background-color{
                    color:#fff;
                }
                &.has-info-background-color{
                    color:#fff;
                }
                &.has-alert-background-color{
                    color:#fff;
                }
            }
            .wp-block-group{
                &.emulsion-add-dark-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
                &.emulsion-add-light-color{
                    color:#333;
                    a{
                        color:#333;
                    }
                    figcaption{
                        color:#333;
                    }
                }
                &.has-success-background-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
                &.has-notice-background-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
                &.has-info-background-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
                &.has-alert-background-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
                &.has-cool-background-color{
                    color:#fff;
                    a{
                        color:#fff;
                    }
                    figcaption{
                        color:#fff;
                    }
                }
            }
            .wp-block-categories{
                color:#333;
            }
            .wp-block-latest-comments__comment-date{
                color:#fff;
            }
            .wp-block-calendar{
                table{
                    caption{
                        color:var(--thm_general_text_color);
                    }
                    th{
                        background:var(--thm_background_color);
                    }
                    tbody{
                        td{
                            background:var(--thm_background_color);
                        }
                    }
                }
            }
            .wp-block-embed-reddit .embedly-card-hug{
                background:#fff;
                color:#333;
            }
        }
        /**
         * Custom Background Light
         * ========================================================================== */
        &.is-light{
            // color:var(--thm_general_text_color);
            // background:var(--thm_background_color);
            .wp-block-categories{
                color:#333;
            }
            .wp-block-calendar{
                table{
                    caption{
                        color:var(--thm_general_text_color);
                    }
                    th{
                        background:var(--thm_background_color);
                    }
                    tr{
                        td{
                            background:var(--thm_background_color);
                        }
                    }
                }
            }
        }
        /**
         * Main Area
         * ========================================================================== */
        main{
            .taxonomy-description,
            .page-title-block,
            .site-title-text,
            .site-description,
            .header-text{
                z-index:7;
                text-shadow:none;
                color:var(--thm_general_text_color);
                a{
                    color:var( --thm_general_link_color);
                    background:transparent;
                }
            }
            .grid{
                .article-wrapper{
                    article{
                        header{

                            time,
                            a{
                                color:var(--thm_sidebar_link_color);
                            }
                            &.has-post-image{
                                color:#fff;
                                time,
                                a{
                                    color:#fff;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    /**
     * Custom Background Image
     * ========================================================================== */
    // background-color:var(--thm_background_color);
    $light-color:lighten($background_color, 10%);
    &.emulsion-has-custom-background-image{
        /**
         * Custom Background Color Light
         * ========================================================================== */
        &.is-light{
        }
        /**
         * Custom Background Color Dark
         * ========================================================================== */
        &.is-dark{
        }
    }
    /**
     * Single Post
     * ========================================================================== */
    &.single{
        .header-layer{
            &.no-header-media{
                &.template-part-header-custom{
                    .site-title .site-title-text,
                    .taxonomy-description a,
                    .taxonomy-description,
                    .emulsion-monthly-archive-prev-next-navigation a,
                    .archive-year-links,
                    .archive-year-links a,
                    .site-description,
                    .header-text a,
                    .entry-text .entry-title,
                    .entry-text .entry-date,
                    .entry-text .posted-on a,
                    .entry-text .entry-meta a{
                        text-shadow:none;
                    }
                }
            }
        }
        &.is-dark{
            .nav-previous{
            }
        }
        &.is-light{
            .nav-previous{
                &:hover{
                    background:#fff;
                }
            }
        }
    }
    /**
     * Archive
     * ========================================================================== */
    &.archive{
        .header-layer{
            .emulsion-monthly-archive-prev-next-navigation a{
                text-shadow:none;
            }
            .taxonomy-description{
                color:var(--thm_header_text_color);
            }
        }
    }
    /**
     * Is Paged
     * ========================================================================== */
    &.paged{
        .header-layer{
            &.header-image-active,
            &.no-header-media,
            &.header-video-active{
                &.template-part-header-custom{
                    .site-title .site-title-text,
                    .taxonomy-description a,
                    .taxonomy-description,
                    .emulsion-monthly-archive-prev-next-navigation a,
                    .archive-year-links,
                    .archive-year-links a,
                    .site-description,
                    .header-text a,
                    .entry-text .entry-date,
                    .entry-text .entry-title,
                    .entry-text .posted-on a,
                    .entry-text .entry-meta a{
                        text-shadow:none;
                    }
                }
            }
        }
    }
    .drawer-wrapper{
    }
    .wp-block-group{
        &.emulsion-add-dark-color{
            color:#fff;
            a{
                color:#fff;
            }
            figcaption{
                color:#fff;
            }
        }
        &.emulsion-add-light-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
        &.has-success-background-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
        &.has-notice-background-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
        &.has-info-background-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
        &.has-alert-background-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
        &.has-cool-background-color{
            color:#333;
            a{
                color:#333;
            }
            figcaption{
                color:#333;
            }
        }
    }
}
body{
    &.has-category-colors{
        & > header{
            &.header-layer{
                &.no-header-media{
                    .entry-text{
                        .entry-meta{
                            .cat-item{
                                a{
                                    color: var(--thm_header_link_color);
                                    background:transparent;
                                    text-shadow:none;
                                }
                            }
                        }
                    }

                }


            }
        }
        &.category{
            & > header{
                &.header-layer{
                    &.template-part-header{
                        .header-layer-site-title-navigation{
                            .site-title-text{
                                color:#fff;
                            }
                            .site-description{
                                color:#fff;
                            }
                            .nav-menu-child-opener-label{
                                &:before{
                                    background: url(#{$theme_image_dir}svg/arrow-down.svg#white);
                                    background-size: contain;
                                    filter:none;
                                    -webkit-filter:none;
                                }
                            }
                            .nav-menu-child-opener[type="checkbox"]:checked ~ label{
                                &:before {
                                    content:' ';
                                    background:url('#{$theme_image_dir}svg/arrow-up.svg#white');
                                    background-size:contain;
                                }
                            }
                        }
                    }
                }
            }
        }
        .page-wrapper{
            article{
                header{
                    .entry-meta{
                        .post-category{
                            .cat-item{
                                a{
                                    color:var(--thm_general_link_color);
                                }
                                &.current-cat{
                                    a{
                                        color:#fff;
                                    }
                                }
                            }
                        }
                    }
                }
                &.has-post-thumbnail{
                    header{
                        .entry-meta{
                            .post-category{
                                .cat-item{
                                    a{
                                        color:#fff;
                                    }
                                    &.current-cat{
                                        a{
                                            color:#fff;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    //
    &.disable-category-colors{
        & > header{
            &.header-layer{
                &.no-header-media{
                    .entry-text{
                        .entry-meta{
                            .cat-item{
                                a{
                                    color: var(--thm_header_link_color);
                                    background:transparent;
                                    text-shadow:none;
                                }
                            }
                        }
                    }
                }
            }
        }
        .page-wrapper{
            article{
                header{
                    .entry-meta{
                        .post-category{
                            .cat-item{
                                a{
                                    color:var(--thm_general_link_color);
                                }
                            }
                        }
                    }
                }
                &.has-post-thumbnail{
                    header{
                        .entry-meta{
                            .post-category{
                                .cat-item{
                                    a{
                                        color:#fff;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
/**
 * Main
 * ========================================================================== */
a{
    color:var(--thm_general_link_color);
    &:hover{
        color:var(--thm_general_link_hover_color);
    }
}
a:any-link{
    color:var(--thm_general_link_color);
    &:hover{
        color:var(--thm_general_link_hover_color);
    }
}
a:-moz-any-link{
    color:var(--thm_general_link_color);
    &:hover{
        color:var(--thm_general_link_hover_color);
    }
}
a:-webkit-any-link{
    color:var(--thm_general_link_color);
    &:hover{
        color:var(--thm_general_link_hover_color);
    }
}
body{
    $background_tranparent_hover:rgba(188, 188, 188, .2);
    .wp-block-gallery .blocks-gallery-item{
        background: repeating-linear-gradient( 135deg, transparent, rgba(255,255,255,.3) 2px, rgba(255,255,255,.1) 3px, rgba(255,255,255,.1) 5px );
    }
    .primary-menu-wrapper{
        background:var(--thm_primary_menu_background);
        color:var(--thm_primary_menu_color);
        a{
            color:var(--thm_primary_menu_link_color);
        }
        nav{
            .wp-nav-menu{
                .sub-menu li,
                .children li,
                .sub-menu,
                .children{
                    background:var(--thm_primary_menu_background);
                    color:var(--thm_primary_menu_color);
                    a{
                        color:var(--thm_primary_menu_link_color);
                    }
                }
            }
        }
    }
    // .entry-content{
    .wp-block-tag-cloud{
        background:var(--thm_general_background);
        &:hover{
            // background:$background_tranparent_hover;
        }
        color: var(--thm_general_text_color);
        a{
            color: var(--thm_general_link_color);
        }
    }
    //  }
    .wp-block-cover-text{
        a{
            color:var(--thm_general_link_color);
        }
    }
    &.disable-category-colors{
        .sidebar-widget-area{
            .widget_categories{
            }
        }
        .footer-widget-area{
            .widget_categories{
            }
        }
    }

    .sidebar-widget-area{
        &.sidebar-is-light,
        &.sidebar-is-dark{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);
            a{
                color:var(--thm_sidebar_link_color);
            }
            .widget:not(.widget_categories){
            }
            .widget_nav_menu{
            }
            th,td{
                color:var(--thm_sidebar_text_color);
                a{
                    color:var(--thm_sidebar_link_color);
                }
            }
        }
    }
    .footer-layer{
        &.sidebar-is-light,
        &.sidebar-is-dark{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);
            .footer-widget-area{
                a{
                    color:var(--thm_sidebar_link_color);
                    &:hover{
                        color:var(--thm_sidebar_text_color);
                    }
                }
                .widget {
                }
                .widget_nav_menu{
                }
            }
            th,td{
                color:var(--thm_sidebar_text_color);
                a{
                    color:var(--thm_sidebar_link_color);
                }
            }
        }
        .banner{
            background:var(--thm_sidebar_bg_color);
            color:var(--thm_sidebar_text_color);

            a{
                color:var(--thm_sidebar_link_color);
                &:hover{
                    color:var(--thm_sidebar_hover_color);
                }
            }
        }
    }
}
main{
    color: var(--thm_general_text_color);
}
.page-wrapper{
    article{
        color: var(--thm_general_text_color);
        a{
            color:var(--thm_general_link_color);
        }
        header{
            .entry-title{
                text-transform:var(--thm_heading-font-transform);
                font-weight:var( --thm_heading_font_weight);
                font-family:var(--thm_heading_font_family);
                color: var(--thm_general_text_color);
                a{
                    color:var(--thm_general_link_color);
                }
            }
            .posted-on{
                a{
                    color:var(--thm_general_link_color);
                    .entry-date{
                        color:var(--thm_general_link_color);
                    }
                }
            }
            .entry-meta{
                a{
                    color:var(--thm_general_link_color);
                }
                .cat-item{
                    a{
                        color:var(--thm_general_link_color);
                    }
                }
            }
            &.has-post-image{
                color:#fff;
                background-color:#000;
                .entry-title{
                    color:#fff;
                    a{
                        color:#eee;
                    }
                }
                .posted-on{
                    a{
                        color:#eee;
                    }
                }
                .entry-meta{
                    a{
                        color:#eee;
                    }
                }
                a{
                    &.text-link{
                        color:#eee;
                    }
                    .entry-date{
                        color:#eee;
                    }
                }
            }
        }
        &.sticky{
            header{
                .entry-title:before{
                    content:'\1f4cc';
                    position:absolute;
                    color:currentColor;
                    display:inline-block;
                    left:-2rem;
                }
            }
        }
    }
}
.entry-content{
    color: var(--thm_general_text_color);
    a{
        color:var(--thm_general_link_color);
    }
    .wp-block-cover-text{
        a{
            color:var(--thm_general_link_color);
        }
    }
}
.comment-wrapper{
    color:var(--thm_comments_color);
    background:var(--thm_comments_bg);
    a{
        color:var(--thm_comments_link_color);
    }
    .comments{
        article{
            color:var(--thm_comments_color);
            background:var(--thm_comments_bg);
            a{
                color:var(--thm_comments_link_color);
            }
        }
    }
    .comment-reply-title{
        color:var(--thm_comments_color);
    }
    .logged-in-as{
        a{
            color:var(--thm_comments_link_color);
        }
    }
    .comment-form-comment{
        label{
            color:var(--thm_comments_color);
        }
    }
    .comment-notes{
        color:var(--thm_comments_color);
    }
    .required{
        color:var(--thm_comments_color);
    }
    .comment-form-author{
        label{
            color:var(--thm_comments_color);
        }
    }
    .comment-form-email{
        label{
            color:var(--thm_comments_color);
        }
    }
    .comment-form-url{
        label{
            color:var(--thm_comments_color);
        }
    }
    .paginate-comment-links{
        a{
            color:var(--thm_comments_link_color);
        }
    }
    [type="submit"]{
        border:1px solid rgba(188,188,188,.5);
    }
}
.relate-content-wrapper{
    background:var(--thm_relate_posts_bg);
    color:var(--thm_relate_posts_color);
    a{
        color:var(--thm_relate_posts_link_color);
    }
}
.paginate-comment-links{
    .current{
        color:var( --thm_header_text_color );
        background: var( --thm_header_bg_color );
    }
}
.emulsion-table-wrapper{
    &::-webkit-scrollbar-thumb{
        background-color: currentColor;
    }
}
.grid{
    .article-wrapper{
        article{
            header{
                background: rgba(188, 188, 188, .2);

                background-size:cover;
                color:var(--thm_general_text_color);
                a{
                    color:var(--thm_general_link_color);
                }
                &.has-post-image{
                    color:#fff;
                    background-size:cover;
                    a{
                        color:#fff;
                    }
                }
            }
        }
    }

}

.stream{
    article{
        .stream-wrapper{
            color:var(--thm_general_text_color);
            .entry-title{
                text-transform:var(--thm_heading-font-transform);
                font-weight:var( --thm_heading_font_weight);
                font-family:var(--thm_heading_font_family);
                color: var(--thm_general_text_color);
                a{
                    color:var(--thm_general_link_color);
                }
            }
            .posted-on{
                color: var(--thm_general_text_color);
                a{
                    color:var(--thm_general_link_color);
                    .entry-date{
                        color:var( --thm_general_link_hover_color);
                    }
                }
            }
        }
    }
}
.wp-block-latest-posts__post-date,
.is-style-emulsion-inline li,
.horizontal-list-group li,
.attachment-pdf .attachment img,
.wp-list-comments > li,
.reply a,
th,
td,
.wp-block-latest-posts > li,
.wp-block-rss.is-grid > li,
.wp-block-categories > ul > li,
fieldset,
.wp-block-table td,
.page-break-links > span,
.page-break-links a,
.wp-block-code,
main .nav-links > div,
.solid-border,
.wp-caption,
.entry-meta li,
kbd,
.paginate-comment-links a,
ins:hover:before,
del:hover:before,
figcaption,
.wp-block-image figcaption, /* overwite core */
hr,
.article-wrapper{
    color:var(--thm_general_text_color);
}
.wp-block-rss__item-author,
.wp-block-rss__item-publish-date{
    color:var(--thm_general_text_color);
}
.current{
    background:rgba(188, 188, 188, .2);
}
body .current-page{
    background:rgba(188, 188, 188, .2);
}
.pagination .current,
.pagination .prev,
.pagination .next{
    color:var(--thm_general_text_color);
    background:rgba(188, 188, 188, .2);
}
.emulsion-table-wrapper{
    &::-webkit-scrollbar-thumb{
        background-color: currentColor;
    }
}
/**
 * Table
 * ========================================================================== */
table{
    $table_light_gray_background:#f3f4f5;
    $table_pale_green_background:#e9fbe5;
    $table_pale_blue_background:#e7f5fe;
    $table_pale_pink_background:#ffccf8;
    --thm_table_light_gray_background:$table_light_gray_background;
    --thm_table_pale_green_background:$table_pale_green_background;
    --thm_table_pale_blue_background:$table_pale_blue_background;
    --thm_table_pale_pink_background:$table_pale_pink_background;
    &.wp-block-table{
        background: var(--thm_background_color);
        &.has-background{
            th{
                color:#333;
            }
            td{
                color:#333
            }
        }
        &.is-style-stripes{
            border:none;
            thead{
                tr{
                    border:none;
                    background:inherit;
                    filter:brightness(90%);
                    th{
                        border:none;
                    }
                }
            }
        }
        &.has-subtle-light-gray-background-color{
            background:var(--thm_table_light_gray_background);
            &.is-style-stripes{
                thead{
                    background:desaturate($table_light_gray_background, 40%);
                    filter:brightness(60%);
                }
                tr:nth-child(even) {
                    background:saturate($table_light_gray_background, 30%);
                    filter:brightness(130%);
                }
                tr:nth-child(odd) {
                }
            }
        }
        &.has-subtle-pale-green-background-color{
            background:var(--thm_table_pale_green_background);
            &.is-style-stripes{
                thead{
                    background:desaturate($table_pale_green_background, 40%);
                    filter:brightness(60%);
                }
                tr:nth-child(even) {
                    background:saturate($table_pale_green_background, 30%);
                    filter:brightness(130%);
                }
                tr:nth-child(odd) {
                }
            }
        }
        &.has-subtle-pale-blue-background-color{
            background:var(--thm_table_pale_blue_background);
            &.is-style-stripes{
                thead{
                    background:desaturate($table_pale_blue_background, 40%);
                    filter:brightness(60%);
                }
                tr:nth-child(even) {
                    background:saturate($table_pale_blue_background, 30%);
                    filter:brightness(130%);
                }
                tr:nth-child(odd) {
                }
            }
        }
        &.has-subtle-pale-pink-background-color{
            background:var(--thm_table_pale_pink_background);
            &.is-style-stripes{
                thead{
                    background:desaturate($table_pale_pink_background, 40%);
                    filter:brightness(60%);
                }
                tr:nth-child(even) {
                    background:saturate($table_pale_pink_background, 30%);
                    filter:brightness(130%);
                }
                tr:nth-child(odd) {
                }
            }
        }
    }
}
/**
 * Editor Color Palette
 * ========================================================================== */
@each $color_pallet in $editor_color_palettes {
    $slug: nth($color_pallet, 1);
    $color: nth($color_pallet, 2);
    .has-#{$slug}-color {
        color:#{$color};
    }
    .has-#{$slug}-background-color {
        background:#{$color};
        background-size:cover;
    }
}
// over write custom color
article .has-custom-color {
    color:var(--thm_favorite_color_palette);
}
article .has-custom-background-color {
    background:var(--thm_favorite_color_palette);
}
.entry-content{
    .has-black-color{
        color:#333;

    }
    .has-gray-color{
        color:#727477;

    }
    .has-white-color{
        color:#ffffff;

    }
    .has-alert-color{
        color:rgba(231, 76, 60, 1);

    }
    .has-notice-color{
        color:rgba(163, 140, 8, 1);

    }
    .has-info-color{
        color:rgba(22, 160, 133, 1);

    }
    .has-cool-color{
        color:rgba(52, 152, 219, 1);

    }
}
/**
 * Theme Color Classes
 * ========================================================================== */
.has-stripe-background-color,
.mark-stripe{
    background:repeating-linear-gradient( 45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px );
}
.mark-success,
.mark-cool{
    background:rgba(52, 152, 219,.4);
}
.mark-notice{
    background:rgba(163, 140, 8,.4);
}
.mark-info{
    background:rgba(22, 160, 133,.4);
}
.has-alert-background-color,
.mark-alert{
    background:rgba(231, 76, 60,.4);
}
p[class|="mark"]{
    //p[class*=" mark"]{
    padding:1em;
    box-sizing:border-box;
}
[class^="color"]{
    padding:1em;
}
.scss_errors{
    color:red!important;
    background:#fff!important;
}
.search-info li ul li{
    display:none;
}
.relate-post-no-icon{
    color:var( --thm_header_text_color );
    background: var( --thm_header_bg_color );
    text-transform: uppercase;
}
svg#loader-1{
    width:32px!important;
    height:32px!important;
    max-width:32px!important;
}

/**
 * skin-button
 * ========================================================================== */
a.skin-button{
    color:var( --thm_header_text_color );
    background: rgba(188, 188, 188, .2);
}
.template-part-content-attachment,
.template-part-content{
    a.skin-button{
        color:var( --thm_header_text_color );
        background: rgba(188, 188, 188, .2);
    }
}
.is-dark .header-is-default-color ~ .page-wrapper,
// 1col
.is-dark .header-is-default-color ~ .layout-block{
    // 2col
    a.skin-button{
        // color:var( --thm_general_link_color );
    }
    .template-part-content-attachment,
    .template-part-content{
        a.skin-button{
            //   color:var( --thm_general_link_color );
        }
    }
}
.entry-content .wp-block-file a.wp-block-file__button{
    color:var( --thm_header_text_color );
    background: var( --thm_header_bg_color );
}


.wp-block-search .wp-block-search__button{

    //color:var( --thm_header_text_color );
    background: var( --thm_header_bg_color );

    &:before{
        background: url(#{$theme_image_dir}svg/search.svg#white);
        background-size:16px 16px;
        background-position:16px 0;
        background-repeat:no-repeat;
    }
}
/**
 * Block Button
 * ========================================================================== */
.entry-content{
    .wp-block-button{
        &.is-style-outline{
            .wp-block-button__link{
                color:var( --thm_header_link_color );
                background: var( --thm_header_bg_color );
                &:not(.has-text-color),
                    &:not(.has-text-color):active,
                    &:not(.has-text-color):focus,
                    &:not(.has-text-color):hover{
                    color:currentColor;
                    color:var(--thm_general_link_color);

                }
                &:not(.has-background),
                    &:not(.has-background):active,
                    &:not(.has-background):focus,
                    &:not(.has-background):hover{
                    background:transparent;
                }
            }
        }
        &.is-style-default{
            .wp-block-button__link{
                border-radius:calc( var(--thm_common_font_size) * var(--thm_content_line_height));
            }
        }
        &.is-style-squared{
            .wp-block-button__link{
                border-radius:0;
            }
        }
        .wp-block-button__link{
            &:not(.has-text-color),
                &:not(.has-text-color):active,
                &:not(.has-text-color):focus,
                &:not(.has-text-color):hover{
                color:#fff;
            }
            &:not(.has-background),
                &:not(.has-background):active,
                &:not(.has-background):focus,
                &:not(.has-background):hover{
                color:var(--thm_general_link_color);
                &:hover{
                    // color:var(--thm_general_link_hover_color);
                }
            }
            &:not(.has-background):not(.has-text-color){
                color:var( --thm_header_text_color );
                background: var( --thm_header_bg_color );
            }
            &.has-background{
                position:relative;
            }
            &.has-success-background-color{
                color:#333;
            }
            &.has-notice-background-color{
                color:#333;
            }
            &.has-info-background-color{
                color:#333;
            }
            &.has-alert-background-color{
                color:#333;
            }
            &.has-cool-background-color{
                color:#333;
            }
            &.has-black-color{
                color:#333;
                background-color:inherit;
            }
            &.has-gray-color{
                color:#727477;
                background-color:inherit;
            }
            &.has-white-color{
                color:#ffffff;
                background-color:inherit;
            }
            &.has-alert-color{
                color:rgba(231, 76, 60, 1);
                background-color:inherit;
            }
            &.has-notice-color{
                color:rgba(163, 140, 8, 1);
                background-color:inherit;
            }
            &.has-info-color{
                color:rgba(22, 160, 133, 1);
                background-color:inherit;
            }
            &.has-cool-color{
                color:rgba(52, 152, 219, 1);
                background-color:inherit;
            }
        }
        &.aligncenter{
            width:fit-content;
            padding:0;
        }
        &.button-has-background{
            a{
                &:before {
                    content: '';
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    background: #fff;
                    left: 0;
                    top: 0;
                    border-radius: 1.5rem;
                }
            }
        }
        &.is-style-squared{
            a{
                &:before {
                    content: '';
                    border-radius: 0;
                }
            }
        }
        &.is-style-outline{
            &:before{
                display:none;
            }
            a{
                &.text-link{
                    color: var(--thm_general_text_color);
                    background:transparent;
                    border:1px solid rgba(188,188,188,.5);
                }
            }
        }
        &.is-style-default{
            border-radius: calc(var(--thm_common_font_size) * var(--thm_content_line_height));
            overflow:hidden;
        }
    }
    .wp-block-archives {
        li{
            color: var(--thm_general_text_color);
            a{
                color: var(--thm_general_link_color);
            }
            .emulsion-archive-count{
                color:var(--thm_header_text_color);
            }
        }
    }
    .wp-block-categories{
        .emulsion-cat-count{
            color: var(--thm_general_text_color);
        }
    }
}
body{
    .widget,
    .entry-content{
        .is-style-emulsion-dark{
            &.wp-block-code{
                background:#000;
                code{
                    background:transparent;
                    color:green;
                }
            }
        }
    }
}
/**
 * Sectionize
 * ========================================================================== */
[class|="sectionized"]{
    //[class*=" sectionized"]{
    background: #ccc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow:hidden;
    transition:background .5s ease-in-out;
    background:transparent;
    &.sectionized-wp-block-latest-posts{
        padding-top:1.5rem;
        padding-bottom:1.5rem;
        background:transparent;
    }
    &.sectionized-wp-block-columns{
        background:transparent;
    }
    &.sectionized-wp-block-quote{
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    &.sectionized-wp-block-pullquote{
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        background:transparent;
    }
    &.sectionized-wp-block-button{
        background:transparent;
    }
    &.sectionized-wp-block-separator{
        background:transparent;
    }
    &.sectionized-wp-block-spacer{
        background:transparent;
    }
    &.sectionized-wp-block-file{
        background:transparent;
    }
    &.sectionized-wp-block-archives{
        background:transparent;
    }
    &.sectionized-wp-block-categories{
        background:transparent;
    }
    &.sectionized-wp-block-embed-wordpress{
        background:transparent;
    }
    &.sectionized-wp-block-embed-screencast{
        background:transparent;
    }
    &.sectionized-wp-block-embed-reddit{
        background:transparent;
        .wp-block-embed-reddit{
            background:#fff;
        }
    }
    .wp-block-embed-reddit{
        &.alignright,
        &.aligncenter,
        &.alignleft{
            background:#fff;
        }
    }
    &.sectionized-wp-block-embed-twitter{
        background:transparent;
    }
    &.sectionized-wp-block-audio{
        background:transparent;
    }
    &[class|="sectionized-wp-block-embed"]{
        //&[class*=" sectionized-wp-block-embed"]{
        background:transparent;
    }
    &:focus-within{
        //pending
       // background:rgba(243, 156, 18,.1);
    }
    &.sectionized-wp-block-latest-comments{
        padding-top:1.5rem;
        padding-bottom:.75rem;
        background:transparent;
    }
    /**
     * Theme Custom Class no-margin
     */
    &.sectionized-wp-block-media-text{
        color:var(--thm_media_text_section_color);
        background:var(--thm_media_text_section_bg);
        z-index:-1;
        position:relative;
        margin-top:0;
        margin-bottom:0;
        min-height:var(--thm_media_text_section_height);
        .wp-block-media-text{
            color:var(--thm_media_text_section_color);
            margin-top:calc(var(--thm_box_gap) );
            margin-bottom:calc(var(--thm_box_gap));
            h1,h2,h3,h4,h5,h6{
                color:var(--thm_media_text_section_color);
            }
            li{
                color:var(--thm_media_text_section_color);
            }
            a{
                color:var(--thm_media_text_section_link_color);
            }
        }
    }
    &.sectionized-wp-block-columns{
        color:var(--thm_columns_section_color);
        background:var(--thm_columns_section_bg);
        min-height:var(--thm_columns_section_height);
        margin-top:0;
        margin-bottom:0;

        .wp-block-columns{

            margin-top:calc(var(--thm_box_gap) );
            margin-bottom:calc(var(--thm_box_gap));
            color:var(--thm_columns_section_color);

            figure{
                figcaption{
                    color:var(--thm_columns_section_color);
                    a{
                        color:var(--thm_columns_section_link_color);
                    }
                }
            }
            a{
                color:var(--thm_columns_section_link_color);
            }

        }
        &.columns-is-default{
            background:transparent;
        }

        &.columns-is-dark{
            .wp-block-calendar table th{
                background:#555;
            }
        }
        &.columns-is-light{
            .wp-block-calendar table th{
                background:#eee;
            }
        }
        &.columns-is-dark,
        &.columns-is-light{
            .wp-block-latest-posts__post-date,
            .is-style-emulsion-inline li,
            .horizontal-list-group li,
            .attachment-pdf .attachment img,
            .wp-list-comments > li,
            .reply a, th, td,
            .wp-block-latest-posts > li,
            .wp-block-rss.is-grid > li,
            .wp-block-categories > ul > li, fieldset,
            .wp-block-table td,
            .page-break-links > span,
            .page-break-links a, .wp-block-code,
            main .nav-links > div,
            .solid-border,
            .wp-caption,
            .entry-meta li,
            kbd,
            .wp-block-calendar td,
            .wp-block-calendar th,
            .paginate-comment-links a,
            ins:hover:before,
                del:hover:before,
                figcaption,
                .wp-block-image
                figcaption,
                caption,
                hr,
                .article-wrapper{
                color:var(--thm_columns_section_color);

            }
            table.wp-block-table{
                background:var(--thm_columns_section_bg);
            }
        }
    }
    &.sectionized-wp-block-gallery{
        color:var(--thm_gallery_section_color);
        background:var(--thm_gallery_section_bg);
        min-height:var(--thm_gallery_section_height);
        .wp-block-gallery{
            margin-top:calc(var(--thm_box_gap) );
            margin-bottom:calc(var(--thm_box_gap));
            a{
                color:var(--thm_gallery_section_link_color);
            }
        }
    }
    &.sectionized-wp-block-cover{
        .wp-block-cover{
            margin-top:0;
            margin-bottom:0;
        }
    }
    &.sectionized-wp-block-image{
        .wp-block-image{
            margin-top:0;
            margin-bottom:0;
            background:var(--thm_background_color);
        }
    }
}
/**
 * Plugin fallback
 * START
 * ========================================================================== */
.is-dark{
    .entry-content .shortcode-wrapper,
    .entry-content > div[id]{
        padding:1rem;
    }
}
#{$body_id}{
    .entry-content{
        & > .wp-block-group[style|="background"],
        // & > .wp-block-group[style*=" background"],
        & > .emulsion-table-wrapper > table,
        & > p:not(.has-text-color),
            & > div:not([class|="wp-block"]){
            // & > div:not([class*=" wp-block"]){
            &.emulsion-initial-color{
                padding:1rem;
                color:initial;
                a{
                    color:initial;
                }
            }
            &.emulsion-initial-color{
                color:#333;
                a{
                    color: #777;
                }
            }
            &.emulsion-current-color{
                //TODO
                color:var(--thm_general_text_color);
                background:var(--thm_background_color);
                a{
                    color:var(--thm_general_link_color);
                }
            }
            &.emulsion-table-wrapper{
                &.emulsion-current-color{
                    background:transparent;
                }
            }
            &.emulsion-initial-color{
                color:initial;
            }
            &.emulsion-add-light-color{
                color:#333 ! important;
                a{
                    color:#777;
                }
            }
            &.emulsion-add-dark-color{
                color:#fff ! important;
                a{
                    color:#ccc;
                }
            }
        }
    }
}
.sidebar-widget-area{
    .widget[id]{
        & > .widgettitle{
            padding-left:var(--thm_content_gap);
            padding-right:var(--thm_content_gap);
        }
        & > div,
        & > ol,
        & > ul{
            overflow:hidden;
            padding-left:var(--thm_content_gap);
            padding-right:var(--thm_content_gap);
            .flex-control-nav{
                display:flex;
            }
        }
    }
}
/**
 * Plugin fallback
 * END
 * ========================================================================== */
/**
 * Hover
 */
@media(hover: hover) and (pointer: fine) {
    //.header-is-light,
    //.header-is-dark{
    & ~ .page-wrapper{
        //no sidebar
        a.skin-button:hover{
            color:var( --thm_header_hover_color );
            background: var( --thm_header_bg_color );
        }
        .template-part-content-attachment,
        .template-part-content{
            a.skin-button:hover{
                color:var( --thm_header_hover_color );
                background: var( --thm_header_bg_color );
            }
        }
    }
    & ~ .layout-block{
        //has sidebar
        .page-wrapper{
            a.skin-button:hover{
                color:var( --thm_header_hover_color );
                background: var( --thm_header_bg_color );
            }
            .template-part-content-attachment,
            .template-part-content{
                a.skin-button:hover{
                    color:var( --thm_header_hover_color );
                    background: var( --thm_header_bg_color );
                }
            }
        }
    }
    & ~ .scroll-button-top{
        &.skin-button:hover{
            color:var( --thm_header_hover_color );
            background: var( --thm_header_bg_color );
        }
    }
    // }
    .custom-background{
        &.is-dark{
            .post-navigation{
                .nav-links{
                    .nav-previous{
                        a{
                            &:hover{
                                color: var(--thm_general_link_hover_color);
                            }
                        }
                    }
                    .nav-next{
                        color:var(--thm_general_text_color);
                        a{
                            &:hover{
                                color: var(--thm_general_link_hover_color);
                            }
                        }
                    }
                }
            }
        }
        &.is-light{
            .post-navigation{
                .nav-links{
                    a{
                        &:hover{
                            color: var(--thm_general_link_hover_color);
                        }
                    }
                }
                .nav-next{
                    color:var(--thm_general_text_color);
                    a{
                        &:hover{
                            color: var(--thm_general_link_hover_color);
                        }
                    }
                }
            }
        }
    }
    .sidebar-is-light{
        .footer-widget-area-lists,
        .sidebar-widget-area-lists{
            .widget li:hover{
            }
            .widget li:last-child:hover{
                border-bottom:none;
            }
        }
    }
    .sidebar-is-dark{
        .footer-widget-area-lists,
        .sidebar-widget-area-lists{
            .widget li:last-child:hover,
                .widget li:last-child{
                border-bottom:none;
            }
        }
    }
    body{
        $background_tranparent_hover:rgba(188, 188, 188, .2);
        &.on-scroll{
            .menu-placeholder{
                .toc{
                    a{
                        &:hover{
                            color: var(--thm_hover_color);
                        }
                    }
                }
            }
        }
        /**
         * Sidebar
         * ========================================================================== */
        .sidebar-widget-area{
            &.sidebar-is-default{
                a{
                    &:hover{
                        color:var(--thm_general_link_hover_color);
                    }
                }
            }
            &.sidebar-is-light,
            &.sidebar-is-dark{
                a{
                    &:hover{
                        color:var(--thm_sidebar_hover_color);
                    }
                }
            }
        }
        & > header{
            &.header-is-dark{
                a{
                    &:hover{
                        // color: var(--thm_hover_color);
                        color:var(--thm_header_hover_color);
                        background:transparent;
                    }
                }
            }
            &.header-is-light{
                a{
                    &:hover{
                        // color: var(--thm_hover_color);
                        color:var(--thm_header_hover_color);
                        background:transparent;
                    }
                }
            }
            &.template-part-header{
                .header-layer-site-title-navigation{
                    a{
                        &:hover{
                            color:var(--thm_header_hover_color);
                        }
                    }
                }
                .header-layer-nav-menu{
                    .has-chckbox-control{
                        .menu{
                            li{
                                a{
                                    &:hover{
                                        color:var(--thm_header_hover_color);
                                    }
                                }
                            }
                        }
                    }
                }
                &.header-is-dark{
                    .header-layer-nav-menu{
                        .wp-nav-menu{
                            .sub-menu,
                            .children{
                                li:hover{
                                    color:var(--thm_header_hover_color);
                                    background:#000;
                                }
                            }
                        }
                    }
                }
                &.header-is-light{
                    .header-layer-nav-menu{
                        .wp-nav-menu{
                            .sub-menu,
                            .children{
                                li:hover{
                                    color:var(--thm_header_hover_color);
                                    background:#fff;
                                }
                            }
                        }
                    }
                }
            }
            &.header-layer{
                .widget_nav_menu .children a,
                .widget_nav_menu .sub-menu a{
                    &:hover{
                        color: var(--thm_general_link_hover_color);
                    }
                }
                &.no-header-media{
                    .taxonomy-description,
                    .page-title-block,
                    .site-title-text,
                    .site-description,
                    .header-text{
                        a{
                            &:hover{
                                // color: var(--thm_hover_color);
                                color:var(--thm_header_hover_color);
                            }
                        }
                    }
                    .entry-text{
                        .posted-on{
                            .entry-date,
                            a{
                                &:hover{
                                    color: var(--thm_header_hover_color);
                                }
                            }
                        }
                        .entry-meta{
                            a{
                                &:hover{
                                    color: var(--thm_header_hover_color);
                                    background:rgba(188,188,188,.2);
                                }
                            }
                            .cat-item{
                                a{
                                    &:hover{
                                        color:#fff;
                                    }
                                }
                            }
                        }
                    }
                }
                &.cta-layer-active{
                    .cta-layer{
                        a{
                            &:hover{
                                //filter: brightness(110%);
                            }
                        }
                    }
                }
                &.header-is-default-color{
                    .cta-layer{
                        a{
                            &:hover{
                                background:#ccc;
                            }
                        }
                    }
                }
                &.header-is-light{
                    .cta-layer{
                        a{
                            &:hover{
                                background:#ccc;
                            }
                        }
                    }
                }
                &.header-is-dark{
                    .cta-layer{
                        a{
                            &:hover{
                                filter: brightness(110%);
                            }

                        }
                    }
                }
                &.header-video-active{
                    &.template-part-header-custom{
                        &.cta-layer-active{
                            .cta-layer{
                                a{
                                    &:hover{
                                        filter: brightness(120%);
                                    }
                                }
                            }
                        }
                    }
                    .site-title .site-title-text,
                    .entry-text,
                    .entry-text a,
                    .site-description,
                    .header-text a{
                        &:hover{
                            color: var(--thm_header_hover_color);
                        }
                    }
                }
                &.header-image-active{
                    &.template-part-header-custom{
                        &.cta-layer-active{
                            .cta-layer{
                                a{
                                    &:hover{
                                        filter: brightness(120%);
                                    }
                                }
                            }
                        }
                    }
                    .entry-text a{
                        &:hover{
                            color: var(--thm_header_hover_color);
                        }
                    }
                }
            }
        }
        /**
         * Header Template Default
         * ========================================================================== */
        .template-part-header-custom{
            & + .primary-menu-wrapper{
                & + .primary-menu-wrapper{
                    a{
                        &:hover{
                            color:var(--thm_primary_menu_color);
                        }
                    }
                }
            }
        }
        /**
         * Custom Background
         * ========================================================================== */
        &.custom-background{
            main{
                .taxonomy-description,
                .page-title-block,
                .site-title-text,
                .site-description,
                .header-text{
                    a{
                        &:hover{
                            color: var(--thm_general_link_hover_color);
                        }
                    }
                }
                .grid{
                    .article-wrapper{
                        article{
                            header{
                                time,
                                a{
                                    &:hover{
                                        color:var( --thm_sidebar_text_color);
                                    }
                                }
                                &.has-post-image{
                                    time,
                                    a{
                                        &:hover{
                                            color:#fff;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        &.single{
            &.is-dark{
                .nav-previous{
                    &:hover{
                        background:$background_tranparent_hover;
                    }
                }
                .nav-next{
                    &:hover{
                        background:$background_tranparent_hover;
                    }
                }
            }
            &.is-light{
                .nav-previous{
                    &:hover{
                        background:#fff;
                    }
                }
                .nav-next{
                    &:hover{
                        background:#fff;
                    }
                }
            }
        }
        .drawer-wrapper{
            .icon:hover{
                fill: var(--thm_hover_color);
            }
        }
    }
    body{
        &.has-category-colors{
            & > header{
                &.header-layer{
                    &.no-header-media{
                        .entry-text{
                            .entry-meta{
                                .cat-item{
                                    a{
                                        &:hover{
                                            color: var(--thm_header_hover_color);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .page-wrapper{
                article{
                    header{
                        .entry-meta{
                            .post-category{
                                .cat-item{
                                    a{
                                        &:hover{
                                            color:#fff;
                                        }
                                    }
                                    &.current-cat{
                                        a{
                                        }
                                    }
                                }
                            }
                        }
                    }
                    &.has-post-thumbnail{
                        header{
                            .entry-meta{
                                .post-category{
                                    .cat-item{
                                        a{
                                            &:hover{
                                                color:#fff;
                                            }
                                        }
                                        &.current-cat{
                                            a{
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        //
        &.disable-category-colors{
            & > header{
                &.header-layer{
                    &.no-header-media{
                        .entry-text{
                            .entry-meta{
                                .cat-item{
                                    a{
                                        &:hover{
                                            color: var(--thm_header_hover_color);
                                            background:rgba(188,188,188,.2);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .page-wrapper{
                article{
                    header{
                        .entry-meta{
                            .post-category{
                                .cat-item{
                                    a{
                                        &:hover{
                                            color:var( --thm_general_link_hover_color);
                                            background: rgba(188, 188, 188, .2);
                                        }
                                    }
                                }
                            }
                        }
                    }
                    &.has-post-thumbnail{
                        header{
                            .entry-meta{
                                .post-category{
                                    .cat-item{
                                        a{
                                            &:hover{
                                                color:#fff;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .page-wrapper{
        article{
            a{
                &:hover{
                    color:var( --thm_general_link_hover_color);
                }
            }
            header{
                .entry-title{
                    a{
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                        }
                    }
                }
                .posted-on{
                    a{
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                        }
                        .entry-date{
                            &:hover{
                                color:var( --thm_general_link_hover_color);
                            }
                        }
                    }
                }
                .entry-meta{
                    a{
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                            background: rgba(188, 188, 188, .2);
                        }
                    }
                    .cat-item{
                        a{
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                }
                &.has-post-image{
                    .entry-title{
                        a{
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                    .posted-on{
                        a{
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                    .entry-meta{
                        a{
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                    a{
                        &.text-link{
                            &:hover{
                                color:#fff;
                            }
                        }
                        .entry-date{
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                }
            }
        }
    }
    .entry-content{
        color: var(--thm_general_text_color);
        a{
            &:hover{
                color: var(--thm_general_link_hover_color);
            }
        }
        .wp-block-cover-text{
            a{
                &:hover{
                    color: var(--thm_general_link_hover_color);
                }
            }
        }
    }
    .relate-content-wrapper{
        background:var(--thm_relate_posts_bg);
        color:var(--thm_relate_posts_color);
        a{
            color:var(--thm_relate_posts_link_color);
            &:hover{
                color:var(--thm_relate_posts_text_color);
            }
        }
    }
    .paginate-comment-links{
        .current{
            color:var( --thm_header_text_color );
            background: var( --thm_header_bg_color );
        }
    }
    .emulsion-table-wrapper{
        &::-webkit-scrollbar-thumb{
            background-color: currentColor;
        }
    }
    .grid{
        .article-wrapper{
            article{
                header{
                    background: rgba(188, 188, 188, .2);
                    background-size:cover;
                    color:var(--thm_general_text_color);
                    a{
                        color:var(--thm_general_link_color);
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                        }
                    }
                    &.has-post-image{
                        color:#fff;
                        background-size:cover;
                        a{
                            color:#fff;
                            &:hover{
                                color:#fff;
                            }
                        }
                    }
                }
            }
        }
    }
    .stream{
        article{
            .stream-wrapper{
                color:var(--thm_general_text_color);
                .entry-title{
                    a{
                        color:var(--thm_general_link_color);
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                        }
                    }
                }
                .posted-on{
                    color: var(--thm_general_text_color);
                    a{
                        color:var(--thm_general_link_color);
                        &:hover{
                            color:var( --thm_general_link_hover_color);
                        }
                        .entry-date{
                            color:var( --thm_general_link_hover_color);
                        }
                    }
                }
            }
        }
    }
    a.skin-button:hover{
        color:var( --thm_header_hover_color );
        background: rgba(188, 188, 188, .3);
    }
    .template-part-content-attachment,
    .template-part-content{
        a.skin-button:hover{
            color:var( --thm_header_hover_color );
            background: rgba(188, 188, 188, .3);
        }
    }
    .entry-content{
        .wp-block-button{
            &.is-style-outline{
                .wp-block-button__link{
                    &:not(.has-text-color),
                        &:not(.has-text-color):active,
                        &:not(.has-text-color):focus,
                        &:not(.has-text-color):hover{
                        &:hover{
                            // color:var(--thm_general_link_hover_color);

                        }
                    }
                    &:not(.has-background),
                        &:not(.has-background):active,
                        &:not(.has-background):focus,
                        &:not(.has-background):hover{
                        background:transparent;
                    }
                }
            }
            .wp-block-button__link{
                &:not(.has-background),
                    &:hover{
                    //  color:var(--thm_general_link_hover_color);

                }
            }
            &.has-success-background-color{
                &:hover{
                    background:rgba(52, 152, 219,.8);
                }
            }
            &.has-notice-background-color{
                &:hover{
                    background:rgba(163, 140, 8,.8);
                }
            }
            &.has-info-background-color{
                &:hover{
                    background:rgba(22, 160, 133,.8);
                }
            }
            &.has-alert-background-color{
                &:hover{
                    background:rgba(231, 76, 60,1);
                }
            }
            &.has-cool-background-color{
                &:hover{
                    background:rgba(52, 152, 219, .8);
                }
            }
        }
    }
    .wp-block-archives {
        li{
            a{
                &:hover{
                    color: var(--thm_general_text_color);
                }
            }
        }
    }
    body{
        .widget,
        .entry-content{
            .is-style-emulsion-dark{
                &.wp-block-code{
                    background:#000;
                    code{
                        background:transparent;
                        color:green;
                    }
                }
            }
        }
        footer.banner address{
            a{
                color:var(--thm_sidebar_text_color);
            }
        }
    }
    /**
     * Sectionize
     * ========================================================================== */
    [class|="sectionized"]{
        &:hover{
            // background:rgba(188, 188, 188, .1);
            .has-background:not(.wp-block-group):not(.wp-block-cover):before{
                background:transparent;
            }
        }
        &.sectionized-wp-block-columns{
            &:hover{
                // background:transparent;

            }
        }
        &.sectionized-wp-block-separator{
            &:hover{
                background:transparent;
            }
        }
        /**
         * Theme Custom Class no-margin
         */
        &.sectionized-wp-block-media-text{
            .wp-block-media-text{
                a{
                    &:hover{
                        color:var(--thm_media_text_section_link_color);
                    }
                }
            }
        }
        &.sectionized-wp-block-columns{
            .wp-block-columns{
                figure{
                    figcaption{
                        a{
                            &:hover{
                                color:var(--thm_columns_section_color);
                            }
                        }
                    }
                }
                a{
                    &:hover{
                        color:var(--thm_columns_section_color);
                    }
                }
            }
        }
    }
}
