/*
Theme Name: Dialysezentren Theme
Template: attitude
Version: 1.0.0
*/

/* Basis-Overrides aus dem Parent Theme */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot,
thead, tr, th, td {
    font-family: arial;
}

body,
input,
textarea,
select {
    font: 13px arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: arial;
}

#branding {
    margin-top: 0;
}

.hgroup-wrap {
    padding-top: 0;
    padding-bottom: 0;
}

.hgroup-right {
    margin-top: 0;
}

#access a {
    color: #fff;
}

#access ul li.current-menu-ancestor > a,
#access ul li.current_page_item > a,
#access ul li:hover > a {
    color: #5DD5E6;
}

.slogan-wrap {
    font-family: arial;
}

.entry-title {
    font: 24px arial;
}

.entry-title,
.entry-title a {
    color: inherit;
}

.widget_promotional_bar {
    font-family: arial;
}

@media only screen and (max-width: 1078px) {
    #branding {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    #branding {
        margin-top: 0;
    }

    .wrapper,
    .one-column-template .container,
    .container {
        width: auto;
        max-width: 95%;
    }
}


/* Anpassung Christian Ruhmer */

#branding .container .hgroup-wrap {
    display: none;
}

.custom-header {
    padding: 40px;
    font-size: 2em;
    line-height: 1.5em;
    display: flex;
    flex-wrap: wrap;
}

.custom-header .header-left {
    flex: 1;
}

.custom-header .header-right {
    flex: 0 0 200px;
    max-width: 200px;
    text-align: right;
}

.custom-header .heading {
    font-size: 1.1em;
    line-height: 1;
}

.custom-header .subheading {
    font-size: 0.9em;
    margin-top: 10px;
}

#access ul {
    display: flex;
    justify-content: space-evenly;
}

@media (max-width: 479px) {
    .custom-header .heading {
        font-size: 0.7em;
    }

    .custom-header .subheading {
        font-size: 0.5em;
    }
}

.custom-header .member-of-dn {
    font-size: 0.9em;
}

.custom-header .dn_logo img {
    max-width: 150px;
}

.image-heading {
    text-align: center;
    color: #1F4DBE;
    font-size: 3em;
    font-family: 'Arial Black', arial;
}

#access {
    background: linear-gradient(to bottom, #3771D0 0%, #1848A2 100%);
}

.align-center {
    vertical-align: middle;
}

.sprechzeiten,
.sprechzeiten td {
    font-size: 17px;
    border: 1px solid black !important;
}

img.standort {
    padding: 0 100px;
}

.standort a {
    color: #fff;
    text-decoration: underline;
}

.standort a:hover {
    color: #5DD5E6;
}

h1.entry-title {
    text-decoration: underline;
    padding-bottom: 40px !important;
}

#custom_footer {
    padding: 20px 0;
    border-top: 1px solid #eaeaea;
    background: linear-gradient(to bottom, #3771D0 0%, #1848A2 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

#custom_footer h5 {
    color: #fff;
    font-size: 15px;
}

#custom_footer p {
    margin-bottom: 0;
    font-size: 13px;
}

#custom_footer .standort {
    width: 28%;
    padding: 20px;
}

p {
    font-size: 17px;
}

.wp-block-list {
    font-size: 17px;
}

#site-generator .copyright.legal {
    float: right;
    width: 34.35%;
    text-align: right;
}

#access ul li.current_page_item > a {
    color: #5DD5E6;
}

.table-with-bottom-text figure {
    margin-bottom: 5px;
}

.table-with-bottom-text span {
    font-size: 1.3em;
}

.page-id-2 .wp-block-list li {
    padding-bottom: 15px;
}

#nachfolger .wp-block-column,
#post-288 article .wp-block-columns .wp-block-column {
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}

#post-288 h1.entry-title {
    display: none;
}

#post-288 article .wp-block-columns .wp-block-column {
    max-width: 50%;
}

#post-288 .entry-content {
    overflow: visible;
}

#nachfolger .wp-block-column:hover,
#post-288 article .wp-block-columns .wp-block-column:hover {
    transform: scale(1.05);
    z-index: 10;
}

#post-288 article > div > h2 {
    margin-top: 30px;
}

#nachfolger .wp-block-column h2,
#post-288 .wp-block-columns h2 {
    background-color: #EEF4FC;
    padding: 3px;
    color: #1346A5;
    text-align: center;
}

#nachfolger .wp-block-column h2 {
    font-size: 20px;
    font-weight: bold;
}

#nachfolger .wp-block-column p,
#post-288 .wp-block-columns p {
    padding: 5px;
}

#nachfolger .wp-block-column p {
    margin-bottom: 0;
    font-size: 16px;
}

#nachfolger .wp-block-column,
#post-288 .wp-block-column {
    padding: 5px;
    border: 1px solid #C7CDD8;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

#nachfolger .wp-block-column {
    position: absolute;
    max-width: 450px;
    top: -30px;
    right: 0;
}

#nachfolger a p {
    color: black;
}

#nachfolger button {
    background: linear-gradient(to bottom, #f7b04a 0%, #ea8a27 45%, #c95f10 100%);
    border: 0;
    padding: 5px;
    color: white;
    cursor: pointer;
}

#post-161 h1.entry-title {
    position: relative;
}

#nachfolger_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-height: 70px;
    padding: 10px 15px;
    box-sizing: border-box;
    background: linear-gradient(to bottom, #f7b04a 0%, #ea8a27 45%, #c95f10 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 6px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7em;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    position: absolute;
    top: -20px;
    right: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#nachfolger_button:hover {
    transform: scale(1.02);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 6px rgba(0, 0, 0, 0.15),
        0 6px 14px rgba(0, 0, 0, 0.18);
}

#nachfolger_button:active {
    transform: scale(0.99);
}

#nachfolger > a {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

#stellenangebote {
    border: 1px solid white;
    background: #ffffff;
    color: #1F4DBE;
    border-radius: 15px;
    padding: 3px 10px;
    top: -4px;
    position: relative;
}

#stellenangebote:hover {
    color: #5DD5E6;
}

@media only screen and (max-width: 1078px) {
    #post-288 article .wp-block-columns .wp-block-column {
        max-width: inherit;
    }

    #access a {
        font-size: 12px;
    }

    #access ul li > a {
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 56px;
        padding: 0 10px;
        line-height: 1.2;
        white-space: normal;
    }

    #access ul li {
        padding: 0;
    }

    #stellenangebote {
        top: inherit;
    }
}

@media only screen and (max-width: 767px) {
    .root {
        display: block !important;
    }

    #access a {
        font-size: 14px;
    }

    img.standort {
        padding: 0 20px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px),
only screen and (min-width: 370px) and (max-width: 479px),
only screen and (max-width: 369px) {
    #nachfolger .wp-block-column {
        position: relative;
        max-width: inherit;
        top: 0;
        right: 0;
        margin-top: 10px;
    }
}

/* Ende Anpassung Christian Ruhmer */