/*--------------------------------------------------------------
   Featured Area Styles
--------------------------------------------------------------*/
.johannes-overlay .entry-meta,
.johannes-overlay .entry-title a,
.johannes-overlay .entry-title,
.johannes-cover .section-bg + .container .entry-meta,
.johannes-cover .section-bg + .container .entry-title a,
.johannes-cover .section-bg + .container  .entry-title,
.johannes-cover .section-bg + .container .section-head,
.johannes-cover .section-bg + .container .section-head a:not(.johannes-button):not(.cat-item),
.johannes-cover .section-bg + .container .section-title,
.white-bg-alt-1 .johannes-bg-alt-1,
.white-bg-alt-2 .johannes-bg-alt-2{
    color:#fff;
    opacity: 1;
}

.johannes-cover{
    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .h0, .display-1{
        color: #FFF;
    }
}

//Cover indent
.johannes-cover-indent .header-middle,
.johannes-cover-indent .header-mobile {
 background: none;
}

.johannes-cover-indent .header-middle,
.johannes-cover-indent .header-middle .johannes-menu>li>a,
.johannes-cover-indent .header-middle .johannes-menu-action a,
.johannes-cover-indent .header-mobile,
.johannes-cover-indent .header-mobile .johannes-menu>li>a,
.johannes-cover-indent .header-mobile .johannes-menu-action a{
    color: #FFF;
}
   
.white-bg-alt-1 .johannes-bg-alt-1,
.white-bg-alt-2 .johannes-bg-alt-2{
    p,
    .h0,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .entry-meta a:hover,
    .johannes-breadcrumbs a:hover{
    color: #FFF;
    }
    .entry-meta{
        color: rgba(255,255,255,.8)
    }
    .entry-meta .meta-item + .meta-item:before{
        background: #FFF;
    }
    .entry-title a,
    ul li a,
    h1 a,
    h2 a,
    h3 a,
    h4 a,
    h5 a,
    h6 a{
        color: #FFF;
    }
    .johannes-button-secondary,
    .meks-instagram-follow-link .meks-widget-cta, 
    .mks_autor_link_wrap a, .mks_read_more a{
        box-shadow: inset 0 0px 0px 2px #FFF;
        color: #FFF;       
    }
    .section-subnav .johannes-button-secondary{
        box-shadow: none;
    }
    .section-description .search-alt input[type=text],
    input[type=search],
    input[type=text]{
        color: #FFF;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .section-description .search-alt input[type=text]::-webkit-input-placeholder {
        color: #FFF;
    }
    .section-description .search-alt input[type=text]::-moz-placeholder {
        color: #FFF;
    }
    .section-description .search-alt input[type=text]:-ms-input-placeholder {
        color: #FFF;
    }
    .section-description .search-alt input[type=text]:-moz-placeholder{
        color: #FFF;
    }
    .tagcloud a{
        color: rgba(255,255,255,0.8);
        border-color: rgba(255,255,255,0.5);
    }
    .tagcloud a:hover{
        border-color: rgba(255,255,255,1);
        color: rgba(255,255,255,1);
    }
    .rssSummary{
        color: rgba(255,255,255,0.8);  
    }
    select{
        background: transparent;
        border-color: rgba(255,255,255,0.5);
        color: rgba(255,255,255,0.8); 
    }
    

}
.white-bg-alt-1 .widget .johannes-bg-alt-1 li,
.white-bg-alt-2 .widget .johannes-bg-alt-2 li,
.white-bg-alt-1 .widget .johannes-bg-alt-1 p,
.white-bg-alt-2 .widget .johannes-bg-alt-2 p,
.white-bg-alt-1 .widget .johannes-bg-alt-1 #prev a,
.white-bg-alt-2 .widget .johannes-bg-alt-2 #prev a,
.white-bg-alt-1 .widget .johannes-bg-alt-1 #next a,
.white-bg-alt-2 .widget .johannes-bg-alt-2 #next a{
    color: rgba(255,255,255,0.8); 
}

.white-bg-alt-1 .widget .johannes-bg-alt-1 ::-webkit-input-placeholder,
.white-bg-alt-2 .widget .johannes-bg-alt-2 ::-webkit-input-placeholder {
    color: rgba(255,255,255,0.8); 
}
.white-bg-alt-1 .widget .johannes-bg-alt-1 ::-moz-placeholder,
.white-bg-alt-2 .widget .johannes-bg-alt-2 ::-moz-placeholder{
    color: rgba(255,255,255,0.8); 
}
.white-bg-alt-1 .widget .johannes-bg-alt-1 :-ms-input-placeholder,
.white-bg-alt-2 .widget .johannes-bg-alt-2 :-ms-input-placeholder{
    color: rgba(255,255,255,0.8); 
}
.white-bg-alt-1 .widget .johannes-bg-alt-1 :-moz-placeholder,
.white-bg-alt-2 .widget .johannes-bg-alt-2 :-moz-placeholder{
    color: rgba(255,255,255,0.8); 
}



