a {
	font-weight:500;
}
/* ------------------------------------------------ 
   General (update main CSS)
   ------------------------------------------------*/
section {
    padding-top: 40px;
}
a.hover-underline {
	display: inline-block;
	position: relative;
}
a.hover-underline::after {
	content: '';
	position: absolute;
	width: 100%;
	transform: scaleX(0);
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: #0087ca;
	transition: transform 0.25s ease-out;
	transform-origin: bottom right;
}
a.hover-underline:hover::after {
	transform: scaleX(1);
	transform-origin: bottom left;
}

/* ------------------------------------------------ 
   Photo Carousel
   ------------------------------------------------*/
.swiper-button { 
	height: 100%;
}
.swiper-button:hover { 
	background-color: rgba(230, 230, 230, 0.5);
}
.w-100 {
	object-fit: contain;
	max-height:540px;
}
.photo-tag {
	background-color: #000000;
	padding:0px 10px 2px 10px;
	border-radius: 10px;
	margin-left: 5px;
}
.no-photos {
	width:100%;
	height:500px;
	padding-top:240px;
	font-size:1.3em;
	background-color:#CCCCCC;
	color:#666666;
	text-align:center;
}
/* ------------------------------------------------
   Main Species Info
   ------------------------------------------------*/
.species-info {
	padding-left:30px;
}
.species-breadcrumb {
	font-family: var(--primary-font);
	font-weight: 500;
	font-size: 16px;
	line-height: 30px;
	color: var(--medium-gray);
	margin-bottom: 5px;
}
.species-breadcrumb i.fa {
	font-size:12px;
	bottom:1px;
	position:relative;
}
.species-title {
	font-size: 1.75rem;
	line-height: 1.95rem;
	font-weight: 700;
	color: var(--dark-gray);
	font-family: var(--alt-font);
	margin-bottom: 5px;
}
.species-author, .taxon-author {
	display:inline-block;
	margin-left:5px;
}
.species-description {
	margin-top: 20px;
}
.common-name {
	font-weight: 500;
	color: var(--dark-gray);
	font-size: 16px;
	line-height: 30px;
	margin-bottom: 0px;
}
table.taxon-details {
	margin: 30px 0px;
	width: 100%;
}
table.taxon-details tr:nth-child(odd) {
	background-color: #f5f4f1;
}
table.taxon-details td {
	padding: 5px 15px;
	vertical-align:top;
}
table.taxon-details td:first-child {
	font-weight:600;
	white-space: nowrap;
}
table.taxon-details td {
	line-height:20px;
	padding:10px 20px;
}
table.taxon-details td small {
	font-size:10px;
	font-weight:400;
}

/* ------------------------------------------------
   Tabs
   ------------------------------------------------*/
.nav-tabs {
	margin-bottom: 30px;
	border-bottom: 1px solid #F0F0F0 !important;
}
.tab-heading {
	font-weight: 600;
	color: var(--dark-gray);
	font-size: 20px;
	font-family: var(--alt-font);
	margin-bottom: 0px;
}

/* ------------------------------------------------
   Distribution Map
   ------------------------------------------------*/
#tab_distribution_map h3 {
	margin-bottom:0px;
}

#tab_distribution_map .distribution-list {
	font-size:14px;
	margin-bottom:20px;
}
#map {
    height: 500px; 
    width: 100%; 
}


/* ------------------------------------------------
   Diagnosis
   ------------------------------------------------*/
#tab_diagnosis .diagnosis-src {
	font-size:13px;
}

/* ------------------------------------------------
   Specimen Tab
   ------------------------------------------------*/
#tab_specimens_photos .specimen-filters {
	margin-bottom:20px;
}
#tab_specimens_photos .specimen-filters select.filter {
	width:auto;
	padding-right:50px;
	margin-bottom:5px;
	margin-right:10px;
	display:inline-block;
}
#tab_specimens_photos .filter-label {
	font-weight: 500;
	color: var(--dark-gray);
	margin-right: 10px;
}
#tab_specimens_photos .specimen {
	display:none;
}
#tab_specimens_photos .specimen.show {
	display:flex;
}


#tab_specimens_photos .specimen p {
	margin:0px;
	line-height: 1.5em;
}
#tab_specimens_photos .specimen p.specimen-catalog-number {
	font-weight:500;
}
#tab_specimens_photos .specimen p.specimen-date {
	font-size:0.8em;
}
#tab_specimens_photos .specimen p.specimen-locality {
	font-size:0.8em;
}

#tab_specimens_photos .specimen-photos .row:nth-child(odd) {
	background-color: #f5f4f1;
}

#tab_specimens_photos .specimen-photos a.specimen-photo {
	margin:0 5px;
}
#tab_specimens_photos .specimen-photos div.specimen-photo {
	font-style: italic;
	font-size: 0.8em;
}
#tab_specimens_photos .specimen-photos img.thumbnail {
	width:100px;
	height:100px;
	object-fit: contain;
}



/* ------------------------------------------------
   Taxonomic References
   ------------------------------------------------*/
#taxonomic-references .taxonomic-references {
	padding-left: 1rem;
}
#taxonomic-references .taxonomic-references li::marker {
	color:black;
}
#taxonomic-references .taxonomic-references .taxonomic-reference-title {
	color:black;
	margin-bottom:0px;
	line-height: 25px;
}
#taxonomic-references .taxonomic-references .taxonomic-reference-detail {
	font-size:0.8em;
	margin-bottom:5px;
	line-height: 25px;
}
.footnote {
	font-size: 12px;
	font-style: italic;
	line-height: 20px;
}

/* ------------------------------------------------
   Taxonomy Tree
   ------------------------------------------------*/
#taxonomic-tree ul.taxon-list {
	padding-left:0.8em;
	padding-top:0.2em;
}
#taxonomic-tree ul.taxon-list li.taxon {
	list-style: none;
	position:relative;
	color:#333;
	font-size:15px;
	line-height:28px;
}	
#taxonomic-tree ul.taxon-list li.taxon p {
	margin-bottom:5px;
}
#taxonomic-tree ul.taxon-list li.taxon:before {
	content: '\21B3';
    vertical-align: top;
	position:absolute;
	left:-12px;
	top:-3px;
}
#taxonomic-tree ul.taxon-list li.taxon span.taxon-name {
	display:inline;
	padding:0px;
}
#taxonomic-tree ul.taxon-list li.taxon a span.taxon-name {
	color:#333;
	font-weight:400;
}
#taxonomic-tree ul.taxon-list li.taxon.current-taxon a span.taxon-name {
	color:#000;
	font-weight:600;
}
#taxonomic-tree ul.taxon-list li.taxon span.taxon-common-name {
	color:#999;
	font-size:0.75em;
	margin-left:2px;
}
   
/* ------------------------------------------------
   Mobile Responsive
   ------------------------------------------------*/
@media (max-width: 991px) {
	.w-100 {
		max-height:400px;
	}
	.species-info {
		padding-left:15px;
	}
	#taxonomic-tree ul.taxon-list {
		padding-left:0.2em;
	}
	#tab_specimens_photos .specimen-filters select.filter {
		display:block;
		width:100%;
	}
	.no-photos {
		height:300px;
		padding-top:140px;
		font-size:1.2em;
	}
}
