/*
	Supersized - Fullscreen Slideshow jQuery Plugin
	Version 3.1.3
	www.buildinternet.com/project/supersized
	
	By Sam Dunn / One Mighty Roar (www.onemightyroar.com)
	Released under MIT License / GPL License
*/


* { margin:0; padding:0; }
body { background:#231f20; height:100%; }
	img { border:none; }
	
	#supersized-loader { position:absolute; top:50%; left:50%; z-index:0; width:60px; height:60px; margin:-30px 0 0 -30px; text-indent:-999em; background: url(../img/progress.gif) no-repeat center center; visibility: hidden;
	}
	
	#supersized_overlay	{display:block; position:fixed; left:0; top:0; overflow:hidden; z-index:-998; height:100%; width:100%;}
	
	#supersized {  display:block; position:absolute; left:0; top:0; overflow:hidden; z-index:-999; width:100%; height:100%; max-height:100%;  }
		#supersized img { width:auto; height:auto; display:none; outline:none; border:none; /*top:0 !important;*/ position:relative;  }
			#supersized.speed img { -ms-interpolation-mode:nearest-neighbor; image-rendering: -moz-crisp-edges; }	/*Speed*/
			#supersized.quality img { -ms-interpolation-mode:bicubic; image-rendering: optimizeQuality; }			/*Quality*/
		
		#supersized li { display:block; list-style:none; z-index:-30; background:#333; position:absolute; overflow:hidden; top:0; left:0; width:100%; height:100%; height:100%;  }
		#supersized a { width:100%; height:100%; display:block;  }
			#supersized li.prevslide { z-index:-20; }
			#supersized li.activeslide { z-index:-10; }
			#supersized li.image-loading { background:#111 url(../img/progress.gif) no-repeat center center; width:100%; height:100%; }
				#supersized li.image-loading img{ visibility:hidden; }
			#supersized li.prevslide img, #supersized li.activeslide img{ display:inline; }
			
			a#prevslide { z-index:999; cursor: pointer; display: block; position:absolute; left: 50px; top:44%; opacity:0.6; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; filter:alpha(opacity=60); }
			a#nextslide { cursor: pointer;  display: block; position:absolute; right: 50px; top:44%; opacity:0.6; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; filter:alpha(opacity=60); }
			#play-button { cursor: pointer; }
	
	/*Controls Section*/
	#controls-wrapper { margin:0 auto; width: 100%; bottom:0px; left:0; z-index:4;  position:fixed; }
		#controls { overflow:hidden; height:100%; text-align:center; z-index:5; padding:0; margin: auto; }
			#slidecounter { float:left; color:#888; font:23px "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:bold; text-shadow:#000 0 -1px 0; margin:19px 10px 18px 20px; }
			#navigation { float:right; margin:10px 0 0 0; }
	
	/*Thumbnail Navigation*/	
	#nextthumb,#prevthumb { z-index:6; display:none; position:fixed; bottom:12px; height:75px; width:100px; overflow:hidden; background:#ddd; border:2px solid #fff; -webkit-box-shadow:0 0 5px #000; -moz-box-shadow:0 0 5px #000; box-shadow:0 0 5px #000; }
		#nextthumb { right:12px; }
		#prevthumb { left:12px; }
			#nextthumb img, #prevthumb img { width:150px; height:auto;  }
			#nextthumb:active, #prevthumb:active { bottom:10px; }
			#navigation > :hover,#nextthumb:hover, #prevthumb:hover { cursor:pointer; }
			
/* Progress Bar
	----------------------------*/					
	#progress-back{ z-index:5; position:fixed; bottom:80px; left:0; height:4px; width:100%; background: #000; }
		#progress-bar{ position:relative; height:4px; width:100%; background: #fff; }
		
