/***********************************************************************************************************************
 * Project: unna_festjahr
 * File:    styles.css
 * Author:  Mario Diaz @ mario-diaz.com
 * Date:    16.07.21
 * Time:    14:18
 * @copyright 2021 by Mario Diaz @ mario-diaz.com
 *
 * Description: main CSS for website
 *              colors:
 *                  - red: #ea4f52
 *                  - blue: #368bcb
 *                  - text: #000
 **********************************************************************************************************************/


/* *** webfont *** */
@font-face {
    font-family: 'Open Sans';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src:
            local('Open Sans'),
            local('OpenSans'),
            url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
            url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
            url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
}
@font-face {
    font-family: 'Open Sans Light';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/OpenSans-Light-webfont.eot');
    src:
            local('Open Sans Light'),
            local('OpenSans Light'),
            url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
            url('../fonts/OpenSans-Light-webfont.woff') format('woff'),
            url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
}
@font-face {
    font-family: 'Open Sans Semibold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/OpenSans-Semibold-webfont.eot');
    src:
            local('Open Sans Semibold'),
            local('OpenSans Semibold'),
            url('../fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
            url('../fonts/OpenSans-Semibold-webfont.woff') format('woff'),
            url('../fonts/OpenSans-Semibold-webfont.svg#open_sanslight') format('svg');
}
@font-face {
    font-family: 'Open Sans Bold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src:
            local('Open Sans Bold'),
            local('OpenSans Bold'),
            url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
            url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
            url('../fonts/OpenSans-Bold-webfont.svg#open_sanslight') format('svg');
}
@font-face {
    font-family: 'Open Sans ExtraBold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/OpenSans-ExtraBold-webfont.eot');
    src:
            local('Open Sans ExtraBold'),
            local('OpenSans ExtraBold'),
            url('../fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'),
            url('../fonts/OpenSans-ExtraBold-webfont.woff') format('woff'),
            url('../fonts/OpenSans-ExtraBold-webfont.svg#open_sanslight') format('svg');
}


/* *** tags ********************************************************************************************************* */
body,div,h1,h2,h3,h4,h5,h6,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,input,textarea {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #000;
    background: #fff4d8;
    font-size: 100%;
}

strong,
b {
    font-weight: normal;
    font-family: "Open Sans Bold", sans-serif;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

caption,
th,
td {
    text-align: left;
    vertical-align: top;
}

abbr,
acronym {
    font-variant: normal;
    border-bottom: 1px dotted #666;
    cursor: help;
}

blockquote,
q {
    quotes: none;
}

fieldset,
img {
    border: 0;
}

ul {
    list-style-type: none;
}

sup {
    vertical-align: text-top;
    top: 0.25em;
}

sub {
    vertical-align: text-bottom;
}

del {
    text-decoration: line-through;
}

ins {
    text-decoration: none;
}

header, footer, nav, section, aside, article, figure, figcaption {
    display: block;
}

input,
button,
textarea,
select {
    font-family: inherit;
}
input,
textarea,
select {
    border: 1px solid #999;
    padding: 3px 8px;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 1px solid #368bcb;
}
button {
    border: none;
}
input[type="search"],
input[type="submit"],
.button {
    text-align: center;
    color: #368bcb;
    background: #fff;
    border: none;
    text-transform: uppercase;
}
.button:hover {
    cursor: pointer;
    color: #fff;
}
input[type="search"],
input[type="submit"] {
    padding: 10px;
}
select,
textarea,
input[type="search"],
input[type="text"] {
    padding: 10px;
}


pre,code {
    font-family: Monaco,monospace;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 400;
    margin-bottom: 1.2rem;
    line-height: 1.25em;
}

h1,
h2 {
    font-size: 1.5em;
}
h3,
h4,
h5 {
    font-size: 1.0em;
}

h2.blue-light,
h3.blue-light,
h4.blue-light {
    font-size: 1.5em;
    color: #398ccb;
    text-transform: uppercase;
    border-bottom: 2px solid #398ccb;
    padding: 0 0 0.5rem 0;
    margin: 1rem 0 1.75rem 0;
}

table {
    font-size: inherit;
}

caption,
th {
    font-weight: 700;
}

a {
    color: #000;
    text-decoration: none;
    -webkit-transition: color 0.4s ease;
    -moz-transition: color 0.4s ease;
    -o-transition: color 0.4s ease;
    -ms-transition: color 0.4s ease;
    transition: color 0.4s ease;
}
a:hover {
    color: #368bcb;
}
p a {
    text-decoration: underline;
}
p a:hover {
    text-decoration: none;
}

body,form,figure {
    margin: 0;
    padding: 0;
}

img {
    border: 0;
}

header,footer,nav,section,aside,article,figure,figcaption {
    display: block;
}

figcaption {
    font-size: 0.75rem;
    line-height: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.75rem;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #398ccb;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #398ccb;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #398ccb;
}




/* *** bootstrap container ****************************************************************************************** */
@media (min-width: 992px) {
    .container-lg {
        max-width: 100%;
    }
}
@media (min-width:1200px) {
    .container,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1020px;
    }
    .container-lg {
        max-width: 1620px;
    }
}
@media (min-width:1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1020px;
    }
    .container-lg {
        max-width: 1620px;
    }
}
.container, .container-fluid, .container-md, .container-lg, .container-sm, .container-xl, .container-xxl {
    padding-left: 30px;
    padding-right: 30px;
}
.row {
    margin-left: -15px;
    margin-right: -15px;
}
.row>* {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
}
.container-lg .row>* {
    margin-bottom: 0;
}



/* *** main ********************************************************************************************************* */
/* for IE */
figure,
main {
    display: block;
}
/* fixed header -> so margin-top */
@media (min-width: 992px) {
    main {
        margin-top: 200px;
    }
}
body.start main {
    background-repeat: no-repeat;
    background-position: top center;
}
/* responsive */
@media (max-width: 991px) {
    body.start main {
        background-size: 300%;
        background-position-x: calc(50% - 100px);
    }
    body .start-content-top {
        min-height: 0;
        padding-top: 30px;
    }
}
@media (max-width: 599px) {
    body.start main {
        background-size: 600%;
    }
}
@media (max-width: 340px) {
    body.start main {
        background-size: 650%;
    }
}





