body, html{
	margin: 0px;
	padding: 0px;
	font-family: "Open Sans", sans-serif;
	letter-spacing: 1px;
	font-size: 0.9em;	
}

body{
	background: url(../img/bg_body.gif) left 96px repeat-x #FFF;
	text-align: center;
	padding-bottom: 50px;
}

/* Fix for phone screens */
body, body *{
	max-height: 100000px;
	
}

#header{
	height: 125px;
	background: url(../img/header.gif) center 40px no-repeat;
}

	#header a{
		display: block;
		height: 90px;
	}
	
/* MENU */

#menu, #menu ul, #menu li, #menu span, #menu a{
	display: block;
	list-style: none;
	text-align: center;
	margin: 0px auto;
	padding: 0px;
}
	
#menu{
	margin-top: -125px;
}

#menu-title{
	height: 125px !important;
}

#menu a, #menu span{
	border-bottom: #aaa dotted 1px;
	padding: 3x 0px;
	vertical-align: middle;
	height: 30px;
	line-height: 30px;
	cursor: pointer;
	color: #666;
	}

#menu #menu-title{
	border-width: 0px;
	}
	
/* The topmost ul in the menu gets a top border (above the home link) */
#menu>li>ul{
	border-bottom: none;
	}

#menu span{
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 3px;
}

#menu a{
	text-decoration: none;
	letter-spacing: 1px;
}

#menu a:hover{
	letter-spacing: 2px;
}

#menu span:hover{
	letter-spacing: 4px;
}
	
#menu .active{
		/* active menu item doesn't change yet */
}

#menu .active:before{
	content: "\2933\0020";
}
	
/* Hide sub lists by default */	
#menu ul{
	display: none;
}

#container{
	text-align: left;
	padding: 10px;
	margin: 0px auto;
	max-width: 800px;
}

#content{
	padding: 20px 0px;
	clear: both;
}

#content table {
	text-align: left;
	margin: 0px auto;
	}

/* CREDITS PAGE */

.credits{
	width: 100%;
}

#creditstable{
text-align: center;
}

.credits td{
	text-align: left;
	padding: 2px 4px 2px 2px;
	margin: 0px auto;
}

.credits .logo{
	width: 100px;
}

/* GALLERY VIEWER */

#viewer{
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: #FFF;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 2;
	display: none;
	text-align: center;
}
		#frame{
			position: relative;
			top: 50%;
			left: 50%;
		}
		
		#frame img{
			position: relative;
			display: block;
		}
		
		#close{
			background: url(../img/close.svg) center center no-repeat;
			background-size: 22px 22px;
			position: fixed;
			right: 0px;
			top: 0px;
			z-index: 100;
			width: 92px;
			height: 92px;
		}
		
		#loading{
			background: url(../img/loading.gif) center center no-repeat;
			display: block;
			width: 32px;
			height: 32px;
			position: relative;
			margin-left: -16px;
			margin-top: -16px;
			z-index: 100;
		}
		
		#nextimage, #previmage{
				background: url(../img/next.svg) center center no-repeat;
				background-size: 22px 22px;
				display: block;
				position: fixed;
				right: 0px;
				top: 0px;
				z-index: 50;
				width: 92px;
				height: 100%;
		}
		
		#previmage{
			background-image: url(../img/prev.svg);
			left: 0px;
		}
		
/* Monospace font for code */
/*
@font-face{
    font-family: 'FirabaraMono-Regular.eot');
    src: local('Fira Mono'),
         url('fonts/FiraMono-Regular.eot') format('embedded-opentype'),
         url('fonts/FiraMono-Regular.woff') format('woff'),
         url('fonts/FiraMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Fira Mono';
    src: url('fonts/FiraMono-Bold.eot');
    src: local('Fira Mono Bold'),
         url('fonts/FiraMono-Bold.eot') format('embedded-opentype'),
         url('fonts/FiraMono-Bold.woff') format('woff'),
         url('fonts/FiraMono-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
*/

pre{
	font-family: "Courier New", Courier, Geneva, Helvetica, sans-serif !important;
	display: block;
	clear: both;
	background-color: #F5F5F5;
	padding: 10px;
	border: #F5F5F5 solid 1px;
	text-align: left;
}

.prev, .next{
	margin-top: 42px;
}

.prev{
	float: left;
}

.next{
	float: right;
}

/* Footer */

#footer{
	clear: both;

}

