/* BASIKNET THEME

    version 4.5
    last edit 14-12-2023 mz/rw

*/

/* besondere Styles des Contents */
@import url(content.css);

/* ubuntu-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-regular.woff') format('woff');
}

/* ubuntu-italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/ubuntu-v20-latin-italic.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-italic.woff') format('woff');
}

/* ubuntu-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/ubuntu-v20-latin-500.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-500.woff') format('woff');
}

/* ubuntu-500italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/ubuntu-v20-latin-500italic.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-500italic.woff') format('woff');
}

/* ubuntu-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-700.woff') format('woff');
}

/* ubuntu-700italic - latin */
@font-face {
    font-display: swap;
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/ubuntu-v20-latin-700italic.woff2') format('woff2'),
        url('../fonts/ubuntu-v20-latin-700italic.woff') format('woff');
}

/* teko-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Teko';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/teko-v20-latin-regular.woff2') format('woff2');
}

/* teko-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Teko';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/teko-v20-latin-500.woff2') format('woff2');
}

/* kalam-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Kalam';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/kalam-v16-latin-regular.woff2') format('woff2'),
        url('../fonts/kalam-v16-latin-regular.woff') format('woff');
}

/* kalam-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Kalam';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/kalam-v16-latin-700.woff2') format('woff2'),
        url('../fonts/kalam-v16-latin-700.woff') format('woff');
}


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

/* SELEKTOREN */
html {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    font-weight: 400;
    width: 100%;
    font-size: 16px;
    line-height: 1.4em;
    margin: 0;
    padding: 0;
}

body.public,
body.start {
    background-image: url('../pics/themeback_fade.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

body.start.intern {
    background-position: 28vw center;
}

/* FORMULAR ELEMENTE */
input,
select,
textarea {
    font-size: inherit;
    font-family: inherit;
}

img {
    border: 0px;
}

/* POSITIONIERUNG */

.row {
    display: flex;
    flex-wrap: wrap;
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
}

.col {
    flex: 1;
}

.justify-content {
    justify-content: space-around !important;
}

.flowbox {
    flex-grow: 1;
    flex-shrink: 1;
    position: relative;
    box-sizing: border-box;
}

.clear,
#main .inner form .chkbox:after {

    clear: both;
    width: 100%;
    display: block;
    content: '';
    height: 5px;
    margin: 5px 0;
}

.intern .noshow {
    opacity: 0;
    pointer-events: none;
}

.isopen {
    height: auto !important;
}

p.about {
    border-left: 12px solid var(--ci);
    padding-left: 10px;
    width: 75%;
    margin: 1em auto;
}


/* TABELLEN */
table {
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
}

tr,
th {
    padding: 0;
    margin: 0;
    border-bottom: 1px dotted #333;
}

th,
td {
    border: none;
    padding: 7px;
    text-align: left;
    font-weight: normal;
}

th {
    background-color: var(--ci);
    color: var(--aufci);
    font-weight: bold;
    border-width: 0px;
}

th img {
    margin-left: 5px;
}

/* SEITENELEMENTE */

#outer,
section,
.header {
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

section {
    margin-top: 3.5em;
    position: relative;
}

section[id]:before {
    content: '';
    display: block;
    height: 140px;
    margin-top: -140px;
    visibility: hidden;
    z-index: -1;
    position: relative;
}

section p {
    max-width: var(--maxwidth);
    margin: 0.8em 0;
}

#main section:first-child:before,
#main2 section:first-child:before {
    height: inherit;
    margin-top: -70px;
}

.kachel_box:target {
    scroll-margin-top: 190px;
}

#main {
    width: 100%;
    position: relative;
    padding: 0;
}

.intern #main {
    padding-left: 28%;
}

#main *:not(section) {
    scroll-margin-top: 180px;
}

.outer {
    width: 100%;
    padding: 75px 2em;
    position: relative;
    background-color: #fff;
}

.inner {
    max-width: 1400px;
    margin: 0px auto;
}

.line {
    width: 100%;
    height: 8px;
    background-color: var(--ci);
}

.container {
    padding: 0 3%;
}

.intern #archiv .container, .intern #fasi .container, .intern section.hasbox>.container {
    padding: 0 100px 0 3%;
}

a {
    text-decoration: none;
    outline: none;
    color: var(--dark);
}

.underlined {
    border-bottom: 2px dotted #fff;
    margin: 2px 4px 0 4px;
    padding: 0 2px;
}

section :not(.hide_tr) a:not(.info_box):not(.flowbox) {
    border-bottom: 2px dotted #666;
    padding: 0;
    font-weight: 500;
}

section .marketing :not(.hide_tr) a:not(.info_box):not(.flowbox) {
    border-bottom: 2px dotted var(--aufci);
}

button a {
    color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    line-height: normal;
    margin: 0 0 20px 0;
    overflow-wrap: break-word;
}

h1,
h2 {
    letter-spacing: 2px;
}

h1 {
    margin: 2em;
    text-align: center;
}

h2 {
    font-size: 2.4em;
    text-align: center;
    margin: 1.5em auto 1em auto;
    max-width: 800px
}

h3 {
    font-size: 1.3em;
    padding: 10px 0;
    letter-spacing: 1px;
    border-bottom: 2px dotted var(--ci)
}

h4,
h5 {
    font-size: 1.15em;
}

h5 {
    font-size: 1.05em;
}

.topnav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 110px;
    z-index: 8880;
}

.popup .topnav {
    position: relative;
}

#logo {
    width: 30%;
    height: 100%;
    position: relative;
    float: left;
    min-width: 250px;
}

#logo img {
    margin: 0;
    max-width: 80%;
    max-height: 85%;
    position: absolute;
    bottom: 15px;
    left: 2.5em;
}

#basik,
#suchfeld {
    margin: 0;
    height: 38px;
    position: absolute;
    top: 0;
    right: 190px;
}

#basik img {
    height: 100%;
    margin-top: 14px;
}

#basik p {
    text-align: right;
    font-size: 12px;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    font-style: italic;
}

/* HEADER Buttons und menu -------------- */

#topbar {
    text-align: right;
}

#topbar button,
#menu button {
    background-color: var(--dark);
    color: #fff;
    border-radius: 0px;
    border: 0;
    border-top: 5px solid #fff;
    margin-right: 5px;
    width: 50px;
    overflow: hidden;
    cursor: pointer;
}

#topbar button.focusbut {
    border-top: 5px solid var(--ci);
}

#topbar button svg {
    position: relative;
    top: 2px;
    width: 2.8em;
}

