body {
    font-family: 'Verdana', 'sans-serif';
    font-weight: 400;
    font-size: 1.15em;
    line-height: 1.4em;
    background: #fff;
    color: #404040;
    padding: 0;
    margin: 0;
    font-style: normal;
}

header h1 {
    font-size: min(max(1.25em, 2vw), 1.5em);
    margin: 0;
}

a {
    text-decoration: none;
    color: #0070C0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a:hover {
    border-bottom: 1px dotted;
}

hr {
    border: 1px solid #0070C0;
    width: 100%;
    display: inline-block;
    margin: 1em 0 0 0;
}

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

/*** Header ***/

/* Bannerbild */
.banner {
    background: #0070C0;
}

.banner a {
    text-decoration: none;
}

.banner img {
    max-width: 100%;
    height: auto;
    width: 100%;
}

/* Bannertext */
.banner-text {
    text-align: right;
    color: #fff;
    font-size: min(max(0.6em, 3vw), 2em);
    padding: .3em 1em .5em 0;
}

/*** Hauptmenü sm-simple ***/

.main-nav {
    text-align: right;
    position: fixed;
    right: 2%;
    top: 0.3em;
    z-index: 100;
    max-height: calc(100% - 0px);
    overflow-y: auto;
}

.sm-simple {
    border: 1px solid #6F9AD3;
    background: #fff;
    box-shadow: none;
}

.sm-simple ul {
    background-color: #fff;
    border: none;
    box-shadow: none;
}

.sm-simple li {
    border-top: 1px solid #6F9AD3;
    border-left: 0;
    width: auto;
    min-width: 19em;
}

.sm-simple li li, .sm-simple li li li {
    border-top: 1px solid #0070C0;
}

.sm-simple ul a, .sm-simple ul a:hover, .sm-simple ul a:active, .sm-simple ul a:focus {
    border-left: 1.5em solid transparent;
}

.sm-simple a, .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active {
    color: #000;
    font-family: 'Verdana', 'sans-serif';
    font-weight: normal;
    font-size: 1em;
    padding-right: 64px;
    line-height: 1.2em;
    border-bottom: 0;
}

.main-menu-btn-icon, .main-menu-btn-icon::before, .main-menu-btn-icon::after {
    background: #FAF9F5;
    height: 6px;
    width: 2.2em;
    border-radius: 1em;
}

.main-menu-btn {
    width: 3.35em;
    height: 2.7em;
    margin: 1.8em 0.62em 1.8em 0;
}

.main-menu-btn-icon {
    left: 1em;
}

.main-menu-btn-icon::before {
    top: -12px;
}

.main-menu-btn-icon::after {
    top: 12px;
}

.main-menu-btn .menu-text {
    display: none;
}

.sm-simple li:hover {

}

.sm-simple li.current a {
    color: #0070C0;
}

.sm-simple li.current ul li a {
    color: #000;
}

.sm-simple li.current ul li a:hover {
    color: #0070C0;
}

.sm-simple li a:hover {
    color: #0070C0;
}

.sm-simple li.active a {
    color: #0070C0;
}

.sm-simple li.active:first-child a {
    color: #000;
}

.sm-simple li.active:first-child a:hover {
    color: #0070C0;
}

.sm-simple li.active li a, .sm-simple li.active li.active li a {
    color: #000;
}

.sm-simple a.highlighted, .sm-simple li.active li.active a, .sm-simple li.active li.active li.current a {
    color: #0070C0;
}

.sm-simple li.active li.current.selectedFirst {

}

.sm-simple li li a, .sm-simple li li li a {
    background-position-y: 0.55em;
    margin: 0 0 0 2%;
    color: #000;
    border-bottom: 0;
}

.sm-simple li li li a {
    margin: 0 0 0 10%;
    font-size: 1em;
}

.sm-simple li li li a:hover {
    font-size: 1em;
}

.sm-simple li li a:hover, .sm-simple li li.current a, .sm-simple li li li a:hover, .sm-simple li li li.current a {
    color: #0070C0;
    /*background-image: url("../Icons/pfeil-active.png");*/
    background-repeat: no-repeat;
    border-bottom: 0;

}

.sm-simple ul a, .sm-simple ul a:hover, .sm-simple ul a:focus, .sm-simple ul a:active {
    font-size: 1.05em;
}

.sm-simple a .sub-arrow {
    background: #0070C0;
    width: 70px;
    height: 100%;
    color: #fff;
    margin-top: -26px;
    right: 0;
    border-bottom: 1px solid #fff;
}