div#standard-content {
    padding-bottom: 3rem;
    background: linear-gradient(rgba(255,242,216,1), rgba(217,225,244,1));
}
/* this makes image display in biographies wrong
div#standard-content .row img {
    max-width: 100%;
    height: auto !important;
    width: auto !important;
}*/
main .container {
    padding-top: 0;
    padding-bottom: 1rem;
}
main .container:last-child {
    padding-bottom: 3rem;
}
main header .container:last-child,
main header .container {
    padding-top: 0;
    padding-bottom: 0;
}
main header .row > * {
    margin-bottom: 0;
}
main header h1,
main header h2,
main header h3,
main header h4,
main header h5,
main header h6 {
    color: #368bcb;
    text-transform: uppercase;
    border-bottom: 2px solid #368bcb;
    padding-bottom: 9px;
    margin-bottom: 0.875rem;
}
main header h1 {
    margin-bottom: 2.75rem;
}
main header a {
    color: #368bcb;
}





#standard-headerimage {
    height: 200px;
    background-position: top center;
}

#breadcrumb-container {
    background: #ea5153;
    min-height: 60px;
    margin-bottom: 3.625rem;
}
.breadcrumb {
    margin-bottom: 0;
    margin-left: 13px;
    margin-top: 0.25rem
}
main #breadcrumb-container .container {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
}
main #breadcrumb-container .container .row > * {
    padding-bottom: 0;
    margin-bottom: 0;
}
.breadcrumb {
    font-size: 0.8em;
}
.breadcrumb li a {
    display: block;
    padding: 1.0625rem 0.0625rem 1.0625rem 1.0625rem;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    padding: 1.0625rem 0 0 0;
    color: #fff;
}



/* *** header ******************************************************************************************************* */
/* *** fixed navi */
@media (min-width: 992px) {
    header#header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 6541;
    }
}

header .top {
    background: #368bcb;
    color: #fff;
    height: 30px;
    -webkit-transition: height 1.1s ease-in-out;
    -moz-transition: height 1.1s ease-in-out;
    -o-transition: height 1.1s ease-in-out;
    -ms-transition: height 1.1s ease-in-out;
    transition: height 1.1s ease-in-out;
}
header .top > * {
    -webkit-transition: opacity 2s ease-in-out;
    -moz-transition: opacity 2s ease-in-out;
    -o-transition: opacity 2s ease-in-out;
    -ms-transition: opacity 2s ease-in-out;
    transition: opacity 2.5s ease-in-out;
    opacity: 1;
}
header .top .row > * {
    margin-bottom: 0;
}
header .second {
    background: #fff4d8;
}
header .second .row > * {
    margin-bottom: 0;
}





@media (min-width: 992px) {
    #service-navi {
        margin-left: 30px;
    }
}
#service-navi li {
    display: inline-block;
    margin-right: 11px;
    margin-bottom: 0;
    padding: 0;
}
#service-navi li a {
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 0.8em;
    text-transform: uppercase;
    padding: 9px 1px;
    line-height: 1em;
}
#service-navi li.active a,
#service-navi li a:hover {
    text-decoration: underline;
}


/* *** language select *** */
#language-select {
    text-transform: uppercase;
    position: relative;
    top: 0;
    display: inline-block;
    margin-right: 2px;
    font-size: 0.8em;
}
@media (max-width: 991px) {
    header .top .container {
        width: auto;
        margin: 0;
        padding: 0 15px;
        max-width: none;
    }
    body #search-top {
        margin-right: 0;
    }
}
@media (min-width: 992px) {
    #language-select {
        float: right;
    }
}
#language-select ul,
#language-select span {
    display: inline-block;
}
#language-select ul {
    margin: 0 20px 0 6px;
}
#language-select li {
    display: inline-block;
}
#language-select li a {
    display: block;
    padding: 8px 0;
    color: #fff;
    line-height: 1em;
    text-decoration: none;
}
#language-select li a:hover {
    text-decoration: underline;
}
#language-select li a.act {
    font-family: 'Open Sans Bold';;
}
#language-select ul li:first-child a:after {
    content: '/';
    display: inline-block;
    padding: 0 4px;
    font-family: 'Open Sans';
}



/* *** search form top *** */
#search-top {
    position: relative;
    float: right;
    display: inline-block;
    margin: 0 22px 0 2px;
    font-weight: bold;
    font-size: 1em;
    z-index: 1010;
    cursor: pointer;
    height: 30px;
}
.icon-search {
    display: block;
    padding: 6px;
    height: 30px;
    width: 30px;
    box-sizing: border-box;
}
.icon-search img {
    display: block;
}
#search-top .searchform {
    width: 330px;
    right: -10px;
    top: 30px;
    position: absolute;
    display: none;
    opacity: 0;
    padding: 15px;
    background-color: rgb(54,139,203);
    /*
    -webkit-box-shadow: 0 1px 2px 1px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px 1px rgba(0,0,0,.2);*/
    vertical-align: baseline;
}
@media (max-width: 390px) {
    #search-top .searchform {
        width: 270px;
    }
}
#search-top.search-open .searchform {
    display: block;
    opacity: 1;
    -webkit-animation: fadeIn 800ms ease;
    -moz-animation: fadeIn 800ms ease;
    -ms-animation: fadeIn 800ms ease;
    animation: fadeIn 800ms ease;
}
#search-top .searchform label,
#search-top .searchform input[type="text"],
#search-top .searchform button {
    display: inline-block;
    margin: 0;
}
#search-top .searchform label {
    margin-right: 10px;
}
#search-top .searchform input[type="text"] {
    width: 180px;
    font-size: 16px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: none;
}
#search-top .searchform button {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 45px;
    height: 31px;
    overflow: hidden;
    background: #fff url(../images/loupe_blue.svg) no-repeat center center;
    background-size: 16px 16px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1em;
    color: transparent;
}
#search-top .searchform button:hover {
    background-image: url(../images/loupe_red.svg);
}


/* *** logo *** */
header .second .col-3 {
    width: 100%;
    text-align: center;
}
.logo {
    margin: 15px 0;
    overflow: hidden;
    height: 150px;
    -webkit-transition: height 1.1s ease-in-out;
    -moz-transition: height 1.1s ease-in-out;
    -o-transition: height 1.1s ease-in-out;
    -ms-transition: height 1.1s ease-in-out;
    transition: height 1.1s ease-in-out;
}

.logo img {
    max-height: 100%;
    height: auto !important;
    width: auto !important;
}


/* *** main navigation *** */
.service-navi-container {
    display: none;
}


/* logo and main navigation in one row */
@media (min-width: 768px) {
    header .second .col-3 {
        width: 372px;
        order: 0;
        flex-basis: 0%;/* unit for ie11*/
        flex-grow: 0;
        -ms-flex-grow: 0;
        -ms-flex-positive: 1;/* just make it work somehow on ie10 and ie11 */
    }
    header .second .col-9 {
        flex-grow: 1;
        -ms-flex-grow: 1;
        order: 1;
        flex-basis: 0;
    }
    #logo {
        margin: 10px 0;
        height: 150px;
    }
}



