/* *********
*** INIT ***
********* */

/* INIT pre-clearing */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
}

/* INIT allgemein */
body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1em;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.5em;
    background: #f7f7f7;
}

.viewport {
    max-width: 60em;
    margin: 0 auto;
}
UL {
    padding-left: 1em;
}



/* ***********
*** BANNER ***
*********** */
.banner {
    overflow: hidden;
    border-bottom: 1px solid #4CAF50;
    height: 100px;
    position: relative;
}
.banner IMG {
    position: absolute;
    left: -25%;
}



/* *************
*** TABELLEN ***
************* */
TABLE.ce-table TD {
    padding-bottom: 1em;
    padding-right: 2em;
    min-width: 33%;
    white-space: nowrap;
    vertical-align: top;
}
TABLE.ce-table TD:first-of-type {
    /* background-color: red; */
    overflow: hidden;
    max-width: 50%;
    white-space: inherit;
}



/* **************
*** FORMULARE ***
************** */
/* *** PowerMail *** */
.powermail_fieldset LEGEND {
    /* border: solid 1px red; */
    display: none;
}
.powermail_fieldset .powermail_fieldwrap {
    /* border: solid 1px red; */
    clear: left;
    margin-bottom: 1.0em;
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.powermail_fieldset LABEL {
    /* border: solid 1px blue; */
    float: left;
    width: 10rem;
}
.powermail_fieldset .powermail_field {
    float: left;
    width: calc(100% - 10rem);
}

.powermail_fieldset INPUT,
.powermail_fieldset textarea {
    border: solid 1px #4CAF50;
    padding: 0.5em;
    width: calc(100% - 10rem);
}
.powermail_fieldset .checkbox INPUT {
    width: auto;
    clear: left;
}
.powermail_fieldset .checkbox LABEL {
    width: calc(100% - 10rem);
    clear: left;
}
.powermail_fieldset INPUT.powermail_submit {
    margin-left: 10rem;
    color: #ffffff;
    background-color: #4CAF50;
}
.powermail_fieldset INPUT.powermail_submit:hover {
    margin-left: 10rem;
    color: #4CAF50;
    background-color: #ffffff;
    cursor: pointer;
}
.powermail_fieldset textarea {
}
/* condition for screen size tab*/
@media only screen and (max-width: 45em) {
    .powermail_fieldset .powermail_fieldwrap {
        display: block;
    }
    .powermail_fieldset LABEL {
        width: 100%;
        clear: left;
        font-weight: bold;
    }
    .powermail_fieldset .checkbox LABEL {
        font-weight: inherit;
    }
    .powermail_fieldset .powermail_field {
        float: left;
        clear: left;
        width: 100%;
        margin-bottom: 1em;
    }
    .powermail_fieldset INPUT.powermail_submit {
        margin-left: 0;
    }
}
/* *** PowerMail Bestätigungsseite *** */
TABLE TD.powermail_all_label {
    vertical-align: top;
    padding-right: 1.5em;
    padding-bottom: 1.0em;
}
TABLE TD.powermail_all_value {
    vertical-align: top;
    padding-bottom: 1.0em;
}
TABLE .powermail_all_label.powermail_all_type_check.powermail_all_marker_marker,
TABLE .powermail_all_value.powermail_all_type_check.powermail_all_marker_marker {
    display: none;
}



/* *************
*** DEFAULTS ***
************* */
/* *** die Typo3-Standards erweitern *** */
.clearfix,
.frame-cardcontainer,
.ce-uploads li,
.ce-textpic {
    clear: both;
}

/*--- Hier werden Hilfelemente erzeugt ---*/
.clearfix::after,
.frame-cardcontainer::after,
.ce-uploads li::after,
.ce-textpic::after {
    clear: both;
    content: "";
    display: table;
}

/*--- Layout generell ---*/
.left {
    float: left;
}

.right {
    float: right;
    margin-right: 1em;
}

.ce-intext.ce-left .ce-gallery {
    float: left;
    margin-left: 1em;
}

.ce-intext.ce-right .ce-gallery {
    float: right;
    margin-left: 1em;
}

figure {
    display: table;
}

figcaption {
    display: table-caption;
    caption-side: bottom;
}

:root {
    --primary: #4CAF50;
}

a,
a:visited {
    color: #4CAF50;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

li {
}

/*--- Überschriften ---*/
h1 {
    margin-bottom: 0.7em;
}

h2 {
    margin-bottom: 0.7em;
}

h3 {
    margin-bottom: 0.7em;
}

h4 {
    margin-bottom: 0.7em;
}

h5 {
    margin-bottom: 0.7em;
}

h1, h2, h3, h4, h5 .frame-card {
    /*--- text-shadow: 2px 2px 1px #aaaaaa66; ---*/
}
.frame-card h1, 
.frame-card h2, 
.frame-card h3, 
.frame-card h4, 
.frame-card h5 {
    padding-top: 0.5em;
    padding-left: 0.5em;
}

.bg-page {
    background: white;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-primary-hover:hover {
    background: var(--primary) !important;
}

.fg-primary {
    color: var(--primary);
}

.bg-secondary {
    background: rgba(76, 175, 80, 0.5) !important;
}

.fg-primary-hover:hover {
    color: var(--primary);
}

.fg-text {
    color: black;
}

.fg-text-hover:hover {
    color: black;
}

.fg-page {
    color: white;
}

.fg-mainpage-hover:hover {
    color: white;
}

.fg-page-hover:hover {
    color: var(--primary);
}

p {
    margin-bottom: 0.5em;
}

#banner {
    height: 12.5em;
}

/* condition for screen size tab*/
@media only screen and (max-width: 45em) {
    #banner {
        height: 10em;
    }
}

/* --- Header --- */
#header {
    margin-top: 1em;
    border-bottom: 1px solid #4caf50;
}

