/* outfit-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('webfonts/outfit-v11-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('webfonts/outfit-v11-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* outfit-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    src: url('webfonts/outfit-v11-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


@font-face {
    font-family: 'icomoon';
    src: url("webfonts/icomoon.eot?30355");
    src: url("webfonts/icomoon.eot?30355#iefix") format("embedded-opentype"), url("webfonts/icomoon.ttf?30355") format("truetype"), url("webfonts/icomoon.woff?30355") format("woff"), url("webfonts/icomoon.svg?30355#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.ruebli {
    cursor: pointer;
}

.ruebli::after {
    content: '@simotech.ch';
}

strong {
    font-family: 'Outfit';
    font-weight: 600;
}

hr {
    height: 1px;
    background-color: var(--primarycolor);
    border: none;
}

/* COLOR VARIABLES */
:root {
    --primarycolor: #D20A11;
    --lightfont: #9D9D9C;
    --lightgrey: #E6E6E5;
    --grey: #cecece;
    --midgrey: #808080;
    --black: #1E1E1E;
    --white: #ffffff;
    --bildproportionen: 1;
    --containerbreite: 1165px;
    --headerrate: 0.16;
    --startheaderrate: 0.26;
    --swipersize: calc((var(--containerbreite) - 34px) / 2);
    --vierspalten: calc((var(--containerbreite) - 60px) / 4);
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

body {
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    color: var(--black);
    background-color: var(--white);
    -moz-osx-font-smoothing: grayscale;
    padding-left: 0 env(safe-area-inset-left);
}


/* OTHER AMINATIONS*/

@keyframes fadein {
    from {
        opacity: 0;

    }

    to {
        opacity: 1;
    }
}


.burger {
    position: fixed;
    display: block;
    top: 50px;
    right: 0px;
    padding: 20px;
    background-color: var(--primarycolor);
    color: #fff;
}

/* HEADER START */

header {
    position: fixed;
    height: 102px;
    top: 0px;
    width: 100%;
    z-index: 5000;
    box-shadow: none;
    padding: 0px 60px;
    opacity: 1;
    transition: all 0.5s;
}


header.sichtbar {
    background: var(--white);
    border-bottom: 1px solid var(--lightgrey);
}

.contentwrap,
.inhalt {
    min-height: calc(100vh - 370px);
}

.contentbox {
    width: var(--containerbreite);
    padding: 0px;
    margin-left: auto;
    margin-right: auto;
}

header .contentbox {
    width: 100%;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
}

.contentbox .starter {
    text-align: center;
}

.starter::after {
    display: block;
    content: "";
    margin-left: 50%;
    margin-top: 50px;
    width: 40px;
    height: 40px;
    background: transparent;
    transform: rotate(-135deg);
    text-indent: -9999px;
    border-top: 4px solid var(--primarycolor);
    border-left: 4px solid var(--primarycolor);
    text-align: center;
    opacity: 0;
    transform-origin: left center;
    animation: fadein 1s ease infinite;
    animation-delay: 2.5s;
    animation-iteration-count: 10;
}


header a {
    color: var(--white);
}

/* LOGO */
/* LOGO */
#logoheader {
    display: block;
    float: left;
    width: 440px;
    height: 85px;
    margin-right: 50px;
}

#logo {
    position: absolute;
    margin-top: 35px;
    text-decoration: none;
    z-index: 6001;
    -webkit-transition: all 0.3s;
    /* Safari */
    transition: all 0.3s;
    transition-timing-function: linear;
    background-image: url("style_img/logo-simotech.svg");
    background-repeat: no-repeat;
    background-size: contain;
    height: 85px;
    width: 411px;
}

header.sichtbar #logo {
    height: 50px;
}

#logo img {
    height: 85px;
    text-decoration: none;
}

a #logo,
a #logo2 {
    text-decoration: none;
}

a #logo2:hover,
a #logo:hover {
    opacity: 0.7;
    color: #505050;
    color: var(--midgrey);
}

/* FIXED HEADER */

header.fixed-header {
    position: fixed;
    top: 0;
    height: 165px;
    z-index: 7002;
    background-image: url("style_img/header_small.svg");
    background-size: 100vw;
    background-repeat: no-repeat;
}

header.fixed-header #logoheader {
    height: 89px;
}

header.fixed-header #logo {
    height: 79px;
    margin-left: 3%;
    margin-top: 10px;
    background-image: url("style_img/logo-nmhorses_small.svg");
}

header.fixed-header #logo img {
    width: 79px;
    height: auto;
    text-decoration: none;
}

/* HEADER END */

/* NAVIGATION START */
a.download,
a.internal,
a.external,
a.mail,
a.web,
a.back {
    display: inline-block;
    align-items: center;
    vertical-align: middle;
    margin-left: 25px;
    color: var(--primarycolor);
}

a.download::before,
a.internal::before,
a.external::before,
a.mail::before,
a.web::before,
a.back::before {
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    width: 18px;
    margin-right: 7px;
    margin-left: -25px;
    transition: all 0.15s ease-in-out;
}

a.internal:hover::before {
    transform: translateX(6px);
}

a.internal::before {
    content: "\e900";
    font-size: 60%;
}

a.download::before {
    content: "\e901";
    font-size: 85%;
}

a.download:hover::before {
    transform: translateY(6px);
}

a {
    color: var(--primarycolor);
    text-decoration: underline;
    font-family: 'Outfit';
}

a:hover {
    color: var(--primarycolor);
}

a img {
    border: none;
    outline: none;
}

/* TOP NAVIGATION */



.navbar-toggle {
    display: none;
}

.navbar-hide {
    display: block;
}

#mobilenavi {
    display: none;
}

#topnavi>div.topnav_logo {
    display: none;
}

#topnavi {
    float: left;
    display: block;
    cursor: pointer;
    text-align: right;
    z-index: 5;
    width: calc(100% - 490px);
}



header.fixed-header #topnavi {
    margin-top: 18px;
}

#topnavi>ul {
    margin: 0;
    text-align: right;
    width: 100%;
    padding-inline-start: 0px;
}

#topnavi>ul.metanavi {
    display: block;
    text-align: right;
    padding-right: 10px;
    top: 13px;
    width: 100%;
}

#topnavi>ul>li>a {
    text-decoration: none;
    padding: 11px 25px 11px 25px;
    vertical-align: baseline;
    display: inline-block;
    color: var(--primarycolor);
    position: relative;
    transition: all 0.5s;
    cursor: pointer;
}

header.sichtbar li.topnav {
    margin-top: 0px;
}

header.sichtbar li.meta {
    margin-top: 15px;
}

header.sichtbar #logo {
    margin-top: 25px;
}




#topnavi a:hover {
    color: var(--lightgrey);
}

li.subnavidiv a:hover::before {
    position: absolute;
    content: "\27EB";
    font-weight: 800;
    margin-left: -13px;
    font-size: 16px;
    display: block;
}


li.topnav a {
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 600;
}

li.topnav {
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: normal;
    display: inline-block;
    margin: 0;
    text-align: right;
    width: auto;
    cursor: pointer;
    font-size: 25.2px;
    background-color: transparent;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    transition-timing-function: linear;
    list-style-type: none;
    margin-top: 10px;
    color: var(--white);
    text-transform: uppercase;

}

li.topnav_spacer {
    position: relative;
    display: inline-block;
    margin: 0;
    text-align: right;
    width: auto;
    cursor: pointer;
    font-size: 30px;
    background-color: transparent;
    -webkit-transition: all 0.2s;
    /* Safari */
    transition: all 0.2s;
    transition-timing-function: linear;
    list-style-type: none;
    width: 20vw;
}

li.meta {
    margin-top: 40px;
}

li.meta a {
    display: block;
    font-family: 'Outfit';
    right: 0;
    padding: 7px 5px !important;
    margin-right: 10px;
    color: var(--midgrey) !important;
    text-decoration: none;
    line-height: 16px;
    font-size: 15.4px;
    font-weight: 400;
    height: auto !important;
    text-transform: uppercase;
    background-color: var(--white);
}


li.meta a:hover {
    text-decoration: underline;
    color: var(--primarycolor) !important;
    background-color: var(--white) !important;
}

li.topnav:hover {
    background-color: transparent;
    color: var(--midgrey);
}

li.topnav:focus .subnavi,
li.topnav:hover .subnavi {
    z-index: 5000;
    height: auto;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    opacity: 1;
}