@media (min-width: 992px) {
    header .second .col-9,
    .service-navi-container {
        display: block;
    }
    .logo {
        margin: 10px 71px 10px 0
    }

    .mainmenu {
        position: relative;
        overflow: visible;
        vertical-align: middle;
        line-height: 0;
        visibility: visible;
        z-index: 333;
        margin-top: 60px;
        -webkit-transition: margin-top 1.1s ease-in-out;
        -moz-transition: margin-top 1.1s ease-in-out;
        -o-transition: margin-top 1.1s ease-in-out;
        -ms-transition: margin-top 1.1s ease-in-out;
        transition: margin-top 1.1s ease-in-out;
    }
    .mainmenu ul {
        position: relative;
        margin-bottom: 0;
    }
    .mainmenu ul li {
        display: inline-block;
        margin: 0;
        border-right: 2px solid #ea4f52;
    }
    .mainmenu ul li:last-child {
        border-right: none;
    }
    .mainmenu ul li a {
        font-family: "Open Sans Bold", Arial, sans-serif;
        position: relative;
        color: #ea4f52;
        float: none;
        display: block;
        padding: 0.8125rem 0.9375rem 1.625rem 0.875rem;
        font-size: 1.125em;
        line-height: 1.2em;
        text-decoration: none;
        text-transform: uppercase;
        -webkit-transition: All 0.4s ease-in-out;
        -moz-transition: All 0.4s ease-in-out;
        -o-transition: All 0.4s ease-in-out;
        -ms-transition: All 0.4s ease-in-out;
        transition: All 0.4s ease-in-out;
        z-index: 10;
    }
    .mainmenu ul li.active a,
    .mainmenu ul li a:hover {
        color: #368bcb;
    }
}


/* *** main navigation mobile *** */
#sidebar-wrapper,
#main-menu-button {
    display: none;
}
@media (min-width: 992px) {
    #sidebar-wrapper,
    #main-menu-button {
        display: none !important;
    }
}
@media (max-width:991px) {
    header .col-6 {
        width: 100%;
    }
    header .service-navi-container,
    header .second .col-9 {
        display: none;
    }
    header .second .col-3 {
        width: 100%;
    }

    #main-menu-button {
        cursor: pointer;
        display: block;
        position: fixed;
        padding: 6px 3px;
        margin: 0;
        top: 45px;
        left: 15px;
        background: #ea5153;
        z-index: 99999;
    }
    #main-menu-button .is-active {
        color: #333;
    }
    .hamburger .line {
        width: 24px;
        height: 3px;
        background-color: #fff;
        display: block;
        margin: 3px auto;
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .hamburger:hover {
        cursor: pointer;
    }
    #main-menu-button div {
        -webkit-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #main-menu-button div.is-active {
        animation: smallbig 0.6s forwards;
    }
    @keyframes smallbig {
        0%, 100% {
            -webkit-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
            transform: scale(1);
        }
        50% {
            -webkit-transform: scale(0);
            -ms-transform: scale(0);
            -o-transform: scale(0);
            transform: scale(0);
        }
    }
    #main-menu-button div.is-active .line:nth-child(1),
    #main-menu-button div.is-active .line:nth-child(2),
    #main-menu-button div.is-active .line:nth-child(3) {
        -webkit-transition-delay: 0.2s;
        -o-transition-delay: 0.2s;
        transition-delay: 0.2s;
    }
    #main-menu-button div.is-active .line:nth-child(2) {
        opacity: 0;
    }
    #main-menu-button div.is-active .line:nth-child(1) {
        -webkit-transform: translateY(6px) rotate(45deg);
        -ms-transform: translateY(6px) rotate(45deg);
        -o-transform: translateY(6px) rotate(45deg);
        transform: translateY(6px) rotate(45deg);
    }
    #main-menu-button div.is-active .line:nth-child(3) {
        -webkit-transform: translateY(-6px) rotate(-45deg);
        -ms-transform: translateY(-6px) rotate(-45deg);
        -o-transform: translateY(-6px) rotate(-45deg);
        transform: translateY(-6px) rotate(-45deg);
    }

    /* overlay if needed */
    .overlay {
        display: none;
        width: 100%;
        height: 100%;
        position: fixed;
        z-index: 2500;
        top: 0;
        left: 0;
        background: #398ccb;
        filter: alpha(opacity=0);
        opacity: 0;
    }

    /* mobile menu */
    #sidebar-wrapper {
        position: fixed;
        height: 100%;
        width: 100%;
        overflow: hidden;
        z-index: 8889;
        padding: 0;
    }
    #sidenav-1 {
        position: absolute;
        margin: 0;
        padding: 100px 30px 15px 15px;
        box-sizing: border-box;
        background: #fff;
        top: 0;
        height: calc(100%);
        z-index: 3600;
        width: 280px;
        left: -280px;
        transition: 0.8s;
        overflow: auto;
    }
    #sidenav-1.slide {
        transition: 0.8s;
        left: 0;
    }
    #sidenav-1 nav {
        text-transform: uppercase;
    }
    .sidenav-menu a {
        display: block;
        position: relative;
    }
    .sidenav-menu li.active > a {
        color: #398ccb;
    }
    nav#service-navi-mobile,
    nav#extras-navi-mobile {
        font-size: 0.75em;
    }
    .sidenav-menu .sidenav-collapse {
        display: none;
        font-size: 0.75em;
        margin-left: 1em;
    }
    .sidenav-menu li.submenu > a:after {
        content: '';
        position: absolute; /* Prevent underline of arrow */
        right: 15px;
        width: 0;
        height: 0;
        color: #333;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 4px solid #333;
        top: 50%;
        margin-top: -2px;
        -webkit-transition: -webkit-transform 250ms ease-out 0s;
        -moz-transition: -moz-transform 250ms ease-out 0s;
        -o-transition: -o-transform 250ms ease-out 0s;
        transition: transform 250ms ease-out 0s;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    .sidenav-menu li.submenu.open > a:after {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    .sidenav-menu li.submenu.open ul.sidenav-collapse {
        display: block;
    }
}




/* *** fixed navigation *** */
.header-fixed {
}
.header-fixed .logo {
    height: 60px !important;
}
.header-fixed nav.mainmenu {
    margin-top: 20px;
}
.header-fixed .mainmenu ul li a {
    font-size: 0.75em;
    padding: 0.54167rem 0.9375rem 1.08333rem 0.875rem;
}
.header-fixed .top {
    overflow: hidden;
    height: 0;
}
.header-fixed .top > * {
    opacity: 0;
}






/* *** footer ******************************************************************************************************* */
footer .container {
    padding-top: 2rem
}

.partner-logos {
    background: #fff;
    text-transform: uppercase;
    font-size: 0.75em;
    padding: 2rem 0;
    line-height: 0.875rem;
    min-height: 180px;
    box-sizing: border-box;
}
.partner-logos img {
    max-width: 166px;
    max-height: 84px;
    width: auto !important;
    height: auto !important
}
.partner-logos p {
    margin: 0;
}
@media only screen and (max-width: 799px) {
    .partner-logos p {
        text-align: center;
    }
}
@media only screen and (min-width: 800px) {
    .partner-logos {
        padding: 0;
    }
    .partner-logos .container {
        padding: 0 6rem;
        height: 100%;
    }
    .partner-logos .container,
    .partner-logos .row {
        height: 180px;
    }
    .partner-logos .row > div {
        flex: 0 0 auto;
        width: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 800px) and (max-width: 991px) {
    .partner-logos img {
        max-width: 100%;
        max-height: 100%;
    }
}
@media only screen and (max-width: 767px) {
    footer .row > .col-md-4 {
        margin-bottom: 5rem;
    }
}


.footer-red {
    background: #ea5153;
    color: #fff;
    text-transform: uppercase;
}
.footer-red div.last {
    text-transform: none;
}
.footer-red h4,
.footer-red h5 {
    font-family: 'Open Sans Semibold', sans-serif;
}
.footer-red .last h5 {
    text-transform: uppercase;
}

.footer-red .container {
    padding-top: 60px;
    padding-bottom: 19px;
}
.footer-red a {
    color: #fff;
    text-decoration: none;
}
.footer-red .active a,
.footer-red a:hover {
    text-decoration: underline;
}
.footer-red h4 span,
.footer-red h5 span {
    font-size: 1.23125rem;
    line-height: 1.3125rem;
    display: block;
    font-family: 'Open Sans ExtraBold', sans-serif;
    padding-left: 0.125rem;
}
.footer-red h4 span:last-child,
.footer-red h5 span:last-child {
    padding-left: 0.625rem;
}
footer .specialnavi {
    margin: 44px 0 0 30px;
}
.footer-red ul li {
    line-height: 1.3125em;
}

.footer-red .row .col-md-4:nth-child(2),
.footer-red .row .col-md-4:last-child {
    margin-top: 2px;
}
.footer-red .row .col-md-4:nth-child(2) h5,
.footer-red .row .col-md-4:last-child h5 {
    margin-bottom: 1.375rem;
}
.footer-red .row .col-md-4:last-child p {
    line-height: 1.3125em;
}



#back-to-top {
    height: auto;
    bottom: 50px;
    right: 30px;
    position: fixed;
    display: none;
    z-index: 30;
}
#back-to-top .button {
    font-size: 24px;
    line-height: 1em;
    width: 48px;
    padding: 10px 0 13px 0;
    background: #368bcb;
    color: #fff;
    border-radius: 50px;
    display: block;
    cursor: pointer;
}