.johannes-overlay .entry-meta a,
.johannes-overlay .johannes-breadcrumbs a{
    color:#FFF;
}
.johannes-overlay .entry-title a:hover{
    color: #FFF;
}
.johannes-overlay .entry-meta .meta-item + .meta-item:before,
.johannes-cover .section-bg + .container .entry-meta .meta-item+.meta-item:before{
    background: #FFF;
}
.johannes-overlay .entry-media{
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}
.johannes-overlay .entry-media:not(.alignfull){
    width: 100%;
}
.johannes-overlay .entry-media img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.johannes-overlay .entry-media a{
    display: initial;
}
.johannes-overlay{
    position: relative;
}
.johannes-overlay .entry-media a:after,
.johannes-cover .section-bg:after{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    background-color: rgba(0,0,0,.5);
    left: 0;
    top: 0;
    opacity: 1;
    transition: background-color .2s ease-in-out;
}

.johannes-overlays-soft .johannes-overlay .entry-media a:after,
.johannes-overlays-soft .johannes-cover .section-bg:after{
    background-color: rgba(0,0,0,.25);    
}
.johannes-overlays-none .johannes-overlay .entry-media a:after,
.johannes-overlays-none .johannes-cover .section-bg:after{
    background-color: transparent;  
}

.johannes-cover .section-head{
    @include mq('md') {
        padding: get-gutter-width('xl') 0;
     }

}
.johannes-overlay:hover .entry-media a:after{
    background-color: rgba(0,0,0,.75);
}
.johannes-overlays-none .johannes-overlay:hover .entry-media a:after{
    background-color: rgba(0,0,0,.25);
}
.johannes-overlays-soft .johannes-overlay:hover .entry-media a:after{
    background-color: rgba(0,0,0,.5);    
}


.johannes-overlay .entry-header{
    position: absolute;
    z-index: 2;
    width: 100%;
}

.category-pill .entry-category a{
    font-size: 1.1rem;
    padding: 6px 12px;
    display: inline-block;
    opacity: 1;
    @include mq('md') {
        padding: 8px 16px;
        font-size: 1.4rem;
    }
}
.category-pill .entry-category a{
    margin-bottom: 3px;
    margin-right: 3px;
    @include mq('md') {
        margin-bottom: 5px;
        margin-right: 5px;
    }
}
.category-pill-small .entry-category a{
    @include mq('md') {
    font-size: 1.1rem;
    padding: 6px 12px;
    }
}
.category-pill-small .entry-category,
.entry-format {
    margin-bottom: 4px;
    font-size: 0;
    @include mq('md') {
        margin-bottom: get-gutter-width('xl') * 0.2;
    }
}

.entry-format{
    margin-right: 5px;
}

