/*
Theme Name:     KnowAll Child Theme
Theme URI: 		http://herothemes.com/
Description:    Child theme for KnowAll 
Author: 		HeroThemes
Author URI: 	http://herothemes.com
Template:       knowall
Version:        1.5
*/

/* ------- Insert custom styles below this line ------- */

/*-------------------------------------------------------
  Typography
--------------------------------------------------------*/
body, input, optgroup, select, textarea, p {
    font-family: "Gotham SSm A", "Gotham SSm B", sans-serif;
    font-size: 15px;
    color: #454545;
}

/*-------------------------------------------------------
  Links
--------------------------------------------------------*/

a {
    transition: 0.25s ease-in-out;
}

/*-------------------------------------------------------
  Header
--------------------------------------------------------*/

.site-header .site-header__title {
    font-size: 25px;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .nav-header>ul>li>a {
        line-height: 2;
    }
    .nav-header>ul>li:hover>a {
        background: transparent;
        line-height: 2;
    }

    .nav-btn {
        background: #61a60d;
        padding: 0 15px !important;
        transition: 0.25s ease-in-out;
    }

    .nav-btn:hover {
        background: #03b3e3 !important;
        padding: 0 15px!important;
    }

    .nav-btn a {		
        text-transform: uppercase;
        font-size: 12px !important;
        font-weight: bold !important;
        letter-spacing: 1px;
    }

    .nav-btn:hover {
        background: #61a60d;
    }   
}

/* Logo */
.site-logo img {
    max-width: 300px;
    height: auto;
}

/* Logo Size on Mobile */
@media screen and (max-width: 768px) {
    .site-logo img {
        max-width: 200px;
        height: auto;
    }
}

/* Search Bar */
.hkb-site-search .hkb-site-search__field {
    box-shadow: none;
}

/* Contact Us Button */
@media screen and (min-width: 768px) {
    .contact-us-nav a {
        border: 1px solid #fff !important;
        border-radius: 4px !important;
        padding: 0px 25px 0px 25px !important;
    }
}

/* Hide Default Mobile Menu Toggle */
.nav-header .nav-header__mtoggle {
     display: none !important;
}

/*-------------------------------------------------------
  Buttons
--------------------------------------------------------*/

input[type="reset"], input[type="submit"], input[type="button"], .hkb-article__content ol li:before, .hkb-article__content ul li:before, .hkb_widget_exit__btn {
    background: #61a60d !important;
    font-size: 12px !important;
    font-weight: bold;
    letter-spacing: 1px;
}

input[type="reset"]:hover, input[type="submit"]:hover, input[type="button"]:hover, .hkb_widget_exit__btn:hover {
    background: #03b3e3;
}

.hkb_widget_exit .hkb_widget_exit__btn {
    border-radius: 0;
}

/*-------------------------------------------------------
  Articles
--------------------------------------------------------*/

/* Article List */
.hkb-category .hkb-category__articlelist {
    font-size: 14px;
}

.hkb-article-related .hkb-article-list {
    list-style: disc;
    list-style-position: inside;
}

.hkb-category .hkb-category__articlelist a {
    color: #252525 !important;
}

.hkb-category .hkb-category__articlelist a:hover {
    color: #03b3e3 !important;
}

/* Article Text */
.hkb-article__content p {
    line-height: 1.65em;
}

.hkb-article__content ul {
    list-style-type: disc;
}

/* Category Title */
.hkb-category .hkb-category__title {
    width: 100%;
    font-size: 15px;
    line-height: 1.25;
    color: #252525;
    margin: 0;
}

/* Archive Title */
.hkb-archive__title {
    font-size: 20px;
}

@media screen and (min-width: 768px) {
    .hkb-archive__title {
        margin: 0 0 15px;
    }
}

/* Breadcrumbs */
.hkb-breadcrumbs__icon {
    fill: #252525 !important;
}

