/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    overflow-x: hidden;
}

ol,
ul,
li {
    list-style: none;
    padding: 0;
}

main ul {
    margin: 3rem 0;
    padding: 0;
}

main ul li {
    margin: 1.2rem 1.875rem;
    font-weight: 400;
    list-style-type: disc;
}

.unterseite main section p a {
    color: #007198;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: #009BD3;
}

strong {
    font-family: 'bundessans_webbold', Arial, sans-serif;
    font-weight: normal;
}

b {
    font-family: 'bundessans_medium', Arial, sans-serif;
    font-weight: normal;
}

.free {
    margin: 0 !important;
    padding: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    word-break: break-word;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
    font-family: 'bundessans_webbold', Arial, sans-serif;
}

/* Reset css STOP*/
/* EINBINDUNG WEBFONT ----------------------*/
@font-face {
    font-family: 'bundessans_webbold';
    src: url('fonts/bundessansweb-bold-webfont.woff2') format('woff2'), url('fonts/bundessansweb-bold-webfont.woff') format('woff'), url('fonts/bundessansweb-bold-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bundessans_webbold_italic';
    src: url('fonts/bundessansweb-bolditalic-webfont.woff2') format('woff2'), url('fonts/bundessansweb-bolditalic-webfont.woff') format('woff'), url('fonts/bundessansweb-bolditalic-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bundessans_webitalic';
    src: url('fonts/bundessansweb-italic-webfont.woff2') format('woff2'), url('fonts/bundessansweb-italic-webfont.woff') format('woff'), url('fonts/bundessansweb-italic-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bundessans_webregular';
    src: url('fonts/bundessansweb-regular-webfont.woff2') format('woff2'), url('fonts/bundessansweb-regular-webfont.woff') format('woff'), url('fonts/bundessansweb-regular-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bundessans_medium';
    src: url('fonts/bundessans-medium-webfont.woff2') format('woff2'), url('fonts/bundessans-medium-webfont.woff') format('woff'), url('fonts/bundessans-medium-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bundessans_mediumitalic';
    src: url('fonts/bundessans-mediumitalic-webfont.woff2') format('woff2'), url('fonts/bundessans-mediumitalic-webfont.woff') format('woff'), url('fonts/bundessans-mediumitalic-webfont.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

/* END EINBINDUNG WEBFONT ----------------------*/
body {
    font-family: 'bundessans_webregular';
    color: #000;
    font-size: 1rem;
}

i {
    margin-right: 10px;
}

em {
    font-family: 'bundessans_webitalic';
    font-style: normal;
}

a:hover {
    opacity: 0.8;
}

.ce-border video {
    border: 1px solid #000;
}
/* FARBEN */
.txt-blue,
a:hover {
    color: #135C93;
}

.blue {
    background-color: #135C93;
}

.txt-lightblue {
    color: #009BD3;
}

.lightblue {
    background-color: #009BD3;
}

.softblue {
    background-color: #E5F9FF;
}

.txt-white {
    color: #fff;
}

/* END FARBEN */

/* HEADER HAUPTNAVIGATION */
.nav-item {
    padding: 0 1%;
}

.nav-item,
.navbar-expand-xl .navbar-nav .nav-link {
    color: #000;
    text-transform: uppercase;
    font-family: 'bundessans_webbold';
    font-size: calc(16px + (24 - 16) * (100vw - 1200px) / (2600 - 1200));
}

#navigationwrapper.fixed-top .nav-item,
#navigationwrapper.fixed-top .navbar-expand-xl .navbar-nav .nav-link{
    font-size: 1.25rem;
}

.nav-item .nav-link.active {
    color: #135C93;
    background: transparent;
}

.dropdown-menu {
    min-width: unset;
}

#navbarDropdown .dropdown-menu .dropdown-item {
    padding: unset;
}

.dropdown-toggle::after {
    display: none;
}

/* Nur auf Geräten mit Mouse-Hover (Desktop ab XL-Breakpoint) */
@media (min-width: 1200px) {
    .custom-hover-dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0; /* Verhindert Gap zwischen Link und Menü */
    }
}

/* Optional: Korrektur für die Anzeige des Dropdown-Pfeils */
.custom-hover-dropdown .dropdown-toggle::after {
    vertical-align: middle;
}

header .language.btn.dropdown-toggle,
header .language.btn.dropdown-toggle:hover,
header .language.btn.dropdown-toggle.show,
.dropdown-menu.show {
    border: 0px;
}

.language.dropdown-toggle::after {
    display: none;
}

#navbarDropdown {
    justify-content: start;
    display: flex;
}

.navbar-toggler {
    background-color: #fff;
    border: 0px;
}

.navbar-brand img {
    max-width: 70px;
}

.bi-search::before {
    font-size: 1.6rem;
}

/* MOBILES MENÜ */
@media (max-width: 992px) {
    .navbar-collapse > ul {
        background: #fff;
        margin: 0px;
        height: auto;
        padding: 10px;
    }
}


/* END MOBILES MENÜ */


body.eventspage #navbarSupportedContent{
  display: none!important;
}
/* END HEADER HAUPTNAVIGATION */

main .container,
main .container-fluid {
    margin: 100px auto;
}

.ambiente {
    /*background-image: url(../media/wirkungsbereich-mercosur-ptb.png);*/
    background-position: right top;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100vH;
    max-height: 500px;
}

.ambiente.unterseite {
    background-image: unset!important;
}

.unterseite .row.position-absolute {
    width: 100%;
}

.unterseite .row.position-absolute .overlay {
    transform: scaleX(-1);
    width: auto;
}

.container-fluid.bg-image {
    position: relative;
    height: auto;
    min-height: 100vH;
}

.container-fluid.bg-image::before {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    content: '';
    background-image: var(--bgimage);
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(var(--blur));
    -webkit-filter: blur(var(--blur));
}

.container-fluid .image {
    height: auto;
    /*min-height: 100vH;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../media/mercosur-suedamerika.jpg);*/
}

.container-fluid .image.blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.container-fluid .container.bg-image-content {
    height: auto;
    min-height: 100vH;
    position: relative;
    top: 0px;
    z-index: 3;
    margin-bottom: 0px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
}



.left-shine {
    position: absolute;
    background-image: url(../images/shine.png);
    height: 285px;
    width: auto;
    min-width: 713px;
    z-index: 1000;
    left: 0;
}

.header-shine {
    left: 0;
    width: 100%;
    position: absolute;
    height: 50vH;
    max-height: 500px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(168, 235, 255, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(168, 235, 255, 1) 100%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(168, 235, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#a8ebff", GradientType=1);
    z-index: 1;
}

.header-shine.white {
    left: 0;
    width: 100%;
    position: absolute;
    height: 50vH;
    max-height: 500px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5522409647452731) 48%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5522409647452731) 48%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5522409647452731) 48%, rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#ffffff", GradientType=1);
    z-index: 1;
    top: -22px;
}

.footer-shine.white {
    left: 0;
    width: 100%;
    position: absolute;
    height: 500px;
    min-height: 500px;
    background: rgb(255, 255, 255);
    background: -moz-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#a8ebff", GradientType=1);
    z-index: 1;
    bottom: -22px;
}


.blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

header {
    position: absolute;
    width: 98%;
    z-index: 1005;
}

main header {
    position: inherit;
}

.intro {
    top: 340px;
    position: relative;
    z-index: 1001;
}

.dce_button {
    margin: 1rem 0;
}

.btn.btn-primary {
    background: rgb(16, 160, 82);
    background: -moz-linear-gradient(270deg, rgba(16, 160, 82, 1) 0%, rgba(0, 155, 211, 1) 100%);
    background: -webkit-linear-gradient(270deg, rgba(16, 160, 82, 1) 0%, rgba(0, 155, 211, 1) 100%);
    background: linear-gradient(270deg, rgba(16, 160, 82, 1) 0%, rgba(0, 155, 211, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#10a052", endColorstr="#009bd3", GradientType=1);
    color: #fff;
    border-radius: 25px;
    text-transform: uppercase;
    font-family: 'bundessans_medium';
    border: 0px;
    padding: 0.2rem 1rem 0.1rem 1rem;
    width: fit-content;
    margin: 0.188rem 0;
}

.icon-row i {
    color: #135C93;
}

.icon-row .col-12 {
    margin-top: 1rem;
}

main {
    padding-top: 100px;
}

.dce_50image50text .img-fluid.w-100 {
    min-height: 100%;
    object-fit: cover;
}

/* FONTS MOBIL ------------------------------- */
body p {
    font-family: 'bundessans_webregular';
    color: #000;
    line-height: 1.8rem;
    margin-bottom: 2rem;
}

p.author {
    font-size: 0.613rem;
    color: #135C93;
    position: absolute;
    bottom: 0px;
    right: 5%;
}

.btn {
    font-size: 0.95rem;
}

.btn i {
    font-size: 1rem;
}

.geographic p {
    font-size: 1.25rem;
}

h1,
h2,
h3 {
    font-family: 'bundessans_webbold';

}

h1,
h2.big {
    font-size: 2.375rem;
    line-height: 3.5rem;
}

h2 {
    text-transform: uppercase;
}

h2.text-notransform {
    text-transform: inherit;
}

.introtitle,
h3 {
    font-size: 1.25rem;
    line-height: 1.8rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.runtime {
    font-size: 1rem;
    font-family: 'bundessans_medium', Arial, sans-serif;
    font-weight: normal;
    margin-top: 1rem;
    color: #135C93;
}

/* END FONTS MOBIL ------------------------------- */


/* SECTION TYPES */
.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.intro-text {
    padding-right: 5%;
    padding-left: 5%;
}

.decoration {
    min-height: unset;
    margin-top: unset;
    padding-top: unset;
}


.container.softblue {
    border-radius: 10px;
}

/* END SECTION TYPES */



/* FOOTER */
.decoration {
    background-image: url(../images/footer-bg.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding-top: 10%;
    min-height: 755px;
    margin-top: 300px;
}

footer .container-fluid {
    background: rgb(84, 216, 255);
    background: -moz-linear-gradient(184deg, rgba(84, 216, 255, 0.25) 0%, rgba(84, 216, 255, 0) 100%);
    background: -webkit-linear-gradient(184deg, rgba(84, 216, 255, 0.25) 0%, rgba(84, 216, 255, 0) 100%);
    background: linear-gradient(184deg, rgba(84, 216, 255, 0.25) 0%, rgba(84, 216, 255, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#54d8ff", endColorstr="#54d8ff", GradientType=1);
    min-height: 255px;
}

footer .nav-link {
    padding: 3.5rem 0 2.6rem 0;
    color: #135C93;
    text-transform: uppercase;
    font-family: 'bundessans_webbold';
}

footer .navbar-brand {
    padding-bottom: 3.5rem;
}

footer ul li {
    line-height: 3rem;
}

footer .subline {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding-bottom: 100px;
}

footer .subline a {
    padding: 0 3rem;
    color: #009BD3;
    line-height: 3rem;
}

body.eventspage footer .col-12.col-lg-2{
  display: none;
}

/* END FOOTER */


.accordion-button[aria-expanded="false"] i.bi:before {
    content: '\F4F9';
}

.accordion-button[aria-expanded="true"] i.bi:before {
    content: '\F2E5';
}


.dce_team .team-members img,
.dce_team .team-members .imagebox {
    height: auto;
    width: 100%;
}

@media (min-width: 589px) {

    .dce_team .team-members img,
    .dce_team .team-members .imagebox {
        height: 230px;
        width: 230px;
    }
}

.dce_team .team-members .imagebox {
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.32);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.32);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.32);
}


.dce_team .team-members .imagebox .title {
    bottom: 0;
    left: 0;
    z-index: 9;
    color: #fff;
    font-size: 18px;
    width: 100%;
}

.dce_team .team-members .imagebox .title h4 {
    color: #fff;
    font-family: 'bundessans_webbold', sans-serif;
    font-size: 22px;
    margin-bottom: 0.3rem;
}

.dce_team .team-members .imagebox .title p {
    line-height: 1.5rem;
    margin-bottom: 0px;
}

.dce_team .team-members .imagebox::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    content: '';
}

.dce_team .team-members .imagebox::after {
    background: transparent linear-gradient(0deg, #135C93 0%, #FD661A00 60%) 0% 0% no-repeat padding-box;
}


.dce_team .team-members .imagebox .hoverbox {
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    color: #fff;
    z-index: 10;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
    background-color: #135C93;
}

.dce_team .team-members .imagebox .hoverbox p {
    color: #fff;
    font-family: 'bundessans_mediumitalic';
    font-size: 1.125rem;
    line-height: 1.5rem;
}

.dce_team .team-members .imagebox .hoverbox span {
    margin-bottom: 0;
    font-size: 18px;
}

.dce_team .team-members .imagebox .hoverbox a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    text-decoration: none;
    width: 200px;
    float: left;
    font-family: 'bundessans_webregular';
    font-size: 1.1rem;
}

.dce_team .team-members .imagebox:hover .hoverbox {
    opacity: 1;
    visibility: visible;
}

/*
.calendarize .calendarize-item h4 {
    font-size: 1.25rem;
    line-height: 2.5rem;
    font-family: 'bundessans_webregular';
}*/

.calendarize .calendarize-item span.date {
    font-size: 1.625rem;
    font-family: 'bundessans_webbold', sans-serif;
    color: #009BD3;
}

.calendarize .calendarize-item h4 {
    font-size: 1.375rem;
    font-family: 'bundessans_webbold', sans-serif;
}


#searchwrapper {
    background: rgba(0, 0, 0, .6);
    display: none;
    animation-name: hidesearch;
    animation-duration: 2s;
}

#searchwrapper.open {
    display: block;
    z-index: 1070;
    animation-name: showsearch;
    animation-duration: 2s;
}

#searchwrapper a:hover {
    color: #fff;
}

