:root {
    /*colors*/

    --blue-1-color: #2c4e6c;
    --blue-2-color: #3b6c97;
    --white-color: #fff;
    --black-1-color: #333;
    --black-2-color: #00000099;
    --yellow-orange-color: #f0a20b;
    --grey-1-color: #8e98a3;
    --grey-2-color: #687584;
    --grey-3-color: #4d5258;
    --green-1-color: rgba(100, 160, 100);

    /* Footer */

    --footer-bg-color:    #0D47A1;  /* dunkles Blau */
    --footer-text-color:  #FFFFFF;  /* weißer Text */
    --footer-link-color:  #BBDEFB;  /* hellblau für Links, Hover weiter abdunkeln */
    --footer-link-hover:  #E3F2FD;
    --footer-padding:     1rem 1.5rem;
    --max-footer-width:   1200px; 
    
    /*font*/
    --default-font-family: 'Titillium regular',Helvetica,Arial,Lucida,sans-serif;
    --default-font-size: 16px;
}

* {
    font-family: var(--default-font-family);
}

main {
    display: flex;
}

.section:first-child {
    width: 100%;
    padding: 1.25rem 0;
}
.centered {
    width: 95%;
    max-width: none;
}

.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 0;
    padding-right: 0;
}

.header-language-buttons {
    cursor: pointer; 
    font-size: 12px
}

#nav_lang {
    position: relative;
    left: 1.3rem;
}

#header_wrapper {
    display: flex;
    flex-direction: row-reverse;
    padding: 30px 20px;
}

.rsImg {
    width: 100%;
    object-fit: cover;
    object-position: top left;
    height: 420px;
    mask-image: url('../images/maske.svg');
    -webkit-mask-image: url('../images/maske.svg');
    mask-position: center bottom;
    -webkit-mask-position: center bottom;
    mask-size: 100% auto;
    -webkit-mask-size: 100% 100%;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}

#sap_partner {
    position: unset;
    opacity: unset;
}

#slider_wrapper {
    background: #fff;
}

.slide_inner>.overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: transparent;
    /* max-width: 640px; */
    padding: 0px 30px;
    height: 420px;
}

.goback-button {
    margin-top: 10px;
}

.royalSlider .headline {
    font-weight: bold;
}

.headline {
    color: #fff;
}


.privacy-policy {
    color: #fff;
    font-size: 1.25rem;
}

.privacy-policy a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
}

.subtitle-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* subtitle-wrapper hat als background-image: url(assets/images/bg-waben.png) */
.subtitle-wrapper {
    width: 62.5rem;
    background-size: cover;
    background-color: rgb(231, 237, 243);
    border-radius: 20px;
    border: 1px solid #b4c0ce;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
}

.subtitle-text {
    color: rgb(77, 82, 88);
    /* margin-bottom: 1.2rem; */
    font-size: 1.2rem;
    text-align: center;
}

.subtitle-text .newsletter-unsubscribe-Text {
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
}

.subtitle-ParticipantMessage {
    color: rgb(255, 0, 0) !important;
    font-size: 1.2rem;
}

.subtitle-template {
    color: rgb(77, 82, 88);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.subtitle-privacy-policy {
    color: rgb(77, 82, 88);
    margin-bottom: 0px;
    font-size: 0.9rem;
    text-align: center;
}

.subtitle-privacy-policy a {
    font-size: 0.9rem;
}

.Full-Error-Container {
    text-align: center !important;
}

.Full-Error {
    position: absolute !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

#Arrow-Error {
    position: relative !important;
    display: inline-block !important;
    font-size: 1rem !important;
    font-weight: bold;
}
#Arrow-Error:after {
    content: " ►" !important;
    transition: all 0.3s !important;
}
#Arrow-Error.rotated:after {
    content: " ▼" !important;
}

.teaser_item>.inner {
    background-image: url(../images/bg-waben.png);
    background-color: rgb(231, 237, 243);
    border-radius: 20px 20px 20px 20px;
}

.teaser_item img {
    border-radius: 20px 20px 0 0;
    padding: 0;
}

.InfoBox-Button {
    margin-right: 3px;
}

a {
    text-decoration: none;
    color: var(--yellow-orange-color);
    font-size: 1.2rem;
    font-weight: bold;
}

a:hover, a:focus {
    text-decoration: none;
    color: var(--yellow-orange-color);
}

ul li::before {
    color: #35668b;
}

tr:last-child {
    border: 1px solid transparent;
    /* border-top-width: 50px; */
}

.table-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem 0;
    padding: 1rem 0;
}

table {
    margin-bottom: 0;
    border-spacing: 0;
    border-bottom: 0px solid transparent;
    /* max-width: 950px; */
    align-self: center;
}

td ul {
    margin-left: 0;
}

table th {
    font-weight: 400;
    font-size: 1rem;
    border-bottom: 1px solid #fff;
    color: #35668b !important;
}

