.gallery { list-style: none; padding: 0; margin-top: 15px; padding: 0px 20px; }
.gallery:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
.gallery li { float: left; width: 25%; }
.gallery li a { border-bottom: 5px solid #cccccc; display: block; height: 118px; margin: 25px 10% 0px 0px; overflow: hidden;}
.gallery li a:hover { border-bottom: 5px solid #a0cc61; }
.gallery li img { display: block; width: 100%; height: auto; }


/* For inline examples only */
#PhotoSwipeTarget { width: 100%; height: 200px; }

#Indicators { text-align: center; margin-top: 20px; }
#Indicators span { display: inline-block; height: 10px; width: 10px; margin: 0 10px 0 0; padding: 0; -webkit-border-radius:5px; -moz-border-radius:5px; -o-border-radius:5px; border-radius:5px; background: #c5c5c5; overflow:hidden; }
#Indicators span.current{ background: #EEBF02; }

@media handheld, only screen and (max-width: 768px) {
	.gallery li { float: left; width: 33.33333333%; }
}

@media handheld, only screen and (max-width: 640px) {
	.gallery li { float: left; width: 50%; }
	.gallery li a { height: 70px; }
}

@media handheld, only screen and (max-width: 480px) {
	.gallery li { float: left; width: 50%; }
	.gallery li a { height: 100px; }
}

@media handheld, only screen and (max-width: 319px) {
	.gallery li { float: left; width: 100%; }
	.gallery li a { height: 140px; }
}

@media handheld, only screen and (max-width: 240px) {
	.gallery li { float: left; width: 100%; }
	.gallery li a { height: 100px; }
}