#searchwrapper form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#searchwrapper form input#ke_search_searchfield_sword {
    /*background: transparent;*/
    border: none;
    /*color: #fff;*/
    border-bottom: 2px solid #fff;
    width: 50%;
    padding: 10px;
}

#searchwrapper form button[type='submit'] {
    position: relative;
    border: none;
    cursor: pointer;
    display: flex;
    width: auto;
    color: #fff;
    background: transparent;
}

@keyframes showsearch {
    0% {
        opacity: 0;
        z-index: 1070
    }

    100% {
        opacity: 1;
        z-index: 1070
    }
}

@keyframes hidesearch {
    0% {
        opacity: 1;
        z-index: 1070
    }

    100% {
        opacity: 0;
        z-index: 0
    }
}


/* EVENT REGISTRATION */
.news .teaser-text a.more .text-white {
    color: #135C93 !important;
}

.news-single .footer {
    border-top: 0px;
}

.news .footer span {
    border-right: 0px;
}

/* END EVENT REGISTRATION */


/* EVENT POP UP */

.modal-content h2,
.news-single h2 {
    color: #135C93;
    /*font-size:2rem;
    line-height:2.2rem;*/
    text-transform: unset;
    color: #135C93;
}

.modal-content h3 {
    color: #135C93;
    /*font-size:1.75rem;
    line-height:2rem;*/
}

