/* *** Default selectors *** */
body {
	font-family: 'Open sans', 'lucida grande',tahoma, verdana, arial, sans-serif;
	font-size: 100%;
	line-height: 1.125em; /* 16*�1.125=18 */
	background-color: #354242;
	margin: 0;
}

h1{
	color: #FFFFFF;
	font-size: 2.5em;
	line-height: 1em;
}

h2 {
	color: #354242;
	font-size: 2em;
	line-height: 1em;
	text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.25);
}

h3 {
	font-size: 1.5em;
	
}

h4{
	font-size: 1em;
}

table{
	width: 100%;
}

th{
	text-align: left;
	text-align: left;
}

td{
	text-align: left;
	vertical-align: top;
}

ul{
	padding-left: 10px;
}

li{
	list-style: none;
	text-align: justify;
}

p {
	margin: 2px 0;
	font-size: 0.875em;
}

pre{
	font-size: 10px;
	line-height: 1.4em;
}

blockquote {
	margin: 2px;	
}

a, a:link, a:hover, a:visited {
	text-decoration: none;
	outline: none;
	color: #7D9100;
}

/* *** Layout *** */
#header {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	
	position: relative;
	height: 150px;
	line-height: 100%;
	vertical-align: text-bottom;
	
	margin-top: -2px;
	padding: 20px;
	
	border-bottom: 10px solid #7D9100;
}

#header a {
	color: #C9DE55;	
}

#header h1, #header h2 {
	display: inline-block;
}

#header h1 {
	margin: 15px 0;
	font-size: 360%;
	font-weight: bolder;
	line-height: 0.8em;
}

#header h1 a {
	/*
	color: #354242;
	text-shadow: 0 0 24px #C9DE55, 0 0 8px #C9DE55, 0 0 8px #C9DE55, 0 0 4px #C9DE55, 0 0 4px #C9DE55, 0 0 4px #C9DE55, 0 0 4px #C9DE55;
	*/
	color: #FFFFFF;
	/* text-shadow: 0 0 10px #7D9100, 0 0 5px #7D9100, 0 0 3px #7D9100; */
}

#header h1 a:after{
	content : 'beta';
	font-size: 40%;
	vertical-align: super;
	color: red;
	text-shadow: none;
}

#header h2 {
	text-indent: 8px;
	white-space: nowrap;
	color: #FFFFFF;
	font-weight: normal;
	font-size: 1.35em;
	margin: 0;
}

#header #controls {
	position: absolute;
	top: 0;
	right: 20px;
	
	font-size: 0.9em;
	line-height: 1.5em;
	white-space: nowrap;
}

#header #controls label {
	float: left;
	font-size: 0.9em;
	line-height: 2em;
	color: #FFFFFF;
	padding: 2px 10px;
}

#header #controls a {
	float: right;
	cursor: pointer;
	padding: 2px 10px;
	margin-left: 10px;
	
	color: #C9DE55;
	background-color: #354242;
	border: 1px solid #C9DE55;
	border-radius: 0 0 8px 8px;
	-webkit-border-radius: 0 0 8px 8px;
	-moz-border-radius: 0 0 8px 8px;
	
	-moz-box-shadow: 0 0 5px #C9DE55;
	-webkit-box-shadow: 0 0 10px #C9DE55;
	-o-box-shadow: 0 0 5px #C9DE55;
	box-shadow: 0 0 5px #C9DE55;
	
	-moz-transition: 0.3s ease-in;
	-webkit-transition: 0.3s ease-in;
	-o-transition: 0.3s ease-in;
	-transition: 0.3s ease-in;
	
	-moz-transition-property: color, background-color;
	-webkit-transition-property: color, background-color;
	-o-transition-property: color, background-color;
	-transition-property: color, background-color;
}

#header #controls a:hover {
	color: #354242;
	background-color: #C9DE55;
}

#content {
	background-color: #C9DE55;
		
	box-shadow: 0 0 3px #656565 inset;
	-moz-box-shadow: 0 0 3px #656565 inset;
	-webkit-box-shadow: 0 0 3px #656565 inset;
	-o-box-shadow: 0 0 3px #656565 inset;
}

#footer {
	padding: 20px;
	text-align: right;
}

#footer blockquote {
	color: #C9DE55;
	font-size: 160%;
	margin-bottom: 10px;
	
	text-shadow: none;
	
	-moz-transition: all 1s ease-in;
	-webkit-transition: all 1s ease-in;
	-o-transition: all 1s ease-in;
	-transition: all 1s ease-in;
}

#footer blockquote:hover {
	text-shadow: 0 0 10px #7D9100, 0 0 5px #7D9100, 0 0 3px #7D9100;
}

#footer p {
	color: #FFFFFF;
	font-size: 85%;
}

