/**********************************
GENERAL
***********************************/
body {
	background-color: #C9A0FF; /* Green background*/
	font-family: Arial, Helvetica, sans-serif;
}
	
#wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Links */
a:link {
    font-weight: bold;
	color: #8B6914;
	text-decoration: none;
	border: 0;
	}
	
a:visited {
    font-weight: bold;
	color: #8B6914;
	text-decoration: none;
	border: 0;
	}
	
a:active {
    font-weight: bold;
	color: #8B6914;
	text-decoration: none;
	border: 0;
	}

a:hover {
	color: #8B6914;
	border: 0;
	background-color: #FFFFFF;
	}

img {
  max-width: 100%;
}

h3 {
  margin: 0 0 1em 0;
}

ul {
  list-style: none;
 }


/**********************************
Sortable tables
***********************************/

#sortable table  {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#sortable thead th { 
    cursor: pointer;
    padding: 1px 10px 1px 10px;
    color: #ffffff;
    border: 1px solid #FFFFFF;
	background-color: #818181;
	white-space: nowrap;
}

/* Draw the arrows on sort */
#sortable thead tr th span { 
  padding-right: 20px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
}

#sortable thead tr th.headerSortUp, #sortable thead tr th.headerSortDown {
	background-color: #8B6914;
}

#sortable thead tr th.headerSortUp span {
  background-image: url('../img/arrowDown.png');
}
#sortable thead tr th.headerSortDown span {
  background-image: url('../img/arrowUp.png');
}

#sortable td {
    padding: 1px 10px 1px 10px;
	border: 1px solid #C9A0FF;
    border-collapse: collapse;
	background-color: #FFFFFF;
	white-space: nowrap;
}


#sortable tbody tr td.lalign {
  text-align: left;
}

/**********************************
HEADING
***********************************/

header {
  float: left;
  margin: 0 0 30px 0;
  padding: 5px 0 0 0;
  width: 100%;
}

td#logo {
  text-align: left;
  width: 100px;
}

td#pageTitle {
  text-align: center;
  margin: 10px;
}

td#userInfo {
  float: right;
  text-align: right;
  margin: 10px;
}

h1 {
  margin: 15px 0;
  font-size: 1.75em;
  font-weight: normal;
  line-height: 0.8em;
}

h2 {
  font-size: 0.75em;
  margin: -5px 0 0;
  font-weight: normal;
}

span#error {
	font-size: 0.75em;
	color: red;
	font-style: italic;
}

/**********************************
NAVIGATION
***********************************/

nav {
  text-align: right;
  padding: 0;
  margin: 0px;
}

nav ul {
  list-style: none;
  margin: 0 10px;
  padding: 0;
}

nav li {
/*  display: inline-block; */
}

nav a {
  font-weight: 800;
  padding: 0;
}

nav li.selected {
	background-color: #fff; /* white background*/
    font-weight: bold;
    /* background-image: url('...'); */
    
}

/**********************************
FOOTER
***********************************/

footer {
  font-size: 0.75em;
  text-align: center;
  clear: both;
  padding-top: 50px;
  color: #ccc;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}


/**********************************
PAGE: three group
***********************************/

#gallery {
  margin: 0;
  padding: 0;
  list-style: none;
}

#gallery li {
  float: left;
  width: 45%;
  margin: 2.5%;
  background-color: #f5f5f5;
  color: #bdc3c7;
}

#gallery li a p {
  margin: 0;
  padding: 5%;
  color: #bdc3c7
}

/**********************************
TABLES
***********************************/


table, th, td {
	vertical-align: top;
    border-collapse: collapse;
}

.animal-picture {
	max-width:500px;
	max-height:500px;
	/*margin: 0 auto 30px;*/
	border-radius: 10px;
	display: block;
	object-fit: contain;
}

	
td#sidebar {
	white-space: nowrap;
	vertical-align: top;
    text-align: right;
    padding: 10px 10px 20px 20px;
}

#tabular table  {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	}
	
#tabular th {
    padding: 1px 10px 1px 10px;
    color: #ffffff;
    border: 1px solid #FFFFFF;
	background-color: #818181;
	white-space: nowrap;
	}

#tabular td {
    padding: 1px 10px 1px 10px;
	border: 1px solid #C9A0FF;
    border-collapse: collapse;
	background-color: #FFFFFF;
	white-space: nowrap;
}

#tabular tr.alt td {
    background-color: #EAF2D3;
}

#criteria table {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	width: 100%;
}

#criteria th {
    color: #ffffff;
    border: 1px solid #FFFFFF;
	background-color: #818181;
	white-space: nowrap;
	}

#criteria td {
    padding: 5px 10px 5px 5px;
	vertical-align: top;
	white-space: nowrap;
	background-color: #FFFFFF;
}

td#leftHand  {
    text-align: right;
	white-space: nowrap;
}


td#rightHand  {
    text-align: left;
	white-space: pre-line;
}

td#centerHand  {
    text-align: center;
	white-space: pre-line;
}

.LH
{ 
        text-align: right;
		color: #000000;
        display: table-cell;
        padding-right: 5px;
}

.RH
{
        display: table-cell;
        color: #0000000;
		text-align: left;
}

/***************************
 * Tables
 ***************************/
.Table
{
	display: table;
}
.Title
{
	display: table-caption;
	text-align: left;
	font-weight: bold;
	font-size: large;
}
.Heading
{
	display: table-row;
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	border: 1px solid #FFFFFF;
	background-color: #818181;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.Row
{
	display: table-row;
	background-color: #FFFFFF;
}
.Cell
{
	display: table-cell;
	border: solid;
	border-width: thin;
	border-color: #C9A0FF;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
}
