/* .............................. */
/* Basic */
/* .............................. */
/* .classname, #id, tagg */

body {
	height:100%;
	width:100%;
	margin:0;
	color:#999;
	background-color:#444;
	font-size:16px;
	font-family:Verdana, Futura, Arial, Helvetica, sans-serif;
	padding:0;
	margin:0;
	text-align:center;
	}
	body .light {
		background-color:#ccc;
		color:#777;
	}

.light {
	background-color:#ccc;
	color:#777;
}

#main {
	width:100%;
}

#footer {
	position:relative;
	width:95%;
	padding-top:12px;
	padding-bottom:8px;
	color:#888;
	font-size:0.8125em;
	}
	.light #footer{
	color:#555;
	}

.pagebreak {
	width:100%;
}

.bottom {
	margin:auto;
	position:relative;
}

#show, #hide, #qmarc, #close, .script {
	display:none;
}
#about {
	display:none;
}
#show:checked ~ #about {
	display:block;
}
#hide:checked ~ #about {
    display:none;
}
#about_note {
	padding-right:6px;
}

/* .............................. */
/* Headings */
/* .............................. */

h1 {
	text-align:center;
	font-weight:bold;
	font-size:1.25em;
	color:#ccc;
	margin:0;
	padding:6px;
	}

	.light h1 {
	color:#666;
	}

h2 {
	text-align:center;
	font-weight:bold;
	font-size:1em;
	color:#ccc;
	margin:0;
	padding:0px;
	}

	.light h2 {
	color:#666;
	}

h3 {
	text-align:left;
	font-weight:bold;
	font-size:1em;
	color:#ccc;
	margin:0;
	padding:6px;
	}

	.light h3 {
	color:#666;
	}

/* .............................. */
/* text modification */
/* .............................. */

.small50 {
	font-size: 50%;
}

.small80 {
	font-size: 80%;
}

.large110 {
	font-size: 110%;
}

.bright {
	color:#fff;
	}
	.light .bright {
	color:#000;
	}

.padding20 {
	padding: 20px;
	}
.padding12lr {
	padding: 12px;
	padding-left:4px;
	padding-right:2px;
	}
.padding12 {
	padding: 12px;
	}
.padding8 {
	padding: 8px;
	}
.padding8b {
	padding-bottom: 8px;
	}
.padding4lr {
	padding:4px;
	padding-left:12px;
	}
.padding0 {
	padding:0;
}

.emphasis {
	letter-spacing:1px;
	font-weight:bold;
}

.attention-go {
	color:#9ACD32; /*yellowgreen*/
	}
	.light .attention-go {
		color:#008000;
	}

.attention-stop {
	color:#ff8c66; /*Light red*/
	}
	.light .attention-stop {
	color:#B20000;
	}

.alignleft {
	min-width: 800px;
	text-align:left;
	vertical-align:top;
}

.alignright {
	text-align:right;
}

/* .............................. */
/* Links */
/* .............................. */

a {
	color:#fff;
	text-decoration:none;
	}
	.light a {
	color:#000;
}

a:hover {
	text-decoration:underline;
	cursor:pointer;
	}

a:focus {
	outline-color:#fff;
	}
	.light a:focus {
		outline-color:#000;
	}

.click {
	color:#fff;
	}
	.light .click {
	color:#000;
	}

.click:hover {
	text-decoration:underline;
	cursor:pointer;
}

#login a {
	color:#888;
}

#login a:hover {
	text-decoration:none;
	cursor:text;
}

/* .............................. */
/* site navigation */
/* .............................. */

.no_nav {
	margin-bottom:0.6em;
	}

.nav {
	position:relative;
	width:100%;
	overflow:auto;
	background-color:#222;
	border-bottom:1px solid #aaa;
	margin-bottom:0.6em;
	padding-bottom:0.4375em;
	padding-top:0.4375em;
	font-size:0.75em;
	}
	.light .nav {
	background-color:#eee;
	}

.nav-right {
	float:right;
	padding-right:.375em;
	}

