/* ==========================================================================
   # BOF layout.css
   --------------------------------------------------------------------------
   # StyleSheet: Layout - liquidsol
   # Datum: 2026-01-28
   # Version: 1.0.0
   # Autor: Patrick Dietze | MAE Systems GmbH
   ========================================================================== */


/* ==========================================================================
   # Projekt-Info
   --------------------------------------------------------------------------
   # Projekt-Colors
   # Farbe 1: #252774   rgb(37, 39, 116)   hsl(238, 52%, 30%)  (blau)
   # Farbe 2: #bb0031   rgb(187, 0, 49)    hsl(344, 100%, 37%) (rot)
   # Farbe 3: #2B2D84   rgb(43, 45, 132)   hsl(239, 51%, 34%)  (blau hell)
   # Farbe 4: #DC042C   rgb(220, 4, 44)    hsl(349, 96%, 44%)  (rot)
   ========================================================================== */

:root {
  --mae-custom-color-one: #252774;
  --mae-custom-color-one-hover: hsl(238, 52%, 35%);
  --mae-custom-color-one-activ: hsl(238, 52%, 40%);
  --mae-custom-color-one-focus: rgba(37, 39, 116, 0.25);
  
  --mae-custom-color-two: #bb0031;
  --mae-custom-color-two-hover: hsl(344, 100%, 42%);
  --mae-custom-color-two-activ: hsl(344, 100%, 47%);
  --mae-custom-color-two-focus: rgba(187, 0, 49, 0.25);
}




/* ==========================================================================
   Projekt-Einstellungen
   ========================================================================== */


/* Schrift-Farbe / Schrift-Art / Hintergrund */
html,
button,
input,
select,
textarea {
	background-color: #fff;
	color: #333;
	font-family: Arial, Helvetica, sans-serif;
}


/* Scroll-Balken */
html {
	overflow-y: scroll;
    line-height: 1.4;
}


/* Text-Markierung */
::-moz-selection {
	background-color: #333;
	color: #fff;
}

::selection {
	background-color: #333;
	color: #fff;
}


/* Absätze */
p, pre {
	margin: 0.5em 0 1em;
}


/* Links */
a {
	-webkit-transition: all 0.3s ease-out;
	   -moz-transition: all 0.3s ease-out;
	    -ms-transition: all 0.3s ease-out;
	     -o-transition: all 0.3s ease-out;
	        transition: all 0.3s ease-out;
}

a,
a:link {
	color: #666;
}

a:visited {
	color: #888;
}

a:focus,
a:hover,
a:active {
	color: #000;
}


/* Bilder / Audio / Video / embed / object */
img,
audio,
video,
embed,
object {
	height: auto;
	max-width: 100%;
	width: auto; /* für ie8 - scheint auch ohne zu funktionieren */
}

/* 16/9 */
.elastic-video {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
}
.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* quadratisch */
.elastic-map {
	padding-bottom: 100%;
	padding-top: 0;
}
/* ratio 4x3 */
.elastic-video.ratio4x3 {
  padding-bottom: 75%;
}



/* Default-Klassen */
.align-center {
	text-align: center;
}

.align-right {
	text-align: right;
}

.align-left {
	text-align: left;
}

.align-justify {
	text-align: justify;
}

.clear {
	clear: both;
}

.clear-right {
	clear: right;
}

.clear-left {
	clear: left;
}





.wrapper-outer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 320px;
    margin: 0 auto;
    position: relative;
}

.wrapper-inner {
    margin: 0 auto;
    max-width: 960px;
    position: relative;
    padding: 0 0.5rem;
}

.page-main {
    flex: 1 1 auto;
}

.page-header {
    background-color: #fff;
    text-align: center;
    padding: 0.5rem;
}

