/* =============================================================================
 * Grundeinstellungen
 * ========================================================================== */

html, body {
    font-family: var(--defaultFont);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .ce_revolutionslider_text.bold, .font_headline {
    font-family: var(--defaultFont);
}

.ce_split_words[data-color="white"] {
    color: var(--whiteColor);
}

.txt-color-white, .txt-color-white p, .txt-color-white i, .txt-color-white a, .txt-color-white h1, .txt-color-white h2, .txt-color-white h3, .txt-color-white h4, .txt-color-white h5, .txt-color-white h6, .txt-color-white .h1, .txt-color-white .h2, .txt-color-white .h3, .txt-color-white .h4, .txt-color-white .h5, .txt-color-white .h6, .txt-color-white .h1 p, .txt-color-white .h2 p, .txt-color-white .h3 p, .txt-color-white .h4 p, .txt-color-white .h5 p, .txt-color-white .h6 p, .txt-color-white.h1, .txt-color-white.h2, .txt-color-white.h3, .txt-color-white.h4, .txt-color-white.h5, .txt-color-white.h6, .txt-color-white.h1 p, .txt-color-white.h2 p, .txt-color-white.h3 p, .txt-color-white.h4 p, .txt-color-white.h5 p, .txt-color-white.h6 p {
    color: var(--whiteColor);
}

.ce_hyperlink a, a.btn {
    color: var(--whiteColor);
}


/* =============================================================================
 * Header
 * ========================================================================== */

.header.cloned {
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: none;
    background: none;
    margin-top: 10px;
    margin-bottom: 10px;
}

.header.cloned .inside {
    background-color: var(--accentColor);
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 100px;
}

.header.original .mainmenu {
    line-height: 70px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.header.original .mainmenu ul li a.trail.a-level_1, .header.original .mainmenu ul li a.active.a-level_1, .header.cloned .mainmenu ul li a.trail.a-level_1, .header.cloned .mainmenu ul li a.active.a-level_1, .mod_pct_megamenu .mod_navigation a.active.a-level_1 {
    font-weight: 700;
    opacity: 0.6;
}

.mainmenu ul li a:hover {
    opacity: 0.6;
}

#mmenu {
    transform: translateY(calc(-100% - 76px));
}

.mmenu_trigger {
    right: 20px;
}

@media only screen and (max-width:767px) {
    body.fixed-header .header.cloned {
        box-shadow: none;
        
    }
}


/* =============================================================================
 * ce_split_words
 * ========================================================================== */

.ce_split_words .word_wrap {
    overflow: visible;
}

.ce_split_words span.word {
    opacity: 0;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =============================================================================
 * newsteaser_v7
 * ========================================================================== */

@keyframes CustomZoomOut {
    0%,50%,to {
        -webkit-animation-timing-function: cubic-bezier(.2,.6,.4,1);
        animation-timing-function: cubic-bezier(.2,.6,.4,1);
    }
    0% {
        opacity: 1;
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }
    50% {
        -webkit-transform: scale3d(1.04,1.04,1.04);
        transform: scale3d(1.04,1.04,1.04);
    }
	to {
        opacity: 0;
        -webkit-transform: scale3d(.6,.6,.6);
        transform: scale3d(.6,.6,.6);
    }
}

@keyframes CustomZoomIn {
    0%,50%,to {
        -webkit-animation-timing-function: cubic-bezier(.2,.6,.4,1);
        animation-timing-function: cubic-bezier(.2,.6,.4,1);
    }
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.6,.6,.6);
        transform: scale3d(.6,.6,.6);
    }
    50% {
        -webkit-transform: scale3d(1.04,1.04,1.04);
        transform: scale3d(1.04,1.04,1.04);
    }
	to {
        opacity: 1;
        -webkit-transform: scale3d(1,1,1);
        transform: scale3d(1,1,1);
    }
}

.newsteaser_v7 .image_container {
    overflow: hidden;
}

.newsteaser_v7 .item-overlay {
    top: 0;
    opacity: 0;
}

.newsteaser_v7:hover .item-overlay {
    opacity: 1;
    animation: fadeIn 1s ease-in-out !important;
}

.newsteaser_v7:hover .item-overlay-inside {
    animation: CustomZoomIn 1s ease-in-out !important;
}

/* =============================================================================
 * mod_portfoliolist
 * ========================================================================== */

.mod_portfoliolist.teaser {
    margin: -8px;
}

.mod_portfoliolist .item {
    border: 8px solid rgba(0, 0, 0, 0);
}

.mod_portfoliolist .item .image_container img {
    transition: All 0.2s ease;
    -webkit-transition: All 0.2s ease;
}

.mod_portfoliolist .item:not(.no_more_link):hover .image_container img {
    -webkit-filter: blur(2px);
    filter: blur(2px);
}

.mod_portfoliolist .item .overflow-layer {
    background: rgba(68, 61, 56, .6);
}

.mod_portfoliolist .item .info {
    top: auto;
    bottom: 80px;
}

.mod_portfoliolist .item:hover .info {
    top: auto;
    bottom: 80px;
}

.mod_portfoliolist .item .info .title {
    margin-left: -200%;
    transition: All 0.2s ease;
    -webkit-transition: All 0.2s ease;
}

.mod_portfoliolist .item .info .subline {
    margin-left: -200%;
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
}

.mod_portfoliolist .item:hover .title, .mod_portfoliolist .item:hover .info .subline {
    margin-left: 0;
}