.calendarize .calendarize-item a h4 {
    color: #135C93;
}

.media-body.mb-4 {
    margin-bottom: 3rem !important;
}

/* END EVENT POP UP */



body.team {
    background-image: url('../media/mercosur-team-honeycomb-bg-04.jpg');
    background-position: top right;
    object-fit: contain;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.eventspage h2{
    color:#135C93;
    text-transform: unset;
}

.eventspage .ce-gallery img{
    width:100%;
    max-width:100%;
    height:auto;
    object-fit: cover;
    margin-bottom:2rem;
}


.navbar-brand .d-flex.align-items-end img:nth-of-type(1) {
  height: 45px;
  width: auto;
  max-width: unset;
}

.navbar-brand .d-flex.align-items-end img:nth-of-type(2), .navbar-brand .d-flex.align-items-end img:nth-of-type(3), .navbar-brand .d-flex.align-items-end img:nth-of-type(4){
    max-width:unset;
    height:50px;
}   

.fixed-top {
    top: -40px;
    transform: translateY(40px);
    transition: transform .3s;
    border-bottom: 1px solid #000;
}


.navbar > .container-fluid{
    flex-wrap: wrap;
}

/* START RESPONSIVE ------------------------------------------------------------------------------------------*/

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
    .container {
        max-width: 90%;
    }
}
@media (max-width: 576px) {

    .navbar-brand .d-flex.align-items-end img:nth-of-type(1){
        height:auto;
        width:40%;
    }
     
    .navbar-brand .d-flex.align-items-end img:nth-of-type(2), .navbar-brand .d-flex.align-items-end img:nth-of-type(3), .navbar-brand .d-flex.align-items-end img:nth-of-type(4){
        height:auto;
        width:20%;
    }
}

