/*
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.0.0
*/


/* ------- Insert custom styles below this line ------- */

@font-face {
    font-family: 'museo-sans';
    src: url('/wp-content/fonts/museo/MuseoSans-700.woff2') format('woff2'),
        url('/wp-content/fonts/museo/MuseoSans-700.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'museo-sans';
    src: url('/wp-content/fonts/museo/MuseoSans-500.woff2') format('woff2'),
        url('/wp-content/fonts/museo/MuseoSans-500.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'museo-sans' !important;
    color: #333333;
}

body, input, optgroup, select, textarea, p {
    font-family: 'museo-sans' !important;
    color: #333333;
    line-height: 1.5;
}

body {
    border-top: 4px solid #dc0046;
}

.site-logo {
    width: 120px;
}

.site-title div {
    color: #fff;
    flex-grow: 1;
    font-weight: 700;
    font-size: 26px;
    line-height: 28px;
    line-height: 62px;
}

.site-header .site-header__banner {
    padding: 24px 0;
}

.header-wrapper {
    position: relative;
}


/* Solved "cutting of bottom text error" of the original theme accordion */

.wp-block-hb-accordion .wp-block-hb-accordion__content .wp-block-hb-accordion__contentwrap {
    padding: 26px;
}


/* Adapted theme styles for the Accordion-Blocks-Plugin */

.hkb-article__content .c-accordion__item > h2 {
    font-size: 28px;
    line-height: 1.2;
    padding: 22px 0 0;
    background-color: #f0f2f5;
	cursor: pointer;
}

.c-accordion__item > h2:after {
    display: none;
}

.hkb-article__content .c-accordion__item > h2:active,
.hkb-article__content .c-accordion__item > h2:focus {
    border: none;
    outline: none;
}

.hkb-article__content .c-accordion__item > h2 {
    background: #f0f2f5;
    color: #595959;
    padding: 1em 1em 1em calc(1em + 20px);
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
    font-weight: bolder;
    line-height: 1;
    border-bottom: 1px solid #e6e8eb !important;
    position: relative;
    margin-bottom: 0;
}

.hkb-article__content .c-accordion__item > h2::before {
    position: absolute;
    top: 50%;
    left: 12px;
    margin-top: -10px;
    background-image: url("../../plugins/heroic-blocks/img/plus-circle.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px;
    display: block;
    width: 20px;
    height: 20px;
    content: '';
}

.c-accordion__content {
    padding: 1em 1em 0 1em;
    border: 1px solid #f0f2f5;
}

.hkb-category.hkb-category--boxed {
    margin: 0 0 20px;
    border-radius: 12px;
    background: #fff;
}

.hkb-category__link {
    border-radius: 5px;
    align-items: center;
    background: #fff;
    box-shadow: 0 0 0 1px rgb(113 117 128 / 20%);
    transition: box-shadow .25s ease !important;
}

.hkb-category.hkb-category--boxed:not(.hkb-category--witharticles) .hkb-category__link:hover {
    background: #fff;
}

.hkb-category__link:hover {
    background: #fff;
    box-shadow: 0 0 0 1px rgba(113,117,128,0.07), 0 1px 3px 0 rgba(113,117,128,0.12), 0 10px 32px 0 rgba(113,117,128,0.12);
}

.site-header .site-header__search {
    padding: 20px 0;
}
        
.site-header__search .site-header__title {
    display: none;
}

.hkb-newvideo-container .hkb-newvideo-item .hkb-newvideo-item-link {
    background: #F9FAFB !important;
    box-shadow: 0 0 0 1px rgba(113,117,128,0.20);
    border-radius: 12px;
    transition: box-shadow .25s ease !important;
}
.hkb-newvideo-container .hkb-newvideo-item .hkb-newvideo-item-link:hover {
    box-shadow: 0 0 0 1px rgba(113,117,128,0.07), 0 1px 3px 0 rgba(113,117,128,0.12), 0 10px 32px 0 rgba(113,117,128,0.12);
}

.ht-pageheader {
    background: #111118 !important;
}

@media screen and (min-width: 768px) {
    .ht-pageheader {
        padding: 25px 0 26px;
    }
}

.site-footer {
    background: #111118 !important;
}

.hkb-article-tags > a {
    background: #FFF0F5 !important;
        color: #A00335;
}

@media (max-width: 800px) {
    .site-header__banner, .site-header__search {
        flex-grow: 1;    
    }
    #hkb-search {
        padding: 5px 20px 5px 45px !important;
    }
    .hkb-searchresults__excerpt {
        display: none !important;
    }
    .site-header__banner {
        flex-basis: 50%;
        width: 150px;
    }
    .site-header .header-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        max-width: 1140px;
        margin: 0 auto;
    }
    .site-title  {
        padding: 0 20px;
        text-align: center;
        flex-grow: 1;
    }
    .site-header__search {
        flex-grow: 1;
        flex-basis: 100%;
    }
}

@media (min-width:800px) {
   .site-header__banner, .site-title  {
        flex-basis: 50%;
    }
    .site-title {
        flex-basis: 50%;
        transform: translateX(-50%);
        position: absolute;
        left: 50%;
        top: 7px;
    }
    .site-header__search #hkb-search {
        padding: 14px 20px 14px 45px !important;
    }  
    .site-header .header-wrapper {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        max-width: 1140px;
        margin: 0 auto;
    }
    .site-header__search {
        flex-grow: 1;
        flex-basis: 100%;
    }
    .ht-pageheader .hkb-site-search .hkb-site-search__field {
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

.hkb-feedback {
    border-radius: 5px;
}

.is-open .c-accordion__item > h2::before {
    background-image: url(https://support.hosttech.ch/wp-content/plugins/heroic-blocks/img/plus-circle.svg) 
}

.hkb-breadcrumbs a, .hkb-breadcrumbs span {
    color: #fff;
}

.hkb-breadcrumbs a:hover {
    color: #DC0046 !important;
}

ul.hkb-article-list {
    list-style-position: outside !important;
    margin-left: 20px !important;
}

.hkb-breadcrumbs_wrap > .hkb-breadcrumbs:not(:first-child) {
    display: none;
}

.hkb-site-search .hkb-site-search__field {
    box-shadow: none !important;
}

.request_article {
    background: rgba(243, 238, 217, 0.28) !important;
    border: 1px solid rgba(243, 238, 217, 1);
    padding: 10px 30px;
    max-width: 600px;
}

.request_article .ff-btn-submit  {
    background: rgba(17, 17, 24, 0.8) !important;
}

.request_article h3 {
    font-size: 17px;
}

.request_article p {
    font-size: 15px;
}

.ff-message-success {
    border: none !important;
    box-shadow: none !important;
    font-weight: bold;
    padding: 0;
    color: rgba(30,145,30,0.8) !important;
}

.fluentform .ff-el-form-control:focus {
    border-color: #DC0046 !important;
}

.hkb-newvideo-item-title, .hkb-latest-article-item-title {
    color: #333333 !important;
}

.widget {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    border-radius: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

#hkb-jquery-live-search {
    border-radius: 12px;
    -webkit-transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(circle, white 100%, black 100%);
}

.hkb-site-search {
    max-width: 649px;
}

.hkb-article__content code {
    border: 0;
}

div#fluentform_3_success {
    font-style: italic;
    font-weight: 700;
    padding: 0;
}

.g img {
    max-width: 100%!important;
}

/*Code for WSC language*/

html[lang="de-EU"] .site-header {
    background: #F3F4F6!important;
}
html[lang="de-EU"] .site-header__title {
    color:black!important;
}
html[lang="de-EU"] .site-footer__copyright {
    display: none!important;
}
html[lang="de-EU"] #ht-kb-exit-widget-2 {
    display: none!important;
}
html[lang="de-EU"] .hkb-article-list__format-standard > a{
    color: #3F60F7!important;
}
html[lang="de-EU"] p > a {
    color: #6D737E!important;
}
html[lang="de-EU"] .hkb-articlemini:hover > .hkb-article__link > .hkb-article__title{
    color: #3F60F7!important;
}
html[lang="de-EU"] .hkb-article-list__format-standard a:hover{
    color: black!important;
}
html[lang='de-EU'] body  {
    border-top: 4px solid #3F60F7;
}
html[lang='de-EU'] .site-title {
    display: none;
}
html[lang='de-EU'] .ht-pageheader {
    background: #F3F4F6!important;
}
html[lang='de-EU'] .hkb-breadcrumbs a, html[lang='de-EU'] .hkb-breadcrumbs span {
    color: rgb(51,51,51);
}
html[lang='de-EU'] .hkb-breadcrumbs__icon {
    fill: #3F60F7;
}
html[lang='de-EU'] .hkb-article-tags > a {
    background: rgba(63, 96, 247, 0.1) !important;
    color: rgba(63, 96, 247, 0.7) !important;
}
html[lang='de-EU'] .hkb-article__content a  {
    color: #3F60F7 !important;
}
html[lang='de-EU'] .hkb_widget_toc ol li.active > a  {
    background: rgba( 63, 96, 247, 0.8);
}