html,
body {
    height: 100%;
}

body {
    @media screen and (max-width: 959px) {
        padding: 5px 10px;
    }
    @media screen and (min-width: 960px) {
        background: #d7d8d9 url("../images/bg_body_default.png") repeat-x 0 205px;
    }
}

.wrap {
    @media screen and (min-width: 960px) {
        max-width: 960px;
    }

    margin: 0 auto;
    position: relative;
}

.clear {
    clear: both;
}

.shadow {
    @media screen and (min-width: 960px) {
        box-shadow: 0 0 5px #b7b7b7;
    }
}

/*jugendmedizin*/

body.jugendmedizin {
    background: url("../images/bg_body_jugendmedizin.png") repeat;
}

body.jugendmedizin .wrap_wide {
    background: url("../images/bg_wrap_wide_jugendmedizin.png") no-repeat top center;
    min-height: 1050px;
}

/*header*/

.header {
    height: 205px;
    background: #d7d8d9 url("../images/bg_header.png") repeat-x;
}

.header img.logo {
    margin-bottom: 8px;
    margin-top: 12px;
    @media screen and (min-width: 960px) {
        margin-top: 30px;
        max-height: 155px;
    }

    max-width: 220px;
}

.header .menu {
    float: right;
    margin-top: 160px;
}

.header .menu ul li {
    float: left;
}

.header .menu a {
    display: block;
}

.header .wrap {
    position: relative;
}

@media screen and (max-width: 959px) {
    .header {
        height: auto;
        padding: 0 20px;
        background: none;

        .wrap {
            display: flex;
            flex-direction: row-reverse;
            align-items: baseline;
            justify-content: space-between;

            .menu {
                margin-top: 10px;
            }

            > a {
                display: block;
                width: 220px;
            }
        }

        img.logo {
        }
    }
}

/*kontakt*/

.overlay,
.ui-widget-overlay {
    background: #fff;
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 0.7;
    z-index: 50;
}

.overlay {
    display: none;
}

.kontakt_bg {
    position: absolute;
    height: 0px;
    width: 100%;
    background: #fff;
    z-index: 99;
    box-shadow: 0 0 5px #b7b7b7;
    -webkit-box-shadow: 0 0 5px #b7b7b7;
    -moz-box-shadow: 0 0 5px #b7b7b7;
}

.header .kontakt {
    position: absolute;
    height: 0px;
    width: 960px;
    background: #fff;
    z-index: 100;
    box-shadow: 0 0 5px #b7b7b7;
    -webkit-box-shadow: 0 0 5px #b7b7b7;
    -moz-box-shadow: 0 0 5px #b7b7b7;
}

.header .kontakt .content {
    background: #e3e4e4;
    width: 910px;
    height: 480px;
    display: none;
    margin-left: 10px;
    z-index: 200;
    padding: 30px 15px;
}

.header .kontakt div.toggle {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: #fff;
    display: block;
    width: 115px;
    height: 40px;
    box-shadow: 0 0 5px #b7b7b7;
    -webkit-box-shadow: 0 0 5px #b7b7b7;
    -moz-box-shadow: 0 0 5px #b7b7b7;
}

.header .kontakt .col {
    float: left;
    width: 300px;
}

.header .kontakt div.toggle span.white {
    display: block;
    width: 120px;
    height: 10px;
    position: absolute;
    top: -10px;
    left: -5px;
    background: #fff;
}

.header .kontakt div.toggle a.label {
    display: block;
    background: #f08a00;
    width: 95px;
    height: 30px;
    margin: 5px 10px;
    text-align: center;
}

.header .kontakt div.toggle a.label:hover {
    background: #4b4b4e;
    cursor: pointer;
}

/*sidebar*/

.sidebar {
    @media screen and (min-width: 960px) {
        float: right;
        width: 210px;
    }
    position: relative;
}

.sidebar .sidebar_headline,
.sidebar .widget_1,
.sidebar .widget_2 {
    background: #fff;
    position: relative;
    padding: 10px;
}

.sidebar .sidebar_headline h2 {
    background: url("../images/bg_sidebar_headline_main.png") no-repeat;
    width: 190px;
    height: 70px;
    line-height: 70px;
    padding-left: 15px;
    margin-bottom: 0;

    &:hover {
        background: url("../images/bg_sidebar_headline_main_hover.png") no-repeat;
    }

    @media screen and (max-width: 959px) {
        background: #ddd;
        width: auto;
        border-radius: 5px;
        &:hover {
            background: #ddd;
        }
    }
}

