@media ( min-width: 1200px) {}

@media ( min-width: 992px) {}

@media ( min-width: 769px) {}

@media ( max-width: 768px) {}

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/open-sans-v43-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v43-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v43-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* open-sans-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/open-sans-v43-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
    font-family: 'open_sans_condensedbold';
    src: url('../fonts/OpenSans-CondBold-webfont.woff') format('woff'),

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanscondensed_light';
    src:url('../fonts/OpenSans-CondLight-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansCnLtIt';
    src: url('../fonts/OpenSans-CondLightItalic-webfont.woff') format('woff');

    font-weight: normal;
    font-style: normal;
}


@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}

body {
    --color1: #111;
    --color2: #666;
}

h1 {
    color: var(--color1);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 95%;
    }
}

.container{
    padding-left: 20px;
    padding-right: 20px;
}

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: #ffffff;
    color: var(--color1);
    font-family: 'Open Sans', Arial, Verdana, sans-serif;
    font-size: 17px;
    -webkit-text-size-adjust: none;
    font-weight: 400;
}

div {
    position: relative;
}

img,
iframe,
video {
    vertical-align: bottom;
}

img {
    max-width: 100%;
    height: auto;
}

.image-fitted {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

a{text-decoration: none;} 

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 10px 0;
    -webkit-hyphens: manual;
    hyphens: manual;
    word-wrap: break-word;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 38px;
    font-family: 'open_sans_condensedbold';
    color: #314CA3;

}

h3 {
    font-size: 32px;
    line-height: 40px;
    font-family: 'open_sans_condensedbold';
    color: #314CA3;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 18px;
    text-transform: uppercase;
}


@media ( max-width: 768px) {
    h1 { font-size: 30px; }
    h2 { font-size: 24px; }
    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);
}

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(-1px, 3px);
    color: var(--color1);
    display: inline-block;
    transition: .1s;
}

a.readmore:hover:after {
    transform: translate(2px, 3px);
}

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;
}

.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 !important;
    margin: 20px auto;
    border-bottom: 5px solid transparent !important;
    border-image: linear-gradient(to right, #314DA3, #DE007D) 1 !important;
    width: 250px;
    text-align: center;
    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;
    max-width: 1340px;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    overflow: hidden;
}

.innerwrap {
    min-height: calc(100vh - 187px);
}

.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);

    width:100vw;   
    margin-left: -50vw;
    margin-right:-50vw;
}

 
.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;
       }
 }

.content img {}

.image_right {
    float: right;
    margin: 0 !important;
    padding: 7px 0 10px 20px;
    width: 40%;
}

.image_left {
    float: left;
    margin: 0 !important;
    padding: 7px 20px 10px 0;
    width: 40%;
}

@media ( max-width: 768px) {
    .image_right,
    .image_left {
        float: none;
        width: 100%;
        padding: 5px 0 15px 0;
    }
}

.bgimgteaser {
    text-align: center;
    min-height: 200px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    overflow: hidden;
    transition: .2s;
    position: relative;
}

.bgimgteaser .text {
    opacity: 0;
    transition: .4s;
}

.bgimgteaser .image,
.bgimgteaser .blackoverlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    transition: .6s;
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: 50% 50%;
}

.bgimgteaser .blackoverlay {
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: .2s;
}

.bgimgteaser *,
.bgimgteaser:hover {
    color: #fff;
    text-decoration: none !important;
}

.bgimgteaser:hover>.image {
    transform: scale(1.1);
}

.bgimgteaser:hover>.text,
.bgimgteaser:hover>.blackoverlay {
    opacity: 1;
}