#menu button {
    position: absolute;
    right: 0;
    z-index: 88;
    display: none;
}

.intern #menu button {
    display: block;
}

#menu button#hideme {
    z-index: 78;
    background-color: var(--ci);
}

#menu button#showme {
    width: 160px;
}

#menu button#showme p {
    float: left;
    width: 68%;
    overflow: hidden;
    margin: 5px 0;
    font-style: italic;
}

header {
    /* background image inline bei Bedarf */
    height: 70vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}

.intern header,
.public header,
.popup header {
    height: auto;
    background: none;
    position: inherit;
}

.public header {
    min-height: 160px;
}


#menu {
    float: right;
    width: 70%;
}

#menu,
#internmenu {
    -ms-overflow-style: none;
    /* Internet Explorer 10+ */
}

#menu::-webkit-scrollbar,
#internmenu::-webkit-scrollbar {
    /* WebKit */
    width: 0;
    height: 0;
}

#menu ul.navbar-nav {
    margin: 0;
    padding: 0;
}

#menu ul li.nav-item {
    padding: 0 3% 0 5px;
    position: relative;
    display: inline-block;
}

#menu ul li.nav-item.mobile {
    display: none;
}

#menu ul li.nav-item>a {
    display: block;
    height: 45px;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 7px 7px 13px 7px;
    color: var(--dark);
    text-align: left;
    white-space: nowrap;
    font-size: 1.1em;
}

#menu ul li.nav-item>a {
    position: relative;
    left: -1px;
}

#menu ul li.sub-item a {
    position: relative;
    left: -2px;
}

#internmenu .hasdrop.aktiv ul.dropdown {
    height: auto;
}

#menu ul li.sub-item a,
#internmenu ul li a {
    display: block;
    padding: 6px 8px;
    color: var(--dark);
    text-align: left;
    max-width: 450px;
    margin-right: auto;
    width: 100%;
}

#menu ul li.sub-item:last-child a,
#internmenu ul li.sub-item:last-child a {
    border: none;
}

#menu ul li.nav-item>a,
#internmenu ul li.nav-item>a,
#menu ul.dropdown li.sub-item a,
#internmenu ul.dropdown li.sub-item a {
    display: block;
    border-left: 8px solid transparent;
}

#menu ul li.nav-item>a:hover,
#menu ul li.nav-item>a.aktiv,
#menu ul li.sub-item>a:hover,
#menu ul li.sub-item>a.aktiv,
#internmenu ul li.nav-item>a.aktiv,
#internmenu ul li .nav-item-header.aktiv, 
#internmenu ul li.sub-item>a.aktiv,
#internmenu ul li.nav-item>a:hover {
    border-left: 8px solid var(--ci);
}

#menu ul.dropdown,
#internmenu ul.dropdown {
    position: absolute;
    left: 4px;
    overflow-y: hidden;
    padding: 0;
    width: 1000%;
    height: 0;
    transition: height 0.5s ease;
}

#internmenu ul.dropdown {
    position: relative;
    width: 100%;
    height: 0;
    transition: height 0.5s ease;
    border-radius: 0;
    font-size: 1em;
}

#menu ul.dropdown.open,
#internmenu ul.dropdown.open {
    transition: height 0.5s ease;
    top: 55px;
    border-bottom: 6px solid var(--ci);
}

#internmenu ul.dropdown.open {
    height: 200px;
    top: auto;
    border-color: transparent;
}

#menu li.nav-item.hasdrop::before,
/* #internmenu li.nav-item.hasdrop::before, */
#menu li.mobile::before,
#internmenu li.mobile::before,
.filterbox h2::before,
.nav-chevron::before,
.internbox h3::before,
.internbox.opts h5::before,
.hinweisbox h2::before,
.boxelement h4:before,
.container.gbupakete ul li:before {
    content: "";
    position: absolute;
    top: 20px;
    right: 12px;
    z-index: 1000;
    width: 12px;
    height: 12px;
    border: 2px solid var(--dark);
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    transform: rotate(-45deg);
    transition: 0.5s;
    pointer-events: none;
}

.nav-chevron::before { 
    top: 10px;
}

.nav-chevron.open::before,
.nav-chevron.isopen::before{
    transform: rotate(-225deg);
    margin-top: 8px;
}

.nav-item-header {
    cursor: pointer;
    display: flex;
    border-left: 8px solid transparent;
    border-bottom: 1px dotted var(--line);
}

/*  Hovereffekt für li in interner Navigation
    Auskommentiert da aktuell nicht gewünscht */

/* .nav-item-header a:hover {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: lightgray;
    }

    #internmenu li:not(.hasdrop) a:hover {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: lightgray;
    }
*/

.nav-item-header:hover {
    border-left: 8px solid var(--ci);
}

.nav-chevron {
    width: 30px;
}

.nav-chevron.isopen { 
    cursor:auto; 
}

.nav-chevron:not(.isopen):hover {
    border-radius: 5px;
    background-color: lightgray;
}

#internmenu li.nav-item.hasdrop::before,
.internbox.opts h5::before {
    top: 9px;
}

.internbox.opts h5::before {
    width: 18px;
    height: 18px;
}

#menu li.nav-item.focusmenu::before {
    top: 26px!important;
    transform: rotate(-225deg);
}

#menu li.nav-item:hover .dropdown {
    display: block;
}

#internmenu ul.dropdown li.sub-item a:hover {
    border-left: 8px solid var(--ci);
}

#menu ul.dropdown li.sub-item:first-child {
    margin-top: 10px;
}



/* LOGIN FORM */

#login {
    width: 50%;
    position: absolute;
    z-index: 1003;
    height: auto;
    right: 0;
    background-color: var(--ci);
    padding-bottom: 2em;
    border-bottom: 4px solid #333;
}

.start #login {
    height: 100%;
    padding-bottom: 1em;
    border-bottom: 0px;
}

#login form {
    width: 80%;
    margin: 30px auto;
}

#login button {
    position: absolute;
    top: 115px;
    right: 0;
    color: #fff;
    background-color: transparent;
    border: none;
    width: 60px;
    height: 60px;
    padding: 0;
    cursor: pointer;
}

#login p {
    width: 60%;
    margin: calc(6% + 110px) 30% 0px 10%;
    font-size: 1.5em;
    color: var(--aufci);
    overflow-wrap: break-word;
    letter-spacing: 2px;
    text-shadow: 0em 0.05em 0.04em rgba(197, 232, 163, 0.25), 0em 0.1em 0.14em rgba(0, 0, 0, 0.1), 0em 0.18em 0.23em rgba(0, 0, 0, 0.3);
}

