

/* Advanced CSS hover styles */
.img1 { overflow: hidden; padding: 0px 0px; margin:0px; }
.img1 > li {
	position: relative;
	float: left;
	list-style: none;
	margin: 0px 20px 20px 0;
	font-size: 10px;
}
.img1 a 							{ text-decoration: none; display: block; }
.img1 li img 						{ display: block; position: relative; z-index: -1; } /* IE8 fix, background colour appears behind img for uknown reason set negative z-index */
.img1 li:not([class=na]) img 		{ position: static; } /* Reset relative position, as this plays havoc with good browsers */
.img1 a:hover, img1 a:focus			{ display: block; outline: none; -moz-box-shadow: 3px 3px 5px #000; -webkit-box-shadow: 3px 3px 5px #000; box-shadow: 3px 3px 5px #000; }
.img1 a:hover img, img1 a:focus img	{ outline: 0px solid #ccc; }

.img1 a:hover:after,
.img1 a:focus:after
{
	content: attr(title);
	color: #fff;font-family: 'Libre Franklin', sans-serif;
	position: absolute;
	bottom: 0;
	height: 30px;
	line-height: 30px;
	text-align: center;
	 font-size:15px; letter-spacing:1px;
	width: 100%;
	background: rgb(17,71,117);
	background: rgba(17,71,117,0.9);
	background: -moz-linear-gradient(top, rgba(17,71,117,0.9), rgba(17,71,117,0.9)); /* Firefox 3.6+ */
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(17,71,117,0.9)), to(rgba(17,71,117,0.9))); /* Safari */
	display: block;
	
}
.img1 a.reverse:hover:after,
.img1 a.reverse:focus:after { top: 0; right: 0; }

.img1 a.offset:hover:after,
.img1 a.offset:focus:after { top: 50%; margin-top: -15px; }

.img1 a.alternate01:hover:after,
.img1 a.alternate01:focus:after
{ 
	top: 0;
	width: 238px; 
	height: 160px; 
	line-height: normal; 
	text-align: left; 
	padding: 4px; 
	font-size: 15px; letter-spacing:1px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

/* Change colours */
.img1.highlight01 a:hover img, img1.highlight01 a:focus img {  }

.img1.highlight01 a:hover:after,
.img1.highlight01 a:focus:after
{
	
	color: #fff;

}
