/*
 Theme Name:   Familienrezepte Fukasawa Child
 Description:  Child Theme
 Author:       Kirsten Schelper
 Author URI:   httpw://www.start-the-loop.com
 Template:     fukasawa
 Version:      1.0
 Text Domain:  fukasawa-child
*/

.blog-title a {
    border-color: #960129;
    color: #960129;
}

.blog-title a:hover {
    border-color: #333;
}

.home.page-template-default .post-inner,
.page-id-252 .post-inner {
    width: auto;
    max-width: 95%;
    padding: 0;
    padding-top: 20px;
}


/* No site title on static home page */

.home.page-template-default .post-header {
    display: none;
}

.home.page-template-default .wp-block-gallery .blocks-gallery-item figcaption {
    font-size: 0.7em;
    text-transform: uppercase !important;
    letter-spacing: 1px;
    font-style: normal;
    width: 100%;
    background: none;
    background-color: rgba(98, 30, 21, 0.8);
    padding-top: 0.75em;
    border-top: 3px solid white;
}

.home.page-template-default .wp-block-gallery .blocks-gallery-item figcaption a {
    color: white;
}

@media (max-width: 600px) {
    /*make tagcloud more compact*/
    .sidebar {
        padding: 20px 1% 10px 5%;
    }
    ul.blocks-gallery-grid {
        margin-left: 3%;
    }
}

@media (max-width: 1000px) {
    /*save space on small screens*/
    .widget_tag_cloud .widget-title {
        display: none;
    }
    .sidebar {
        display: block !important;
    }
}


/*sidebar widgets are hidden on small screens*/


/* we dont like that... */

@media (max-width: 1000px) {
    .main-menu,
    .widgets,
    .credits {
        display: none;
    }
    #menu-footer.main-menu {
        display: block;
    }
}


/* Show widgets, in our case it's the tags */

@media (max-width: 1000px) {
    .widgets {
        display: block;
        margin-top: -20px;
    }
    .widget-title {
        margin-bottom: 0;
    }
    .widget_search {
        width: 90%;
        margin-bottom: -20px;
    }
    /*these before thingies (small lines) are in the way */
    .main-menu:before,
    .widgets:before,
    .widget+.widget:before,
    .credits:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        background: #e7e7e7;
        margin: 35px 0;
    }
    .tagcloud {
        margin-top: 10px;
    }
    /* make tags a little bit bigger */
    .widget_tag_cloud a {
        padding: 8px 10px 8px 10px !important;
        margin: 0 2px 4px 0;
        font-size: 14px !important;
    }
    /* Get that nav toggle out of the way */
    .nav-toggle {
        position: absolute;
        top: 30px;
        right: 20px;
    }
}


/* make tags a little bit bigger on bigger screens, too */

.widget_tag_cloud a {
    padding: 10px 12px;
    margin: 0 2px 6px 0;
    font-size: 13px !important;
}


/*Zeilenhöhe*/

.post-content p,
.post-content blockquote,
.post-content ul,
.post-content ol,
.post-content address,
.post-content dl,
.post-content .wp-caption,
.post-content pre {
    line-height: 150%;
    margin-bottom: 0.5em;
}

.post-content li {
    margin-bottom: 0;
}

.floating-box {
    border: 1px solid #bfdaae;
    padding: 0.5em;
    background-color: #e9f5e1;
    border-top: 5px solid #bfdaae;
    margin-top: 1em;
}

@media (min-width: 1000px) {
    .floating-box {
        width: 40%;
        float: right;
    }
}

.margin-top {
    margin-top: 2em !important;
}

.line-before:before {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: #e7e7e7;
    margin: 35px 0;
}


/*Plugin Advanced Excerpt*/

.post-excerpt p,
.post-excerpt ul li,
.post-excerpt ol li,
.post-excerpt h4 {
    line-height: 1.4 !important;
    font-style: italic;
    color: inherit !important;
}

@media print {
    .tagcloud,
    .post-navigation,
    .post-edit-link,
    .nav-toggle {
        display: none;
    }
    body {
        font-size: 16px;
    }
}


/*Feb23 Added footer-menu for Impressum etc. */


/*See line 84*/

.site-footer {
    height: 40px;
    padding-left: 1em;
}

#menu-footer li a {
    font-size: 12px;
}

@media (min-width: 600px) {
    #menu-footer li a {
        float: left;
        padding-right: 20px;
    }
}


/* On this Day Query in PHP widget*/

.speiseplan h3 {
    display: block;
    line-height: 1.25;
    padding-top: 1em;
    margin-bottom: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #767676;
}

.speiseplan ul li {
    display: block;
    line-height: 1.25;
    border: none;
    color: #960129;
    padding: 5px 0;
}