li.topnav_act:focus .subnavi,
li.topnav_act:hover .subnavi {
    z-index: 5000;
    height: auto;
    cursor: pointer;
    transform: translate3d(0, 0, 0);
    visibility: visible;
    opacity: 1;
}

li.topnav_act {
    color: var(--lightgrey);
}

li.topnav_act>a {
    color: var(--midgrey) !important;
}

header.sichtbar li.topnav_act>a {
    color: var(--midgrey) !important;

}

header.fixed-header li.topnav_act>a {
    color: var(--white);
    background-color: transparent;
}

#topnavi>ul>li.topnav:hover>a {
    background-color: var(--primarycolor);
    color: var(--white);
    padding-bottom: 43px;
}


header.fixed-header #topnavi>ul>li.topnav_act:hover>a {
    color: var(--midgrey);
}

li.topnav_act:hover {
    background-color: transparent;
}

/* SUBNAVIGATION */
.subnavi {
    font-weight: 400;
    height: 0px;
    position: absolute;
    padding-bottom: 4px;
    visibility: hidden;
    text-align: left;
    line-height: 20px;
    z-index: -5;
    list-style-type: none;
    width: auto;
    cursor: pointer;
    height: auto;
    padding: 20px 5px 5px;
    background-color: transparent;
    transition: all 0.3s;
    opacity: 0;
    background-color: var(--primarycolor);
    top: 140px;
    display: block;
}

header.sichtbar .subnavi {
    top: 100px;
}

header #subi2 .contentbox {
    text-align: left;
}

.navblock {
    display: block;
    text-align: left;
    vertical-align: top;
    padding: 15px 15px;
    width: auto;
}

.inlinenav {
    width: auto;
    margin-bottom: 5px;
}

li.subnavidiv {
    font-family: 'Outfit';
    text-transform: none;
    color: var(--white);
    text-decoration: none;
    font-size: 19.6px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 12px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    border-bottom: 1px solid var(--midgrey);

}

li.subnavidiv a {
    font-weight: 400;
}

.subnavidiv_abschluss {
    width: auto;
    height: 10px;
    background-color: #eeeeee;
    background-color: var(--lightgrey);
    clip-path: polygon(0 0, 100% 0%, 100% 100%);
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 100%);
    display: block;
}

li.subnavidiv:active,
li.subnavidiv:focus,
li.subnavidiv:hover {
    color: var(--midgrey);
    cursor: pointer;
}

li.subnavidiv_act {
    font-family: 'Outfit';
    text-transform: none;
    color: var(--white);
    text-decoration: none;
    font-size: 19.6px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 12px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    border-bottom: 1px solid var(--midgrey);
}

li.subnavidiv_act a::before {
    position: absolute;
    content: "\27EB";
    font-weight: 800;
    margin-left: -13px;
    font-size: 16px;
    display: block;
}

div.inlinenav li.subnavidiv,
div.inlinenav li.subnavidiv_act {
    border-bottom: 0;
}

/* 3te EBENE */

li.subnavidiv3 {
    font-family: 'Outfit';
    text-transform: none;
    color: var(--white);
    text-decoration: none;
    font-size: 19.6px;
    text-align: leftt;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 12px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    text-transform: uppercase;
    border-bottom: 1px solid var(--midgrey);
}

li.subnavidiv3_act {
    font-family: 'Outfit';
    text-transform: none;
    color: var(--white);
    text-decoration: none;
    font-size: 19.6px;
    text-align: left;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0 12px;
    background-color: transparent;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    display: block;
    text-transform: uppercase;
    border-bottom: 1px solid var(--midgrey);
}

a.textbutton {
    background-color: var(--primarycolor);
    color: var(--white);
    padding: 10px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.5s;
    font-weight: 400;
    text-decoration: none;
}

a.textbutton:hover {
    background: var(--midgrey);
    color: var(--white);
}

button.mehr {
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--primarycolor);
    padding: 10px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.5s;
    border: none;
    cursor: pointer;
}

button.mehr:hover {
    background: var(--primarycolor);
    color: var(--white);
}

button.nochmehr {
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--primarycolor);
    padding: 10px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.5s;
    border: none;
    cursor: pointer;
}

button.nochmehr:hover {
    background: var(--primarycolor);
    color: var(--white);
}

/* SLIDE OUT */
#slideout-trigger {
    position: fixed;
    top: 180px;
    right: 0;
    background: #F00000;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    color: white !important;
    font-weight: bold;
    display: block;
    z-index: 90;
    padding: 10px 10px 10px 25px;
    cursor: pointer;
    transition: none;
}

button.zurueck {
    display: block;
    border: 2px solid var(--primarycolor);
    background-color: transparent;
    color: var(--primarycolor);
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 120%;
    padding: 5px 15px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;

}

button.mehr:zurueck {
    background-color: var(--primarycolor);
    color: #FFF;
}

/* LINKTAGS NAVIGATION */

a.nav2 {
    text-decoration: none;
    padding: 8px 0;
    width: 100%;
    display: inline-block;
    color: var(--white);
    font-family: 'Outfit', sans-serif !important;
}

a.nav2_act,
header.fixed-header a.nav2_act {
    text-decoration: none;
    padding: 8px 0;
    width: 100%;
    display: inline-block;
    color: var(--white);
}

a.nav3:before,
a.nav3_act:before {
    content: '';
}

a.nav3 {
    text-decoration: none;
    padding: 8px 0 8px 5px;
    width: 100%;
    display: inline-block;
    font-family: 'Outfit', sans-serif !important;
    text-transform: none;
    color: var(--white);
    font-size: 17px;
}

a.nav3_act {
    color: var(--midgrey);
    text-decoration: none;
    padding: 8px 0 8px 5px;
    width: 100%;
    display: inline-block;
    font-family: 'Outfit', sans-serif !important;
    text-transform: none;
    font-size: 17px;
}

a.nav3::before,
a.nav3_act::before {
    content: "> ";
    font-size: 16px;
}

a.nav2:active,
a.nav2:focus,
a.nav2:hover,
a.nav3:active,
a.nav3:focus,
a.nav3:hover {
    color: var(--midgrey);
}

/* C A L L T O A C T I O N*/
div.cta {
    margin-left: 0;
    display: inline-block;
    margin-top: 40px;
    clear: both;
    box-sizing: border-box;
    vertical-align: top;
    text-align: left;
    height: auto;
    padding: 0;
    background-color: var(--lightgrey);
    border-radius: 5px;
    padding: 10px;
    font-weight: bold;
}

div.cta a {
    display: inline-block;
    width: auto;
    margin-right: 15px;
    margin-top: 10px;
    text-decoration: none;
    padding: 10px;
    background-color: var(--primarycolor);
    color: #fff;
    color: var(--white);
    text-shadow: none;
    -webkit-transition: all 0.3s;
    /* Safari */
    transition: all 0.3s;
    transition-timing-function: linear;
    border-radius: 8px;
}

div.cta div.zweiviertel {
    padding-bottom: 0;
}

div.cta a:hover {
    background: var(--midgrey);
}

/* NAVIGATION END */

/* STARTSEITE */
.muster {
    display: none;
}

#servicebox_start a {
    text-decoration: none;
}

.starttext {
    position: absolute;
    top: 25vh;
    right: 3%;
    color: #fff;
    color: var(--white);
    text-align: left;
    width: 40%;
    font-family: '';
}

.starttext h3 {
    font-size: 70px;
    line-height: 90px;
    display: block;
    color: #fff;
    padding-bottom: 15px;
    text-shadow: 0.0px 0.0px 0.03em #666;
    width: 100%;
    border: none;
}

/* INHALTE */

.videocontainer {
    width: 100%;
    height: calc(var(--containerbreite) * 0.563);
}

table {
    max-width: 100%;
}

th {
    padding: 5px;
    background-color: var(--lightgrey);
    font-size: 0.85rem;
}

td {
    padding: 5px;
    border-bottom: 1px solid #F8C5C5;
    vertical-align: top;
}


/* DOKUMENTTABELLE */

.tabelle {
    border-collapse: collapse;
    font-size: 14px;
    line-height: 16px;
    width: 100%;
}


