@charset "UTF-8";

#autogallery a, #autogallery ul.gallery-albums span
{
	color:#08c;
	cursor:pointer;
	transition:color .5s ease-in-out;
	text-decoration:none;
	outline:none;
}

#autogallery a:hover
{
	color:#333;
}

#autogallery ul.gallery-albums li .active
{
	color:#333;
}

#autogallery ul
{
	display:block;
	list-style:none;
	padding:0;
	margin:0;
}

#autogallery div.gallery-albums
{

}

#autogallery div.gallery-images
{
	overflow:hidden;
}

#autogallery .gallery-albums li
{
	text-transform:capitalize;
	margin:5px;
	vertical-align:top;
	position:relative;
	display:inline-block;
	zoom:1;
	*display:inline;
}

#autogallery .gallery-albums li ul
{
	position:absolute;
	z-index:999;
	top:19px;
	left:-5px;
	background-color:#fff;
}

#autogallery .gallery-albums li ul li
{
	white-space:nowrap;
}

#autogallery .gallery-images li a
{
	display:block;
	overflow:hidden;
	height:100%;
}

#autogallery #gallery-images li
{
	width:25%;
	height:180px;
	float:left;
	transition:all .5s ease-in-out;
}

#autogallery #gallery-images li img
{
	width:auto;
	height:100%;
	max-width:none;
	transition:opacity .3s ease-in-out;
	opacity:.8;
}

#autogallery #gallery-images li img:hover
{
	opacity:1;
}

#autogallery #gallery-images li img.narrow
{
	width:100%;
	height:auto;
}

#autogallery .pagination
{
	clear:both;
}

#autogallery .pagination a
{
	line-height:20px;
	margin:5px;
	display:inline-block;
	zoom:1;
	*display:inline;
}

#autogallery .pagination .jp-disabled
{
	display:none;
}

@media screen and ( max-width: 700px ) 
{
	#autogallery #gallery-images li
	{
		width:50%;
		height:220px;
	}
}

@media screen and ( max-width: 450px ) 
{
	#autogallery #gallery-images li
	{
		width:100%;
		height:160px;
	}
	
	#autogallery #gallery-images li img
	{
	  width:100%;
	  height:auto;
	}
}