@media screen and (min-width: 960px) {
    . .sidebar .widget_1 .white,
    .sidebar .widget_2 .white {
        height: 8px;
        top: -8px;
        left: 2px;
        width: 206px;
        position: absolute;
        background: #fff;
    }
}

.sidebar .widget_1 .content {
    background: #f08a00;
    padding: 20px 15px;
    color: #fff;
}

.sidebar .widget_1 .content a {
    color: #fff;
}

.sidebar .widget_2 .content {
    background: #dfe0e1;
    padding: 20px 15px;
}

/*content*/

.main {
    padding: 25px 0;
}

.main div.left {
    @media screen and (min-width: 960px) {
        float: left;
        width: 730px;
    }

    background: #fff;
}

.main .content img {
    max-width: 100% !important;
}

.main .content-and-sidebar {
    @media screen and (min-width: 960px) {
        display: grid;
        grid-template-columns: 1fr 210px;
        gap: 1rem;
    }
}

.main .content {
    padding: 20px;
    position: relative;
}

.main .content ul li a {
    background: url("../images/button_to.jpg") left center no-repeat;
    padding-left: 20px;
}

/*homepage*/
@media screen and (min-width: 960px) {
    .content.home {
        > aside {
            display: grid;
            grid-template-columns: 20em 1fr;
            gap: 30px;
        }
    }
}

.main .image_wide {
    position: relative;
    background: #fff;
    padding: 10px;
    margin-bottom: 25px;
    background-image: var(--background-image-url);
    background-size: cover;
    background-position: center;
    height: 250px;
    border: 10px solid #fff;
}

.main .image_wide .pinguin {
    position: absolute;
    right: -11px;
    bottom: -36px;
    z-index: 10;
}

.main .image_wide .quote {
    position: absolute;
    right: 70px;
    bottom: 150px;
    background: #fff;
    padding: 10px;
    width: 190px;
}

.main .image_wide .quote .text {
    background: #009bc2;
    position: relative;
    padding: 15px;
    max-height: 135px;
}

.main .image_wide .quote .text img {
    position: absolute;
    bottom: -30px;
    right: 20px;
}

.main .content .float_left {
    float: left;
}

.main .content.home div.float_left {
    @media screen and (min-width: 960px) {
        width: 200px;
        margin-left: 30px;
    }
}

.main .content.home h2.team {
    background: url("../images/icon_bubble.png") 0 5px no-repeat;
    padding-left: 30px;
}

/*team*/

.main .content .team_member h4 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.team .team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    row-gap: 60px;
}

/*.main .content .team_member {*/
/*    @media screen and (min-width: 960px) {*/
/*        float: left;*/
/*        width: 210px;*/
/*        margin-right: 30px;*/
/*        margin-bottom: 60px;*/
/*    }*/

/*}*/

.main .content .team_member.third {
    margin-right: 0;
}

.main .content.team img.pinguin_team {
    position: absolute;
    top: 930px;
    right: -200px;
}

/*praxis*/

.main .content .slideshow_container {
    height: 460px;
    max-width: 690px;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 20px;
    position: relative;
}

.main .content .slideshow {
    height: 460px;
    width: 690px;
    z-index: 5;
}

.main .content .slideshow img {
    height: 460px;
    width: 690px;
    display: block;
}

.main .content .slideshow_container a {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 210px;
    background-repeat: no-repeat;
    z-index: 10;
}

.main .content .slideshow_container a.prev {
    left: 10px;
    background-image: url("../images/button_prev.png");
}

.main .content .slideshow_container a.next {
    right: 10px;
    background-image: url("../images/button_next.png");
}

.main .content.praxis img.pinguin_praxis {
    position: absolute;
    bottom: 0;
    right: -200px;
}

/*leistungen*/

.main .content.leistungen img.pinguin_leistungen {
    position: absolute;
    bottom: 0;
    right: -200px;
}

.main .content.leistungen .images_left {
    float: left;
    width: 210px;
    margin-right: 25px;
}

.main .content.leistungen .images_left img {
    display: block;
    margin-bottom: 20px;
}

.main .content.leistungen .content_right {
    float: left;
    width: 450px;
}

/*service*/

body.service .content .mr_ping {
    position: absolute;
    width: 180px;
    height: 370px;
    bottom: 0;
    right: -200px;
    background: url("../images/pinguin_service.png") no-repeat;
}

/*footer*/

.footer {
    margin-top: 5px;
}

.footer ul {
    float: right;
}

.footer ul li {
    float: left;
    margin-left: 25px;
}

.footer .wrap {
    padding-bottom: 30px;
}

.footer ul li.Notfall {
    display: none;
}