.copyright {
    background: #368bcb;
    color: #fff;
    font-size: 0.75em;
}
.copyright .container {
    padding-top: 0.3125rem;
    padding-bottom: 0.5625em;
}
.copyright .row > * {
    margin-bottom: 0;
}



/* *** elements ***************************************************************************************************** */

/* *** start contents *** */
.start-content-top {
    min-height: 860px;
    padding-top: 179px;
    color: #fff;
}
.start-content-top h1,
.start-content-top h2 {
    text-transform: uppercase;
    margin-bottom: 1.9375rem;
}
.start-content-top .ce-gallery {
    margin-bottom: 34px;
}
@media (min-width: 1600px) {
    .start-content-top .container {
        max-width: 1520px;
    }
}
.start-content-top .ce-bodytext {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}
.start-content-top .ce-bodytext a {
    margin-top: 1em;
    color: #ea4f52;
}
.start-content-top .ce-bodytext a:hover {
    color: #368bcb;
}
.start-content-top .ce-inner .ce-row:last-child {
    display: none;
}
@media (min-width: 768px) {
    .start-content-top .ce-inner .ce-row:first-child {
        display: none;
    }
    .start-content-top .ce-inner .ce-row:last-child {
        display: block;
    }
}
.start-content-top img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
}


/* *** news boxes list *** */
main .news-list-view .article {
    background: #abc4e7;
    height: 100%;
    position: relative;
}
.news-list-view .article:last-child {
    padding-bottom: 96px;
}
.news-list-img {
    height: 169px;
    background: #398ccb;
}
.news-list-hint-postponed {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ea4f52;
    color: #fff;
    font-size: 16px;
    padding: 4px;
    line-height: 1em;
}
.news-list-hint-postponed-long {
    background: #ea4f52;
    color: #fff;
    font-size: 1.5rem;
    padding: 20px 30px;
    margin-bottom: 2rem;
}
.news-list-img img {
    max-height: 100%;
    max-width: 100%;
    width: auto !important;
    height: auto !important;
}
main .news-list-view .article .header {
    box-sizing: border-box;
    padding: 21px 30px 0 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 169px;
    color: #fff;
    background: rgba(57, 140, 203, 0.7);
    -webkit-transition: background 0.4s ease;
    -moz-transition: background 0.4s ease;
    -o-transition: background 0.4s ease;
    -ms-transition: background 0.4s ease;
    transition: background 0.4s ease;
}
main .news-list-view .article:hover .header {
    background: transparent;
}
main .news-list-view .article .header h3 {
    font-size: 1.5em;
    margin: 0.1875rem 0;
}
/* h4 overflow if needed */
main .news-list-view .article .header h4.overflow {
    overflow: hidden;
    position: relative;
}
main .news-list-view .article .header h4.overflow:before {
    position: absolute;
    content: "...";
    inset-block-end: 0; /* "bottom" */
    inset-inline-end: 0; /* "right" */
}
main .news-list-view .article .header h4.overflow:after {
    content: "";
    position: absolute;
    inset-inline-end: 0; /* "right" */
    width: 1rem;
    height: 1rem;
}


main .news-list-view .article .header a {
    color: #fff;
}
main .news-list-view .article .header a:hover {
    text-decoration: underline;
    color: #fff;
}
.news-list-headline {
    padding: 24px 30px 0 30px;
}
.news-list-headline * {
    margin-bottom: 0;
}
.news-list-headline h3 {
    line-height: 1.5rem;
    margin-top: 0.125rem;
}
.news-list-link a {
    position: absolute;
    bottom: 32px;
    left: 50%;
    color: #398ccb;
    -o-transform: translate(-50%, 0%);
    -moz-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    -ms-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
}
.news-list-link a:hover {
    color: #ea5153;
}