/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .container {
        max-width: 760px;
    }
}

/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .container {
        max-width: 970px;
    }

    .ambiente {
        height: 100vH;
        max-height: 830px;
    }

    .ambiente.smaller {
        height: 100vH;
        max-height: 530px;
    }



}


/* ----------- ANMUTUNG MOBILE NAVIGATION */
@media (max-width: 991px) {
    .navbar-nav {
        background: #fff;
        border-radius: 10px;
        padding: 1rem;
        -webkit-box-shadow: 1px 0px 5px 0px rgba(130, 130, 130, 0.66);
        -moz-box-shadow: 1px 0px 5px 0px rgba(130, 130, 130, 0.66);
        box-shadow: 1px 0px 5px 0px rgba(130, 130, 130, 0.66);
    }

    .nav-item,
    .navbar-expand-xl .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
}

/* ----------- END ANMUTUNG MOBILE NAVIGATION */




/* X-Large devices (large desktops, 1200px and up) ----> FONTS DESKTOP*/
@media (min-width: 1200px) {
    .container {
        max-width: 90%;
    }

    .accordion {
        padding: 0 10%;
    }

    /*.navbar-expand-xl .navbar-nav .nav-link {
font-size: 1.45rem;
    }*/
}






/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
    .container {
        max-width: 1390px;
    }

    .navbar-brand img {
        max-width: 107px;
    }

    .intro-text {
        padding-right: 15%;
    }

    /* FONTS DESKTOP */
    body,
    body p {
        font-size: 1.25rem;
        line-height: 1.875rem;
    }

    body p {
        margin-bottom: 2.5rem;
    }

    p.author {
        font-size: 0.713rem;
        right: 25%;
    }

    .btn {
        font-size: 1.125rem;
    }

    .btn i {
        font-size: 1.2rem;
    }

    .geographic p,
    .icon-row {
        font-size: 1.375rem;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin: 1rem 0 1.5rem 0;
    }

    h1,
    h2.big {
        font-size: 4.375rem;
        line-height: 5.5rem;
    }

    h2 {
        font-size: 3.125rem;
        line-height: 3.6rem;

    }

    .introtitle,
    h3 {
        font-size: 1.875rem;
        line-height: 2.5rem;
    }

    .runtime {
        font-size: 1.375rem;
    }

    footer .subline {
        font-size: 1rem;
    }

    /* END FONTS DESKTOP */


}

/* XXX-Large devices */
@media (min-width: 1680px) {
    .container {
        max-width: 1640px;
    }

    body.team {
        object-fit: cover;
    }

    /*.ambiente.smaller {
        max-height: 730px;
    }*/

}