/*
 Theme Name:   Storefront Child
 Description:  Mein Child Theme
 Author:       visual4 GmbH
 Author URI:   httpw://www.webtimiser.de
 Template:     storefront
 Version:      1.0
 Text Domain:  storefront-child
*/

/* ToDO 
1. Important Statement sollten entfernt werden
2. Keine ID's stylen
*/

body{
  font-family: 'Lato', sans-serif, Tahoma, Arial, Verdana;

}



#masthead::after {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 200px 200px;
    border-color: transparent transparent #34393d transparent;
    pointer-events: none;
}

#content::after {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 200px 200px;
    border-color: transparent transparent #86888B transparent;
}

#content {
    position: relative;
}


h1{
    background: #59a98b;
    color: white;
    font-size: 2rem;
    padding: 15px;
}

h2{
    background: #59a98b;
    color: white;
    font-size: 1.9rem;
    padding: 10px;
}

h3{
    background: #59a98b;
    color: white;
    font-size: 1.8rem;
    padding: 8px;
}
h4{
    background: #59a98b;
    color: white;
    font-size: 1.7rem;
    padding: 7px;
}
h5{
    background: #59a98b;
    color: white;
    font-size: 1.6rem;
    padding: 6px;
}
h6{
    background: #59a98b;
    color: white;
    font-size: 1.5rem;
    padding: 5px;
}

p {
    color: white;
    line-height: 1.8em;
    font-size: 1.1rem;
}

a{
    color: white;
}

a:focus,
input:focus,
textarea:focus,
button:focus{
    outline: transparent;
}

.menu a:hover{
    text-shadow: 1px 0 0 white;
}

.active a{
    text-shadow: 1px 0 0 white;
}

.site-content{
    background: #34393d;
    padding-top: 4.235801032em;
}

.site-header {
    background-color: black;
    margin-bottom: 0px !important;
    border-bottom: 0px;
}


.kbwrapper p{
    color: black;
}

.onecrm-kb-head-wrapper h2{
    background: transparent;
    color: black;
}

.kbwrapper h2{
    background: transparent;
    color: black;
}

.wpwh-form {
    color: white;
}

.onecrm-p-create {
    padding: 0.6180469716em 1.41575em;
    font-size: 16px;
}

/*Account Edit Button */
.wpwh-my-account-view-toggle{
  display: none;
}



/* Buttons */
.wp-block-button{
    border-style: solid;
    border-color: white;
    border-width: 1px;
}

.wp-block-buttons{
    margin-top: 30px;
}

.wp-block-button__link{
    background: transparent !important;
    color: white !important;
    font-weight: 100 !important;

}


/* Breadcrumb */

.onecrm-p-breadcrumbs img{
        display: none;
}

/* Knowledge Base*/
.onecrm-p-category{
    border-radius: 0px !important;
}

.onecrm-p-search-wrapper{
    display: block !important;
    position: static !important;
    padding: 20px;
    padding-right: -10px;
    margin-top: -20px;
    border: solid 1px #ccc;
    background: #fff;
}
.onecrm-p-search-wrapper .focused{
    border-radius: 0px !important;
}

.onecrm-p-search-inline:focus{
    max-width: 230px;
}

.onecrm-p-article{
    border-radius: 0px !important;
}

.onecrm-p-article-docs span {
    color: white;
}

.onecrm-p-article-content{
    background: white;
    color: black;
	padding: 5%;
}

.onecrm-p-article-content a{
    color: white;
}

.onecrm-p-article-content h1{
    background: transparent;
    color: black;
}
.onecrm-p-article-content h2{
    background: transparent;
    color: black;
}
.onecrm-p-article-content h3{
    background: transparent;
    color: black;
}
.onecrm-p-article-content p{
    color: black !important;
}


/*Knowledge Base => Headlines */
#onecrm_article_listall > h2{
    font-weight: bold !important;
    background: transparent !important;

}

/* Knowledge Base => Topics */
.onecrm-p-summary-container p{
    color: black;
}

.onecrm-kb-head-wrapper h2{
    padding-left: 0px;
}

/* Knowledge Base => article */
.listkb .onecrm-p-article h2{
    color: black;
    background: transparent;
}

.onecrm-kb-head-wrapper h2{
    height: auto !important;
}

.onecrm-p-article h2 {
    padding-left: 0px;
}

.onecrm-p-article h2{
    height: auto !important;
}

/*  footer   */
.site-footer{
    background: #86888B;
}

.site-info{
    color: white;
}

.footer_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    margin-top: 40px;
}
.footer_navigation li{
    list-style: none;
    margin-bottom: 15px;
}
.footer_navigation li a{
    color: white !important;
}

.footer_navigation ul{
    margin: 0 0 0;
}
.footer_navigation ul li a{
    text-decoration: none;
}
.footer_navigation{
    font-size: 1.1rem;
    text-transform: uppercase;
}

#footer_menu{
    width: 20%;
    min-width: 150px;
    margin-bottom: 20px;
}

#footer_social_media{
    width: 30%;
}

.site-branding{
    width: 80%;
    text-align: center;
}

.site-branding div p{
    font-size: .95rem;
    line-height: 1.2em;
}

.footer_container .site-branding a{
    margin: 0 auto 20px auto;
    display: block;
    max-width: 230px;
}

.footer_language--mobile{
    display: none;
}



/* media queries */
/* BUG margin von main bei 768px störend am footer*/
@media only screen and (max-width: 768px) {
    .site-main{
        margin-bottom: 0em;
    }

    .hentry{
        margin: 0 0 0em;
    }
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 768px) {
    #masthead::after {
        border-width: 0 0 60px 60px;
    }

    #content::after {
        border-width: 0 0 60px 60px;
    }
}


@media only screen and (max-width: 767px) {
    .footer_language--mobile{
        display: block;
    }
}


@media only screen and (max-width: 833px) {
    .footer_container{
        flex-direction: column;
        align-items: center;
    }
    .footer_navigation .menu{
        display: flex;
        flex-direction: column;
        align-items: center;
    }


}

@media only screen and (max-width: 475px) {
    #masthead::after {
        border-width: 0 0 40px 40px;
    }

    #content::after {
        border-width: 0 0 40px 40px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    #masthead::after {
        border-width: 0 0 100px 100px;
    }

    #content::after {
        border-width: 0 0 100px 100px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #masthead::after {
        border-width: 0 0 200px 200px;
    }

    #content::after {
        border-width: 0 0 200px 200px;
    }
}

.remodal p {
    color:black !important;
}

.cdm-advanced-search {
    color:black !important;
}

.sp-cdm-folder-navigation-buttons a {
	color: black;
}

.dlg_cdm_thumbnail_folder a {
	color: white;
}
.dlg_cdm_thumbnail_folder a:hover {
	background-color: rgba(89,169,139, 0.8) !important;
}

.dlg_cdm_thumbnail_folder img {
	align-items: center;
}

img {
    vertical-align: middle;
    border: 0 none;
    max-width: 250px;
	margin: auto;
}
.listview  {
	color: black !important;
}

div.onecrm .detailview .cell>span {
    color: #697687;
}
.batch_function_button span{
	color: grey;
	font-size: 20px;
}

.content-area {
	width: 100% !important;
}

.sp-cdm-premium-search #search_files{max-width:400px;width:100%;background-color:white}

.sp-cdm-r-folder-title{float:left;width:75%;display:block;padding-top:10px;color:#34393d}

.sp-cdm-r-file{padding:5px;background-color:#EFEFEF;margin-bottom:2px;border-radius:5px; cursor:pointer;color:#34393d}
