/**
Stylesheet: Slideshow.css
	CSS for Slideshow.

License:
	MIT-style license.

Copyright:
	Copyright (c) 2008 [Aeron Glemann](http://www.electricprism.com/aeron/).
	
HTML:
	<div class="slideshow">
		<div class="slideshow-images" />
		<div class="slideshow-captions" />
		<div class="slideshow-controller" />
		<div class="slideshow-loader" />
		<div class="slideshow-thumbnails" />
	</div>
	
Notes:
	These next five rules are required for Slideshow to work correctly.
	Override at your own risk.
*/


	

.slideshow {
	/*display: block;*/
  position: relative; z-index: 0;
 
/*	top: -45px;
  left:-45px;*/
	/*padding: -30px;
	margin: -30px;	
	bottom: -5px;
	height: 250px;*/
	
	/*width: 400px;
	height: 300px;*/
	margin: 0 auto;
/*	display: table;*/
}
.slideshow a img {
	border: 0;
}

.slideshow-images {
	display: block; overflow: hidden; position: relative;	
}		
.slideshow-images img {
	display: block; position: absolute; z-index: 1;
}		
.slideshow-thumbnails {
	overflow: hidden;
	/*opacity: 0;*/
	/*opacity: 1;*/
}
.slideshow-thumbnails ul {
/*	left: 0; position: absolute; top: 0; width: 100000px;*/
/*	left: 0; position: absolute; top: 0; width: 100px; height: 20px;*/
	
	height: 65px;
	left: 0;
	position: absolute;
	top: 0;
	width: 10000px;
}

/**
HTML:
	<div class="slideshow-images">
		<img />
		<img />
	</div>
	
Notes:
	The images div is where the slides are shown.
	Customize the visible / prev / next classes to effect the slideshow transitions: fading, wiping, etc.
*/

/*.slideshow-images {
	height: 300px; width: 400px;
}*/		
.slideshow-images-visible { 
	opacity: 1;
}	
.slideshow-images-prev { 
	opacity: 0;
}
.slideshow-images-next { 
	opacity: 0;
}
.slideshow-images img {
	float: left; left: 0; top: 0;
}	

/**
Notes:
	These are examples of user-defined styles.
	Customize these classes to your usage of Slideshow.
*/

/*
.slideshow {
/*	height: auto; margin: 0 auto; width: 400px;*/
	
	/*height: 300px; width: 400px;*/
/*	margin: 0 auto;
}
.slideshow a img {
	border: 0;
}
*/
/**
HTML:
	<div class="slideshow-captions">
		...
	</div>
	
Notes:
	Customize the hidden / visible classes to affect the captions animation.
*/

.slideshow-captions {
	background: #000; bottom: 0; color: #FFF; font: normal 1em Arial, sans-serif; left: 0; overflow: hidden; position: absolute; text-indent: 10px; width: 100%; z-index: 10000;
	color: #999;
}
.slideshow-captions p {
	line-height: 20px;
}
.slideshow-captions-visible {
	height: 60px; opacity: .7;
}

@media screen and (max-width: 479px) { 
	.slideshow-images { height: 100%!important; width: 100%!important;}	
	.slideshow-captions { font-size: 0.85em; padding-top: 3px;}
	.slideshow-captions p {	line-height: 19px; }
	.slideshow-captions-visible { height: 20px!important; }
}
@media screen and (min-width: 480px) and (max-width: 767px) { 	
	/*.slideshow-images img { width: 120%!important; height: 120%!important; }	*/	
	/*.slideshow { height: 100%!important; width: 100%!important }*/
	.slideshow-images { height: 100%!important; width: 100%!important;}		
	.slideshow-captions { font-size: 0.95em; padding-top: 3px;}
	.slideshow-captions p {	line-height: 20px; }
	.slideshow-captions-visible { height: 20px!important; }
}

.slideshow-captions-hidden {
	height: 0; opacity: 0;
}
.slideshow-captions-visible {
	height: 60px; opacity: .7;
}
.slideshow-captions a:link { 
	text-decoration: none;
	color: #FFF;	
}
.slideshow-captions a:hover {
	text-decoration: underline;
}
.slideshow-captions a:active { 
	text-decoration: none;
	color: #FFF;	
}
.slideshow-captions a:visited { 
	text-decoration: none;
	color: #FFF;	
}