/* *** random article *** */
.random-article-large {
    padding: 0;
}
.random-article-large .row {
    margin: 0;
}
.random-article-large .col-8 {
    padding: 0;
}
.random-article-large .col-8 > div {
    padding: 58px 30px 30px 30px;
}
.random-article-large .col-4 {
    padding: 0;
    overflow: hidden;
    height: 410px;
    position: relative;
}
.random-article-large img {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-2px);
    -ms-transform: translateX(-2px);
    -o-transform: translateX(-2px);
    transform: translateX(-50%);
    height: 410px;
    width: auto !important;
    display: block;
}
.button-white-blue-text {
    color: #398ccb;
}
.button-white-blue-text:hover {
    color: rgb(234, 79, 82);
}
.random-article-large .col-8 div.link-centered {
    padding-top: 11px;
    text-align: center;
}
.random-article-large .col-8 div.link-centered .button-white-blue-text {
    display: inline-block;
}



    /* *** news details *** */
.news-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 100%;
    min-height: 300px;
}
#standard-content .news-logo img {
    max-height: 90%;
    max-width: 80%;
    width: auto !important;
    height: auto !important
}
/* news images: put them in a row like in the flyer */
.news-images {
    display: flex;
}
.news-images .outer {
    margin-left: 15px;
}
.news-images .outer:first-child {
    margin-left: 0;
}
.news-images .outer img {
    max-height: 500px;
    width: auto !important;
    height: auto !important
}
.news-img-caption {
    padding-left: 15px;
    font-size: 0.75em;
}
.news-img-caption.multi-colors:first-line {
    color: #000;
}
.news-single {
    margin-bottom: 2.0625rem;
}
.news-main {
    padding: 0 30px;
}
.news-single .row > * {
    margin-bottom: 25px;
}
.news-single h3,
.news-single h4 {
    color: #398ccb;
}
.news-single .article h3 {
    font-size: 1.5em;
    margin-bottom: 0.125rem;
}
.news-single .article h4 {
    margin-bottom: 1.6875rem;
}
.news-single .article h2 {
    margin-bottom: 1.5625rem;
}
.news-single h2.subheadline {
    font-size: 1em;
    margin-top: -1em;
}
.news-main p:last-child {
    margin-bottom: 0;
}
.news-backlink-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
}
.news-backlink-wrap a {
    color: #398ccb;
}
.news-backlink-wrap a:hover {
    color: #ea5153;
}
.news-further-infos {
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 0.125rem;
}
.news-further-infos h5 {
    margin: 0;
    color: #398ccb;
    text-transform: uppercase;
}
.news-further-infos p {
    margin-bottom: 1.0625rem;
}
.news-related-wrap {
    margin: 0;
}



/* *** sitemap *** */
.frame-type-menu_sitemap_pages ul li,
.frame-type-menu_sitemap ul li {
    font-size: 1rem;
    font-weight: 400;
    padding-bottom: 0.5rem;
}
.frame-type-menu_sitemap_pages li a,
.frame-type-menu_sitemap li a {
    text-decoration: none;
}
.frame-type-menu_sitemap_pages ul ul,
.frame-type-menu_sitemap ul ul {
    margin-left: 1rem;
}






/* *** typo3 search results *** */
.tx-indexedsearch-res {
    margin-top: 2.2em;
}
span.tx-indexedsearch-percent {
    color: #aaa;
    font-size: 0.8em;
}
p.tx-indexedsearch-description {
    margin-bottom: 0;
}
.tx-indexedsearch-info * {
    display: inline-block;
    color: #aaa;
    font-size: 12px;
}
.tx-indexedsearch-info dd {
    margin-right: 20px;
}
.tx-indexedsearch-search-submit {
    margin-bottom: 4px;
}
#tx_indexedsearch fieldset {
    display: inline-block;
}
#tx_indexedsearch legend {
    font-size: 20px;
    color: #999;
    margin-bottom: 0.4rem;
}
.tx-indexedsearch-browsebox,
.tx-indexedsearch-info-sword,
.tx-indexedsearch-searchbox p a,
.tx-indexedsearch-rules {
    color: #545454;
}
.tx-indexedsearch-rules h2 {
    margin-bottom: 0.3rem;
}
.tx-indexedsearch-redMarkup {
    background: #fff3cd;
}
.tx-indexedsearch-searchbox label {
    display: inline-block;
    padding: 0 10px 20px 0;
    min-width: 154px;
}




/* *** places search, map and details ******************************************************************************* */
.form-search-special h2,
.tx-unnaplaces h3.blue {
    padding: 5px 30px;
    margin: 30px 0;
    text-transform: uppercase;
    font-size: 1rem;
}
.form-search-special h2 {
    background: #fecc00;
    color: #ea5153;
}
.tx-unnaplaces h3.blue {
    background: #398ccb;
    color: #fff;
}
.form-search-special input[type="text"] {
    border: none;
    color: #398ccb;
    font-size: 1rem;
    width: calc(100% - 60px);
    box-sizing: border-box;
    margin: 0;
    padding: 13px 30px;
    display: inline-block;
}
.form-search-special button[type="submit"] {
    background: #398ccb;
    margin: 0;
    padding: 8px 11px 6px 13px;
    display: inline-block;
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}
.form-search-special .checkboxes {
    color: #398ccb;
    background: #fff8e8;
    padding: 30px 30px 0 30px;
    margin: -2px 0 45px 0;
}
.form-search-special .checkboxes > div {
    display: inline-block;
}

/* we need consent for osm */
#map-all {
    display: none;
}
#consent-osm {
    display: none;
    position: relative;
    background: url(../images/osm_consent_bg.jpg) no-repeat 0 0;
    width: auto;
    height: 481px;
}
#consent-osm .text {
    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 47;
    width: 300px;
    height: 300px;
}
#consent-osm .text p a {
    text-decoration: underline;
}