#login a {
    font-weight: 500;
    color: var(--aufci);
    text-align: center;
    display: block;
}

#showpass { 
    top:47px !important; 
    right:-60px !important;
}

form fieldset {
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

#promo button,
#headpromo button,
.kachel_box button,
.ab_bildbox button,
.ab_textbox button,
#login input[type="text"],
#login input[type="email"],
#login input[type="submit"],
#login input[type="password"],
#login textarea {
    font-size: 1.1em;
    font-family: Ubuntu, sans-serif;
    color: var(--aufci);
    font-weight: 300;
    width: 100%;
    min-width: 100%;
    padding: 8px;
    outline: none;
    border: 1px solid #fff;
    background-color: var(--ci);
    border-radius: 4px;
    margin: 6px 0;
}

#login input[type="submit"] {
    background-color: var(--dark);
    color: #fff;
    border: 2px solid var(--dark);
}

#login input#passwort,
#login input#nutzer {
    font-style: italic;
}


/* PROMOTION */

#promo {
    width: 50%;
    position: absolute;
    z-index: 180;
    right: 0;
    top: 50%;
    padding: 20px 20px 30px 30px;
    border-radius: 8px 0 0 6px;
    background-color: var(--ci);
    text-align: center;
    transition: opacity 0.8s;
    opacity: 0%;
}

#promo p,
#promo button,
#promo .offer {
    width: 100%;
    color: #fff;
}

#promo p {
    color: var(--aufci);
}

#promo button,
#headpromo button {
    cursor: pointer;
}

#promo .col {
    float: left;
    width: calc(61% - 20px);
}

#promo .offer {
    width: 38%;
    position: absolute;
    align-items: center;
    display: grid;
    right: 0;
    color: #fff;
    padding: 0 1em;
    height: 100%;
    background-color: var(--dark);
    background-image: url('../pics/brush.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    top: 0;
}

#promo .offer p {
    font-family: Teko;
    font-size: 1.8em;
    color: #fff;
    margin: 0;
    line-height: 1.3em;
}

#headpromo,
#headclaim {
    position: fixed;
    z-index: 1001;
    top: 110px;
    height: 56px;
    right: 0;
    width: 50%;
    background-color: var(--ci);
    transition: opacity 0.8s;
    opacity: 0%;
    align-items: center; 
    display:flex; 
}

.public #headpromo,
.intern #headpromo,
.intern #headclaim,
.public #headclaim {
    opacity: 100%;
}

#headpromo button,
#headpromo p {
    width: 40%;
    min-width: inherit;
    display: inline-block;
    padding: 8px 5%;
}

.intern #headpromo p {
    width: 90%;
    text-align: center;
}

#headpromo p {
    color: var(--aufci);
    margin: 8px;
}

#promo.show,
#headpromo.show,
#headclaim.show,
.navbar-nav.show {
    transition: opacity 0.8s;
    opacity: 100%;
}

.public #promo,
.public #promo.show,
.public #claim,
.intern #claim {
    display: none;
}

#claim,
#headclaim {
    background-color: var(--dark);
}

#headclaim {
    right: inherit;
    left: 0;
}

#headclaim p {
    color: #fff;
    margin: 0 0 0 2.5em;
    font-size: 1.1em;
}

#claim h1,
#claim h3 {
    font-size: 2.1em;
    text-align: center;
    color: #fff;
    margin: 0;
}

#claim h3 {
    font-size: 2.8em;
    background-color: var(--ci);
    color: var(--aufci);
}

/* INTERNMENU */


#internmenu {
    width: 28%;
    position: fixed;
    height: calc(100vh - 166px);
    transition: height 1s ease;
    top: 166px;
    left: 0;
    overflow-y: scroll;
}

#internmenu .inner {
    width: 80%;
    max-width: 340px;
    margin-top: 40px;
    margin-bottom: 1em;
    padding: 0;
}

#internmenu li {
    padding: 4px;
    word-wrap: break-word;
    list-style-type: none;
    position: relative;
}

#internmenu .nav-item:not(.hasdrop) {
    border-bottom: 1px dotted var(--line);
}

#internmenu li.focusmenu>a {
    margin-bottom: 0px;
}

#internmenu li.sub-item {
    padding: 0 4px;
}

#internmenu li.sub-item a{
    border-bottom: 1px dotted var(--line);
}

#internmenu li.nav-item.mobile {
    display: none;
}

#internmenu li a {
    color: var(--dark);
}

/* -------------- Listen+Aufzählungen Bühne/Content --- */

section ul,
section ol {
    list-style: none;
    font-size: 1.05em;
    position: relative;
}

section ol {
    list-style: decimal-leading-zero inside none;
    padding-left: 2em;
}

section ul li,
section ol li {
    padding: 5px 0;
}

.container ul li:before {
    content: ' ';
    display: block;
    width: 0.8em;
    height: 0.8em;
    background-color: var(--ci);
    position: absolute;
    left: 0.3em;
    margin-top: 0.2em;
}

ul#counter li:before {
    width: 2em;
    height: 2em;
    position: absolute;
    left: 0.3em;
    margin-top: 0.2em;
}

/* SONDERFALL LISTEN GBU PAKETE */

.container.gbupakete ul li {
    position: relative;
    cursor: pointer;
    padding-left: 3em;
    left: -3em;
}

.container.gbupakete ul li:before {
    background-color: unset;
    cursor: pointer;
    transform: rotate(-135deg);
    right: unset;
    left: 0.9em;
    top: 6px;
    width: 0.85em;
    height: 0.85em;
    border-bottom: 2px solid var(--ci);
    border-left: 2px solid var(--ci);
}

.container.gbupakete ul li h5 {
    margin: 0;
    border-bottom: 2px dotted #333;
}

.container.gbupakete ul li p {
    margin-top: 5px;
    font-size: 0.9em;
    font-style: italic;
}

h4.orub img {
    cursor: pointer;
    vertical-align: bottom;
    opacity: 0.8;
}

/* SONDERFALL SEITE SOFTWARE */
.marketing {
    max-width: 1200px;
    margin: 0px auto;
}

.marketing.container>h3 {
    width: calc(100% - 80px);
    margin-top: 4em;
    font-size: 1.5em;
}

.marketing.container>h3:nth-of-type(even) {
    margin-left: 80px;
}

/* Linkboxen und Boxen Aktuelles ------------------------ */

.ab_textbox {
    box-sizing: border-box;
    padding-right: 1.2em;
    margin: 25px 0;
}

.col.ab_textbox {
    flex-basis: 50%;
}

