/* gallery.css */

#preview-container
{
    position: fixed;
    
    display: grid;
    
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background-color: rgba( 0,0,0,0.75 );
    
    z-index: 9;
}

#preview-img
{
    justify-self: center;
    align-self: center;
    
    max-width: 90vw;
    max-height: 90vh;
    
    border: 8px solid #fff;
}

.gallery-thmb
{
    transition: opacity ease .2s, width ease .2s , box-shadow ease .2s;
    justify-self: center;
    align-self: center;
    width: 100%;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

.gallery-thmb:hover
{
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    cursor: pointer;
    opacity: 0.5;
    width: 98%;
}