/*
 Theme Name:   Knowall Bluebook Additions
 Description:  Custom changes to the knowall theme for the support site
 Template:     knowall
*/

/* CUSTOM */
.break-dash{
    border-bottom: solid 2px #3C434A;
}

/* ARTICLE VIEW */
aside.sidebar {
    padding-top: 55px;
}
aside.sidebar .hkb_widget_exit__btn {
    margin-top: 15px;
}
aside.sidebar .widget .hkb_widget_articles{
    padding: 30px 36px;
}

.hkb-archive__title {
    color: #878787;
    border-bottom: none;
}
.hkb-category{
    background: #7AB1DF !important;
}
.hkb-category__title{ 
    line-height: 1.6em !important;
    text-align: center;
    color: #F4F4F4 !important;
}
.hkb-category__link:hover{
    background: #e7e7e7 !important;
}
.single .hkb-article__title,.single .hkb-article__content h2, .ht-categoryheader__title{
    font-weight: 900;
}
.single .hkb-article__content{
    line-height: 25px;
    font-size: 15px;
}
.hkb-breadcrumbs_wrap ol:not(:first-child){
    display: none;
}

/* Disable image centering for articles */
.hkb-article__content img.aligncenter{
    margin: 0;
}

aside.sidebar {
    padding-top: 155px !important;
}


/* LOGO */

.site-logo{
    width: 230px;
    height: 35px;
    margin-right: 0px !important;
}
.site-logo img{
    width: 80%;
    float: right;
    margin-right: 20px;
}

/* HEADER */
.site-header{
    background-attachment: inherit !important;
    background-size: 100% 100% !important;
}
.site-header__name{
    color: white;
    font-size: 1.5vh;
    letter-spacing: 1.5px;
    margin-right: 3vh !important;
}
@media screen and (max-width: 1000px) {    
    .site-header__name{
        display: none;
    }
}
.site-header__banner{
    padding: 25px 0 !important;
}
.site-header__search{
    background: url(assets/img/frontpage_search_bg.jpg);  
    background-color: rgba(22, 22, 22, 0.2);
    background-blend-mode: multiply;
    background-size: 100% auto;  
    background-position: center;
    background-repeat: no-repeat;
    padding: 95px 0 !important;
    text-shadow: 0px 0px 5px #000000;
}
@media screen and (max-width: 650px) {
    .site-header__search{
        background-size: auto 100% !important;
    }
}

.site-header__title{    
    text-align: center;
    font-size: 35px !important;
    color: #fff !important;
}
.site-header__subtitle{
    max-width: 800px;
    text-align: center;
    font-size: 17px !important;
    color: #fff !important;
    margin: 15px auto;
}

@media screen and (min-width: 650px) {
    .nav-header ul li:last-child a{
        background: #3C434A;
        border-radius: 15px;
        padding: 8px 22px;
    }
}
/* Overwrite submenu items since there is no class to target top level nav items only */
.sub-menu li a{ 
    background: none !important;
    padding: 3px 16px !important;
}
.sub-menu li:hover{ 
    background: #ecebeb;
}
.sub-menu li + li{ 
    border-top: solid 1px rgba(31, 31, 31, 0.041);
}

/* SEARCH BAR */
.site-header .hkb-site-search{    
    width: 25vh;
    margin: 0 auto;
}
@media screen and (max-width: 765px){
    .site-header .hkb-site-search{ 
        width: 25vh !important;
    }
    .site-header .hkb-site-search .hkb-search::placeholder{        
        font-size: 13px;
    }
}
@media screen and (max-width: 900px) {
    .site-header .hkb-site-search{ 
        width: 20vw;
    }
}
@media screen and (max-width: 550px) {
    .site-header .hkb-site-search{ 
        margin-right: 20px;
    }
}

.site-header .hkb-site-search .hkb-site-search__field {
    height: 35px;
    font-size: 15px;
    padding: 0px 0px 0px 45px;
}
.site-header .hkb-site-search .hkb-site-search__field::placeholder {
    color: #3C434A;
}
.site-header__search .hkb-site-search__field::placeholder{
    color: #6b7580;
    font-size: 15px;
}

/* HOMEPAGE CATEGORY GRID */
.hkb-archive__title{
    text-align: center;
    font-size: 35px;
    color: #3C434A;
    margin: 0 0 0 !important;
}
.hkb-archive.hkb-archive--marginb > li{
    margin: 0 0 0 !important;
}
.hkb-category{
    background: none !important;
    color: #3C434A !important;
}

.hkb-category__title{
    font-weight: 900;
    color: #3C434A !important;
    margin-top: 10px !important;
}
.hkb-category__iconwrap{
    flex-basis: 100px !important;
}
.hkb-category__iconwrap, .hkb-category__iconwrap img{
    max-height: 75px !important;
    max-width: 75px !important;
}

/* CATEGORY OVERVIEW */
.archive .hkb-category__iconwrap{
    display: none;
}
@media screen and (min-width: 768px) {    
    .archive .hkb-category__iconwrap{
        /* margin-right: 40px;
        display: block; */
    }
}

