/*
HTML 5 Template Name: 
File: Gallery 21 CSS
Author: OS Templates
Author URI: https://www.os-templates.com/
Licence: <a href="https://www.os-templates.com/template-terms">Website Template Licence</a>
*/

#gallery{display:block; width:100%; line-height:1.6em;}
#gallery figure{}
#gallery figure header{margin:0 0 15px 0; padding:0; font-size:20px; line-height:normal;}
#gallery figure figcaption{display:block; width:100%; margin:0; padding:0; clear:both;}
#gallery ul{margin:0; padding:0; list-style:none;}
#gallery li{float:left; margin:0 0 30px 15px;}
#gallery li img{width:164px; height:140px;}
#gallery li.main img{width:100%; height:100%;}
#gallery li a img{border:10px solid #DFDFDF;}
#gallery li a:hover img{border-color:#FF9900;}
#gallery li.first{margin-left:0;}

.checked {
	color: red;
}