header {
    img { 
        max-width: 100%; 
        display: block;
    }
}

// content elements:
// box
a.content_element_box {
    .hover {
            display: none;
    }
    &:hover {
        .hover {
            display: inline;
        }
        .standard {
            display: none;
        }
    }
    div.content_element_box {
        display: inline-block;
        position: relative;
        height: 200px;
        margin:1em;
        
        .image { height:100%; }
        img {
            height: 100%;
            width: auto;
        }
        .caption {
            position: absolute;
            width: 100%;
            bottom:0;
            right:0;
            background: rgba(255,255,255,0.8);
        }
    }
}
.content_elment_box_body {
    display: none;
}


// devided
.content_element_devided {
    display: grid;
    grid-template-columns:50% 50%;
}

// page
.content_element_page {
    &:after {
        content: "";
        display: block;
        clear: both;
    }
}

// image
.bulkImportedImage,
.content_element_image {
    width: 60%;
    
    &.left {
        float: left;
    }
    &.right {
        float: right;
    }
    &.full {
        width:100%;
    }
    img {
        width: 100%;
    }
}



// lightbox -----------------------
.featherlight .featherlight-content {
    background: none;
    overflow: visible;
    .featherlight-close-icon {
        color:$white;
        background: none;
        top: -10px;
        right: -10px;
        font-size: 1.5em;
    }
    @media #{$view_mobile} {
        iframe { width:100%; height:100%;}
    }
}

//--------------------------lightbox
 
 
// mobile navigation--------------
#main-nav {
    @media #{$view-mobile} {
        display: none;
    }
}

#mobile-nav {
    display: none;
    @media #{$view-mobile} {
        display: block;
        a.menu-toggle {
            display: block;
        }
    }
    .the_list {
        display: none;
    }
    &.open .the_list {
        display: block;
        position: fixed;
        top:0;
        left:0;
        z-index:99;
        background: rgba(255,255,255,0.9);
        height:100%;
        width: 100%;
        overflow: scroll;
    }
    a.menu-toggle {
        position: fixed;
        top:0;
        right:0;
        width:50px;
        height:50px;
        z-index:100;
        cursor: pointer;
        background: rgba(255,255,255,0.9);
        background-image: url('menu-icon.png');
        background-position: top;
        background-size: 100%;
    }
    &.open a.menu-toggle {
        background-position: bottom;
    }
}
// --------------mobile navigation