/* Thumbnail Tray
	----------------------------*/			
	#thumb-tray{ background:#fff; position:relative; z-index:3; background: transparent; padding-top: 8px; height:79px; width:100%; overflow:hidden; text-align:center; float:left; margin:0 0 0 0 }
		
		#thumb-back, #thumb-forward{ position:absolute; z-index: 9999; bottom:4px; height:70px; width: 40px; }
			#thumb-back{ left:0; background: transparent;}
			#thumb-forward{ right:0; background: transparent no-repeat center center;}
				#thumb-back:hover, #thumb-forward:hover{ cursor:pointer; background-color:rgba(256,256,256, 0.1); }
					#thumb-back:hover{ border-right:1px solid rgba(256,256,256, 0.2); }
					#thumb-forward:hover{ border-left:1px solid rgba(256,256,256, 0.2); }
		
		
		#thumb-tray{ display:inline-block; list-style:none; padding:0 0px; background: #fff; position:relative; bottom:0 }
			ul#thumb-list li{ background:#fff;list-style:none; display:inline; overflow:hidden; float:left; }
				ul#thumb-list li img { opacity:0.6; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)"; filter:alpha(opacity=60); margin:5px 2px 4px 3px; width: 128px; height: 70px; }
				ul#thumb-list li.current-thumb img, ul#thumb-list li:hover img{ opacity:1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); }
				ul#thumb-list li:hover{ cursor:pointer; }
				
				#tray-button { cursor: pointer; }
				#thumb-back{ left:0; background: url(../images/thumb-back.png) no-repeat center center;}
			#thumb-forward{ right:0; background:url(../images/thumb-forward.png) no-repeat center center;}
			.gallery-arrow { width:100%; float:left; position:relative}
			.gallery-cont { width:100%; float:left}
body.home #controls-wrapper { margin:0 auto; height:42px; width:100%; bottom:70px; left:0; z-index:4; background:url(../img/nav-bg.png) repeat-x; position:fixed; }			
#controls-wrapper { margin:0 auto; height:42px; width:100%; bottom:80px; left:0; z-index:4; background:url(../img/nav-bg.png) repeat-x; position:fixed; }

.portfolioname{color: #fff; font-size:14px; line-height: 21px; padding: 6px 10px; float: left; background: #000; font-weight:bold; text-transform:uppercase; margin: 0 0 0 1%; position:fixed; bottom: 82px}
			
@media only screen and (min-width: 768px) and (max-width: 960px) {				
				#thumb-tray { margin:0 0 0 0}
				a#prevslide, a#nextslide { top:50%}
				#supersized { top: 0; }
}
@media only screen and (min-width: 961px) and (max-width:1024px) {		
	
	#supersized { top:0;}
	/*#supersized.quality img { height:auto !important; width:100% !important}*/
	
}
				
@media only screen and (min-width: 320px) and (max-width:479px) {				
				#thumb-tray { margin:0 0 0 0;bottom: 0;}
				a#prevslide { left:0; display:none !important  }
			a#nextslide { right:0; display:none  !important}
			#supersized { top:0}
			/*#supersized { height: 150px; position:relative; overflow: visible}*/
			/*#supersized.quality img { height:auto !important; width:100% !important; left: 0 !important}*/
	#controls-wrapper{/* bottom:75px; */bottom:98px; position:fixed}
	.portfolioname {
		  font-size: 12px;
		  margin: 5px 0 0 1%;
		  padding: 3px 5px;
		  bottom: 96px;
		  position:fixed
		}

body.home #controls-wrapper {position: absolute;/* bottom: 13%; */bottom: 98px;}
		
}
@media only screen and (min-width: 640px) and (max-width:767px) {
body.home #controls-wrapper {bottom: 5%;}	
	
}


@media only screen and (min-width: 480px) and (max-width:767px) {
	
body.home #controls-wrapper {position: absolute;bottom: -20px;}
	
}				
@media only screen and (min-width: 480px) and (max-width:640px) {				
				#supersized { top:97px; height: 225px}
				#thumb-tray { margin:0 0 0 0}
				/*#supersized.quality img { height:auto !important; width:100% !important}*/
			.portfolioname {
		  font-size: 13px;
		  margin: 5px 0 0 1%;
		  padding: 3px 5px;
		  bottom: 93px
		}
		#controls-wrapper {height:53px;} 

}

@media only screen and (width: 640px)  {	
#thumb-tray { margin:250px 0 0 0}
#controls-wrapper {bottom:22px;} 
}
@media only screen and (width:480px)  {	
#thumb-tray { margin:160px 0 0 0}
#thumb-tray {
	  bottom: 0;
	  margin: 0;
	}
}
@media only screen and (min-width:769px)  {
/* #supersized.quality img { height:100% !important; width:100% !important} */
	 }
	/* Portrait *//* Portrait */
@media screen and (device-width: 400px) and (device-height: 800px) and (orientation: portrait) {

}

/* Landscape */
@media screen and (device-width: 400px) and (device-height: 800px) and  (orientation: landscape) {

}