.half-width-image-left {
    width: calc(50vw - 7.5px);
    height: 100%;
    position: absolute;
    left: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

.half-width-image-right {
    width: calc(50vw - 7.5px);
    height: 100%;
    position: absolute;
    right: 0;
    object-fit: cover;
    object-position: 50% 50%;
}

@media ( max-width: 768px) {
    .half-width-image-left,
    .half-width-image-right {
        float: none;
        width: 100%;
        max-height: 40vw;
        position: relative;
    }
}

.bodywrap {
    margin: 0 auto 0;
}

.footer {
    background: #314DA2;
    margin: 0 auto;
    width: 100%;
    padding: 30px 0 100px 0;
    transition: transform .15s;
    color: #fff;
    text-align: left;
    border-top: 10px solid transparent;
    border-image: linear-gradient(to right, #314DA3, #DE007D) 1;
    font-size: 15px;
    hyphens: none;
}

.footer p{
    hyphens: none;
}

.footer a {
    color: #fff;
}

.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 */

.header {
    padding-top: 30px;
    padding-bottom: 00px;
    border-bottom: 10px solid transparent;
    border-image: linear-gradient(to right, #314DA3, #DE007D) 1;
    box-shadow: 0 5px 5px -5px #333 !important;
}


.logo {
    width: 240px;
}



@media ( max-width: 768px) {
    .header {
        padding-top: 15px;
        padding-bottom: 15px;
    }
    .logo {
        width: 140px;
    }
}

.imgbgheader{
    height: 30vh;
}


.content ul {
    margin: 10px 0;
    list-style: none;
}

.content ol {
    margin: 10px 0;
}

.content li {
    margin: 0 0 10px 15px;
    line-height: 1.45em;
    letter-spacing: 0.02em;
}

.content ol li {
    margin: 0 0 10px 18px;
    padding-left: 3px;
}

.content ul li:before {
    font-family: 'bootstrap-icons';
    content: '\F231';
    margin: 0 10px 0 -15px;
    color: var(--color1);
    position: absolute;
}

.content li a {
    color: #666;
}

.content li a:hover {
    opacity: .7;
}


/* VIDEO / YOUTUBE */

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper, .wp-embed-aspect-16-9 iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wp-embed-aspect-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

iframe[src*="youtube.com"]{
    width: 100% !important;
}

/* GRID */


/*<div class="grid" data-columns> */

@media ( max-width: 768px) {
    .grid[data-columns]::before {
        content: '1 .column.size-1of1';
    }
}

@media ( min-width: 769px) {
    .grid[data-columns]::before {
        content: '2 .column.size-1of2';
    }
}

@media ( min-width: 992px) {
    .grid[data-columns]::before {
        content: '3 .column.size-1of3';
    }
}

.column {
    float: left;
}

.size-1of1 {
    width: 100%;
}

.size-1of2 {
    width: 50%;
}

.size-1of3 {
    width: 33.333%;
}

.grid .item {
    padding: 0 15px 15px 15px;
}


/* 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: #aaa;
    position: absolute;
    top: 18px;
    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 {
    position: absolute;
    right: 15px;
    bottom: -200px;
    z-index: 10;
    transition: .5s;
    background: rgba(0,0,0,0.2);
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 30px;
    border-radius: 3px;
}

.arrow_up.visible {
    bottom: 15px;
}

.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: #314CA3;
        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;
    }

}

/* Change Autocomplete styles in Chrome*/

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus textarea:-webkit-autofill,
textarea:-webkit-autofill:hover textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #111 !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset !important;
    transition: background-color 5000s ease-in-out 0s;
}


@keyframes wobble {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}


.stage .bgimg{
    animation: wobble 60s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage{
    padding: 100px 0 150px 0;
    overflow: hidden;
    height: 100%;
}

.stage .bgimg{
    animation: wobble 40s linear infinite;
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
}

.stage h1{  
    font-size: 66px;
    line-height: 62px;
    color:#fff;
    font-weight: 300;
}




.stage h1 strong{  
    font-weight: 600;
}

.stage p{
    color:#fff;
    hyphens: none;
    font-size: 23px;
}

@media ( max-width: 768px) {
    .stage h1{
        font-size: 44px;
        line-height: 44px;
    }
    
.stage p{
    font-size: 18px;
}
}


.slick-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -30px !important;
    z-index: 10000;
}

.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: '';
}


.slick-prev, .slick-next{
    left: -30px;
    content:'';
    z-index: 1000;
    opacity: .6;
}

.slick-next{
    right: -30px;
    left: unset;
}

.slick-next:before{
    content:'';
}

.slick-next:after, .slick-prev:after{
    font-family: 'bootstrap-icons';
    content:'\F133';
    position: absolute;
    top:0;
    right: 0;
    font-size: 30px;
    color: #999;

}

.slick-prev:after{
    content:'\F129';
    right: unset;
    left: 0;
}

/*
.owl-nav {
    position: absolute !important;
    top:50% !important;
    width: 100%;
}

.owl-prev, .owl-next{
    color:#eee !important;
    position: absolute !important;
    top: calc(50% - 35px) !important;
    font-size: 50px !important;
}

.owl-prev{
    left:-30px;
}

.owl-prev:before{
    font-family: 'bootstrap-icons';
    content:'\F27A';
}

.owl-next{
    right:-30px;
}

.owl-next:after{
    font-family: 'bootstrap-icons';
    content:'\F27B';
}

.owl-dots {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: -40px !important;
    z-index: 100;
}

.owl-dots button {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background: #eee !important;
    border-radius: 20px;
}

.owl-dot.active {
    background: var(--color2) !important;
}
*/

.embed-responsive {
    margin-bottom: 20px;
}

.wp-block-image .alignright, .wp-block-image .alignleft {
    max-width: 40%;
}

@media ( max-width: 768px) {
    :where(.wp-block-columns.is-layout-flex) {
        gap: 0;
    }
}

.wp-block-button__link, .wpcf7-submit{
    color:#fff;
    background: #314CA3;
    font-size: 18px;    
    font-weight: 700;
    border-radius: 0;
    transition: .15s;
    border-radius: 5px;
}

.wp-block-button__link:hover, .wpcf7-submit:hover{
    color:#314CA3;
    background: #eee;
}


.wpcf7 label {
    display: unset;
}

.wp-block-table a{
    color:#111;
}

.wp-block-table a:hover{
   text-decoration: underline;
}

.wpcf7-list-item {
    display: inline-block;
    margin: 0 0 5px 0;
}

.wpcf7-list-item-label{
    padding-left: 5px;
}

.wp-block-button__link {
    height: unset;
    width: unset; 
}

.df-loading-icon{
    display: none;
}

.df-container .df-loading-info {
    background: none;
    box-shadow: none;
    padding-top: 100px;
}

.page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 6px 12px;
    color: #333;
    text-decoration: none;
    list-style: none;
    margin-top: 20px;
}