.tabellen-reihe {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 350px 100px 160px 1fr;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe-edit {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 350px 100px 160px 1fr 100px 90px;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe-termine {
    display: grid;
    text-decoration: none;
    color: inherit;
    grid-template-columns: 1fr 1fr 1fr 150px;
    place-items: left;
    border: 4px solid #fff;
    border-bottom: none;
    cursor: pointer;
    background: var(--lightgrey);
}

.tabellen-reihe:last-child {
    border-bottom: 4px solid #fff;
}


.zelle {
    padding: 12px;
    border-right: 1px solid #fff;
    text-align: left;
    font-weight: 400;
    width: auto;
}

.zelle-edit {
    padding: 5px;
    border-right: 1px solid #fff;
    text-align: left;
    font-weight: 400;
}

.zelle:last-child {
    border-right: none;
}


.reihe {
    display: block;
    margin-right: 34px;
    float: left;
}

.slanted {
    position: relative;
}

.slanted::before {
    border-color: transparent transparent white #F5F5F5;
    border-style: solid;
    border-width: 0 0 5vw 100vw;
    bottom: 0px !important;
    content: "";
    height: 0px;
    position: absolute;
    left: 0;
    width: 0;
    box-sizing: border-box !important;

}

.titlecontent {
    width: 100%;
    height: 180px;
    display: block;
    box-sizing: border-box;
    padding: 50px 0 0 0;
}

.whitecontent {
    width: 100%;
    height: 100%;
    display: block;
    background-color: transparent;
    box-sizing: border-box;
    padding: 40px 0;
}

.lightcontent {
    width: 100%;
    height: 100%;
    display: block;
    background-color: var(--lightgrey);
    box-sizing: border-box;
    padding: 40px 0;
}

.greycontent {
    width: 100%;
    height: 100%;
    display: block;
    background-color: var(--grey);
    box-sizing: border-box;
    padding: 40px 0;
}


.herocontent {
    position: relative;
    width: 100%;
    display: block;
    margin-top: 160px;
    padding: 0px;
    height: 440px;
    box-sizing: border-box;
    background: transparent;
}

.herocontent .contentbox {
    height: 440px;
}

.topcontentgrey {
    position: relative;
    width: 100%;
    display: block;
    margin-top: 160px;
    padding: 40px 0;
    height: 100%;
    box-sizing: border-box;
    background-color: var(--lightgrey);
}

section.greycontent {
    margin-top: 150px;
}

.sectionheader {
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: rgb(211, 36, 30);
    width: 100%;
    margin-bottom: 40px;
}

.sectionheader h2 {
    width: 70%;
    display: inline-block;
}

.sectionheader .alle {
    width: 30%;
    text-align: right;
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 120%;
    display: inline-block;
}

.alle:hover {
    text-decoration: underline;
}



h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 50px;
    line-height: 55px;
    color: var(--primarycolor);
    margin-top: 0;
    margin-bottom: 30px;
}


h2 {
    color: var(--primarycolor);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 35px;
    margin-block-start: 1em;
    text-transform: uppercase;
}

h3 {
    color: var(--black);
    font-weight: 600;
    font-size: 26px;
    line-height: 38px;
    margin-block-start: 0.0em;
    margin-block-end: 0.5em;
    display: block;
    padding-left: 35px;
}

.drittel h3::before {
    content: '';
    background-image: url(../bilder/aufz.svg);
    background-repeat: no-repeat;
    background-position: 0 3px;
    height: 38px;
    width: 30px;
    position: absolute;
    display: block;
    margin-left: -35px;
}


h4 {
    margin-block-start: 0px;
    margin-block-end: 5px;
    font-weight: 600;
    font-size: 24px;
    line-height: 30px;
    color: var(--primarycolor);
}

h5 {
    color: var(--primarycolor);
    text-transform: uppercase;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    margin-block-start: 0.5em;
    margin-block-end: 0em;
}

p {
    margin-bottom: 12px;
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-bottom: 12px;
    color: var(--midgrey);
}

li {
    color: var(--midgrey);
}

q {
    font-style: italic;
    quotes: "«" "»";
}

.herotext {
    display: flex;
    /* Flexbox aktivieren */
    flex-direction: column;
    /* Inhalte untereinander anordnen */
    justify-content: center;
    /* Vertikal zentrieren */
    align-items: center;
    /* Horizontal zentrieren */
    padding: 80px 0 100px 0;
    /* Beibehalten, falls zusätzliche Abstände gewünscht */
    width: 100%;
    text-align: center;
    margin: 0 auto;
    height: 100%;
    /* Muss gesetzt werden, um vertikale Zentrierung zu ermöglichen */
    box-sizing: border-box;

}

.herotext h1 {
    color: var(--white);
    margin-bottom: 0px;
    text-shadow: #333 1px 0 10px;
}

.herotext p {
    color: var(--white);
}

.lead {
    font-size: 23px;
    line-height: 37px;
    color: var(--midgrey);
}


.rechtsbuendig {
    text-align: right;
}

.incontext img {
    max-width: 100%;
}

.dreisechstel img,
.dreiviertel img,
.drittel img,
.sechstel img,
.viertel img,
.zweisechstel img,
.zweiviertel img {
    width: 100%;
}

.zweidrittel img {
    min-width: 48%;
}

img.portrait {
    width: 250px;
    height: 250px;
}

.drittel_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: stretch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    padding-inline-start: 0;
    margin-block-end: 0;
}

.drittel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 32.66%;
    margin-left: 0;
    margin-block-start: 0;
    padding-bottom: 40px;
    position: relative;
    padding-top: 40px;
}

.drittel_aside {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 32.66%;
    margin-left: 0;
    margin-block-start: 0;
    padding-bottom: 40px;
    position: relative;
    height: 100%;
    font-size: 14px;
    line-height: 18px;
}

.drittel_aside strong {
    padding-top: 6px;
    display: inline-block;
}

.drittel_aside ul {
    margin-block-start: 0px;
}

.drittel_aside img {
    width: 100%;
}


.article {
    border-top: 1px solid var(--white);
    padding-top: 10px;
    font-size: 14px;
    line-height: 20px;
    padding-bottom: 10px;
}

.article h4 {
    font-size: 18px;
}

a .article:hover,
a .article:hover h4 {
    color: var(--primarycolor);
}

.article_team {
    border-top: 1px solid var(--white);
    padding-top: 10px;
    font-size: 14px;
    line-height: 18px;
    padding-bottom: 10px;
    clear: both;
}

.article_team img {
    width: 40%;
    padding-right: 5%;
    float: left;
    padding-bottom: 12px;
}

.article_team a {
    color: var(--black);
    text-decoration: underline;
    height: 18px;
    vertical-align: top;
    margin-top: -5px;
    display: inline-block;
    margin-left: 25px;
    margin-top: 5px;
}

.article_team a:hover {
    color: var(--primarycolor);
}

.article_team a::before {
    background-image: url('../bilder/envelope.svg');
    background-repeat: no-repeat;
    content: " ";
    width: 20px;
    height: 18px;
    margin-left: -25px;
    background-size: contain;
    display: inline-block;
    position: absolute;
}

a.pdf {
    color: var(--primarycolor);
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    border: 2px solid var(--primarycolor);
    font-weight: bold;
    padding: 3px 15px 3px 40px;
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-style: italic;
    margin-top: 10px;
}

a.pdf:hover {
    background-color: var(--primarycolor);
    border: 2px solid #fff;
    color: #fff;
}

a.pdf::before {
    background-image: url('../bilder/file_red.svg');
    background-repeat: no-repeat;
    content: " ";
    margin-left: -25px;
    margin-top: 2px;
    width: 20px;
    height: 20px;
    padding-right: 10px;
    background-size: contain;
    display: inline-block;
    position: absolute;
}

.zweidrittel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 58.333%;
    margin-left: 0;
    padding-bottom: 40px;
    padding-right: 60px;
    position: relative;
}

.sechstel_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: stretch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    padding-inline-start: 0;
    margin-block-end: 0;
}

.sechstel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 15.83%;
    margin-left: 0;
    margin-block-start: 0;
    padding-bottom: 40px;
}

.zweisechstel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 31.66%;
    margin-left: 0;
    padding-bottom: 40px;
}

.dreisechstel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 47.49%;
    margin-left: 0;
    padding-bottom: 40px;
}

.viersechstel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 66.66%;
    margin-left: 0;
    padding-bottom: 40px;
}

.viertel_wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-content: stretch;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 0;
    padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}