.ht-categoryheader{
    padding: 0 0 0 !important;    
    border: none;
}
.ht-categoryheader__description{
    padding-bottom: 15px;
    font-size: 15px;
    color: rgb(107, 107, 107);
}


@media screen and (min-width: 768px){
    .ht-categoryheader__description{
        width: 70%;
    }
}

.ht-page__content .ht-articlelist li {
    list-style: none !important;
    margin: 0 0 5px !important;
}

.ht-articlelist::before{
    display: none;
}

@media screen and (min-width: 768px){
    .ht-page.ht-page--sidebaroff .ht-page__content {
        max-width: 1000px !important;
        padding: 0px 20px !important;
    }
}

/* BODY */
.ht-container{
    padding-left: 22px !important;
    padding-right: 22px !important;
}
.widget, .site-footer{
    background: #F4F4F4;
}
.non-front-page .ht-page{
    padding: 20px !important;
}

@media screen and (min-width: 768px) {
    .archive .ht-page {
        padding: 20px 0 !important;
    }
}

/* FOOTER */
.site-footer{
    background: #3C434A;
    display: flex;
}

.site-footer__company, .site-footer__navigation{
    display: flex;
    width: 50%;
}

.site-footer__company img{
    height: 5vh;
    width: auto;
    margin-bottom: 5vh;
}
.site-footer__company p {
    font-size: 14px;
    line-height: 20px;
    color: white;
    margin: 0;
}
.site-footer__social-links{
    margin-top: 20px;
    color: white;
    font-size: 16px;
}
.site-footer__social-links i{
    background: white;
    color: #3C434A;
    padding: 5px;
    border-radius: 15px;
}
.site-footer__social-links a{
    text-decoration: none;
    margin-right: 10px;
}
.site-footer__copyright{
    color: #efefef !important;
    float: none !important;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .site-footer .ht-container{
        flex-direction: column;
    }

    .site-footer__company img{
        width:  230px;
        height: auto;
        margin-bottom: 2vh;
    }
    
    .site-footer__copyright {
        margin-top: 20px !important;
    }

    .site-footer__company, .site-footer__navigation{
        width: 100%;
    }
    .site-footer__navigation ul li{
        font-size: 14px;
    }
}

.site-footer__navigation ul li {
    color: white;
}
.site-footer__navigation ul{
    margin: 0 auto;
    list-style: none;
    font-size: 13px;
    padding-left: 0px;
}
.site-footer__navigation ul li:first-child{
    font-weight: 900;
}
.site-footer__navigation ul li a{    
    color: white;
    text-decoration: none;
}
.site-footer__navigation ul li a:hover{    
    color: #F8B02B;
}

/* WORKSHOP INVITATION */
.bb-workshop-invitation__wrapper{
    width: 100%;
    background: #F4F4F4;
    padding-top: 30px;
    padding-bottom: 60px;
}
.bb-workshop-invitation__content{
    max-width: 1000px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    line-height: 25px;
    font-size: 17px;
    padding: 0 20px;
}
.bb-workshop-invitation__content-half{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.bb-workshop-invitation__content-half img{    
    height: auto;
    width: 75%;
    margin: auto;
}
.bb-workshop-invitation__signup-button{
    text-decoration: none;
    background: #F8B02B;
    border-radius: 25px;
    color: #3C434A;
    padding: 10px 30px;
    font-weight: 900;
}
.bb-workshop-invitation__content-half span{
    margin-top: 10px;
}
.bb-workshop-invitation__signup-button:hover{
    background: #fbbc45;
    color: #3C434A;
}
@media screen and (max-width: 768px) {
    .bb-workshop-invitation__content{
        flex-direction: column;
    }

    .bb-workshop-invitation__content-half{
        width: 100%;
    }
    
    .bb-workshop-invitation__content-half img{   
        margin-top: 20px;
        width: 50%;
    }
    
    .bb-workshop-invitation__content-half span{
        margin: 20px auto;
    }
}

/* RELEASES & INCIDENT SHARED */

.release-header, .incident-header{
    background: #75AADB;
    color: #ffffff;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
}
.release-version, .incident-title{
    font-size: 26px;
}
.release-date, .incident-date{
    margin-top: 10px;
    float: right;
}   

/* RELEASES */
.release-added::before, .release-improved::before, .release-fixed::before{                        
    text-decoration: underline;
}
.release-added:not(:empty)::before{
    content: "The following feature(s) have been added:";
}
.release-improved:not(:empty)::before{
    content: "The following feature(s) have been improved:";
}
.release-fixed:not(:empty)::before{
    content: "An overview of bugs that were fixed:";
}

/* INCIDENTS */
.incident-header{
    background: #E96E8E;
}
.incident-header.resolved{
    background: #B7D26B;
}
.incident-resolved-date{
    padding-left: 10px;
    font-weight: 900;
}