.ab_bildbox,
.ab_bildbox a,
.marketing .col.ab_textbox,
.marketing .col.ab_textbox a {
    background-color: var(--ci);
    color: var(--aufci);
    position: relative;
    margin: 0;
}

.ab_bildbox p,
.marketing .col.ab_textbox p {
    width: 75%;
    box-sizing: border-box;
    margin: 0;
    padding: 1em 5%;
}

.intern .col.ab_textbox {
    flex-basis: 38%;
}

.col.ab_textbox:nth-child(2),
.col.ab_bildbox:nth-child(2) {
    padding-left: 2.4em;
    border-left: 2px solid var(--ci);
}

.marketing .col.ab_textbox {
    padding-left: 50px !important;
    padding-right: 40px !important;
    padding-top: 0.8em !important;
    border-left-width: 0px !important;
}

.marketing .col.ab_textbox {
    border-left-width: 0px;
}

.marketing .col.ab_bildbox:nth-child(1) {
    border-bottom-left-radius: 70px;
}

.marketing .col.ab_bildbox:nth-child(2) {
    border-bottom-right-radius: 70px;
    border-left: 0px;
}

.marketing .col.ab_textbox:nth-child(1) {
    border-top-left-radius: 70px;
    padding-top: 1.6em;
}

.marketing .col.ab_textbox:nth-child(2) {
    border-top-right-radius: 70px;
}

a.info_box,
div.info_box,
.hinweisbox h2,
.filterbox h2,
.internbox h3 {
    min-height: 65px;
    border-left: 65px solid var(--ci);
    border-bottom: none;
    padding: 8px 20px;
    margin: 10px 0 0 0;
    align-items: center !important;
    position: relative;
    display: flex;
    background: var(--dark);
    color: #fff;
    flex-basis: 48%;
    margin: 0.5% 0;
}

.hinweisbox .hinweisthema h3,
.hinweisbox .hinweisthema h4 {
    font-size: 1.2em;
    padding: 6px;
    margin: 0;
    cursor: pointer;
}

.row .flowbox.info_box:nth-child(odd) {
    margin-right: 1%;
}

a.info_box.gruen,
div.info_box.gruen {
    border-left-color: hsl(113, 35%, 37%);
}

.info_box>svg {
    position: absolute;
    left: -50px;
}


.small_info_box {
    width: 49.4%;
    min-height: 70px;
}

.box_4 {
    flex-basis: 20%;
}

.box_3 {
    flex-basis: 30%;
}

.box_2 {
    flex-basis: 40%;
}

.box_1 {
    flex-basis: 50%;
}

.box_0 {
    flex-basis: 70%;
}

.bilder_box {
    flex-basis: 24%;
    margin: 1em;
    text-align: center;
}

.bilder_box img {
    display: inline-flex;
    width: 20%;
    height: auto;
    margin-right: 2%;
    vertical-align: middle;
}

.kachel_box {
    background-color: var(--ci);
    color: var(--aufci);
    text-align: center;
    padding: 12px 1.8em 5em 1.2em;
    margin: 1em 1%;
    max-width: 1000px;
    position: relative;
}

.flowbox.kachel_box {
    max-width: inherit;
}

.row .kachel_box:nth-child(odd) {
    background-color: var(--akzent);
    color: #fff;
}

.row>.kachel_box:nth-child(1):last-child,
.container>.kachel_box:nth-child(1):last-child,
.inner>.kachel_box:nth-child(1):last-child {
    /* if only child */
    margin: 1em auto;
    background-color: var(--ci);
    color: var(--aufci); 
}

.kachel_box h5 {
    font-size: 1.3em;
    margin: 1em 0;
    text-transform: uppercase;
    border-bottom: 3px dotted #fff;
    padding-bottom: 8px;
}

.kachel_box ul li,
.ab_textbox ul li {
    font-size: 0.95em;
    padding: 3px 0;
    display: block;
    padding-left: 1.8em;
    position: relative;
}

#preise .kachel_box ul li {
    font-size: 1em;
    padding-left: 2.5em;
}

section .container .kachel_box ul li:before,
section .container .ab_textbox ul li:before {
    font-size: 1.6em;
    content: "\2714";
    position: absolute;
    left: 0;
    top: -2px;
    background: none;
}

.kachel_box>button,
.ab_bildbox>button,
.ab_textbox>button {
    position: absolute;
    bottom: 0;
    left: 0;
    border: none;
    border-radius: 0;
    background-color: var(--dark);
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    margin: 0;
    padding: 1em 8px;
}

.kachel_box>button span,
.ab_bildbox>button span,
.ab_textbox>button span {
    font-size: 1.4em;
    display: inline-block;
    margin-right: 10px;
    position: relative;
    top: 2px;
}

.kachel_box ul {
    text-align: left;
    width: 85%;
    margin: 10px auto;
    padding-left: 12px;
}

.termin_box {
    flex-basis: 45%;
    margin: 20px 4% 20px 1%;
    flex-grow: 0;
}

.row .termin_box:nth-child(even) {
    margin: 20px 1% 20px 4%;
}

.termin_box>div {
    border-right: 36px solid var(--ci);
    padding-right: 20px;
}

.termin_box>svg {
    position: absolute;
    right: 0;
}

.termin_box .mt-3 {
    font-weight: 500;
}

.date_text {
    float: left;
    font-size: 1.2em;
    line-height: 95%;
    color: var(--ci);
}

.basik_text {
    text-align: right;
    font-size: 0.9em;
    color: var(--line);
    border-bottom: 2px dotted var(--line);
}

.termin_text,
.termin_box h5 {
    clear: left;
    padding: 10px 0 0 6px;
    margin: 0;
    font-size: 0.9em;
}

.termin_box h5 {
    font-size: 1.1em;
    text-shadow: none;
}

.termin_text p {
    display: inline-block;
    width: 100%;
    margin: 0;
    margin-bottom: 8px;
}

/* BILDCONTENT ---------------*/
.bild {
    /* background-image: url('../inhalt/basik-net_arbeitsschutz.jpg'); set inline ! */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 280px;
}

/* COUNTER STARTSEITE ---------------*/

#counter {
    display: flex;
    justify-content: center;
    align-items: start;
    width: 90%;
    margin: 4em auto;
    padding: 0;
    min-height: 20vh;
}

.stat {
    display: flex;
    flex-grow: 0;
    flex-basis: 30%;
    align-items: baseline;
    margin: 1%;
    padding: 0;
    box-sizing: border-box;
}

