@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}


@font-face {
    font-family: 'SparkasseRg-Regular';
    src: url('../fonts/sparkasserg-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SparkasseRg-Bold';
    src:  url('../fonts/sparkasserg-bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'SparkasseLt';
    src: url('../fonts/sparkasselt-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}


body {
    --color1: #111;
    --color2: #666;
}

h1 {
    color: var(--color1);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 90%;
        max-width: 1160px;
    }
}

.container{
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1024px;
}

a:focus {
    outline: none !important;
}

* {
    border: 0px;
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.4);
    box-sizing: border-box;
}

ul, ol{
    padding-left: 0;
}

*::selection {
    background: #ccc;
    color: #fff;
}

html,
body {
    height: 100%;
}

body {
    background: #fff;
    color: var(--color1);
    font-family: 'SparkasseRg-Regular', Arial, Verdana, sans-serif;
    font-size: 16px;
    -webkit-text-size-adjust: none;
    font-weight: 400;
}

div {
    position: relative;
}

img,
iframe,
video {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

a{text-decoration: none;} 

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px 0;
    -webkit-hyphens: manual;
    hyphens: manual;
    word-wrap: break-word;
    font-family: 'SparkasseRg-Bold', Arial, Verdana, sans-serif;
}

h1 {
    font-size: 60px;
}

h2 {
    font-size: 36px;
    color:#E30019;
}

h3 {
    font-size: 34px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 18px;
    text-transform: uppercase;
}


@media ( max-width: 768px) {
    h1 { font-size: 50px; }
    h2 { font-size: 30px; }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 16px; }
    h6 { font-size: 16px; }
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover{
    color:var(--color1);
}

.bg-white p{
    color:#111;
}

p {
    margin: 0 0 10px 0;
    line-height: 1.45em;
    letter-spacing: 0.02em;
    -webkit-hyphens: auto;
    hyphens: auto;
}

p a {
    color: #666;
}

p a:hover {
    color: #888;
}

a.readmore:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 0 0 5px;
    transform: translate(0, 1px);
    color: var(--color1);
    display: inline-block;
    transition: .1s;
}

a.readmore:hover:after {
    transform: translate(3px, 1px);
}

a.underline {
    text-decoration: none;
    background-image: linear-gradient(var(--color3), var(--color3));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 3px;
    transition: background-size .3s;
}

a.underline:hover, a.underline:focus {
    background-size: 100% 3px;
}

.no-hyphens {
    -webkit-hyphens: none;
    hyphens: none;
    word-wrap: break-word;
}

strong, b{
    font-weight: 700;
    font-family: 'SparkasseRg-Bold';
}

/*
.btn{
background:#d30000;
color:#fff;
padding:10px 15px;
transition:all .2s;
display:inline-block;
letter-spacing:1px;
position:relative;
font-weight:700;
text-transform:uppercase;
}


.btn:hover{
background:#fff;
color:#d30000;
transition:all .15s;
border:0;
}
*/

.arrow_right {
    padding-right: 35px;
}

.arrow_right:after {
    font-family: 'bootstrap-icons';
    content: '\F231';
    z-index: 100;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -5px;
    right: 15px;
    transition: all .15s;
}

.arrow_right:hover:after {
    color: #d30000;
    right: 10px;
}

.wp-block-separator {
    border: unset;
    border-left: none;
    border-right: none;
    height: unset;
}

hr {
    height: 0;
    margin: 20px 0;
    border-bottom: 3px solid #999 !important; 
    width: 70px;
    text-align: left;
    opacity: 1;
}

.shaded {
    display: inline;
    color: #fff!important;
    background: none repeat scroll 0px 0px #285e7a;
    box-shadow: 5px 0 0 #285e7a, -5px 0 0 #285e7a;
    background-origin: border-box;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.lined {
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 6px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
}

.lined:before,
.lined:after {
    background-color: #aaa;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}

.lined:before {
    right: 1em;
    margin-left: -50%;
}

.lined:after {
    left: 1em;
    margin-right: -50%;
}


/* LAYOUT */

.bodywrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    position: relative;

}

.innerwrap {
    min-height: calc(100vh - 89px);
}

.section {
    width: 100%;
    padding: 0;
}

.bgimg {
    background-size: cover;
    background-position: center;
}


/*  <video autoplay muted loop playsinline class="bgvideo"> */

.bgvideo {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
    background-color: black;
    background-position: center center;
    background-size: contain;
    z-index: 0;
    object-fit: cover;
}

.row {
    margin-bottom: 0;
}


/*.col{outline: 1px dotted #ccc;}*/

.padding30 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.padding50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.padding70 {
    padding-top: 70px;
    padding-bottom: 70px;
}

.paddingbottom10 {
    padding-bottom: 10px;
}

.paddingbottom20 {
    padding-bottom: 20px;
}

.spacer10 {
    height: 10px;
}

.spacer20 {
    height: 20px;
}

.spacer30 {
    height: 30px;
}

.spacer50 {
    height: 50px;
}

@media ( max-width: 768px) {
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    .wrap {
        width: 100%;
    }
    .padding30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .padding50 {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .padding70 {
        padding-top: 35px;
        padding-bottom: 35px;
    }

    .spacer10 {
        height: 5px;
    }
    
    .spacer20 {
        height: 10px;
    }
    
    .spacer30 {
        height: 15px;
    }
    
    .spacer50 {
        height: 25px;
    }
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* width100 for Gutenberg-Blocks */
.width100 {
    position: relative;
    left: 50%;
    right: 50%;
    width:calc(100vw - 15px);   
    margin-left: calc(-50vw + 7.5px);
    margin-right:calc(-50vw + 7.5px);
}

 
.newsimagewrap{
    float:right; 
    width:50%;
    margin:10px 0 15px 20px;
 }
 
 .newsimagewrap p{
     font-size:14px;
     margin: 3px 0 5px 0;
     max-width: 100%;
  }
 
 
  @media ( max-width: 769px) {
     .newspost p{
         max-width: 100%;
      }
       
      .newsimagewrap{
         float:none; 
         width:100%;
         margin:10px 0 15px 0;
      }
      
      .newsimagewrap p{
          font-size:14px;
          margin: 3px 0 5px 0;
       }
 }

.bodywrap {
    margin: 0 auto 0;
}

.footer {
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 30px 0;
    transition: transform .15s;
    color: #111;
    text-align: left;
    font-size: 14px;
}

.footer a {
    color: #111;
    margin-left:10px;
}

.footer a:hover {
    opacity: .7;
}

@media ( max-width: 768px) {
    .footer {
        height: auto;
    }
    .bodywrap {
        margin: 0 auto;
        min-height: auto;
        height: auto;
    }
    .push {
        height: auto;
        display: none;
    }
}

/* CUSTOM */

.logo {
    width: 220px;
    position: absolute;
    top:30px;
    right:30px;
}


@media ( max-width: 768px) {

    .logo {
        width: 100px;
        top:00px;
        right:10px;
    }
}



/* ACC */

.acc_item {
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    font-size: 16px;
    line-height: 22px;
}

.acc_btn {
    font-weight: 500;
    cursor: pointer;
    padding-top: 4px;
    padding-right: 15px;
}

.acc_btn p {
    margin: 0;
}

.acc_btn:after {
    font-family: 'bootstrap-icons';
    content: '\F229';
    z-index: 100;
    color: var(--color1);
    position: absolute;
    top: 3px;
    right: 5px;
    transition: all .2s;
}

.acc_btn.active:after {
    transform: rotate(-180deg);
}

.acc_btn:hover {
    opacity: .7;
}

.acc_content {
    padding-top: 12px;
    display: none;
}

.cms .acc_content {
    display: block;
}


/* MAP */

.map {
    height: 400px;
    background: #f9f8f8;
    width: 100%;
}

@media ( max-width: 750px) {
    .map {
        height: 250px;
    }
}


/* *** */

.arrow_up_section {
    position: fixed;
    z-index: 15;
    bottom: 0;
    padding: 0;
    margin: 0;
}

.arrow_up_section .row {
    margin-bottom: 0;
}

.arrow_up {
    position: absolute;
    right: 15px;
    bottom: -200px;
    z-index: 10;
    transition: .5s;
    background: #ccc;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 40px;
}

.arrow_up.visible {
    bottom: 0;
}

.arrow_up i {
    color: #fff;
}


/* GALLERY */

/*
object-fit: cover;
object-position: 50% 50%;
*/

.gallerywrap a img {
    float: left;
    position: relative;
}

.gallerywrap:hover img {
    opacity: .5;
    z-index: 900;
}

.gallerywrap a img {
    transition: all .4s;
}

.gallerywrap a:hover img {
    transform: scale(1.07);
    transition: all .1s;
    opacity: 1;
    z-index: 1000;
}

.collagewrap {
    background: #fff;
}

.collage {
    padding: 10px;
    background: #fff;
}

.collage img {
    vertical-align: bottom;
    float: left;
}

.collage img a {
    float: left;
}

.pics_in_a_row {
    margin: 1% 0 0 0;
    display: flex;
}

.pics_in_a_row>div:not(:last-child) {
    margin-right: 1%;
}

.pics_in_a_row img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}


/* CONTENTOVERLAY / LIGHTBOX */

.contentoverlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1250;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    text-align: center;
    padding: 40px 15px;
    display: none;
}

.contentoverlay img {
    max-width: 100%;
}

.contentoverlayclose {
    position: fixed;
    cursor: pointer;
    top: 15px;
    right: 30px;
    font-size: 20px;
    z-index: 360;
    color: #666;
}

.contentoverlayclose:hover {
    opacity: 0.5;
}


/* MARQUEE */

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-1800px, 0);
    }
}

