
/** PERSON FOOTER **/
.person {
    background-color: #f3d1be;
    position: relative;
    overflow: hidden
}

div.vc_row[data-vc-full-width="true"] .personouter {
    padding: 0 15px;
}

.personbild {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-position: bottom center;
    background-size: contain;
    background-repeat: no-repeat;
    border-bottom: 1px solid #002241
}

.persontitel {
    position: absolute;
    left: 30px;
    bottom: 30px;
    padding: 5px;
    color: #fff;
    font-size: 12px;
    background-color: #002241;
}

.person a.btn-default {
    position: relative;
    z-index: 4;
}

@media (min-width: 576px) {
    .personbild {
        border-bottom: 0;
    }
}

/** BERATER **/
.teamitem {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.teamitem > div {

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.teamimage {
    position: relative;
    background-color: #f3d1be;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.teamimage:after {
    content: '';
    display: block;
    padding-bottom: 100%;
}

.teamimage .backgrounder {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    transition: transform ease .6s;
    transform: scale(1);
}

.teamitem:hover .teamimage .backgrounder {
    transform: scale(1.05);
}

.teamitem .teamcontent {
    padding: 15px;
    height: 100%;
    background-color: #ff0;
}

.teamitem .projektpartner {
    height: 60px;
    position: absolute;
    left: 15px;
    bottom: 15px;
    right: 15px;
    pointer-events: none;
    padding: 10px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .teamitem .projektpartner {

        top: 5px;
        bottom: auto;
    }
}

.teamitem .partnericon {
    height: 40px;
    width: 40px;
    background-color: #197daa;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    line-height: 40px;
    position: absolute;
    top: 15px;
    left: 0px;

}

.teamitem .partnertext {
    background-color: #197daa;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    position: absolute;
    left: 20px;
    padding-left: 30px;
    top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    /*
                                                    opacity: 0; transition: transform ease .3s, opacity ease .3s;
                                                    transform: translateX(-100%);*/
}

.teamitem .verkaufsleiter {
    height: 60px;
    position: absolute;
    left: 15px;
    bottoM: 15px;
    right: 15px;
    pointer-events: none;
    padding: 10px;
    overflow: hidden;
}


@media (min-width: 768px) {
    .teamitem .verkaufsleiter {

        top: 5px;
        bottom: auto;
    }
}

.teamitem .verkaufsleitericon {
    height: 40px;
    width: 40px;
    background-color: #002241;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    line-height: 40px;
    position: absolute;
    top: 15px;
    left: 0px;
    color: #fff;

}

.teamitem .verkaufsleitertext {
    background-color: #002241;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    position: absolute;
    left: 20px;
    padding-left: 30px;
    top: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
    /*
                                                    opacity: 0; transition: transform ease .3s, opacity ease .3s;
                                                    transform: translateX(-100%);*/
}

/** BERATER KARTE **/
#BRD {
    -webkit-filter: drop-shadow(10px 15px 15px rgba(0, 34, 65, .15));
    filter: drop-shadow(10px 15px 15px rgba(0, 34, 65, .15));
    /* Similar syntax to box-shadow */
}

.bl path {
    fill: #d1d6da;
    transition: fill .3s;
    cursor: pointer;
}

#BRD path:hover, #BRD path.active {
    fill: #002241 !important;
}

.mapBtn:hover,
.mapBtn.active {
    color: #ff6f61;
    font-weight: bold;
}

/** BERATER SINGLE **/
body.single-berater .main-slider, body.single-berater #simpleheader {
    display: none
}

body.single-berater #largeButtefly .st0 {
    fill: #FF7969;
}

body.single-berater #largeButtefly .st0.projektpartnercontent {
    fill: #197daa;
}

body.single-berater #largeButtefly .st0.verkaufsleitercontent {
    fill: #edeff0;
}

#beraterheader {
    background-color: #f3d1be;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}

#beraterheader .container {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
}

#beraterheader .headtitle {
    position: relative;
    height: 30px;
    width: 100%;
}

@media (max-width: 991px) {
    #beraterheader {
        margin-bottom: 75px;
    }
}

#beraterheader .headtitle:before {
    content: '';
    position: absolute;
    right: -1000px;
    top: 0px;
    height: 100%;
    background-color: #fff;
    width: 10000px;
}

@media (min-width: 992px) {
    #beraterheader .headtitle {
        position: relative;
        height: 100px;
        width: 100%;
    }

    #beraterheader .headtitle:before {
        content: '';
        position: absolute;
        right: 0px;
        top: 0px;
        height: 100%;
        background-color: #fff;
        width: 10000px;
    }
}


#beraterheader .headtitle .bigtitle {
    position: absolute;
    right: 30px;
    left: 0;
    bottom: 90%;
    color: #fff;
    font-size: 10vW;
    text-align: right;
    line-height: 66%;
    font-weight: bold;
}


.heroimage {
    margin-top: -25vH;
}


@media (orientation: landscape) {
    #beraterheader, #testimonialheader {
        height: calc(65vH + 50px);
    }


}

@media (min-width: 992px) {
    .anfrage {
        margin-top: -45vH;
    }
}

@media (orientation: portrait) {
    #beraterheader, #testimonialheader {
        height: calc(65vW + 50px);
    }

}

.thequote {
    text-align: center;
    padding: 0 10vW 10vH;
    font-weight: bold;
    font-style: italic;
}

ul.orte {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
}

@media (min-width: 768px) {
    ul.orte {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
}

@media (min-width: 1200px) {
    ul.orte {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }
}

ul.socialmedia {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none
}

ul.socialmedia li {
    padding: 5px;
    margin: 0;
    display: inline-block
}

.formitem {
    background-color: #fff;
    padding: 3rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, .05);
}

.formbg {
    content: '';
    position: fixed;
    top: 10%;
    width: 50vW;
    padding-bottom: 100%;
    left: 60%;
    background-position: center;
    background-size: auto 100%;
    z-index: 15;
    opacity: .15;
    background-repeat: no-repeat;
}

.formbg img {
    width: 100%;
}


.teamlinks a {
    margin-right: 10px;
}
