body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
/* * * * * * * * * * Schrift: Source Sans Pro * * * * * * * * * */

/* source-sans-pro-200italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 200;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-200 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 200;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-300 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-300italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 300;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-regular - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-600 - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-600italic - latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 600;
    src: local(''),
    url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ url('../../files/themes/finanzaufsicht_aargau/fonts/source-sans-pro-v14-latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


/* * * ehemalige interne Styles: Inhalte * * */

a.tooltips {
    position: relative;
}

a.tooltips span {
    width: 400px;
    position: absolute;
    display: none;
    padding: .5em 1em;
    background-color: rgba(111, 111, 111, .95);
    border: 1px solid rgba(196, 196, 196, .95);
    border-radius: 6px;
    color: #fff;
}

a.tooltips span:after {
    width: 0;
    height: 0;
    left: 10%;
    top: 100%;
    position: absolute;
    content: '';
    border-top: 8px solid rgba(111, 111, 111, .95);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}

a:hover.tooltips span {
    bottom: 100%;
    display: block;
    margin-bottom: .5em;
    margin-left: -2em;
    z-index: 999;
}

div.ce_lustat_indikator div.highchart {
    width: 100%;
    margin: 2em auto;
}

img {
    display: block;
}

.ce_gallery img,
p img {
    border: 1px solid #c4c4c4;
    box-sizing: border-box;
}

div.ce_indikatoren_icon {
    float: left;
    padding: .5em 1.5em 1em 1em;
}

div.ce_image.block + div.ce_text > p:first-child {
    margin-top: 2em;
}


/* * * ehemalige interne Styles: Layout_Desktop_0000 * * */

#container {
    margin-top: 20px;
}

div#main div.inside {
    font-size: 100%;
    line-height: 1.7em;
    font-weight: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

aside#left div.inside {
    margin-top: 68px;
    padding-right: 40px;
}

*[class*="grid"],
.mod_article *[class*="ce_"],
.mod_article *[class*="mod_"] {
    margin-right: 10px;
    margin-left: 10px;
}

.mod_article div.ce_table {
    margin: 0;
}

#header-slider [class*="ce_"] {
    margin: 0;
}

.slider-wrapper .ce_text {
    margin-right: 0;
    margin-left: 0;
}

ul,
li {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: square;
}

li {
    margin-left: 2em;
}

#wrapper-footer {
    padding-top: 20px;
    padding-bottom: 30px;
}

#wrapper-footer .clear {
    height: 40px;
    margin-right: 10px;
    margin-left: 10px;
    border-bottom: 1px solid #c4c4c4;
}

.ce_gallery > ul > li {
    float: none;
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 0;
}


/* * * ehemalige interne Styles: Layout_Desktop_0768 * * */

@media (min-width: 768px) {

    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 744px;
        margin: 0 auto;
    }

    #wrapper-header .inside {
        margin-right: 10px;
        margin-left: 10px;
    }

    *[class*="grid"] {
        float: left;
        display: inline;
    }

    .grid2 {
        width: 228px;
        min-height: 220px;
    }

    .grid4 {
        width: 352px;
    }

    .grid6 {
        width: 724px;
    }

    .mod_article.grid1,
    .mod_article.grid2,
    .mod_article.grid3,
    .mod_article.grid4,
    .mod_article.grid5,
    .mod_article.grid6,
    .mod_article.grid7,
    .mod_article.grid8,
    .mod_article.grid9,
    .mod_article.grid10,
    .mod_article.grid11,
    .mod_article.grid12 {
        margin-right: 0;
        margin-left: 0;
    }

    .ce_gallery > ul {
        margin-right: -10px;
        margin-left: -10px;
    }

    .ce_gallery > ul > li,
    .ce_gallery > ul > li.col_first {
        float: left;
        clear: none;
        margin-right: 10px;
        margin-left: 10px;
    }

    .ce_gallery > ul > li {
        width: 212px;
    }
}


/* * * ehemalige interne Styles: Layout_Desktop_0960 * * */

@media (min-width: 960px) {

    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 960px;
    }

    .grid2,
    .grid4 {
        width: 300px;
    }

    .grid6 {
        width: 460px;
    }

    #footer div.anmeldung > p {
        text-align: right;
    }

    .ce_gallery > ul > li {
        width: 206px;
    }
}


/* * * ehemalige interne Styles: Layout_Desktop_1200 * * */

@media (min-width: 1200px) {

    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 1200px;
    }

    .grid2 {
        width: 180px;
    }

    .grid4 {
        width: 380px;
    }

    .grid6 {
        width: 580px;
    }

    .ce_gallery > ul > li {
        width: 210px;
    }
}


