/*
 * Theme Name: Praxis Dr. med. Hans-Peter Goldscheid
 * Theme URI: https://goldscheid.de
 * Description: Theme von Alexander Elskamp für Dr. med. Hans-Peter Goldscheid
 * Author: Alexander Elskamp
 * Author URI: https://elskamp.work
 * Version: 1.0
 */

/* cyrillic-ext */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../DRG/font/jizaRExUiTo99u79D0-ExdGM.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../DRG/font/jizaRExUiTo99u79D0aExdGM.woff2) format('woff2');
    unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../DRG/font/jizaRExUiTo99u79D0yExdGM.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../DRG/font/jizaRExUiTo99u79D0KExQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html, body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', sans-serif;
}

body {
    position: relative;
    background: #fff;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.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.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.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;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

:root {
    --farbe: #77d043;
    --buttonfarbe: #abf87e;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

h1 {
    margin-bottom: 1rem;
    color: var(--farbe);
    font-size: 1.5em;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 4.5rem;
    z-index: 499;
    background: #fff;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.hamburger {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 0.75rem 0 0 1rem;
    padding: 0;
    height: 3rem;
    width: 3rem;
    z-index: 500;
    text-indent: 0;
    appearance: none;
    border: 2px solid var(--farbe);
    cursor: pointer;
    transition: background 0.3s;
    background: var(--farbe);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.h-ena {
    outline: none;
}

nav ul.menu {
    position: absolute;
    margin: 0;
    padding: 0;
    height: auto;
    top: 4.5rem;
    z-index: 999;
    display: none;
    list-style: none;
    background: #fff;
    transition: visibility 0.5s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

ul.children {
    margin: 0;
    padding: 0 1rem;
}

nav ul li {
    margin: 0;
    padding: 0.25rem 0.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

nav li.current_page_parent > a {
    font-weight: bold;
    color: var(--farbe);
    text-decoration-line: underline;
}

nav li.current_page_item > a {
    color: var(--farbe);
    text-decoration-line: underline;
}

nav ul a {
    width: 80%;
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

nav ul ul a {
    font-size: 1.25rem;
}

nav ul li:hover > a {
    color: var(--farbe);
    text-decoration-line: underline;
}

nav ul li:hover ul {
    display: block;
}

nav ul ul {
    display: none;
    list-style: none;
    background: #fff;
    transition: visibility 0.5s;
    width: 100%;
}

nav ul ul li {
    margin: 0.5rem 0 0;
}

.close {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 4.5rem;
    z-index: 501;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    display: none;
}

nav ul.m-ena, .h-ena, .close-ena {
    display: block;
}

.hamburger span {
    display: block;
    position: absolute;
    top: 45%;
    left: 25%;
    right: 25%;
    height: 10%;
    background: #fff;
    transition: background 0s 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.hamburger span::before, .hamburger span::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    content: "";
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
}

.hamburger span::before {
    top: -210%;
    transition-property: top, transform;
}

.hamburger span::after {
    bottom: -210%;
    transition-property: bottom, transform;
}

.h-ena span {
    background: none;
}

.h-ena span::before {
    top: 0;
    transform: rotate(45deg);
}

.h-ena span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.h-ena span::before, .h-ena span::after {
    transition-delay: 0s, 0.3s;
}

.platzhalter {
    height: 4.5rem;
}

.opener {
    width: 100%;
    height: 70vh;
    margin-top: 4.5rem;
    overflow: hidden;
    background-size: cover;
    box-shadow: 0 7px 15px rgba(0, 0, 0, 0.2);
}

.opener img.wp-post-image {
    position: absolute;
    opacity: 0;
    height: 70vh;
    width: 100%;
    object-fit: cover;
    transition: opacity 3s;
}

div.content {
    display: flex;
    flex-flow: column;
    margin: 1rem;
}

div.sidebar {
    order: 2;
    margin-bottom: 1.5rem;
}

.sidebar div.terminbuchung {
    cursor: pointer;
    padding: 1rem;
    background-color: var(--farbe);
    text-align: center;
    border-radius: 15px;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
}

.sidebar div.terminbuchung:hover {
    background-color: var(--buttonfarbe);
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.4);
}

.sidebar div.sprechzeiten {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--farbe);
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.2);
}

.sidebar div.info {
    margin-bottom: 1rem;
}

div.contentPost {
    order: 1;
}

div.childPages {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

div.page {
    position: relative;
    margin: 1rem;
    width: 15rem;
}

div.page a {
    color: #000;
    text-decoration: none;
}

div.pageImage {
    height: 15rem;
}

div.page img {
    display: block;
    height: 15rem;
    width: 100%;
}

div.pageTitle {
    position: absolute;
    bottom: 0;
    min-height: 2.5rem;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--farbe);
    text-align: center;
    line-height: 2.4rem;
}

.clear {
    position: relative;
    visibility: hidden;
    clear: both;
}

.footerclear {
    height: 46rem;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 44rem;
    margin-top: 2.5rem;
    background-color: #595959;
    color: #fff;
    box-shadow: 0 -10px 15px rgba(0, 0, 0, 0.2);
}

.footerInfo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 1rem;
    height: 42rem;
    padding: 1rem 0;
}

.footerInfo h1 {
    color: #3f3f3f;
}

.footerInfo .ueberUns a {
    color: #fff;
}

.footerInfo .anfahrt {
    max-width: 20rem;
}

.footerInfo .leistungen a {
    color: #fff;
}

.copyImpr {
    min-height: 2rem;
    background-color: #3f3f3f;
    line-height: 1.9rem;
    font-size: 0.8rem;
}

.copy {
    float: left;
    margin-left: 1.5rem;
}

.impr {
    float: right;
    margin-right: 1.5rem;
}

.impr a {
    color: #fff;
    text-decoration: none;
}


@media screen and (min-width: 768px) {
    h1 {
        font-size: 2em;
    }

    nav ul.menu {
        width: 50%;
    }

    div.content {
        margin: 1rem 3.5rem;
    }

    .footerclear {
        height: 34rem;
    }

    footer {
        height: 32rem;
    }

    .footerInfo {
        margin: 0 3.5rem;
        height: 30rem;
    }

    .copyImpr {
        font-size: 1rem;
    }
}

/*Target ändern, wenn Manu kaputt (auch das nächste)*/
@media screen and (min-width: 1010px) {
    nav {
        height: 3rem;
    }

    nav ul.menu {
        background: none;
        display: flex;
        box-shadow: none;
        top: 0;
        height: 3rem;
        margin: 0 0 0 6rem;
        padding: 0;
        width: auto;
        justify-content: left;
    }

    nav ul li {
        display: inline-block;
        padding: 0 1rem 0 0;
        height: 3rem;
    }

    nav ul a {
        line-height: 3rem;
    }

    nav ul ul {
        position: absolute;
        max-width: 20rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    }

    nav ul ul li {
        width: 100%;
        margin: 0;
        height: auto;
    }

    .hamburger {
        display: none;
    }

    .opener {
        margin-top: 3rem;
    }

    .opener div {
        padding-top: 25vh;
    }

    div.content {
        display: block;
        margin: 1.5rem 6rem;
    }

    div.sidebar {
        float: right;
        margin-left: 2rem;
    }

    .footerclear {
        height: 19rem;
    }

    footer {
        height: 17rem;
    }

    .footerInfo {
        margin: 0 6rem;
        height: 15rem;
    }
}

/*Target ändern, wenn Manu kaputt (auch das vorherige)*/
@media screen and (min-width: 1250px) {

    nav ul.menu {
        margin: 0 0 0 20rem;
    }

    div.content {
        margin: 1.5rem 20rem;
    }

    .footerInfo {
        margin: 0 20rem;
    }
}