html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}


body, p {
    hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
}


p {
    margin-bottom: 12px !important;
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
    hyphens: auto;
}

li {
    font-size: 17px;
}


.ccm-page div.readmore {
    display: flex;
    align-items: center;
    float: right;
}

@media (max-width: 640px) {
    .ccm-page div.readmore {
        margin-bottom: 30px;
    }
}


div.ccm-page .main-wrap {
    padding-top: 50px;
    padding-bottom: 20px;
}


div.top-bar-wrapper {
    padding: 10px 0px !important;
}


.ccm-page .top-bar-section ul, .ccm-page .top-bar-section ul li a {
    padding-top: 14px;
}


.ccm-page .top-bar.expanded .title-area,
div.top-bar-wrapper,
nav.top-bar,
div.ccm-page .top-bar-section li a {
    background-color: #D9D7D7 !important;
    font-size: 18px !important;
}


.top-bar ul.title-area {
    margin-left: 15px;
}


.ccm-page .top-bar .toggle-topbar.menu-icon a {
    color: #666666;
    font-weight: 400;
    font-size: 20px;
}

.ccm-page .top-bar .toggle-topbar.menu-icon a:after {
    color: #666666;
}


.ccm-page .top-bar li.name a img {
    width: 100%;
    margin-top: 13px;
}



.top-bar .toggle-topbar.menu-icon {
    color: #666666;
    margin-right: 30px;
    margin-top: 5px;
}


@media (max-width: 920px) {
    .top-bar {
        height: 85px;
    }
    .ccm-page .top-bar li.name a img {
        max-width: 300px;
        max-height: 69px;
        margin-top: 2px;
    }
}

@media only screen and (min-width: 920px) {
    .top-bar-wrapper {
        height: 134px;
    }
}

@media (max-width: 500px) {
    .ccm-page .top-bar li.name a img {
        max-width: 261px;
        max-height: 60px;
        margin-top: 7px;
    }
}

@media (max-width: 420px) {
    .ccm-page .top-bar li.name a img {
        max-width: 240px;
        margin-top: 6px;
    }
}



.top-bar .toggle-topbar.menu-icon a span::after {
    box-shadow: 0 0px 0 1px #666, 0 7px 0 1px #666, 0 14px 0 1px #666;
}


ul.dropdown {
    margin-right: -3px;
    text-align: left;
}


@media only screen and (min-width: 920px) {
    ul.dropdown {
        margin-top: -50px;
    }
}


ul.dropdown li a {
    margin-left: 3px;
}


div.ccm-page .medium-3 {
    overflow: hidden;
}


span.fa-stack .fa-lg,
div.c5h-block-feature-item .fa-stack {
    margin-right: 0px !important;
}


div.c5h-block-feature-item h5 {
    text-align: center;
    margin-top: 20px;
}


div.c5h-block-feature-item p {
    margin-left: 10px !important;
}


.ccm-page .c5h-footer-top-wrap {
    background-color: #282828;
    padding: 50px 15px 30px;
}


.ccm-page .c5h-footer-top-wrap p {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 5px;
}


.ccm-page .c5h-footer-top-wrap p a {
    color: #b1b1b1;
}


.ccm-page .c5h-banner-wrap-full {
    background-color: #acafb4;
    border-top: 1px solid #ffffff;
}


.ccm-page .c5h-banner-wrap-full img {
    object-fit: cover;
    object-position: center;
    min-height: 200px;
}


div#google_maps_bereich img {
    object-fit: unset;
    min-height: auto;
}


div#cropbox.crop-left img {
    object-position: right;
}

div#cropbox.crop-right img {
    object-position: left;
}


div.headline {
    font-size: 35px;
    text-transform: none;
    font-weight: 300;
    line-height: 48px;
    color: #666666;
    text-align: center;
}


h1.subline {
    font-weight: 300;
    font-size: 18px;
}


strong {
    color: #666666;
}


.ccm-page h3 {
    margin-top: 10px;
    font-size: 22px;
    line-height: 37px;
    font-weight: 400;
    font-family: 'Roboto Condensed';
    text-transform: uppercase;
}


.ccm-page h5 {
    font-size: 19px;
    line-height: 28px;
    margin-top: 10px;
}


