/*
License: MIT-style license.
Copyright: Copyright (c) 2008 [Aeron Glemann] (http://www.electricprism.com/aeron/)
*/

/* body background
--------------------------------------------------*/

body.pg {
	background-color: #222;
}

/* wrapper
--------------------------------------------------*/

.pg-sd {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #303030;
	border: solid 1px #000;
	height: 568px;
	width: 782px;
}
.pg-sd a img {
	border: 0;
}

/* images
--------------------------------------------------*/

.pg-sd-images {
	
}
.pg-sd-images-visible { 
	opacity: 1;
}	
.pg-sd-images-prev { 
	opacity: 0; 
}
.pg-sd-images-next { 
	opacity: 0; 
}
.pg-sd-images img {
	float: left;
	left: 0;
	top: 0;
	opacity: 0;
}	

/* captions
--------------------------------------------------*/

.pg-sd-captions {
	background-color: #000;
	bottom: 75px;
	color: #fff;
	font: normal 12px/22px Arial, sans-serif;
	left: 0;
	overflow: hidden;
	position: absolute;
	text-indent: 5px;
	width: 100%;
	z-index: 10000;
}
.pg-sd-captions-hidden {
	height: 0;
	opacity: 0;
}
.pg-sd-captions-visible {
	height: 22px;
	opacity: .7;
	color: #fff;
}
.pg-sd-captions span {
	font-weight: bold;
	font-style: italic;
}

/* controller
--------------------------------------------------*/

.pg-sd-controller {
	background: url(../images/controller.png) no-repeat;
	height: 42px;
	left: 50%;
	margin: -61px 0 0 -119px;
	overflow: hidden;
	position: absolute;
	top: 50%;
	width: 238px;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
}
.pg-sd-controller * {
	margin: 0;
	padding: 0;
}
.pg-sd-controller-hidden { 
	opacity: 0;
}
.pg-sd-controller-visible {
	opacity: 1;
}
.pg-sd-controller a {
	cursor: pointer;
	display: block;
	height: 18px;
	overflow: hidden;
	position: absolute;
	top: 12px;
}
.pg-sd-controller a.active {
	background-position: 0 18px;
}
.pg-sd-controller li {
	list-style: none;
}
.pg-sd-controller li.first a {
	background-image: url(../images/controller-first.gif);
	left: 33px;
	width: 19px;
}
.pg-sd-controller li.last a {
	background-image: url(../images/controller-last.gif);
	left: 186px;
	width: 19px;
}
.pg-sd-controller li.next a {
	background-image: url(../images/controller-next.gif);
	left: 145px;
	width: 28px;
}
.pg-sd-controller li.pause a {
	background-image: url(../images/controller-pause.gif);
	left: 109px;
	width: 20px;
}
.pg-sd-controller li.play a {
	background-position: 20px 0;
}
.pg-sd-controller li.play a.active {
	background-position: 20px 18px;
}
.pg-sd-controller li.prev a {
	background-image: url(../images/controller-prev.gif);
	left: 65px;
	width: 28px;
}

/* loader
--------------------------------------------------*/

.pg-sd-loader {
	height: 28px;
	right: 0;
	position: absolute;
	top: 0;
	width: 28px;
	z-index: 10001;
}
.pg-sd-loader-hidden {
	opacity: 0;
}
.pg-sd-loader-visible {
	opacity: 1;
}

/* thumbnails
--------------------------------------------------*/

.pg-sd-thumbnails {
	height: 74px;
	left: 0;
	position: absolute;
	width: 100%;
	border-top: solid 1px #000;
}
.pg-sd-thumbnails * {
	margin: 0;
	padding: 0;
}
.pg-sd-thumbnails ul {
	height: 74px;
	left: 0;
	position: absolute;
	top: 0;
	width: 10000px;
	margin: 0 9px !important;
}
.pg-sd-thumbnails li {
	float: left;
	list-style: none;
	margin: 8px 7px 7px 0;
	position: relative;
}
.pg-sd-thumbnails a {
	display: block;
	float: left;
	padding: 4px;
	position: relative; 
}
.pg-sd-thumbnails a:hover {
	background-color: #ccc !important;
	opacity: 1 !important;
}
.pg-sd-thumbnails img {
	display: block;
}
.pg-sd-thumbnails-active {
	background-color: #fff;
	opacity: 1;
}
.pg-sd-thumbnails-inactive {
	background-color: #1c1c1c;
	opacity: .7;
}