#header-logo {
    float: left;
    margin-left: 3em;
    padding-top: 2em;
}

#header .pic {
    float: right;
    margin-right: 3em;
}

#header .pic img {
    height: 200px;
    width: auto;
}

/* condition for screen size tab*/
@media only screen and (max-width: 45em) {
    #header-logo {
        height: auto;
        width: 8em;
        margin-bottom: 2em;
    }
}

@media only screen and (max-width: 40em) {
    .pic {
        display: none;
    }
}

/* condition for screen size for iphone5*/
@media only screen and (max-width: 20em) {
    body {
        font-size: 80%
    }
}

@media only screen and (max-width: 20em) {
    #banner {
        height: 6em;
    }
}

/*--- Rootline ---*/
.rootline {
    margin-bottom: 0.5em;
}

.krumen {
    font-size: 80%;
    /* border: solid 1px red; */
    display: flex;
    position: relative;
}

.krume {
    float: left;
    padding-right: 0.5em;
}

.krume::after {
    content: ">";
    padding-left: 0.5em;
}

.krume:last-of-type:after {
    content: none;
}

/*--- Content ---*/
#content {
    margin-top: 1em;
    margin-left: 1.5em;
    margin-right: 1.5em;
    margin-bottom: 1em;
    /* border: solid 1px blue; */
}

.frame {
    margin-bottom: 2.5em;
}

/* --- Menu --- */
.menu {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
.menu li {
    float: left;
    list-style-type: none;
    margin-left: 1.5em;
}

.menu.desktop ul {
    clear: both;
}

.menu.desktop ul li ul {
    display: none;
}
.menu.desktop ul li:hover ul {
    display: block;
}

.menu.desktop ul a {
    color: black;
    text-decoration: none;
}

.menu.desktop ul li {
    float: left;
    cursor: pointer;
    margin-left: 0.5em;
    margin-right: 0.5em;
    position: relative;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}

.menu.desktop ul li li {
    margin-left: -0.5em;
}
.menu.desktop ul li li li {
    margin-left: 0.5em;
}

.menu.desktop li a {
    display: block;
    padding: 0.3em 0.6em;
    font-size: 85%;
}

ul#menu-desktop-lvl-1 li {
    float: left;
    clear: both;
}
ul#menu-desktop-lvl-1 li.last {
    margin-bottom: 0.5em;
}