.stat-figure {
    font-size: 3em;
    font-weight: bold;
    display: inline;
    margin: 0.6em 12px 12px 1em;
}

.stat-caption {
    text-align: center;
}

/* ELEMENTE INTERNER BEREICH ---------------*/

.boxcon {
    height: 0;
    overflow: hidden;
    transition: height 1s ease;
    max-width: var(--maxwidth);
    background-color: var(--light);
    border: 1px solid var(--ci);
    border-top: 0;
    border-bottom: 0;
}

.filterbox,
.hinweisbox,
.internbox,
.boxelement {
    margin: 20px auto;
    padding: 0;
    line-height: 1.3em;
    position: relative;
}

.boxcon .boxelement {
    margin: 0;
    scroll-margin-top: 180px;
}

.boxcon .boxelement:first-child {
    margin-top: 10px;
}

.filterbox h2,
.internbox h3,
.hinweisbox h2 {
    background-color: #fff;
    text-shadow: none;
    margin: 0;
    font-size: 1.1em;
    cursor: pointer;
    color: #333;
    border-top: 1px solid var(--ci);
    border-right: 1px solid var(--ci);
    border-bottom: 1px solid var(--ci);
    padding: 6px 18px;
    min-height: 50px;
    max-width: 800px;
}

.filterbox h2,
.internbox h3,
.hinweisbox h2 {
    width: 100%;
    max-width: var(--maxwidth);
}

.filterbox h2::before,
.internbox h3::before,
.hinweisbox h2::before {
    right: inherit;
    left: -45px;
    top: 5px;
    width: 1.4em;
    height: 1.4em;
    border: 4px solid #fff;
    border-top: 4px solid transparent;
    border-right: 4px solid transparent;
}



.boxelement h4 {
    padding: 6px 0 6px 3.6em;
    margin: 0;
    font-size: 1.05em;
    cursor: pointer;
}

.boxelement h4::before {
    right: inherit;
    left: 1.5em;
    top: 7px;
}

.hinweiselement {
    height: 0;
    overflow: hidden;
    padding: 0 1.5em;
    font-size: 0.9em;
    line-height: 1.2em;
}

.filterbox h2 img,
.filterbox h3 img,
.hinweisbox h2 img {
    display: none;
}

.internbox .howto,
.internbox .meldung,
.internbox .hinweis {
    color: var(--ci);
    padding: 6px 0 6px 1.4em;
}

.internbox > h3 + .howto {
    border-left: 1px solid var(--ci);
    border-right: 1px solid var(--ci);
    border-bottom: 1px solid var(--ci);
    margin: 0;
    padding-top: 0.8em;
    color: var(--dark);
}

.internbox .boxelement .meldung,
.internbox .boxelement .hinweis {
    position: relative;
    top: -6px;
}

.hinweis_box,
.meldungok,
.meldungfehler {
    color: var(--dark);
    text-align: center;
    border-bottom: 5px solid var(--ci);
    background-color: var(--light);
    padding: 20px;
    width: 40%;
    margin: 30px auto;
}

.meldungfehler {
    border-bottom: 5px solid red;
    background-color: #ffe9ec;
}

.meldungok {
    background-color: #E2FBE0;
}

.internbox .meldung:before,
.internbox .hinweis:before {
    content: 'i';
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    display: inline-block;
    font-family: serif;
    text-align: center;
    font-weight: 600;
    color: #fff;
    background-color: #535759;
    padding: 2px;
    margin: 0 8px 0 0;
}

.internbox.opts {
    float: left;
    min-height: 65px;
    width: 255px;
    border: 0px;
    background-color: var(--light);
    padding: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

.internbox.opts select,
.internbox.opts input {
    max-width: 230px;
    min-width: inherit !important;
}

.internbox.opts button[type="button"] {
    margin: 0.8em auto;
}

form table {
    width: 100%;
}

table .ohne_umbruch,
table td.optionen {
    display: block;
    white-space: nowrap;
    padding-right: 0;
}

table td.optionen:last-child {
    text-align: right !important;
}

table td.optionen img {
    max-height: 26px;
    margin: 0 4px;
    opacity: 0.7;
    text-align: right !important;
}

table td.optionen a,
table th a {
    border: 0 !important;
    max-height: 28px;
    display: inline-block;
    padding-top: 3px !important;
    cursor: pointer;
}

.hide_tr td {
    padding: 0;
    background-color: var(--light)
}

.hide_tr .go_edit,
.hide_tr .go_info {
    height: 0;
    overflow: hidden;
    transition: height 1s ease;
}

.hide_tr .go_edit {
    padding: 8px;
    display: flex;
}

.hide_tr .go_edit a,
.fussnavi a,
.fussnavi .loeschlink {
    padding: 6px !important;
    text-align: center;
    flex-grow: 1;
    border: 1px solid #333 !important;
    border-radius: 3px;
    margin: 8px !important;
    background-color: #fff;
}

.hide_tr .go_edit a {
    line-height: 1em;
}

.hide_tr .go_info p {
    margin: 8px 1em;
    font-size: 0.95em;
    max-width: 800px;
}

.hide_tr .go_info a {
    font-size: 1.05em;
}

.hide_tr .go_info a:before,
#linkbox div a:before {
    content: "";
    margin-right: 10px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--dark);
    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
    transform: rotate(225deg);
    display: inline-block;
}


.intern form td h3 {
    margin-left: -8px;
}

#archiv form table td {
    vertical-align: middle;
}

#archiv form table tr th:last-child,
#archiv form table tr td:last-child:not(:first-child):not(:nth-child(2)) {
    text-align: center;
}

#archiv form.boxelement table tr td {
    text-align: left !important;
}

.intern form .delbox {
    display: inline-block;
    margin: 0;
    height: 25px;
}

.ampel_1,
.ampel_2,
.ampel_3,
.ampel_4 {
    width: 22px;
    height: 22px;
    float: left;
    background-color: #007b2e;
    margin-left: -7px;
    margin-top: 2px;
}

.ampel_2 {
    background-color: #f1b22b;   /* alt / original: #ca6822 */ 
}

.ampel_3 {
    background-color: #a10a0a;
}

.ampel_4 {
    background-color: #2f50aa;
}

a.img_icon {
    text-decoration: none;
    border: none !important;
}

a.img_icon>img,
img.img_icon {
    width: 24px;
    position: relative;
    top: 2px;
    vertical-align: bottom;
    opacity: 0.7;
}

#linkbox {
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 1022;
    box-shadow: 0px 0px 36px #ffffff38;
}

