/* ==================================================================================================================
/* Sachsen - Styleguide
 * ==================================================================================================================*/


/* ===================================================================================================================
 * Fonts :: 400..normal, 600..semi, 700..bold
 * ===================================================================================================================*/

/* Rotis Bold */
@font-face {
    font-family: "RotisSansSerifW01-Bold";
    src: url(/portal/jakarta.faces.resource/installation/sn/fonts/rotis-sans-serif/rotis-sans-serif-w01-bold.woff) format("woff");
}

/* ===================================================================================================================
 * Variablen
 * ===================================================================================================================*/

:root {
    --nbp-font-family-text: Arial, "Helvetica Neue", Helvetica, sans-serif;
    --nbp-font-family-h: "RotisSansSerifW01-Bold", sans-serif;
    --nbp-font-weight-h: 400;
    --nbp-font-weight-semi: 400;
    --nbp-font-size-h1: 36px;   /* 32px */
    --nbp-font-size-h2: 24px;   /* 22px */
    --nbp-font-size-h3: 22px;   /* 20px */
    --nbp-font-size-h4: 20px;   /* 18px */
    --nbp-font-size-h5: 18px;   /* 16px */
    --nbp-font-size-h6: 16px;   /* 14px */
}


/* ===================================================================================================================
 * Überschriften
 * ===================================================================================================================*/

@media (max-width: 767px) {
    h1, .h1 {
        font-size: 27px;
    }
}



/* ==================================================================================================================
/* Header
 * ==================================================================================================================*/

/*
<header id="header" class="glohea">                                     ... Welle als Background
    <div class="container glohea-container">                            ... Zeile in der Welle
        <div class="row">
            <div class="glohea-header">
                <a class="glohea-brand">                                ... Sachsen-Logo
                  <img class="glohea-logo">
                </a>
                <div class="nbp-glohea-header-title"> ... </div>        ... NBP-Portaltitel
                <div class="nbp-glohea-button-wrapper">
                    <button class="glohea-button-navtoggle">            ... Mobile-Nav-Toggle
                    ...
                </div>
            </div>
        </div>
        <div class="row glohea-deko-row">                               ... Zeile unter der Welle
            <div class="glohea-portal-title"
                <button class="portalnav-toggle">                       ... Desktop-Nav-Toggle
                <div class="nbp-glohea-header-desktop">
                    <span class="nbp-glohea-header-portal">...</span>   ... Desktop-Portaltitel (Mandant)
                </div>
            </div>
        </div>
        <!-- NBP :: Slideout-Anmelden -->
        <div class="row"> ... </div>
        <!-- NBP :: Navi -->
        <div class="row nbp-navi-row"> ... </div>
    </div>
</header>
*/


.glohea-portal-title,
.glohea-portal-title a,
.glohea-portal-title h1 {
    color: #313131;
}
.glohea-portal-title a:hover {
    text-decoration: underline;
}

.glohea button {
    cursor: pointer;
}

/* ==========================================================================
 * Header :: Hintergrundgrafik
 * ==========================================================================*/

