* {
  margin: 0;
  padding: 0;
}

table {
  margin: 0 auto;
}

a { 
  text-decoration: none;
  color: red;
}
img {
  border: 0;
  text-decoration: none;
}

body {
  font-family:Arial;
  font-size:0.8em;
  line-height:22px;
}

p {
  margin: 5px 10px;

white-space:nowrap;

}

h2 {
  font-size: 1.3em;
}

#wrapper {
  margin: auto 0;
}

#header {
  height: 37px;
  background-color: #717173;
  width: 100%;
}

#main {
  margin-top: 80px;
}

#footer {
  text-align: center;
}

.copyright {
  margin-top: 15px;
  font-size: .9em;
  color: #BBB;
}

#contact-wrapper {
	width:500px;

	padding:5px;
	margin: 2px 0 0 0;

}
#contact-wrapper div {
	clear:both;
	margin:1em 0;
}
#contact-wrapper label {
	display:block;
	float:none;
	width:auto;
}
form#contactform input {
	border-color:#B7B7B7 #E8E8E8 #E8E8E8 #B7B7B7;
	border-style: none;
	border: 1px solid #AAA;
	border-width:1px;
	padding:3px;

	color:#333;
}
form#contactform textarea {
	font-family:Arial, Tahoma, Helvetica, sans-serif;
	font-size:100%;
	padding:0.6em 0.5em 0.7em;
	border-color:#B7B7B7 #E8E8E8 #E8E8E8 #B7B7B7;
	border-style:none;
	border: 1px solid #AAA;
}

.error {
  color: red;
  font-size: small;
}

form#contactform select {
  border: 1px solid #AAA;
}

/* ---------- Navigation ---------- */

#search_box {
	color: white;
	float: right;
	position: relative;
}
.field {
	background-color: #272727;
	border: solid 1px #373737;
	color: #999999;
	padding: 1px;
	margin-top: 8px;
	float: left;
}
a.search:hover {
	background-color: #4e4e4e;
}
.search {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	display: block;
	float: left;
	height: 29px;
	padding: 6px 20px 0px 20px;
	margin-left: 30px;
	color:#a5a5a5;
       text-decoration:none;
	text-transform: uppercase;
	background-color: #323232;
}
#top_bar {
	height: 35px;
}
#nav_container {
       
	margin: 0 auto;
}
#nav {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 12px;
	color: #9f9f9f;
	z-index: 9999;
	float: left;
	position: relative;	
}
#nav, #nav ul{
     margin:0;
     padding:0;
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:0.6em;
}
#nav a:link, #nav a:active, #nav a:visited{
    display:block;
    padding: 14px 25px;
    color:#a5a5a5;
    text-decoration:none;
	text-transform: uppercase;
}
#nav a:hover {
    color:#fff;
}
#nav .on{
	background: url(../images/hover.png) no-repeat center;
	height: 12px;
	color:#fff !important;
	float: left;
	position: relative;
}
#nav .subscribe{
	background: url(../images/subscribe.png) top left no-repeat;
	height: 12px;
	margin-left: 22px;
	float: left;
	position: relative;
}
#nav li{
    float:left;
    position:relative;
}
#nav ul {
    position:absolute;
    top:2.9em;
    display:none;	
	z-index: 1;
}
#nav li ul a {
    width:8em;
    float:left;
	background-color: black;
	background-image: none !important;
}
#nav li ul a:hover {
	background-color: #292929;
}
#nav ul ul{
	top:auto;
}	
#nav li ul ul {
    left:11.3em;
    margin:0px 0 0 10px;
}
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
    display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
    display:block;
}