#linkbox button {
    display: block;
    width: 80px;
    height: 80px;
    overflow: hidden;
    margin: 4px 0;
    border: none;
    background-color: var(--dark);
    color: #fff;
    text-align: center;
}

#linkbox button a {
    display: block;
    text-align: center;
    border: none;
    color: #fff;
    text-decoration: none;
}

#linkbox svg {
    display: block;
    margin: 5px auto;
    width: 2.6em;
    height: 2.6em;
}

#linkbox div {
    width: 30vw;
    min-width: 200px;
    max-width: 450px;
    min-height: 80px;
    position: absolute;
    right: 80px;
    padding: 6px;
    background-color: var(--light);
    border: 1px solid var(--dark);
    display: none;
}

#linkbox div a {
    font-size: 0.85em;
    display: block;
    border-bottom: 1px dotted 000;
}

.fussnavi {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* FORMULARELEMENTE ---------------*/

#main .inner form {
    width: 100%;
    margin: 10px auto;
}

#main .inner form.zentriert {
    max-width: 800px;
}

#main .inner form input,
#main .inner form select,
#main .inner form textarea,
#suchform input {
    font-size: .9em;
    color: var(--dark);
    margin: 10px 0;
    padding: 8px;
    display: inline-block;
    background-color: var(--light);
    border: 1px solid var(--line);
    box-sizing: border-box;
    outline: none;
}

#main .inner form input[type="text"],
#main .inner form input[type="submit"],
#main .inner form select,
#main .inner form textarea {
    min-width: 240px;
}

#main .filterbox form input,
#main .filterbox form select,
#main .filterbox form textarea {
    background-color: #fff;
}

#main .inner form table input,
#main .inner form table select,
#main .inner form table textarea {
    width: auto;
    display: inline;
    margin: 2px 0px 5px 0;
}

#suchform fieldset {
    width: 90%;
    max-width: 650px;
    position: relative;
}

#main .inner form input.input-pcode {
    width: 18%;
    margin: 0;
    position: absolute;
    box-sizing: border-box
}

#main .inner form input.input-city {
    text-indent: calc(18% + 8px);
}

#main .inner form input[type="submit"],
.intern form button[type="button"],
.button {
    background-color: var(--ci);
    cursor: pointer;
    font-size: 1.1em;
    color: var(--aufci);
    border: 0px;
    border-bottom: 8px solid #fff;
    margin: 1em 0;
    padding: 8px 3em;
    width: auto;
    font-family: Ubuntu, Arial, Helvetica, sans-serif;
    /* extra browserfix override */
}

#main .inner form input[type="submit"]:hover,
.intern form button[type="button"]:hover {
    border-bottom-color: var(--dark);
}

#main .inner form input[type="checkbox"],
#main .inner form input[type="radio"] {
    display: inline-block;
    width: auto;
    margin-left: 8px;
}

#main .inner form .chkbox {
    margin: 5px 0 0 5px;
    display: inline-block;
    vertical-align: top;
    height: 30px;
}

#main .inner form .chkbox input {
    cursor: pointer;
    display: inline-block;
    left: -25px;
    opacity: 0;
    position: relative;
    width: 24px;
    border: none;
    background: transparent
}

#main .inner form .chkbox>p {
    float: right;
    margin: 0;
    width: calc(100% - 50px);
}

#main .inner form .chkbox div {
    width: 24px;
    height: 24px;
    float: left;
    background: var(--light);
    border: 2px solid var(--line);
}

#main .inner form .chkbox input[type="checkbox"]:checked+div {
    border: 2px solid #007b2e
}

#main .inner form .chkbox input[type="checkbox"]:checked+div:before,
#main .inner form .chkbox input[type="checkbox"]:checked+a+div:before {
    display: inline-block;
    color: #007b2e;
    width: 28px;
    height: 28px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10.0007 15.1709L19.1931 5.97852L20.6073 7.39273L10.0007 17.9993L3.63672 11.6354L5.05093 10.2212L10.0007 15.1709Z"></path></svg>');
    content: '';
}

#main .inner form .delbox input[type="checkbox"]+div:before {
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-left: 24px;
    opacity: 0.3;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M460.8,102.4c14.14,0.02,25.59,11.49,25.57,25.63c-0.01,12.96-9.71,23.86-22.58,25.39l-3,0.18h-2.07L435.2,435.2 c0,40.67-31.7,74.29-72.29,76.67L358.4,512H153.6c-40.91,0-74.34-31.97-76.6-70.4l-0.13-4.28L53.25,153.6H51.2 c-14.14-0.02-25.59-11.49-25.57-25.63c0.01-12.96,9.71-23.86,22.58-25.39l3-0.18L460.8,102.4z M217.88,233.98 c-12.15-7.23-27.86-3.25-35.09,8.9c-6,10.07-4.38,22.93,3.91,31.21l33.08,33.1l-33.08,33.1l-2.12,2.41 c-8.65,11.18-6.59,27.26,4.59,35.91c10.18,7.87,24.62,6.96,33.73-2.12l33.1-33.08l33.1,33.08l2.41,2.12 c11.18,8.65,27.26,6.59,35.91-4.59c7.87-10.18,6.96-24.62-2.12-33.73l-33.08-33.1l33.08-33.1l2.12-2.41 c8.65-11.18,6.59-27.26-4.59-35.91c-10.18-7.87-24.62-6.96-33.73,2.12L256,270.98l-33.1-33.08l-2.41-2.12L217.88,233.98z"/><path d="M307.2,0c28.28,0,51.2,22.92,51.2,51.2c-0.02,14.14-11.49,25.59-25.63,25.57c-12.96-0.01-23.86-9.71-25.39-22.58l-0.18-3 H204.8l-0.18,3c-1.67,14.04-14.4,24.07-28.44,22.4c-12.87-1.53-22.56-12.43-22.58-25.39c-0.01-26.79,20.64-49.06,47.36-51.07 L204.8,0H307.2z"/></svg>');
    content: '';
    pointer-events: none;
}

#main .inner form .delbox input[type="checkbox"]:checked+div:before {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path d="M10.0007 15.1709L19.1931 5.97852L20.6073 7.39273L10.0007 17.9993L3.63672 11.6354L5.05093 10.2212L10.0007 15.1709Z"></path></svg>');
    content: '';
    opacity: 1;
}

#main .inner form textarea {
    margin: 3px 0;
    height: 140px;
}

#main .inner form select {
    margin-bottom: 10px;
    clear: both;
    cursor: pointer;
    outline: none;
    border-radius: 0;
    border-width: 1px;
}