/* * * * * bestehende externe Styles * * * * */

/* * * * * * * * * * Header * * * * * * * * * */

/* Header: unterer Rahmen */
header {
    padding-bottom: 20px;
    padding-top: 20px;
    border-bottom: 1px solid #dbdbdb;
}

/* Header: Bereich für das Logo */
header #logo {
    height: 40px;
    margin: auto;
    width: 80px;
}

/* Header: Logo als Blockelement und Grösse definieren */
header #logo img {
    display: block;
    width: 100%;
}

/* Oberer Abstand des Containers */
#container {
    margin-top: 20px;
}


/* * * * * * * * * * Footer * * * * * * * * * */

footer {
    background-image: linear-gradient(#e5f4fc 30%, #ffffff 100%);
    border-top: 1px solid #dbdbdb;
    font-size: 0.8rem;
    margin-top: 100px;
    padding-bottom: 50px;
}

/* oberen und unteren Abstand festlegen */
#wrapper-footer {
    padding-top: 20px;
    padding-bottom: 30px;
}

#wrapper-footer > div.inside {
    margin-left: 10px;
    margin-right: 10px;
}


/* * * * * * * * * * Schrift * * * * * * * * * */

/* Schriftgrösse und Silbentrennung im Inhaltsbereich */
main div.inside {
    font-size: 100%;
    line-height: 1.7em;
    font-weight: normal;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

/* Abstände in der linken Spalte (falls diese im Seiten-Layout konfiguriert ist) */
aside#left div.inside {
    margin-top: 68px;
    padding-right: 40px
}

/* Allen Inhaltselementen einen Aussenabstand zuweisen */
.mod_article *[class*="ce_"],
.mod_article *[class*="mod_"] {
    margin-right: 10px;
    margin-left: 10px;
}


/* * * * * * * * * * Schriftart und Schriftfarbe * * * * * * * * * */
body {
    font: 100% 'Source Sans Pro';
    color: #262626;
}


/* * * * * * * * * * Elemente * * * * * * * * * */

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

/* Ebene 1 */
h1 {
    margin-top: 1.5em;
    margin-bottom: .5em;
    font-size: 200%;
    line-height: 1em;
    font-weight: bold;
}

/* Ebene 2 */
h2 {
    margin-top: 3em;
    padding-bottom: .5em;
    border-bottom: 1px solid #dbdbdb;
    font-size: 100%;
    font-weight: bold;
}

/* Ebene 2 im Footer */
footer h2 {
    border-bottom: 0;
}

/* Ebene 3 */
h3 {
    margin-top: 2em;
    margin-bottom: .5em;
    padding: 0;
    font-size: 1rem;
    font-weight: bold;
}

/* Ebene 3 - Abstand direkt nach einer H2-Überschrift verkleinern */
h2 + div > h3,
h2 + h3 {
    margin-top: 0;
}


/* * * * * * * * * * Text * * * * * * * * * */

/* Abstände bei Absätzen */
p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}


/* * * * * * * * * * Listen * * * * * * * * * */

/* Abstände von Block-Elementen entfernen */
ul,
li {
    margin: 0;
    padding: 0;
}

/* Aufzählungszeichen und unterer Abstand */
ul {
    list-style-type: square;
}

/* Linker Abstand */
li {
    margin-left: 2em;
}

/* * * * * * * * * * Links * * * * * * * * * */

a {
    text-decoration: none;
    color: #007ab8;
}

a.ohnelink {
    color: #262626;
}

a:hover {
    text-decoration: underline;
}

a.ohnelink:hover {
    text-decoration: none;
}

/* Elemente: Bilder als Block (ohne unteren Abstand) darstellen */
img {
    display: block;
}


/* * * * * * * * * * Links mit Symbolen * * * * * * * * * */

/* Grösse, Abstände und Farbe */
div.content-download a,
div.content-downloads a,
div.content-hyperlink a,
div.download a,
div.link > a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 38px;
    vertical-align: baseline;
    background-repeat: no-repeat;
    line-height: 40px;
    text-decoration: none;
    color: #262626;
    background-size: 30px;
    background-position: left center;
}

/* Farbe (Hover) */
div.content-download a:hover,
div.content-downloads a:hover,
div.content-hyperlink a:hover,
div.download a:hover,
div.link > a:hover {
    color: #007ab8;
}

/* Formatierung der Dateigrösse */
div.content-download a span,
div.content-downloads a span {
    font-size: 70%;
}