.viertel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: calc((100% - 102px)/4);
    margin-left: 0;
    padding-bottom: 40px;
    margin-block-start: 0;
}

.logobox {
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid var(--lightgrey);
}

.zweiviertel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: calc((100% - 34px)/2);
    margin-left: 0;
    padding-bottom: 40px;
    position: relative;
}

.dreiviertel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 74.75%;
    margin-left: 0;
    padding-bottom: 40px;
    position: relative;
}

.vierviertel {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid var(--lightgrey)
}

.thumbnail {
    text-align: center;
    font-size: 18px;
    background: var(--white);
    display: inline-block;
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    height: 300px;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

.thumbnail img {
    height: 300px;
    width: auto;
}

/* TEAM */

@-webkit-keyframes InLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes InLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}



/* PROJEKTUEBERSICHT */

#controls {
    cursor: pointer;
    background: transparent;
    margin-bottom: 20px;
    text-align: left;
    padding: 0px;
    display: block;
    font-weight: 800;
}

#controls>a {
    text-decoration: none;
}


#buttonwrap {
    position: relative;
    z-index: 1000;
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

#buttonwrap>div {
    width: calc((var(--containerbreite) - 80px) / 5);
    padding: 5px;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.65);

    height: 80px;
    margin-top: 0px;
}

#buttonwrap label,
#buttonwrap span {
    font-size: 12px;
    font-weight: 400;
    display: block;
    padding: 0px 0px 8px 0px;
}

#buttonwrap label {
    margin-top: -2px;
}

#buttonwrap input,
#buttonwrap select {
    background-color: var(--midgrey);
    border-radius: 0;
    width: 100%;
}

.ui-widget-content {
    background-color: var(--lightgrey);
    width: 95%;
    margin-left: 4px;
}


.ui-slider-range {
    width: 95%;
    background-color: var(--midgrey);
}

.ui-slider-handle {
    border-radius: 50% !important;
    background-color: var(--primarycolor) !important;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 0;
}

label {
    display: inline-block;
    margin: 0 0 0 0;
    padding: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

label.active {
    background-color: var(--primarycolor);
    width: auto;
    color: #000;
    padding: 20px;
}

#controls label.closed {
    padding-left: 0px;
}

label.closed::after {
    position: absolute;
    font-family: sans-serif;
    content: "\002304";
    font-size: 25px;
    display: inline-block;
    text-align: left;
    clear: both;
    background: transparent;
    color: var(--black);
    height: 14px;
    padding: 0px 6px !important;
    line-height: 14px;
    margin-top: -2px;
    transition: all 1s ease;
}

#controls:hover label.closed {
    color: var(--midgrey);
    cursor: pointer;

}

#controls label.active:hover {
    color: var(--primarycolor);
    cursor: pointer;
}


label.active:after {
    font-family: sans-serif;
    content: "\00D7";
    font-size: 16px;
    display: inline-block;
    text-align: right;
    float: right;
    background: transparent;
    color: #fff;
    height: 14px;
    padding: 0px 2px;
    line-height: 14px;
    margin-top: 2px;
    transition: all 1s ease;
}


label.active:hover:after {
    float: right;
    color: var(--primarycolor);
    background: transparent;
    transform: rotate(360deg);
}

button.separator {
    color: #fff;
    text-transform: uppercase;
    display: block;
    padding: 4px 0px 2px 0px;
    border: 0;
    width: 267px;
    text-align: left;
    font-weight: 800;
    margin-bottom: 3px;
    opacity: 1;
    border-top: 2px solid #fff;
    font-size: 0.9rem;
    background: none;
}


button.filter {
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    display: inline-block;
    padding: 5px 8px 5px 8px;
    border: 0;
    margin-right: 10px;
    cursor: pointer;
    width: auto;
    text-align: left;
    margin-bottom: 3px;
    background: none;
    font-size: 1rem;
    color: var(--black);
    background-color: rgba(255, 255, 255, 0.65);
}

button.filter:hover {
    color: var(--white);
    background-color: var(--primarycolor);
}

button.active {
    background-color: var(--primarycolor);
    color: #fff;
}

button.active:hover {
    color: var(--white);
}

button:focus {
    outline: 0 none;
}

button+label {
    margin-left: 1em;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--vierspalten), 1fr));
    justify-content: space-between;
    grid-gap: 20px;

}

.container:after {
    display: inline-block;
    width: 100%;
}

.container .mix,
.container .gap {
    width: var(--vierspalten);
    border-radius: 0px;
    background-color: transparent;
    display: none;
    transition: all 0.5s;
    position: relative;
    -webkit-animation: fadein 1s;
    animation: fadein 1s;
    animation-fill-mode: forwards;
    opacity: 0;
    font-weight: 400;
    font-size: 14px;
    box-sizing: border-box;
    text-transform: none;
    color: var(--black);
    line-height: 18px;

}

/*
#Container > div:nth-child(3n+3){
    	margin-right: 0px;
}
*/


.container .mix:before {
    display: inline-block;
}

.container .fail-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
}

.container.fail .fail-message {
    opacity: 1;
    pointer-events: all;
}

.container .fail-message:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.container .fail-message span {
    display: inline-block;
    font-weight: 600;
    color: white;
    font-size: 16px;
    vertical-align: middle;
}

img[rel=lightbox] {
    cursor: pointer;
}

.projektbox {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 25px;
    grid-row-gap: 25px;
}

.projekt {
    display: inline-block;
    position: relative;
    width: 100%;
    cursor: zoom-in;
}

.projekt img {
    width: 100%;
    height: auto;
    cursor: zoom-in;
}

.projekttitel {
    margin-bottom: 0px;
}

.projekttext {
    width: 50%;
    margin-bottom: 50px;
}

.reihe {
    display: block;
    height: 200px;
    width: 200px;
    margin-bottom: 25px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: auto;
    background-color: #8e8e8e;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0px;
    clear: both;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all .3s;
}

.projektfacts div {
    margin-bottom: 20px;

}

.factbox {
    width: 100%;
    padding: 20px;
    background-color: var(--lightgrey);
}

.factbox ul {
    margin: 0px;
    padding: 0px;
    list-style-position: inside;
}

.projektuebersicht {
    float: left;

    width: 100%;
}

.projektlink::before {
    content: '\203A';
    position: absolute;
    top: calc(var(--vierspalten) - 25px);
    right: 10px;
    color: var(--lightgrey);
    font-size: 28px;
    z-index: 5;
    transform-origin: center;
}

.projektlink:hover::before {
    transform: rotate(90deg);
    transform-origin: center;
}

.projektuebersicht img {
    width: 100%;
    border: none;
    transition: all 0.4s;
}

.projektuebersicht:hover img {
    filter: none;
    -webkit-filter: none;
}

.projektbeschrieb {
    width: 100%;
    margin-bottom: 50px;
}

.mix:hover {}

.projektuebersicht div {
    width: 100%;
    min-height: 70px;
    padding: 10px 0px 20px 0px;
    text-align: left;
    color: var(--primarycolor);
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    line-height: 24px;
    background: transparent;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    word-wrap: break-word;
    font-weight: 600;
}

.projektuebersicht div.bild {
    width: var(--vierspalten);
    height: var(--vierspalten);
    border: none;
    transition: all 0.4s;
    padding: 0px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}


.projektuebersicht div span {
    display: block;
    color: var(--primarycolor);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    margin: 0 0 0px 0;
}

.projektuebersicht div.admin {
    min-height: 120px;
}

.projektuebersicht div p {
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
    line-height: 18px;
    text-transform: none;
}

.projektuebersicht div a {
    text-decoration: underline;
}

.projektuebersicht div.clear {
    width: 267px;
    padding: 0px 0px 0px 0px;
    background: #000000;
    color: #fff;
    font-weight: 800;
    text-align: left;
    font-size: 1rem;
    line-height: 1.5rem;
    min-height: 15px;
    clear: both;
}

a div.projektuebersicht {
    text-decoration: none;
    border: 0px;
    transition: all .3s ease;
    position: relative;
}

div.projekttext {
    margin-bottom: 0px;
    padding-right: 0px;
}

.projektlink div.bild:before {
    position: absolute;
    top: 0px;
    left: 0px;
    content: " ";
    color: #fff;
    font-size: 2rem;
    color: var(--white);
    background-color: var(--primarycolor);
    vertical-align: middle;
    transition: all .5s ease;
    opacity: 0.8;
    display: none;
    width: var(--vierspalten);
    height: var(--vierspalten);
    cursor: pointer;
}