.sm-simple li li a .sub-arrow, .sm-simple li li li a .sub-arrow {
    background: #0070C0;
    width: 70px;
    height: 100%;
    color: #fff;
    margin-top: -24px;
    right: 0;
    border-bottom: 1px solid #fff;
}

.sm-simple a .sub-arrow::before {
    font-weight: 700;
    content: '>>';
    line-height: 52px;
}

.sm-simple a.highlighted .sub-arrow::before {
    content: '⭣';
}

.sm-simple li li.current li a {
    margin: 0 0 0 12%;
}

.sm-simple ul > li:first-child {
    border-top: 1px solid #0070C0;
}

@media (min-width: 1416px) {
    .sm-simple ul a .sub-arrow {
        left: unset;
}
}
/* sm-simple aufgeklappt */

.mainopen .main-menu-btn {
    margin: 0.8em 0.5em 0 0;
}

.mainopen .main-menu-btn-icon, .mainopen .main-menu-btn-icon::before, .mainopen .main-menu-btn-icon::after {
    background: #B26F16;
}

.mainopen .main-menu-btn {
    height: 1.8em;
    width: 3.4em;
}

.mainopen.main-nav {
    top: 0;
    right: 0;
    background-color: #fff;
    z-index: 9999;
    border-radius: unset;
}

.mainopen .main-menu-btn-icon, .mainopen .main-menu-btn-icon::before, .mainopen .main-menu-btn-icon::after {
    width: 1.8em;
    height: 5px;
}

/* Hamburger Menu */

.teardrop {
    border-top-left-radius: 70%;
    border-bottom-left-radius: 55%;
    border-bottom-right-radius: 70%;
    transform: rotate(-45deg);
    background-color: #0070C0;
    width: 70px;
    height: 70px;
    margin: 15px 0 15px 0;
    position: absolute;
    right: 0;
    top: 0;
}

nav svg {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 3.7em;
}

nav svg path {
    fill: #0070C0;
    stroke: rgb(31, 55, 189);
    stroke-width: 0.5;
    opacity: .8;
}

/*** Breadcrumb ***/

.breadcrumb {
    margin: 0 0 0 3%;
    height: auto;
}

.breadcrumb.bread-start {
    height: 1.95em;
}

.breadcrumbs {
    padding: 10px 15px 0 0;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    font-size: .9em;
    flex-wrap: wrap;
}

.breadcrumbs li {
    margin-right: 10px;
}

.breadcrumbs li a {
    color: #0070C0;
    transition: color 0.3s;
    text-decoration: none;
}

.breadcrumbs li a:hover {
    border-bottom: 1px dotted;
}

.breadcrumbs li.current {
    color: #404040;
}

.breadcr-trenner {
    color: #999;
    font-size: .9em;
    padding: 0 .5em 0 .2em;
}

.breadcr-trenner:last-child {
    display: none;
}

/*** Contentbereich ***/

/* Allgemeines */

.container {
    background: #f4f5f6;
}

.contentout {
    display: flex;
    flex-direction: column;
    margin: 1em 0;
}

main {
    flex: 70%;
    margin: 0 3%;
}

