#slideshow {
	margin:0 auto;
	padding:0;
	font-family: Verdana, Geneva, sans-serif;
	line-height: 1.2em;
}

body #slideshow {
	background:#ffffff;
}

h2 {
	font-size: 1.3em;
	line-height: 1em;
	margin: 0;
	padding-left: 0;
	margin: 0 0 10px 0;
	color: #22585c;
}
p {
	margin: 0;
}

#pageContainer{
	margin:0 auto;
	width:510px;
}

#pageContainer.wide {
	margin:0 auto;
	width: 620px;
}

/********** Template A & B ***********/
.template-a#slideshow,
.template-b#slideshow,
.template-c#slideshow{
	position:relative;
	width:510px;
	height:460px;
	border-radius: 20px;
	background-color: #616161;
}

.template-a > #slidesContainer,
.template-b > #slidesContainer{
	overflow:auto; /* allow scrollbar */
	position:relative;
	height: 460px;
	width: 510px;
}
.template-a > #slidesContainer > #slide-header,
.template-b > #slidesContainer > #slide-header{
	position: relative;
	top: 0px;
	left: 0px;
	right: 0px;
	height: 80px;
	width: 510px;
	z-index: 100;
	-moz-box-shadow:    0px 5px 6px -6px #000;
	-webkit-box-shadow: 0px 5px 6px -6px #000;
	box-shadow:         0px 5px 6px -6px #000;
}

.template-a > #slidesContainer > #slide-header h2,
.template-b > #slidesContainer >#slide-header h2{
	position: relative;
	top: 5px;
	line-height: 33px;
	font-size: 20px;
	color: #ffffff;
	left: 60px;
}
.template-a > #slidesContainer > #slide-footer,
.template-b > #slidesContainer > #slide-footer{
	position: relative;
	top: 340px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	height: 60px;
	width: 510px;
	z-index: 100;
	-moz-box-shadow:    0px -5px 6px -6px #000;
	-webkit-box-shadow: 0px -5px 6px -6px #000;
	box-shadow:         0px -5px 6px -6px #000;
}
.template-a > #slidesContainer > #slide-footer p,
.template-b > #slidesContainer > #slide-footer p{
	position: absolute;
	margin: auto auto;
	width: 510px;
	text-align: center;
	line-height: 50px;
	font-size: 14px;
	color: #ffffff;
}

.template-a > #slidesContainer > .frame,
.template-b > #slidesContainer > .frame{
	position: absolute;
	border-left: 5px solid #616161;
	border-right: 5px solid #616161;
	width: 500px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
	height: 340px;
	z-index: 100;
}

.template-a > #slidesContainer > #slideInner > .slide,
.template-b > #slidesContainer > #slideInner > .slide{
	position: relative;
	top: 0px;
	left: 5px;
	right: 0px;
	width: 500px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
	height: 340px;
	background-color: #ffffff;
}

.template-a > #slidesContainer > #slideInner > .slide > .slide-image{
	height: 215px;
/*	width: 363px;*/
	margin: auto;
	display: block;
}

.template-b > #slidesContainer > #slideInner > .slide > .slide-image{
	height: 340px;
	width: 273px;
}

.template-a > #slidesContainer > #slideInner > .slide > .slide-caption,
.template-b > #slidesContainer > #slideInner > .slide > .slide-caption{
	display: none;
}

.template-a > #slidesContainer > #slideInner > .slide > .slide-text,
.template-b > #slidesContainer > #slideInner > .slide > .slide-text{
	position: absolute;
	background-color: #e6f0f9;
	overflow: auto;
	padding: 5px 10px;
}

.template-a > #slidesContainer > #slideInner > .slide > .slide-text{
	top: 215px;
	left: 0px;
	width: 480px;
	height: 115px;
	font-size: 12px;
}
.template-b > #slidesContainer > #slideInner > .slide > .slide-text{
	top: 0px;
	left: 270px;
	width: 210px;
	height: 330px;
	font-size: 14px;
}

.template-a > #slidesContainer > #slideInner > .captioned > .slide-image{
	height: 250px;
	width: 363px;
	margin-left: 0px;
}

.template-b > #slidesContainer > #slideInner > .captioned > .slide-image{
	height: 250px;
	width: 200px;
	margin-left: 35px;
}

.template-a > #slidesContainer > #slideInner > .captioned > .slide-caption,
.template-b > #slidesContainer > #slideInner > .captioned > .slide-caption{
	display: block;
	background-color: #d0e4f5;
	position: absolute;
	font-style: italic;
	padding: 10px;
	z-index: 1;
	font-size: 11px;
}

.template-a > #slidesContainer > #slideInner > .captioned > .slide-caption{
	top: 0px;
	left: 363px;
	height: 195px;
	width: 117px;
}