.projektlink:hover div.bild:before {
    display: block;
}

.projektlink:hover div.bild:after {
    display: block;
    position: absolute;
    left: 50%;
    top: calc(var(--vierspalten) / 2);
    margin-left: -30px;
    margin-top: -15px;
    content: "mehr";
    text-align: center;
    color: #fff;
    padding: 10px;
    border: 1px solid #fff;
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-size: 16px;
    padding: 7px 10px 5px 10px;
    text-transform: lowercase;
    cursor: pointer;
}

#projektart p span {
    display: inline-block;

}

#projektart p span:after {
    font-family: arial;
    content: '\00a0\fe0e';
}

#projektart p span:last-child:after {
    content: '';
}

.projektblock {
    margin-top: 60px;
}

.projektheader {
    margin-bottom: 60px;
}

.teambox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    justify-content: space-between;
    grid-gap: 20px;
}

.team {
    width: 100%;
    background-color: transparent;
    display: block;
    transition: all 0.5s;
    position: relative;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}


.team:hover .stretched-link::after {
    background-color: rgba(255, 255, 255, .4);
}

.memberimage {
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    transition: all 0.5s;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: inline-block;
    float: left;
    background-color: #fff;
    background-size: cover;
    background-position: center center;
    border: 5px solid var(--white);
    outline: 2px solid var(--lightgrey);
}


.teamimage {
    background-size: cover;
    background-repeat: no-repeat;
    width: var(--vierspalten);
    height: var(--vierspalten);
    transition: all 0.5s;
    display: block;
    background-position: center center;
}

.teamtext {
    width: 100%;
    min-height: 70px;
    padding: 10px 0px 20px 0px;
    text-align: left;
    color: var(--primarycolor);
    font-family: 'Outfit', sans-serif;
    font-size: 21px;
    line-height: 24px;
    background: transparent;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    word-wrap: break-word;
    font-weight: 600;
}

.teamtext p {
    font-family: 'Outfit';
    line-height: 19.2px;
    font-size: 13.4px;
    font-weight: 400;
}


.teamtext a {
    font-family: 'Outfit';
    color: var(--black);
    line-height: 19.2px;
    font-size: 13.4px;
    text-decoration: underline;
    font-weight: 400;
}

.profile img {
    width: 30px !important;
}

/* CARDS */

.cardbox {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(24%, 1fr));
    justify-content: space-between;
    grid-gap: 15px;
}

.card {
    width: 100%;
    border-radius: 0px;

    display: block;
    transition: all 0.5s;
    position: relative;
    -webkit-animation: fadein 0.5s;
    animation: fadein 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-size: 21px;
    line-height: 24px;
}

.stretched-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.stretched-link::before {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    pointer-events: auto;
    content: ">";
    color: var(--black);
    transition: all 0.5s;
}

.card:hover .stretched-link::before {
    color: var(--white);
}

.cardimage {
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: calc(((var(--containerbreite) - 45px)/4) * var(--bildproportionen));
    transition: all 0.5s;
}

.cardtext {
    background-color: var(--lightgrey);
    height: 95px;
    box-sizing: border-box;
    padding: 15px;
    position: relative;
    transition: all 0.5s;
}

.card:hover .cardtext {
    background-color: var(--primarycolor);
    color: var(--white);
}

.eventcard {
    background-color: var(--lightgrey);
    box-sizing: border-box;
    padding: 15px;
    font-size: 1.375rem;
    color: var(--midgrey);
    font-weight: 600;
    position: relative;
    transition: all 0.5s;
    height: 100%;
}

.cardtext p,
.eventcard p {
    font-size: 1rem;
    font-weight: 400;
}

.detailbutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    border: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.detailbutton:hover {
    background: var(--midgrey);
}

.icsbutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    height: 28px;
    padding: 0px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #fff;
    color: var(--white);
    border: none;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.icsbutton:hover {
    opacity: 0.5;
}

/* SWIPER */
#startheader {
    position: absolute;
    top: 102px;
    border: 0;
    width: 100%;
    text-align: center;
    background-color: var(--lightgrey);
    width: 100%;
    height: 900px;
    overflow: hidden;
    background-position: top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-repeat: no-repeat;
}

@media only screen and (max-width: 1800px) {
    #startheader {
        height: calc(100vw * var(--startheaderrate));
    }
}

#startheader .headerimage {
    margin-left: auto;
    margin-right: auto;
    width: 1800px;
    height: 480px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

#startheaderoff {
    position: relative;
    margin-top: 130px;
    border: 0;
    min-height: calc(100vh - 130px);
    opacity: 1;
    height: 1px;
    overflow: hidden;
    background-size: cover;
}

#projektheader {
    position: absolute;
    top: 155px;
    border: 0;
    width: 100%;
    text-align: center;
    height: auto;
    background-color: var(--lightgrey);
}

#projektheader .headerimage {
    margin-left: auto;
    margin-right: auto;
    width: 1800px;
    height: 300px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.topheader {
    position: absolute;
    display: block;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
    top: 160px;
    border: 0;
    text-align: center;
    height: 440px;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #808080;
    z-index: -1;
}

.topheader::after {
    content: ' ';
    position: absolute;
    display: block;
    opacity: 0.5;
    width: 50%;
    height: 50%;
    left: 0px;
    bottom: 0px;
    background-image: url("style_img/schluesselrot.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
}

.topheaderoff {
    position: absolute;
    display: block;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
    overflow: hidden;
    top: 160px;
    border: 0;
    text-align: center;
    height: 440px;
    background-position: center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    z-index: -1;
}

/*
.topheader::after {
    content: ' ';
    position: absolute;
    top: 700px;
    height: 200px;
    background: linear-gradient(0deg, rgba(229, 221, 207, 1) 0%, rgba(229, 221, 207, 0) 100%);
    z-index: 0;
    width: 100%;
    display: block;
}
*/

#slider {
    position: relative;
    border: 0;
    display: block;
    width: 100%;
}

figure {
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.swiper-slide {
    text-align: left;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    display: inline-block;
    float: left;
    background-position: cover;
    font-size: 18px;
    width: var(--swipersize);
    background-repeat: no-repeat;
    height: var(--swipersize) !important;
}


.swiper-container {
    width: var(--swipersize);
    height: var(--swipersize);
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0px 0;
}

.swiper-pagination {
    margin-top: -15px;
    display: none;
}

.swiper-container-projekt {
    width: 100%;
    height: 100%;
    z-index: 10;
}

.swiper-container .swiper-slide a {
    text-decoration: none;
    border: none;
}

.swiper-container .swiper-slide img {
    width: 100%;
    height: auto;
    border: none;
    float: left;
    margin-right: 3%;
}

.swiper-pagination {
    margin-top: -15px;
}

.swiper-container .swiper-slide figcaption {
    padding-top: 3.3rem;
    text-decoration: none;
    float: left;
    color: var(--white);
    width: 30%;
}

.swiper-container .swiper-slide h1 {
    color: var(--white);
}

.swiper-button-next,
.swiper-button-prev {
    top: calc(var(--swipersize) + 40px) !important;
    cursor: pointer;
}


.append-buttons {
    text-align: center;
    margin-top: 20px;
}

.append-buttons a {
    display: inline-block;
    border: 1px solid #007aff;
    color: #007aff;
    text-decoration: none;
    padding: 4px 10px;
    margin: 0 10px;
    font-size: 13px;
}

/* NEWSBEITRAG */


.newslist {
    display: block;
    margin-bottom: 30px;
    padding: 0px;
}

.newslist form button.mehr {
    display: block;
    background-color: rgba(255, 255, 255, 0.65);
    color: var(--primarycolor);
    font-weight: 400;
    font-size: 100%;
    padding: 10px;
    text-decoration: none;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    position: absolute;
    bottom: 15px;
    left: 190px;
    text-align: right;
}

.newslist form button.mehr:hover {
    display: block;
    background-color: var(--primarycolor);
    color: var(--lightgrey)
}

.newsdate {
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 90%;
    margin-bottom: 12px;
    margin-top: -4px;
}

.newsimage {
    display: block;
    width: 170px;
    height: 170px;
    float: left;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}

.newstext {
    padding-left: 20px;
    display: block;
    float: left;
    height: 100%;
    font-size: 14px;
    line-height: 20px;
    position: relative;
    width: calc(100% - 180px);
    padding-bottom: 60px;

}

/* PROJEKTE */
#projektdetails {
    margin-left: 0;
}

