/* CORE STRUCTURE */
/* ---------------------------------------------------------- */
body, html {
	height: 100%;
}

body {
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	color: #555;
	background-color: #fff;
}


/* TYPOGRAPHY */
/* ---------------------------------------------------- */
a:link,
a:visited,
a:hover,
a:active {
	color: #0266c2;
	text-decoration: underline;
}

a:hover,
a:active,
a:focus {
	color: #0092ff;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 140%;
	font-weight: bold;
	color: #555;
}

h1 {
	font-size: 180%;
	margin: 0 0 1em 0;
}

h2 {
	font-size: 145%;
	margin: 0 0 0.6em 0;
}

h3 {
	font-size: 120%;
	margin: 0 0 0.6em 0;
}

h4 {
	font-size: 100%;
	margin: 0 0 0.5em 0;
}

p {
	font-size: 100%;
	line-height: 140%;
	margin: 0 0 7px 0;
}

ul {
	list-style-position: inside;
}

ul li {
	line-height: 160%;
}

/* STRUCTURAL ELEMENTS */
/* -------------------------------------------------------------- */
.container {
	width: 92%;
	margin: 0 auto 0 auto;
}

@media only screen and (min-width: 960px) {
	.container {
		width: 850px;
	}
}

hr {
	display: block;
	margin: 20px 0;
	border: 0;
	height: 0;
	border-top: 1px solid #dadada;
}

.message-box {
	width: 100%;
	box-sizing: border-box;
	padding: 30px;
	margin: 0 0 30px 0;
	color: #555;
	font-size: 110%;
	font-weight: normal;
	line-height: 140%;
	background-color: #ffecb3;
}

.error-message {
    color: #C62828;
    background-color: #ffe6e9;
}


/* HEADER */
/* -------------------------------------------------------------- */
header {
	box-sizing: border-box;
	width: 100%;
	background-color: #0092ff;
}

.header-container {
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto 0 auto;
	padding: 1px 0;
	text-align: center;
}

.header-container:after {
	content: " ";
	display: table;
	clear: both;
}


/* HEADER MEDIA QUERIES */
/* -------------------------------------------------------------- */
@media only screen and (min-width: 960px) {

}

/* PROFILE NAVIGATION */
/* -------------------------------------------------------------- */
.profile-navigation {
	width: 100%;
	margin: 20px auto 30px auto;
}

