* { margin: 0; padding: 0; font-size: 100%; }
ol, ul, li { list-style: none; }

html {
  height: 100%;
}

body {
  height: 100%;
  background: white url(../img/bg-repeat.png) repeat-y 50% 0;
  font-size: 76%;
  line-height: 150%;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  text-align: center;
}

a { color: #0177A9; text-decoration: none; }
a:hover { color: #000033; text-decoration: underline; }

input, textarea { font-family: Tahoma, Helvetica, sans-serif; }

#wrapper {
  min-height: 100%;
  text-align: left;
  margin: 0 auto;
  background: white;
  width: 879px;
  padding: 5px 0px;
}

#header {
  padding-top: 125px;
  position: relative;
  background: white url(../img/masthead.jpg) no-repeat right top;
}

#header #logo {
  position: absolute;
  left: 0; top: 0;
}

#header .banner {
  background: #000033;
  color: white;
  padding: 5px;
}

#header .banner a {
  color: white;
  padding: 3px;
  font-size: 110%;
  width: 232px;
  height: 10px;
  background: url(../img/banner-email.png) no-repeat 0 0;
  display: block;
  text-indent: -9999px;
}

#main {
  background: url(../img/lines-no-sidebar.png) repeat-y 0 0;
  overflow: auto;
  font-size: 90%;
}

body.with-sidebar #main {
  background: url(../img/lines-with-sidebar.png) repeat-y 0 0;
}

#menubar {
  float: left;
  width: 185px;
  padding: 8px;
  margin-right: 5px;
}

#sidebar {
  float: left;
  width: 200px;
  margin-left: 5px;
  padding: 8px;
}

#content {
  float: left;
  width: 637px;
  padding: 8px 18px;
  color: #666666;
  overflow: hidden;
  letter-spacing: .5px;
}

body.with-sidebar #content {
  width: 403px;
}

#footer {
  text-align: center;
  border-top: 7px solid #000033;
  font-size: 80%;
  color: #003300;
}

#menubar ul {
  display: block;
  margin-bottom: 8px;
}

#menubar li {
  display: block;
  border-bottom: 3px solid white;
}

#menubar li a {
  display: block;
  background: #D6D6DE;
  font-weight: bold;
  padding: 8px 15px 8px 6px;
  color: #000033;
  text-decoration: none;
}

#menubar li a:hover {
  text-decoration: underline;
  background: #D6D6DE url(../img/dot.png) no-repeat 100% 50%;
}

#menubar li a.selected {
  background: #D6D6DE url(../img/dot.png) no-repeat 100% 50%;
}

#menubar .symbol {
  display: block;
  margin: 0 auto;
  margin-top: 50px;
}

#content h1, #content h2 {
  background: #808099 url(../img/gradient.png) repeat-y 0 0;
  color: #000033;
  font-size: 150%;
  padding: 5px 0;
  margin-bottom: 10px;
  clear: both;
}

h1#home-welcome     { background: url(../img/title-home-welcome.png) no-repeat 0 0   ; width: 406px; height: 15px; text-indent: -9999px; }
h2#home-company     { background: url(../img/title-home-company.png) no-repeat 0 0   ; width: 406px; height: 15px; text-indent: -9999px; }

h1#av               { background: url(../img/title-av.png) no-repeat 0 0             ; width: 637px; height: 15px; text-indent: -9999px; }

h1#organ            { background: url(../img/title-organ.png) no-repeat 0 0          ; width: 637px; height: 15px; text-indent: -9999px; }

h1#sky              { background: url(../img/title-sky.png) no-repeat 0 0            ; width: 637px; height: 15px; text-indent: -9999px; }

h1#contact-us       { background: url(../img/title-contact-us.png) no-repeat 0 0     ; width: 413px; height: 15px; text-indent: -9999px; }
h2#contact-address  { background: url(../img/title-contact-address.png) no-repeat 0 0; width: 413px; height: 15px; text-indent: -9999px; }

h1#fa-training      { background: url(../img/title-fa-training.png) no-repeat 0 0    ; width: 637px; height: 15px; text-indent: -9999px; }
h2#fa-courses       { background: url(../img/title-fa-courses.png) no-repeat 0 0     ; width: 637px; height: 15px; text-indent: -9999px; }

h1#srp-main         { background: url(../img/title-srp-main.png) no-repeat 0 0       ; width: 637px; height: 15px; text-indent: -9999px; }
h2#srp-checking     { background: url(../img/title-srp-checking.png) no-repeat 0 0   ; width: 637px; height: 15px; text-indent: -9999px; }