.page-nav {
    background-color: var(--mae-custom-color-one,#252774);
    color: #fff;
    min-height: 2.5rem;
}

.page-footer {
    background-color: var(--mae-custom-color-two,#bb0031);
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

.page-footer a {
    color: #fff;
}



h1, h2, h3 {
    color: var(--mae-custom-color-one,#252774);
}

h1 {
    font-size: 1.5rem;
}

.language-nav {
    padding: 0.5rem;
}

.language-nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
    padding: 0;
    justify-content: center;
    line-height: 1.1;
    color: #b5b5b5;
}

.language-nav-list-item:not(:last-child) {
    border-right: 1px solid #333;
    margin-right: 0.5rem;
    padding-right: 0.5rem;
}

.navbar-item.is-active {
    color: #333;
}

.meta-nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
    padding: 0;
    justify-content: center;
    line-height: 1.1;
}

.meta-nav-list-item:not(:last-child) {
    border-right: 1px solid #fff;
    margin-right: 0.5rem;
    padding-right: 0.5rem; 
}

.page-nav a,
.meta-nav a,
.rootline-nav a {
    text-decoration: none;
}
.meta-nav a:hover,
.rootline-nav a:hover {
    text-decoration: underline;
}

.rootline-nav {
    padding: 1rem 0;
    font-size: 0.875rem;
}

.breadcrumb-nav-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
    padding: 0;
    justify-content: flex-start;
}

.breadcrumb-nav-list-item a {
    padding: 0 0.5rem; 
}

.rootline-nav li+li::before {
    color: #b5b5b5;
    content: "\0002f";
}

.rootline-nav li.is-active a {
    color: #363636;
    cursor: default;
    pointer-events: none;
}

.breadcrumb-nav-list::before {
    color: #b5b5b5;
    content: "Sie sind hier:";
}


.page-nav {
    color: #fff;
    z-index: 100;
}

.page-nav a {
    color: #fff;
}



.menu ul {
    margin: 0;
    padding: 0;
    list-style: none outside none;
}

.menu > ul ul {
    background-color: rgba(255, 255, 255, 0.1);
}
.menu ul ul {
    padding-left: 0.5em;
}

.menu li {
    position: relative;
}

.menu a {
    color: #fff;
    border-bottom: 1px solid #999;
    display: block;
    outline: none;
    padding: 0.5em;
    position: relative;
    text-decoration: none;
    transition: all 0.5s ease-out;
    word-wrap: break-word;
}

.menu a.selected {
    background-color: rgba(255, 255, 255, 0.3);
}

.menu .nav-level-1 > li > a {
    font-weight: bold;
}

.nav-level-1 {
    overflow: hidden;
    max-height: 0;
}

.nav-level-1.is-active {
    overflow: initial;
    max-height: unset;
}


.menu a.menu-link {
    color: #fff;
    display: flex;
    float: right;
    border: none;
    outline: none;
    padding: 0.5em;
    text-decoration: none;
    min-height: 2.5rem;
    box-sizing: border-box;
    align-items: center;
}

.menu a.menu-link.is-active {
    display: none;
}

.menu a:hover, 
.menu a.selected:hover, 
.menu a.rootline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}



.frame-layout-1 figure.image {
    border: 1px solid #eee;
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin-right: 1rem;
}

@media screen and (max-width: 520px) {
    .frame-layout-1 .ce-gallery {
        float: none;
    }
}


.frame-type-shortcut.frame-layout-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

@media screen and (min-width: 640px) {
    .frame-type-shortcut.frame-layout-3 {
        flex-direction: row;
    }
    
    .frame-type-shortcut.frame-layout-3 > a {
        position: absolute;
    }
    
}






@media screen and (min-width: 980px) {
    
    
    .language-nav {
        max-width: 15rem;
        text-align: right;
        position: absolute;
        right: 0;
        top: 2rem;
    }
    
    
    .menu a.menu-link {
        display: none;
    }
    
    .nav-level-1 {
        overflow: initial;
        max-height: unset;
    }
    
    
    .menu > ul {
        border-top: none;
        display: flex;
        
        
    }
    
    .menu a {
        border: 0;
        padding: 0.5em 1em;
        min-height: 2.5rem;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .menu .nav-level-2 a {
        border: 0;
        padding: 0.5em 1em;
        min-height: 2.5rem;
        box-sizing: border-box;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    .menu ul ul {
        padding: 0;
    }
    
    
    .menu > li {
        position: relative;
    }
    
    .nav-level-2 {
        display: none;
        position: absolute;
        left: 0;
        width: 14em;
        
    }

    li:hover .nav-level-2 {
        display: block;
        background: rgba(37, 39, 116, 0.9);
    }
    
        

    
}











/* TESTING Only
   ========================================================================== */




/* ==========================================================================
   # EOF layout.css
   ========================================================================== */