/* Liste: Abstände und Listensymbol */
div.content-downloads ul {
    margin: 0;
    list-style-type: none;
}

/* Listenelemente: Abstände */
div.content-downloads ul li {
    margin: 0;
}


/* * * * * * * * * * * * * * * * * * * * Media Queries * * * * * * * * * * * * * * * * * * * */

@media (min-width: 768px) {

    /* Header: Bereich für das Logo */
    header #logo {
        float: left;
        height: 80px;
        margin-left: 0;
        width: 160px;
    }

    /* Struktur: Begrenzung der Gesamtbreite und zentrierte Ausrichtung */
    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 744px;
        margin: 0 auto;
    }

    /* Struktur: Aussenabstand links und rechts */
    #wrapper-header .inside {
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (min-width: 960px) {

    /* Struktur: Begrenzung der Gesamtbreite */
    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 960px;
    }
}

@media (min-width: 1200px) {

    /* Struktur: Begrenzung der Gesamtbreite */
    #wrapper,
    #wrapper-header,
    #wrapper-footer {
        width: 1200px;
    }
}

/* * * * * * * * * * Navigation * * * * * * * * * */

/* Listensymbol für alle Navigationselemente deaktivieren */
nav ul {
    list-style-type: none;
}

/* Abstände zurücksetzen */
nav li {
    margin: 0;
    padding: 0;
    text-align: left;
}


/* * * * * * * * * * Hauptnavigation (Ebenen 1 und 2) * * * * * * * * * */

/* Hintergrundfarbe */
#hauptnavigation {
    margin-top: 10px;
    background-color: #767676;
}

/* Ebene 1: Elemente als Block, mit Innenabständen und ohne Unterstreichung */
#hauptnavigation a,
#hauptnavigation strong {
    display: block;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    text-decoration: none;
}

/* Ebene 1: Schriftgrösse und Schriftstil */
#hauptnavigation ul.level_1 > li {
    border-top: 1px solid #dbdbdb;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

/* Ebene 1: Schriftfarbe */
#hauptnavigation ul.level_1 > li > a,
#hauptnavigation ul.level_1 > li > strong {
    color: #dbdbdb;
    font-weight: bold;
}

/* Ebene 1: Schriftfarbe (Hover) */
#hauptnavigation ul.level_1 > li > a:focus,
#hauptnavigation ul.level_1 > li > a:hover,
#hauptnavigation ul.level_1 > li > a.trail,
#hauptnavigation ul.level_1 > li > strong.active,
#hauptnavigation ul.level_1 > li > strong.forward {
    background-color: #767676;
    color: #ffffff;
}

/* Ebene 2: ausblenden */
#hauptnavigation ul.level_2 {
    display: none;
}


/* * * * * * * * * * Navigation Service (Header) * * * * * * * * * */

/* Liste mit den Navigationselementen */
header nav.mod_customnav ul {
    float: right;
    list-style-type: none;
    padding: 0;
    width: auto;
}

/* Listenelemente nebeneinander ausrichten */
header .mod_customnav li {
    float: left;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Inhalte der einzelnen Navigationselemente */
header .mod_customnav a,
header .mod_customnav strong {
    color: #767676;
    display: block;
    font-size: 80%;
    font-weight: normal;
    line-height: 1.7em;
    margin-right: 2em;
    text-decoration: none;
}

/* Rechten Abstand für das letzte Navigationselements entfernen */
header nav.mod_customnav li a.last,
header nav.mod_customnav li strong.last {
    margin-right: 0;
}

/* Aktive Elemente durch Unterstreichung hervorheben */
header .mod_customnav a:focus,
header .mod_customnav a:hover,
header .mod_customnav a.trail,
header .mod_customnav strong.active,
header .mod_customnav strong.trail {
    text-decoration: underline;
}


/* * * * * * * * * * Footer: Allgemein * * * * * * * * * */

/* Schriftfarbe im Footer */
footer p,
footer a,
footer span,
footer h2 {
    color: #767676;
}

/* Überschrift 2 im Footer */
footer h2 {
    border-bottom: 0;
}

/* Aktiven Menüpunkt hervorheben */
footer a:hover {
    text-decoration: none;
    color: #007ab8;
}


/* * * * * * * * * * Footer: Navigation * * * * * * * * * */

/* Liste gestalten */
footer nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

/* Listenelemente gestalten */
footer nav li {
    border-top: 1px solid #dbdbdb;
    margin: 0;
}

footer nav li a,
footer nav li strong {
    padding: 0.5em 0;
    display: block;
}

/* Erstes Listenelement gestalten */
footer nav li.first {
    border-top: 0;
}

/* Aktiven Menüpunkt hervorheben */
footer nav li a:focus span,
footer nav li a:hover span,
footer nav li a.trail span,
footer nav li strong.active,
footer nav li strong.forward {
    color: #007ab8;
    font-weight: normal;
}


/* * * * * * * * * * * * * * * * * * * * Media Queries * * * * * * * * * * * * * * * * * * * */

@media (max-width: 767px) {

    /* * * * * * * * * * Servicenavigation (Header) * * * * * * * * * */
    /* Auf Mobiles nicht anzeigen */
    header nav.mod_customnav,
    header div#erhebungen-header-benutzer {
        display: none;
    }
}


