/* Variables */

:root {
  --blue: #222240;
  --red: #B23B50;
  --paddingbottom: 200px;
  --marginbottom: 200px;
}


/* Fonts */

@font-face {
    font-family: 'robotobold';
    src: url('/assets/fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('/assets/fonts/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotomedium';
    src: url('/assets/fonts/roboto-medium-webfont.woff2') format('woff2'),
         url('/assets/fonts/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoregular';
    src: url('/assets/fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('/assets/fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


h1 {
	font-size: 32px;
	font-family: 'robotomedium';
	color: var(--blue);
}

h2 {
	font-size: 24px;
	font-family: 'robotomedium';
	color: var(--blue);
}

@media only screen and (max-width: 540px) {
	h1 {
		font-size: 28px;
	}
}

/* Color */

.font-blue {
	color: var(--blue);
}

.font-red {
	color: var(--red);
}

/* Space */

.pb-200 {
	padding-bottom: 200px;
}

.pb-100 {
	padding-bottom: 100px;
}

@media only screen and (max-width: 540px) {
	.pb-200 {
		padding-bottom: 70px;
	}
}

.social-icons .bi-linkedin {
	transition: width 2s, height 2s, color 2s, transform 1s;
	width: 32px;
	height: 32px;
}

.social-icons .bi-linkedin:hover {
	width: 32px;
	height: 32px;
  	transform: rotate(30deg);
}

.bi-twitter {
	transition: width 2s, height 2s, color 2s, transform 1s;
	width: 32px;
	height: 32px;
}

.bi-twitter:hover {
	width: 32px;
	height: 32px;
  	transform: rotate(30deg);
}


/* Allgemein */

body {
	background: #F5F8F4;
	font-family: 'robotoregular';
}

.wrapper {
	max-width: 2560px;
	margin: 0 auto;
    box-shadow: 0px 5px 14px #dcdcdc;
    overflow-x: hidden;
}

.introtext {
	font-size: 18px;
}

.introtext h1 {
	font-size: 26px;
	font-family: 'robotomedium';
	margin-bottom: 20px;
	text-transform: uppercase;
}


/* Navigation */

.navbrand {
	margin-right: 250px;
}

@media only screen and (max-width: 1500px) {
	.navbrand {
		margin-right: 60px;
	}


}

.search .calltoaction {
	margin-right: 46px;
}

@media only screen and (min-width: 1530px) {
	.search .calltoaction {
		margin-right: 100px;
	}
}

.mainnav {
	margin-right: 80px;
	margin-left: 80px;
}

.topnav .topnav_links {
	margin-right: 80px;
}

.topnav .topnav_links a {
	padding: 5px 10px;
	font-size: 18px;
	color: black;
}

.topnav .topnav_links a:hover {
	color: #AF3F57;
}

.topnav .topnav_links a.active {
	color: #AF3F57;
}



.topnav .topnav_links .lang {
	padding: 5px 1px;
}

/* Responsiv Desktop-Navigation */
@media only screen and (max-width: 1140px) {
  .topnav {
  	display: none !important;
  }
  .megamenu {
  	display: none !important;
  }
  .search {
  	display: none !important;
  }

  .navbrand {
  	margin-top: 30px;
  }

  .mainnav {
    margin-right: 40px;
    margin-left: 40px;
  }

  .mainnav svg {
  	width: 160px;
  }

}

@media only screen and (max-width: 540px) {
	.mainnav {
    	margin-right: 25px;
    	margin-left: 25px;
  }
}


/* The dropdown container */

.megamenu {
	float: left;
	overflow: hidden;
}

.megamenu ul {
    padding-left: 0px;
    list-style-type: none;
}

.megamenu ul li {
    padding: 10px;
}

.megamenu .link-menu {
	font-family: 'robotobold';
	font-size: 22px;
	color: white;
	text-decoration: none;
	padding: 10px;
}

.megamenu .link-submenu {
	font-family: 'robotoregular';
	font-size: 18px;
	color: white;
	text-decoration: none;
	display: block;
  	text-align: left;
  	padding: 10px;
  	margin-left: 15px;
}


/* Dropdown button */
.megamenu .dropbtn {
	font-size: 30px;
	border: none;
	outline: none;
	padding: 14px 16px;
	font-family: 'robotomedium';
	margin: 0;
	text-transform: uppercase;
	background: transparent;
}

@media only screen and (max-width: 1500px) {
	.megamenu .dropbtn {
		font-size: 23px;
	}
}

.blue .dropbtn {
	color: var(--blue);
}

.red .dropbtn {
	color: var(--red);
}

.blue .dropdown-content a:hover {
	color: #A5ACB8;
}

.red .dropdown-content a:hover {
	color: #DEADB5;
}

/* Add background color to navbar links on hover */
.blue:hover .dropbtn {
	background-color: #222240;
}

.red:hover .dropbtn {
	background-color: #B23B50;
}

.megamenu:hover .dropbtn {
	color: white;
}


/* Dropdown content (hidden by default) */
.dropdown-content {
	display: none;
	position: absolute;
	width: 100%;
	left: 0;
	z-index: 999999;
	padding-top: 80px;
	padding-bottom: 80px;
}

.blue .dropdown-content {
	background-color: #222240;
}

.red .dropdown-content {
	background-color: #B23B50;
}

/* Show the dropdown menu on hover */
.megamenu:hover .dropdown-content {
  	display: block;
}


/* Mobile Menu */
.toggle-trigger {
    position: absolute;
    top: 0px;
    left: -1000px;
}

.mobile-menu ul {
	list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.mobile-menu ul li {
	margin: 7px 0px;
	font-family: 'robotobold';
}

.mobile-menu ul li a {
	color: #222240;
}

.mobile-menu .sublinks a {
	margin: 7px 0px;
	display: block!important;
	color: #222240;
	font-family: 'robotoregular';
}

.offcanvas-header {
    padding: 1rem 1rem;
    height: 100px;
}

.mobile-link {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    overflow-anchor: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease;
}

.accordion-flush .link-item {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #222240;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-button-red:not(.collapsed) {
    color: #fff;
    background-color: #B23B50;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}


.accordion-button:focus {
    z-index: 3;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0rem rgb(13 110 253 / 25%);
}

.offcanvas-header {
    display: block;
    padding: 1rem 2rem;
}



/* Hamburger */
.navbar-toggler {
    position: fixed;
    right: 2%;
    margin: 0;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform .45s;
    z-index: 1060;
    width: 60px;
    height: 60px;
    background: #222240;
    border-radius: 50px;
    position: fixed;
    top: 45px;
    right: 12px;
    line-height: 28px;
}

@media only screen and (min-width: 1140px) {
	.navbar-toggler {
		display: none;
	}
 }

label[for="main-navigation-toggle"] svg {
    margin: 0 auto;
    display: block;
    width: 24px;
    height: 100%;
}


label[for="main-navigation-toggle"] {
    width: 50px;
    height: 50px;
    fill: white;
    border: none;
}

#main-navigation-toggle.ready:checked + .wrapper .navbar-toggler, 
#main-navigation-toggle.ready:checked ~ .navbar-toggler {
    transform: rotate(-45deg);
}


/* Footer */
footer {
	background: white;
	padding-top: 130px;
	padding-bottom: 130px;
	font-size: 22px;
}

.footer-logo svg {
    width: 350px;
    height: auto;
}

@media only screen and (max-width: 1200px) {
	footer {
		font-size: 20px;
	}

	.footer-logo svg {
	    width: 260px;
	    height: auto;
	}
}

@media only screen and (max-width: 991px) {
	footer {
		font-size: 20px;
	}

	.footer-logo svg {
	    width: 260px;
	    height: auto;
	    margin-bottom: 32px;
	}

	.contact a {
		margin-bottom: 32px;
	}
 }

 @media only screen and (max-width: 540px) {
 	.footer-logo svg {
	    width: 160px;
	    height: auto;
	    margin-bottom: 30px;
	}
	footer {
		padding-top: 60px;
		padding-bottom: 80px;
		font-size: 18px;
	}

 }


/* Banner */

.banner-text h1 {
	font-size: 56px;
	text-transform: uppercase;
	font-family: 'robotobold';
	margin-bottom: 50px;
}

@media only screen and (max-width: 540px) {
	.banner-text h1 {
    	margin-bottom: 20px;
	}
}


.banner-text {
	font-size: 22px;
	
}

.banner-text .text {
	font-size: 22px;
	padding-left: 130px ;
	padding-top: 130px ;
	padding-bottom: 60px ;	
}

.banner-image {
	margin-bottom: 100px;
	margin-top: 5px;
}

@media only screen and (max-width: 540px) {
	.banner-image {
		margin-bottom: 60px;
	}
}


.no-banner {
	height:  200px;
}

@media only screen and (max-width: 540px) {
	.no-banner {
	    height: 60px;
	}
}

/* Banner - Mobile */
@media only screen and (max-width: 540px) {

	.banner-text h1 {
		font-size: 32px;
	}
	.banner-text .text {
	    font-size: 16px;
	    padding-left: 12px;
	    padding-top: 50px;
	    padding-bottom: 0px;
	}
}

/* News */

.horizontal {
	position: relative;
    display: flex;
    flex-direction: column;
}

.card {
    background-color: transparent;
    background-clip: border-box;
    border: none;
    border-radius: 0rem;
}

.card-body {
    padding: 0.2rem 1.9rem;
}

.card-body .card-title {
    font-size: 24px;
    font-family: 'robotomedium';
}

.card-body .card-date {
    font-size: 16px;
    font-family: 'robotomedium';
    margin-bottom: 10px;
}

.card-footer {
    padding: 0rem 1.9rem;
    background-color: transparent;
    border-top: none;
}

@media only screen and (max-width: 991px) {
	.card-body {
    	padding: 0.9rem 0rem;
	}

	.card-footer {
	    padding: 0rem 0rem;
	}
}








/* Buttons */

.btn {
	padding: 0.375rem 1.5rem;
}


.btn-blue {
    color: #ffffff;
    background-color: var(--blue);
    border-color: var(--blue);
}

.btn-blue:hover {
    color: #fff;
    background-color: #636B8F;
    border-color: #636B8F;
}

.btn-red {
    color: #ffffff;
    background-color: var(--red);
    border-color: var(--red);
}

.btn-red:hover {
    color: #fff;
    background-color: #E5516A;
    border-color: #E5516A;
}

/* Links */

a:hover {
    color: var(--red);
}

a {
    color: #E5516A;
    text-decoration: none;
}

/* Linkboxes */

.box {
	min-height: 440px;
	padding: 30px;


}

.box h3 {
	font-size: 45px;
	color: white;
}

.box svg {
	width: 100px;
	height: auto;
}


.box a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}



.box .cls-1 {
    fill: white !important;
}


.box .box-icon {
	left: 25px;
    bottom: 140px;
    transition: 1s all;

}

.box:hover .box-icon {
	transform: translateX(50%);
}

.box .box-text {
	left: 25px;
    bottom: 30px;
}

/* Box - Mobile */
@media only screen and (max-width: 540px) {
	.box {
	    min-height: 330px;
	    padding: 30px;
	}

	.box h3 {
	    font-size: 35px;
	}
}


/* Blocks */

.blocks .block:first-child .mt_80_normal {
	margin-top: 0px!important;
}

.blocks .img_left {
	float: left!important;
	margin-right: 40px!important;
	margin-bottom: 40px!important;

}

.blocks .img_right {
	float: right!important;
	margin-left: 40px!important;
	margin-bottom: 40px!important;

}

.mt_80_normal {
	margin-top: 50px;
}

.my_80 {
	margin: 80px 0;
}

.mt_80 {
	margin-top: 80px!important;
	margin-bottom: 30px!important;
}

.mb_80 {
	margin-bottom: 80px!important;
	margin-top: 30px!important;
}

@media only screen and (max-width: 540px) {
	.mt_80_normal {
		margin-top: 40px;
	}

	.my_80 {
		margin: 40px 0;
	}

	.mt_80 {
		margin-top: 40px!important;
		margin-bottom: 20px!important;
	}

	.mb_80 {
		margin-bottom: 40px!important;
		margin-top: 20px!important;
	}
}


/* Slider */

.swiper {
  width: 100%;
  height: 500px;
}

.swiper .swiper-slide {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

}

.swiper-button-next, .swiper-button-prev {
    color: white;
}

.swiper-pagination-bullet-active {
    opacity: var(--blue, 1);
    background: var(--blue);
}


/* Badges */

.bg-primary {
    background-color: #fff!important;
}

.badge {
    padding: 1em 1.5em;
    color: #000;
    border-radius: 0rem;
    font-size: 14px;
    font-weight: 400;
}

.accordion-button:not(.collapsed)::after {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Search (Tobi) */

.btn-search {
	border: none;
    background: transparent;
    margin-bottom: 5px;
}

.btn-search:hover svg  {
	fill: var(--red);
}

.modal-header {
    padding: 0;
    border-bottom: 0px solid #dee2e6;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

.modal-content {
    border: none;
    border-radius: 0rem;
}
.form-control {
    padding: 1.375rem 1.4rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    background-color: #222240;
    border: 0px solid #ced4da;
    border-radius: 0rem;
}

.form-control:focus {
    color: #fff;
    background-color: #636B8F;
    border-color: #636B8F;
    outline: 0;
    box-shadow: 0 0 0 0rem rgb(13 110 253 / 25%);
}

img.icon {
  display: inline-block;
	margin-bottom: 1px;
	margin-right: 10px;
}

/* checked state for filter */
label .filter-checkbox:checked + span::before {
  width: 100%;
  left: 0;
  right: auto;
}

/* Mailchimp */
#mc_embed_signup {
	background: transparent; 
	clear:left; 
	font:14px;
	width:100%;
}

#mc_embed_signup form {
    margin: 0px;
}

#mc_embed_signup .button {
    clear: both;
    background-color: #222240;
    border: 0 none;
    border-radius: 4px;
    transition: all 0.23s ease-in-out 0s;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    height: 32px;
    line-height: 32px;
    margin: 0 5px 10px 0;
    padding: 0 22px;
    text-align: center;
    text-decoration: none;
    vertical-align: top;
    white-space: nowrap;
    width: fit-content;
    width: -moz-fit-content;
}

#mc_embed_signup h2 {
    font-size: 24px;
	font-family: 'robotomedium';
	color: var(--blue);
	font-weight:400;
}



/* Linkboxes */

.blocks .box {
    min-height: 280px;
    padding: 30px;


}

.blocks .box h3 {
    font-size: 22px;
    color: white;
}

.blocks .box svg {
    width: 100px;
    height: auto;
}


.blocks .box a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}



.blocks .box .cls-1 {
    fill: white !important;
}


.blocks .box .box-icon {
    left: 5px;
    bottom: 75px;
    transition: 1s all;

}

.blocks .box:hover .box-icon {
    transform: translateX(50%);
}

.blocks .box .box-text {
    left: 25px;
    bottom: 30px;
}

/* Box - Mobile */
@media only screen and (max-width: 540px) {
    .blocks .box {
        min-height: 330px;
        padding: 30px;
    }

    .blocks .box h3 {
        font-size: 35px;
    }

    .blocks .box .box-icon {
        left: 25px;
        bottom: 140px;
    }
}

/* Mapbox */


#map {  
    width: 100%;
    height: 85vh; 

}

    .mapboxgl-popup-content {
    position: relative;
    background: #B23B50;
    width: 280px;
    border-radius: 3px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    padding: 0px;
    pointer-events: auto;
    }

    .mapboxgl-popup-content .content {
    padding: 30px 20px 10px;
    color: white;    
    }

    .mapboxgl-popup-content .thumb {
    max-height: 300px !important;
    overflow: hidden;
    }

    .mapboxgl-popup-content .thumb img {
    width: 100%;
    max-width: 100%;
    }


    .mapboxgl-popup-close-button {
    background-color: transparent;
    border: 0;
    border-radius: 0px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    color: white;
    margin-top: 20px;
    }


    .btn-blue {
    color: #ffffff;
    background-color: #222240;
    border-color: #222240;
    }

    .btn-blue:hover {
    color: #fff;
    background-color: #636B8F;
    border-color: #636B8F;
    }

    .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    align-self: center;
    border-bottom: none;
    border-top-color: #B23B50;
    }
  
    .mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    align-self: center;
    border-bottom-color: #B23B50;
    border-top: none;
    }

    .geocoder {
        
        z-index: 1;
        width: 100%;
        top: 10px;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .mapboxgl-ctrl-geocoder {
    min-width: 100%;
    }