th {
    color:#35668b;
    font-size: 1.25rem !important;
    font-weight:bold !important;
    border-bottom: 1px solid #fff;
}
  

table tr:nth-child(2n) th, table tr:nth-child(2n) td {
    background-color: #fff;
}

table td {
    border-bottom: 0px solid transparent;
}


/* Stil für die Checkboxen */
input[type="checkbox"] {
    /* Verstecke das Standard-Checkbox-Symbol */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Setze die gewünschte Größe und Farbe des Hakens */
    width: 16px;
    height: 16px;
    border: 2px solid #f0a20b;
    border-radius: 4px;
    background-color: #fff;
    /* Zentriere das X-Symbol */
    position: relative;
    bottom: -5px;
}

/* Stil für den angehakten Zustand */
input[type="checkbox"]:checked {
    /* Setze die gewünschte Hintergrundfarbe für den angehakten Zustand */
    background-color: #f0a20b;
}

/* Stil für das Hakensymbol */
input[type="checkbox"]:checked::before {
    /* Zeigt ein weißes "X" als Symbol */
    content: "X";
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-align: center;
    color: #fff; /* Setze die gewünschte Farbe des Symbols */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Stil für die Texte neben den Checkboxen */
ul li {
    margin-bottom: 5px;
    padding-left: 0;
}

li::before {
    display: none;
}


input[type="button"], input[type="reset"], input[type="submit"] {
    background-color: transparent;
    color: var(--yellow-orange-color);
    border-color:var(--yellow-orange-color);
    border: 2px solid var(--yellow-orange-color);
    border-width: 2px;
    border-radius: 50px;
    padding: 10px 10px;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 20px;
}
  
#Button:hover {
    color: #fff;
    background-color: var(--yellow-orange-color);
}

.goback-button {
    background-color: var(--white-color);
}

button {
    background-color: transparent;
    color: var(--yellow-orange-color);
    border-radius: 1px solid var(--yellow-orange-color);
    border-color:var(--yellow-orange-color);
    border: 2px solid var(--yellow-orange-color);
    border-width: 2px;
    border-radius: 50px;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
}
 
button:hover {
    color: #fff;
    background-color: var(--yellow-orange-color);
}

.large_button {
    display: inline-block;
    padding: 10px 20px;
    color: var(--yellow-orange-color);
    border: 1px solid var(--yellow-orange-color);
    border-radius: 50px;
    text-decoration: none;
}

.large_button:hover {
    background-color: var(--yellow-orange-color);
    color: var(--white-color);
}

.util-navigation>.util-prev:hover span,.util-navigation>.util-next:hover span {
    color: var(--yellow-orange-color);
}

h1 {
    font-size: 3.286rem !important;
}

h2 {
    font-size: 1.929rem !important;
}

h3 {
    font-size: 1.571rem !important;
}

h4 {
    margin-top: 1.875rem;
    margin-bottom: 0.938rem;
    font-weight: bold;
    /* font-size: 1.5rem !important; */
}

h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover {
    color: var(--yellow-orange-color)
}

.subheadline {
    color: var(--yellow-orange-color);
    font-size: 1.25rem;
    margin-top: -20px
}

.teaser_item img {
    border: none;
}

.teaser_item:hover h3,
.teaser_item:hover h3 a,
.teaser_item:hover h4,
.teaser_item:hover h4 a,
.teaser_item:hover p,
.teaser_item:hover .post_image a:hover,
.teaser_item:hover time,
.teaser_item:hover em {
    color: var(--yellow-orange-color);
}


/*.margin_bottom {
    color: var(--grey-1-color); 
}*/

.margin_bottom:hover {
    color: var(--yellow-orange-color);
}

#footer_wrapper {
    padding: 0 0 0 0;
    line-height: 200%;
    position: absolute;
    bottom: auto;
    width: 100%;
    display: inline-block;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px
}

.flexbox-footer-maringo span a {
  color:             var(--white-color);
  text-decoration:   none;
  transition:        color 0.2s ease;
}

footer a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    font-family: var(--default-font-family);
    float: right;
}

footer a:hover {
    color: var(--footer-link-color);
}

.bg_blue {
    background-image: linear-gradient(90deg, #2c4e6c 0%, #3b6c97 100%);
}

p {
    margin-bottom: 0px;
}

.large_button  {
    background-color: transparent;
    float: right;
}

#SEFDB_Content {
    position: relative;
    display: inline-block;
}

#SEFDB_Content:after {
    content: "▼";
    transition: all 0.3s;
}

#SEFDB_Content.rotated:after {
    content: "►";
}

.content-header {
    color: #35668b;
    font-size: 1.25rem;
}
#AddButton:hover {
    background-color: var(--yellow-orange-color);
}

.InfoBox {
    font-size: 1.25rem;
    padding-bottom: 0.8rem
}

.InfoBox-nopadding {
    font-size: 1.25rem;
    /* padding-bottom: 0.8rem */
}