aside {
    flex: 30%;
    margin: 0 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact header {
    padding: .9em 0 0 0;
}

.image-caption {
    font-size: .7em;
    padding: .5em 1em;
    line-height: 1.6em;
}

.contact ul {
    padding-left: .8em;
}

.contact li {
    padding: .3em 0;
    list-style-image: url(../img/li-grey.png);
}

.contact ul li::marker {
    font-size: 1.3em;
    color: #0070C0;
}

/* Übersicht Boxen */

.boxen {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.box {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    box-shadow: -2px -2px 15px -1px #838383;
    margin: 1em 4% 1em 0;
    padding: 0;
    background: #fff;
    justify-items: center;
}

.box-img {
    border-top: 4px solid #0070C0;
    padding: 2em 0 0 0;
    grid-column: 1 / 2;
    max-width: 300px;
    margin: 2em 0 0 0;
}

.box-img img {
    display: block;
    max-width: 300px;
    height: auto;
    width: 100%;
}

.box-text {
    grid-column: 1 / 2;
    padding: 0 6%;
    margin: .5em 0 0 0;
    width: 88%;
}

.box-text h2 {
    font-size: 1.05em;
}

.box-text p {
    font-size: .9em;
}

/* Textseiten */

.main-content {
    box-shadow: -2px -2px 15px -1px #838383;
    margin: 2em 0 2em 0;;
    padding: 0 0 2em 0;
    background: #fff;
}

.main-content .ce-intext.ce-left .ce-gallery {
    border-top: 4px solid #0070C0;
    padding: 1.5em 0 0 0;
    margin: 2.7em 0 0 0;
    overflow: unset;
    max-width: 400px;
    flex: 1;
}

.main-content .ce-nowrap .ce-bodytext {
    margin: 1.1em 0 0 0;
    flex: 1;
}

.main-content h2 {
    font-size: 1.25em;
    hyphens: auto;
}

.main-content .box-text h2 {
    font-size: 1em;
}

.main-content .box-text ul {
    padding-left: 15px;
}

.main-content .box-text li {
    font-size: .9em;
}

.main-content ul li::marker {
    font-size: 1.3em;
    color: #0070C0;
}

.main-content li {
    padding: .3em 0;
    list-style-image: url(../img/li.png);
}


.main-content ol li {
    list-style-image: none;
}

.main-content ol li::marker {
    font-size: 1em;
    color: unset;
}

.main-content .ce-textpic {
    display: flex;
    flex-direction: column;
    margin: 0 2em;
}

.ce-gallery img {
    width: 100%;
    height: auto;
}

.main-content .frame-type-text.frame-layout-0 {
    margin: 0 2em;
    padding: 2em 0 0 0;
}

/* Textseiten mit Bildern im Text */

.img_left {
    margin: 7px 30px 0 0;
    float: left;
    height: auto;
    max-width: 250px;
    width: 100%;
}

.img_center {
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 600px;
    display: flex;
}

.img_center.hoch {
    max-width: 400px;
}

small {
    max-width: 600px;
    display: block;
    margin: -15px auto 0 auto;
    width: 100%;
    font-size: .7em;
    text-align: center;
}


/* Textseiten mit kleinen Bildern */

.frame-type-textpic.frame-layout-1 {
    padding: 0;
}

.main-content .frame-type-textpic.frame-layout-1 .ce-gallery {
    max-width: 150px;
}

/* Textseiten mit Media / Videos */

.video-embed-item {
    width: 100%;
    max-width: 830px;
}

/* Tabellen */

figure.table {
    margin: 2em 0 0 0;
    font-size: .8em;
}

thead {
    display: none;
}

tr {
    float: left;
    width: 100%;
    border-bottom: 1px solid;
}

td, th {
    float: left;
    padding: .5em 0;
}

td::before {
    content: attr(data-label);
    word-wrap: break-word;
    width: 100%;
    float: left;
    padding: 1em;
    font-weight: bold;
    margin: -1em 1em -1em -1em;
}

.ce-intext.ce-left ol, .ce-intext.ce-left ul {
    padding-left: 15px;
    overflow: auto;
}

/* Startseite */

.main-content.start {
    box-shadow: none;
    background: none;
}

/* Suche / Tagungsbände */

#kesearch_num_results {
    display: none;
}

a.kesGreyButt, span.resetbutt a, span.submitbutt input, input.kesGreyButt, span.kesGreyButt {
    background-color: #0070C0 !important;
    background-image: none !important;
    border: 0 !important;
    color: #fff !important;
}

.submitbutt input {
    height: 1.9em;
}

.submitbutt input:hover, span.resetbutt a:hover {
    background-color: #aaa !important;
}

.frame-type-ke_search_pi1 {
    padding: 3em 3em 0 3em;
}

.frame-type-ke_search_pi2 {
    padding: 0 3em;
}

/*** Akkordeon ***/

.accordion-outer {
    display: flex;
}

.accordion {
    margin: 0 2em 0 0;
    flex: 1;
}

.free-left {
    max-width: 0;
    padding: 1.5em 0 0 0;
    margin: 2.7em 2em 0 0;
    overflow: unset;
    flex: 0;
}

details {
    min-height: 30px;
    cursor: pointer;
    background: #0070C0;
    font-weight: bold;
    margin: 1em 0;
    color: #fff;
    width: 100%;
}

summary {
    padding: .5em;
}

.acc-text {
    background: #fff;
    color: #404040;
    font-weight: normal;
    cursor: auto;
    padding-top: .2em;
}

/*** Footer ***/
footer#footer {
    font-size: 0.75em;
    color: #52523f;
    background: #fdfefa;
    margin: 30px 0;
    text-align: center;
    padding: 2em 0 0 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 5px -5px #828282;
}