#projektdetails h1 {
    margin-top: 0;
}

#projektdetails p {
    margin: 0;
}

#projektdetails span {
    font-weight: 400;
    text-transform: uppercase;
}

#projektbeschreibung {
    padding-top: 30px;
    clear: both;
    width: 32vw;
}

#projektbeschreibung span {
    font-weight: 400;
    text-transform: uppercase;
}

#projektnavigation {
    top: 20px;
    left: 10%;
    margin-bottom: 20px;
    text-align: left;
    z-index: 3000;
    width: 100%;
}

#projektnavigation div {
    float: right;
}

#projektnavigation div a.leftbutton {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23222222'%2F%3E%3C%2Fsvg%3E");
    background-repeat: none;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    -moz-background-size: 15px 15px;
    -webkit-background-size: 15px 15px;
    float: left;
    text-decoration: none;
}

#projektnavigation div a.rightbutton {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23222222'%2F%3E%3C%2Fsvg%3E");
    background-repeat: none;
    display: inline-block;
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
    -moz-background-size: 15px 15px;
    -webkit-background-size: 15px 15px;
    float: left;
    text-decoration: none;
}

#projektnavigation div a.leftbutton:hover,
#projektnavigation div a.rightbutton:hover {
    opacity: 0.5;
}

/* CONTROLS */

.loginbutton {
    position: absolute;
    display: block;
    right: 0;
    top: 18px;
}

.loginbutton a {
    padding: 7px 5px;
    background-color: var(--primarycolor);
    color: #fff;
    text-decoration: none;
}

div.suche {
    position: relative;
    display: block;

}

input.search_field {
    height: 30px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: var(--white);
    border: none;
    padding: 10px;
    color: #000;
    color: var(--black);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    width: 220px;
    margin-bottom: 30px;
}

input.search_field:focus {
    outline: 0 !important;
    border-bottom: 2px solid var(--midgrey);
    border-top: 2px solid var(--midgrey);
    border-left: 2px solid var(--midgrey);
}

input.email {
    width: 200px;
}

input.email:focus {
    outline: 0 !important;
    border: none;
    background: #fff;
}

input.search_submit {
    vertical-align: top;
    height: 30px;
    width: 30px;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: #8e8e8e;
    border: none;
    color: #fff;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
}

input.search_submit:hover {
    background-color: #505050;
    background-color: var(--midgrey);
}

input.send_submit {
    vertical-align: top;
    height: 30px;
    width: auto;
    padding: 5px;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: var(--primarycolor);
    border: none;
    color: #fff;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
}

input.send_submit:hover {
    background-color: #505050;
    color: #fff;
    color: var(--white);
}

a.clear_submit {
    position: absolute;
    margin-left: -60px;
    vertical-align: bottom;
    height: 30px;
    width: 30px;
    padding: 4px 5px 6px 5px;
    -webkit-appearance: none;
    appearance: none;
    display: none;
    background-color: transparent;
    text-align: center;
    font-size: 16px;
    box-sizing: border-box;
    border-radius: 0;
    cursor: pointer;
    color: var(--primarycolor);
    text-decoration: none;
}

a.clear_submit:hover {
    background-color: var(--primarycolor);
    color: #fff;
    width: 30px;
}

a.sehdich {
    display: inline-block;
}

.suchresultat {
    border-top: 1px solid #ccc;
    line-height: 0.7rem;
    padding: 10px 0;
}

.suchresultat h4 {
    margin-block-end: 7px;
    margin-block-start: 5px;
    display: block;
}



/* PROJEKTFILTER */

div.dropdown {
    cursor: pointer;
    background: transparent;
    text-align: left;
    padding: 0;
    display: inline-block;
}

div.dropdown .clearer {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    display: none;
    cursor: pointer;
    text-align: center;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    padding: 7px 7px 7px 7px !important;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    position: absolute;
    content: '\276E';
    margin-left: 165px;
    width: 40px;
    margin-top: -45px;
    border-style: none;
    border-left: 2px solid #fff;
}

div.dropdown .sichtbar {
    display: block;
}

div.dropdown .dropdown-lab {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    display: inline-block;
    margin: 0 5px 5px 0;
    cursor: pointer;
    background: #8e8e8e;
    background: var(--midgrey);
    color: #fff;
    color: var(--white);
    padding: 7px 10px !important;
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    box-sizing: border-box;
    width: 205px;
}

div.dropdown .dropdown-lab:after {
    position: absolute;
    display: block;
    content: '\276E';
    margin-left: 160px;
    width: 26px;
    margin-top: -34px;
    transform-origin: 50% 50%;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

div.dropdown .dropdown-lab.activ:after {
    margin-left: 122px;
}

div.dropdown .dropdown-lab.down:after {
    margin-top: -17px;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

div.dropdown .buttonwrap {
    position: absolute;
    margin-bottom: 10px;
    background: var(--white);
    z-index: 9999;
    display: block;
    box-sizing: border-box;
}

div.dropdown .show {
    display: block;

}

div.dropdown .buttonwrap::after {
    content: ' ';
    clear: both;
}

button.filter2 {
    color: #505050;
    color: var(--midgrey);
    display: block;
    padding: 7px 10px;
    border: 0;
    cursor: pointer;
    text-align: left;
    scroll-margin-right: 3px;
    background: var(--lightgrey);
    font-size: 16px;
    margin-right: 0;
    margin-bottom: 5px;
    width: 205px;
    clear: both;

}

/* FOOTER */

div.footerspace {
    height: 50px;
    background-color: var(--white);
}


div.footer-top {
    width: 100%;
    text-align: center;
    cursor: pointer;
    text-align: center;
    height: 30px;
    font-family: "Outfit", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 120%;
}

footer {
    background-color: var(--primarycolor);
    padding: 40px 0;
    color: var(--white);
    display: flex;
    align-content: center;
    position: relative;
}


footer::after {
    content: ' ';
    position: absolute;
    display: block;
    opacity: 0.3;
    width: 50%;
    height: 100%;
    left: 60px;
    top: 0px;
    background-image: url("style_img/schluesselweiss.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
}

footer .contentbox {
    width: 100%;
    padding: 0 15px;
    margin-left: 60px;
    margin-right: 60px;
}


footer .contentbox div {
    float: left;
    width: 50%;
}

footer .footeradresse {
    display: inline-block;
    height: 30px;
}

footer .footeradresse span {
    padding-right: 25px;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.2;
}

footer a {
    text-decoration: none;
    color: var(--white);
}

footer a:hover {
    opacity: 0.8;
    color: var(--white);
}


footer div.footernav {
    float: left;
    text-align: right;
    display: inline-block;
    height: 30px;
}


footer div.footerlogo {
    background-image: url("style_img/logo-simotech-weiss.svg");
    background-position: 0 40px;
    display: inline-block;
    background-repeat: no-repeat;
    padding-top: 20px;
    background-size: 410px;
    height: 140px;
}

div.social {
    width: 50%;
    text-align: right;
    display: inline-block;
    height: 140px;
}

div.social a {
    display: inline-block;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    text-decoration: none;
    margin-left: 30px;
    text-align: right;
    vertical-align: top;
    /* Stellt sicher, dass der Text oben ausgerichtet ist */
    height: 42px;
    display: inline-flex;
    /* Verwende flexbox für präzise Ausrichtung */
    align-items: flex-start;
    /* Text oben ausrichten */
}


.telfoot::before {
    content: '';
    background-image: url("../bilder/phone.svg");
    width: 42px;
    height: 42px;
    display: inline-block;
    /* Bild inline anzeigen */
    margin-right: 5px;
    /* Platz zwischen Bild und Text */
    margin-top: -10px;
}

.mailfoot::before {
    content: '';
    background-image: url("../bilder/mail.svg");
    width: 42px;
    height: 42px;
    display: inline-block;
    /* Bild inline anzeigen */
    margin-right: 8px;
    /* Platz zwischen Bild und Text */
    margin-top: -10px;
}

.lagefoot::before {
    content: '';
    background-image: url("../bilder/location.svg");
    width: 42px;
    height: 42px;
    display: inline-block;
    /* Bild inline anzeigen */
    margin-right: 5px;
    /* Platz zwischen Bild und Text */
    margin-top: -10px;

}


div.social a.telfoot:hover::before,
div.social a.mailfoot:hover::before,
div.social a.lagefoot:hover::before {
    animation: shake 250ms infinite;
    animation-timing-function: linear;
}

@keyframes shake {
    0% {
        transform: rotate(2.5deg);
    }

    50% {
        transform: rotate(-2.5deg);
    }

    100% {
        transform: rotate(2.5deg);
    }
}


/* KONTAKTFORMULAR */
#kontaktformular div.subject {
    display: none !important;
}

.floating {
    float: left;
    display: inline-block;
    margin-right: 10px;
}

.tinybutton {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 3px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    background: var(--midgrey);
    color: #fff;
    color: var(--white);
    border: none;
    margin-bottom: 2px;
}

.tinybutton:hover {
    background: var(--primarycolor);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 14px;
    width: 100%;
    background: var(--white);
    background-image: linear-gradient(45deg, transparent 50%, var(--midgrey) 50%), linear-gradient(135deg, var(--midgrey) 50%, transparent 50%), linear-gradient(to right, var(--lightgrey), var(--lightgrey));
    background-position: calc(100% - 20px) calc(1em + 1px), calc(100% - 15px) calc(1em + 1px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    color: var(--midgrey);
    border: 0 solid #fff;
    box-shadow: 0;
    padding: 10px;
    font-weight: 400;
    cursor: pointer;
}

#kontaktwraper {
    width: 100%;

    display: block;
}

#googleMaps {
    display: inline-block;
    width: 40%;
    float: left;
    padding-left: 2%;
    background-color: transparent;
}

#kontaktformular {
    display: block;
    width: 100%;
    /*float: left;*/
    margin-right: 0;
    padding-right: 2%;
    background-color: transparent;
}

