/**
 * Borders
 * ========================================================================== */
.has-border-custom{
    --thm_common_border:var(--thm_border_global);
    --thm_common_border_style:var(--thm_border_global_style);
    --thm_common_border_width:var(--thm_border_global_width);
}

body{
    &[class*="background-css-pattern"]{
        background-color:var(--thm_background_color);
    }

    &.noscript{
        .template-part-header{
            .sub-menu,
            .children{
                border-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-style:var(--thm_common_border_style, solid);
                border-width:var(--thm_common_border_width, 1px);
            }
        }
        .header-layer{
            &.template-part-header-custom + .primary-menu-wrapper{
                #menu-main{
                    .sub-menu li .sub-menu,
                    .children li .children{
                        border-color:var(--thm_common_border, rgba(188,188,188,.5));
                        border-style:var(--thm_common_border_style, solid);
                        border-width:var(--thm_common_border_width, 1px);
                    }
                }
            }
        }
    }
    &.layout-list{
        article:not(.comment-body){
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
    }

    &.emulsion-no-sidebar{
        .primary-menu-wrapper{
            border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-top-style:var(--thm_common_border_style, solid);
            border-top-width:var(--thm_common_border_width, 1px);
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
        &.custom-background[class]{
            .primary-menu-wrapper{
                border-top:none;
                border-bottom:none;
            }
        }
    }
    &.emulsion-has-sidebar{

        .primary-menu-wrapper{
            border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-top-style:var(--thm_common_border_style, solid);
            border-top-width:var(--thm_common_border_width, 1px);
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);

        }
        &.is-dark{
            .primary-menu-wrapper{
                border-top:none;
                border-bottom:none;
                nav[class|="menu"]{
                    border-bottom:none ! important;
                }
            }
        }
        .menu-is-light{
            .primary-menu-wrapper{
                border-top:none;
                nav[class|="menu"]{
                    border-bottom:none;
                }
            }
        }
        &.custom-background[class]{
            nav[class|="menu"]{
                border:none;
            }
            &.emulsion-has-sidebar{
                .primary-menu-wrapper{
                    [data-direction="horizontal"]{
                        border:none;
                        nav[class|="menu"]{
                            border:none;
                        }
                    }
                }
            }
        }
    }


    a.wp-block-button__link{
        border:1px solid currentColor;
        &.has-background{
            border:none;
        }
    }
    .badge{

        border-color: var(--thm_common_border);
        border-style: solid;
        border-width: 1px;
    }
    nav[class|="menu"]{
        ul.wp-nav-menu{
            &[data-direction="vertical"]{
                border-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-style:var(--thm_common_border_style, solid);
                border-width:var(--thm_common_border_width, 1px);
            }
        }
    }
    &:not(.custom-background){
        .side-right{
            .sidebar-widget-area{
                border-left-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-left-style:var(--thm_common_border_style, solid);
                border-left-width:var(--thm_common_border_width, 1px);
            }
        }
        .side-left{
            .sidebar-widget-area{
                border-right-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-right-style:var(--thm_common_border_style, solid);
                border-right-width:var(--thm_common_border_width, 1px);
            }
        }
    }
    &.custom-background[class]{
        .side-right{
            .sidebar-widget-area{
                border-right:none;
            }
        }
        .side-left{
            .sidebar-widget-area{
                border-left:none;
            }
        }
        .footer-layer{
            border-top:none;
        }

    }
    .relate-posts img,
    .relate-post-no-icon{
        border-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-style:var(--thm_common_border_style, solid);
        border-width:var(--thm_common_border_width, 1px);
    }
    .show-post-image,
    .header-image-active{
        *{
            border-color:var(--thm_white_color);
        }
    }
    .footer-layer{
        border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-top-style:var(--thm_common_border_style, solid);
        border-top-width:var(--thm_common_border_width, 1px);
    }

    blockquote:not([class]){
        // old tinymce quote
        border-left:6px solid rgba(188,188,188,.5);
        max-width:100%;
    }

    .wp-block-quote{
        border:none;
        max-width:100%;
        border-left:2px solid rgba(188,188,188,.5);
        &.has-text-align-left{
            border:none;
            border-left:2px solid rgba(188,188,188,.5);
        }
        &.has-text-align-center{
            border:none;
            border-top:2px solid rgba(188,188,188,.5);
        }
        &.has-text-align-right{
            border:none;
            border-right:2px solid rgba(188,188,188,.5);
        }
    }
    .wp-block-rss{
        &:not(.is-grid){
            li{
                border-left:2px solid rgba(188,188,188,.5);
            }
        }
    }

    .wp-block-pullquote{
        border:none;
        border-top:2px solid;
        border-bottom:2px solid;
        border-color:rgba(188,188,188,.5);
        .is-style-solid-color{
            &.has-success-background-color{
                color: var(--thm_black_color);
            }
            &.has-notice-background-color{
                color: var(--thm_black_color);
            }
            &.has-info-background-color{
                color: var(--thm_black_color);
            }
            &.has-alert-background-color{
                color: var(--thm_black_color);
            }
            &.has-cool-background-color{
                color: var(--thm_black_color);
            }
        }
        blockquote{
            max-width:100%;
            width:auto;
            border:none;
        }
    }
    .wp-block-cover{
        .wp-block-cover__inner-container{
            & > p.has-background{
                &:first-of-type{
                    font-weight:bold;
                    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--thm_content_gap, 24px), #000 calc(100% - var(--thm_content_gap, 24px)), transparent);
                    mask-image: linear-gradient(to right, transparent, #000 var(--thm_content_gap, 24px), #000 calc(100% - var(--thm_content_gap, 24px)), transparent);
                }
            }
            .emulsion-gb-phase-site .editor-styles-wrapper [data-type="core/paragraph"]:first-of-type,
                .emulsion-gb-phase-block [data-type="core/paragraph"]:first-of-type{
                [data-block]{
                    p.has-background{
                        font-weight:bold;
                        -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--thm_content_gap, 24px), #000 calc(100% - var(--thm_content_gap, 24px)), transparent);
                        mask-image: linear-gradient(to right, transparent, #000 var(--thm_content_gap, 24px), #000 calc(100% - var(--thm_content_gap, 24px)), transparent);
                        &:before{
                            content:none;
                            border:3px solid red;
                        }
                    }
                }
            }
        }
    }
    .wp-block-latest-posts{
        .wp-block-cover__inner-container{
            & > p.has-background{
                &:first-of-type{
                    -webkit-mask-image:none;
                    mask-image: none;
                }
            }
        }
    }
    .wp-block-search .wp-block-search__button,
    .wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper,
    .wp-block-latest-posts__post-excerpt > a:only-child,
        .tag-cloud-style-flat a,
        // .wp-block-button__link,
        .is-style-list-style-inline li,
        .list-style-inline li,
        .horizontal-list-group li,
        .skin-button,
        .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.is-style-stripes td,
        .wp-block-table td,
        .page-break-links > span,
        .page-break-links a,
        p > code,
        .wp-block-code 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,
        ins:hover:before,
        del:hover:before,
        .grid .article-wrapper,
        .stream .article-wrapper,
        .stream .template-part-content article .wp-nav-menu.primary[data-direction="vartical"],
        .horizontal-list-group li,
        .entry-meta li{
        border-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-style:var(--thm_common_border_style, solid);
        border-width:var(--thm_common_border_width, 1px);
    }

    .wp-block-code code code{
        border:none;
    }
    .cta-layer-active{
        a.skin-button{
            border-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-style:var(--thm_common_border_style, solid);
            border-width:var(--thm_common_border_width, 1px);
        }
    }
    .archive-year-links,
    .emulsion-monthly-archive-prev-next-navigation{
        & > div{
            border-color:var(--thm_header_link_color);
            border-style:var(--thm_common_border_style, solid);
            border-width:var(--thm_common_border_width, 1px);
        }
    }
    .wp-block-archives,
    .wp-block-latest-comments{

        & > li{//.wp-block-latest-comments__comment
               border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
               border-bottom-style:var(--thm_common_border_style, solid);
               border-bottom-width:var(--thm_common_border_width, 1px);
               &:last-child{
                   //  border-bottom:none;
               }
               article{
                   border:none;
               }
        }
    }
    .entry-content{
        .wp-block-categories-list{
            li{
                border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-bottom-style:var(--thm_common_border_style, solid);
                border-bottom-width:var(--thm_common_border_width, 1px);
            }
            .sub-menu li,
            .children li{
                border-bottom:none;
            }
        }

    }
    hr{
        border-bottom:1px solid rgba(188,188,188,.7);
        &.wp-block-separator{
            &.is-style-dots{
                height:3rem;
                &:before{
                    width:fit-content;
                    height:3rem;
                    content:'\2026' ! important;
                    font-size:3rem;
                    margin:1rem auto;
                    color:inherit ! important;
                    background:transparent!important;
                }
            }
        }
    }
    &.page,
    &.single{
        .article-wrapper{
            article{
                border-bottom:none;
            }
        }
    }
    .wp-nav-menu.primary[data-direction="horizontal"] .sub-menu,
    .wp-nav-menu.primary[data-direction="horizontal"] .children{
        border-left-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-left-style:var(--thm_common_border_style, solid);
        border-left-width:var(--thm_common_border_width, 1px);
        border-right-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-right-style:var(--thm_common_border_style, solid);
        border-right-width:var(--thm_common_border_width, 1px);
        border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
        border-top-style:var(--thm_common_border_style, solid);
        border-top-width:var(--thm_common_border_width, 1px);
    }
    figure.wp-block-table{
        &::-webkit-scrollbar-thumb{
            outline: 1px solid currentColor;
        }
    }
    .wp-block-calendar{
        table{
            th{
                border-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-style:var(--thm_common_border_style, solid);
                border-width:var(--thm_common_border_width, 1px);
                td{
                    border-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-style:var(--thm_common_border_style, solid);
                    border-width:var(--thm_common_border_width, 1px);
                }
            }
            tbody{
                td{
                    border-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-style:var(--thm_common_border_style, solid);
                    border-width:var(--thm_common_border_width, 1px);
                }
            }
        }
    }

    .post-password-form{
        input[type="password" i]:required{
            border-bottom:1px solid rgba(188, 188, 188, .3);
        }
    }
    .entry-content{
        .wp-block-columns{
            &:not(.has-background){
                .wp-block-column{
                    &:last-child{

                    }
                    @media screen and (max-width: 768px) {
                        border:none;
                    }
                }
                .wp-block-column{
                    .wp-block-column{
                        border:none;
                    }
                }
                .wp-block-archives{
                    &.wp-block-archives-list{
                        padding-left:var(--thm_box_gap, 3px);
                        padding-right:var(--thm_box_gap, 3px);
                        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: var(--thm_common_border, rgba(188,188,188,.5));
        .header-layer-nav-menu nav[class|="menu"]{
            border-bottom:none;
            .wp-nav-menu.primary > li > .children,
            .wp-nav-menu.primary > li > .sub-menu{
                border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-bottom-style:var(--thm_common_border_style, solid);
                border-bottom-width:var(--thm_common_border_width, 1px);
                .sub-menu,
                .children{
                    border:none;
                }
            }
        }
    }

    /**
     * Sidebar border
     * ========================================================================== */
    .widget_nav_menu{
        .menu li .sub-menu > li,
        .menu li .children > li{
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
        .widget_nav_menu .children a,
        .widget_nav_menu .sub-menu a,
        .widget_nav_menu .children,
        .widget_nav_menu .sub-menu{
            border:none;
        }
    }

    .sidebar-widget-area-lists{
        .widget_search .wp-block-search__button{
            border-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-style:var(--thm_common_border_style, solid);
            border-width:var(--thm_common_border_width, 1px);
        }

    }


    .footer-widget-area-lists,
    .sidebar-widget-area-lists{
        .widget_archive select,
        .widget_categories select{
            border:var(--thm_common_border, rgba(188,188,188,.5));
        }


        .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-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
        .children,
        .sub-menu{
            border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-top-style:var(--thm_common_border_style, solid);
            border-top-width:var(--thm_common_border_width, 1px);
            padding-right:0;
        }
        .widget li{
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
        .widget li:last-child{
            border-bottom:none;
        }
        .widget .textwidget li{
            border:initial;
            line-height:var(--thm_common_line_height);
        }
        .widget > ul{
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
            border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-top-style:var(--thm_common_border_style, solid);
            border-top-width:var(--thm_common_border_width, 1px);
        }
        .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-color:var(--thm_common_border, rgba(188,188,188,.5));
                border-bottom-style:var(--thm_common_border_style, solid);
                border-bottom-width:var(--thm_common_border_width, 1px);
            }
        }
    }
    .sidebar-is-light{
        .footer-widget-area-lists,
        .sidebar-widget-area-lists{
            .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;
            }
        }
    }
    h1.has-background,
    h2.has-background,
    h3.has-background,
    h4.has-background,
    h5.has-background,
    h6.has-background{
        border-top:1px solid;
        border-bottom:1px solid;
    }
}

.has-border-custom{
    .wp-block-archives>li,.wp-block-latest-comments>li{

    }
    .sidebar-widget-area{
        .sidebar-widget-area-lists{
            .widget .submenu,
            .widget .children,
            .widget > ul{
                border-top-width:var(--thm_border_sidebar_width);
                border-top-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-top-style:var(--thm_border_sidebar_style);
                border-bottom-width:var(--thm_border_sidebar_width);
                border-bottom-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-bottom-style:var(--thm_border_sidebar_style);

                .counter{
                    border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                    border-width:1px;
                    border-style:solid;
                }
            }

            .widget li:not(:last-child){
                border-bottom-width:var(--thm_border_sidebar_width);
                border-bottom-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-bottom-style:var(--thm_border_sidebar_style);
            }
            .widget li:last-child{
                border:none;
            }

            .widget_search .wp-block-search__button{
                border-width:var(--thm_border_sidebar_width);
                border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-style:var(--thm_border_sidebar_style);
            }
            #wp-calendar{
                tr{
                    th{
                        border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                        border-style:var(--thm_border_sidebar_style);
                        border-width:var(--thm_border_sidebar_width);
                    }
                    td{
                        border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                        border-style:var(--thm_border_sidebar_style);
                        border-width:var(--thm_border_sidebar_width);
                    }
                }
                tfoot{
                    td{
                        border:none;
                    }
                }
            }
        }
    }
    .footer-widget-area{
        .footer-widget-area-lists{
            .widget > ul{
                border-top-width:var(--thm_border_sidebar_width);
                border-top-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-top-style:var(--thm_border_sidebar_style);
                border-bottom-width:var(--thm_border_sidebar_width);
                border-bottom-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-bottom-style:var(--thm_border_sidebar_style);
            }
            .widget li:not(:last-child){
                border-bottom-width:var(--thm_border_sidebar_width);
                border-bottom-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-bottom-style:var(--thm_border_sidebar_style);
            }
            .widget_search .wp-block-search__button{
                border-width:var(--thm_border_sidebar_width);
                border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                border-style:var(--thm_border_sidebar_style);
            }
            #wp-calendar{
                tr{
                    th{
                        border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                        border-style:var(--thm_border_sidebar_style);
                        border-width:var(--thm_border_sidebar_width);
                    }
                    td{
                        border-color:var(--thm_border_sidebar,rgba(188,188,188,.5));
                        border-style:var(--thm_border_sidebar_style);
                        border-width:var(--thm_border_sidebar_width);
                    }
                }
                tfoot{
                    td{
                        border:none;
                    }
                }
            }
        }
    }
    .grid{
        .article-wrapper{
            border-width:var(--thm_border_grid_width);
            border-color:var(--thm_border_grid);
            border-style:var(--thm_border_grid_style);

            .horizontal-list-group li{
                border-color:var(--thm_border_grid);
                border-width:1px;
                border-style:solid;
            }
            .theme-message input,
            .skin-button{
                border-width:var(--thm_border_grid_width);
                border-color:var(--thm_border_grid);
                border-style:var(--thm_border_grid_style);
            }
        }
    }
    .stream{
        .article-wrapper{
            border-width:var(--thm_border_stream_width);
            border-color:var(--thm_border_stream);
            border-style:var(--thm_border_stream_style);
        }
    }
    .entry-meta{
        .horizontal-list-group li{
            border-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-style:solid;
            border-width:1px;
        }
    }
    .show-post-image,
    .header-image-active{
        border-color:var(--thm_white_color);

        .horizontal-list-group li{
            border-color:var(--thm_white_color);
            border-style:solid;
            border-width:1px;
        }
    }

}
#document{
    .footer-widget-area-lists,
    .sidebar-widget-area-lists{
        .widget_block{
            .list-style-initial{
                border:none;
                padding-left:40px;
                list-style-type:initial;
                li{
                    list-style-type:initial;
                    border:none;
                }
            }
        }
    }
}
body{
    /**
     * Header and wp-nav-menu () related settings
     * relate Customizer setting
     * ========================================================================== */
    .header-layer{
        &.template-part-header-custom + .primary-menu-wrapper{

            &.menu-is-dark{
                .wp-nav-menu.primary[data-direction="horizontal"] .sub-menu,
                .wp-nav-menu.primary[data-direction="horizontal"] .children{
                    border-left-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-left-style:var(--thm_common_border_style, solid);
                    border-left-width:var(--thm_common_border_width, 1px);
                    border-right-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-right-style:var(--thm_common_border_style, solid);
                    border-right-width:var(--thm_common_border_width, 1px);
                    border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-top-style:var(--thm_common_border_style, solid);
                    border-top-width:var(--thm_common_border_width, 1px);
                    li{
                        border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
                        border-bottom-style:var(--thm_common_border_style, solid);
                        border-bottom-width:var(--thm_common_border_width, 1px);
                        .sub-menu,
                        .children{
                            border:none;
                        }
                    }
                }

            }
            &.menu-is-light{
                .wp-nav-menu.primary .sub-menu,
                .wp-nav-menu.primary .children{
                    border-left-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-left-style:var(--thm_common_border_style, solid);
                    border-left-width:var(--thm_common_border_width, 1px);
                    border-right-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-right-style:var(--thm_common_border_style, solid);
                    border-right-width:var(--thm_common_border_width, 1px);
                    border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-top-style:var(--thm_common_border_style, solid);
                    border-top-width:var(--thm_common_border_width, 1px);
                    .sub-menu,
                    .children{
                        border:none;
                    }
                }
                .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-color:var(--thm_common_border, rgba(188,188,188,.5));
                    border-bottom-style:var(--thm_common_border_style, solid);
                    border-bottom-width:var(--thm_common_border_width, 1px);
                    .sub-menu li:last-child a,
                        .children li:last-child a{
                        border:none;
                    }
                }
                .menu{
                    &.wp-nav-menu{

                        &[data-direction="vertical"] .children,
                        &[data-direction="vertical"] .sub-menu{
                            border:none;
                            li{
                                border:none;
                            }
                        }
                    }
                }
            }
        }
    }
}