.template-b > #slidesContainer > #slideInner > .captioned > .slide-caption{
	top: 250px;
	left: 0px;
	height: 70px;
	width: 250px;
}

/*** Slideshow controls style rules. ***/
.template-a > #slidesContainer > #slide-footer > #leftControlLink,
.template-b > #slidesContainer > #slide-footer > #leftControlLink{	
	position: absolute;
	left: 20px;
	top: 4px;
	height: 33px;
	width: 22px;
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: -102px 0px;
	text-indent: -9999px;
	z-index: 100;
}

.template-a > #slidesContainer > #slide-footer > #rightControlLink,
.template-b > #slidesContainer > #slide-footer > #rightControlLink{
	position: absolute;
	right: 20px;
	top: 4px;
	height: 33px;
	width: 22px;
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: -140px 0px;
	text-indent: -9999px;
	z-index: 100;
}

.template-a > #slidesContainer > #slide-header > #audioControlLink,
.template-b > #slidesContainer > #slide-header > #audioControlLink{
	position: absolute;
	top: 15px;
	left: 0px;
/*	margin-left: 20px;*/
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: 18px 0px;
	height: 33px;
	width: 53px;
	text-indent: -9999px;
	z-index: 1;
	background-color: #616161;
}

.template-a > #slidesContainer > #slide-header > #audioControlLink.off,
.template-b > #slidesContainer > #slide-header > #audioControlLink.off{
	background-position: -41px 0px;
}

/************ Template C ************/
.template-c#slideshow {
	position:relative;
	width:620px;
	height:525px;
	border-radius: 20px;
	background-color: #124a87;
}
.template-c > #slidesContainer {
	overflow:auto; /* allow scrollbar */
	position:relative;
	height: 525px;
	width: 620px;
}
.template-c > #slidesContainer > #slide-header{
	position: relative;
	top: 0px;
	left: 0px;
	padding-left: 20px;
	right: 0px;
	height: 60px;
	width: 620px;
	z-index: 100;
	-moz-box-shadow:    0px 5px 6px -6px #000;
	-webkit-box-shadow: 0px 5px 6px -6px #000;
	box-shadow:         0px 5px 6px -6px #000;
}

.template-c > #slidesContainer > #slide-header h2{
	position: absolute;
	top: 2px;
	line-height: 50px;
	font-size: 24px;
	color: #ffffff;
	left: 20px;
}
.template-c > #slidesContainer > #slide-footer{
	position: relative;
	top: 405px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	height: 60px;
	width: 620px;
	z-index: 100;
	-moz-box-shadow:    0px -5px 6px -6px #000;
	-webkit-box-shadow: 0px -5px 6px -6px #000;
	box-shadow:         0px -5px 6px -6px #000;
}
.template-c > #slidesContainer > #slide-footer p{
	position: absolute;
	margin: auto auto;
	width: 620px;
	text-align: center;
	line-height: 50px;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
}

.template-c > #slidesContainer > .frame{
	position: absolute;
	border-left: 5px solid #124a87;
	border-right: 5px solid #124a87;
	width: 610px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
	height: 405px;
	z-index: 100;
}

.template-c > #slidesContainer > #slideInner > .slide {
	position: relative;
	top: 0px;
	left: 5px;
	right: 0px;
	width: 620px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
	height: 405px;
	background-color: #309bd5;
}

.template-c > #slidesContainer > #slideInner > .slide > .slide-image{
	height: 234px;
	width: 350px;
	margin-top: 60px;
	margin-left: 250px;
}

.template-c > #slidesContainer > #slideInner > .slide > .slide-text{
	position: absolute;
	top: 0px;
	left: 0px;
	width: 200px;
	height: 385px;
	font-size: 12px;
	background-color: #CAE6F5;
	overflow: auto;
	padding: 10px 20px;
	background-image: 
	background-repeat: ;
	background-position: ;
}

/*** Slideshow controls style rules. ***/
.template-c > #slidesContainer > #slide-footer > #leftControlLink
{	
	position: absolute;
	left: 20px;
	top: 5px;
	height: 50px;
	width: 55px;
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: 0px -40px;
	text-indent: -9999px;
	z-index: 100;
}

.template-c > #slidesContainer > #slide-footer > #rightControlLink
{
	position: absolute;
	right: 20px;
	top: 5px;
	height: 50px;
	width: 55px;
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: -60px -40px;
	text-indent: -9999px;
	z-index: 100;
}

.template-c > #slidesContainer > #slide-header > #audioControlLink {
	position: absolute;
	top: 2px;
	left: 20px;
/*	margin-left: 20px;*/
	background-image: url("../images/sprite.png");
	background-repeat: no-repeat;
	background-position: -126px -40px;
	height: 60px;
	width: 60px;
	text-indent: -9999px;
	z-index: 1;
}
