* {margin:0;
  padding:0}

html, body {margin: 0;
  padding: 0;}
  
body {background: #efe9f2;}
  
#container {width: 800px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0;
  padding-top: 0;
  background-color: #20509c;}
  
#branding {margin: 0;
  padding: 0;
  width: 800px;
  height: 200px;
  background: url(images/branding.jpg) no-repeat;
  text-indent: -999em;
  position: relative;}

#branding a {position: absolute;
  width: 455px;
  height: 138px;
  top: 14px;
  left: 234px;}
  
#mainContent {float: left;
  width: 630px;
  margin-left: 160px;
  padding-left: 10px;
  padding-bottom: 15px;
  display: inline;
  background: #fff;
  min-height: 500px;}
  
#sidebar {float: left;
  width: 160px;
  margin-left: -800px;
  position: relative;}
  
#footer {clear: both;
  background: #b7c2e0;
  width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
  padding-bottom: 5px;}

#branding img {margin: 0;
  padding: 0;}
  
#address {clear: both;
  line-height: 115%;
  font-size: small;
  font-family: Arial, Helvetica, sans-serif;
  color: #033d6b;
  margin-top: 10px;
  margin-bottom: 10px;}
  
#address h4 {padding-bottom: 0;
  margin-bottom: 2px;
  font-size: small;}
  
/*Text formatting*/
body {font-family: Arial, Helvetica, sans-serif;}

h1 {font-size: x-large;
  color:#e0353b;
  margin-bottom: 15px;
  padding-top: 20px;
  padding-left: 15px;
  font-family: "Trajan Pro", Arial, Helvetica, sans-serif;}

#mainContent {font-size: small;}

p a {text-decoration: none;
  color: #20509c;}
  
p a:hover {text-decoration: underline;
  color: #e0353b;}

#copyright {font-size: x-small;
  color: #033d6b;}
  
#mainContent p {padding-right: 30px;
  padding-left: 15px;
  line-height: 140%;
  margin-bottom: 15px;}
  
/*Sub navigation formatting*/
ul#subNav li {display: inline;}

ul#subNav li a {padding: 0 5px 0 5px;
  color: #033d6b;
  text-decoration: none;
  font-weight: bold;
  font-size: small;}
  
ul#subNav li a:hover {color: #fff;
  text-decoration: underline;}
  
/*Main navigation menu formatting*/
ul.nav, .nav ul {margin: 0;
  padding: 0;
  list-style-type: none;}
  
ul.nav {width: 160px;
  float: left;}
  
ul.nav>li {margin: 0;
  padding: 0;}
  
ul.nav {position: absolute;}
  
ul.nav li>ul {display: none;
  position: absolute;
  width: 160px;
  left: 160px;
  margin-top: 0;
  margin-left: 0;}
  
ul.nav li:hover>ul {display: block;}

ul.nav li:hover>ul#aboutul {position: absolute;
  top: 45px;}

ul.nav li:hover>ul#productsul {position: absolute;
  top: 90px;}

ul.nav li:hover>ul#galleryul {position: absolute;
  top: 135px;}

.nav ul li a {display: block;
  padding: 0;}
  
.nav {text-indent: -999em;}  
  
#home {background: url(images/home.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#home:hover {background: transparent url(images/home.gif) 0 -50px no-repeat;}

#about {background: url(images/about.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#history {background: url(images/history.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#history:hover {background: transparent url(images/history.gif) 0 -50px no-repeat;}
  
#team {background: url(images/team.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#team:hover {background: transparent url(images/team.gif) 0 -50px no-repeat;}
  
#locations {background: url(images/locations.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#locations:hover {background: transparent url(images/locations.gif) 0 -50px no-repeat;}
  
#products {background: url(images/products.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#towers {background: url(images/towers.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#towers:hover {background: transparent url(images/towers.gif) 0 -50px no-repeat;}
  
#accessories {background: url(images/accessories.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#accessories:hover {background: transparent url(images/accessories.gif) 0 -50px no-repeat;}

#gallery {background: url(images/gallery.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#custom {background: url(images/custom.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#custom:hover {background: transparent url(images/custom.gif) 0 -50px no-repeat;}
  
#production {background: url(images/production.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#production:hover {background: transparent url(images/production.gif) 0 -50px no-repeat;}

#motoryachts {background: url(images/motoryachts.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#motoryachts:hover {background: transparent url(images/motoryachts.gif) 0 -50px no-repeat;}

#refits {background: url(images/refits.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#refits:hover {background: transparent url(images/refits.gif) 0 -50px no-repeat;}
  
#news {background: url(images/news.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#news:hover {background: transparent url(images/news.gif) 0 -50px no-repeat;}
  
#affiliates {background: url(images/affiliates.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}

#affiliates:hover {background: transparent url(images/affiliates.gif) 0 -50px no-repeat;}

#contact {background: url(images/contact.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 45px;}
  
#contact:hover {background: transparent url(images/contact.gif) 0 -50px no-repeat;}

#facebook {background: url(images/facebook.gif) no-repeat;
  overflow: hidden;
  display: block;
  width: 160px;
  height: 55px;}

/*Electronic Newsletter Sign Up Form Formatting*/  
#signup {width: 160px;
  float: left;
  position: absolute;
  top: 375px;}
  
#signup {text-align: center;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: small;
  line-height: 145%;}
  
#enews fieldset {background-color: #20509c;
  border: none;
  padding: 5px;}

#enews input {margin-bottom: 3px;
  margin-top: 8px;}
  
#enews input#email {width: 145px;
  padding: 0;}
  
#enews legend {display: none;}

/*Formatting for pictures across bottom*/
#pictures {clear: both;
  margin: 0;
  padding: 0;}
  
#pictures img {margin: 0;
  padding: 0;
  float: left;}