.nav-left {
	float:left;
	padding-left:.375em;
	}

#notice {
	padding-left:1em;
	padding-right:1em;
	color:red;
	background-color:yellow;
	}

/* .............................. */
/* site div */
/* .............................. */

.wrapper {
	width:100%;
	height:100%;
	margin:auto;
	max-width:825px;
	background-color:#555;
	font-size:1em;
	}
	.light .wrapper {
	background-color:#bbb;
	color:#777;
	}

.top {
	width:100%;
	height:100%;
	margin:0px;
}

.banner {
	width:auto;
	height:auto;
	max-width:96%;
	max-height:100%;
	padding:0;
	border:2px solid black;
	margin:0;
	margin-top:0.625em;
	}
	.light .banner {
	border:2px solid white;
	}


.sitethumbnails {
	background-color:#333;
	padding:0;
	border:2px solid black;
	margin:0;
	}
	.light .sitethumbnails {
	background-color:#ccc;
	border:2px solid white;
	}

.sitetitle {
	width:97%;
	display:inline-block;
	text-align:left;
	font-family:"Book Antiqua", Times, serif;
	font-size:62px;
	letter-spacing:0.5px;
	color:#fff;
	padding-left:1.5%;
	padding-right:1.5%;
	}
	.light .sitetitle {
	color:#000;
	}

.flag {
	vertical-align:center;
	float:right;
	font-family:Verdana, Futura, Arial, Helvetica, sans-serif;
	font-size:0.1875em;
	padding-top:2%;
	}
	.light .flag {
	color:#555;
	}

.content {
	width:100%;
	margin:0;
	text-align:left;
}

.cont-left {
	max-width:300px;
	display:inline-block;
	vertical-align:top;
	color:#bbb;
	padding-top:18px;
	padding-left:16px;
	padding-right:16px;
	}
	.light .cont-left {
	color:#555;
	}

.cont-right {
	max-width:460px;
	display:inline-block;
	vertical-align:top;
	color:#bbb;
	padding-top:18px;
	padding-left:16px;
	}
	.light .cont-right {
	color:#555;
	}

.left-home-content {
	padding-bottom:8px;
}

.right-home-content {
	padding-bottom:20px;
}

.fav {
	width:400px;
	margin:0;
	padding:0;
	font-size:0.875em;
	margin-right:0.5%;
	text-align:center;
	display:inline-block;
}

.fav-table {
	width:404px;
	height:90px;
	background-color:#333;
	padding:0;
	border:2px solid black;
	margin:0;
	}
	.light .fav-table {
	background-color:#ccc;
	border:2px solid white;
	}

.fav-table-td {
	float:left;
	width:132px;
	height:90px;
	border-right:0px solid black;
	}
	.light .fav-table-td {
	border-right:0px solid white;
	}

.fav-thumb {
	width:auto;
	height:auto;
	max-width:132px;
	max-height:90px;
	
}

.blacktowhite {
	margin-top:0.5em;
}

#blacktowhite {
	width:100%;
}

/* .............................. */
/* Styles for form */
/* .............................. */

.form fieldset {
	width:400px;
	padding:10px;
	text-align:left;
	background-color: #555;
	color: #ddd;
	font-family:sans-serif
	}
	.light .form fieldset {
	background-color: #bbb;
	color: #444;
	}
.form legend {
	color: #000 ;
	background-color: #aaa ;
	font-family: sans-serif;
	padding: 0.2em 1em;
	}
	.light .form legend {
	color: #ddd ;
	background-color: #888 ;
	}
.form label {
	}
.form select,  textarea,  input {
	}
.form .submit {
	}
.form div {
	}

.number_input {
	width:36px;
}

/* .............................. */
/* galleries */
/* .............................. */

.wrapper-narrow {
	width:96%;
	max-width:630px;
	margin:auto;
	text-align:center;
}