#kontaktformular>div {
    width: 45%;
    display: inline-block;
    margin-right: 5%;
    padding-bottom: 10px;
    vertical-align: top;
    font-size: 12px;
    font-style: normal;
}

div.auto {
    width: auto;
    display: inline-block;
    margin-right: 5%;
    padding-bottom: 10px;
    vertical-align: top;
    font-size: 12px;
    font-style: normal;
}

#kontaktformular>div.breit>div {
    width: 45%;
    display: inline-block;
    margin-right: 5%;
    padding-bottom: 10px;
    vertical-align: top;
    font-size: 12px;
    font-style: normal;

}

#kontaktformular>div.breit {
    width: 96%;
    display: inline-block;
    margin-right: 5%;
    padding-bottom: 10px;
    vertical-align: top;
    font-size: 12px;
    font-style: normal;
    line-height: 25px;
}

#kontaktformular label {
    background-color: transparent;
    width: 100%;
    padding: 10px 0 5px;
    font-style: normal;
    letter-spacing: 0.1px;
    font-size: 12px;
}

input {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--lightgrey);
    border: none;
    padding: 10px;
    color: var(--midgrey);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
}

input[type="image"] {
    padding: 0px;
}

#kontaktformular input {
    width: 100%;
}

#kontaktformular input[type="checkbox"],
input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: auto;
    background-color: var(--lightgrey);
}

#kontaktformular input[type="email"]:required:focus:invalid {
    background-color: #FFD8CA;
}

#kontaktformular input[type="email"]:required:focus:valid {
    background-color: #CCFF99;
}

#kontaktformular input[type="text"],
#kontaktformular input[type="datetime-local"] {
    -webkit-appearance: none;
    appearance: none;
    border: none;
    -webkit-transition: all 0.3s;
    /* Safari */
    transition: all 0.3s;
    transition-timing-function: linear;
}



#kontaktformular input[type="text"]:focus {
    background-color: var(--lightgrey);
    outline: none;
    color: var(--midgrey);
}

#kontaktformular input[type="radio"] {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: none;
    padding: 5px;
    color: var(--midgrey);
    font-size: 14px;
}

input[type="radio"].rot {
    background-color: #c11932;
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

input[type="radio"].rot:checked {
    border: 2px solid var(--lightgrey);
    outline: 2px solid var(--midgrey);
}

input[type="radio"].grau {
    background-color: var(--midgrey);
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

input[type="radio"].grau:checked {
    border: 2px solid var(--lightgrey);
    outline: 2px solid var(--midgrey);
}

#kontaktformular input:focus {
    background-color: var(--lightgrey);
}

#kontaktformular textarea {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background-color: var(--lightgrey);
    height: 80px;
    padding: 5px;
    color: var(--midgrey);
    font-size: 14px;
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    -webkit-transition: all 0.3s;
    /* Safari */
    transition: all 0.3s;
    transition-timing-function: linear;
    min-height: 200px;
}

#kontaktformular textarea:focus {
    background-color: var(--lightgrey);
    color: var(--midgrey);
}

.button {
    -webkit-appearance: none;
    display: inline-block;
    appearance: none;
    width: auto;
    padding: 10px 15px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--primarycolor);
    color: #fff;
    color: var(--white);
    border: none;
    margin-bottom: 2px;
    margin-top: 20px;
    text-decoration: none;
}

.button2 {
    -webkit-appearance: none;
    appearance: none;
    width: auto;
    padding: 10px;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: var(--lightgrey);
    color: var(--midgrey);
    border: none;
    text-decoration: none;
}

.button:hover,
.button2:hover {
    background: var(--midgrey);
}


#kontaktformular select {
    font-size: 14px;
    width: 100%;
    background: var(--white);
    background-image: linear-gradient(45deg, transparent 50%, var(--midgrey) 50%), linear-gradient(135deg, var(--midgrey) 50%, transparent 50%), linear-gradient(to right, var(--lightgrey), var(--lightgrey));
    background-position: calc(100% - 20px) calc(1em + 1px), calc(100% - 15px) calc(1em + 1px), 100% 0;
    background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
    background-repeat: no-repeat;
    color: var(--midgrey);
    border: 0 solid #fff;
    box-shadow: 0;
    padding: 10px;
    font-weight: 400;
    cursor: pointer;

}

#kontaktformular select option {
    font-size: 14px;
}

input.senden {
    cursor: pointer;
}

input.send {
    display: inline-block;
    text-decoration: none;
    border: 0 solid #000;
    background-color: #d4001c;
    color: #fff;
    padding: 8px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
}

input.kill {
    font-weight: 600;
    width: auto;
    display: inline-block;
    padding: 4px 8px;
    cursor: pointer;
    background: #d4001c;
    color: #fff;
    border: 1px solid #d4001c;
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.kill:hover {
    background: #a5001c;
    border: 1px solid #a5001c;
}

.alert {
    color: #a5001c;
}

.succeed {
    color: green;
}

.clear {
    clear: both;
    margin: 0;
    padding: 0;
}


.ui-button.ui-state-active:hover,
.ui-button:active,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active {
    background: var(--primarycolor) !important;
    border: 1px solid var(--lightgrey) !important;
    border-radius: 0 !important;
}

ul.liste {
    margin: 0;
    padding: 0;
}

ul.liste>li {
    color: #D3241E;
    border-bottom: 1px solid #F8C5C5;
    padding: 5px 0;
    margin: 0;
    font-size: 90%;
    line-height: 24px;
    list-style-type: none;
}

ul.liste>li:first-child {
    border-top: 1px solid #F8C5C5;
}

ul.liste li div.loeschen {

    display: none;
    position: absolute;
    left: -5px;
    top: -5px;

}

ul.liste li:hover div.loeschen {
    display: block;
}

ul.liste li div.loeschen input[type=button] {
    background-color: rgb(251, 0, 0);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

ul.liste li div.loeschen input[type=button]:hover {
    background-color: rgb(120, 112, 112);
}

ul.liste>li label {
    font-size: 13px;
    line-height: 12px;
    display: inline-block;
    text-align: right;
    color: #666;
}

ul.liste>li>div {
    display: inline-block;
    text-align: left;
}

ul.liste>li.memberlist-aktiv {
    background-color: rgb(191, 230, 191);
}

ul.liste>li.memberlist-neu {
    background-color: rgb(191, 219, 230);
}

ul.liste>li.memberlist- {
    background-color: rgb(230, 191, 191);
}

/* ALERT */

#alert {
    display: block;
    position: fixed;
    line-height: 26px;
    font-size: 18px;
    font-weight: 600;
    top: 35%;
    left: 15%;
    width: 70%;
    min-height: auto;
    border: 5px solid #f00;
    padding: 20px;
    color: #222222;
    border-radius: 5px;
    z-index: 999999;
    background-color: #d5bfbfdd;
    text-align: center;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);

}