#legend{
	clear: both;
    width: 100%;

} 
.gallery{
		margin: 40px 0px 0px 0px;
		text-align: center;
		clear: both;
	}
		.gallery a{
			margin: 0px 0px 16px 60px;
			position: relative;
			color :#000;
			height: 120px;
			width: 90px;
			vertical-align: center;
			display: inline-block;
		}
		
		.gallery a, #banner, p img{
			overflow: hidden;
			border: #FFF solid 1px;
			-moz-border-radius: 6px;
			-khtml-border-radius: 6px;
			-webkit-border-radius: 6px;
			border-radius: 6px;
		}
		
		.gallery a img{
			display: block;
		}
		
	

#gallery{
	padding-left: 29px;
}




#gallery a{
	display: block;
	float: left;
	padding: 15px;
}

#gallery a{
	padding:15px;
	}



#gallery img{
	display: block;
	margin: 0px;
	padding: 0px;

}

#gallery h3{
	text-align: center;
	display: block;
	clear: both;
	font-weight: bold;
	padding-top: 40px;
	margin-top: -20px;
	/*background: url('images/top_edge.png') center top no-repeat;*/
}

#home h1{ 
	visibility: hidden;
	
}
h1{
	text-align: center;
	}


.holotype,
.paratype{
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	margin-left: -20px;
	margin-top: 1px;
	background: url('../img/type.gif') left top no-repeat;

}

#gallery .holotype,
#gallery .paratype{
	margin-left: 90px;
	margin-top: -6px;	
	visibility: hidden;
}

.paratype{
	background-position: right top;
}

a .holotype,
a .paratype,
a:visited .holotype,
a:visited .paratype{
	text-decoration: underline;
	color: #FFF;
}

#gallery a:hover .holotype,#gallery a:hover .paratype{
visibility: visible;
}

#subject {
	border-width: 0px;
	padding-top: 22px;
	margin-left: 0px
} 
#entoform{
	border-width: 0px;
	padding-top: 22px;
	margin-left: 20px
}

#entoform h2{
	text-align: centerS;
	display: block;
	padding-bottom: 20px;
	font-weight: bold;
}

#entoform table{
	width: 280px;
	border-width: 0px;
}

#entoform tr{
	border-width: 0px;
	padding: 0px;
}

#entoform tr td{
	padding: 0px;
	border-width: 0px;
}

#entoform tr .desc{
	padding-left: 60px;
	padding-right: 20px;
	color: #787672;
}

#entoform .palette,
#entoform .palette a{
	display: block;
	height: 7px;
	width: 100px
}

#entoform .swatch{
	display: block;
	float: left;
	width: 10px;
	height: 10px;
	float: left;
	padding: 0px;
	margin: 4px 6px 0px 0px;
	border: #787672 solid 1px;
}

#subnav{
	clear: both;
	height: 50px;
}

#footer  a{
	color: lightgrey;
	}


#footer {
	margin: 0;
	width: 100%;
	padding-bottom: 60px;
	padding-top: 40px;
	text-align: center;
	font-size : 0.9em;
	color: lightgrey;
	clear: both;

}
#footer-widget-area {
	overflow: hidden;
}
#footer-widget-area .widget-area {
	float: left;
	margin-right: 20px;
	width: 220px;
}
#footer-widget-area #fourth {
	margin-right: 0;
}

#site-info,
#site-info a {
	color: #787672;
	font-weight: normal;
	font-size: 12px;
}
#site-info a {
	text-decoration: none;
	}
	
table {
	border-collapse: collapse;
	border-spacing: 0;
	}
	
#turntable{
	float: left;
	width: 240px;
	height: 180px;
	margin-left: 80px;
	background-position: 0px 0px;
	background-repeat: no-repeat;
}

#content table {
	margin: 0 -1px 16px 0;
	text-align: left;
	}
#content td { 
	padding: 4px;
	}
	
#credits,
#credits tr,
#credits tr td{
	margin: 0px;
	padding: 0px 0px 20px 20px;
	border-width: 0px !important;
	text-align: left;
	vertical-align: middle;
	font-size: 12px;
	line-height: 16px;
}

#credits .logo{
	text-align: center;
	padding-left: 0px !important;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 16px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 16px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.item{
		clear:both;
		padding: 6px;
		padding-left: 40px;
	}

.odd{
		background-color: #FAFAFA;
		border-bottom: #ccc dotted 1px;
	}
	
#sub ul {
	display:none;
	}