.wrapper-very-narrow {
	width:96%;
	max-width:480px;
	margin:auto;
	text-align:center;
}
.thumbnailtable {
	width:160px;
	height:160px;
	font-size:0.8125em;
	background-color:#666;
	border:1px solid #444;
	color:#aaa;
	}
	.light .thumbnailtable {
	background-color:#aaa;
	border:1px solid #ccc;
	color:#555;
	}

.thumbnailtable span {
	cursor: pointer;
	}

.thumbnailtable a:hover {
	text-decoration:underline;
	}

.hiddenthumbnailtable {
	width:160px;
	height:160px;
	font-size:0.75em;
	background-color:#222;
	border:1px solid #555;
	color:#aaa;
	}
	.light .hiddenthumbnailtable {
	background-color:#888;
	border:1px solid #ccc;
	color:#555;
	}

.thumbnails {
	max-height:100px;
	max-width:130px;
	width:auto;
	background-color:#555;
	border:2px solid black;
	margin:0.5625em;
	}
	.light .thumbnails {
	background-color:#555;
	border:2px solid white;
	}

.thumbnails_home {
	max-height:90px;
	max-width:130px;
	width:auto;
	height:auto;
	background-color:#555;
	border:2px solid black;
	margin:0;
	}
	.light .thumbnails {
	background-color:#555;
	border:2px solid white;
	}

.thumbnaildescription {
	display:inline-table;
	width:240px;
	max-width:290px;
	height:170px;
	margin-bottom:3px;
	color:#aaa;
	border:1px solid #666;
	padding:2px;
	background-color:#4C4C4C;
	text-align:left;
	vertical-align:top;
	font-size:0.85em;
	line-height:1.2;
	}
	.light .thumbnaildescription {
	background-color:#d5d5d5;
	border:1px solid #bbb;
	color:#555;
	}


/* .............................. */
/* Image Navigation */
/* .............................. */

.image-navigate {
	padding:0;
	width:100%;
	font-size:14px;
	margin-top:2px;
	background-color:inherit;
}

.image-previous {
	text-align:left;
	width:25%;
	}

.image-count {
	text-align:center;
	width:50%;
	}

.image-next {
	text-align:right;
	width:25%;
	}


/* .............................. */
/* Album */
/* .............................. */

.wrapper-pix {
	width:100%;
	margin:auto;
}

.wrapper-thumbnailgrid {
	width:96%;
	max-width:1034px;
	height:100%;
	margin:auto;
	}

.gridwrapper {
	width:100%;
	text-align:left;
	background-color:#555;
	padding:0;
	margin:0;
	border:0;
	}
	.light .gridwrapper {
	background-color:#bbb;
	}

.albumdescription {
	width:98%;
	font-size:0.875em;
	text-align:left;
	background-color:#666;
	border:1px solid #555;
	color:#bbb;
	padding:9px;
	}
	.light .albumdescription {
	background-color:#bbb;
	border:1px solid #ccc;
	color:#777;
	}

.gridthumbnail, .gridhiddenthumbnail, .gridthumbnail-edit, .searchthumbnail {
	display:inline-table;
	position:relative;
	text-align:center;
	vertical-align:center;
	width:160px;
	height:170px;
	font-size:0.75em;
	background-color:#666;
	border:3px solid #666;
	margin-bottom:3px;
	padding-right:0px;
	color:#aaa;
	}
	.light .gridthumbnail {
	background-color:#aaa;
	border:3px solid #aaa;
	color:#555;
	}
	.light .gridthumbnail-edit {
	background-color:#aaa;
	border:3px solid #aaa;
	color:#555;
	}
	.light .gridhiddenthumbnail {
	background-color:#888;
	color:#222;
	border:3px solid #888;
	}

.gridhiddenthumbnail {
	background-color:#333;
	border:3px solid #333;
	}

.gridthumbnail a:focus {
	outline:0;
}

.gridhiddenthumbnail a:focus {
	outline:0;
}

.highthumbnail {
	height:190px;
}

.adminthumbnail {
	height:210px;
}

