/* 
Theme Name: SHD Theme V2.0
Theme URI: https://buchanan-solutions.com
Description: SHD Theme
Author: Keith Buchananan
Author URI: https://buchanan-solutions.com
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* class: .sticky-header
*/
header.sticky-header {
    --header-height: 40px;
    --shrink-me: 0.5;
    --transition: .45s cubic-bezier(.4, 0, .2, 1);
    background-color: rgba(244, 245, 248, 0.8);
    transition: background-color var(--transition),
    backdrop-filter var(--transition),
    box-shadow var(--transition);
}

/***
* Sticky header activated
*/
header.sticky-header.elementor-sticky--effects {
    background-color: rgba(244, 245, 248, .8);
    box-shadow: 0px 4px 33px 1px rgba(0, 0, 0, .07);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
}
header.sticky-header > .elementor-container {
    min-height: var(--header-height);
    transition: min-height var(--transition);
}
header.sticky-header.elementor-sticky--effects > .elementor-container {
    min-height: calc( var(--header-height) * var(--shrink-me) ) !important;
}

/***
* Shorter header on mobile (70px instead of 100px)
*/
@media only screen and (max-width: 767px) {
    header.sticky-header {
        --header-height: 70px;
    }
}

/***
* class: .logo
*/
header.sticky-header .logo img {
    transition: transform var(--transition);
}
header.sticky-header.elementor-sticky--effects .logo img {
    transform: scale(.8);
}
header.sticky-header.elementor-sticky--effects .logo h2 a {
    font-size: 0.8em;
}


#copyright {
    color:#fff;
}
.dropdown-menu ul li a.menu-link {
    color:#555 !important;
}

.dropdown-menu ul li a.menu-link:hover {
    color:#cac1a1 !important;
}

.page-header-title {
    font-size: 20px;
}
.site-breadcrumbs {
    max-width: 60%;
    /*overflow: visible;*/
}

/* Slider on home page */
.slider-content {
    background:rgba(0,0,0,0.35);
    padding:20px;
}
.slider-content h2 {
    color:#fff;
    font-size:32px;
    font-weight:500;
}
.slider-content h3 {
    color:#fff;
    font-size:26px;

}

/******************/

.kb-subpages {
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
}
.kb-subpages li {
    border-bottom: 0;
    padding: 5px 0;
}

.kb-subpages li:before {
    content: "\f35a"; /* FontAwesome Unicode */
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-left: -1.3em; /* same as padding-left set on li */
    width: 1.3em; /* same as padding-left set on li */
    font-size:26px;
    color:var( --e-global-color-primary );
}
.kb-subpages li ul.children {
    list-style-type: none;
}
.kb-subpages li ul.children li {
    border-bottom: 1px solid #e3e3e3;
}



.kb-subpages li a {
    padding: 10px;
    font-size:18px;
    color:#555;
    text-decoration:none !important;
}

.kb-subpages li a:hover {
    background: var( --e-global-color-primary );
    color:#fff;
}


.kb-documents {
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    margin-bottom:30px;
}

.kb-documents li.kb-empty-file {
    border: 2px solid #ee0000 !important;
}

.kb-documents li {
    border-bottom: 1px solid #e3e3e3;
    padding: 5px 0;
}


.kb-documents li:before {
    content: "\f1c1"; /* FontAwesome Unicode */
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    margin-left: -1.3em; /* same as padding-left set on li */
    width: 1.3em; /* same as padding-left set on li */
    font-size:26px;
    color:var( --e-global-color-primary );
}
.kb-documents li.dwg-link:before {
    content: "\f15c" !important; /* FontAwesome Unicode */
    font-family: "Font Awesome 5 Free";
}

.kb-documents li a {
    padding: 10px;
    font-size:18px;
    color:#555;
    text-decoration:none !important;
}

.kb-documents li a:hover {
    background:var( --e-global-color-primary );
    color:#fff;
}

.kb-folder-button {
    background: var(--e-global-color-primary);
    color:#fff !important;
    padding: 5px 10px;
    border-radius:0;
    font-size: 0.8em;
}
.kb-folder-button:hover {
    background: var(--e-global-color-accent);
    color:#fff !important;
}

.kb-subfolders {
    margin: 30px 0;
    background:#e7e7e7;
    padding: 20px;
}
.kb-sub-section-pages {
    list-style-type: none;
    list-style-position: outside;
    list-style-image: none;
    margin:0;
    padding:0;
}
.kb-sub-section-pages li {
    display:inline-block;
    margin: 10px 0;
}
.kb-sub-section-pages li a {
    padding: 10px 10px;
    background: var( --e-global-color-primary );
    color: #fff;
    margin: 0 10px;
    font-size:16px;
    text-decoration:none !important;
}
.kb-sub-section-pages li a:hover {
    background: var( --e-global-color-accent );
}
li.pdf-link span {
    font-size:0.7em;
    font-style:italic;
}

.document-wrapper .row {
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
}

.document-wrapper .row .column {
    width:48%;
    margin: 5px;
}

.document-wrapper .elementor-accordion .elementor-accordion-item {
    border: 1px solid #eee;
    background:#fafafa;
}
.document-wrapper .elementor-accordion .elementor-accordion-item a {
    font-weight:400;
}

.document-wrapper .kb-documents li a {
    padding: 5px;
    font-size: 16px;
    color: #555;
    text-decoration: none !important;
}
.document-wrapper .kb-documents li a:hover {
    color:#fff;
}
.document-wrapper .kb-documents li {
    border-bottom: 1px solid #e3e3e3;
    padding: 1px;
}

@media only screen and (max-width: 767px) {
    .document-wrapper .row .column {
        width:98%;
        margin: 5px;
    }
    .kb-sub-section-pages li {
        display: inline-block;
    }
    .kb-sub-section-pages li a {
        min-width: 225px;
        display: block;
    }
}