#map-container {
    background: #fff;
    border-bottom: 1px solid #969695;
    padding-bottom: 10px;
}
#map {
    height: 481px;
    max-height: calc(100% - 28px);
}
.map-legend {
    font-size: 0.8rem;
    color: #398ccb;
    line-height: 0.8em;
    padding: 9px 30px 17px 30px;
}
.map-legend > * {
    display: inline-block;
    margin-right: 4px;
}
.map-legend > span:first-child {
    margin-right: 7px;
}
.map-legend span.stolperstein,
.map-legend span.other-place {
    border-radius: 3px;
    height: 12px;
    width: 12px;
    margin: 0 5px 0 4px;
    line-height: 0.7em;
}
.map-legend span.stolperstein {
    border: 2px solid #ea5153;
    background: #fecc00;
}
.map-legend span.other-place {
    border: 2px solid #ea5153;
    background: #398ccb;
}
/* info layer on map */
.places-info-list {
    max-height: 100px;
    min-width: 200px;
    overflow: auto;
}
/* list below map */
.places-list {
    padding-bottom: 30px;
    border-bottom: 2px solid #398ccb;
}
.places-list li {
    margin: 0;
    background: #f8f5ec;
}
.places-list li:nth-child(2n) {
    background: #f9e2de;
}
.places-list li a {
    border-bottom: 2px solid #fff;
    font-size: 1.25rem;
    display: block;
    padding: 18px 30px 17px 30px;
}
.places-list li a span {
    display: block;
}
.places-list li a span:last-child {
    color: #398ccb;
}
@media (min-width: 600px) {
    .places-list li a {
        font-size: 1.5rem;
        display: flex;
        padding: 22px 30px 21px 30px;
    }
    .places-list li a span:first-child {
        width: 60%;
    }
    .places-list li a span:last-child {
        width: 40%;
        text-align: right;
    }
}


/* links from biography page */
.biography .places-list li a span:first-child {
    text-transform: uppercase;
}


/* *** biography ****************************** */
/* *** list and search  *** */
.biographies-list {
    padding-bottom: 30px;
    border-bottom: 2px solid #398ccb;
}
.biographies-list li {
    margin: 0;
    background: #f7ccc9;
}
.biographies-list li:nth-child(2n) {
    background: #f9e2de;
}
.biographies-list li a {
    border-bottom: 2px solid #fff;
    font-size: 1.5rem;
    display: flex;
    padding: 22px 30px 21px 30px;
    color: #398ccb;
}
@media (max-width: 899px) {
    .biographies-list li a {
        display: block;
        padding: 20px 30px 19px 30px;
    }
    .biographies-list li span {
        display: inline-block;
    }
    .biographies-list li span:first-child {
        width: 100%;
        color: #000;
    }
    .biographies-list li span:nth-child(2) {
        clear: both;
    }
    .biographies-list li a {
        font-size: 1rem;
    }
}
@media (min-width: 900px) {
    .biographies-list li span {
        display: inline-block;
    }
    .biographies-list li span:first-child {
        width: calc(100% - 312px);
        color: #000;
    }
}
.biographies-list li a:hover span:first-child {
    color: #398ccb;
}
.biographies-list li span:nth-child(3) {
    width: 151px;
}
.biographies-list li span:nth-child(2) {
    width: 19px;
}
.biographies-list li span:nth-child(4) {
    width: 17px;
}




/* *** bio details *** */
/* *** slick images slider *** */
.slick-image-slider {
    margin: 7px auto 3rem auto;
}
.slick-image-slider:after {
    content: "";
    display: table;
    clear: both;
}
.noslide {
    float: left;
    margin: 0 15px;
}
.slick-image-slider .slick-slide {
    margin: 0 15px;
}
.slick-image-slider .slick-slide img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
}
.slick-image-slider figcaption {
    width: 430px;
    padding-top: 0.625rem;
}
.slick-prev,
.slick-next,
.slick-prev:hover,
.slick-next:hover {
    top: 47%;
    width: 32px;
    height: 60px;
    background-position: 0 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.slick-next:before,
.slick-prev:before {
    display: none;
}
.slick-prev:hover,
.slick-prev {
    background-image: url('../images/slider_arrow_prev.svg');
    left: -59px;
}
.slick-next:hover,
.slick-next {
    background-image: url('../images/slider_arrow_next.svg');
    right: -59px;
}
@media (max-width: 575px) {
    .slick-prev:hover,
    .slick-prev {
        left: -70px;
    }
    .slick-next:hover,
    .slick-next {
        right: -70px;
    }
    .slick-image-slider figcaption {
        max-width: calc(100% - 240px);
    }
}

/* elements of biography */
.header-main-biography {
    margin-bottom: 20px;
}
main .biography header h2 {
    color: #000;
    border: none;
    margin-bottom: 0;
    padding-bottom: 7px;
}
main .biography header h3 {
    text-transform: none;
}

/* this makes image display in biographies wrong
main .biography img {
    max-height: 400px;
    width: auto !important;
    height: auto !important;
}*/

main .biography h6 {
    color: #398ccb;
    margin: 0;
    padding-top: 23px;
    text-transform: uppercase;
    font-size: 0.75rem;
}
/* no anchor scroll navi for small displays */
@media (max-width: 991px) {
    #side-anchor-navi {
        position: fixed;
        right: 10px;
        top: 100px !important;
        width: 30px;
        overflow: hidden;
    }
    #side-anchor-navi div {
        display: none;
    }
    #side-anchor-navi ul li {
        margin: 5px 0;
    }
    #side-anchor-navi ul li a {
        display: block;
        color: transparent;
        height: 40px;
        width: 30px;
        box-sizing: content-box;
        overflow: hidden;
        padding: 30px 0 10px 0;
    }
    #side-anchor-navi ul li a::before {
        content: '&nbsp;';
        height: 27px;
        width: 27px;
        background: #fff;
        border: 3px solid #398ccb;
        border-radius: 50%;
        display: block;
    }
    #side-anchor-navi ul li a span {
        display: none;
    }
}
@media (max-width: 575px) {
    #side-anchor-navi {
        right: 5px;
        width: 20px;
    }
    #side-anchor-navi ul li a {
        height: 30px;
        width: 20px;
        padding: 25px 0 15px 0;
    }
    #side-anchor-navi ul li a::before {
        height: 18px;
        width: 18px;
        border: 2px solid #398ccb;
    }
}
@media (min-width: 992px) {
    .biography-content {
        padding-left: 45px;
        padding-bottom: 3px;
    }
    .side-content {
        position: relative;
        padding-top: 6rem;
    }
    #side-anchor-navi {
        position: absolute;
        top: 7.625rem;
        text-transform: uppercase;
        background: #f7e2e1;
        z-index: 856;
    }
    #side-anchor-navi.fixed {
        position: fixed;
    }
    #side-anchor-navi div {
        display: block;
        color: #fff;
        background: #398ccb;
        padding: 0.1875rem 1.875rem;
    }
    #side-anchor-navi ul {
        padding: 1.875rem 0 0.75rem 0;
    }
    #side-anchor-navi ul li a {
        display: block;
        padding: 0.75rem 1.875rem;
    }
    main .biography .button-text-blue {
        margin-left: 30px;
    }
}



/* *** timeline ***************************************************************************************************** */

/* responsive */

.tx-unnatimeline {
    margin-top: 3.625rem;
}