.marqueesection {
    background: #eee;
}

.marqueewrap {
    width: 100000px;
}

.marquee.animated {
    animation: marquee 80s linear infinite
}

.marquee a {
    transition: .1s;
    display: inline-block;
    color: #c0392b
}

.marquee h3 {
    font-size: 20px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

.marquee h3 a:hover {
    color: var(--color1);
}

.marquee h3 strong {
    font-size: 22px;
    display: inline;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--color1);
}

@media (max-width:800px) {
    .marquee h3 {
        font-size: 18px;
        display: inline;
    }
}


/*  * * * *  */

.fadeInOnLoad {
    opacity: 0;
    transition: .15s;
}

.clearer {
    clear: both;
}

.overflowhidden {
    overflow: hidden;
}

@media ( min-width: 769px) {
    .mobile {
        display: none !important;
    }
}

.navicon {
    position: absolute;
    right: 15px;
    top: 5px;
    height: 30px;
    width: 30px;
    display: block;
    z-index: 100;
}

.navicon .line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border-top: 2px solid var(--color1);
}

.navicon .line:nth-child(1) {
    top: 10px;
}

.navicon .line:nth-child(2) {
    top: 20px;
}



/* MOBILE  NAVIGATION * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media ( max-width: 768px) {
    .navigation {
        display: none;
    }

    .outerwrap {
        transition: transform .15s;
    }

    .shifted {
        transition: transform .15s;
        transform: translateX(-270px);
    }

    .subnav_mobile {
        background: var(--color1);
        position: fixed;
        width: 270px;
        top: 0;
        bottom: 0;
        right: -270px;
        transition: transform .15s;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 20px 0;
    }

    .subnav_mobile ul {
        list-style: none;
        margin:0;
        padding-left: 0;
    }

    .subnav_mobile ul ul {
        margin-left:10px;
    }

    .subnav_mobile ul li {
        margin: 0 0 0 0;
        text-transform: uppercase;
    }

    .subnav_mobile ul li ul li {
        text-transform: none;
    }

    .subnav_mobile ul li a {
        padding: 10px 5px 10px 20px;
        display: block;
        font-weight: 300;
        color: #fff !important;
        letter-spacing: 1px;
        word-wrap: break-word;
        hyphens: auto;
    }

    .subnav_mobile ul li a:hover {
        opacity: .8;
    }

    .subnav_mobile ul li a.current {
        color: #fff;
        font-weight: bold;
    }

    .subnav_mobile ul li ul {
        padding: 0 0 0 20px;
    }

    .subnav_mobile ul li ul li {}
    .subnav_mobile ul li ul li a {
        padding: 7px 0;
        color: #fff;
    }

    .subnav_mobile ul li ul li:last-child a {
        margin-bottom: 10px;
    }

    .subnav_mobile.shifted {
        /*box-shadow: 0 0 6px rgba(0, 0, 0, .3) !important;*/
    }

    .subnav_mobile_overlay {
        background: rgba(255, 255, 255, .7);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: none;
        transition: transform .15s;
    }

    .bodywrap {
        transition: transform .15s;
    }

}



