






img {
	
padding:0;
	display:block;
	margin:0;
	top:0;
	
	
}
#mkLightboxContainer {
	
    position: fixed;
    left: 0;
    top: 0;
   
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    box-sizing: border-box;
    z-index: 1111111;
    display: flex;
    align-items: center;
    justify-content: center;
			
	}




#mkLightboxContainer > * {
	
    z-index: 11111;
}

#overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: rgba(0,0,0,.85);
    z-index: 11110;
}

#mkLightboxContainer #mklbInner {
    position: relative;
    height: 100vh;
    transition: all .4s ease-in-out;
    margin-left: 0;
}

section.imageContainer {
    margin: 0;
    padding: 0em;
    box-sizing: border-box;
    border: none;
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
	  -webkit-animation: fadeInFromNone 1.5s forwards;
    -moz-animation: fadeInFromNone 1.5s forwards;
    -o-animation: fadeInFromNone 1.5s forwards;
    animation: fadeInFromNone 1.5s forwards;
}

@-webkit-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-moz-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@-o-keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes fadeInFromNone {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}


#mkLightboxContainer img,
#mkLightboxContainer video {
	animation-delay: 10s;
background: #000;
    box-shadow: 0 0 30px #111;
    max-height: 100vh;
    min-width: auto;
    max-width: 100vw;
    width: auto;
    height: auto;
	

}

#mkLightboxContainer #yt-video {
    width: 75vw;
    height: 42.1875vw; /* 75*9/16 */
}

.mklbItem:hover {
    cursor: pointer;
    font-style: italic;
}

#closeIconContainer {
    width: 20px;
    height: 15px;
	
    position: fixed;
  right: 30px;
    top: 30px;
    margin-top: 0px;
    margin-right: 0px;
    transition: transform .2s linear;
	
}

#closeIconContainer:hover {
    cursor: pointer;

}

@keyframes fadeout {
 0% {
        display: none;
        opacity: 1;
    }

    1% {
        display: block;
        opacity: 1;
    }

    100% {
        display: block;
        opacity: 0;
    }

}

#closeIconContainer svg,
#prev svg,
#next svg,
#stopGallery svg, 
#playGallery svg{
    fill: white;
}

#prevContainer,
#nextContainer {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 10px 5px 10px 5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
	
    transition: all .2s ease-in;
	
}

#nextContainer {
    left: auto;
    right: 0;
	
}

#prevContainer:hover,
#nextContainer:hover {
    cursor: pointer;
	color:#000;
    
}

#prev,
#next {
    width: 35px;
    height: 35px;
	color:#000;
}

.grid {
    display: grid;
    align-content: flex-start;
    grid-gap: 0em;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid figure {
    width: 100%;
    margin: 0;
}

.grid img {
    width: 100%;
}

#controlContainer {
    position: absolute;
    top: 0em;
    left: .5em;
    display: flex;
}

#controlContainer > div {
    width: 2em;
}

#controlContainer > div:hover {
    cursor: pointer;
}

#controlContainer #stopGallery,
#controlContainer.stop #playGallery{
	
    opacity: 0;
}

#controlContainer.stop #stopGallery,
#controlContainer #playGallery{
	
    opacity: 1
}

.sl-spinner {
  	border: 5px solid #fff;
	top: 50%;
				left: 50%;
				width: 3em;
				height: 3em;
	margin: -2em 0 0 -1.5em;
	border-bottom: 5px solid transparent;
	border-radius: 50%;
	position: fixed;
	animation: spin 1s linear infinite;
	display: flex;
	.inner {
		width: 50px;
		height: 50px;
		right:50%;
			top:45%;
		border: 3px solid transparent;
		border-top: 3px solid #fff;
		border-radius: 50%;
		animation: spinInner 1s linear infinite;

@media screen and (max-width: 768px){
    .grid-2-sm {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 450px){
    .grid-12-xs {
        grid-template-columns: 1fr;
    }
}