body {
    padding: 20px 0;
    font-size: 18px;
    color: #808080;
    font-family: 'Source Sans Pro',sans-serif !important;
}
header.top  {


    background: white;
    border-top: 5px solid #99234d;
    border-bottom: 2px solid #99234d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;

}

@media (min-height: 1024px) {
    header.top {
        border-top: 50px solid #99234d;
    }
}

.container .navbar-default {
    border: none;

}

@media (max-width: 767px) {
 .container .navbar-default {
        position: fixed;
        top: 0;
     left: 0;
        width: 250px;
     background: transparent;
    }

    .navbar-default .navbar-toggle {
        float: left;
        border-color: #fff !important;
        background-color: rgba(255,255,255,0.9) !important;
        padding: 1px 8px !important;
        margin-top: 5px;
    }
}

.icon {
    width: 18px;
    height: auto;
}

.arbeiten_caption {
    padding: 8px 0 20px;
}

.carousel-control.left, .carousel-control.right {
    background: none !important;
}

.powermail_fieldwrap_datenschutz {
    float: left;
}

.powermail_fieldwrap_gelesenundeinverstanden input {
    width: 20px !important;
    height: 22px;
    margin-right: 18px !important;
    margin-left: -30px !important;
    margin-top: -2px !important;
}

.powermail_field .checkbox label {
    padding-left: 30px;
    padding-bottom: 15px;
}

.powermail_fieldwrap_gelesenundeinverstanden label.powermail_label {
    display: none;
}

.parsley-required {
    float: left !important;
    margin-bottom: 10px !important;
    padding: 9px;
    list-style: none;
}

.cc_message {
    line-height: 2rem !important;
    width: 80%;
}

