/*
Template Name: PhotoMadness
File: Gallery CSS
Author: OS Templates
Author URI: http://www.os-templates.com/
Licence: <a href="http://www.os-templates.com/template-terms">Website Template Licence</a>
*/

#gallery{
	display:block;
	width:100%;
	padding-bottom:10px;
	}

#gallery h2.title{
	display:block;
	clear:both;
	margin:0 0 15px 0;
	padding:0;
	font-size:32px;
	color:#333;
	background-color:#040000;
	}

#gallery ul{
	margin:0;
	padding:0;
	list-style:none;
	}

#gallery li{
	display:block;
	float:left;
	width:130px;
	height:100px;
	margin:0 20px 20px 0;
	padding:0;
	overflow:hidden;
	}

#gallery li a img{
	display:block;
	width:120px;
	height:90px;
	margin:0;
	padding:4px;
	border:1px solid #333333;
	}

#gallery li a:hover img{
	border-color:#CCCCCC;
	}

#gallery li.last{
	margin-right:0;
	}
	
/* different settings for HOMEpage gallery */	
#galleryHome{
	display:block;
	width:100%;
	padding-bottom:10px;
	}

#galleryHome h2.title{
	display:block;
	clear:both;
	margin:0 0 15px 0;
	padding:0;
	font-size:32px;
	color:#333;
	background-color:#040000;
	}

#galleryHome ul{
	margin:0;
	padding:0;
	list-style:none;
	}

#galleryHome li{
	display:block;
	float:left;
	width:170px;
	height:170px;
	margin:0 10px 10px 0;
	padding:0;
	overflow:hidden;
	}

#galleryHome li a img{
	display:block;
	width:160px;
	height:160px;
	margin:0;
	padding:2px;
	border:0px;
	}

#galleryHome li a:hover img{
	border-color:#CCCCCC;
	}

#galleryHome li.last{
	margin-right:0;
	}	