h1#event-all        { background: url(../img/title-events-all.png) no-repeat 0 0     ; width: 637px; height: 15px; text-indent: -9999px; }
h2#event-risk       { background: url(../img/title-events-risk.png) no-repeat 0 0    ; width: 637px; height: 15px; text-indent: -9999px; }
h2#event-short      { background: url(../img/title-events-short.png) no-repeat 0 0   ; width: 637px; height: 15px; text-indent: -9999px; }
h2#event-ocean      { background: url(../img/title-events-ocean.png) no-repeat 0 0   ; width: 637px; height: 15px; text-indent: -9999px; }

h1#at-main          { background: url(../img/title-at-main.png) no-repeat 0 0        ; width: 637px; height: 15px; text-indent: -9999px; }
h2#at-emt           { background: url(../img/title-at-emt.png) no-repeat 0 0         ; width: 637px; height: 15px; text-indent: -9999px; }
h2#at-aca           { background: url(../img/title-at-aca.png) no-repeat 0 0         ; width: 637px; height: 15px; text-indent: -9999px; }


p {
  margin-bottom: 10px;
}

dl {
  margin-bottom: 10px;
}

#content img {
  margin: 0 0 8px 8px;
  float: right;
  clear: right;
}

#content a.slideshow {
	display: block;
  margin: 0 0 8px 8px;
  float: right;
  clear: right;
	width: 265px;
	background: #D6D6DE;
	color: #000033;
	font-weight: bold;
	padding: 8px 15px 8px 5px;
	text-decoration: none;
}

#content a.slideshow:hover {
  text-decoration: underline;
  background: #D6D6DE url(../img/dot.png) no-repeat 100% 50%;
}

#content img.block {
  float: none;
  display: block;
  margin: 0 0 10px 0px;
}

#content ul {
  margin-bottom: 10px;
}

#content ul li {
  background: url(../img/bullet.png) no-repeat 0 3px;
  padding: 2px 0px 2px 16px;
}

ul.floaty {
  position: relative;
  overflow: auto;
  margin-right: -10px;
}

#content ul.floaty li {
  float: left;
  background: url(../img/ball.png) no-repeat 0 2px;
  padding-left: 24px;
  width: 180px;
}

.chunk {
  color: #FFF6D4;
  padding: 48px 16px 10px 16px;
  position: relative;
  font-size: 90%;
  font-weight: bold;
  margin-bottom: 8px;
}

.chunk a {
  color: #FDFE40;
  text-decoration: none;
}

.chunk a:hover {
  color: #FDFE40;
  text-decoration: underline;
}

.chunk.ambulance { background: #000B3E url(../img/hatching1.png) repeat 0 0; }
.chunk.state     { background: #193E6C url(../img/hatching2.png) repeat 0 0; }
.chunk.event     { background: #004578 url(../img/hatching3.png) repeat 0 0; }
.chunk.contact   { background: #0077AA url(../img/hatching4.png) repeat 0 0; }

.chunk h2 {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 43px;
  display: block;
  margin: 0; padding: 0;
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position: 0 0;
}

.chunk.ambulance h2 { background-image: url(../img/chunk-title-ambulance.png); }
.chunk.state     h2 { background-image: url(../img/chunk-title-state.png); }
.chunk.event     h2 { background-image: url(../img/chunk-title-event.png); }
.chunk.contact   h2 { background-image: url(../img/chunk-title-contact.png); }


form.side-by-side {
  font-size: 100%;
  margin-bottom: 10px;
}

form.side-by-side input.txt { width: 25em; }
form.side-by-side textarea { overflow: auto; width: 25em; }

form.side-by-side .row {
  overflow: auto;
  padding-bottom: 10px;
}

form.side-by-side .row .label {
  float: left;
  width: 8em;
  font-weight: bold;
  color: #000033;
}

form.side-by-side .row .field {
  float: right;
  width: auto;
  text-align: right;
}

body form .submit {
  padding: 5px 0;
}

body form a.fakebutton {
  margin-right: 0; margin-left: auto;
  background: #D6D6DE; color: #000033;
  padding: 5px 10px;
  text-align: left;
  text-decoration: none;
}

body form a.fakebutton:visited {
  text-decoration: none;
  color: #000033;
}

body form a.fakebutton:hover {
  /*background-position: 0 -21px;*/
  color: #000033;
  text-decoration: underline;
}
