/* --------------------------------------------------
   Mediathek
-------------------------------------------------- */

/* Weiterbildungen und Kurse */
#mediathek .link__more a {
    margin-top: 7px;
}

#mediathek
.vc_tta.vc_general
.vc_tta-panel.vc_active
.vc_tta-panel-body {
    padding-bottom: 35px !important;
}


/* --------------------------------------------------
   DGEM – Beirat
-------------------------------------------------- */

.content__beirat h4,
.speaker__junge-dgem h4 {
    margin-top: 18px;

    text-align: center;
}

.content__beirat .wpb_single_image img,
.speaker__junge-dgem .wpb_single_image img {
    max-width: 200px;
}

@media (max-width: 768px) {
.content__beirat h4 {
    margin-top: -12px;
    margin-bottom: 35px !important;
    display: block;
}
}


/* --------------------------------------------------
   DGEM – Ausschüsse
-------------------------------------------------- */

.content__ausschuesse .vc_column-inner h3 {
    margin-bottom: 12px !important;
}

.content__ausschuesse .vc_column-inner {
    margin-bottom: 28px;
    padding-bottom: 9px;

    border-bottom: 1px solid var(--color-grey-30);
}

.content__ausschuesse
.vc_tta-panel-title
.vc_tta-title-text {
    font-size: 18px;
    font-weight: 500;
}

.content__ausschuesse
.vc_tta.vc_general
.vc_tta-panel-title
> a {
    padding: 0 !important;

    border-top: none !important;
}

.content__ausschuesse .vc_tta-panel:last-child {
    border-bottom: none !important;
}

.content__ausschuesse .vc_tta-title-text::after {
    content: "";

    position: relative;
    top: -2px;

    display: inline-block;

    width: 10px;
    height: 10px;
    margin-left: 15px;

    border-right: 2px solid #2C3E50;
    border-bottom: 2px solid #2C3E50;

    background: none;

    transform: rotate(45deg);
}

.content__ausschuesse
.vc_tta-color-grey.vc_tta-style-classic
.vc_tta-panel.vc_active
.vc_tta-panel-title
> a::after,
.content__ausschuesse
.vc_tta-color-grey.vc_tta-style-classic
.vc_tta-panel
.vc_tta-panel-title
> a::after,
.page-id-396
.vc_tta.vc_tta-accordion
.vc_tta-panel.vc_active
.vc_tta-panel-title
> a::after,
.page-id-396
.vc_tta.vc_tta-accordion
.vc_tta-panel
.vc_tta-panel-title
> a::after {
    background: none !important;
}


/* Inhalt */
.content__ausschuesse
.vc_tta.vc_general
.vc_tta-panel.vc_active
.vc_tta-panel-body {
    margin-top: 25px;
}

.content__ausschuesse p {
    margin-bottom: 0;
}

.content__ausschuesse .contact__list li {
    margin: 12px 0;
}


/* --------------------------------------------------
   DGEM – Geschäftsstelle
-------------------------------------------------- */

#content__geschaeftsstelle
.contact__list ul li:first-child {
    display: none;
}


/* --------------------------------------------------
   Junge DGEM
-------------------------------------------------- */

.bg__pink {
    padding: 25px 35px 35px;

    background: var(--color-pink);
}


.speaker__junge-dgem p {
    margin-top: 5px;

    text-align: center;
}

.junge-dgem__social-media {
    margin-top: 35px;
}

.junge-dgem__social-media img {
    width: 40px;
}

@media (max-width: 768px) {
    .bg__pink {
    padding: 25px 5px 35px;
}

.speaker__junge-dgem h4 {
    margin-top: -12px;
}
    
.speaker__junge-dgem p {
    margin-top: 0px;
display: block;
    margin-bottom: 35px!important;
}
}


/* Ziele und Projekte */
#ziele__junge-dgem h4,
#projekte__junge-dgem h4 {
    position: relative;

    margin-top: 35px;
    padding-left: 35px;
}

#projekte__junge-dgem h4 {
    margin-top: 0;
    margin-bottom: 12px;
    padding-left: 45px;
}

#ziele__junge-dgem h4::before,
#projekte__junge-dgem h4::before {
    content: "";

    position: absolute;
    top: 50%;
    left: 0;

    width: 25px;
    height: 25px;

    transform: translateY(-50%);
}

#projekte__junge-dgem h4::before {
    width: 35px;
    height: 35px;
}

#ziele__junge-dgem h4::before {
    background:
        url("../img/icon__check.svg")
        center center / contain
        no-repeat;
}

#projekte__junge-dgem .reihe-eat h4::before {
    background:
        url("../img/icon__eat.svg")
        center center / contain
        no-repeat;
}

#projekte__junge-dgem .mustercurriculum h4::before {
    background:
        url("../img/icon__curriculum.svg")
        center center / contain
        no-repeat;
}

#projekte__junge-dgem .wissenschaft-sichtbar h4::before {
    background:
        url("../img/icon__wissen.svg")
        center center / contain
        no-repeat;
}

#projekte__junge-dgem .kongresse-vernetzung h4::before {
    background:
        url("../img/icon__wahrnehmung-dgem.svg")
        center center / contain
        no-repeat;
}


