/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html is available at http://www.cssplay.co.uk/menu/slide_show.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any way to fit your requirements.
=================================================================== */

/* common styling */
/* set up the overall width of the menu div and the margins */

#gallery, #gallery ul {
	padding:0;
	margin:0;
	list-style:none;
}

#gallery {
	width:500px;
	position:relative;
	float: left;
	height: 300px;
}
#gallery li {
	width:115px;
	margin-right:1px;
	float:left;
	color: #000000;
	background-color: #71A28A;
	text-align:center;
	height: 25px;
}
#gallery li p {
	height:25px;
	padding:0 0 0 10px;
	margin:0;
	cursor:pointer;
	color: #FFFFFF;
	font-family: arial, verdana, sans-serif;
	font-size: 10px;
	line-height: 25px;
}
#gallery li.galleryon p {
	color:#FFFFFF;
	background-color: #002147;
	font-weight: bold;
}
#gallery ul {
	display:none;
}

#gallery li.galleryon ul {
	display:block;
	position:absolute;
	left:0;
	top:25px;
	border-top-width: 10px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #002147;
	border-right-color: #002147;
	border-bottom-color: #002147;
	border-left-color: #002147;
	padding-bottom: 10px;
	width: 100%;
	padding-right: 5px;
	padding-left: 5px;
	background-color: #FFFFFF;
	padding-top: 10px;
	height: 250px;
}
#gallery li.galleryon ul li em {
	display:none;
}
#gallery li.galleryon ul li {
	width:118px;
	height:109px;
	border:1px solid #000;
	border-color:#eee #444 #000 #ccc;
	float:left;
	margin:0;
	text-align:center;
	padding-top:9px;
	cursor:pointer;
	background:#888;
}
#gallery li.galleryon ul li span img {
	border:1px solid #fff;
	border-color:#000 #ccc #eee #444;
}
#gallery li.galleryon ul li.hz {
	padding-top:21px;
	height:97px;
}

#gallery li.galleryon ul li.page em {
	display:block;
	position:absolute;
	left:80px;
	top:10px;
	border:1px solid #664;
}
#gallery li.galleryon ul li.hz em {
	left:10px;
	top:80px;
}
#gallery li.galleryon ul li.page em img {
	display:block;
}


.img{
	padding-top: 2px;
	padding-right: 2px;
	padding-bottom: 0px;
	padding-left: 2px;
}

