﻿.mi-overlay-main {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    padding-top: 1rem;
}

.mi-overlay-content {
    display: flex;
    flex-flow: column;
    justify-content: center;
    position: absolute;
    /*top: 50%;*/
    /*left: 50%;*/
    height: 100%;
    align-items: center;
    width: 100%;
    padding: 0.5rem;
    /*width: 100%;*/
    /*margin-top: 4rem;*/
    /*transform: translate(-50%, -50%);*/
    /*-ms-transform: translate(-50%, -50%);*/
}

.mi-overlay-menu {
    z-index: 3100;
    position: fixed;
    right: 0;
    margin-right: 2rem;

}

.mi-overlay-menu-button {
    color: white !important;
    font-size: 2rem;
    cursor: pointer;
}

.mi-overlay-picture {
    /*margin-top: 2rem;*/
    /*margin-left: 2rem;*/
    /*margin-right: 2rem;*/


}

.mi-overlay-picture {
    
}

@media screen and (orientation: landscape) {
    .mi-overlay-content {
        height: 90%;
    }
    .mi-overlay-picture {
        max-height: 100%;
        height: 100%;
        width: auto;
        border-color: red;
        border-style: dashed;
    }

    .mi-overlay-picture img {
        /*max-height: 100%;*/
        width: auto;
        height: 100%;
        border-color: red;
        border-style: dashed;
    }

}

@media screen and(orientation: portrait) {
    .mi-overlay-picture {
        max-width: 100%;
        height: auto;
    }
}

.mi-overlay-content-label-container {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*overflow-y: auto;*/
}

.mi-overlay-label {
    background: grey;
    border-radius: 1rem;
    font-size: 0.75rem;
    padding: 0.2rem 1rem 0.2rem 1rem;
    color: black;
    margin-left: 0.2rem;
    margin-top: 0.2rem;
    cursor: pointer;
}