/* 
Theme Name:		 Spice Child
Theme URI:		 http://childtheme-generator.com/
Description:	 Spice Child is a child theme of Spice Software, created by ChildTheme-Generator.com
Author:			 haertl
Author URI:		 http://childtheme-generator.com/
Template:		 spice-software
Version:		 1.0.0
Text Domain:	 spice-martinus
*/


/*
    Add your custom styles here
*/
body {
    background-color: #ddd;
}

#content .page .container {
    background-color: #fff;
    padding: 1rem;
}

/* Trenner */
hr {
    background-color: #f90;

}

.wp-block-separator, .wp-block-separator.is-style-wide {
    border-color: #f90;
    border-width: 0;
}

/* Button */
.wp-block-button__link {
    border-radius: 0;
}

.wp-block-button__link.is-style-fill:hover {
    background-color: #f90;
    color: #fff;
}

.wp-block-button.is-style-outline:hover {
    background-color: #fff;
    color: #f90;
}


.page-title-section .overlay {
    background-color: transparent !important;
    /*background-color: rgb(255 90 0 / 20%) !important;*/
    border-bottom: 8px solid #f90; /*#fc0;*/
}

.navbar {
    background-color: #fff !important;
}

/* Bei Hintergrundbild Text ausblenden*/
.page-title-section.withHeaderImage .page-title h1 {
    color: transparent !important;
}

.page-title.text-belowHeader {
    background-color: #f90 !important;
}

.page-title.text-belowHeader h1 {
    color: white;
    padding-top: 0px;
    padding-bottom: 10px;
    margin: 0 !important;
}

.page-title-section.withoutHeaderImage .page-title h1 {
    margin-bottom: 0;
}

.page-title.page-title-placeholder {
    height: 3rem;
}

.page-title-section {
    background-image: none;
    background-color: #f90;
}

@media screen and (min-width: 1200px) {
    .page-title.page-title-placeholder {
        height: 5rem;
    }
}

section.page-title-section {
    padding: 55px;
    /*background-position-y: center !important;*/
    background-position-y: -100px !important;
    background-size: 100% !important;

    max-width: 1920px;
    margin: auto auto;
}

@media screen and (max-width: 1199px) {
    section.page-title-section {
        background-position-y: top !important;
    }
}


.footer-sidebar {
    padding: 2rem 0 1rem;
}

time.wp-block-latest-posts__post-date:before {
    content: "vom ";
}

time.wp-block-latest-posts__post-date {
    color: #b9b9b9;
}

.sidebar .widget {
    border-color: #f90;
}

/* Tablet Anpassung*/
@media screen and (min-width: 531px) and (max-width: 1150px) {
    .custom-logo {
        width: 140px;
    }
}

/*mobile Logo kleiner*/
@media screen and (max-width: 530px) {
    a.navbar-brand.custom-logo {
        float: left;
        width: 25%;
    }

    .custom-logo-link-url {
        float: left;
        width: 33%;
    }

    h2.site-title {
        font-size: 14px !important;
        line-height: 14px !important;
    }

    p.site-description {
        font-size: 10px !important;
        line-height: 11px !important;
    }

    /* Für Höhe Headerbild*/
    section.page-title-section {
        padding: 35px;
    }
}

/* Abstand zum content */
.section-space {
    padding-top: 2rem !important;
}

@media screen and (max-width: 767px) {
    .sidebarMartinus {
        background-color: #f8f8f8;
        padding-top: 15px;
    }
}


/* Bild Teaser */
.wp-block-latest-posts__featured-image img {
    width: 125px;
}

@media screen and (max-width: 768px) {
    .wp-block-latest-posts__featured-image img {
        width: 100px;
    }
}

/** Farbe icone **/
img.wp-smiley, img.emoji {
    filter: invert(0) sepia(0) saturate(10) hue-rotate(216deg);
    /*filter: invert(54%) sepia(100%) saturate(1205%) hue-rotate(1deg) brightness(103%) contrast(105%);*/
}

/******* Teaser Block ********/
.teaserBlock h2, .teaserBlock h2 a {
    font-size: 16px;
    margin-bottom: 4px;
}

.teaserBlockGroup {
    padding: 0px !important;
}

.teaserBlockGroup p.wp-block-post-excerpt__excerpt {
    max-height: 100px;
    overflow: hidden;
}

.importantMessage {
    background-color: #ff990030;
    padding: 18px;
    margin-top: 6px;
    margin-bottom: 20px;
}

.importantMessage p {
    color: #21202E !important;
}

/** Teaser Blog-Beiträge **/
.blogTeaser figure.wp-block-post-featured-image {
    height: 125px;
    overflow: hidden;
    background-color: orange;
}

.blogTeaser .wp-block-post-title {
    font-size: 16px;
}

.blogTeaserText li {
    background-color: #f8f8f8;
}

.blogTeaserImage p.wp-block-post-excerpt__excerpt {
    max-height: 125px;
    overflow: hidden;
}

/** Teaser Startseite **/
.page .post .entry-content .teaserWithBackground a {
    color: white !important;
	text-decoration: none !important;
	font-weight: normal !important;
}

.page .post .entry-content .teaserWithBackground a:hover {
    /*color: #d1d1c5 !important;*/
	text-decoration: underline !important;
	font-weight: normal !important;
}

