:root {
    --linkColor: #cfa616;
    --navLinkColor: #fff;
    --navSelectedColor: var(--linkColor);
}

header a.logo { background: url("../images/bdr_hessen_logo_weiss.svg") no-repeat; width: 202px; height: 65px; }

@media (min-width: 768px) {

    header a.logo {width: 148px; height: 59px; top: 38px; }

    /* Nav 2 */
    nav>ul>li.has-sub:nth-last-of-type(1) ul.dropdown-menu {  }

    /* Änderungen während der Schulung */
    .ce-textpic figure.image {margin: 0;}
    .ce-textpic .ce-row { display: flex; flex-wrap: wrap; gap: 1em;}
    .ce-textpic.ce-center.ce-above .ce-row, .ce-textpic.ce-center.ce-below .ce-row { justify-content: center; flex-wrap: nowrap;}
    .ce-textpic.ce-right.ce-above .ce-row, .ce-textpic.ce-right.ce-below .ce-row { justify-content: flex-end; }

}

@media (min-width: 992px) {

    header a.logo {width: 163px; height: 64px; top: 38px; }

    /* Nav 2 */
    nav>ul>li.has-sub:nth-last-of-type(1) ul.dropdown-menu {  }

    /* Änderungen während der Schulung */
    .ce-textpic {overflow: hidden; }
    .ce-textpic.ce-left .ce-gallery { margin-right: 15px }
    .ce-textpic.ce-right .ce-gallery { margin-left: 15px }
    .ce-textpic.ce-nowrap .ce-gallery {flex-shrink: 0;}
    .ce-textpic figure.image img {max-width: 100%; height: auto; }
    .ce-textpic.ce-nowrap {display: flex;}
    .ce-textpic.ce-right.ce-nowrap {flex-direction: row-reverse;}
    .ce-textpic.ce-right.ce-above {display: flex; flex-direction: column;}
    .ce-textpic.ce-right.ce-above .ce-gallery { align-self: flex-end;}
    .ce-textpic.ce-center  { display: flex; flex-direction: column; }
    .ce-textpic.ce-center .ce-gallery {align-self: center}
    .ce-textpic.ce-left:not(.ce-nowrap):not(.ce-above) .ce-gallery {float: left;}
    .ce-textpic.ce-above figure.image {margin-bottom: 1em;}
    .ce-textpic.ce-right:not(.ce-nowrap):not(.ce-above)  .ce-gallery {float: right; }
    .ce-textpic .ce-bodytext p {margin: 0 0 1em;}
    .ce-textpic .ce-gallery{ display: flex; flex-direction: column; gap: 1em;}

}

@media (min-width: 1200px) {

    header a.logo { width: 311px; height: 87px; top: 18px; }

    /* Nav 2 */
    nav>ul>li.has-sub:nth-last-of-type(1) ul.dropdown-menu {  }

}