.InfoBox-Error {
    color:red;
    font-size:1.25rem;
    font-weight: bold;
    padding-bottom: 0.8rem;
    margin: auto;
}

.ShowEventFromDB-List ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-left: 50px;
}

.ShowEventFromDB-List ol {
    padding-left: 20px;
    margin-left: 50px;
}

.ShowEventFromDB-List h2 {
    padding-top: 20px
}
.ShowEventFromDB-List h3 {
    padding-top: 20px
}
.bg_green {
    background-color: #316d33;
}
.flexbox-footer-maringo {
    display: flex;
    justify-content: space-around;
    color: #fff;
    font-family: var(--default-font-family);
    font-size: 1rem;
    font-weight: bold;
    align-items: center;
}
.footer-separator {
  color: #fff;
  font-weight: normal;
  font-size: 1.1em;
}
.flexbox-footer-maringo span {
    position: relative;
}
.left-footer-maringo {
    font-weight: bold;
}
.right-footer-maringo {
    color: white
}
.newsregistrationfree h3 {
    color: #35668b;
    font-weight: bold;
}
.no-event-box-wrapper {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    width: 270px;
    height: auto;
    background-image: url(../images/bg-waben.png);
    background-color: rgb(231, 237, 243);
    border: 1px solid transparent;
    border-radius: 50px;
}
.no-event-box-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.2rem;
    color: rgb(77, 82, 88);
}
.newsletter-topics-header-color {
    color:#35668b;
    font-weight: bold;
}
.section {
    padding: 20px 0;
}
.large-font {
    font-size: 3rem !important; 
}
.medium-font{
    font-size: 1.875rem !important;
}
.small-font{
    font-size: 1.3rem !important;
}
.small-width {
    max-width: 50% !important;
}
.large-width {
    max-width: 100% !important;
}
#content_wrapper {
    flex-direction: column;
    padding: 1.25rem 0;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#page_wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: none;
}

.bg_bordered {
    border-top: unset;
    border-bottom: unset;
}

.teaser_extended.section {
    padding: 1.25rem 0;
}

@media (min-width: 769px) and (max-width: 1260px) { 
    tr{
        display: flex;
        flex-direction: column;
    }
}


@media (min-width: 481px) and (max-width: 768px) {
    .rsImg {
        width: 100%;
        object-fit: cover;
        object-position: center center;
        mask-size: 100% 100%;
    }
    .flexbox-footer-maringo > .footer-item:not(:last-child)::after {
        content: "|";
        margin: 0.5em 0;
        color: #a020f0; 
    }
    .left-footer-maringo {
        padding-top: 0.714rem;
    }
    .right-footer-maringo {
        padding-bottom: 0.714rem;
    }
    .right-footer-maringo {
        padding-top: 0.714rem;
        padding-bottom: 0.714rem;
    } 
     .flexbox-footer-maringo {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 16px;
    }
    .flexbox-footer-maringo span {
        font-size: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .footer-separator {
        display: none !important;
    }

    .flexbox-footer-maringo span:not(:last-child)::after {
        content: "";
        display: block;
        width: 100%;
        border-top: 1px solid var(--white-color);
        margin: 10px auto 0;
    }
    .center-footer-maringo {
        padding-top: 10px;
    }
    
    .center-footer-maringo::after {
        content: "";
        display: block;
        width: 80%;
        border-top: 1px solid var(--white-color);
        margin: 10px auto 0;  
    }
    tr{
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) { 
    .rsImg {
        object-fit: cover;
        object-position: center center;
        mask-size: 100% 100%;
    }
    h4 {
        font-size: 1.5rem;
    }
    #content_wrapper {
        font-size: 16px;
    }
    .flexbox-footer-maringo > .footer-item:not(:last-child)::after {
        content: "|";
        margin: 0.5em 0;
        color: #a020f0; 
    }
    .left-footer-maringo {
        padding-top: 0.714rem;
    }
    .right-footer-maringo {
        padding-bottom: 0.714rem;
    }
    .right-footer-maringo {
        padding-top: 0.714rem;
        padding-bottom: 0.714rem;
    } 
     .flexbox-footer-maringo {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 16px;
    }
    .flexbox-footer-maringo span {
        font-size: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .flexbox-footer-maringo span:not(:last-child)::after {
        content: "";
        display: block;
        width: 100%;
        border-top: 1px solid var(--white-color);
        margin: 10px auto 0;
    }

    .footer-separator {
        display: none !important;
    }

    .center-footer-maringo {
        padding-top: 10px;
    }
    
    .center-footer-maringo::after {
        content: "";
        display: block;
        width: 80%;
        border-top: 1px solid var(--white-color);
        margin: 10px auto 0;  
    }
    tr{
        display: flex;
        flex-direction: column;
    }
    input[type="button"],
    input[type="reset"],
    input[type="submit"] {
        float: none;
        margin-right: unset ;
    }
}

@media (max-width: 315px) {
    #sap_partner {
        display: none;
    }
}