.cmsgallery {
	background-color: #fff;
	padding: 2px 0px;
	width: 660px;
	margin: 0px auto;
}
.cmsgallery h2,
.cmsgallery div{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

/****** SLIDESHOW CONTROLS ******/
.cmsgallery .controls{
	clear: both;
	float: none;
	margin-top: 5px;
	position: relative;
	text-align: center;
}
.cmsgallery .controls ul{
	margin: 0px;
	padding-left:195px;
	text-align: center;
}
.cmsgallery .controls li{
	background-color: #312e2d;
	color: #fff;
	display: inline;
	margin: 0px 5px 0px 5px;
	padding: 0px 15px;
}
.cmsgallery .controls .index{
	background-color: #312e2d;
	background-image:url(img/bgbutton.gif);
	background-repeat: repeat-x;
	border: 0px;
	color: #fff;
	cursor:pointer;
	display:block;
	float:right;
	font-size: 12px;
	font-weight:bold;
	height: 20px;
	margin-right:50px;
	margin-bottom:5px;
	text-align: center;
	width:50px;
	cursor: pointer;
	text-transform:uppercase;
}


.cmsgallery .controls li.back,
.cmsgallery .controls li.next,
.cmsgallery .controls li.play {
	background-color: #312e2d;
	background-image:url(img/bgbutton.gif);
	background-repeat: repeat-x;
	border: 0px;
	color: #fff;
	cursor:pointer;
	display:block;
	float:left;
	font-size: 12px;
	font-weight:bold;
	height: 20px;
	margin-bottom:5px;
	text-align: center;
	width:50px;
	cursor: pointer;
	text-transform:uppercase;
}
.cmsgallery .controls li.back a,
.cmsgallery .controls li.next a,
.cmsgallery .controls li.play a {
	color: #fff;
	font-size: 12px;
	height: 20px;
	text-align: center;
	padding-left:5px;
	padding-right:5px;
}

.cmsgallery .controls li.last{
	margin-right: 0px;
}
.cmsgallery .controls li.disabled {
	background-color: #312e2d; 
	color: #383838;
}

/****** PRIMARY IMAGE ZONE ******/
.cmsgallery div.slide {
	clear: both;
	padding: 0px;
	padding-bottom: 20px;
	text-align:center;
}
.cmsgallery div.slide img{
	/* width: 580px; */
}

.cmsgallery div.loading{
	background-image: url(img/media-loader.gif);
	background-position: right top;
	background-repeat: no-repeat;
}

.cmsgallery div.slide img{
	border: 10px solid #312e2d;
	position: relative;
	padding: 10xp;
}
/****** TITLE ******/
.cmsgallery div.slide div.title{
	color: white;	
	margin-bottom: 5px;
}
/****** ALBUMS ZONE ******/
.cmsgallery .albums{
	background-color: #fff;
	padding-top: 15px;
}
.cmsgallery .albums h2{
	color: #fff;
	font-size: 1px;
}
.cmsgallery .album {
	clear: both;
}
.cmsgallery .album .albumelement{
	background-color: #312e2d;
	border: 5px solid #312e2d;	
	float:left;
	height: 90px;
	margin-right: 10px;
	margin-bottom: 10px;
	vertical-align: middle;
	width: 90px;
}

.cmsgallery .album img{
	margin-top: auto;
	display: inline;
	vertical-align: middle;
}

/****** AUX STYLES ******/
.cmsgallery .clearer {
	border: 0px;
	clear: both;
	float: none;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
}