#alertSoft {
    display: block;
    position: absolute;
    font-size: 1rem;
    font-weight: 400;
    top: 25%;
    left: 15%;
    width: 70%;
    min-height: auto;
    border: none;
    padding: 20px;
    color: #222222;
    border-radius: 5px;
    z-index: 999999;
    background-color: var(--white);
    text-align: left;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    margin-bottom: 50px;
}

#alertInfo {
    -moz-animation: cssAnimation 0s ease-in 3s forwards;
    /* Firefox */
    -webkit-animation: cssAnimation 0s ease-in 3s forwards;
    /* Safari and Chrome */
    -o-animation: cssAnimation 0s ease-in 3s forwards;
    /* Opera */
    animation: cssAnimation 0s ease-in 3s forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    display: block;
    position: fixed;
    line-height: 26px;
    font-size: 18px;
    font-weight: 600;
    top: 180px;
    left: 0;
    margin: 0;
    width: 100%;
    min-height: auto;
    outline: 5px solid #0f0;
    padding: 20px;
    color: #000;
    z-index: 999999;
    background: #0f0;
    text-align: center;
}

#softer {
    position: fixed;
    box-sizing: border-box;
    left: 0;
    top: 0;
    color: #222222;
    width: 100%;
    height: 100%;
    z-index: 7500;
    background: rgba(0, 0, 0, .7);
    overflow: scroll;

}

#softalert {
    position: absolute;
    box-sizing: border-box;
    left: 3%;
    top: 150px;
    padding: 20px;
    color: #222222;
    width: var(--containerbreite);
    z-index: 7920;
    background: #ddd;
    border: 1px solid #333;
    border-radius: 5px;
    -webkit-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);
    box-shadow: 5px 5px 5px 0 rgba(0, 0, 0, .5);

}

#softalert h2 {
    font-size: 30px;
    display: block;
    color: #F00000;
    line-height: 100px;
    margin-top: 0;
    position: relative;
    margin-left: 0;
}

#softalert b {
    text-transform: uppercase;
    font-size: 24px;
}

.closealert {
    position: absolute;
    top: 0px;
    right: 0px;
    width: auto;
    padding: 10px;
}

a.alert {
    font-size: 10px;
    line-height: 11px;
    text-decoration: none;
    color: #000;
}

a.alert:hover {
    text-decoration: none;
    color: #ffffff;
}

input.kill {
    font-weight: 600;
    width: auto;
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    background: #d4001c;
    color: #fff;
    border: 1px solid #d4001c;
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.kill:hover {
    background: #a5001c;
    border: 1px solid #a5001c;
}

input.nokill {
    font-weight: 600;
    width: auto;
    display: inline-block;
    padding: 8px 12px;
    cursor: pointer;
    background: green;
    color: #fff;
    border: 1px solid green;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 6px;
}

input.nokill:hover {
    background: darkgreen;
    border: 1px solid darkgreen;
}

span.back {
    padding: 0;
}

a.back {
    display: inline-block;
    padding: 2px 4px;
    cursor: pointer;
    border: 2px solid green;
    color: white;
    background: green;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

a.back:hover {
    background: darkgreen;
    border: 2px solid darkgreen;
}

#accordion {
    width: 100%;
}

.ui-accordion .ui-accordion-content {
    padding: 15px;
}

#accordion ul {
    list-style-type: none;
    padding-inline-start: 0px;
}

#accordion ul li {
    font-size: 15.3px;
}

#accordion h3 {
    display: block;
    padding: 10px;
    color: var(--primarycolor);
    background: var(--lightgrey);
    position: relative;
    width: auto;
    cursor: pointer;
    border: 0 solid var(--midgrey);
    margin-block-end: 0;
    font-size: 16px;
    border-radius: 0;
    font-weight: 400;
    margin-top: 3px;
}

#accordion h3 span {
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    right: 60px;
    top: 15px;
}

#accordion h3:focus {
    outline: none !important;
}

#accordion h3::after {
    content: '\0020\0020\2794';
    transform: rotate(90deg);
    display: inline-block;
    float: right;
    text-align: right;
    height: auto;
    width: auto;
    transition: all 0.15s ease-in-out;
    background: transparent;
    position: absolute;
    left: auto;
    bottom: auto;
    right: 6px;
}

#accordion h3.ui-state-active::after {
    content: '\0020\0020\2794';
    transform: rotate(-90deg);
}

#accordion>div {
    border-radius: 0 !important;
}

#dlsubnavigation ul {
    display: flex;
    flex-flow: row wrap;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 60px;
    padding: 30px 0px 0px 0px;
    padding-inline-start: 0px;
    margin-block-start: 0px;
    margin-block-end: 0px;
}

#dlsubnavigation li {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    margin-right: 1%;
    width: 24.25%;
    margin-left: 0px;
    padding-bottom: 30px;
}

#dlsubnavigation li:nth-child(4n) {
    margin-right: 0%;
}

#dlsubnavigation li.five {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    margin-right: 1%;
    width: 19.2%;
    margin-left: 0px;
    padding-bottom: 30px;

}

#dlsubnavigation li.five:nth-child(5n) {
    margin-right: 0%;
}

#dlsubnavigation li.three {
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    margin-right: 1%;
    width: 32%;
    margin-left: 0px;
    padding-bottom: 1%;

}

#dlsubnavigation li.three:nth-child(3n) {
    margin-right: 0%;
}



#dlsubnavigation a.joblist {
    position: relative;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 10px;
    min-height: 220px;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--white);
    background-color: var(--primarycolor);
}

#dlsubnavigation a.joblist::before {
    content: '\203A';
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: var(--white);
    font-style: normal;
    font-size: 22px;
    font-weight: normal;
}

#dlsubnavigation a.joblist:hover {
    background-color: var(--lightgrey);
    color: var(--primarycolor);
}

#dlsubnavigation a.joblist:hover::before {
    color: var(--primarycolor);
}

#dlsubnavigation a.joblist span {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-style: normal;
    font-size: 25px;
    margin-top: 5px;
    font-weight: 800;
}

#dlsubnavigation li i {
    font-style: italic;
    color: var(--midgrey);
}


#dlsubnavigation li div.image {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 220px;
    background-color: #eeeeee;
    background-color: var(--lightgrey);
    background-position: center;
    background-size: cover;
    padding: 0px;
    clear: both;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all .3s;
}

#dlsubnavigation li div.image:hover {
    opacity: 0.5;
}

#dlsubnavigation li div.icon {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: 220px;
    background-color: #8e8e8e;
    background-color: var(--midgrey);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 4px;
    padding-top: 10px;
    clear: both;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all .3s;
    text-align: center;
    color: var(--white);
    font-weight: bold;
}

#dlsubnavigation li div.icon:hover {
    background-color: var(--primarycolor);
    background-color: var(--magenta);
    color: #ffffff;
    color: var(--white);
}



#dlsubnavigation li img {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
    background-color: #8e8e8e;
    background-color: var(--midgrey);
    padding: 0px;
    clear: both;
    display: block;
    -webkit-transition: all 0.3s;
    transition: all .3s;
}



#dlsubnavigation li a div.dltitle {
    list-style-type: none;
    clear: both;
    display: block;
    font-size: 30px;
    line-height: 35px;
    text-decoration: none;
    padding: 20px 0px 10px 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 100%;
}

#dlsubnavigation li a {
    text-decoration: none;
}

#dlsubnavigation a img:hover {
    background-color: var(--primarycolor);
    background: var(--magenta);
    color: var(--primarycolor);
    color: var(--magenta);
}


/* Simple Animation Transforms */
.animate {
    opacity: 0;
    transition: all 1.2s ease-out;

    &.fade-up {
        transform: translate3d(0, 200px, 0);
    }

    &.fade-down {
        transform: translate3d(0, -200px, 0);
    }

    &.fade-right {
        transform: translate3d(200px, 0, 0);
    }

    &.fade-left {
        transform: translate3d(-200px, 0, 0);
    }

    &.visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}