/*-------------------------------------------------------
  Sidebar
--------------------------------------------------------*/
.widget {
    background: #f8f8f8;
    line-height: 1.65em;
}

.hkb_widget_articles ul li {
    line-height: 1.65em;
}

/*-------------------------------------------------------
  Articles & Pages
--------------------------------------------------------*/
.wp-block-separator-small {
    border-top: 1px solid #bfbfbf !important;
    margin: 0 auto !important;
}
    
.ht-page__content a:hover {
    font-weight: 600;
    color: #03b3e3;
}
    
.hkb-archive a:hover {
    font-weight: 400;
}
    
.hkb-article__content h4 {
    font-size: 16px;
}
    
.hkb-article__content ol, .hkb-article__content .block-library-list ol, .hkb-article__content ul, .hkb-article__content .block-library-list ul  {
    padding: 0 0 0 20px;
}
    
.hkb-breadcrumbs__icon {
    fill: #00b3e3 !important;
}
    
/* Initially hide all breadcrumbs */
.hkb-breadcrumbs {
    display: none;
}

/* Re-show first child breadcrumb */
.hkb-breadcrumbs:nth-child(1) {
    display: initial;
}
    
/* Breadcrumb Header */
.ht-pageheader {
    background: #fff;
}
    
.ht-page {
    background: #f2f2f2;
}
    
.widget {
    background: #fff;
    margin: 0 0 30px;
}
    
.ht-page__content {
    background: #fff;
    padding: 40px !important;
    border-radius: 5px;
}
    
@media screen and (min-width: 768px) {
    .ht-page.ht-page--sidebarright .sidebar {
        padding-left: 25px;
    }
}
    
.hkb_widget_toc .widget__title {
    font-size: 23px;
    color: #454545;
}
    
@media screen and (min-width: 768px) {
    .hkb-article .hkb-article__title {
        font-size: 30px;
        line-height: 1.3;
    }
}
    
@media screen and (min-width: 768px) {
    .ht-page.ht-page--sidebarleft .sidebar {
        padding-right: 25px;
    }
}
    
.hkb_widget_toc ol li.active > a {
    background: transparent;
    color: #03b3e3;
    font-weight: bold;
}
    
.hkb_widget_toc ol li a:hover {
    background: transparent;
    color: #03b3e3;
    font-weight: bold;
}
    
.hkb_widget_toc ol li a {
    padding: 0;
}
    
.hkb-article__content ol li:before {
    background: transparent !important;
}
    
.hkb-category .hkb-category__articlelist a {
    color: #454545 !important;
}
    
@media screen and (min-width: 768px) {
    .ht-page.ht-page--sidebarleft .sidebar, .ht-page.ht-page--sidebarright .sidebar {
        width: 23%;
    }
}
    
@media screen and (min-width: 768px) {
    .ht-page.ht-page--sidebarleft .ht-page__content, .ht-page.ht-page--sidebarright .ht-page__content {
        width: 77%;
    }
}
    
.hkb-breadcrumbs li:last-child {
    color: #5c5c5c;
    font-weight: bold;
}
    
.hkb-breadcrumbs a:hover {
    color: #03b3e3;
}
    
#hkb.hkb-searchresults>li .hkb-searchresults__excerpt {
    display: none;
}
    
#hkb.hkb-searchresults>li .hkb-searchresults__title {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
    
.hkb-archive__title {
    border-bottom: 1px solid #d9d9d9;
}
    
    
.hkb-article__content hr {
    border-top: 1px solid #d9d9d9;
}
    
@media screen and (min-width: 768px) {
    .hkb-article__content h2 {
        font-size: 25px;
    }
}
    
.hkb_widget_exit .hkb_widget_exit__btn {
    padding: 20px;
}
    
.hkb_widget_exit__btn {
    letter-spacing: 0;
}
    
.hkb-category .hkb-category__articlelist a:before {
    display: none;
}
    
.hkb-category .hkb-category__articlelist {
    list-style: disc;
}
    
