/* screen CSS stylesheet for Westfield Volunteer Rescue Squad web page. */
/* hacked together by Bob Billson <reb@nodot.org> 2004 Feb 07           */

/* px -> em translation was done by using this chart:
	2px	0.15em
	5px	0.38em
	9px	0.69em	xx-small
       10px	0.83em	x-small
       11px	0.90em
       12px	0.92em
       13px	1.0em	small
 */

body {
  margin: 0;
  padding: 0;
  color: black;
  background: url("graphics/background.jpg") #faffd2 repeat-y;
}

#container,#container_map {
  margin: 0;
  color: black;
  background: url("graphics/background.jpg") #faffd2 repeat-y;
}

#banner {
  clear: both;
  color: white;
  background: #204a6a;
  max-height: 7.5em;
  margin: 0;
  padding-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

/* replacement for <br /> after images */
img.b {
  border: 0;
}

/* scalable em size class 680px/120px banner */
img.banner {
  width: 47.25em;
  height: 7.5em;
}

/* scalable em size class 150px/234px crew pix in nav column */
img.crew {
  width: 8.88em;
  height: 11em;
}

/* scalable em size class 86px/150px article pix in mainbox */
img.img_article {
  width: 5.4em;
  height: 9.4em;
  vertical-align: middle;
}

img.img_article_horizontal {
  width: 13.85em;
  height: 10.95em;
  vertical-align: middle;
}

/* top margin control */
img.t {
  margin-top: 0.8em;
}

/* scalable em size class for 196px/134px horizontal thumbnail images */
img.thumb_horizontal {
  /* width:  15.15em; */
  /* height: 10.3em; */
  width: 196px;
  height: 134px;
  vertical-align: middle;
}

/* scalable em size class for 132px/198px vertical thumbnail images */
img.thumb_vertical {
  /* width: 10.3em; */
  /* height: 15.15em; */
  width: 132px;
  height: 198px;
  vertical-align: middle;
}

/* scalable em size class for 134px/134px rectangular thumbnail images */
img.thumb_rect {
  /* width: 10.3em; */
  /* height: 10.3em; */
  width: 134px;
  height: 134px;
  vertical-align: middle;
}

/* scalable em size class for 256px/256px rectangular thumbnail images */
img.thumb_rect256 {
  /* width: 10.3em; */
  /* height: 10.3em; */
  width: 256px;
  height: 256px;
  vertical-align: middle;
}

img.map {
  margin: 5em;
}

img.displayed {
  display: block;
  margin: 1em auto 1em auto;
}

#banner h1 {
  color: white;
  background: #20a46a;
  font-size: 160%;
  margin: 0.83em;
  line-height: 0.75em;
}

#banner i {
  color: white;
  background: #20a46a;
  font-style: italic;
}

#navcontainer {
  float: right;
  color: white;
  background: #2292c2;
  margin: 0;
  padding: 0;
  width: 190px;
  padding-top: 5px;
  padding-bottom: 20px
}

/* right side nav list */
#nav {
  float: right;
  color: white;
  background: #90bade;
  width: 140px;
  margin-right: 20px;
  margin-left: 20px;
  margin-top: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #191970;
  padding: 0 0 0.5em 0;
  font-size: small;
  font-family: sans-serif;
  font-weight: bold;
}

#nav p {
  margin-top: 0;
}

#nav ul {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
  border: none;
}

#nav li {
  border-bottom: 1px solid #90bade;
  margin: 0;
}

#nav a {
  color: Black;
  background: #2175bc;
  display: block;
  padding: 5px 5px 5px 0.5em;
  border-left: 8px solid #1958b7;
  border-right: 8px solid #508fc4;
  text-decoration: none;
  font-weight: bold;
}

html>body #nav a {
  width: auto;
}

#nav a:hover {
  color: white;
  background: #2586d7;
  border-left: 8px solid #3c64d1;
  border-right: 8px solid #5ba3e0;
}

#navactive a {
  color: #fff;
  background: #332;
  display: block;
  padding: 5px 5px 5px 0.5em;
  border-color: #fe3;
  text-decoration: none;
}

html>body #navactive a {
  width: auto;
}

#navmid {
  color: white;
  background: #024a6a;
  float: right;
  width: 160px;
  padding: 0;
  margin-left: 0;
  border: 15px solid #2292c2;
}

#midbox {
  float: right;
  color: white;
  background: #024a6a;
  margin: 1em;
  margin-left: 1em;
  margin-right: 1em;
  padding: 15px 10px;
  text-align: center;
  font-family: sans-serif;
}

