body {
	margin: 0;
	padding: 0;
	font-family: "Georgia", serif;
	background-color: #606165;
	color: #FFF;
}

h3, h4, h5, h6 {display: inline;}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	color: #00a5d0;
	outline: none;
}

br.clear {
	clear: both;
}

#wrapper {
	margin: 0 auto;
	padding: 0;
	width: 980px;
}

#logo {
	margin: 50px 0;
	cursor: pointer;  
	text-decoration:none;  
	font-weight: normal;
	font-size: 48px;
	letter-spacing: -1px;
	text-align: center;
	color: #fff;
}
	#logo h1 {
		margin: 0;
		padding: 0;
		/* color: #00a5d0; */
	}
	#logo span {
		/* color: #fff; */
	}
	
#gallery {
	display: none;
}

#home {
	float: left;
	padding-left:20px;
}

#content  {
	width: 980px;
	list-style: none;
	margin: 50px auto;
	padding: 0;
	position: relative;
	top: 0;
}

	#content  li{
		margin: 0px 0px;	
		padding: 5px 5px;
		display: inline-block;
		height: 31px;
	}
	#content li img
	{   
	width: 315px;
    height: 200px;
		border: solid 1px #ffffff;
		cursor: pointer;
		-webkit-border-radius: 15px 0;
		-khtml-border-radius: 15px 0;	
		-moz-border-radius: 15px 0;
		border-radius: 5px;	
    z-index:1;
	}

	#content li img.active
	{
		border: solid 5px #00a5d0;
	}

 .category-link {
    position: relative;
    padding: 0;
    width:313px;
    display:block;
}
 .category-link .text-panel {
    position: absolute;
    top: 0;
    color:black;
    background-color:rgba(255,255,255,0.8);
	width:101%;
	height:98%;
    line-height:75px;
	font-size: 20px;
    text-align: center;
    z-index: 10;
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
		-webkit-border-radius: 15px 0;
		-khtml-border-radius: 15px 0;	
		-moz-border-radius: 15px 0;
		border-radius: 5px;	
}
 .category-link .text {
	 padding-top: 90px;
      display: inline-block;
      vertical-align: middle;
    
      line-height: normal;
}
 .category-link .text-panel:hover {
    opacity:1;
}

#categories {
	float: right;
}
	#categories a, #home a{
		padding: 10px;
		color: #FFF;
		font-size: 18px;
		text-decoration: none;
	}
	
	#categories li , #home li{
		margin: 0;
		padding: 0;
		display: inline-block;
		height: 31px;
	}
	
	#categories .current {
		background: #00a5d0;
	
		/* Round select corners */
		
		-webkit-border-radius: 15px 15px 0 0;
		-khtml-border-radius: 15px 15px 0 0;	
		-moz-border-radius: 15px 15px 0 0;
		border-radius: 15px 15px 0 0;		
	}
	
	#home  .home{
		background: #00a5d0;
	
		/* Round select corners */
		
		-webkit-border-radius: 15px ;
		-khtml-border-radius: 15px ;	
		-moz-border-radius: 15px;
		border-radius: 15px ;		
	}


#output img {	
    display: block;
    margin: 32px auto !important;
	padding: 0;
	max-width: 960px;
	max-height: 500px;
	border: solid 10px #ffffff;
	
	/* Round select corners */
/*	
	-webkit-border-radius: 25px 0;
	-khtml-border-radius: 25px 0;	
	-moz-border-radius: 25px 0;
	border-radius: 25px 0;*/
}

#nav{
	float: left;
	margin: -4px 0 0 0;
	padding: 0;
	width: 400px;
	height: 40px;
	background: #00a5d0;
	text-align: center;
	display: block;	
	overflow: hidden;
	
	/* Round select corners */
		
	-webkit-border-radius: 0 0 15px 15px;
	-khtml-border-radius:  0 0 15px 15px;	
	-moz-border-radius:  0 0 15px 15px;
	border-radius: 0 0 15px 15px;		
	
}
	#nav ul {
		margin-top: 8px;
	}
	#nav li {
		display: inline-block;
	}
	
	#nav a {
		margin: 0;
		padding: 0 10px;
		color: #FFF;
		text-decoration: none;
		font-size: 18px;
	}

	#nav a.navStopAdvance
	{
		display: inline;
	}

	#nav a.navPlayAdvance
	{
		display: inline;
	}

	#nav a.active
	{
		display: none;
	}

#captions{
	margin: 0;
}

	#captions .line
	{
		margin: 5px 0 0 0;
		float: right;
		font-size: 24px;
		font-weight: bold;
	}

	#captions .description {
	/*	position: absolute;
		top: 595px;*/
		display: block;
		width: 940px;
		margin: 0 10px;
		background: #99AAFD;
		padding: 10px;
		text-align: left;
		
		/* Round select corners */
		-webkit-border-radius: 5px;
		-khtml-border-radius: 5px;	
		-moz-border-radius: 5px;
		border-radius: 5px;
		
		/* Apply Opacity */
		-khtml-opacity:.70; 
		-moz-opacity:.70; 
		-ms-filter:"alpha(opacity=70)"; 
		filter:alpha(opacity=70); 
		opacity:.70;		
	}
	

	#captions .line3 {
		display: block;
		margin: 2em 0 2em 0;
		font-size: 0.75em;
	}

.hidden {
	display: none;
}

.thumbnails
{
	width: 980px;
	list-style: none;
	margin: 20px auto;
	padding: 0;
	position: relative;
	top: 0;
}

	.thumbnails li
	{
		margin: 7px;
		float: left;
	}
	.thumbnails .first
	{
		margin-left: 0px;
	}
	.thumbnails .last
	{
		margin-right: 0px;
	}
	.thumbnails li img
	{
		max-width: 100px;
		max-height: 75px;
		border: solid 5px #ffffff;
		cursor: pointer;
		
		/* Round select corners */
	/*	
		-webkit-border-radius: 15px 0;
		-khtml-border-radius: 15px 0;	
		-moz-border-radius: 15px 0;
		border-radius: 15px 0;	*/
	}

	.thumbnails li img.active
	{
		border: solid 5px #00a5d0;
	}

#footer {
	margin: 50px 0;
	padding: 0;
}
	#footer span {
		font-size: 11px;
		float: right;
	}
	
#popup_box { 
    display:none; /* Hide the DIV */
    position:fixed;  
    _position:absolute; /* hack for internet explorer 6 */  
    height:250px;  
    width:400px;  
    background:#FFFFFF;  
    left: 300px;
    top: 150px;
    z-index:100; /* Layering ( on-top of others), if you have lots of layers: I just maximized, you can change it yourself */
    margin-left: 15px;  
    
    /* additional features, can be omitted */
          
    padding:15px;  
    font-size:15px;  
    -moz-box-shadow: 0 0 5px #ff0000;
    -webkit-box-shadow: 0 0 5px #ff0000;
    box-shadow: 0 0 5px ;
    border: 2px solid;
    border-radius: 25px;
	
	color: black;
    
}
#popup_box table { border-collapse: collapse; }
#popup_box table tr td { padding: 0px; }
#popup_box  tr td { border:1px solid #FFF; }

#popupBoxClose {    
    right:5px;  
    top:5px;  
    position:absolute;    
	background-image: url("../images/close.png");
    background-size: 30px 30px;
	width:30px;
	height:30px;
	cursor: pointer; 
	cursor: hand;
 }
 