@keyframes fadeInOut1 {
    0% {
        opacity: 1;
    }
    25% {
        opacity: .6;
    }
    75% {
        opacity: .6;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInOut2 {
    0% {
        opacity: 1;
    }
    33% {
        opacity: .3;
    }
    55% {
        opacity: .3;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInOut3 {
    0% {
        opacity: .3;
    }
    25% {
        opacity: 1;
    }
    75% {
        opacity: 1;
    }
    100% {
        opacity: .3;
    }
}

.i1, .i2, .i3, .i4{
    position: absolute;
    top:00vh;
    left:5vw;
    width: 80vw;
    animation: fadeInOut1 6s infinite; 
}

.i2{
    top: 0;
    left: -20vw;
    animation: fadeInOut2 7s infinite;
}

.i3{
    top: 5vh;
    left: -5vw;
    animation: fadeInOut3 8s infinite;
}

.i4{
    top: 10vh;
    left: -10vw;
    animation: fadeInOut2 10s infinite;
}

.text{
    padding-top:180px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.countdown div {
    text-align: center;
}

.number {
    font-size: 140px;
    line-height: 140px;
    font-family: 'SparkasseRg-Bold', Arial, Verdana, sans-serif;
}

.label {
    font-size: 18px;
}

@media ( max-width: 768px) {
    .countdown {
        display: block;
        justify-content: unset;
    }

    
    .text{
        padding-top:100px;
    }

    .number {
        font-size: 100px;
        line-height: 100px;
    }

    .i1, .i2, .i3, .i4{
        width: 120vw;
        max-width: unset;
        transform:translateX(-10vw)
    }

    .bodywrap{
        max-width: 100vw;
        overflow: hidden;
    }

    .i3{
        top: 15vh;
        left: -5vw;
        animation: fadeInOut3 8s infinite;
    }
    
.label {
    padding-bottom: 10px;
}
}


.slick-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px !important;
    z-index: 100;
}

.slick-dots li {
    margin: 0 1px;
}

.slick-dots button {
    height: 15px !important;
    width: 15px !important;
    margin: 0 4px !important;
    background: rgba(255,255,255,0.5) !important;
    border-radius: 20px;
}

.slick-dots .slick-active button {
    background: #fff !important;
}

.slick-dots li button:before{
    content: '';
}

.header{
    background: #E30019;
    color:#fff;
}

.header h1{
    color:#fff;
}

.slick-dotted.slick-slider{
    margin-bottom: 0 !important;
}

.box-red{
    background: #E30019;
    color:#fff;
    padding: 35px;
    border-radius: 5px;
}

.box-red h2, .box-red p {
    color:#fff;

}

.submit{
    background: #e30019;
    padding: 10px 15px;
    border-radius: 5px;
    color:#fff;
}

.nice-form-group > input[type="checkbox"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="date"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="email"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="month"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="number"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="password"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="radio"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="search"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="tel"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="text"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="time"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="url"]:required:not(:placeholder-shown):invalid, .nice-form-group > input[type="week"]:required:not(:placeholder-shown):invalid, .nice-form-group > select:required:not(:placeholder-shown):invalid, .nice-form-group > textarea:required:not(:placeholder-shown):invalid {

    border-color: #aaa !important;
}

.nice-form-group>input[type=checkbox]:required:not(:placeholder-shown):valid{
    background-color: #BF002E !important;
}

.response{
    padding-top: 20px;
}

.button{
    background-color: #E3001A;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
}

.button:hover{
    background-color: #c20319;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
}


.content ul {
    margin: 10px 0;
    list-style: none;
}

.content li {
    margin: 0 0 10px 15px;
    line-height: 1.45em;
    letter-spacing: 0.02em;
}

.content ul li:before {
    content: '●';
    margin: 0 10px 0 -15px;
    color: #E3001A;
    position: absolute;
}