.mod_portfoliolist .item .link {
    position: absolute;
    z-index: 10;
    left: -100%;
    bottom: 25px;
    transition: All 0.4s ease;
    -webkit-transition: All 0.4s ease;
}

.mod_portfoliolist .item:hover .link {
    left: 20px;
}

.mod_portfoliolist .item .link_text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mod_portfoliolist .item .link_text span {
    font-family: FontAwesome;
    line-height: 26px;
    font-size: 14px;
    opacity: 1;
    position: relative;
    display: inline-block;
    top: 2px;
    transition: all 0.35s cubic-bezier(0.01,0.75,0.4,1);
    overflow: visible;
    height: 26px;
    width: 26px;
    border-radius: 100px;
    text-align: center;
}

.mod_portfoliolist .item .link_text span:before {
    content: "\f105";
    color: rgb(255, 255, 255);
    top: -2px;
    right: -1px;
    display: block;
    transition: all 0.35s cubic-bezier(0.12,0.75,0.4,1);
    position: relative;
}

.mod_portfoliolist .item .link_text span:after {
    display: block;
    content: ' ';
    position: absolute;
    width: 0px;
    height: 1px;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    right: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.12,0.75,0.4,1);
    pointer-events: none;
    top: 11px;
    transform: translateX(-8px);
}

.mod_portfoliolist .item .link_text:hover span {
    border-color: transparent;
}

.mod_portfoliolist .item .link_text:hover span:before {
    transform: translateX(20px);
}

.mod_portfoliolist .item .link_text:hover span:after {
    opacity: 1;
    transform: translateX(9px);
    width: 26px;
}

/* =============================================================================
 * mod_portfoliolist_v5
 * ========================================================================== */
 
.mod_portfoliolist_v5 .item {
     border-width: 8px;
     height: 360px;
}

@media only screen and (max-width: 767px) {
    .mod_portfoliolist_v5 .item {
        margin-bottom: 16px;
    }
}

.mod_portfoliolist_v5 .item .image {
    transition: All 0.2s ease;
    -webkit-transition: All 0.2s ease;
}

.mod_portfoliolist_v5 .item:hover .image {
    -webkit-filter: blur(2px);
    filter: blur(2px);
    transform: scale(1.1, 1.1);
    -webkit-transform: scale(1.1, 1.1);
}

.mod_portfoliolist_v5 .item .image:after {
    background: rgba(68, 61, 56, .6);
}

.mod_portfoliolist_v5 .item .info {
    left: 20px;
    bottom: 80px;
    padding: 0;
}

.mod_portfoliolist_v5 .item .info .subline {
    background-color: var(--accentColor);
    padding: 1px 15px;
    border-radius: 20px;
    line-height: 1.7;
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: All 0.3s ease;
    -webkit-transition: All 0.3s ease;
}

.mod_portfoliolist_v5 .item .link {
    position: absolute;
    z-index: 10;
    left: -100%;
    bottom: 25px;
    transition: All 0.4s ease;
    -webkit-transition: All 0.4s ease;
}

.mod_portfoliolist_v5 .item:hover .link {
    left: 20px;
}

.mod_portfoliolist_v5 .item .link_text {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.mod_portfoliolist_v5 .item .link_text span {
    font-family: FontAwesome;
    line-height: 26px;
    font-size: 14px;
    opacity: 1;
    position: relative;
    display: inline-block;
    top: 2px;
    transition: all 0.35s cubic-bezier(0.01,0.75,0.4,1);
    overflow: visible;
    height: 26px;
    width: 26px;
    border-radius: 100px;
    text-align: center;
}

.mod_portfoliolist_v5 .item .link_text span:before {
    content: "\f105";
    color: rgb(255, 255, 255);
    top: -2px;
    right: -1px;
    display: block;
    transition: all 0.35s cubic-bezier(0.12,0.75,0.4,1);
    position: relative;
}

.mod_portfoliolist_v5 .item .link_text span:after {
    display: block;
    content: ' ';
    position: absolute;
    width: 0px;
    height: 1px;
    background-color: rgb(255, 255, 255);
    opacity: 0;
    right: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.12,0.75,0.4,1);
    pointer-events: none;
    top: 11px;
    transform: translateX(-8px);
}

.mod_portfoliolist_v5 .item .link_text:hover span {
    border-color: transparent;
}

.mod_portfoliolist_v5 .item .link_text:hover span:before {
    transform: translateX(20px);
}

.mod_portfoliolist_v5 .item .link_text:hover span:after {
    opacity: 1;
    transform: translateX(9px);
    width: 26px;
}


/* =============================================================================
 * form.style5
 * ========================================================================== */

form.style5 input, form.style5 select, form.style5 textarea {
    background-color: rgba(121, 110, 101, .2);
    border-color: var(--accentColor);
}

.form-confirmation {
    background-color: rgba(121, 110, 101, .2);
    padding: 40px;
    border-radius: 24px;
}

form.style5 input.submit, form.style5 button.submit {
    padding: 5px 20px;
    font-size: var(--hyperlink-small-font-size);
    font-weight: var(--hyperlink-small-font-weight);
    line-height: var(--hyperlink-small-line-height);
    border-width: var(--hyperlink-small-border-width);
}


/* =============================================================================
 * Karte Popup
 * ========================================================================== */

.leaflet-popup-content h6 {
    margin-bottom: 8px;
}

.leaflet-popup-content p {
    font-family: var(--defaultFont);
    font-size: var(--body-fontSize);
    margin-top: 0;
}

@media only screen and (max-width:767px) {
    .leaflet-popup-content p {
        font-size: 16px;
    }
}