/**
HTML:
	<div class="slideshow-controller">
		<ul>
			<li class="first"><a /></li>
			<li class="prev"><a /></li>
			<li class="play"><a /></li>
			<li class="next"><a /></li>
			<li class="last"><a /></li>
		</ul>
	</div>
	
Notes:
	Customize the hidden / visible classes to affect the controller animation.
*/

.slideshow-controller {
	background: url(controller.png) no-repeat; height: 48px; left: 50%; margin: -24px 0 0 -122px; overflow: hidden; position: absolute; top: 50%; width: 244px; z-index: 10000;
	opacity: 0;
}
.slideshow-controller * {
	margin: 0; outline: none; padding: 0;
}
.slideshow-controller-hidden { 
	opacity: 0;
}
.slideshow-controller-visible {
	/*opacity: 1;*/
	opacity: 0;
}
.slideshow-controller a {
	background: url(controller-controls.png) no-repeat -47px 0; cursor: pointer; display: block; height: 18px; left: 112px; overflow: hidden; position: absolute; top: 15px; width: 20px;
}
.slideshow-controller a.active {
	background-position: -47px -18px;
}
.slideshow-controller li {
	list-style: none;
}			 
.slideshow-controller li.first a {
	background-position: 0 0; left: 36px; width: 19px;
}
.slideshow-controller li.first a.active {
	background-position: 0 -18px;
}
.slideshow-controller li.prev a {
	background-position: -19px 0; left: 68px; width: 28px;
}
.slideshow-controller li.prev a.active {
	background-position: -19px -18px;
}
.slideshow-controller li.play a {
	background-position: -67px 0;
}
.slideshow-controller li.play a.active {
	background-position: -67px -18px;
}
.slideshow-controller li.next a {
	background-position: -87px 0; left: 148px; width: 28px;
}
.slideshow-controller li.next a.active {
	background-position: -87px -18px;
}
.slideshow-controller li.last a {
	background-position: -115px 0; left: 189px; width: 19px;
}
.slideshow-controller li.last a.active {
	background-position: -115px -18px;
}

/**
HTML:
	<div class="slideshow-loader" />
	
Notes:
	Customize the hidden / visible classes to affect the loader animation.
*/

.slideshow-loader {
	background: url(loader.png); height: 30px; right: 2px; position: absolute; top: 2px; width: 30px; z-index: 10001;
}
.slideshow-loader-hidden {
	opacity: 0;
}
.slideshow-loader-visible {
	opacity: 1;
}

/**
HTML:
	<div class="slideshow-thumbnails">
		<ul>
			<li><a class="slideshow-thumbnails-active" /></li>
			<li><a class="slideshow-thumbnails-inactive" /></li>
			...
			<li><a class="slideshow-thumbnails-inactive" /></li>
		</ul>
	</div>
	
Notes:
	Customize the active / inactive classes to affect the thumbnails animation.
	Use the !important keyword to override FX without affecting performance.
*/

.slideshow-thumbnails {
	/*bottom: -55px; height: 55px; left: 0; position: absolute; width: 100%;*/
	/*position: absolute;
	height: 55px;
	width: 100px;
	opacity: 1;*/
/*	height: 55px; left: 0; position: absolute; width: 100%;
	bottom: -50px; */
	
	bottom: -55px;
	height: 55px;
	left: 0;
	position: absolute;
	width: 100%;
}
.slideshow-thumbnails * {
	margin: 0; padding: 0;
	opacity: 0;
}
.slideshow-thumbnails li {
	float: left; list-style: none;
}
.slideshow-thumbnails a {
	display: block; float: left; outline: none; margin: 5px 5px 0 0; padding: 5px;
}
.slideshow-thumbnails a:hover {
	background-color: #999 !important; opacity: 1 !important;
	padding-left: 5px;
	padding-top: 5px;
	margin-top: 5px;
}
.slideshow-thumbnails img {
	display: block;
}
.slideshow-thumbnails-hidden {
	background-color: #FFF; opacity: 0;
}
.slideshow-thumbnails-inactive {
	background-color: #FFF; opacity: .5;
}
.slideshow-thumbnails-active {
	background-color: #900; opacity: 1;
}