.page-numbers li{
    display: inline-block;
}

.page-numbers.current {
    font-weight: bold;
    background: #EE2D24;
    border-radius: 2px;
    color: #fff;
}

.page-numbers.dots {
    background: none;
    pointer-events: none;
}

.page-numbers a:hover{
    color:#333;
}

.page-numbers .bi{
    display: inline-block;
    position: relative;
    transform: translateY(1px);
    color: #EE2D24;
}

.right-widgets{
  font-family:  'open_sans_condensedbold', Arial, Helvetica, sans-serif;
}

.right-widgets .mini-contacts:nth-child(1) {
    background: #314DA3;
    color: #fff;
    padding-right: 20px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    opacity: 20%;
}

.right-widgets .mini-contacts:nth-child(2) {
    background: #314DA3;
    color: #fff;
    opacity: 40%;
}

.right-widgets .mini-contacts:nth-child(3) {
    background: #314DA3;
    padding-right: 25px;
    color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}



/* === Hauptmenü über volle Breite gleichmäßig verteilen === */
/* .menu-hauptmenue-container #primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  font-family:  'open_sans_condensedbold', Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.menu-hauptmenue-container #primary-menu > li {
  flex: 1 1 0;            
  position: relative;     
  text-align: left;
}

.menu-hauptmenue-container #primary-menu > li > a {
  display: flex;
  padding: 1.4rem 1rem 1.4rem 0;
  text-decoration: none;
  white-space: nowrap;     
  height: 100%;
  color: #314DA3 !important;
  opacity: 40% !important;
} */

/* Hauptmenü horizontal ausrichten */
.menu-hauptmenue-container #primary-menu {
    display: flex;
    gap: 40px;              /* ← Abstand zwischen den Menüpunkten */
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Listenelemente ohne eigenes Spacing */
.menu-hauptmenue-container #primary-menu > li {
    margin: 0;
    padding: 0;
    position: relative;
}

/* Links sauber darstellen */
.menu-hauptmenue-container #primary-menu > li > a {
  display: flex;
  padding: 1.4rem 1rem 1.4rem 0;
  text-decoration: none;
  white-space: nowrap;     
  height: 100%;
  color: #314DA3 !important;
  opacity: 40% !important;
}


.menu-hauptmenue-container #primary-menu > li > a:hover {
    opacity: 80% !important;
}