.profile-navigation ul {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.profile-navigation li {
	display: block;
	box-sizing: border-box;
	margin: 0;
	padding: 0 10px;
	border-left: 1px solid #ccc;
}

.profile-navigation li:first-child {
	border: none;
	padding-left: 0;
}

.profile-navigation li .text-logo {
	display: block;
	padding: 0;
	color: #777;
	font-size: 90%;
	line-height: 100%;
	font-weight: bold;
	text-transform: uppercase;
}

.profile-navigation li a:link,
.profile-navigation li a:visited,
.profile-navigation li a:hover,
.profile-navigation li a:active {
	display: block;
	padding: 0;
	color: #18bc72;
	font-size: 90%;
	line-height: 100%;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}

/* FOOTER */
/* -------------------------------------------------------------- */
footer {
	box-sizing: border-box;
	padding: 60px 0 45px 0;
	width: 100%;
}

/* FOOTER NAVIGATION */
/* -------------------------------------------------------------- */
.footer-navigation {
	width: 92%;
	margin: 0 auto 0 auto;
}

.footer-navigation ul {
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	width: auto;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.footer-navigation li {
	display: block;
	box-sizing: border-box;
	margin: 0;
	padding: 0 10px;
	border-left: 1px solid #ccc;
}

.footer-navigation li:first-child {
	border: none;
	padding-left: 0;
}

.footer-copyright,
.footer-navigation li a:link,
.footer-navigation li a:visited,
.footer-navigation li a:hover,
.footer-navigation li a:active {
	display: block;
	padding: 0;
	color: #777;
	font-size: 75%;
	line-height: 100%;
	font-weight: normal;
	text-decoration: none;
}

@media only screen and (min-width: 960px) {
	.footer-navigation {
		width: 960px;
	}
}

/* FORMS AND BUTTONS */
/* -------------------------------------------------------------- */
input[type=text],
input[type=password],
input[type=number],
input[type=date],
input[type=email],
input[type=tel],
input[type=quantity],
textarea,
select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	font-family: inherit;
	font-size: inherit;
	font-size: 90%;
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
}

input[type=text],
input[type=password],
input[type=number],
input[type=date],
input[type=email],
input[type=tel],
input[type=quantity] {
	height: 40px; /* Standard control height */
	padding: 0 10px;
}

textarea {
	height: 150px;
	padding: 10px;
	resize: none;
}

select {
	height: 40px; /* Standard control height */
	padding: 0 10px;
}

.standard-button,
a.standard-button:link,
a.standard-button:visited,
a.standard-button:hover,
a.standard-button:active,
button, 
input[type=button],
input[type=submit],
input[type=reset] {
	box-sizing: border-box;
	display: inline-block;
	width: auto;
	padding: 0 20px;
	height: 40px; /* Standard control height */
	line-height: 40px; /* Standard control height */
	color: #fff;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background-color: #18bc72;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

.standard-button:hover,
a.standard-button:hover,
a.standard-button:active,
button:hover,
button:active,
input[type=button]:hover,
input[type=submit]:hover,
input[type=reset]:hover,
input[type=button]:active,
input[type=submit]:active,
input[type=reset]:active {
	color: #fff;
	background-color: #18bc72;
}

fieldset input[type=text],
fieldset input[type=password],
fieldset input[type=number],
fieldset textarea,
fieldset select {
	margin: 0;
}

label {
	display: block;
	font-size: 100%;
	font-weight: bold;
	margin: 0 0 8px 0;
	padding: 0;
}

.form-row {
	margin: 0 0 25px 0;
}

.field-error {
	box-sizing: border-box;
	padding: 7px 15px;
	color: #C62828;
	font-size: 85%;
	line-height: 150%;
	background-color: #ffe6e9;
	border-bottom: 1px solid #ccc;
	background-repeat: no-repeat;
	background-image:url("../images/field-error-arrow.png");
}

.pcx-field-help {
	margin: 0 0 7px 0;
	font-size: 90%;
	color: #777;
}

.button-bar {
	text-align: right;
}

.button-bar *,
.button-bar .standard-button,
.button-bar a.standard-button,
.button-bar button,
.button-bar input[type=button],
.button-bar input[type=submit] {
	display: block;
	width: 100%;
	margin: 0 0 10px 0;
}

@media only screen and (min-width: 450px) {
	.button-bar .standard-button,
	.button-bar a.standard-button,
	.button-bar button,
	.button-bar input[type=button],
	.button-bar input[type=submit] {
		display: inline-block;
		width: auto;
		margin: 0;
	}
}


/* SEARCH */
/* -------------------------------------------------------------- */
.push-pull {
	height: 30%;
	transition: height 1.5s;
	transition-delay: .5s;
	transition-timing-function: ease-in-out;
}

.push-pull-collapsed {
	height: 30px;
}

.search-box-wrapper {
	margin: 0 0 40px 0;
}

.search-form {
	width: 92%;
	margin: 0 auto;
}

.search-inputs:after {
  content: ' ';
  clear: both;
  display: table;
}

input[type=text].search-text-input {
	display: block;
	float: left;
	box-sizing: border-box;
	width: 70%;
	height: 40px;
	padding: 0 10px;
	font-family: inherit;
	font-size: inherit;
	font-size: 90%;
	color: #555;
	background-color: #fff;
	border: 2px solid #18bc72;
	outline: none;
}

input[type=submit].search-submit,
input[type=submit].search-submit:hover,
input[type=submit].search-submit:active {
	float: left;
	width: 30%;
	box-sizing: border-box;
	padding: 0 20px;
	height: 40px;
	line-height: 40px;
	color: #fff;
	font-size: 90%;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	background-color: #18bc72;
	border: none;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
	outline: none;
}

.search-criteria {
	margin: 20px 0 0 0;
	text-align: center;
}

.search-criteria label, .search-criteria select {
	display: inline-block;
}

.search-criteria input[type="radio"] {
	display: none;
}

.search-criteria .search-criteria-text {
	display: block;
	padding: 9px 20px 10px 35px;
	color: #777;
	font-size: 75%;
	font-weight: bold;
	background-color: #f1f1f1;
	border-radius: 20px;
	background-image: url('../images/icon-radio-button.svg');
	background-repeat: no-repeat;
	background-size: 16px;
	background-position: 13px 49%;
	cursor: pointer;
	/*transition: color .5s;*/
	/*transition: background-color .5s;*/
}

.search-criteria input[type="radio"]:checked + .search-criteria-text {
	color: #fff;
	background-color: #18bc72;
	background-image: url('../images/icon-radio-button-selected.svg');
}

.search-criteria select {
	border: none;
	border-left: 1px solid #ccc;
	outline: none;
	border-image: none;
	border-color: transparent;
	outline-color: transparent;
	box-shadow: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	padding: 9px 20px 10px 20px;
	color: #555;
	font-size: 75%;
	font-weight: bold;
	background: transparent;
}


/* Search form media queries */
@media only screen and (min-width: 960px) {
	.search-form {
		width: 500px;
	}
}


/* SEARCH RESULTS */
/* -------------------------------------------------------------- */
.search-results {
	width: 92%;
	max-width: 960px;
	margin: 0 auto 30px auto;
}

.search-result-error-item {
	box-sizing: border-box;
	color: #333;
	padding: 15px 20px;
	border-bottom: 1px solid #f1f1f1;
}

a.search-result-item:link,
a.search-result-item:visited,
a.search-result-item:hover,
a.search-result-item:active {
	box-sizing: border-box;
	display: block;
	width: 100%;
	color: #333;
	padding: 15px 15px 15px 10px;
	border-left: 15px solid transparent;
	border-bottom: 1px solid #f1f1f1;
	text-decoration: none;
}

a.search-result-item:hover,
a.search-result-item:active,
a.search-result-item:focus {
	background-color: #fff3e0;
	border-left: 15px solid #18bc72;
}

.search-result-item:nth-child(odd) {
    background-color: #f1f1f1;
}

.search-result-item h3 {
	margin: 0;
	color: #333;
	font-size: 90%;
	font-weight: bold;
	line-height: 140%;
	text-transform: uppercase;
}

.search-result-item p {
	color: #333;
	font-size: 100%;
	line-height: 140%;
	margin: 0;
	padding: 5px 0 0 0;
}


/* SELECTABLE LIST */
/* -------------------------------------------------------------- */

.selectable-name-list {
	margin: 0 0 30px 0;
	padding: 0;
	list-style-type: none;
}

.selectable-name-list-item {
	position: relative;
	margin: 0;
	padding: 0;
}

.selectable-name-list-label {
	position: relative;
	box-sizing: border-box;
	display: block;
	margin: 0;
	padding: 7px 0 7px 35px;
	width: 100%;
	background-image: url('../images/icon-radio-button.svg');
	background-repeat: no-repeat;
	background-position: 10px 50%;
	background-size: 16px;
	border-top: 1px solid #e6e6e6;
	cursor: pointer;
}

.selectable-name-list-radio:checked + .selectable-name-list-label {
	background-color: #e6e6e6;
	background-image: url('../images/icon-radio-button-selected-gray.svg');
}

.selectable-name-list-label span {
	display: block;
}

.selectable-name-list-label-title {
	font-size: 80%;
	font-weight: bold;
	line-height: 140%;
}

.selectable-name-list-label-description {
	font-weight: normal;
	line-height: 140%;
}

.selectable-name-list-radio {
	top: 0;
	left: 0;
	position: absolute;
	opacity: 0;
}


/* SPECIES PROFILE */
/* -------------------------------------------------------------- */
.species-profile {
	padding: 0;
}

.species-profile h1 {
	margin: 0 0 5px 0;
	font-weight: bold;
	line-height: 140%;
}

.species-profile-naming-authority {
	color: #999;
	font-size: 90%;
}

.species-profile h3 {
	margin: 30px 0 5px 0;
	font-weight: bold;
	line-height: 140%;
}

/* SPECIES PROFILE IMAGE GALLERY */
/* -------------------------------------------------------------- */
.species-profile-gallery {
	box-sizing: border-box;
	display: block;
	width: 100%;
	list-style-type: none;
	padding: 0;
	margin: 30px 0 0 0;
}

.species-profile-gallery li {
	box-sizing: border-box;
	margin: 0 0 25px 0;
	width: 100%;
	height: auto;
}

.species-profile-gallery img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid rgba(20, 20, 20, 0.1);
}

.species-profile-gallery-details {
	margin: 4px 0 0 0;
	padding: 0;
	font-size: 75%;
	color: #999;	
}