/* Footer Navigation */

.metamenu {
    list-style: none;
    width: 100%;
    padding: 0;
    align-self: center;
}

.metamenu li {
    padding: 0 0 0.5em 0;
}

.metamenu a {
    color: #0070C0;
}

.metamenu a:hover {
    border-bottom: 1px dotted;
}

/* Social Media Buttons */

.metamenu li:last-child {
    border-right: 0;
    margin-right: 0;
}

.social a {
    padding: 0 1em 0 0;
}

.social a:hover {
    border: 0;
}


/*** Media Queries ***/

@media screen and (min-width:32em) {

    .box {
        grid-template-columns: 1fr 1fr;
        justify-items: flex-start;
    }

    .box-text {
        grid-column: 2 / 3;
        padding: 0 3%;
    }

    .box-img {
        margin: 2em 1em 0 0;
    }

    .main-content .frame-layout-1 .ce-textpic {
        flex-direction: row;
    }

}

@media screen and (min-width:46em) {

   header h1 {
        margin: revert;
    }

    .main-content {
        margin: 3em 0 2em 0;;
    }

    .box {
        grid-template-columns: 300px 1fr;
    }

    .main-content .ce-textpic {
        flex-direction: row;
    }

    .main-content .ce-intext.ce-left .ce-gallery {
        flex: .7;
        margin: 2.7em 3em 0 0;
    }

}

@media screen and (min-width:64em) {

    .contentout {
        flex-direction: row;
    }

    .sm-simple li {
        width: 28em;
    }

    .sm-simple a, .sm-simple a:hover, .sm-simple a:focus, .sm-simple a:active {
        font-size: 1.2em;
    }

    aside {
        max-width: 20em;
        flex-direction: column;
        align-items: flex-start;
    }

}

@media screen and (min-width:88em) {

    /* Menü */

    .main-menu-btn {
        width: 3.7em;
        height: 3.7em;
    }

    nav svg {
        max-width: 4.4em;
    }

    /* Contentbereich */

    main {
        margin: 0 5% 0 3%;
    }

    .main-content .frame-layout-0 .ce-gallery img {
        width: 400px;
    }

    .main-content .frame-layout-1 .ce-gallery img {
        width: 150px;
    }

    .main-content .ce-textpic {
        margin: 0 3em 0 0;
    }

    .main-content .frame-type-text.frame-layout-0 {
        margin: 0;
        padding: 2em 15em 1em 4em;
    }

    .frame-type-textmedia {
        display: flex;
        justify-content: end;
        width: 100%;
    }

    aside {
        margin: 0 3% 0 0;
    }

    /* Übersicht Boxen */

    .boxen {
        flex-direction: row;
    }

    .box {
        grid-template-columns: 1fr 1fr;
        width: 45%;
        padding: 0 1% 0 0;
    }

    /* kleine Bilder */

    .frame-type-textpic.frame-layout-1 {
        padding: 0 0 0 4em;
    }

    /* Tabellen */

    .main-content .frame-type-text.frame-layout-2 {
        margin: 0;
        padding: 2em;
    }

    table {
        border-collapse: collapse;
    }

    thead {
        display: contents;
        text-align: left;
    }

    tr {
        width: auto;
        float: none;
        vertical-align: top;
    }

    td, th {
        width: auto;
        float: none;
        border: 1px solid #404040;
        padding: 1em;
    }

    thead tr {
        background: #0070C0;
        color: #fff;
    }

    td::before {
        content: none;
        width: auto;
        float: none;
    }

    /* Footer */

    footer#footer {
        flex-direction: row;
        justify-content: center;
    }

    .footer-text {
        align-self: center;
        text-align: right;
    }

    .metamenu {
        text-align: left;
        width: unset;
    }

    .metamenu li {
        padding: 0 0.5em;
        border-left: 1px solid #576067;
        float: left;
    }

    .metamenu li:last-child {
        border-right: 1px solid;
        margin-right: 1em;
    }

    .metamenu li:first-of-type {
        padding: 0 0.7em;
        margin: 0 0 0 0.5em;
    }

}

@media screen and (min-width:103em) {

    /* Akkordeon */
    .accordion {
        margin: 0 3em 0 0;
    }

    .free-left {
        max-width: 400px;
        flex: 400px;
        margin: 2.7em 3em 0 0;
    }

}