/*  CSS "libraries"
------------------------------------------------------------------------------*/
@import url("reset.css");


/*  6-column, 960px grid
------------------------------------------------------------------------------*/
@import url("grid.css");


/*  Browser-specific patches
------------------------------------------------------------------------------*/
/*\*//*/
@import url("patches/mac-ie5.css");
/**/

/* <html>, <body>
------------------------------------------------------------------------------*/

html {
  background: rgb(189, 183, 178) url("../img/noise.gif") scroll repeat 0 0;
  color: rgb(51, 45, 38);
  text-shadow: rgb(255, 255, 255) 0 1px 0;
  text-shadow: rgba(255, 255, 255, 0.25) 0 1px 0;
  height: 100%;
}
body {
  background: transparent url("../img/bp.png") no-repeat fixed 50% 0;
  height: auto;
  width: 100%;
  padding: 0;
  margin: 0;
  font: normal normal normal 62.5%/1.25 Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

/* <header>
------------------------------------------------------------------------------*/

#header {
  height: 90px;
}
#titletag {
  position: absolute;
  top: 22px;
  left: 97px;
  height: 65px;
  width: 587px;
  background: url("../img/titletag.png") no-repeat 0 0;
}

/* <body>
------------------------------------------------------------------------------*/

/*
  #003366 @ 50% on #bdb7b2
  rgb(94, 117, 140)
  rgba(0, 51, 102, 0.5)

  #800000 @ 50% on #bdb7b2
  rgb(158, 91, 89)
  rgba(128, 0, 0, 0.5)
*/

#body {
  height: 114px;
  padding: 30px 20px;
  margin-top: 0;
  margin-bottom: 0;
  border: none;
  background: url("../img/body-all.png") no-repeat 0 0;
  font-size: 1.2em;
}
body#splash #body {
  height: 320px;
  background-image: url("../img/body-splash.png");
}
body#home #body, body#about #body {
  background-image: url("../img/body-plain.png");
}

/* <splash>
------------------------------------------------------------------------------*/

#movie {
  position: absolute;
  top: 0;
  left: 150px;
  height: 293px;
  width: 730px;
}
#logof {
  position: absolute;
  top: 27px;
  left: 27px;
  height: 197px;
  width: 106px;
  background: url("../img/logof.png") no-repeat 0 0;
}
#enter {
  position: absolute;
  top: 315px;
  left: 750px;
  height: 36px;
  width: 100px;
  background: url("../img/enter.png") no-repeat 0 0;
}
#enter:hover {
  background-position: 0 -36px;
}
#enter:active {
  background-position: 0 -72px;
}

/* <internal>
------------------------------------------------------------------------------*/

#logo {
  position: absolute;
  top: 27px;
  left: 27px;
  height: 112px;
  width: 106px;
  background: url("../img/logo.png") no-repeat 0 0;
}
#nav {
  position: relative;
  left: -10px;
  width: auto;
  margin: 0;
  padding: 10px 0 0 0;
}
#nav li {
  float: left;
  list-style: none;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: 0% 0%;
}
#nav li a, #nav li a img {
  display: block;
}
#nav, #nav li, #nav li a, #nav li a img {
  height: 26px;
}
#nav li:hover, #nav li.here {
  background-position: 0 -26px;
  -webkit-transition: none;
}
#nav li:active {
  background-position: 0 -52px;
  -webkit-transition: none;
}
#nav li#nav_home,    #nav li#nav_home a,    #nav li#nav_news a img    { width: 79px;  }
#nav li#nav_about,   #nav li#nav_about a,   #nav li#nav_about a img   { width: 93px;  }
#nav li#nav_team,    #nav li#nav_team a,    #nav li#nav_team a img    { width: 93px;  }
#nav li#nav_news,    #nav li#nav_news a,    #nav li#nav_news a img    { width: 137px; }
#nav li#nav_contact, #nav li#nav_contact a, #nav li#nav_contact a img { width: 110px; }

#nav li#nav_home    { background-image: url("../img/home.png");    }
#nav li#nav_about   { background-image: url("../img/about.png");   }
#nav li#nav_team    { background-image: url("../img/team.png");    }
#nav li#nav_news    { background-image: url("../img/news.png");    }
#nav li#nav_contact { background-image: url("../img/contact.png"); }

/* <article>, <aside>, <hr>
------------------------------------------------------------------------------*/