.thumbnailphylum {
	font-size:18px;
	background-color:#111;
	color:#eee;
	text-align:left;
	padding:3px;
	}
	.light .thumbnailphylum {
	background-color:#fff;
	color:#000;
	}

.thumbnailclass {
	font-size:16px;
	background-color:#222;
	color:#ddd;
	text-align:left;
	padding:3px;
	}
	.light .thumbnailclass {
	background-color:#eee;
	color:#111;
	}

.thumbnailfamily {
	font-size:14px;
	background-color:#333;
	color:#ccc;
	text-align:left;
	padding:3px;
	}
	.light .thumbnailfamily {
	background-color:#ddd;
	color:#222;
	}

.thumbnailspecies {
	font-size:13px;
	background-color:rgb(60,60,60);
	color:#bbb;
	text-align:left;
	padding:3px;
	}
	.light .thumbnailspecies {
	background-color:rgb(211,211,211);
	color:#333;
	}

.veil {
	display:none;
}

.gridnumber {
	position:absolute;
	bottom:4px;
	right:4px;
	background-color: transparent;
	color:#666;
	font-size:12px;
	}
	.light .gridnumber {
	color:#aaa;
	}

.gridnav {
	visibility:hidden;
	position:absolute;
	bottom:4px;
	left:4px;
	background-color: transparent;
	color:#666;
	font-size:16px;
	}
	.light .gridnav {
	color:#aaa;
	}
	.gridnav a {
	color:#666;
	}
	.light .gridnav a {
	color:#aaa;
	}

.gridnav_top .gridnav_bottom {
	cursor:pointer;
}

/* .............................. */
/* Picture */
/* .............................. */

#caption {
	margin-top: 0.6%;
}

#photo-panel {
	width:100%;
	height:auto;
	background-color: transparent;
}

.wrapper-picture {
	width:100%;
	max-width:1350px;
	height:96%;
	margin:auto;
	}

.photo_fit {
	width:auto;
	height:auto;
	max-width:95%;
	max-height:75vh; /*rescue if no javascript, in resize event max-height set to 100vh*/
	min-height:100px;
	border:0.3125em solid black;
	}
	.light .photo_fit {
	border:0.3125em solid white;
	}

.photo_full {
	width:auto;
	height:auto;
	border:0.3125em solid black;
	}
	.light .photo_full {
	border:0.3125em solid white;
	}

.picture-title {
	font-weight:bold;
	font-size:1em;
	letter-spacing:1px;
	color:#ccc;
	margin:0;
	padding:0;
	}
	.light .picture-title {
	color:#444;
	}

.image-description {
	font-size:0.875em;
	color:#bbb;
	padding-left:1%;
	padding-right:1%;
	padding-top:0.3%;
	padding-bottom:0;
	}
	.light .image-description {
	color:#444;
	}

#spinner-prev {
	padding:0;
	margin:0;
}

#spinner-next {
	padding:0;
	margin:0;
}

.image-notes {
	font-size:0.75em;
	color:#bbb;
	width:96%;
	text-align:center;
	padding-left:1em;
	padding-top:1em;
	padding-bottom:0;
	}
	.light .image-notes {
	color:#666;
	}

.editpicture-field, .editpicture-input {
	width:90.5%;
	font-size:1em;
	color:#bbb;
	background-color:#555;
	border:1px solid #999;
	vertical-align:center;
	margin:auto;
	margin-bottom:2px;
	padding:6px;
	}
	.light .editpicture-field {
	color:#222;
	background-color:#bbb;
	}
	.light .editpicture-input {
	color:#222;
	background-color:#bbb;
	}

.editpicture-input {
	text-align:left;
}

.editpicture-input input[type="text"] {
	width:97%;
}

.editpicture-taxa input[type="text"] {
	width:70%;
}

.editpicture-float{
	text-align:left;
	display: inline-table;
	width:32%;
}

.gridthumbnail-edit {
	width:32%;
	height:auto;
	background-color:#555;
	font-size:1em;
	border:none;
	}
	.light .gridthumbnail-edit {
	background-color:#bbb;
	border:none;
	}