.hkb-category .hkb-category__articlelist li::marker {
    color: #03b3e3;
}
    
.hkb-category.hkb-category--witharticles {
    border-bottom: 0;
}
    
.widget {
    font-size: 13px;
}

.widget ul a:hover {
    color: #03b3e3;
}
    
    
.has-blue-color[class] {
    color: #03b3e3;
}
    
.help-sections-container {
    border-bottom: 1px solid #d9d9d9;
}
    
.help-sections {
    display: flex;
    max-width: 1450px;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: space-between;
    text-align: center;
}
    
@media screen and (max-width: 767px) {
    .help-sections {
        flex-direction: column;
    }
}
    
.help-sections-inner {
    display: flex;
    border-right: 1px solid #d9d9d9;
    width: 100%;
    align-items: center;
    justify-content: center;
}
    
.help-sections-inner:last-child {
    border: 0;
}
    
.help-sections-icon {
    padding-right: 15px;
}
    
.help-sections-icon img {
    max-height: 20px;
    width: auto;
}
    
.help-sections-text a {
    font-weight: bold;
    text-decoration: none;
    color: #454545;
    font-size: 18px;
}
    
.help-sections-text a:hover{
    color: #03b3e3;
}
    
.hkb-category .hkb-category__title {
    color: #454545;
    transition: 0.25s ease-in-out;
}
    
.hkb-category__headerlink h2:hover {
    color: #03b3e3;
}
    
.hkb-article__content p {
    margin-top: 13px;
    margin-bottom: 33px;
}
    
.hljs {
    background: #f5f5f5;
}   
    
.ht-articlelist {
    margin: 50px 0 0 0;
}
    
.hkb-article__content table th {
    font-size: 12px;
    line-height: 1.25;
}
    
.table-header-rotated thead th {
    padding: 16px 8px;
}
    
.hkb-article__content ol li {
    margin:  8px 0 8px 0 !important;
}
    
.hkb-article__content ul li, .hkb-article__content .block-library-list ul li {
    margin: 0 0 10px;
    word-break: break-word;
    line-height: 1.65;
}
    
.hkb-article__content table.with-scroll {
    display: block;
    overflow: auto;
}
    
#hkbembed-button {
    position: fixed;
    bottom: -6px !important;
    right: 170px !important;
    border-radius: 99px;
    background: #000 !important;
    cursor: pointer;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: htfadein ease .5s;
    z-index: 9999999;
}

/* Large Text */
.hkb-article__content .lg-text {
    font-size: 18px;
    line-height: 1.3;
    padding-top: 22px;
    font-weight: bold;
    margin: 0 0 22px 0 !important;
}

/*-------------------------------------------------------
  Otter Blocks
--------------------------------------------------------*/

.wp-block-themeisle-blocks-accordion.is-style-default>.wp-block-themeisle-blocks-accordion-item:last-child:not([open]):not(.is-open)>.wp-block-themeisle-blocks-accordion-item__title {
    border-bottom: var(--border-width) var(--border-style) #d9d9d9;
}
    
.wp-block-themeisle-blocks-accordion.is-style-default>.wp-block-themeisle-blocks-accordion-item>.wp-block-themeisle-blocks-accordion-item__title {
    border-top: var(--border-width) var(--border-style) #d9d9d9;
}
    
.wp-block-themeisle-blocks-accordion.is-style-default>.wp-block-themeisle-blocks-accordion-item:last-child>.wp-block-themeisle-blocks-accordion-item__content {
    border-bottom: var(--border-width) var(--border-style) #d9d9d9;
}

/*-------------------------------------------------------
  Footer
--------------------------------------------------------*/
.site-footer {
    background: #252525;
}

.site-footer .site-footer__copyright {
    color: #fff;
}

.site-footer .nav-footer a {
    text-decoration: none;
    color: #fff;
}

.site-footer .nav-footer a:hover {
    text-decoration: none;
    color: #fff;
}