.ccm-page .label.round {
    border-radius: 3px;
}


.ccm-page button.round, .ccm-page .button.round {
    border-radius: 3px;
}


div.columns.medium-6 img {
    border-radius: 3px;
}


@media (min-width: 921px) {
    .ccm-page .medium-6 {
        width: 49%;
    }
}


.ccm-page fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}


.ccm-page div.form-group label {
    display: inline-block;
    margin-right: 5px;
    font-size: inherit;
    color: inherit;
}


.ccm-page div.form-group span.text-muted.small {
    font-size: 70%;
    color: #ad7d7d;
    text-transform: uppercase;
}


div#language_switcher {
    color: #666666;
    position: absolute;
    top: -47px;
    right: 15px;
    height: 20px;
    z-index: 100;
    font-size: 12px;
    text-transform: uppercase;
}


div#language_switcher a {
    color: #666666 !important;
}

div#language_switcher a:hover {
    color: #000000 !important;
}



/**
 * ##########################################################################################################
 * ########## Portfolio oben
 */


div#portfolio_wrapper {
    margin: -10px auto 0px;
    max-width: 1070px;
}

@media(max-width: 1100px) {
    div#portfolio_wrapper {
        max-width: 600px;
    }
}

@media(max-width: 600px) {
    div#portfolio_wrapper {
        max-width: 400px;
    }
}


div#portfolio_wrapper.home {
    margin: 50px auto 0px;
}


div#portfolio_oben {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}


div.teller_wrapper {
    min-width: 174px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

@media(max-width: 1100px) {
    div.teller_wrapper {
        width: 100%;
    }
}


div.teller_wrapper a {
    text-decoration: none;
    color: #666666;
}


div.teller_top {
    position: relative;
    margin: 0px auto;
    width: 166px;
    height: 166px;
    cursor: pointer;
    border-radius: 88px;
    box-shadow: 8px 12px 20px 0px rgba(0, 0, 0, 0.2);
}


div#portfolio_wrapper.home div.teller_top {
    cursor: auto;
}


img.teller_img {
    position: absolute;
    z-index: 0;
}


div.teller_content  {
    display: flex;
    font-size: 16px;
    line-height: 22px;
    position: absolute;
    color: #666666;
    width: 100%;
    text-align: center;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}


div.teller_headline {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 24px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: -0.5px;
    color: #9e9c24;
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
    height: 85px;
    white-space: nowrap;
}

@media(max-width: 600px) {
    div.teller_headline {
        height: 70px;
    }
}

@media(max-width: 415px) {
    div.teller_headline {
        height: auto;
    }
}


div.teller_subline {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    color: white;
    background: #333333;
    text-align: center;
    padding: 4px 0px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 2px;
}

@media(max-width: 415px) {
    div.teller_subline {
        display: none;
    }
}





/**
 * ##########################################################################################################
 * ########## Portfolio unten
 */


div#portfolio_unten {
    display: flex;
    flex-direction: row;
}

@media(max-width: 1100px) {
    div#portfolio_unten {
        flex-direction: column;
    }
}


h1.portfolio_headline {
    font-family: "Roboto", sans-serif;
    font-weight: 100;
    font-size: 48px;
    line-height: 50px;
    color: #444444;
    text-transform: none;
    letter-spacing: 2px;
    margin: 0px 0px 20px;
}

@media(max-width: 600px) {
    h1.portfolio_headline {
        font-weight: 300;
        font-size: 32px;
        line-height: 40px;
    }
}


h2.subline_blau {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 24px;
    font-weight: 300;
    color: #247ba0;
}

div#portfolio_content_links {
    max-width: 710px;
    margin: 0px 10px;
}


div#portfolio_content_rechts {
    max-width: 350px;
    padding: 9px 15px 0px 20px;
    border-left: 1px solid #ea7669;
    margin-left: 35px;
}

@media(max-width: 1100px) {
    div#portfolio_content_rechts {
        max-width: 100%;
        border: 1px solid #ea7669;
        border-left: 0px;
        border-right: 0px;
        margin: 50px 10px 0px;
        padding: 20px;
    }
}

div.alert-success {
    visibility: hidden;
}