#midbox p {
  color: white;
  background: transparent;
  font-size: small;
  text-decoration: none;
  margin-top: 1em;
}
	
#mainbox,#mainbox_map {
  color: black;
  background: #faffd2;
  padding-top: 0.5em;
  margin: 0 210px 0 1.5em;
  text-align: left;
  padding: 0.5em;
  font-size: 1em;
  font-weight: normal;
  font-family: sans-serif;
}

#footer {
  clear: both;
  color: black;
  padding: 1em;
  margin-top: 1em;
  text-align: center;
  border-top: 1px solid black;
  font-family: monospace,monotype;
  font-weight: normal;
  font-size: 90%;
}

#button {
  clear: both;
  margin-top: 1em;
  text-align: right;
}

#thisdoc {
  clear: both;
  color: black;
  /* background: #b0b0b0; */
  margin-top: 0.5em;
  margin-left: 0.25em;
  text-align: left;
  font-family: monospace, monotype;
  font-weight: normal;
  font-size: 90%;
}

a:link {
  color: Blue;
  background: transparent;
  font-weight: normal;
}

a:visited {
  color: Purple;
  background: transparent;
  font-weight: normal;
}

a:hover {
  background: Gray;
  font-weight: normal;
}

a:active {
  color: Red;
  background: transparent;
  font-weight: normal;
}

hr {
  width: 50%;
  height: 1px;
  color: black;
  background-color: black;
  text-align: center;
}

tt {
  font-family: monospace, monotype;
}

p,tr,td  {
  font-size: 1em;
  margin-left: 1%;
  margin-right: 1%;
  margin-top: 0;
}

p.blocktext {
  margin-left: auto;
  margin-right: auto;
  width: 30em;
}

h1 {
  color: black;
  background: transparent;
  text-align: center;
  font-size: 160%;
  letter-spacing: 0.1em;
  margin: 0.5em;
  font-family: serif;
}

h2 {
  color: black;
  background: transparent;
  text-align: center;
  font-size: 150%;
  letter-spacing: 0.1em;
  font-family: serif;
  margin: 0.83em;
}

h3 {
  color: black;
  background: transparent;
  text-align: center;
  font-size: 140%;
  letter-spacing: 0.2em;
  font-weight: bold;
  font-family: serif;
  margin: 1em;
}

h4 {
  color: black;
  background: transparent;
  text-align: center;
  font-size: 120%;
  font-weight: bold;
  font-family: serif;
}

h5 {
  font-size: 100%;
  font-family: serif;
  border-bottom: none;
  font-weight: bold;
}

h6 {
  font-size: 80%;
  border-bottom: none;
  font-weight: bold;
  font-family: serif;
}

ul {
  list-style-image: url("graphics/star-bullet.png");
}


/* Emphasis - em */
em {
  font-style: italic;
}

/* Emphasis - strong */
strong {
  font-weight: bold;
}

stronger {
  font-style: italic;
  font-weight: bold;
}

i {
  font-style: italic;
  font-weight: normal;
}

pre {
  color: black;
  background: transparent;
  font-size: 100%;
  font-family: monospace,monotype;
  padding: .5em;
}

/* BR to start next line below an image and over to the left margin */
br {
  clear: left;
}

.dropcap {
  float: left;
  color: White;
  background: #204a6a;
  width: 0.7em;
  text-transform: uppercase;
  font-size: 4em;
  line-height: 88%;
  padding: 0 3px 0 3px;
  margin: 0 9px 0 0;
}

.floatright {
  float: right;
  /* margin: 0 0 10px 10px; */
  margin: 0.5em 0.5em 0 0.5em;
  border: 1px solid Black;
}

.floatleft {
  float: left;
  margin: 0.5em 0.5em 0 0.5em;
  border: 1px solid Black;
}

.floatleftclear {
  float: left;
  margin: 0 10px 10px 0;
  clear: left;
}

.floatleftclear p {
  margin-top: 0;
}

.floatrightclear {
  float: right;
  margin: 0 0 10px 10px;
  clear: right;
}

.floatrightclear p {
  margin-top: 0;
}

/* two-column table with no visible borders */
table {
  border: none;
  margin-left: auto;
  margin-right: auto;
}

td {
  vertical-align: middle;
  border: none;
  width: 18em;
  text-align: left;
  padding-left: 2.5em;
}

caption {
  caption-side: top;
  font-size: 1.2em;
  font-weight: bold;
  font-family: serif;
  letter-spacing: 0.1em;
}

div.box {
  background: #c0c0c0;
  padding: 0.5em;
  margin: 1em auto 1em auto;
  border: none;
  width: 50%;
  text-align: center;
}

