/*
Theme Name: Vaterliebe 2025
Author: Frank W. Hempel
Author URI: https://www.frank-hempel.de
Description: This theme only has basic styles.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: diy
Domain Path: /languages
Tags: blog, two-columns, right-sidebar, custom-background, custom-header, custom-menu, featured-images, flexible-header, translation-ready, theme-options
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('inc/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('inc/fonts/roboto-v30-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


body, html {
    height: 100%;
}


/* Basic formatting */

div {
    box-sizing: border-box;
}

h1 {
    font-size: 1.6em;
    margin: 0 0 0.5em 0;
}
h2 {
    margin: 0 0 0.5em 0;
    font-size: 1.8em;
    color: #636363;

}
h3 {
    font-size: 1.1em;
    margin: 0 0 0.5em 0;
}
h4 {
    font-size: 1em;
    margin: 0 0 0.5em 0;
}

main, header, nav, div, section, article, dl, dt, footer {
    box-sizing: border-box;
}

p {
    margin: 0.5rem 0 1rem 0;
}

a {
    text-decoration: none;
    color: #333;
    border-bottom: 1px dotted;
}

a[href*="tel"], a[href*="tel"]:hover {
    border:none;
}
a[target="_blank"]:after {
            content: "";
            background-image: url(inc/pics/external_link_icon.png);
            background-repeat: no-repeat;
            background-size: contain;
            width: 0.6em;
            height: 0.6em;
            margin-bottom: 0.2em;
            margin-left: 0.2em;
            display: inline-block;
        }
footer a[target="_blank"]:after {
            background-image: url(inc/pics/external_link_icon_white.png);
        }

ul, ol {
    margin-left: 1em;
    margin-top: 0.5em;
    margin-bottom:0.5em;
}
ul ul, ul ol, ol ol, ol ul {
    margin-top: 0;
    margin-bottom:0;
}

img {
    max-width: 100%;
    height:auto;
    display: block;
}

iframe {
    max-width: 100%;
}

pre {
 white-space: pre-wrap;
}

.clearfloat {
    clear: both;
    display:block;
    float:none;
}




/* Wordpress Formatierungen */

.aligncenter,
div.aligncenter,
a img.aligncenter {
    display: block;
    margin: auto;
}

.alignright,
a img.alignright,
.wp-caption.alignright {
    float:right;
    margin: 0 0 1em 1em;
}

.alignleft,
a img.alignleft,
.wp-caption.alignleft {
    float: left;
    margin: 0 1em 1em 0;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.gallery img {  /* Kein Rand um Vorschaubilder der Galerie */
    border: none !important;
}

article::after {
    content: "";
    float:none;
    clear:both;
    display:block;
    height:1px;
}

.widget li {
    list-style: none;
}

/* Back to top  */

#smoothup {
height: 40px;
width: 40px;
position:fixed;
bottom:30px;
right:5%;
text-indent:-9999px;
display:none;
background: url("inc/pics/top_icon.png");
background-size: 100%;
opacity: 1;
-webkit-transition-duration: 0.4s;
-moz-transition-duration: 0.4s; transition-duration: 0.4s;
outline: none;
border: none;
}

#smoothup:hover {
/* -webkit-transform: rotate(360deg); */
border: none;
}

/* styling */

body {
    font-family: 'Roboto', Helvetica, sans-serif;
    color: #333;
    background-color: #A70D19;
    font-size: 1.1rem;
    border-bottom: 1px solid transparent; /* display always vertical scrollbar */
    background-attachment: fixed;
}

#wrapper {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    }

.inner, main {
    max-width: 900px;
    margin:0 auto;
}

.home #wrapper {
    display: block;
    grid-template-rows: none;
}


