/* common styles for Harpswell Foundation site  */


/* GENERAL */

html, body {
  margin: 0px;
}
body {
  background-color: #ffffff;
  background-image: none;
  text-align: center;        /* centers the page for IE/win */
}

/* for div containing content that should never be seen by visual browsers */
.offscreen {
  position: absolute;
  left: 0px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}
/* for skip link and back to top anchor */
#divskiplink,
#divtopanchor {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 1px;
  height: 1px;
  z-index: 1;
}

/* floating things */
.floatleft {
  float: left;
}
.floatright {
  float: right;
}
/* div or other to clear floating things */
.clear, .divclear {
  clear: both;
}
/* clear */
.tinyclear {
  clear: both;
  font-size: 0px;
  height: 0px;
}
/* center */
.center {
  text-align: center;
}
/* don't allow to wrap */
.nowrap {
  white-space: nowrap;
}

/* remove space around form */
form {
  display: inline;
  margin: 0;
  padding: 0;
}
/* get rid of fieldsets and legends */
fieldset {
  display: inline;
  border: none;
  margin: 0;
  padding: 0;
}
legend {
  display: none;
}

/* table cells all aligned left and top */
td, th {
  text-align: left;
  vertical-align: top;
}

/* layout table */
/* note: cellspacing=0 must still be specified in table tag because of IE */
table.layouttable {
  border: none;
  border-spacing: 0px;
  margin: 0px;
  padding: 0px;
}
table.layouttable td {
  padding: 0px;
}

/* elements for screen display or print display only */
span.screenonly {
  display: inline;
}
span.printonly {
  display: none;
}
div.screenonly {
  display: block;
}
div.printonly {
  display: none;
}

/* all lists use solid bullet */
ul {
  list-style-type: disc;
}

/* default font and links */
html, body {
  font-family: Verdana, Arial, Lucida, Helvetica, sans-serif;
  color: #343431;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, li {
  margin-top: 0px;
}
a,
a:link {
  color: #f68103;
  text-decoration: none;
}
a:visited {
  color: #cf6d04;
  text-decoration: none;
}
a:hover {
  color: #f68103;
  text-decoration: underline;
}



/* OUTER SHELL */
/* container for all page content */

#divoutershell {
  width: 786px;
  margin: 0px auto;
  padding-top: 5px;
  text-align: left; /* reset alignment for IE */
}



/* PAGE AREA */
/* area with border */

#divpagearea {
  background-color: #ffffff;
  border: 1px solid #87867a;
}



/* FOOTER */
/* below page area */

#divfooter {
  font-size: 9px;
  line-height: 12px;
  color: #67665e;
  margin: 0px;
  padding: 4px 8px 16px 583px;
}
#divfooter a,
#divfooter a:link,
#divfooter a:visited,
#divfooter a:hover {
  color: #67665e;
}


/* RIGHT COLUMN */
/* contains title and primary navigation */

#divrightcolumn {
  float: right;
  width: 182px;
  padding-right: 10px;
}
/* site title (graphic) */
#divrightcolumn h1,
#divrightcolumn h2 {
  font-size: 12px;
  line-height: 12px;
  padding: 71px 3px 71px 0px;
  margin: 0px;
}
/* primary navigation */
#divprimarynav {
  padding-left: 1px;
}
#divprimarynav ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
}
#divprimarynav ul li {
  float: left;
  width: 181px;
  font-size: 9px;
  line-height: 11px;
  text-transform: uppercase;
}
#divprimarynav ul li a {
  width: 181px;
  padding-bottom: 10px;
  display: block;
  background-color: #ffffff; /* IE6 needs this to make the block clickable */
}
#divprimarynav ul li a,
#divprimarynav ul li a:link,
#divprimarynav ul li a:visited {
  color: #87867a;
  text-decoration: none;
}
#divprimarynav ul li a:hover {
  color: #ec008c;
  text-decoration: none;
}
/* special treatment for contact link */
#divprimarynav ul li.contact a {
  font-weight: bold;
}
#divprimarynav ul li.contact a,
#divprimarynav ul li.contact a:link,
#divprimarynav ul li.contact a:visited {
  color: #87867a;
}
#divprimarynav ul li.contact a:hover {
  color: #ec008c;
}
/* current section highlight */
body.mission #divprimarynav ul li.mission a,
body.about #divprimarynav ul li.about a,
body.dormitory #divprimarynav ul li.dormitory a,
body.school #divprimarynav ul li.school a,
body.gallery #divprimarynav ul li.gallery a,
body.news #divprimarynav ul li.news a,
body.comments #divprimarynav ul li.comments a,
body.supporters #divprimarynav ul li.supporters a,
body.contact #divprimarynav ul li.contact a {
  color: #ec008c !important;
}
/* secondary navigation */
#divprimarynav ul li ul {
  padding: 0px 0px 8px 0px;
  margin: 0px;
  list-style: none;
	display: none;
}
body.about #divprimarynav ul li.about ul {
	display: block;
}
#divprimarynav ul li ul li {
  float: none;
  width: 181px;
  text-transform: none;
}
#divprimarynav ul li ul li a {
  padding-left: 12px;
  width: 169px;
}
#divprimarynav ul li ul li a:hover {
  background-image: url(/img/navbullet.gif);
	background-position: 6px 5px;
	background-repeat: no-repeat;
}
body.about_overview #divprimarynav ul li.about ul li.overview a,
body.about_administration #divprimarynav ul li.about ul li.administration a,
body.about_board #divprimarynav ul li.about ul li.board a,
body.about_history #divprimarynav ul li.about ul li.history a {
  background-image: url(/img/navbullet.gif);
	background-position: 6px 5px;
	background-repeat: no-repeat;
}