#suchfeld {
    display: none;
    background: var(--light);
    width: calc(50% - 190px);
    z-index: 499;
    border-bottom: 4px solid #333;
}

#suchform {
    width: 90%;
    margin: 0;
    overflow: hidden;
}

#suchform input {
    width: 98%;
}

#suchform input[type="submit"] {
    margin: 0;
    padding: 8px 3px;
    background-color: transparent;
    border: none;
    width: 25px;
    position: absolute;
    top: 10px;
    z-index: 200;
    cursor: pointer;
    right: 0;
}

#suchform svg {
    position: absolute;
    top: 12px;
    right: 0;
    z-index: 120;
    pointer-events: none;
}

/* FOOTER ------------- */

#footer {
    background-color: var(--dark);
    color: var(--aufci);
    position: relative;
    z-index: 500;
}


#footer .inner,
.intern #footer .inner {
    display: flex;
    padding: 1em 3%;
}

#footer .col {
    font-size: 1.2em;
    padding: 4px;
}

#footer ul {
    padding: 0;
}

#footer .social {
    text-align: right;
    color: #fff;
}

#footer .social a {
    display: inline-block;
}

#footer li a {
    margin: 7px 0;
    display: block;
    font-size: 0.9em;
    color: #fff;
}

#footer p {
    font-size: 0.8em;
    margin-top: 20px;
}

#footer .ende {
    text-align: center;
    padding: 10px;
    background-color: var(--ci);
    margin: 0;
}

/* SLIDER ----------------------   */

.nutzercon {
    background: rgba(255, 255, 255, 0.6);
    padding-top: 0.8em;
    max-width: 1000px;
    margin: 0px auto;
}

.swiper {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.swiper-slide img {
    width: 92%;
    margin: 20px auto;
}

#referenzen {
    max-width: 600px;
    min-height: 380px;
}

#logos {
    max-width: 1000px;
}

/* shared values */

#topbar,
#topbar button,
#menu button,
#suchfeld,
#menu ul.navbar-nav {
    height: 55px;
}

#headclaim p{
    margin-left: 2.5em;
}

#internmenu .inner {
    margin-left: auto;
    margin-right: auto;
}

#internmenu,
.topnav,
#menu ul.dropdown {
    background-color: var(--light);
}

#menu ul li,
#footer ul li,
.slider li {
    list-style-type: none;
}

#promo button,
#headpromo button,
.gruen {
    background-color: hsl(113, 35%, 37%) !important;
    color: #fff;
}

@media only screen and (min-width: 1400px) {

    body {
        font-size: 17px;
    }

    #menu ul li.nav-item {
        padding: 0 4% 0 5px;
    }

    #menu li.nav-item.hasdrop::before {
        right: 20px;
        top: 20px;
    }

}

@media only screen and (max-width: 1380px) {

    .intern section.hasbox>.container {
        padding: 0 100px 0 3%;
    }

    #linkbox {
        bottom: 25%;
    }

}

@media only screen and (max-width: 1180px) {

    header.public {
        min-height: 500px;
    }
    
    .public header { 
        min-height: 110px;
    }

    .intern .noshow {
        opacity: 100%;
        pointer-events: initial;
    }

    #headpromo,
    #headclaim,
    .topnav,
    #menu ul.navbar-nav,
    #internmenu ul.navbar-nav {
        height: 55px;
    }

    #menu ul.navbar-nav,
    #internmenu ul.navbar-nav {
        height: 54px;
    }

    #headpromo,
    #headclaim {
        right: inherit;
        left: 0;
        top: 55px;
        z-index: 8000;
        border-right: 1px solid #fff;
        border-top: 1px solid #fff;
    }

    #headpromo button,
    #headpromo p {
        width: 46%;
        padding: 8px 1%;
        margin: 8px 1%;
        box-sizing: border-box;
        display: none; 
    }

    #headpromo p {
        padding-left: 2.5em;
    }

    .intern #headpromo p {
        margin: 8px 0 0 2.5em;
        width: 100%;
        text-align: left;
    }

    #login p {
        font-size: 1.3em;
    }

    #menu,
    #internmenu,
    #menu ul.dropdown,
    #menu ul li.nav-item,
    #internmenu ul.dropdown,
    #internmenu ul li.nav-item {
        background-color: var(--dark);
    }

    #menu,
    #internmenu {
        width: 50%;
        height: auto;
        overflow-y: scroll;
        left: 50%;
        position: fixed;
        top: 55px;
        border-top: 1px solid #fff;
    }

    #internmenu {
        top: 110px;
        max-height: calc(100vh - 110px);
    }

    #menu {
        z-index: 8999;
        max-height: calc(100vh - 55px);
    }

    .intern #main {
        padding-left: 3%;
        padding-top: 120px;
    }

    #internmenu {
        z-index: 8000;
        padding-bottom: 0;
        transition: height 1s ease;
    }

    #menu ul.navbar-nav,
    #internmenu ul.navbar-nav {
        overflow: hidden;
        width: 94%;
        max-width: 500px;
        float: right;
        margin: 0px auto;
        padding: 10px 0px;
    }

    #internmenu ul.navbar-nav {
        padding-top: 1px;
    }

    #internmenu ul li.nav-item {
        padding: 0px 3% 0px 5px;
        border-bottom: 0px;
    }

    #internmenu ul li.nav-item.mobile {
        padding: 8px 3% 8px 5px;
    }

    #menu ul li.nav-item,
    #menu ul li.nav-item a,
    #internmenu ul li.nav-item,
    #internmenu ul li.nav-item a {
        display: block;
        color: #fff;
    }

    #menu ul.dropdown.open,
    #internmenu ul.dropdown.open {
        top: inherit;
        border: 0px !important;
    }

    #menu li.nav-item.hasdrop::before,
    #internmenu li.nav-item.hasdrop::before {
        border: 0px;
    }

    #menu ul li.nav-item.mobile,
    .intern #menu ul.navbar-nav,
    #internmenu ul li.nav-item.mobile,
    #internmenu ul li.nav-item.mobile a,
    #internmenu ul.navbar-nav {
        display: block;
        border-width: 0px;
    }

    #menu li.mobile::before,
    #internmenu li.mobile::before {
        top: 5px;
        right: 18px;
        z-index: 1010;
        width: 20px;
        height: 20px;
        border: 3px solid var(--light);
        border-top: 2px solid var(--dark);
        border-right: 3px solid var(--dark);
    }

    #internmenu li.mobile::before {
        top: 10px;
    }

    #menu li.nav-item.focusmenu::before,
    #internmenu li.nav-item.focusmenu::before {
        top: 16px;
        transform: rotate(-225deg);
    }

    #internmenu li.nav-item.focusmenu::before {
        top: 21px;
    }

    #menu ul.dropdown li.sub-item,
    #menu ul.dropdown li.sub-item:hover,
    #menu ul li.nav-item>a,
    #menu ul li.nav-item>a:hover,
    #menu ul.dropdown li.sub-item:first-child {
        border-left: 0px;
        margin: 0px;
    }

    #internmenu ul.dropdown li.sub-item {
        border-bottom: 0px;
        padding: 0;
    }

    #internmenu ul.dropdown li.sub-item,
    #internmenu ul li.nav-item>a,
    #internmenu ul li.nav-item>a:hover,
    #internmenu ul.dropdown li.sub-item:first-child {
        border-left: 0px;
        margin: 0px;
    }

    #menu ul li.nav-item>a,
    #internmenu ul li.nav-item>a {
        padding: 8px;
        margin-top: 0;
        color: var(--light);
        text-align: left;
        white-space: nowrap;
        border-left: 0px;
    }

    #menu ul.dropdown,
    #internmenu ul.dropdown {
        position: relative;
        left: 1em;
        overflow-y: auto;
        width: 100%;
        padding: 1px;
        height: auto;
        border-radius: 0;
    }

    #menu button {
        border-top: 0px;
    }

    #menu button#showme,
    #menu button#hideme {
        display: none;
        border-top: 5px solid #fff;
        top: -55px;
    }

    .termin_box {
        width: 100%;
        margin: 20px 0;
        flex-basis: 100% !important;
        flex-grow: 1;
    }

    .row .termin_box:nth-child(2n) {
        margin: 20px 0;
    }

    a.info_box,
    div.info_box,
    .small_info_box {
        width: 100%;
        margin-bottom: 10px;
        flex-wrap: wrap;
    }

    a.info_box p,
    div.info_box p,
    .small_info_box p {
        flex: none;
    }

    .col.ab_textbox,
    .marketing .col.ab_textbox,
    .col.ab_bildbox,
    .marketing .col.ab_bildbox {
        padding: 0 !important;
        border: none !important;
        border-radius: 0px !important;
    }

    .collapse.show ul.navbar-nav {
        margin-left: 28%;
        padding: 20px;
        background-color: #545B5F;
        font-size: 1.2em;
    }

    .collapse.show ul.navbar-nav li a.nav-link {
        color: #fff;
    }

    .collapse.show #account {
        display: none;
    }

    .col.ab_textbox,
    .intern .col.ab_textbox {
        width: 100%;
        display: block;
        flex: unset;
        margin: 0;
    }

    .intern #footer {
        width: 100%;
        margin-left: 0;
    }

    table td.optionen:last-child {
        text-align: center !important;
    }
    
    table td.optionen img {
        max-height: 23px;
        margin: 2px 0;
    }
    
    table td.optionen a {
        border: 0 !important;
        max-height: 34px;
        display: block;
    }
}

