/*
    anythingSlider v1.0
    
    By Chris Coyier: http://css-tricks.com
    with major improvements by Doug Neiner: http://pixelgraphics.us/
    based on work by Remy Sharp: http://jqueryfordesigners.com/

=================  CHANGELOG ===================================================
2/8/11 - GSK - Reduced height of several elements to allow for shorter descriptions without taking
up excess height on page - see all comments below.
*/


/* Making height adjustments: The original 'height' setting for classes .anythingSlider, .wrapper
   and {.anythingSlider ul li} was 650 px. Basically, the height of {.anythingSlider ul li .slide} needs to
   reflect (image + longest-description), taking into account that some users will increase their browser
   text size. The height of classes mentioned above should be that plus a little extra.
*/
.anythingSlider
	{ 
		width: 700px; 	/* Full width of slider, including arrows on the sides */
		height: 420px;	/* Full height including image, navigation buttons under it, descriptve text under THAT, and padding. Originally 650 */
		position: relative; 
		margin: 0 auto 15px; 
	}
.anythingSlider .wrapper                
	{ 
		width: 700px; 
		overflow: auto; 
		height: 420px;	/* Originally 650 */
		margin: 0 20px; 
		position: absolute; 
		top: 0; 
		left: 0; 
	}
.anythingSlider .wrapper ul             
	{ 
		width: 99999px; 
		list-style: none; 
		position: absolute; 
		top: 0; 
		left: 0; 
		margin: 0; 
	}
.anythingSlider ul li                   
	{ 
		display: block; 
		float: left;
		padding: 0; 
		height: 420px; 	/* Originally 650 */
		width: 700px; 
		margin: 0; 
	}
.anythingSlider ul li .slide img 
	{ 
		width: 610px; /* Width of image displayed in slider */
		position: absolute;
		top: 0;
		left: 0;
		
	}
	
/* Container for the image plus description - take into account the 'top' of the .description class,
    then add height needed for the longest description.
*/
.anythingSlider ul li .slide
	{
/*		height: 450px;
*/		
		height: 400px;	/* Was originally 450; made smaller for shorter descriptions so don't create excess blank space on page */
		width: 610px;
		position: relative;
	}

.anythingSlider ul li .slide .description
	{
		position: relative;
		top: 340px;		/* Height of image PLUS navigation buttons under it */
		font-size: 10px;
		color: #333;
	}


.anythingSlider ul li .slide.popbehind
	{
		display: none;
	}	

/*
.anythingSlider ul li .slide .popinfront .popbehind
	{
		opacity:.60;
		background: black; 
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 45px;
	}
*/
	
.anythingSlider ul li .slide .popinfront	/* 'Black box' that pops up in front of image (shows team name and institution for OpenMinds). */
	{
		color: white;
		background: black;
		position: absolute;
		top: 0px;
		left: 0px;
		height: 75px; /* Originally 45 */
	}

.anythingSlider ul li .slide .popinfront h2
	{
		font-size: 20px;
		font-weight: bold;
		margin: 4px 4px 0px 4px;
		padding: 0;
	}

.anythingSlider ul li .slide .popinfront h3
	{
		font-size: 10px;
		font-weight: bold;
		margin: 0px 4px 4px 4px;
		padding: 0;
	}
			
	
.anythingSlider .arrow                  { display: block; height: 200px; width: 67px; background: url(../images/arrows.png) no-repeat 0 0; text-indent: -9999px; position: absolute; top: 65px; cursor: pointer; }
.anythingSlider .forward                { background-position: 0 0; right: -21px; }
.anythingSlider .back                   { background-position: -69px 0; left: -20px; }
.anythingSlider .forward:hover          { background-position: 0 -200px; }
.anythingSlider .back:hover             { background-position: -69px -200px; }

#thumbNav                               { position: relative; top: 305px; text-align: center; }
#thumbNav a                             { color: black; font: 11px/18px Georgia, Serif; display: inline-block; padding: 2px 8px; height: 18px; margin: 0 5px 0 0; background: #c58b04 url(../images/cellshade.png) repeat-x; text-align: center; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#thumbNav a:hover                       { background-image: none; }
#thumbNav a.cur                         { background: #e0a213; }

#start-stop                             { background: green; background-image: url(../images/cellshade.png); background-repeat: repeat-x; color: white; padding: 2px 5px; width: 40px; text-align: center; position: absolute; right: 48px; top: 305px; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; }
#start-stop.playing                     { background-color: red; }
#start-stop:hover                       { background-image: none; }

/*
  Prevents
*/
.anythingSlider .wrapper ul ul          { position: static; margin: 0; background: none; overflow: visible; width: auto; border: 0; }
.anythingSlider .wrapper ul ul li       { float: none; height: auto; width: auto; background: none; }