#mainnavbar {background: white;}
.navbar {border: none; margin-bottom: 0 !important; }
.navbar li {
    background: white;
    border-left: 1px solid #fff;
}
.navbar li a {
    color: #99234d !important;
    padding: 30px 10px !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav a:focus , .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav a:hover {
    background-color: #99234d !important;
    color: #fff !important;
}


#claim {margin-top: 19px;}
#claim a {font-size: 26px; color: #99234d; text-decoration: none;}
#claim a strong {font-weight: 600;}

.main {margin-top: 110px;}


h1 {font-size: 48px;}
h1, h2 {color: #99234d;}

.image {margin-bottom: 0 !important;}


#c32 .lightbox a:hover img {opacity: 0.5;}
#c32 .lightbox a {background: #d6d6d6; opacity: 1; display: block;}


.weiss {color: #515152;}
.dunkel {background: #99234d;}
.hell {background: #ba6f8a; }
.grau {background: #515152; }

.dunkel, .hell, .grau {color: white; padding: 2em 0;}
.dunkel a, .hell a, .grau a {color: white;}
.dunkel *, .hell *, .grau * {color: white;}



.img-wrap .row {display: none;}
.img-wrap .row:first-child {display: block;}


div.pp_default .pp_next {background: url(../../../files/images/arrow-right.png) center right  no-repeat; cursor: pointer; margin-right: -80px; margin-top: 10px;}
div.pp_default .pp_next:hover {background: url(../../../files/images/arrow-right.png) center right  no-repeat; cursor: pointer; margin-right: -80px; margin-top: 10px;}
div.pp_default .pp_previous {background: url(../../../files/images/arrow-left.png) center right  no-repeat; cursor: pointer; margin-left: -470px; margin-top: 10px;}
div.pp_default .pp_previous:hover {background: url(../../../files/images/arrow-left.png) center right  no-repeat; cursor: pointer; margin-left: -470px; margin-top: 10px;}

a.pp_close {
    top: auto;
    bottom: 0;
}


.ppt {
    color: rgb(51,51,51) !important;
    font-size: 12px !important;
    text-align: center;
    font-weight: bold !important;
}

.pp_description {
    font-size: 12px !important;
    text-align: center;
    margin: 5px 5px 5px 0 !important;
}

.relative {position: relative;}

.overlayText {
    right: 0;
    position: absolute;
    top: 1em;
    width: 45%;
    color: #515152;
}

.overlayText p {
    margin: 20px 0;
}


.tab-content {min-height: 334px;}

.main .nav-tabs {
    border: none !important;
    margin: 45px auto;
    width: 592px;
}
.main .nav-tabs li {
    border: 3px solid #808080;
    color: #808080;
    border-radius: 10em;
    height: 108px;
    text-align: center;
    width: 108px;
    padding: 3px !important;
    margin: 0 20px;
}


.main .nav-tabs > li > a {
    color: #808080;
    border-radius: 10em;
    display: table-cell !important;
    height: 98px !important;
    line-height: 1.125em !important;
    padding: 0 !important;
    vertical-align: middle !important;
    width: 98px !important;
    border: none !important;

    outline: none !important;
}

.main .nav-tabs > li.active > a, .main .nav-tabs > li.active > a:hover, .main .nav-tabs > li.active > a:focus {
    background-color: #99234d !important;
    color: #fff !important;
}

.main .nav-tabs > li > a:hover, .main .nav-tabs > li > a:focus {
    background-color: #99234d !important;
    color: #fff !important;
}

@media (max-width: 640px) {

    .main .nav-tabs {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .main .nav-tabs > li > a {
        height: 70px !important;
        width: 70px !important;
    }

    .main .nav-tabs li {
        border: 3px solid #808080;
        height: 80px;
        width: 80px;
    }
}

@media (max-width: 520px) {


    .main .nav-tabs > li > a {
        height: 70px !important;
        width: 70px !important;

    }

    .main .nav-tabs li {
        border: 3px solid #808080;
        height: 80px;
        width: 80px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {

    .main .nav-tabs li {
        border: none;
    }


    .main .nav-tabs > li > a {
     background-color: transparent !important;
    }

    .main .nav-tabs > li.active > a, .main .nav-tabs > li.active > a:hover, .main .nav-tabs > li.active > a:focus {
        color: #99234d !important;
        background-color: transparent !important;
    }

    .main .nav-tabs > li > a:hover, .main .nav-tabs > li > a:focus {
        color: #99234d !important;
        background-color: transparent !important;
    }

}

.tx-powermail {margin-top: -9px;}
.tx-powermail h3, .tx-powermail legend {display: none;}
.tx-powermail label {float: Left;}
.tx-powermail input, .tx-powermail textarea {float: left; clear: left; width: 100%; margin-bottom: 1em; color: #808080;}
.powermail_submit {
    width: 100px !important;
    color: #fff !important;
    background: rgba(153,35,76,1);
}




@media (max-width: 640px) {

    h1 {font-size: 28px;}
    h2 {font-size: 20px;}

    .tab-content {min-height: 334px;}

    .nav-tabs {
        margin: 25px auto;
        width: 380px;
    }
    .nav-tabs li {
        border: 2px solid #808080;
        height: 80px;
        width: 80px;
        padding: 3px !important;
        margin: 0 6px;
    }

    .nav-tabs > li > a {
        height: 70px !important;
        width: 70px !important;
        font-size: 13px;
    }

}



@media (max-width: 460px) {

    .nav-tabs {
        width: 280px;
    }
    .nav-tabs li {
        border: none;
        height: 60px;
        width: 60px;
        padding: 0px !important;
        margin: 0 3px;
    }

    .nav-tabs > li > a {
        height: 60px !important;
        width: 60px !important;
        font-size: 13px;
    }

}








@media (max-width: 992px) {

    .overlayText {
        width: 90%;
        position: relative;
        padding-bottom: 2em;
    }

    .tab-pane .row div.col-md-6:last-child {
        margin-bottom: 5rem;
    }


}


#headerimgwrap {background: url('fileadmin/files/images/header2.jpg'); width: 100%; max-height: 455px; background-size: cover;}
#headerimgwrap img {opacity: 0;}

@media (max-width: 1160px) {
    #headerimgwrap img {opacity: 1;}
}

@media (min-width: 1400px) and (max-width: 1600px) {
    #headerimgwrap  {background-position: 0 -100px !important;}
}

@media (min-width: 1600px) and (max-width: 2000px) {
    #headerimgwrap  {background-position: 0 -200px !important;}
}

@media (min-width: 2000px) and (max-width: 3400px) {
    #headerimgwrap  {background-position: 0 -300px !important;}
}


.fancybox-button {
    background: transparent !important;
}

.fancybox-button div {
    background: #fff !important;
    border-radius: 20rem;
}

.fancybox-button svg {
    color: #333 !important;
}

body .fancybox-button--close svg {
    color: #fff !important;
}

body .fancybox-caption {
    background: #fff;
    padding: 30px;
    font-size: 20px;
    color: #333;
}

@media (min-width: 1024px) {

    .fancybox-navigation .fancybox-button--arrow_left {
        left: calc(50% - 508px) !important;
        padding: 31px 26px 31px 6px;
    }

    .fancybox-navigation .fancybox-button--arrow_right {
        right: calc(50% - 508px) !important;
        padding: 31px 26px 31px 6px;
    }


}



.bildlinkstextrechts img {
  width: 100%;
    height: auto;
}

@media (min-width: 992px) {

    .bildlinkstextrechts img {
        width: 455px;
    }
  
}

@media (min-width: 1200px) {

    .bildlinkstextrechts img {
        width: 555px;
    }
  
}


a:focus, a:hover {
    color: unset !important;
    text-decoration: none !important;
    font-weight: bold;
}




.anker {
    margin-top: -186px;
    padding-top: 186px;
}

@media (min-width: 1024px) {

    .anker {
        margin-top: -140px;
        padding-top: 140px;
    }

}