figure[data-type="core/table"]{
    table{
        th{
            border-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-style:var(--thm_common_border_style, solid);
            border-width:var(--thm_common_border_width, 1px);
        }
        td{
            border-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-style:var(--thm_common_border_style, solid);
            border-width:var(--thm_common_border_width, 1px);
        }
        thead{
            border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-bottom-style:var(--thm_common_border_style, solid);
            border-bottom-width:var(--thm_common_border_width, 1px);
        }
        tbody{

        }
        tfoot{
            border-top-color:var(--thm_common_border, rgba(188,188,188,.5));
            border-top-style:var(--thm_common_border_style, solid);
            border-top-width:var(--thm_common_border_width, 1px);
        }
    }
}
a.skin-button,
.is-style-outline a{
    border-style:solid ! important;
    border-width:1px ! important;
}
.toc{
    border-left-color:var(--thm_common_border, rgba(188,188,188,.5));
    border-left-style:var(--thm_common_border_style, solid);
    border-left-width:var(--thm_common_border_width, 1px);
    border-right-color:var(--thm_common_border, rgba(188,188,188,.5));
    border-right-style:var(--thm_common_border_style, solid);
    border-right-width:var(--thm_common_border_width, 1px);
    border-bottom-color:var(--thm_common_border, rgba(188,188,188,.5));
    border-bottom-style:var(--thm_common_border_style, solid);
    border-bottom-width:var(--thm_common_border_width, 1px);
}