@media (min-width: 768px) {

    /* * * * * * * * * * Servicenavigation (Header) * * * * * * * * * */
    /* Navigation Service rechts neben dem Logo ausrichten (es gibt zunächst keine Hauptnavigation) */
    header nav.mod_customnav {
        float: left;
        width: 564px; /* 724 (Breite Inhalt) - 160 (Logo) = 564 (Service-Navigation) */
    }

    header div.inside:after {
        content: ".";
        clear: both;
        display: block;
        visibility: hidden;
        height: 0px;
    }

    /* * * * * * * * * * Hauptnavigation (Ebenen 1 und 2) * * * * * * * * * */
    /* Hintergrundfarbe und Abstand nach oben */
    #hauptnavigation {
        background-color: #ffffff;
        float: left;
        margin-top: 50px;
        width: 564px; /* 724 (Breite Inhalt) - 160 (Logo) = 564 (Service-Navigation) */
    }

    /* Ebene 1: Liste Navigationselementen rechts ausrichten */
    #hauptnavigation ul.level_1 {
        float: right;
    }

    /* Ebene 1: Listenelemente nebeneinander ausrichten sowie Schriftgrösse, Abstand der Navigationselemente und Rahmen entfernen */
    #hauptnavigation ul.level_1 > li {
        border: 0;
        float: left;
        font-size: 0.9rem;
        margin-right: 1.5em;
        width: auto;
    }

    /* Ebene 1: rechten Abstand des letzten Navigationselements entfernen */
    #hauptnavigation ul.level_1 > li.last {
        margin-right: 0;
    }

    /* Ebene 1: Schriftfarbe und Abstände gegenüber Mobile anpassen */
    #hauptnavigation ul.level_1 > li > a,
    #hauptnavigation ul.level_1 > li > strong {
        color: #767676;
        padding: 0;
    }

    /* Ebene 1: Hintergrund und Schriftfarbe (Hover) gegenüber Mobile anpassen */
    #hauptnavigation ul.level_1 > li > a:focus,
    #hauptnavigation ul.level_1 > li > a:hover,
    #hauptnavigation ul.level_1 > li > a.trail,
    #hauptnavigation ul.level_1 > li > strong.active,
    #hauptnavigation ul.level_1 > li > strong.forward {
        background-color: #ffffff;
        color: #007ab8;
    }

    /* Ebene 1: Zweite Ebene bei Mouse Over einblenden */
    #hauptnavigation ul.level_1 > li:hover ul.level_2 {
        background-color: rgba(111, 111, 111, .95);
        border: 1px solid rgba(196, 196, 196, .95);
        border-radius: 6px;
        display: block;
        margin-left: -142px;
        padding: 5px;
        position: absolute;
        width: 270px;
        z-index: 1000;
    }

    /* Ebene 1: Für zweite Pfeil an der der Box */
    #hauptnavigation ul.level_1 > li:hover ul.level_2:after {
        border-bottom: 8px solid rgba(111, 111, 111, .95);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        content: '';
        height: 0;
        left: 138px;
        position: absolute;
        top: -8px;
        width: 0;
    }

    /* Ebene 2: Aussenabstand auf der rechten Seite zurücksetzen, Elemente untereinander, Trennlinien zwischen den Elementen, Schriftgrössen */
    #hauptnavigation ul.level_2 > li {
        border-top: 1px solid #dbdbdb;
        clear: both;
        font-size: 1rem;
        font-weight: normal;
        letter-spacing: 0;
        margin-right: 0;
        text-transform: none;
        width: 100%;
    }

    /* Ebene 2: Trennlinie vor dem ersten Element entfernen */
    #hauptnavigation ul.level_2 > li.first {
        border-top: 0;
    }

    /* Ebene 2: Schriftfarbe und Abstände gegenüber Mobile anpassen */
    #hauptnavigation ul.level_2 > li > a,
    #hauptnavigation ul.level_2 > li > strong {
        color: #e4e4e4;
        font-weight: normal;
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    /* Ebene 2: Hintergrund und Schriftfarbe (Hover) gegenüber Mobile anpassen */
    #hauptnavigation ul.level_2 > li > a:focus,
    #hauptnavigation ul.level_2 > li > a:hover,
    #hauptnavigation ul.level_2 > li > a.trail,
    #hauptnavigation ul.level_2 > li > strong.active,
    #hauptnavigation ul.level_2 > li > strong.forward {
        background-color: #767676;
        color: #ffffff;
    }
}