.menu.desktop li:hover {
    background: var(--primary) !important;
}

.menu.desktop li:hover > a {
    color: white;
}

.menu.responsive {
    display: none;
    background: #f1fff1;
    height: 1em;
    width: 1.75em;
    margin: 0 0 0.5em 1em;
    /* border: 1px solid #ddd; */
    cursor: pointer;
    padding: 0.75em;
    background: url('../Icon/navi-tablet-hover_uta.png');
    background-repeat: no-repeat;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}

.menu.responsive ul {
    display: none;
}

.menu.responsive:hover ul {
    display: block;
    position: absolute;
    top: 2.2em;
    left: -1em;
    background: #f1fff1;
    padding-bottom: 1em;
    padding-top: 1em;
    padding-right: 1em;
    z-index: 1;
}

/* condition for screen size minimum of 45em */
@media only screen and (max-width: 45em) {
    .menu.responsive {
        display: block;
        position: relative;
    }
}

@media only screen and (max-width: 45em) {
    .menu.responsive li {
        background: #f1fff1;
        width: auto;
        max-height: 25em;
        padding-top: 0.5em;
        top: calc(1px + 2.0em);
        transition: max-height 1.5s;
        z-index: 1; /* es gibt zwei Absolut Postion Objekt, damit dieses Oben abgezeitg wird die 100*/
    }
}

/* condition for screen size for iphone5 */
@media only screen and (max-width: 20em) {
    .menu.responsive {
        margin: 0 0 1em 1em;
    }
    #content {
        margin-top: 1em;
        margin-left: 0.5em;
        margin-right: 0.5em;
        margin-bottom: 1em;
        /* border: solid 1px blue; */
    }
}

/*--- Untermenu ---*/
.menu.desktop ul.lvl-1 li.sub {
    width: 13em;
    /* margin: 0; */
    /* border: solid 1px red; */
}

.menu.desktop ul li.sub:hover ul.lvl-1 {
    display: block;
    background: #f1fff1;
    width: auto;
    position: absolute;
    max-height: 25em;
    padding-top: 0.5em;
    top: calc(1px + 2.0em);
    transition: max-height 1.5s;
    z-index: 100; /* es gibt zwei Absolut Postion Objekt, damit dieses Oben abgezeitg wird die 100*/
    border-left: solid 1px #4CAF50;
    border-right: solid 1px #4CAF50;
    border-top: solid 1px #4CAF50;
    border-bottom: solid 1px #4CAF50;
    margin-top: -1px;
}

ul#menu-responsive_secound {
    display: none;
    }

/*--- Anzeigen der Untermenüs bei 45em --*/
@media only screen and (max-width: 45em) {
    ul#menu-responsive_secound {
        display: block;
        /* list-style-type: none; */
        margin-left:  1em;
        margin-bottom: 2em;
    }
}

/* condition for screen size minimum of 40em */
@media only screen and (max-width: 45em) {
    .menu.desktop {
        display: none;
    }
}

/*--- 2/3 Breite ---*/
.content_main_sidebar {
    display: flex;
}

.clearfix.content_main_sidebar > .content_main {
    width: 65%;
    float: left;
    /* border: solid 1px green; */
}

/*--- 1/3 Breite ---*/
.clearfix.content_main_sidebar > .content_sidebar {
    width: 35%;
    float: right;
    margin-left: 1.5em;
    /* border: solid 1px red; */
}