.editpicture-taxa {
	display:inline-table;
	width:32%;
	min-width:250px;
	text-align:left;
	padding-right:1%;
}

.editpicture-options {
	width:100%;
}

.wordlist {
	width:95%;
	font-size:13px;
	padding:10px;
	padding-top:0;
	color:#bbb;
	background-color:#444;
	}
	.light .wordlist {
	color:#444;
	background-color:#ccc;
	}

#species_area, #keyword_area {
	width:97%;
}

/* .............................. */
/* Comments */
/* .............................. */

.comments {
	width:94.6%;
	font-size:0.8125em;
	background-color:#555;
	border:1px solid #666;
	color:#bbb;
	text-align:left;
	vertical-align:top;
	padding:9px;
	margin:0px;
	}
	.light .comments {
	background-color:#c5c5c5;
	border:1px solid #bbb;
	color:#333;
	}

.picturecomments {
	width:90%;
	max-width:800px;
	border-spacing:4px;
	}

.picturecomments_td {
	background-color:#494949;
	color:#bbb;
	font-size:0.8125em;
	padding:4px;
	text-align:left;
	vertical-align:top;
	border:1px solid #555;
	}
	.light .picturecomments_td {
	background-color:#c5c5c5;
	border:1px solid #bbb;
	color:#333;
	}

.comments textarea {
	width:100%;
	max-width:100%;
	background-color:#999;
	border:1px solid #555;
	color:#000;
	}
	.light .comments textarea {
	background-color:#ddd;
	border:1px solid #bbb;
	color:#000;
	}

.comments input {
	width:100%;
	background-color:#999;
	border:1px solid #555;
	color:#000;
	padding-left:4px;
	}
	.light .comments input {
	background-color:#ddd;
	border:1px solid #bbb;
	color:#000;
	}

#new_comment {
	width:99%;
}
#name {
	display:inline-table;
	width:20%;
	margin-right:1%;
}
#email {
	display:inline-table;
	width:35%;
	min-width:200px;
	margin-right:1%;
}
#answer {
	display:inline-table;
	width:40%;
	min-width:150px;
}
#submit {
	border:none;
	margin:0px;
	padding:0px;
	width:100%;
}

.left {
	text-align:left;
	width:35%;
}
.center {
	text-align:center;
	width:25%;
}
.right {
	text-align:right;
	width:40%;
}

.comment_time {
	font-size:10px;
	color:#999;
	}
	.light .comment_time{
	color:#666;
	}

.comment_name {
	font-size:14px;
	color:#fff;
	}
	.light .comment_name{
	color:#000;
	}

/* .............................. */
/* keywords */
/* .............................. */

/* wrapper-narrow */

.inline-table {
	display:inline-table;
}

.keywordstable {
	width:100%;
	font-size:0.875em;
	background-color:#666;
	border:1px solid #444;
	color:#aaa;
	text-align:left;
	}
	.light .keywordstable {
	background-color:#bbb;
	border:1px solid #ccc;
	color:#555;
	}
	.keywordstable td {
		padding: 3px;
	}

.table_left_align {
	text-align:left;
	}
	.light .table_left_align {
	}

.hiddentable_left_align {
	color:#bbb;
	background-color: #555;
	text-align:left;
	}
	.light .hiddentable_left_align {
	color:#666;
	background-color: #aaa ;
	}

.kw1 {
	background-color: red;
}

/* .............................. */
/* species */
/* .............................. */

/*.wrapper-thumbnailgrid */

.select {
	font-size: 12px;
	width:200px;
	margin:3px;
}

.smallselect {
	font-size: 12px;
	width:140px;
	margin:3px;
}

.searchtable {
	text-align:left;
	border:1px solid #fff;
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0px;
	table-layout: auto;
	}
	.light .searchtable {
	border:1px solid #000;
	}
	.searchtable td {
	background-color:#777;
	}
	.light .searchtable td {
	background-color:#999;
	}