.entry-format i{
    height: 26px;
    width: 26px;
    justify-content: center;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 2px;
    @include mq('md') {
        height: 34px;
        width: 34px;
        font-size: 2.4rem;
        margin-top: 0;
    }

}
.category-pill-small .entry-format i{
    font-size: 1.8rem;
    height: 26px;
    width: 26px;
}
.johannes-overlay .entry-format i{
    color: #000;
    background: #FFF;
}
.johannes-layout-fa-a,
.johannes-layout-fa-b {
    .entry-format,
    .entry-format + .entry-category{
        float: none;
        display: inline-block;
        vertical-align: top;
    }
}
//Centered content
.overlay-content-centered{
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.overlay-content-centered .entry-meta{
    justify-content: center;
}
.content-self-center{
    position: absolute;
    height: 100%;
    width: 100%;
}

//Left aligned content
.overlay-content-left,
.overlay-content-left-small{
    display: flex;
    text-align: left;
    align-items: flex-end;
}
.overlay-content-left .entry-header{
    padding: 0 20px 20px 20px;
    @include mq('sm') {
        padding: 0 30px 30px 30px;
    }
    @include mq('lg') {
        padding: 0 40px 40px 40px;
    }
    @include mq('xl') {
        padding: 0 get-gutter-width('xl')*1.2 get-gutter-width('xl')*1.2 get-gutter-width('xl')*1.2;
    }
}

.overlay-content-left-small .entry-header{
    padding: 0 20px 20px 20px;
    @include mq('sm') {
        padding: 0 30px 30px 30px;
    }
    @include mq('lg') {
        padding: 0 30px 30px 30px;
    }
    @include mq('xl') {
        padding: 0 get-gutter-width('xl')*0.8 get-gutter-width('xl')*0.8 get-gutter-width('xl')*0.8;
    }
}
.johannes-overlay .entry-meta{
    line-height: 1.6;
}
.johannes-cover .entry-meta{
    justify-content: center;
}
//Carousel
// .alignfull.owl-carousel{
//     width: 100vw;
// }
// @media (min-width: 1050px){
// .alignfull.owl-carousel .owl-item > div{
//     padding-right: 18px;
// }
// }

.has-arrows .owl-nav{
    width: 100%;
    max-width: 260px;

    max-height: 50px;
    @include mq('sm') {
        max-width: 300px;
    }
    @include mq('md') {
        max-height: 70px;
        max-width: 600px;
    }
    @include mq('lg') {
        max-height: 80px;
        max-width: size-by-col(10, 'lg');
    }
    @include mq('xl') {
        max-height: 100px;
        max-width: size-by-col(10, 'xl');
    }
    display:flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    > div{
        height: 50px;
        @include mq('md') {
            height: 70px;
        }
        @include mq('lg') {
            height: 80px;
        }
        @include mq('xl') {
            height: 100px;
        }
        width: 45px;
        font-size: 2rem;
        @include mq('md') {
            width: 60px;
            font-size: 2.4rem;
        }
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: .75;
        transition: all .15s ease-in-out;
        transform: translateX(0)
    }
    > div:hover{
        opacity: 1;
    }
    > div:active{
        transform: translateX(2px);
    }
    > div.owl-prev:active{
        transform: translateX(-2px);      
    }
}
.has-arrows .owl-stage-outer:after{
    content:"";
    max-width:100%;
    width: size-by-col(10, 'xl');
    display: block;
    height: calc(100% - 120px);
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    position: absolute;
    z-index: -1;
}
.arrows-reset .owl-stage-outer:after{
    display: none;
}
.arrows-reset.has-arrows .owl-nav{
    background: transparent
}
.media-shadow{
    margin-bottom: 15px;
    position: relative;
    @include mq('md') {
        margin-bottom: 30px;
    }
    @include mq('lg') {
        margin-bottom: 50px;
    }
}
.media-shadow:after{
    position: absolute;

    width: 100%;
    height: 100%;
    content:"";
    z-index: -1;
    display: none;
    @include mq('md') {
       display: block;
       bottom: -30px;
       left: 30px;
    }
    @include mq('lg') {
        bottom: -50px;
        left: 50px;
     }
}
.media-shadow-radius.media-shadow:after,
.media-shadow-radius img,
.johannes-layout-fa-f .entry-media a:after{
    border-radius: 63% 37% 50% 50% / 70% 68% 32% 30% ;
}
.media-shadow-radius.media-shadow:after{
    bottom: -60px;
}
.media-shadow-radius.media-shadow:after{
    transform: scale(1.25);
    left: 40%;
}

.owl-item .media-shadow-radius.media-shadow:after{
    transform: scale(0.95);   
}

//WA variation 1
.johannes-section.wa-layout{
    margin-bottom: 48px;
    .display-1{
        margin-bottom: 10px;
    }
    p{
        margin-bottom: 18px;
        &:last-child{
            margin-bottom: 0;
        }
    }
    @include mq('md') {

        .display-1,
        p{
            margin-bottom: get-gutter-width('xl') * 0.5;
        }
    }
}
.wa-layout{
    p:last-child{
        margin-bottom: 0;
    }
}
.wa-layout.johannes-cover .section-head{
    padding:20px 0;
    @include mq('md') {
        padding: 48px 0 68px;
    }
}
.wa-layout-4.johannes-cover .section-head{
    text-align: left;
}


@media (min-width: 600px){
.offset-md-15 {
    margin-left: 4.33333%;
}
}
.wa-layout-2{
    @include mq('md') {
        padding-top: 20px;
    }
}

//Layout A and Layout B
.johannes-layout-fa-a .johannes-content-alt{
    padding: 0 30px;
}

.johannes-layout-fa-a .entry-media,
.johannes-layout-fa-a .entry-media a,
.johannes-layout-fa-b  .entry-media,
.johannes-layout-fa-b .entry-media a{
    height: 300px;
    @include mq('sm') {
        height: 350px;
    }
    @include mq('md') {
        height: 500px;
    }
    @include mq('lg') {
        height: 500px;
    }
    @include mq('xl') {
        height: initial;
    }
}
@media (max-width: 900px) and (min-width: 600px){
    .johannes-layout-fa-b .johannes-content-alt{
        padding: 0 30px;
    }
}

//Layout C
.johannes-layout-fa-c,
.johannes-layout-fa-d{
    margin-bottom: get-gutter-width('xs');
    @include mq('md') {
        margin-bottom: 0;
    }
}
.johannes-layout-fa-d{
    @include mq('md') {
        margin-bottom: get-gutter-width('md');
    }    
}
.johannes-slider .johannes-layout-fa-c,
.johannes-slider .johannes-layout-fa-d{
    margin-bottom: 0;
}
.johannes-slider .johannes-overlay a,
.johannes-overlay .entry-media a:after,
.johannes-slider .owl-item > div,
.johannes-slider .owl-item article {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.johannes-layout-fa-e .offset-md-1.section-head-alt{
    @include mq('md') {
    padding-left: 0;
    }
}

.johannes-slider .johannes-layout-fa-e .offset-md-1.section-head-alt{
    padding-right: 20px;
}