﻿* {
	margin: 0;
	padding: 0;
}
.gallery li {
	width: 11.25em;
	height: 9.5em;
	/*margin: 0 1em 5em 0;*/
	margin: 0 0 1em 0;
	float: left;
	display: inline;
	position: relative;
	text-align: center;
}
/*
.gallery li div {
	width: 10.5em;
	position: absolute;
	bottom: 0;
	left: 0;
}
*/
.gallery li p {
	position: absolute;
	top: 100%;
	left: 0;
	padding: .5em;
	width: 9.5em;
}
.gallery img {
	display: block;
	margin: 5px auto 0 auto;
	/*padding: 2px;*/
	border: 3px solid #4b789e;
	/*background: #fff;*/
	background: transparent;
}
.gallery img:hover { border:3px solid #aec253;} 
.gallery em {
	display: block;
	font-weight: bold;
}
.gallery li a:hover img,
.gallery li a:active img,
.gallery li a:focus img {
	/*background: #f33;*/
    background: #aec253;
}

/* Secondary navigation tabe */
#smallnav, #smallnav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     line-height:1.5em;
}
#smallnav {
    position:relative;
	list-style: none;
	height: 32px; /*--Set height of tabs--*/
    width: 100%;
}
#smallnav ul {
    position:absolute;
    width:12em;
    top:1.6em;
    display:none;
} 
#smallnav a:link {
    display:block;
    padding:0px 5px;
    border:1px solid #0e1f38; 
    color:#fff;
    text-decoration:none;
    background-color:#0e1f38; 
}
#smallnav a:hover{
    background-color:#fff;
    color:#333;
}
#smallnav li {
    float:left;
    position:relative;	
    border-left: 1px solid #49789c;
    border-top: 1px solid #122945;
    border-right: 1px solid #417095;	
}
#smallnav li a {
	text-decoration: none;
	color: #fff;
	display: block;
	font-size: 1.2em;
	outline: none;
}
#smallnav li.active a {
  color: #aec253;
}
.tab_container {
	/*border: 1px solid #999;*/
	border-top: none;
	overflow: hidden;
	clear: both;
	float: left; 
	width: 100%;
	background: transparent;
}
.tab_content 
{
	display:none;
	padding: .8em .8em .8em .8em;
	/*padding: 20px;*/
	/*font-size: 1.2em;*/
}

/* /Secondary navigation tabs */