/* CENTER COLUMN */

#divcentercolumn {
  width: 583px;
}



/* TAG LINE */

#divtagline {
  background-color: #f9a117;
  padding: 34px 12px 8px 12px;
  margin: 0px;
  border-bottom: 2px solid #ffffff;
}



/* IMAGE BAND */

#divimageband {
  height: 145px;
  margin-right: -2px;
  border-bottom: 2px solid #ffffff;
}
#divimageband div {
  float: left;
  width: 193px;
  height: 145px;
  margin-right: 2px;
}



/* CONTENT AREA */

#divcontent {
  padding: 7px 32px 32px 12px;
  background-color: #f3f3e9;
  min-height: 320px;
}



/* SECONDARY NAVIGATION */

#divsecondarynav {
  font-size: 9px;
  line-height: 9px;
  color: #67665e;
  text-transform: uppercase;
  padding-top: 9px;
  margin: 0px;
}
#divsecondarynav a,
#divsecondarynav a:link,
#divsecondarynav a:visited {
  color: #67665e;
  text-decoration: none;
}
#divsecondarynav a:hover {
  color: #f68103;
  text-decoration: none;
}
#divsecondarynav a.current {
  color: #f68103 !important;
}



/* MAIN TEXT */

#divtext {
  padding-top: 24px;
}
#divtext h1 {
  font-size: 14px;
  line-height: 19px;
  color: #ec008c;
  margin-bottom: 5px;
}
#divtext h2 {
  font-size: 11px;
  line-height: 13px;
  color: #343431;
  margin-bottom: 4px;
}
#divtext h1 + h2 {
  margin-top: 12px;
}
#divtext h3 {
  font-size: 11px;
  font-style: italic;
  line-height: 13px;
  color: #343431;
  margin-bottom: 4px;
}
#divtext p {
  font-size: 11px;
  line-height: 19px;
  color: #343431;
  margin-bottom: 16px;
}
#divtext ul {
  margin-left: 0.55em;
  padding-left: 0.55em;
}
#divtext li {
  font-size: 11px;
  line-height: 19px;
  color: #343431;
}
/* default table */
#divtext table {
  margin-bottom: 12px;
}
#divtext table td,
#divtext table th {
  padding: 0px 16px 8px 0px;
}
#divtext table td p {
  margin-bottom: 0px;
}
/* table for photo */
#divtext table.phototable {
  width: 100%;
  border: none;
  border-spacing: 0px;
  margin: 12px -14px 16px 0px;
  padding: 0px;
}
#divtext table.phototable td {
  font-size: 10px;
  font-style: italic;
  line-height: 13px;
  padding-right: 14px;
}
/* magenta text */
#divtext .magenta,
#divtext .subtitle {
  color: #ec008c !important;
}



/* HOME PAGE STYLES */

/* tag line */
body.home #divtagline {
  background-color: #f9a117;
  padding:125px 12px 9px 12px;
  margin: 0px;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}
/* thumbnail band */
body.home #divthumbband {
  height: 54px;
  margin-right: -1px;
}
/* thumbnail image holder */
body.home #divthumbband div.divthumb {
  float: left;
  width: 72px;
  height: 54px;
  margin-right: 1px;
  background-color: #ec008c;
}
/* thumbnail image when clickable */
body.home #divthumbband div.divthumb img.clickable {
  cursor: pointer;
}
/* large photo */
body.home #divphoto {
  position: relative;
  width: 583px;
  height: 437px;
  background-color: #f3f3e9;
}
body.home #divphoto img.slide {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 1;
  display: none;
}



/* GALLERY */

/* content area */
body.gallery #divcontent {
  padding: 0px 0px 32px 0px;
}
body.gallery #divcontent table {
  border: none;
  border-spacing: 0px;
  margin: 0px -2px 0px 0px;
  padding: 0px;
}
body.gallery #divcontent table td {
  padding: 0px 2px 0px 0px;
}
body.gallery #divcontent table td p {
  padding: 8px 12px;
  margin: 0px;
  min-height: 23px;
  font-size: 10px;
  font-style: italic;
  line-height: 13px;
  color: #343431;
}
/* these are only used when javascript is disabled */
body.gallery #divtext {
  padding: 0px 0px 32px 0px;
  padding: 7px 32px 0px 12px;
}
body.gallery #divtext p img {
  margin-right: 12px;
}