#body2 {
  padding: 1em 0 20px 0;
  font-size: 1.2em;
}
body#home #body2,
body#about #body2 {
  width: 860px;
  padding: 0 10px 10px 10px;
  background-image: url("../img/body2-plain.png");
  background-position: 0 100%;
}
body#home #body2 {
  padding-bottom: 30px;
}
body#about #body2 {
  font-family: Cambria, Georgia, "Bitstream Vera Serif", Times, "Times New Roman", serif
}
.aside {
  font-size: 1.1em;
  font-family: Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif;
  padding-top: 1em;
}
.aside h3 {
  text-transform: none;
}
hr {
  height: 0;
  width: 100%;
  border-top: 1px solid rgb(161, 155, 150);
  border-top-color: rgba(51, 45, 38, 0.2);
  border-bottom: 1px solid rgb(196, 190, 186);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
body#home  #body2 hr,
body#about #body2 hr {
  border-top-color: rgb(214, 213, 212);
  border-top-color: rgba(51, 45, 38, 0.2);
  border-bottom-color: rgb(255, 255, 255);
}
.title {
  color: rgb(138, 121, 103);
}
.framed, .framed_left, .framed_right {
  border: 1px solid rgb(204, 202, 201);
  border-color: rgba(255, 255, 255, 0.25);
     -moz-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 5px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 1px 5px;
          box-shadow: rgba(0, 0, 0, 0.25) 0 1px 5px;
}
.framed_left, .callout-left {
  float: left;
  margin: 0 1em 1em 0;
}
.framed_right, .callout-right {
  float: right;
  margin: 0 0 1em 1em;
}

/* dots & panels
------------------------------------------------------------------------------*/

#dots {
  position: relative;
  left: 10px;
  height: 10px;
  margin-bottom: 2em;
}
#dots a, #dots a:link {
  display: block;
  float: left;
  font-size: 1px;
  height: 10px;
  width: 10px;
  margin-right: 5px;
  background: url("../img/navi.png") no-repeat 0 0;
  -webkit-transition: none;
}
#dots a:hover {
  background-position: 0 -10px;
  -webkit-transition: none;
}
#dots a.current {
  background-position: 0 -20px;
  -webkit-transition: none;
}
#panels {
  height: auto;
  min-height: 400px;
  width: 860px;
}
.panel {
  height: 32em;
  min-height: 400px;
  width: 840px;
  padding: 0 10px 10px 10px;
}
.panel.coastline  { background: url("../img/body2-coastline.png")  no-repeat   0% 100%; }
.panel.chart      { background: url("../img/body2-chart.png")      no-repeat   0% 100%; }
.panel.pool       { background: url("../img/body2-pool.png")       no-repeat   0% 100%; }
.panel.commercial { background: url("../img/body2-commercial.png") no-repeat   0% 100%; }
.panel.smallboats { background: url("../img/body2-smallboats.png") no-repeat   0% 100%; }
.panel.lighthouse { background: url("../img/body2-lighthouse.png") no-repeat 100% 100%; }
.backward, .forward {
  position: absolute;
  top: 0;
  height: 26px;
  width: 26px;
  -webkit-transition: none;
}
.backward {
  left: 0;
  background: url("../img/prev.png") no-repeat 0 0;
}
.forward {
  right: 0;
  background: url("../img/next.png") no-repeat 0 0;
}
.backward:hover, .backward:active, .forward:hover, .forward:active {
  background-position: 0 -26px;
  -webkit-transition: none;
}

/* <footer>
------------------------------------------------------------------------------*/

#footer {
  bottom: 0;
  height: auto;
  width: 100%;
  font-size: 1.1em;
  padding: 1em 0;
  margin: 0;
  color: rgb(255, 255, 255);
  text-shadow: rgb(0, 0, 0) 0 1px 0;
  text-shadow: rgba(0, 0, 0, 0.5) 0 1px 0;
  background: transparent url("../img/footer.png") repeat 0 0;
  border-top: 1px solid rgb(255, 255, 255);
  border-top-color: rgba(255, 255, 255, 0.9);
}
#footer a:link {
  color: rgb(177, 198, 227);
}
#footer a:visited, #footer a:active, #footer a:hover {
  color: rgb(255, 255, 255);
}
#footer p {
  text-align: center;
}

/* Inlines elements & character styles
------------------------------------------------------------------------------*/

.amp {
  font-family: Baskerville, "Goudy Old Style", "Palatino", "Book Antiqua", serif;
  font-size: 110%;
  font-style: italic;
  font-weight: normal;
}
.sc {
  font-variant: small-caps;
}
.txtleft {
  text-align: left;
}
.txtcenter {
  text-align: center;
}
.txtright {
  text-align: right;
}
.mono, code, kbd, samp, pre, var {
  font-family: Consolas, Monaco, "Courier New", mono;
}
.note {
     -moz-opacity: 0.75;
  -webkit-opacity: 0.75;
          opacity: 0.75;
  font-family: Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif;
}

