/* raleway-regular - latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v28-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/raleway-v28-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/raleway-v28-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/raleway-v28-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/raleway-v28-latin-regular.svg#Raleway') format('svg'); /* Legacy iOS */
}

/* Custom CSS MDO 11/2021 */

body {
    font-family: Raleway !important;
    font-size: 18px !important;
    line-height: 23px !important;
}
.afd-button .rspbld-button.btn-default {
    border-radius:8px;
    padding:11px 15px;
    color:#ffffff;
    font-size:15px;
    background-color:#003b63;
    background-image: linear-gradient(to right, #003b63, #028fcd);
}
.afd-button .rspbld-button:hover .btn-default:hover {
    background-color: #249fda !important;
    color: #ffffff !important;
}
.menu-toggle {
    margin: 12px 0px 10px auto !important;
}
.logo {
    padding: 15px;
    transition: all .4s ease;
}
.rspbld-button.btn-default {
    border: 1px solid #ccc;
    border-radius: 5px;
    border-image: linear-gradient(to right, #000, red, #E7CA00);
}
.hornav>ul>li {
    margin: 0 9px;
}
.hornav > ul > li > a, .hornav > ul > li > span {
    font-size: .9em !important;
    font-weight: 500;
    font-style: normal;
    padding: 25px 5px 22px;
    margin: 0;
    letter-spacing: .4px;
    font-size: 0.9em;
    opacity: 1;
    text-transform: none;
}
.hornav > ul > li.active > a, .hornav > ul > li > a:hover, .hornav > ul > li > span:hover {
    color: #000;
}
.footermenu ul li a, .footermenu ul li span {
    color: #fff;
    font-size: .8rem;
    font-weight: 400;
}

#socialmedia ul li {
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.layerslideshow .info{
    padding: 0 0 0 25px !important;
}

.headline_home .module_surround{
    padding-bottom: 0px;
    margin-top: -120px;
    position: absolute;
    z-index: 500;
}

#content_mainsite {
    margin-top: -50px;
}
.scrolled .back-to-top {
    opacity: 1;
}
.afd-color {
    background-image: linear-gradient(to right, #003b63, #028fcd);
}
#afd-news p{
    font-size: .85em;
}
#afd-news h3{
    font-size: 1.25em;
    padding-top: 30px;
}
#afd-news .span4{
    padding-left: 25px;
}
.mywork {
    border: 1px solid #edeff5;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
}
.mywork h2 {
    background-color: #028fcd;
    color: #fff;
    border-radius: 5px;
    padding-bottom: 5px;
}
.mywork .rspbld-content {
    margin-top: 25px;
    min-height: 170px;
}
.rspbld-page .btn i {
        vertical-align: baseline;
}
.selfpic img {
    border: 10px solid #edeff5;
        border-radius: 50%;
}
.header_main {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}
#container_base2_modules {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
}
#container_footer {
    border-top: 4px solid;
    border-image: linear-gradient(to right, #000, red, #E7CA00) 1;
}
.copyright p {
    font-size: 0.8rem;
    opacity: 1;
    text-transform: none;
    line-height: 1.1rem;
}
.header-2 .custom {
    color: #fff;
    margin-right: 25px;
}
.rspbld-image .rspbld-image-caption {
    border-radius: 0px 0px 5px 5px;
}
video { 
   width:100%;
   height:auto;
}
/* Video Startseite */

.videointro #container_main, .videointro #container_header {
    background-color: transparent;
}
.selfpic-hgvideo img {
    border: 10px solid #003b63;
    border-radius: 50%;
}
.selfpic-hgvideo {
    -webkit-animation-duration: 10s;animation-duration: 10s;
    -webkit-animation-fill-mode: both;animation-fill-mode: both;
}
.cf-control-input-desc, .cf-control-input {
    line-height: 1.5em;
}

@-webkit-keyframes fadeOut {
   0% {opacity: 1;}
   100% {opacity: 0;}
}
@keyframes fadeOut {
   0% {opacity: 1;}
   100% {opacity: 0;}
}
.fadeOut {
   -webkit-animation-name: fadeOut;
   animation-name: fadeOut;
}
.logo::before {
  background-color: transparent;
  background-image: none;
}

/* Triade */

/*
 Ideen und Vorlagen von:
 https://comlounge.net/boxen-gleiche-hoehe-css-flexbox
 https://www.studytonight.com/css-howtos/how-to-change-image-on-hover-with-css
*/

.triade {
    position: relative;
    max-width: 800px;
    height: 100%;
    margin: 0 auto;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.triade .hg {
    display: -webkit-flex; 
    display: -ms-flexbox; 
    display: flex;

}
.triade .hg a img:last-child {
	  display: none;  
	}
.triade .hg a:hover img:last-child {
	  display: block;  
	}
.triade .hg a:hover img:first-child {
	  display: none;  
}
.triade .t1 {
    width: 100%;
}
.triade .t2, .triade .t3 {
    width: 50%;
}
.triade-v2 img {
    filter: grayscale(100%);
    width: 60% !important;
}
.triade-v2 img:hover {
    filter: none;
}
.convertforms .cf-control-group[data-key="45"] .cf-label,
.convertforms .cf-control-group[data-key="46"] .cf-label,
.convertforms .cf-control-group[data-key="49"] .cf-label,
.convertforms .cf-control-group[data-key="70"] .cf-label,
.convertforms .cf-control-group[data-key="71"] .cf-label,
.convertforms .cf-control-group[data-key="72"] .cf-label,
.convertforms .cf-control-group[data-key="73"] .cf-label
{
    font-weight: bold;
    min-width: 130%;
}
.convertforms .cf-control-group[data-key="36"] .cf-control-input  {
    margin-top: -3px;
    margin-left: 20px;
}
.triade-footer {
    margin-top: -115px;
}
/* Media-Queries */

@media screen and (min-width: 900px) {
    .footer-2 {
        margin-left: -35px;
    }
}

@media screen and (min-width: 768px) {
    .copyright {
        padding-left: 25px;
        padding-top: 1px;
    }
    .footermenu {
        padding-right: 53px;
    }
    .wetvu h2{
        padding: 0 130px;
    }
    .sjd h2{
        padding: 0 240px;
    }
}

@media screen and (max-width: 767px) {
    .footer-2 {
        margin-top: -35px;
        margin-bottom: -35px;
    }
    .copyright {
        padding-bottom: 40px;
        text-align: center;
    }
    .footermenu {
        padding-bottom: 40px;
    }
    .usercentrics-button.uc-button-bl .uc-privacy-button-wrapper {
        padding-top: 10px;
    }
    #afd-news {
        margin-left: -10px;
    }
    .convertforms {
        margin-left: -30px;
        margin-right: -30px;
    }
    .convertforms .cf-content-wrap, .convertforms .cf-form-wrap {
        padding: 5px;
    }
}

h6 {font-size: 0.7em;}

@media (min-width: 1000px) {
    .convertforms .cf-control-group[data-key="45"] .cf-control-input,
    .convertforms .cf-control-group[data-key="46"] .cf-control-input,
    .convertforms .cf-control-group[data-key="70"] .cf-control-input,
    .convertforms .cf-control-group[data-key="72"] .cf-control-input,
    .convertforms .cf-control-group[data-key="73"] .cf-control-input 
    {
        margin-top: -10px;
        margin-left: 90px;
    }
}

@media (min-width: 820px) {
    .convertforms .cf-control-group[data-key="36"] .cf-control-input  {
        margin-top: 7px;
        margin-left: 20px;
    }
}