
/*--------------QITADE CODE ---------------- */
body {
	margin: 0;
	padding: 25px 25px 25px 25px;
	width: 100%;
	font: 90%/1.75em "Georgia", serif;
	background: white;
	vertical-align: middle;
	}
#wrap {
	margin: 0 auto;
	width: 770px;
	}
h1 {
	margin: 0 6px;
	padding: 0 0 .5em 0;
	font-style: normal;
	font-weight: bold;
	font-size: 175%;
	line-height: 2.375em;
	color: white;
	}
h2 {
  margin: 0 6px;
  padding: 0 0 .5em 0;
  font-style: italic;
  font-weight: normal;
  font-size: 1.25em;
  line-height: 2.375em;
  color: #ccc;
}
h2 em {
  color: #4d4d4d;
}
h2 a:link, h2 a, h2 a:hover, h2 a em, h2 a:link em, 
    h2 a:hover em {
  border-color: #999;
  color: #999;
}
h3 {
  margin: 0 0 5px 0;
  font-weight: normal;
  font-size: 1.5em;
  text-align: left; 
  clear: left;
}
h3 a:link, h3 a {
  display: block;
  padding: 0 5px;
  border: 1px solid #ccc;
  border-top-color: #eee;
  border-right-color: #ddd;
  border-bottom-color: #bbb;
}
h3 a:hover {
  border-color: #ccc;
  background-color: #eee;
}

h4 {
	margin-top: -10px;
	padding-left: 15px;
	padding-top: -5px;
	font: 90%/2.0em "Georgia", serif;
	font-style: italic;
	}
h5 {
	margin-top: -10px;
	font-weight: bold;
	padding-left: 10px;
	}
h4 a{
	text-decoration: none;
	}
#header {
	margin: 0;
	padding-top: 5px;
	line-height: 1.25em;
	width: 767px;
	height: 220px;
	background: #ae4503 url(..//images/head_full.jpg) no-repeat;
	font-family: Georgia, serif;
	font-variant: small-caps;
	}
#header span {
	text-transform: small-caps;
	}
#header img{
	padding-right: 20px;
	padding-top: 20px;
	float: right;
	clear: left;
	}

/* NAVIGATION */

#nav {
  margin: 0;
  padding: 0;
  background: #70a446;
  list-style-type: none;
  width: 767px;    
  float: left; 

}
#nav li {
  margin: 0;
  padding: 0;
  float: left;
}
#nav a {
  float: left;
  width: 127px;
  color: #FFF;
  text-decoration: none;
  line-height: 2;
  text-align: center;
  border-right: 1px solid #FFF;
}
#nav #nav_contact a {
  border: none;
}
#nav a:hover {
  background: #314221;
}
#body_home #nav_home a, #body_biomax #nav_biomax a,
    #body_photos #nav_photos a,#body_about #nav_about a,
    #body_contact #nav_contact a,
    #body_events #nav_events a {
  background: #BEB06F;
  color: #ae4503;
  font-weight: bold;
}

/* CONTENT */
#content {
	margin: 0;
	padding: 20px 10px 10px 50px;
	width: 717px;
	height: auto;
	background: white;
	line-height: 1.5em;

	}
#content a:link, #content a {
  border-bottom: 1px dotted #960;
  text-decoration: none; 
  color: #960;
}
#content a:hover {
  border-bottom: 1px solid #960;
}

#content p, #content ul {
  margin: 0 6px;
  padding: 0;
}
#content img {
  display: block;
  margin: 0 auto 5px auto;
  border: 1px solid #ccc;
  border-bottom-color: #eee;
  border-left-color: #ddd;
  border-top-color: #bbb;
  clear: right;
}
#content p.photo {
  margin: 0 0 10px 0;
  float: left;
  width: 75%;
  text-align: center;
  background-color: #fff;
  line-height: 1em;
}
#content p.photo a {
  display: block;
  float: left;
  margin: 0;
  padding: 4px 4px 9px 4px;
  border: 1px solid #ccc;
  border-top-color: #eee;
  border-right-color: #ddd;
  border-bottom-color: #bbb;
  background-color: #fff;
  text-align: center;
}
#content p.photo a:hover {
  border-color: #ccc;
  background-color: #eee;
}
#content p.description {
  clear: left;
}
#content br {
  display: none;
}
#content p.photo a, #content p.thumb a, #content ul.thumbnails a {
  display: block;
  float: left;
  margin: 0;
  padding: 4px 4px 4px 4px;
  border: 1px solid #ccc;
  border-top-color: #eee;
  border-right-color: #ddd;
  border-bottom-color: #bbb;
  background-color: #fff;
  text-align: center;
}
#content p.thumb a, #content ul.thumbnails a {
  margin-right: 10px;
  margin-bottom: 0;
}
#content p.photo a:hover, #content p.thumb a:hover, #content ul.thumbnails a:hover  {
  border: 1px solid #ccc;
  background-color: #eee;
}
#content ul.thumbnails a {
  margin-right: 10px;
  margin-bottom: 10px;
}
#content p.thumb, #content ul.thumbnails{
  margin: 0 0 10px 0;
  padding: 0;
  float: left;
  text-align: center;
  background-color: #fff;
  line-height: 1em;
  list-style: none;
}
#content ul.thumbnails li, #content ul.navigation li {
  display: inline;
  margin: 0;
  padding: 0;
}
#content ul.thumbnails li.captioned_photo p {
	bottom: 5px;
	left: 0;
	padding-top: 5px;
	padding-bottom: 10px;
	width: 80%;
	margin: 0;
	padding: 0;
	font: .75em/1.25em Verdana, sans-serif;
	letter-spacing:.05em;
	color: #000;

	}
#content ul.thumbnails li.captioned_photo p span {
display: block;
text-align: center;
clear: right;
padding-bottom: 15px;
}

/* FOOTER */

#footer {
	margin: 0;
	padding: 10px 15px 15px 15px;
	clear: left;
	width: 737px;
	height: 25px;
	text-align: center;
	background-color: white;
	border-top: 3px double #ccc;
	background: #70a446 url(..//images//footer_bottom.png) no-repeat bottom left;
	}
#footer p {
	margin: 0;
	padding: 0;
	line-height: 2em;
	color: white;
	font-variant: small-caps;
	}
/* css Popups */