/* *** Common *** */
.button, .button:visited {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-o-box-sizing: border-box;
	
	position: relative;
	cursor: pointer;
	color: #FFFFFF;
	font-size: 0.9em;
	
	display: inline-block; 
	padding: 4px 5px; 
	margin: 4px;
	
	border: 1px solid rgba(53, 66, 66, 0.5);
	background-color: #7D9100;
	background-image: linear-gradient(bottom, #7E9100 10%, #96AD00 90%);
	background-image: -o-linear-gradient(bottom, #7E9100 10%, #96AD00 90%);
	background-image: -moz-linear-gradient(bottom, #7E9100 10%, #96AD00 90%);
	background-image: -webkit-linear-gradient(bottom, #7E9100 10%, #96AD00 90%);
	background-image: -ms-linear-gradient(bottom, #7E9100 10%, #96AD00 90%);

	text-decoration: none;
	text-align: center;
	text-shadow: 1px 1px 1px #666666;

	border-radius: 3px;
	-moz-border-radius: 3px; 
	-webkit-border-radius: 3px;
	
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	-o-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
	
	-moz-transition: all 0.3s ease-in;
	-webkit-transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
	-transition: all 0.3s ease-in;
	
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
}

.button:hover {
	color: #FFFFFF;
	background-color: #354242; 
	background-image: linear-gradient(bottom, #354242 10%, #576B6B 90%);
	background-image: -o-linear-gradient(bottom, #354242 10%, #576B6B 90%);
	background-image: -moz-linear-gradient(bottom, #354242 10%, #576B6B 90%);
	background-image: -webkit-linear-gradient(bottom, #354242 10%, #576B6B 90%);
	background-image: -ms-linear-gradient(bottom, #354242 10%, #576B6B 90%);
}

.button:active{
	top: 1px;
}

/* *** Site-specific *** */
#almeida #header {
	margin-top: -2px;
}

#almeida #content {
	height: 300px;
	background-image: url('../images/backgrounds/vines-back.png');
	background-position: 0 bottom;
}

#almeida #content > div {
	background-image: url('../images/backgrounds/vines-mid.png');
	background-position: 0 bottom;
}

#almeida #content > div > div {
	background-image: url('../images/backgrounds/vines-front.png');
	background-position: 0 bottom;
}

/* Items */
#almeida #content ul {
	text-align: center;
	min-width: 1050px; /* FIXME */
}

#almeida #content ul li {
	display: inline;
}

#almeida #content ul a {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	
	position: relative;
	display: inline-block;
	vertical-align: text-top;

	width: 225px;
	height: 225px;
	margin: 15px;
	padding: 8px;

	border: 10px solid #FFFFFF;
	border-radius: 12px;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	
	background-color: #354242;
	-webkit-transition: background-color 0.3s ease-in;
	-moz-transition: background-color 0.3s ease-in;
	-transition: background-color 0.3s ease-in;
	
	box-shadow: 0 0 20px #656565;
	-moz-box-shadow: 0 0 20px #656565;
	-o-box-shadow: 0 0 20px #656565;
	-webkit-box-shadow: 0 0 20px #656565;
}

#almeida #content ul a:hover {
	background-color: #C9DE55;
}

#almeida #content ul a.static:hover, #almeida #content ul a.active {
	background-color: #7D9100;	
}

#almeida #content ul a h2 {
	font-size: 2em;
	font-weight: normal;
	color: #FFFFFF;
	margin: 20px 0;
	text-shadow: 1px 1px 2px #354242;
}

#almeida #content ul a.disabled {
	background-color: #CCCCCC !important;
}

#almeida #content ul a.disabled h2 {
	color: #656565;
	text-shadow: none;
}

/* Navigation Items */
#almeida ul#navigation li{
	text-align: center;
}

#almeida ul#navigation li a{
	white-space: nowrap;
}

/* Section Items */
#almeida #sections {
	position: absolute;
	top: 285px;
	width: 100%;
}

#almeida #sections ul.section {
	position: absolute;
	top: 115px;
	width: 100%;
}

#almeida #sections ul.section a {
	width: 300px;
	height: auto;
	text-align: left;
}

#almeida #sections ul.section a h2 {
	font-size: 1em;
	margin: 1px 0 1px 60px;
}

#almeida #sections ul.section a blockquote, #almeida #sections ul.section a h3 {
	font-size: 0.8em;
	color: #7D9100;
	margin: 1px 0 1px 60px;
}

#almeida #sections ul.section a img{
	float: left;
	margin: 2px;
	
	border: 1px solid #354242;
	
	-moz-transition: all 1s ease-in;
	-webkit-transition: all 1s ease-in;
	-o-transition: all 1s ease-in;
	-transition: all 1s ease-in;
}

#almeida #sections ul.section a:hover img{
	border: 1px solid #7D9100;
}

/* *** Overrides *** */
#almeida #bottomNavClose{
	position: relative; /* Chrome accessibility fix */	
}