@media (min-width: 960px) {

    /* * * * * * * * * * Servicenavigation (Header) * * * * * * * * * */
    /* Navigation Service rechts neben dem Logo ausrichten (es gibt zunächst keine Hauptnavigation) */
    header nav.mod_customnav {
        width: 780px; /* 940 (Breite Inhalt) - 160 (Logo) = 780 (Service-Navigation) */
    }

    /* * * * * * * * * * Hauptnavigation (Ebenen 1 und 2) * * * * * * * * * */
    /* Abstand nach oben */
    #hauptnavigation {
        margin-top: 46px;
        width: 780px; /* 940 (Breite Inhalt) - 160 (Logo) = 780 (Service-Navigation) */
    }

    /* Ebene 1: Schriftgrösse */
    #hauptnavigation ul.level_1 > li {
        font-size: 1.1rem;
    }
}


@media (min-width: 1200px) {

    /* * * * * * * * * * Servicenavigation (Header) * * * * * * * * * */
    /* Navigation Service rechts neben dem Logo ausrichten (es gibt zunächst keine Hauptnavigation) */
    header nav.mod_customnav {
        width: 1020px; /* 1180 (Breite Inhalt) - 160 (Logo) = 1020 (Service-Navigation) */
    }

    /* * * * * * * * * * Hauptnavigation (Ebenen 1 und 2) * * * * * * * * * */
    /* Abstand nach oben */
    #hauptnavigation {
        margin-top: 44px;
        width: 1020px; /* 1180 (Breite Inhalt) - 160 (Logo) = 1020 (Service-Navigation) */
    }

    /* Ebene 1: Schriftgrösse */
    #hauptnavigation ul.level_1 > li {
        font-size: 1.3rem;
    }
}

/* * * * * * * * * * Formular * * * * * * * * * */

button {
    background-color: #f3f3f3;
    border: 1px solid #767676;
    border-radius: 5px;
    box-sizing: border-box;
    color: #262626;
    cursor: pointer;
    font-size: 100%;
    height: auto;
    margin-top: 20px;
    padding: 0.5em 1em;
    width: auto;
}

button:not(:disabled):hover {
    border-color: #007ab8;
}

button:not(:disabled):active {
    background-color: #e5f4fc;
}

/* Rahmen und Abstände (bedingt durch User-Agent-Style-Sheet) entfernen */
fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/* * * * * * * * * * Formular Login Mitglieder * * * * * * * * * */

div.mod_login form,
div.mod_lostPassword form {
    line-height: 2;
    margin: 1em 0;
}

div.mod_login label,
div.mod_lostPassword label,
div.mod_two_factor input.text {
    float: left;
    margin-right: 10px;
    width: 140px;
}

/* Breite der Text-Felder festlegen (für IE) */
div.mod_login input.text,
div.mod_lostPassword input.text,
div.mod_two_factor input.text {
    width: 200px;
}

div.mod_login div.widget-checkbox label,
div.mod_lostPassword div.widget-checkbox label {
    float: none;
    margin-left: 0.5em;
    margin-right: 0;
}

div.mod_login div.widget-checkbox input,
div.mod_login div.widget-submit button,
div.mod_lostPassword div.widget-submit button {
    margin-left: 150px;
}

/* Link zum Passwort-Reset ausrichten */
div.ce_text.passwordreset {
    margin-left: 160px;
}

/* TODO: Wo wird das verwendet? */
div.mod_login div.widget-submit button[value="Abmelden"] {
    margin-left: 0;
}


/* * * * * * * * * * * * * * * * * * * * Media Queries * * * * * * * * * * * * * * * * * * * */

@media (max-width: 767px) {

    /* * * * * * * * * * Suchformular (Header) * * * * * * * * * */
    /* Auf Mobiles nicht anzeigen */
    #header div.mod_form {
        display: none;
    }
}