/* Header (id=header class=glohea) */
.glohea {
    /* min-height: 91px; */
    position: relative;
    padding-top: 4px;
    z-index: 20;
    background-color: var(--nbp-color-content);
    background-image: url(/portal/jakarta.faces.resource/installation/sn/images/bg-wave.svg), linear-gradient(var(--nbp-color-content), var(--nbp-color-content)), linear-gradient(to top, var(--nbp-color-content-pale) 0, var(--nbp-color-content-pale) 75px, #fff 100%);
    background-repeat: no-repeat;
    background-size: auto 55px, 100% 50px, auto;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.5);
}
@media (max-width: 380px) {
    .glohea {
        background-position: 44% -3px, 0 0, 0 50px;
    }
}
@media (min-width: 381px) {
    .glohea {
        background-position: 45% -3px, 0 0, 0 50px;
    }
}
@media (min-width: 550px) and (max-width: 767px) {
    .glohea {
        background-position: 47% -3px, 0 0, 0 50px;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .glohea {
        min-height: 115px;
        padding-top: 6px;
        background-size: auto 73px, 100% 67px, auto;
        background-position: 47% -3px, 0 0, 0 67px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .glohea {
        min-height: 125px;
        padding-top: 0;
        background-size: auto 83px, 100% 77px, auto;
        background-position: 47.67% -3px, 0 0, 0 77px;
    }
}
@media (min-width: 1200px) {
    .glohea {
        min-height: 125px;
        padding-top: 0;
        background-size: auto 83px, 100% 77px, auto;
        background-position: 49.75% -3px, 0 0, 0 77px;
    }
}

/* ==========================================================================
 * Header :: Container
 * ==========================================================================*/

.glohea-container {
    position: relative;
}
@media (min-width: 992px) {
    .glohea-container {
        padding-top: 7px;
    }
}

.glohea-row {
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
}

/* ==========================================================================
 * Header :: Zeile in der Welle
 * ==========================================================================*/

.glohea-header {
    width: 100%;
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
}
.glohea-header > .glohea-row {
    height: 46px;
}
@media (min-width: 768px) {
    .glohea-header > .glohea-row {
        height: 61px;
    }
}
@media (min-width: 992px) {
    .glohea-header > .glohea-row {
        height: 70px;
    }
}
@media (min-width: 1220px) {
}

/* ==========================================================================
 * NBP :: Nutzermenu :: Position
 * ==========================================================================*/

.glohea .nbp-nutzermenu {
    right: 10px;
}
@media (max-width: 575px) {
    .glohea .nbp-nutzermenu {
        right: 0;
    }
}

/* ==========================================================================
 * NBP :: Suchemenu :: Position
 * ==========================================================================*/

.glohea .nbp-suchemenu {
    right: calc(78px + 10px);
}
@media (max-width: 767px) {
    .glohea .nbp-suchemenu {
        right: calc(((50% - 10px) / 3) + 10px);
    }
}
@media (max-width: 575px) {
    .glohea .nbp-suchemenu {
        right: 0;
    }
}


/* ==========================================================================
 * Header :: Zeile in der Welle :: Logo
 * ==========================================================================*/

/* Logo-Wrapper (Link) */
.glohea-brand {
    width: 25%;
    margin-top: 7px;
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    height: auto;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 32px; /* nbp-fix flickering */
    display: inline-block;
    font-size: 18px;
    line-height: 23px;
}
.glohea-brand:focus {
    outline-offset: 0;
}
@media (max-width: 380px) {
    .glohea-brand {
        width: 31.67%;
    }
}
@media (min-width: 768px) {
    .glohea-brand {
        margin-top: 14px;
    }
}
/* Logo */
.glohea-logo {
    width: 90%;
    vertical-align: initial;
}
@media (min-width: 768px) and (max-width: 991px) {
    .glohea-logo {
        width: 154px;
    }
}
@media (min-width: 992px) {
    .glohea-logo {
        width: 180px;
    }
}

/* ==========================================================================
 * Header :: Zeile in der Welle :: NBP-Portaltitel
 * ==========================================================================*/

.nbp-glohea-header-title {
    margin: 0;
}
.nbp-glohea-header-title a {
    display: inline-block;
    font-size: 26px;
    margin-top: 12px;
    color: #ffffff;
    font-family: "RotisSansSerifW01-Bold", Arial, sans-serif;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}
.nbp-glohea-header-title a:hover,
.nbp-glohea-header-title a:focus,
.nbp-glohea-header-title a:active {
    text-decoration: none;
}

@media (min-width: 1200px) {
    .nbp-glohea-header-title {
        margin-left: 30px;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .nbp-glohea-header-title {
        margin-left: 40px;
    }
}
@media (max-width: 991px) {
    .nbp-glohea-header-title {
        margin-left: 30px;
    }
    .nbp-glohea-header-title a {
        font-size: 22px;
    }
}
@media (max-width: 767px) {
    .nbp-glohea-header-title {
        display: none;
    }
}

/* ==========================================================================
 * Header :: Zeile in der Welle :: Buttons
 * ==========================================================================*/

.nbp-glohea-button-wrapper {
    position: absolute;
    top: 0;
    right: 10px;
}
.nbp-glohea-button-wrapper .glohea-button {
    float: left;
    margin: 0;
    padding: 0;
    border-left: 1px solid rgba(255,255,255,.25);
    border-right: 1px solid rgba(0,0,0,.25);
    border-top: none;
    border-bottom: none;
    font-size: 21px;
    background-color: transparent;
    text-align: center;
    color: #fff;
    transition: background-color .2s ease-in-out;
}
.nbp-glohea-button-wrapper::before {
    position: absolute;
    bottom: 0;
    top: 0;
    left: -1px;
    content: " ";
    border-right: 1px solid rgba(0,0,0,.25);
}
.nbp-glohea-button-wrapper::after {
    position: absolute;
    bottom: 0;
    top: 0;
    right: -1px;
    content: " ";
    border-right: 1px solid rgba(255,255,255,.25);
}
.nbp-glohea-button-wrapper .glohea-button:hover,
.nbp-glohea-button-wrapper .glohea-button:focus,
.nbp-glohea-button-wrapper .glohea-button[aria-expanded="true"] {
    background-color: rgba(0, 0, 0, 0.15);
    outline: 0;
}

.nbp-glohea-button-wrapper .glohea-button {
    height: 70px;
    width: 78px;
}
@media (max-width: 991px) {
    .nbp-glohea-button-wrapper .glohea-button {
        height: 61px;
        width: 75px;
    }
}
@media (max-width: 767px) {
    .nbp-glohea-button-wrapper {
        width: calc(50% - 10px);
    }
    .nbp-glohea-button-wrapper .glohea-button {
        width: 33.3333%;
        height: 46px;
    }
}

/* Icon */
.nbp-glohea-button-wrapper .glohea-button .nbp-glohea-button-icon {
    display: block;
    font-size: 22px;
    line-height: 1;
    color: #fff;
    margin: 0 auto;
}

/* ==========================================================================
 * Header :: Zeile in der Welle :: Nav-Toggle MOBILE
 * ==========================================================================*/

@media (min-width: 768px) {
    .glohea-button-navtoggle {
        display: none
    }
}

.glohea-button-navtoggle {
    color: #fff;
}
/* Icons */
.glohea-button-navtoggle .toggle-open {
    font-size: 28px;
    line-height: 1;
    margin: 0 auto;
}
.glohea-button-navtoggle .toggle-close {
    font-size: 16px;
    line-height: 1;
    margin: 0 auto;
}
/* State :: Default */
.glohea-button-navtoggle .toggle-open {
    display: block;
}
.glohea-button-navtoggle .toggle-close {
    display: none;
}
/* State :: Active */
.portalnav-active .glohea-button-navtoggle .toggle-open {
    display: none;
}
.portalnav-active .glohea-button-navtoggle .toggle-close {
    display: block;
}


/* ==========================================================================
 * Header :: Zeile unter der Welle :: Portaltitel
 * ==========================================================================*/

.glohea-portal-title {
    width: 100%;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 40px;
    font-family: "RotisSansSerifW01-Bold", Arial, sans-serif;
    font-size: 16px;
    white-space: normal;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 48px;
}
.glohea-portal-title .glohea-icon-home {
    display: inline-block;
    width: 20px;
    color: var(--nbp-color-content);
}
.glohea-icon-home .sg2-icon-home {
    transform: translateY(-4px);
}

@media (min-width: 768px) {
    .glohea-portal-title {
        min-height: 48px;
        font-size: 19px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    .glohea-portal-title {
    }
}
@media (max-width: 767px) {
    .glohea-portal-title {
        padding-left: 35px;
        padding-top: 8px;
        padding-bottom: 8px;
        line-height: 1.5; /* nbp */
    }
    .glohea-portal-title .glohea-icon-home {
        width: 20px;
        margin-left: -25px;
        display: block;
        float: left;
    }
    .glohea-icon-home .sg2-icon-home {
        height: 14px;
        width: 14px;
        transform: translateY(-3px);
    }
}

/* Portal-Titel :: NBP Erweiterung */
.glohea-portal-title .nbp-glohea-header-portal {
    display: inline;
}
/* Portal-Titel bei aktiver Navi-Box ausblenden */
.portalnav-active .glohea-portal-title .nbp-glohea-header-desktop {
    display: none;
}
/* Switch Desktop / Mobile */
.nbp-glohea-header-desktop {
    display: inline;
    margin-left: 5px;
}
.nbp-glohea-header-mobile {
    display: none;
}
@media (max-width: 767px) {
    /* Mandant */
    .nbp-glohea-header-mandant {
        font-size: 15px;
        display: block;
        text-indent: 0;
    }
    /* Switch Desktop / Mobile */
    .nbp-glohea-header-desktop {
        display: none;
    }
    .nbp-glohea-header-mobile {
        display: inline;
    }
}

/* ==========================================================================
 * Header :: Zeile unter der Welle :: Nav-Toggle DESKTOP
 * ==========================================================================*/

.portalnav-toggle {
    cursor: pointer;
    position: relative;
    margin-left: 0;
    margin-right: 10px;
    float: left;
    font-weight: bold;
    font-size: 20px;
    border: none;
    background-color: var(--nbp-color-content);
    color: #fff;
    transition: margin 0.4s;
    box-shadow: inset 0 6px 17px 1px rgba(0, 0, 0, 0.1);
    width: 48px;
    height: 48px;
    padding: 0;
}
/* Icons */
.portalnav-toggle .toggle-open {
    font-size: 22px;
}
.portalnav-toggle .toggle-close {
    font-size: 14px;
}
.portalnav-toggle:focus {
    outline: 0;
}
.portalnav-toggle:before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* State :: Default */
.portalnav-toggle .toggle-close {
    display: none;
}
/* State :: Active */
.portalnav-active .portalnav-toggle {
    margin-left: 260px;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    margin-top: 0;
}
.portalnav-active .portalnav-toggle:before {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}
.portalnav-active .toggle-close {
    display: block;
}
.portalnav-active .toggle-open {
    display: none;
}

/* NBP :: Abdunkeln bei hover OHNE extra Farbe */
.portalnav-toggle .portalnav-toggle-content {
    display: block;
    width: 100%;
    height: 100%;
    /* Center Icons */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .2s ease-in-out;
}
.portalnav-toggle:hover .portalnav-toggle-content,
.portalnav-toggle:focus .portalnav-toggle-content,
.portalnav-toggle:active .portalnav-toggle-content {
    background-color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .glohea .portalnav-toggle {
        display: none;
    }
}





/* ==================================================================================================================
/* Navi-Box :: Ausklapp-Bereich
 * ==================================================================================================================*/

/*
<div class="row nbp-navi-row">
    <div class="box-nav-portal">                                          ... Box
        <div class="box-header">                                          ... 1. Eintrag :: Portal
            <a class="portal" href="#">Beteiligungsportal</a>
        </div>
        <div class="box-body">                                            ... weitere Einträge
            <nav class="nav-portal">
                <ul class="list-links">
                    <li>
                        <a href="#">Beteiligungen</a>                     ... entry
                    </li>
                    <li class="active">
                        <span class="active-label">Informationen</span>   ... active entry
                    </li>
                </ul>
            </nav>
        </div>
    </div>
</div>
 */

.nbp-navi-row {
    position: relative;
}

/* Navi-Box :: Header */
.box-nav-portal .box-header {
    margin: 0;
    padding: 0;
    background-color: var(--nbp-color-content-pale);
    background-image: linear-gradient(to bottom, #fff 0, var(--nbp-color-content-pale) 100%);
    background-repeat: repeat-x;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ddd;
}

/* Navi-Box :: Body */
.box-nav-portal .box-body {
    background-color: #fff;
}

/* Navi-Box :: Links (Active + Inactive) */
.box-nav-portal .box-header .portal,
.box-nav-portal .box-body a,
.box-nav-portal .box-body .active-label {
    font-family: "RotisSansSerifW01-Bold", Arial, sans-serif;
    font-size: 15px;
    color: #313131;
    line-height: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
}
.box-nav-portal .active-label > strong {
    font-weight: normal;
}
.box-nav-portal a:focus {
    outline-offset: 0;
}

/* Navi-Box :: Header :: Portal-Link */
.box-nav-portal .box-header .portal {
    font-size: 18px;
    padding-left: 30px;
}
.box-nav-portal .box-header a.portal:hover,
.box-nav-portal .box-header a.portal:focus {
    color: var(--nbp-color-content);
}

/* Navi-Box :: Listeneinträge */
.box-nav-portal .list-links {
    margin: 0;
    padding: 0;
}
.box-nav-portal .list-links {
    padding-left: 15px;
    border-top: 1px dotted #ddd;
}
.box-nav-portal .list-links:first-child {
    padding: 0;
    border-top: none;
    border-bottom: 1px dotted #ddd;
}
.box-nav-portal .list-links li {
    padding: 0;
    border-bottom: 1px dotted #ddd;
}
.box-nav-portal .list-links li:first-child {
    border-top: none;
}
.box-nav-portal .list-links li:last-child {
    border-bottom: none;
}
.box-nav-portal .list-links a,
.box-nav-portal .list-links .active-label {
    display: block;
    border: 1px solid transparent;
    background-color: #fff;
    padding-left: 30px;
}
.box-nav-portal .list-links a:hover,
.box-nav-portal .list-links a:active,
.box-nav-portal .list-links a:focus {
    color: var(--nbp-color-content);
}
.box-nav-portal .active > a,
.box-nav-portal .active > .active-label {
    background-color: var(--nbp-color-content);
    border: 1px solid var(--nbp-color-content);
    color: #fff;
}
.box-nav-portal .active > a:hover,
.box-nav-portal .active > a:focus {
    color: #fff;
    /* text-decoration: none; */
}

/* NBP :: Navi :: Icons */
.box-nav-portal .sg2-icon-arrow-right,
.box-nav-portal .sg2-icon-portal {
    position: absolute;
    width: 10px;
    margin-left: -20px;
    margin-top: 4px;
}
.box-nav-portal .sg2-icon-portal {
    margin-top: 7px;
}
/* aktiver Portalmenüpunkt */
span.portal .sg2-icon-portal {
    color: var(--nbp-color-content);
}


/* ==========================================================================
/* Navi-Box :: Responsive
 * ==========================================================================*/

.box-nav-portal {
    z-index: 23;
}

/* Navi-Box :: Desktop + Tablet */
@media (min-width: 768px) {
    .box-nav-portal {
        position: absolute;
        top: -48px;
        width: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
        transition: width 0.4s, padding 0.4s;
    }
    .box-nav-portal .box-header .portal {
        line-height: 25px;
        padding-top: 10px;
        padding-bottom: 12px;
    }
    .box-nav-portal .box-body {
        box-shadow: 0 1px 1px 0 rgba(0,0,0,0.15), 3px 3px 3px 0 rgba(0,0,0,0.15);
        background-color: #fff;
    }
    .box-nav-portal .box-header,
    .box-nav-portal .box-body {
        width: 260px;
    }
    /* Aktivzustand */
    .portalnav-active .box-nav-portal {
        width: 280px;
        padding: 0 10px;
        padding-bottom: 10px;  /* für box-shadow */
    }
}
/* Navi-Box :: Smartphone */
@media (max-width: 767px) {
    .box-nav-portal {
        position: absolute;
        top: 0;
        height: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        transition: height 0.4s;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 3px 3px 0 rgba(0,0,0,0.15);
    }
    .portalnav-active .box-nav-portal {
        height: 171px;
    }
    .portalnav-active .box-nav-portal.nbp-box-nav-6 {
        height: 215px;
    }
    /*
    .portalnav-active .glohea {
        box-shadow: none;
    }
    */
    .box-nav-portal .box-header {
        border-width: 1px 0;
        border-style: dotted;
    }
    .box-nav-portal .box-header .portal {
        font-size: 18px;
        line-height: 22px;
    }
    .box-nav-portal .box-header a.portal,
    .box-nav-portal .box-header span.portal,
    .box-nav-portal .box-body .list-links li > a.portal,
    .box-nav-portal .box-body a.portal,
    .box-nav-portal .box-body .list-links a,
    .box-nav-portal .box-body .list-links .active-label {
        padding-left: 40px;
        position: relative;  /* für transition - die Icons sind absolute */
    }
    .box-nav-portal .sg2-icon-portal {
        margin-top: 6px;
    }
}


/* ==========================================================================
/* Base Footer :: Anpassungen für SN CICD
 * ==========================================================================*/

.nbp-footer {
    background-color: #f6f6f6;
    border-top: none;
    box-shadow: inset 0 5px 5px -5px #c3c3c3
}

/* Styleguide-Mandanten */
.nbp-footer-container {
    font-size: 12px;
}
.publisher-text {
    font-size: 13px;
}
/* Responsive :: Smartphone */
@media (max-width: 767px) {
    .nbp-footer-container {
        font-size: 13px;
    }
}
/* Responsive :: Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    /* Styleguide :: Herausgeber mit Logo */
    .publisher-text .publisher-address {
        width: 27.5%
    }
}

/* Responsive :: Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    /* Textumbruch beeinflussen*/
    .provider-slogan {
        padding-right: 10px;
    }
}