.linktable {
	text-align:left;
	border:1px solid #fff;
	margin-left: auto;
	margin-right: auto;
	border-spacing: 0px;
	table-layout: auto;
	}
	.light .linktable {
	border:1px solid #000;
}

.fixcontainer {
	position:relative;
	bottom:50px;
	height:1px;
	background-color:inherit;
	text-align:left;
	display:none;
}

#smallcontainer {
	height:1px;
	background-color:inherit;
	display:none;
}
.image {
	/* 118+2+10+5=135, same width as img in smallcontainer*/
	width:118px;
	height:auto;
	border:1px solid;
	border-color:inherit;
	padding:5px;
	padding-top:10px;
	padding-bottom:10px;
	background-color:inherit;
	margin-left:5px;
	margin-right:0;
}

tr.child {
	display : none;
}

tr.parent {
	display : table-row;
}
tr.open {
	display : table-row;
}

.link_admin {
	font-size:12px;
	color:#ddd;
	background-color:#444;
	border-bottom-width:1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	}
	.light .link_admin {
	color:#444;
	background-color:#ccc;
	}
	
.hiddenlink_admin {
	font-size:12px;
	color:#ddd;
	background-color:#333;
	border-bottom-width:1px;
	border-bottom-style: solid;
	border-bottom-color: #999;
	}
	.light .hiddenlink_admin {
	color:#444;
	background-color:#ddd;
	}

.top {
	vertical-align:top;
	margin-bottom:0;
}
.link_0 {
	font-size:1em;
	color:#fff;
	}
	.light .link_0 {
	color:#000;
	}

.link_1 {
	background-color:#777;
	color:#fff;
	font-size:14px;
	border-bottom:1px solid #777;
	border-top:1px solid #fff;
	}
	.light .link_1 {
	background-color:#999;
	color:#000;
	border-bottom-color: #999;
	border-top-color: #000;
	}

.link_2 {
	background-color:#555;
	color:#ddd;
	font-size:13px;
	border-bottom:1px solid #555;
	border-top:1px solid #ddd;
	}
	.light .link_2 {
	background-color:#bbb;
	color:#444;
	border-bottom-color: #bbb;
	border-top-color: #444;
	}

.link_3 {
	background-color:#333;
	color:#bbb;
	font-size:12px;
	border-bottom:1px solid #333;
	border-top:1px solid #bbb;
	}
	.light .link_3 {
	background-color:#ddd;
	color:#333;
	border-bottom:1px solid #ddd;
	border-top:1px solid #333;
	}

/* .............................. */
/* links */
/* .............................. */

/* .wrapper-narrow*/

/* .............................. */
/* pixelposts */
/* .............................. */

/*.wrapper-narrow*/

.pixelpost, .hiddenpixelpost {
	position:relative;
	width:93%;
	font-size:1em;
	text-align:left;
	background-color:#666;
	border:6px solid #666;
	color:#bbb;
	padding:9px;
	margin-bottom:6px;
	}
	.light .pixelpost {
	background-color:#bbb;
	border:6px solid #bbb;
	color:#666;
	}
	.light .hiddenpixelpost {
	background-color:#999;
	border:6px solid #ccc;
	color:#555;
	}

.hiddenpixelpost {
	background-color:#222;
	}

.pixelpost a:focus {
	outline:0;
}

.hiddenpixelpost a:focus {
	outline:0;
}

.pixelpost_photo {
	width:auto;
	max-width:100%;
	height:auto;
	background-color:#333;
	border:3px solid black;
	margin-bottom:6px;
	}
	.light .pixelpost_photo {
	background-color:#ddd;
	border:3px solid white;
	}

.pixelpost_byline {
	width:auto;
	max-width:100%;
	font-size:0.875em;
	padding:3px;
}

.post_title {
	font-size:1.125em;
	color:#fff;
	}
	.light .post_title {
	color:#000;
	}

.post_date {
	font-size:0.625em;
	color:#999;
	}
	.light .post_date {
	color:#777;
	}
