/**THE SAME CSS IS USED IN ALL 3 DEMOS**/    
/**gallery margins**/  
ul.gallery{    
margin-left: 3vw;     
margin-right:3vw;  
}    

.zoom {      
-webkit-transition: all 0.35s ease-in-out;    
-moz-transition: all 0.35s ease-in-out;    
transition: all 0.35s ease-in-out;     
cursor: -webkit-zoom-in;      
cursor: -moz-zoom-in;      
cursor: zoom-in;  
}     

.zoom:hover,  
.zoom:active,   
.zoom:focus {
/**adjust scale to desired size, 
add browser prefixes**/
-ms-transform: scale(6);    
-moz-transform: scale(6);  
-webkit-transform: scale(6);  
-o-transform: scale(6);  
transform: scale(6);    
position:relative;      
z-index:100;  
}

.zoom2:hover,  
.zoom2:active,   
.zoom2:focus {
/**adjust scale to desired size, 
add browser prefixes**/
-ms-transform: scale(3);    
-moz-transform: scale(3);  
-webkit-transform: scale(3);  
-o-transform: scale(3);  
transform: scale(3);    
position:relative;      
z-index:100;  
}
/**To keep upscaled images visible on mobile, 
increase left & right margins a bit**/  
@media only screen and (max-width: 768px) {   
ul.gallery {      
margin-left: 15vw;       
margin-right: 15vw;
}

/**TIP: Easy escape for touch screens,
give gallery's parent container a cursor: pointer.**/
.DivName {cursor: pointer}
}