@font-face {
    font-family: 'Source Sans Pro';
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-weight: bold;
    font-style: normal;
}

BODY {
	background: #dcd9d2;
  background-image: linear-gradient(to bottom, #b2b2b2, #dcd9d2);
  background-repeat: no-repeat;
  color: #000000;
  font-family: 'Source Sans Pro';
  font-size: 62.5%;
  margin: 0 auto;
  overflow-y: scroll;
}

A { color: #004B96; text-decoration: none; }
A:hover { color: #004B96; text-decoration: none; font-weight: bold; }

fieldset {
  padding: 10px;
  padding-top: 0;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 50px;
  border: 1px solid #282828;
  border-radius: 4px;
  background: #FDFDFD;
  box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
}

legend {
	font-size: 3em;
	font-weight: bold;
	padding: 15px;
	padding-bottom: 0;
	padding-top: 5px;
	position: relative;
	bottom: 21px;
	margin-bottom: 5px;
	margin-top: 20px;
	color: white;
	text-shadow: 2px 2px 3px rgba(0, 0, 0, 1); 
  border: 1px solid #282828;
  border-radius: 3px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom: 0;
  background: #3B6EA5;
}

legend a { color: white; text-shadow: 2px 2px 3px rgba(0, 0, 0, 1); }

p, label { font-size: 2em; vertical-align: middle; clear: both; float: left; margin-right: 5px; position: relative; top: 3px; text-align: justify; }

input, select {
  width: 170px;
  border: 1px solid #AEAEBF;
  border-radius: 3px;
  font-family: 'Source Sans Pro';
  line-height: 20px;
  float: right;
  margin-bottom: 10px;
  box-sizing: content-box;
}

input[type=submit] {
	width: 125px;
	height: 25px;
	position: relative;
	left: 10px;
	margin-bottom: 10px;
	margin-right: 10px;
	background: #F0F0EB;
	border-radius: 5px;
	font-size: 1em;
}

input[type=submit]:hover { background: #E0FFE0; }

.loadingframe {
	display: none;
	width: 0;
	height: 0;
	border: 0;
}

.field-row { display: table; width: 100%; white-space: nowrap; }

.field-row textarea { display: table; min-height: 80px; width: 98%; margin: 0 auto; }

.field-row label { max-width: 100px; }

.category-row { display: table; float: none; }

.nested-legend { font-size: 2em; font-weight: bold; padding: 10px; }

.small {
  font-size: 1.5em;
  width: 35px;
}

.text {
	color: #000000;
	text-shadow: none;
}

.container {
	position: relative;
	top: 25px;
	max-width: 800px;
	margin: 0 auto;
}

.header {
  width: 100%;
  height: 115px;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #dcd9d2, #b2b2b2);
}

.header-content {
  font-size: 2em;
  float: left;
  padding: 15px;
	color: #000000;
}

.header-content fieldset {
	background: 0;
	border: 0;
	box-shadow: none;
}

.header-content p {
	font-size: 1em;
	margin: 0;
	padding: 0;
}

.header-content input {
	font-size: 1em;
	max-width: 200px;
	height: 20px;
	margin-right: 5px;
	float: left;
	padding: 2px;
}

.header-content input[type=submit] {
	width: 100px;
	height: 20px;
	left: 0px;
}

.menu {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  color: white;
  background-image: linear-gradient(to bottom, #EFD5A4, #FFA500);
 	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
 	padding: 2px 0 2px 0;
 	border: 1px solid #282828;
 	border-left: 0px;
 	border-right: 0px;
}

.menu a {
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.results-container {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.result-small {
	display: inline-block;
	flex-grow: 1;
	align-content: flex-start;
	width: 190px;
	max-width: 350px;
  margin: 0;
	padding-top: 0;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 25px;
	border: 1px solid #404040;
	border-radius: 4px;
	background: #ECEFF1;
	box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
}

.result-small legend { min-width: 150px; }

.animal-container {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	justify-content: space-around;
}

.animal-image {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-content: center;
	width: 200px;
	height: 200px;
	max-width: 200px;
	max-height: 200px;
  margin: 2px;
	padding: 2px;
	border: 1px solid #404040;
	border-radius: 4px;
	box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
}

.animal-image img, a {
	max-width: 100%;
	max-height: 100%;
	align-self: center;
}

.animal-sex {
	max-width: 100px;
	display: inline-flex;
	font-size: 2em;
	align-items: flex-start;
}

.result-container {
	margin-left: 10px;
	margin-right: 10px;
	padding: 10px;
	border: 1px solid #404040;
	border-radius: 4px;
	box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
	background: #ECEFF1;
	font-size: 2em;
}

.view-full {
	display: block;
	width: 100%;
}

.view-full img {
	display: block;
	margin: 0 auto;
}

.result-label {
	font-weight: bold;
	width: 300px;
}

.model-embed {
	height: 150px;
	width: 150px;
	display: block;
	margin: 0 auto;
	border: 1px solid #404040;	
  box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
}

.model-embed-large {
	height: 300px;
	width: 300px;
	border: 1px solid #404040;	
  box-shadow: 5px 5px 25px 0px rgba(50,50,50,.3);
}

.user-result {
	font-size: 2em;
	color: #000000;
	min-width: 300px;
	max-width: 350px;
	height: auto;
	padding: 10px;
}

.row {
	display: table;
}

.column {
	float: left;
}

.banner {
	background-image: url('../images/banner.jpg');
	background-position: right;
	background-repeat: no-repeat;
	min-height: 300px;
}