.timeline {
    flex-flow: row wrap;
    align-items: stretch;
    display: flex;
}
.timeline > * {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}
.tl-left {
    width: 120px;
    overflow: hidden;
    border-right: 10px solid #ea5153;
    min-height: 100px;
    position: relative;
}

.tl-left a {
    font-size: 1rem;
    background: #ea5153;
    padding: 0.6875rem 0 0.875rem 30px;
    display: block;
    width: 100%;
    color: #fff;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    z-index: 888;
}

@media (max-width: 419px) {
    .tl-left {
        width: 60px;
    }
    .tl-left a {
        font-size: 10px;
        padding-left: 10px;
    }
}

@media (min-width: 1120px) {
    .tl-left {
        width: 300px;
    }
    .tl-left a {
        font-size: 1.5rem;
        padding-left: 45px;
    }
}

.tl-middle {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    padding: 60px 30px 0 30px;
    min-width: 0;   /* this is crucial for text-overflow in h2 */
}
@media (max-width: 419px) {
    .tl-middle {
        padding-right: 0;
    }
}
.tl-middle > div {
    background: #fcf1ef;
    margin-bottom: 30px;
    position: relative;
}
.tl-middle > div > div {
    flex-flow: row wrap;
    align-items: stretch;
    display: flex;
}
.tl-img {
    width: 100%;
    text-align: center;
    padding: 0 30px 24px 30px;
}
.tl-img img {
    max-width: 100%;
    max-height: 200px;
    width: auto !important;
    height: auto !important;
    display: inline;
}
.tl-text {
    max-width: 100%;
    padding: 0 30px 30px 30px;
    margin-top: -0.375rem;
}
.tl-text a {
    color: #398ccb;
}

@media (max-width: 419px) {
    .tl-text span:first-child {
        display: block;
        height: 120px;
        overflow: hidden;
        position: relative;
        text-overflow: ellipsis;
    }
    .tl-text span:first-child::after {
        content: "...";
        position: absolute;
        bottom: 0;
        right: 1px;
    }
}

@media (min-width: 1279px) {
    .tl-img {
        padding: 0 0 30px 0;
        margin: 0 0 0 30px;
        width: 270px;
    }
    .tl-text {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
}

.tl-middle > div::before {
    position: absolute;
    display: block;
    content: ' ';
    background-image: url('../images/triangle_blue.svg');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    top: 0;
    left: -30px;
    z-index: 99;
}
.tl-middle h2 {
    background: #398ccb;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.25rem 30px 0.375rem 30px;
    text-overflow: ellipsis;
    height: 30px;
    overflow: hidden;
    white-space: nowrap;
}
.tl-middle h2 a {
    color: #fff;
}


@media (max-width: 419px) {
    .tl-right {
        display: none;
    }
}
@media (min-width: 420px) {
    .tl-right {
        position: relative;
    }
    .tl-right div.fixed {
        position: fixed;
        width: inherit;
        top: 80px;
        z-index: 999;
    }
}

@media (max-width: 719px) {
    .tl-right {
        width: 30px;
    }
    .tl-right span {
        display: none;
    }
    .tl-right ul li a::before {
        content: '&nbsp;';
        height: 27px;
        width: 27px;
        background: #fff;
        border: 3px solid #ea5153;
        border-radius: 50%;
        display: block;
    }
    .tl-right ul li a {
        display: block;
        color: transparent;
        height: 40px;
        width: 30px;
        box-sizing: content-box;
        overflow: hidden;
        padding: 6px 0;
    }
}
@media (min-width: 720px) {
    .tl-right {
        width: 180px;
    }
    .tl-right > div > span {
        display: block;
        background: #ea5153;
        padding: 0.1875rem 30px ;
        color: #fff;
        text-transform: uppercase;
    }
    .tl-right ul {
        background: #fae1dd;
        padding: 1.9375rem 0 2.125rem 0;
    }
    .tl-right ul li a {
        padding: 0.75rem 30px;
        display: block;
        text-transform: uppercase;
    }
}
@media (min-width: 1120px) {
    .tl-right {
        width: 330px;
        position: relative;
    }
}



/* typo3 fluid styled contents overrides */
/*
.ce-intext img {
    max-width: 300px;
    max-height: 250px;
    width: auto !important;
    height: auto !important;
}*/
.ce-below .ce-gallery[data-ce-columns="1"] img,
.ce-above .ce-gallery[data-ce-columns="1"] img {
    max-width: 100%;
    width: auto !important;
    height: auto !important;
}
#c112 .ce-intext img {
    max-width: 349px;
}
.ce-intext.ce-left .ce-gallery {
    margin-right: 3%;
}
.ce-uploads img {
    padding-right: 4px;
    padding-top: 5px;
}
.ce-uploads span {
    display: inline-block;
}
.ce-uploads div > span {
    margin-left: 10px;
    color: #878787;
}
.ce-uploads div > span:before {
    content: '(';
}
.ce-uploads div > span:after {
    content: ')';
}
body .ce-uploads a,
body .ce-uploads .ce-uploads-fileName {
    text-decoration: underline;
}




/* *** this button style is used over and over again **************************************************************** */
.button-white-blue-text,
.button-text-blue,
.button-text,
.news-backlink-wrap a,
.news-list-link a,
.start-content-top .ce-bodytext a {
    display: inline-block;
    background: #fff;
    padding: 0.4375rem 1rem 0.375rem 1rem;
    text-transform: uppercase;
    font-size: 0.75em;
    font-family: "Open Sans Semibold", sans-serif;
    text-decoration: none;
}
.button-text-blue {
    color: #398ccb;
}







/* *** repeating styles ********************************************************************************************* */

.clear,
.clearfix {
    clear: both;
}
.dn {
    display: none;
}
.frame-default {
    clear: both;
}
.float-left {
    float: left;
}
.float-right {
    float: right;
}
.ce_gallery > ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
}
.ce_gallery > ul li {
    float: left;
}
.ce_gallery > ul li.col_first {
    clear: left;
}
.block {
    overflow: hidden;
}
main header h1.no-margin {
    margin: 0;
}

.small-blue {
    color: #368bcb;
    font-size: 0.7419em;
    line-height: 0.875rem;
    display: block;
    padding-bottom: 9px;
}

.hint {
    color: #000;
    font-size: 0.75rem;
    display: block;
    line-height: 1rem;
}

.button-red {
    background: #ea5153;
    color: #fff;
    display: inline-block;
    padding: 0.4375rem 1rem 0.375rem 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-family: 'Open Sans Semibold', sans-serif;
}

