/*
For some reason, the search box doesn't adapt to dark mode, though I think it should automatically.
Also, need a dark-background "no photos" image/mechanism (and similar).
@media (prefers-color-scheme: dark) {
	body {
		background-color: black;
		color:#ddd;
	}
	
	.logostart {
		color:#ddd;
	}
}
*/

a:link, a:visited {
	text-decoration:none;
	color:#5a7e12;
}

a:hover {
	text-decoration:underline;
}

img {
	border:none;
}

body {
	font-family: 'Overlock', sans-serif;
	font-size:14px;
}

#contentwithmargin {
	width:740px;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

#content {
	width:720px;
	margin-left:auto;
	margin-right:auto;
	text-align:left;
}

#header {
	margin-bottom:5px;
	font-size:28px;
}

#header img#logoeye {
	vertical-align:text-bottom;
	margin-right:5px;
	border-radius:5px;
}

#header a#logo {
	text-decoration:none;
	color:black;
}

#header form#google {
	float:right;
	width:200px;
	text-align:right;
}

#headerlinks {
	font-size:14px;
	margin-top:10px;
	padding-top:5px;
	padding-bottom:5px;
	font-weight:bold;
	border-top:1px solid black;
	border-bottom:1px solid black;
}

#arrangementlinks {
	margin-top:5px;
	padding-top:5px;
	border-top:1px solid #cad9a3;
}

#indexesprompt {
	font-weight:normal;
	padding-left:6px;
	padding-right:6px;
}

#headerlinks a {
	padding-left:6px;
	padding-right:6px;
}

#arrangementlinks a {
	padding:0px 6px 0px 6px;
}

#headerlinks a:hover {
	color:#5a7e12;
}

#headerlinks span#currentpage, #index_page_selector span.index_current {
	padding:0px 5px 0px 5px;
	border:1px solid #5a7e12;
	border-radius:3px;
}

#index_page_selector a {
	padding:0px 6px 0px 6px;
}

#index_page_selector .initial_letter_no_link {
	padding:0px 6px 0px 6px;
	color:#AAAAAA;
}

#breadcrumbs {
	padding-left:6px;
}

.logostart {
	font-weight:bold;
}

.logoend {
	color:#668b03;
}

#taxon_name, #taxon_notes, .subspecies_name, #page_title {
	margin-bottom:10px;
}

#taxon_name, .subspecies_name, #page_title {
	text-align:center;
}

.sci_name {
	font-style:italic;
}

#taxon_name, #page_title {
	font-size:24px;
	font-weight:bold;
	margin-top:20px;
}

#page_intro {
	margin-bottom:20px;
}

#taxon_name .English_name, #page_title .English_name {
	font-size:20px;
}

.sci_English_name_separator {
	font-weight:normal;
	color:#AAAAAA;
}

#taxon_name .sci_English_name_separator, #page_title .sci_English_name_separator {
	font-size:20px;
	padding-left:5px;
	padding-right:5px;
}

#taxon_notes {
	margin-top:15px;
	margin-bottom:15px;
}

.index_section_header, .location_region_header, .family_page_genus_banner {
	text-align:center;
	font-size:18px;
	margin-top:20px;
	margin-bottom:10px;
}

.group_header {
	text-align:center;
	font-size:22px;
	font-weight:bold;
	margin-top:25px;
	margin-bottom:10px;
}

.index_section_header {
	font-size:18px;
}

.location_region_header {
	font-size:24px;
}

.trip_page_family_header
{
	text-align:center;
	font-weight: bold;
	font-size: 14px;
}

.index_page_item_comment, .trip_page_taxon_comment {
	font-size:12px;
	color:#888888;
	margin-top:5px;
}

#thumbnails_box_center {
	text-align:center;
}

#thumbnails_box_left {
	text-align:left;
}

.subspecies_name {
	padding-top:50px;
 }

.subspecies_name .sci_name {
	font-size:22px;
}

.subspecies_name .English_name {
	font-size:18px;
}

.unknown_English_name {
	color:#AAAAAA;
}

.subspecies_name .sci_English_name_separator {
	font-size:18px;
	padding-left:4px;
	padding-right:4px;
}

.sighting {
	margin-left:60px;
	margin-right:60px;
	margin-top:20px;
	margin-bottom:30px;
}

.sighting .notes a:link, .sighting .notes a:hover {
	font-weight:bold;
}