/* Aktiver/hover Zustand – optional anpassen */
.menu-hauptmenue-container #primary-menu > li > a:hover,
.menu-hauptmenue-container #primary-menu > li.current-menu-item > a,
.menu-hauptmenue-container #primary-menu > li.current_page_item > a {
  text-decoration: none;
}

/* === Chevron nur bei Items mit Untermenü === */
.menu-hauptmenue-container #primary-menu > li.menu-item-has-children > a {
  padding-right: 1.75rem; /* Platz für Chevron schaffen */
  position: relative;
}

.menu-hauptmenue-container #primary-menu > li.menu-item-has-children > a::after {
  content: "\25BE";            /* kleines ▼ */
  font-size: 0.7em;
  line-height: 1;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  pointer-events: none;
}

/* === Dropdown / Submenü === */
.menu-hauptmenue-container #primary-menu .sub-menu {
  position: absolute;
  left: -1rem;
  top: calc(100% - 20px);
  display: none;               /* ausgeblendet bis Hover/Focus */
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.5rem 0;
  background: #ffffff;         /* weißer Hintergrund */
  border-radius: 0.5rem;
  box-shadow:  0 15px 15px rgba(0,0,0,0.12);
  z-index: 9999;
  min-width: 220px;            /* angenehme Mindestbreite */
}

.menu-hauptmenue-container #primary-menu .sub-menu li a {
  display: block;
  text-align: left;
  padding: 0.6rem 1rem;
  white-space: nowrap;
  color: #314DA3 !important;
  opacity: 40% !important;
}

.menu-hauptmenue-container #primary-menu .sub-menu li a:hover {
  color: #314DA3 !important;
  opacity: 80% !important;
}

/* Hover & Tastaturbedienung */
.menu-hauptmenue-container #primary-menu > li:hover > .sub-menu,
.menu-hauptmenue-container #primary-menu > li:focus-within > .sub-menu {
  display: block;
}

/* Optional: zweite Ebene (Sub-Submenü) rechts daneben ausklappen */
.menu-hauptmenue-container #primary-menu .sub-menu .sub-menu {
  left: 100%;
  top: -0.5rem;
}

/* Kleine Robustheit gegen Theme-Styles */
.menu-hauptmenue-container #primary-menu,
.menu-hauptmenue-container #primary-menu * {
  box-sizing: border-box;
}

.mini-contacts{
    
}

.right-widgets .mini-contacts {
    padding: 5px 15px 5px 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}
.mini-contacts{
    display: -ms-inline-flexbox;
    display: -ms-inline-flex;
    display: inline-flex;
    -ms-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.videoheader, .imageheader{
    background: #314CA3;
    overflow: hidden;
}

.videoheader h1, .imageheader h1{
color:#fff;
font-size: 80px;
padding-top: 90px;
padding-bottom: 90px;
font-weight: 700;
position: relative;
z-index: 1;
hyphens: auto;
}


@media ( max-width: 768px) {
    .videoheader h1, .imageheader h1{  
    font-size: 40px;
    line-height: 50px;
    padding-top: 30px;
    padding-bottom: 30px;

}
}

.videoheader .bgvideo, .imageheader .bgimg{
    position: absolute;
    right:-110px;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    max-width: unset;
    width: 130%;
    object-fit: cover;
    z-index: 0;
}

@media ( max-width: 768px) {
    .videoheader .bgvideo, .imageheader .bgimg{
        position: relative;
        right:unset;
        bottom: unset;
        min-width: unset;
        width: 100vw;
        height: 250px;
        max-width: unset;
        object-fit: cover;
        z-index: 0;
            left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    }
}

.bluebg{
    clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    background: #314CA3;
    position: absolute;
    top: 0;
    left: 0;
    right: -50px;
    bottom: 0;
    z-index: 1;
}

.box-shadow{
    padding: 30px;
    border-radius: 4px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    background: #fff;
    margin-bottom: 30px;
}

.negativemargin{
    margin-top: -40px;
    z-index: 5;
}

@media (max-width: 768px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }
}

.zitat{
    background: #314CA3;
    padding-top: 50px;
    padding-bottom: 50px;
}