header {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#dc0000+0,d20000+61,780000+100 */
background: linear-gradient(to bottom,  #dc0000 0%,#d20000 61%,#A70D19 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
padding-top:0.5rem;
}
 .home header {
    background-color: #A70D19;
    background-image: none;
 }

header img {
padding-top: 0.5rem;
padding-bottom: 1rem;
display: block;
margin:auto;
}

header .menu {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin:0.5rem auto 0.5rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style:none;
}

header .menu a {
    font-size: 1.2em;
    line-height: 1.6em;
    font-weight: normal;
    transition: all 0.5s;
    background-color: transparent;
    color: #fff;
    display: block;
    padding: 0 1em;
}
header .menu a:hover {
    background-color: #E71826
}




main {
    background-color: rgba(255,255,255,1);
    width:100%;
    padding: 1em;
    line-height: 1.4em;
}
.home main {
    background-color: transparent;
    padding: 0 1em;
}

h2.article-headline {
    font-size: 1.8rem;
    font-weight: normal;
}
.home h2.article-headline {
    display:none;
}
h2.wp-block-heading {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.home img {
    display:block;
    max-height: 100vh !important;
    width: auto;
}

.startbild-klein {
    position: absolute;
    bottom: 1em;
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    max-width: 35% !important;
}

.schatten img {
    box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

article a:hover {
    border-bottom-style: solid;
}
header .menu a {
    border-bottom: none;
}


.home article {
    position: relative;
}

.home main, .home .articles, .home article {
min-height: 100%;
}

.page-template-page-wenig-text .wenig-text {
                display: grid;
                align-items: center;
                justify-content: center;
                min-height: 50vh;
}

hr.wp-block-separator {
    border: none;
    border-bottom: 1px solid #999 !important;
    margin: 2em 0 !important;
}

footer {

}
footer .inner {
    color: rgba(255,255,255,0.8);
}
footer a {
    color: rgba(255,255,255,0.8);
}
footer a:hover {
    border-bottom-style: solid;
}

footer ul, footer li {
    margin:0;
    padding:0;
    list-style:none;
}

footer li {
    float: left;
    line-height: 3em;
    margin-right: 1em;
    font-size: 0.85em;
}

footer .made-by {
    float: right;
}
footer .made-by li {
    margin-right: 0;
}

.startfooter {
    position: absolute;
    right: 0;
    display: flex;
    bottom:0;
    margin-right: 15%;
    font-size: 0.85rem;
}
.startfooter ul {
    display: flex;
    list-style: none;
}
.startfooter a {
    padding: 0 0.5em;
}

.startfooter, .startfooter a {
    color: rgba(255,255,255,0.6);
}


@media screen and (max-width: 900px) {

header img {
float: none;
display: block;
max-width: 90%;
margin:0 auto 0.5em auto;
}
.home main, .home .articles, .home article {
min-height: 86vh;
}
.startbild-klein {
 left: 1em;
}

footer {
        padding: 0 1rem;
    }
}

@media screen and (max-width: 820px) {

.home main, .home .articles, .home article {
min-height: 100vh;
}

}



/* Seite Synopsis HTML */

            .synopsis {
                font-size: 1.2rem;
                display: flex;
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                padding-bottom: 1em;
                margin-bottom: 1em;
                border-bottom: 1px solid #888;
            }
            .synopsis .links {
                width: 45%;
                text-align: center;
                display: grid;
                grid-template-rows: auto, auto,auto,auto,1fr;
            }
            .synopsis h2, .synopsis h3 {
                font-family: "Times New Roman", Times, serif;
            }
            .synopsis h2 {
                font-size: 2em;
                margin: 2em 0 0 0;
            }
            .synopsis h3 {
                margin:1em 0 2em 0;
                font-size. 1.5em;
                line-height: 1em;
            }
            .synopsis .episodes {
                font-size: 0.8em;
            }
            .synopsis .events {
                margin-bottom: 5em;
            }

            .synopsis .rechts {
                max-width: 45%;
                font-size: 0.75em;
                font-style: italic;
                padding-left:1em;
            }
            .synopsis img {
                height: auto;
                display: block;
                max-width: 100%;
                margin-bottom: 2em;
            }
            .synopsis .authors, .synopsis .guild {
                text-align: left;
            }
            .synopsis .authors {
                text-transform: uppercase;
            }
            .synopsis .guild {
                font-size: 0.8em;
            }
            .synopsis .unten {
                margin-top: 6em;
            }
            .synopsis-text {
                max-width: 90%;
                margin:auto;
            }


/* Template Rezi Read more */

.rezi .more {
    display: none;
}
.rezi button {
    margin-top: 0.5em;
    display: block;
    border:none;
    outline: none;
    cursor: pointer;
    background: none;
    padding: 0;
    text-decoration: underline;
    font-size: 1em;
}
.rezi article {
    max-width: 900px;
    margin: auto;
    border-bottom: 1px solid #999;
    padding-bottom: 1em;
}
.rezi h3 {
    font-weight: normal;
    margin: 1em 0 0.5em; 0;
}

            @media screen and (max-width: 783px) {
            .synopsis .unten {
                margin-top: 0;
            }
            }
            @media screen and (max-width: 685px) {
            .synopsis .links, .synopsis .rechts {
                max-width: 50%;
            }
            }

            @media screen and (max-width: 600px) {
                .page-vitae .wp-block-image, .page-vitae-2 .wp-block-image {
                    text-align: center;
                }
                .page-vitae .wp-block-image figure, .page-vitae-2 .wp-block-image figure {
                display: inline-block !important;
                float: none;
                margin: auto !important;
                }
            }

            @media screen and (max-width: 547px) {
            .synopsis {
                display: block;
            }
            .synopsis-text {
                max-width: 100%;
            }
            .synopsis .links, .synopsis .rechts {
                max-width: 100%;
                width: 100%;
                display: block;
                }
                .synopsis .events {
                margin-bottom: 2em;
            }
                        .synopsis h2 {
                margin: 1em 0 0 0;
            }

                .synopsis .authors,.synopsis .guild {
            text-align: center;
            }
            .synopsis .rechts {
                margin-bottom: 1em;
            }
            .synopsis-text {
                padding-top: 1em;
            }


            }