/* --------------------------------------------------
   Forschung und Wissenschaft
-------------------------------------------------- */

/* Qualitätsverträge */
.content__qualitaetsvertraege .vc_row-fluid {
    padding: 20px 0;

    border-bottom: 1px solid var(--color-grey-30);
}


/* Mangelernährung */
#erstattungsfaehigkeit .vc_toggle,
#instrumente-ernaehrungszustand .vc_toggle {
    margin-bottom: 7px;
    padding: 10px 0 0;

    border-top: 1px solid var(--color-grey-30);
}

#erstattungsfaehigkeit .vc_toggle:last-of-type,
#instrumente-ernaehrungszustand .vc_toggle:last-of-type {
    border-bottom: 1px solid var(--color-grey-30) !important;
}

#erstattungsfaehigkeit h4,
#instrumente-ernaehrungszustand h4 {
    font-size: 16px;
    font-weight: 500;
}

#erstattungsfaehigkeit
.vc_toggle_size_md.vc_toggle_arrow
.vc_toggle_icon,
#instrumente-ernaehrungszustand
.vc_toggle_size_md.vc_toggle_arrow
.vc_toggle_icon {
    margin-top: 6px;
    margin-left: 8px;
}


/* --------------------------------------------------
   Berufsbild Ernährung
-------------------------------------------------- */

/* Weiterbildungen und Kurse */
#weiterbildungen-kurse img {
    width: 200px;
    height: 69px;
}

.content__pflegefachpersonen .bg__grey {
padding: 20px 35px;
    margin: 50px 0;
}

/* --------------------------------------------------
   Footer
-------------------------------------------------- */

.footer-widgets-container.grid-container {
    max-width: 1080px;
}

.footer-widgets-container {
    padding: 40px 0 40px 0 !important;
}

#footer-widgets {
    color: #FFFFFF;
    background: var(--bg-dark-blue);

    font-size: 16px;
}

#footer-widgets img {
    width: 150px;
}

#footer-widgets strong {
    font-size: 18px;
}

#footer-widgets h2.widget-title {
    font-size: 18px;
    font-weight: 600;
}

.footer-widget-2,
.footer-widget-3,
.footer-widget-4 {
    margin-top: 111px;
}

.footer-widget-2 .widget ul li,
.footer-widget-3 .widget ul li {
    margin-bottom: 0;
}


/* Links */
.site-footer {
    margin-top: 100px;
}

#footer-widgets a,
#footer-widgets ul li a {
    color: var(--color-white);

    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

#footer-widgets a:hover,
#footer-widgets ul li a:hover {
    color: var(--button-hover);
}

/*widget 4*/
.footer-widget-4 p {
    font-size: 18px;
    font-weight: 500;
}
#footer-widgets .footer-widget-4 img {
    width: 40px;
}


/* Copyright */
#block-18 {

    font-size: 12px;
}

.site-info {
    display: none;
}


/* --------------------------------------------------
   Navigation – Desktop
-------------------------------------------------- */

/* Zusätzliche mobile Menüpunkte ausblenden */
@media (min-width: 769px) {
    .main-navigation .mobile-only-menu {
        display: none;
    }
}


/* --------------------------------------------------
   Mobile Darstellung
-------------------------------------------------- */

@media (max-width: 768px) {

    /* Desktop-Menüpunkte ausblenden */
    .desktop-only-menu {
        display: none;
    }


    /* Header */
    .site-header {
        padding: 0 15px;

        background-color: var(--base-3);
    }


    /* Startseite */
    .row__spacing {
        padding: 50px 15px;
    }


    /* Angebot */
    .box__content
    .wpb_column.vc_column_container.vc_col-sm-4 {
        margin-bottom: 35px;
    }


    /* Member-CTA */
    .bg__members {
        padding: 50px 0 !important;
    }

    .row__member.bg__cta {
        margin-top: -30px;
        padding: 50px 0 35px;
    }

    section.bg__light-green.content__junge-dgem {
        margin-top: 0;
    }

    .bg__light-green.content__junge-dgem h3 {
        margin-top: 0;
    }
    
    /*Fortbildung Kongresse*/
.box__events .vc_sep_pos_align_center {
    padding: 0;
}
    .box__third-left.box__events {
        margin-top: 35px;
    }

    /* Footer */
    .site-footer {
        margin-top: 25px;
    }

    .footer-widgets-container {
        padding: 40px 20px !important;
    }

.footer-widget-2,
.footer-widget-3,
.footer-widget-4 {
        margin-top: 25px;
    }
}

/* --------------------------------------------------
   LinkedIn Störer
-------------------------------------------------- */

.dgem-linkedin-stoerer {
    position: fixed;
    right: 0px;
    bottom: 40px;
    z-index: 1000;
    box-sizing: border-box;
    width: min(337px, calc(100vw - 40px));
    padding: 20px;
    background: #F5F1E8;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(35, 35, 35, 0.14);
    line-height: 1.3em;
}

.dgem-linkedin-stoerer a {
    color: inherit;
    text-decoration: none;
}

.dgem-linkedin-stoerer img {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 3px;
    vertical-align: middle;
}

.dgem-linkedin-stoerer.ist-ausgeblendet {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}