.zitat img{
   border-radius: 5px;
   margin-top: -70px;
   box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.zitat *{
color:#fff;
}

.mitgliederslider{
    padding: 90px 0;
    background: #F3F3F3;
}

.partnerslider{
    padding: 90px 0;
    background: #fff;
}

.teaser-mitglied{
    background: #fff;
    margin: 0 10px;
}

.teaser-mitglied h4{
    padding: 20px;
    margin-bottom: 0;
    color:#314CA3;
    font-size: 16px;
}

.teaser-mitglied h4 a{
    color:#314CA3;
}

.teaser-mitglied h4 a:hover{
    text-decoration: underline;
}

/* Container für die Flip-Card */
.flip-card {
  width: 100%;

  aspect-ratio: 1;
  perspective: 1000px; /* Perspektive für den 3D-Effekt */
  
}

/* Die Flip-Card selbst */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d; /* Ermöglicht den 3D-Effekt */
  transition: transform 0.8s; /* Dauer des Umdrehens */
  border: 5px solid transparent;
  border-image: linear-gradient(to right, #314DA3, #DE007D) 1;
}

/* Wenn die Karte umgedreht wird */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg); /* Um 180 Grad drehen */
    transition: transform 0.3s; /* Dauer des Umdrehens */

}

/* Vorderseite der Karte */
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden; /* Verhindert, dass die Vorderseite während der Drehung sichtbar ist */
}

/* Rückseite der Karte */
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg); /* Die Rückseite wird um 180 Grad gedreht */
  backface-visibility: hidden;
}

.bi-box-arrow-up-right{
    font-size: .9em;
    transform: translateY(-1px);
    display: inline-block;
    margin-left: 5px;
}

.teamslider img{
    width: 100%;
}

.person{
    background: #fff;
    margin: 0 10px;
}

.teamslider .text{
    position: absolute;
    bottom:0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    color:#fff;
    padding:20px 20px 10px 20px;
    font-size: 15px;
}


.download.mit_vorschau{
    padding-left: 0;
}

.download.mit_vorschau .thumbnail{
width:140px;
height:140px; 
background-color: #fff;
text-align: center;
padding: 5px;
border:1px solid #ddd;
}

.download.mit_vorschau .thumbnail div{
width: 100%;
height: 100%;
background-size: contain;
background-position: center ;
background-repeat: no-repeat;
}

.download p{
    line-height: 1.3;
    font-size: 22px;

}    

.download b a{
    color:#314CA3;
}

.download b a:hover{
    color:var(--color2);
}

.download .subline{ 
    letter-spacing: 1px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 0;
    opacity: .7;
    }

.download .icon-dot{
    width: 34px;
    height: 34px;
    border-radius: 20px;
    text-align: center;
    line-height: 34px;
    background-color: var(--color2);
    color: #fff;
    position: absolute;
    top:13px;
    left: 0;
    z-index: 5;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    font-size: 18px;
}

.bg_lightgrey{
    background: #F7F7F7;
}

.box-blue{
    background: #314CA3;
    padding: 30px;
    color:#fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    border-radius: 5px;
    margin-bottom: 30px;
}


.box-blue .wp-block-button__link{
    color:#314CA3;
    background: #fff;
    font-size: 18px;    
    font-weight: 700;
    border-radius: 0;
    transition: .15s;
    border-radius: 5px;
}

.box-blue .wp-block-button__link:hover{
    color:#314CA3;
    background: #eee;
}


.box-blue h3{
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;

}

.icons img{
    width: calc(136px / 2);
    margin-bottom: 20px;
}


.btn_blue{
    color:#fff;
    background: #314CA3;
    font-size: 16px;    
    font-weight: 700;
    border-radius: 0;
    transition: .15s;
    border-radius: 5px;
    display: inline-block;
    padding: 5px 10px;
    margin-top: 17px
}

.btn_blue:hover{
    color:#314CA3;
    background: #eee;
}

/* Liste hübsch machen + graue Linie zwischen Einträgen */
.dlm-downloads {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dlm-downloads li {
  padding: .6rem 0;
}
.dlm-downloads li + li {
  border-top: 1px solid #e5e7eb; /* hellgrau */
}

/* Link + Icon */
.dlm-downloads .download-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color:#314CA3;
}
.dlm-downloads .download-link:hover {
  text-decoration: underline;
}
.dlm-downloads .download-link i.bi {
  font-size: 1rem;
  line-height: 1;
}


@media ( max-width: 768px) {
    .header .col-8{
        display: none !important;
    }
    .menu-hauptmenue-container{
        display: none;
    }
}