/* condition for screen size minimum of 40em */
@media only screen and (max-width: 35em) {
    .clearfix.content_main_sidebar {
        display: block;
        width: auto;
        /* position: absolute; */
        /* max-height: 25em; */
        padding-top: 0.5em;
        /* top: calc(1px + 2.0em); */
        /* background: #f1fff1; */
        transition: max-height 1.5s;
        z-index: 100; /* es gibt zwei Absolut Postion Objekt, damit dieses Oben abgezeitg wird die 100*/
    }
}

@media only screen and (max-width: 35em) {
    .clearfix.content_main_sidebar > .content_main {
        width: 100%
    }
}

@media only screen and (max-width: 35em) {
    .clearfix.content_main_sidebar > .content_sidebar {
        float: left;
        margin-left: 0em;
    }
}

/*--- Conntend ---*/
@media only screen and (max-width: 50em) {
    body {
        width: 100%;
    }
}

/* --- Cards --- */
.frame-card {
    background: #e6ffe6;
    border-radius: 0.75em;
    width: calc(96% / 3);
    float: left;
    margin-top: 0.5em;
    margin-right: 2%;
    margin-bottom: 0.5em;
    padding-left: 0.5em;
    padding-top: 0.5em;
    padding-right: 1em;
    padding-bottom: 1em;
    box-sizing: border-box;
    word-break: break-word;
    /* min-width: 47.5%; */
    border: solid 1px #4CAF50;
}

.frame-card:nth-child(3n) {
    margin-right: 0;
}

.frame-card:nth-child(3n+1) {
    clear: both;
}

.ce-bullets li {
    margin-left: 1.0em;
}

/* condition for screen size for Tab*/
@media only screen and (max-width: 55em) {
    .frame-card {
        width: calc(92% / 2);
    }

    .frame-card:nth-child(2n+1) {
        margin-right: 2%;
    }

    .frame-card:nth-child(3n+1) {
        clear: none;
    }

    .frame-card:nth-child(2n+1) {
        clear: both;
    }
}

/* condition for screen size for Tab*/
@media only screen and (max-width: 40em) {
    .frame-card {
        width: 92%;
    }
}

/* condition for screen size for iphone5*/
@media only screen and (max-width: 20em) {
    .frame-card {
        width: 100%;
    }
}

/*--- Download --- */
.ce-uploads li {
    margin: 0.3em;
    list-style-type: none;
}

.ce-uploads-filesize {
    display: block;
    margin-top: 0.5em;
}

.ce-uploads-description {
    font-size: 95%;
}

.ce-uploads img {
    /* float: left; */
    margin: 0 0.5em;
    border: solid 1px #4CAF50;
}

.ce-uploads a {
    display: block;
    margin-top: 1em;
}

/*--- Bilder ---*/
.ce-image.ce-center.ce-above figure {
    margin: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    display: flex;
    justify-content: center;
}

.ce-image.ce-left.ce-above figure {
    margin: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    -ms-flex-pack: left;
    -webkit-box-pack: left;
    display: flex;
    justify-content: flex-start;
}

.ce-image.ce-right.ce-above figure {
    margin: 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    -ms-flex-pack: right;
    -webkit-box-pack: right;
    display: flex;
    justify-content: flex-end;
}

/*--- LogIn ---*/
.tx-felogin-pi1 fieldset > div {
    clear: left;
}

.tx-felogin-pi1 fieldset > div label {
    float: left;
    width: 25%;
}

.tx-felogin-pi1 fieldset > div input {
    float: left;
    width: 20%;
}

input#user {
    border: solid 1px;
}

input#pass {
    border: solid 1px;
}

input[type="submit"] {
    margin-left: 25%;
}

/*-- Kalender im Iframe anpassen --*/
.aspect {
    position: relative;
}

.aspect-2_1 {
    padding-bottom: 50%;
}

.aspect > * {
    width: 100%;
    height: 100%;
    position: absolute;
}