@media screen and (max-width: 981px) {

    #headpromo,
    #headclaim,
    .popup #headpromo.show,
    .popup #headclaim.show {
        display: none;
    }

    header {
        overflow: inherit;
    }

    #logo img {
        top: 4px;
        margin-left: 0;
    }

    #menu,
    #internmenu {
        left: 0;
        width: 100%;
    }

    #internmenu {
        top: 111px;
    }

    #suchfeld {
        width: 50%;
        min-width: auto;
    }

    #login {
        height: auto;
    }

    #login button {
        top: 100px;
    }

    #login p {
        font-size: 1.1em;
        margin: calc(10% + 65px) 30% 0px 10%;
    }

    #showpass { 
        top:44px !important; 
    }
    
    #promo {
        width: 85%;
    }

    h2 {
        font-size: 2em;
    }

    #claim h1,
    #claim h3 {
        font-size: 1.6em;
    }

    #internmenu li,
    #menu ul li.nav-item a {
        font-size: 1em;
    }

    .kachel_box ul {
        width: 100%;
    }

    .col.box_1,
    .col.box_2,
    .col.box_3,
    .col.box_4 {
        flex-basis: 100% !important;
        border-radius: 0 !important;
    }

    .marketing .col.ab_textbox p {
        width: auto;
    }

    .swiper-slide p {
        font-size: 1.2em;
    }

    #linkbox {
        position: relative;
        top: inherit;
        text-align: center;
    }

    #linkbox button {
        display: inline-block;
    }

    #linkbox div {
        width: 100%;
        min-width: inherit;
        max-width: 450px;
        right: auto;
        top: 84px;
        transform: translateX(50%);
    }

    #linkbox div a {
        font-size: 0.95em;
        padding-bottom: 6px;
        text-align: left;
    }

    #menu ul.navbar-nav,
    #internmenu ul.navbar-nav {
        float:none
    }

    .intern #archiv .container, .intern section.hasbox>.container {
        padding: 0 0 0 3%;
    }
}

@media screen and (max-width: 770px) {

    body {
        font-size: 14px;
    }

    #header {
        height: 50vh;
    }

    #headpromo {
        position: absolute;
        display: block;
        opacity: 1;
        width: 100%;
    }

    #basik {
        display: none;
    }

    #logo {
        width: 30%;
        min-width: inherit;
    }

    #logo img {
        max-width: 180px;
    }

    #login {
        width: 100%;
    }

    #suchfeld {
        width: 60%;
        min-width: auto;
        right: inherit;
        padding: 5px 10px;
        top: 0;
        background-color: var(--light);
        border-bottom: 0;
    }

    .row .flowbox.info_box:nth-child(odd) {
        margin-right: 0;
    }

    #menu ul.navbar-nav,
    #internmenu ul.navbar-nav {
        max-width: inherit;
    }

    #main .inner form input[type="submit"],
    .button {
        padding: 10px 0;
        width: 100%;
    }

    .stat {
        display: block;
    }
}

@media screen and (max-width: 480px) {

    body {
        font-size: 13px;
    }

    #logo {
        width: 25%;
        min-width: inherit;
    }

    #logo img {
        max-width: 140px;
    }

    #suchfeld {
        width: 50%;
    }
}

@media print { 

    #suchfeld, #basik, #topbar, #menu, #headpromo, #promo, 
    #internmenu, #footer .inner, .intern #footer .inner, 
    .internbox, .optionen, table td.optionen, #linkbox, .fussnavi { 
        display: none; 
    }
    
    header { 
        height: 100px; 
    }
    
    .intern #main { 
        padding-left: 0; 
    }
    
}