/* Links
------------------------------------------------------------------------------*/

a {
  cursor: pointer;
}
a:link {
  text-decoration: none;
  color: rgb(0, 51, 102);
  -webkit-transition: all 0.25s linear;
}
a:visited, a:active, a:hover {
  text-decoration: none;
  color: rgb(89, 134, 179);
  -webkit-transition: all 0.25s linear;
}

/* Block elements
------------------------------------------------------------------------------*/

img, object, embed {
  max-width: 100%;
}

address, blockquote, code, ol, p, table, ul {
  margin: 0 0 0.5em 0;
}

/* Headings
------------------------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
  color: rgb(51, 45, 38);
  font-weight: bold;
  font-family: Frutiger, Calibri, "Helvetica Neue", Arial, Helvetica, sans-serif;
  }
h1 {
  font-size: 2em; /* 24px */
}
h2 {
  font-size: 1.5em; /* 18 px */
  padding-bottom: 0.36em; /* 5 px */
}
h3 {
  font-style: italic;
  font-weight: normal;
  font-size: 1.25em; /* 15 px */
  font-family: "Hoefler Text", Cambria, Georgia, "Bitstream Vera Serif", Times, "Times New Roman", serif;
  padding-bottom: 0.333em; /* 5 px */
}
h4 {
  font-size: 1em; /* 12px */
  text-transform: uppercase;
}
h5 {
  font-size: 0.833em; /* 10px */
  text-transform: uppercase;
}
h6 {
  font-size: 0.75em; /* 9px */
  text-transform: uppercase;
}

/* Lists
------------------------------------------------------------------------------*/

ul li {
  list-style: disc inside;
}
ol li {
  list-style: decimal outside;
  margin-left: 1.5em;
}

/* Forms
------------------------------------------------------------------------------*/

form div {
  padding-top: 5px;
  padding-bottom: 5px;
}
label {
  width: 100%;
  border: 0;
  padding: 5px 0;
  text-align: right;
  display: block;
}
input[type=text], input[type=email], input[type=phone], input[type=date], input[type=search], textarea {
  width: 100%;
  border: 0;
  padding: 5px 0;
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 0.75);
}
input:focus, textarea:focus {
  background-color: rgb(255, 255, 255);
  background-color: rgba(255, 255, 255, 1);
}
textarea {
  height: 10em;
}
a.disabled, img.disabled {
  opacity: 0.5;
}

#send {
  height: 36px;
  width: 100px;
  background: url("../img/send.png") no-repeat 0 0;
}
#send:hover, #send:active {
  background-position: 0 -36px;
}

#login {
  position: absolute;
  top: 10px;
  right: -10px;
  height: 22px;
  width: 102px;
  background: url("../img/login.png") no-repeat 0 0;
}
#login:hover {
  background-position: 0 -22px;
}
#login:active {
  background-position: 0 -44px;
}

/* Vanity styles
------------------------------------------------------------------------------*/

::selection {
  color: rgb(255, 255, 255);
  background-color: rgb(177, 198, 227);
  text-shadow: none;
}
::-moz-selection {
  color: rgb(255, 255, 255);
  background-color: rgb(177, 198, 227);
  text-shadow: none;
}

img::selection {
  background-color: transparent;
}
img::-moz-selection {
  background-color: transparent;
}

@media only screen and (max-device-width: 480px) {
  html { -webkit-text-size-adjust: none; }
  a { -webkit-tap-highlight-color: rgba(200, 0, 0, 0.5); }
}

/* Messages
------------------------------------------------------------------------------*/

#messages {
  position: absolute;
  font-size: 1.2em;
  width: 20%;
  right: 40%;
  top: 260px;
  padding: 1em;
  border: 1px solid rgb(134, 128, 122);
  border-color: rgba(54, 45, 38, 0.4);
  background-color: rgb(255, 255, 255);
     -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
          border-radius: 0.5em;
}
#messages li {
  list-style: none;
}
#messages li.error {
  color: rgb(127, 0, 0);
}
#messages li.warning {
  color: rgb(127, 63, 0);
}
#messages li.notice {
  color: rgb(51, 45, 38);
}
#messages_toggle {
  position: absolute;
  right: 39%;
  top: 246px;
  width: 26px;
  height: 26px;
  background: url("../img/x.png") no-repeat 0 0;
  -webkit-transition: none;
}
#messages_toggle:hover,
#messages_toggle:active {
  background-position: 0 -26px;
  -webkit-transition: none;
}