.button-white {
    background: #fff;
    color: #ea5153;
    display: inline-block;
    padding: 0.4375rem 1rem 0.375rem 1rem;
    font-size: 0.75em;
    text-transform: uppercase;
    text-decoration: none;
}

.children-same-height {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.children-same-height > div {
    display: flex;
    flex-direction: column;
}
.children-same-height > div > div {
    height: 100%;
}
.children-same-height .col-lg-4 .ce-textpic figure.image {
    position: relative;
}
/* img caption above image and same shadow */
.children-same-height .col-lg-4 .ce-textpic figure.image .image-caption,
.random-article-large .img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    font-size: 0.75rem;
    color: #000;
    text-shadow: #EEE 0 0 1px, #EEE 0 0 1px, #EEE 0 0 1px, #EEE 0 0 1px, #EEE 0 0 1px, #EEE 0 0 1px;
    margin: 0;
    padding: 0 12px 6px 12px;
}

/* random article in row */
.children-same-height .col-lg-4 .tx-mdpagespecials .row {
    flex-direction: column;
}
.children-same-height .col-lg-4 .tx-mdpagespecials .col-4,
.children-same-height .col-lg-4 .tx-mdpagespecials .col-8 {
    width: 100%;
}
.children-same-height .col-lg-4 .tx-mdpagespecials .col-4 {
    order: 1;
    height: 169px;
    background: #aaa;
    margin-bottom: 10px;
}
.children-same-height .col-lg-4 .tx-mdpagespecials .col-4 img {
    max-height: 100%;
    width: auto !important;
    height: auto !important;
}
.children-same-height .col-lg-4 .tx-mdpagespecials .col-8 {
    order: 2;
    margin-bottom: 0;
    position: static;
}
.children-same-height .col-lg-4 .random-article-large {
    padding-bottom: 0;
}
.children-same-height .col-lg-4 .random-article-large .col-8 > div {
    padding-top: 16px;
}
.children-same-height .col-lg-4 .random-article-large .col-8 p {
    max-height: 200px;
    overflow:hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* *** custom typo3 tceform frames ********************************************************************************** */
.frame-white_bg {
    background: #fff;
    padding: 20px 30px 30px 30px;
}
.frame-white_bg h1,
.frame-white_bg h2,
.frame-white_bg h3 {
    border: none;
    text-align: center;
    margin: 0;
    padding: 0;
    color: #368bcb;
    text-transform: uppercase;
}
.frame-white_bg h1 a,
.frame-white_bg h2 a,
.frame-white_bg h3 a {
    color: #368bcb;
}

/* start page bottom row */
.frame-salmon_bg > div {
    background: #f6b1a6;
}
.frame-yellow_bg > div {
    background: #ffe596;
}
.frame-bluegreen_bg > div {
    background: rgb(91,158,203);
    background: linear-gradient(45deg, rgba(91,158,203,1) 0%, rgba(155,178,150,1) 35%, rgba(205,193,110,1) 100%);
}
.frame-bluegreen_bg .frame-bluegreen_bg > div {
    background: transparent;
}
.frame-salmon_bg > div,
.frame-yellow_bg > div,
.frame-bluegreen_bg > div {
    height: 100%;
}

.frame-salmon_bg p:last-child,
.frame-yellow_bg p:last-child,
.frame-bluegreen_bg p:last-child,
.frame-white_bg p:last-child {
    margin: 0;
}

.frame-salmon_bg .ce-bodytext,
.frame-yellow_bg .ce-bodytext,
.frame-bluegreen_bg .ce-bodytext {
    padding: 16px 30px 30px 30px;
}
.frame-salmon_bg h3,
.frame-yellow_bg h3,
.frame-bluegreen_bg h3 {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}


.frame-bluegreen_bg .button-white-blue-text,
.frame-salmon_bg .button-white,
.frame-yellow_bg .button-white,
.frame-bluegreen_bg .button-white,
.frame-white_bg .button-red {
    position: absolute;
    bottom: 30px;
    white-space: nowrap;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    text-decoration: none;
}

.frame-yellow_bg .button-white {
    color: #fc0;
}
.frame-bluegreen_bg .button-white {
    color: #398ccb;
}




@media (min-width: 992px) {
    .frame-white_bg figure {
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .frame-salmon_bg,
    .frame-yellow_bg,
    .frame-bluegreen_bg,
    .frame-white_bg {
        padding-bottom: 60px;
        position: relative;
    }
}


/* paging */
.f3-widget-paginator {
    margin: 10px auto;
    text-align: center;
}
.f3-widget-paginator li {
    display: inline-block;
}
.f3-widget-paginator .current {
    color: #398ccb;
}
.f3-widget-paginator .previous a,
.f3-widget-paginator .next a {
    position: relative;
    display: inline-block;
}
.f3-widget-paginator .previous a {
    padding-left: 1.5em;
}
.f3-widget-paginator .next a {
    padding-right: 1.5em;
}
.f3-widget-paginator .previous a:after,
.f3-widget-paginator .next a:after {
    position: absolute;
    font-family: "bootstrap-icons", sans-serif;
}
.f3-widget-paginator .previous a:after {
    left: 0;
    content: 'bi-arrow-left-circle-fill';
}
.f3-widget-paginator .next a:after {
    right: 0;
    content: 'bi-arrow-right-circle-fill';
}

@-webkit-keyframes fadeIn {
    0% { opacity: 0; }
    20% { opacity: 0; }
    40% { opacity: 0.3; }
    60% { opacity: 0.5; }
    80% { opacity: 0.9; }
    100% { opacity: 1; }
}
@keyframes fadeIn {
    0% { opacity: 0; }
    20% { opacity: 0; }
    40% { opacity: 0.3; }
    60% { opacity: 0.5; }
    80% { opacity: 0.9; }
    100% { opacity: 1; }
}

/* checkboxes with pure css */
input[type="checkbox"] {
    display: none;
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}
label.label-checkbox {
    background-image: url(../images/checkbox.png);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input[type="checkbox"] + label.label-checkbox {
    background: url(../images/checkbox.png) no-repeat 0 0;
    padding-left: 40px;
    margin-right: 25px;
    margin-bottom: 30px;
    height: 25px;
    display: inline-block;
    line-height: 26px;
    font-size: 1rem;
    vertical-align: middle;
    cursor: pointer;
}
input[type="checkbox"]:checked + label.label-checkbox {
    background: url(../images/checkbox_checked.png) no-repeat 0 0;
}

.line-through {
    text-decoration: line-through 2px solid #ea4f52;
}



/* *** text/img elements responsive for small displays: ************************************************************* */
@media (max-width: 500px) {
    .ce-gallery {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .ce-gallery img {
        max-width: 100%;
        width: auto !important;
        height: auto !important;
    }
}