.sighting .notes .quotation {
	margin-left:1em;
	margin-right:1em;
	font-style:italic;
}

.sighting_images img {
	margin-bottom:3px;
}

.sighting_images {
	text-align:center;
}

.sighting_location_and_date {
	text-align:center;
	font-weight:bold;
	margin-bottom:6px;
}

.sighting_location_date_separator {
	padding-left:5px;
	padding-right:5px;
	font-weight:normal;
	color:#AAAAAA;
}

.references_label {
	margin-top:10px;
	font-weight:bold;
	text-align:left;
}

.seen_taxa_label {
	margin-top:15px;
	font-weight:bold;
	text-align:center;
}

#other_names_label {
	margin-top:15px;
	font-weight:bold;
	text-align:center;
}

#other_names {
	text-align:center;
	font-size:18px;
}

a.labeled_thumbnail {
	display:inline-block;
	position:relative;
	width:223px;
	height:147px;
	margin-right:10px;
	margin-top:5px;
	margin-bottom:5px;
	padding-left:5px;
	padding-top:5px;
	color:white;
	text-shadow: 1px 1px 2px black;
	cursor:pointer;
	text-align:left;
	vertical-align:top;
}

a.labeled_thumbnail:hover {
	text-decoration:none;
	color:#0cff3f;
}

a.labeled_thumbnail img {
	width:228px;
	height:152px;
	position:absolute;
	top:0px;
	left:0px;
	z-index:-1;
}

a.labeled_thumbnail .family_name {
	font-size:18px;
}

/* The next rule is obsolete locally, but still used remotely until remote site is updated (6/18/2017) */
a.labeled_thumbnail .sci_name {
	font-size:18px;
}

a.labeled_thumbnail .location_thumbnail_name {
	font-size:18px;
}

div.species_thumbnail_box {
	display:inline-block;
	text-align:center;
	vertical-align:top;
	width:168px;
	margin-right:10px;
	margin-top:5px;
	margin-bottom:10px;
}

div.species_thumbnail_box .English_name, div.species_thumbnail_box .location_detail {
	font-size:13px;
}

div.species_thumbnail_box .no_photo {
	width:168px;
	height:70px;
	text-align:center;
	padding-top:44px;
	color:#AAAAAA;
	border:1px solid black;
}

.references_list {
	list-style-type:none;
	padding-left:2em;
	margin-top:5px;
	margin-bottom:1em;
}

.references_list li {
	margin-bottom:3px;
}

table#reference_books
{
	text-align:left;
	vertical-align:top;
	margin-top:15px;
}

table#reference_books tr
{
	padding-bottom:20px;
}

.book_title
{
	font-weight:bold;
}

table#reference_books td.book_image
{
	vertical-align:top;
	text-align:right;
	padding-right:8px;
	padding-bottom:14px;
}

table#reference_books td.book_image img {
	box-shadow: 2px 2px 6px #888888;
}

table#reference_books .pale_text
{
	color:#666;
}

.trip_date_summary
{
	text-align:center;
	margin-top:-10px;
	margin-bottom:10px;
	font-size:18px;
	color:#AAA;
}

#summary_table
{
	width:550px;
	text-align:left;
    margin-bottom:20px;
}

#trip_summary {
	text-align:center;
}

#trip_summary_header
{
	text-align:center;
	padding-top:15px;
	padding-bottom:10px;
	font-size:18px;
	font-weight:bold;
}

.trip_summary_column
{
	display:inline-block;
}

#trip_summary_column_categories {
    text-align:right;
    padding-right:5px;
}

#trip_summary_column_counts {
    text-align:left;
    padding-right:3em;
}

.trip_summary_total
{
	margin-top:10px;
	margin-bottom:20px;
}

div#top_10_list_description {
	margin:20px 0px 20px 0px;
}

.top_10_item {
	margin-top: 20px;
	margin-bottom: 20px;
}

.top_10_item_info {
	width:470px;
	display:inline-block;
	vertical-align:top;
	text-align:left;
	margin-left:10px;
	margin-bottom:20px;
}

.top_10_item_title {
	font-size: 22px;
}

.top_10_item_photo_attribution {
	margin-top:15px;
	font-size: 12px;
}

.top_10_item_info .sci_name {
	margin-top:5px;
	font-size:18px;
}

.top_10_item_notes {
	margin-top:10px;
}
