.mw-gallery,
.mw-gallery *:before,
.mw-gallery *:after,
.mw-gallery *{
    box-sizing: border-box;
}
.mw-gallery{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1102;
}

.mw-gallery-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.7);
}

.mw-gallery-content{
    position: relative;
    z-index: 1;
    height: 100vh;
    width: 100vw;
}

.mw-gallery-fullscreen-item{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) scale(.93);
    transition: .6s;
    opacity: 0;
    visibility: hidden;
}
.mw-gallery-fullscreen-item.active{
    transform: translate(-50%,-50%) scale(1);
    opacity: 1;
    visibility: visible;
}
.mw-gallery-fullscreen-item-image img{
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
}
.mw-gallery-fullscreen-item-description{
    max-height: 20vh;
    color: white;
    padding: 10px;
    background-color: rgba(0,0,0,.2);
}

.mw-gallery-prev,
.mw-gallery-next{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 50px;
    color: white;
    display: inline-block;
    padding: 20px;
    font-family: ui-sans-serif, sans-serif;
    z-index: 5;
}
.mw-gallery-prev:after{
    content: '\2039';
}
.mw-gallery-prev{
    left: 20px;
}
.mw-gallery-next{
    right: 20px;
}

.mw-gallery-controls > *{
    padding: 10px;
    cursor: pointer;
    font-family: "Material Design Icons";
    font-size: 20px;
}

.mw-gallery-control-play.pause:after{
    content: "\F03E4";
}
.mw-gallery-control-play:after{
    content: '\F040A';
}

.mw-gallery-control-close:after{
    content: "\F0156";
}

.mw-gallery-controls{
    position: absolute;
    top: 10px;
    right: 10px;
    background: #eee;
    z-index: 11;
}
.mw-gallery-next:after{
    content: '\203A';
}


