/* Stylesheet for troughton.org */
/* Heavily based on Blue Haze, by Haran, from www.oswd.org */

/* ###### Browser-specific Styles ###### */

/* For IE & Mozilla-based browsers: */

.LHS {
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  float: left;
  clear: left;
  width: 11em;
}

.RHS {
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  float: right;
  clear: right;
}

/* For Mozilla-based (CSS2-fully complaint) browsers only: */

[class~="LHS"] {
  margin-left: 2em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 11em;
}

[class~="RHS"] {
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  margin-bottom: 1em;
}


/* ###### Body Text ###### */

body {
  background-color: #e0e0e0;
  color: black;
  font-family: verdana, tahoma, helvetica, arial, sans-serif;
  font-size: 95%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

h1, h2, h3 {
  font-family: "trebuchet ms", tahoma, sans-serif;
  padding-top: 0.5ex;
}

h1 {
  font-weight: bold;
  font-size: 150%;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  padding-top: 1.5ex;
  padding-bottom: 0.5ex;
  clear: both;
}

q {
  font-family: tahoma, verdana, helvetica, arial, sans-serif;
  font-weight: bold;
  border-style: dotted;
  border-width: 2px;
  margin: 0 1em 1ex 1em;
  padding: 0.5ex 0.5ex 0.5ex 1ex;
  width: 9em;
  float: left;
}

#bodyText {
  text-align: justify;
  line-height: 1.5em;
  padding: 0 1em 1ex 1em;
}

#bodyText p {
  padding-bottom: 1ex;
}

#bodyText a {
  text-decoration: none;
  border-bottom-style: solid;
  border-bottom-width: 1px;
}

#bodyText a:hover {
/*  border-bottom: none; */
  background-color: #f0f0f0
}

#bodyText .sideBox a {
  text-decoration: none;
  border-bottom-style: none;
}

#bodyText .sideBox a:hover {
  background-color: inherit;
}

.smallCaps {
  font-variant: small-caps;
}


/* ###### Header ###### */

#header {
  border-bottom-style: solid;
  border-bottom-width: 2px;
  height: 7.5em;
  margin-bottom: 0em;
  padding: 0 2em 0 2em;
  background-repeat: no-repeat;
}

.headerTitle {
  font-size: 300%;
  font-weight: bold;
  line-height: 2em;
  float: left;
}

.menuBar {
  float: left;
  clear: left;
  width: 95%;
}

.locBar {
  float: right;
}

.menuBar *, .locBar * {
  text-decoration: none;
  font-weight: bold;
  padding: 2px;
}

.menuBar a:hover, .locBar a:hover {
  /* text-decoration: underline; */
  border-bottom-style: solid;
  border-bottom-width: 1px;
  background-color: #d0d0d0
}

.menuBar a.thisPage {
  background-color: #d0d0d0
}

/* ###### Side Box ###### */

.sideBox {
  border-style: solid none solid none;
  border-width: 2px 0 2px 0;
  margin-top: 1em;
  margin-right: 2em;
  margin-top: 1ex;
  margin-bottom: 1ex;
}

.sideBox div {
  font-weight: bold;
  border-bottom-style: dashed;
  border-bottom-width: 1px;
  padding: 0.5ex 0.75em 0.5ex 0.75em;
}

.sideBox a, .sideBox a:hover, .sideBox span {
  color: black;
  text-decoration: none;
  line-height: 1.25em;
  display: block;
  padding: 1.25ex 0.75em 1.25ex 0.75em;
}

.sideBox .thisPage {
  font-weight: bold;
}

#bodyText a.thumb {
  border: none;
}

#bodyText a.thumb:hover {
  background-color: inherit;
}

a.thumb img {
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1ex;
  margin-bottom: 1ex;
  vertical-align: middle;
}

div.event .thumb img {
  margin-bottom: 0.1ex;
}

a.bigthumb img {
  margin-left: 0em;
  margin-right: 1.5em;
  margin-top: 0ex;
  margin-bottom: 1.5ex;
  float: left;
}

a.photo img, a.thumb img, a.bigthumb img {
  border-color: black;
  border-style: solid solid solid solid;
  border-width: 2px;
}

a.photo:hover img, a.thumb:hover img, a.bigthumb:hover img {
  border-color: #4080ff;
}

#bodyText .sideBox {
  margin-right: 0px;
}

#header .photo img {
  position: absolute;
  top: 0px;
  right: 0px;
  margin-right: 0px;
}

#bodyText .photo img {
  float: left;
  margin-left: 0em;
  margin-right: 1em;
  margin-top: 0ex;
  margin-bottom: 1ex;
}

div.thumbnails {
  clear: both;
}

.publication {
  padding: 1ex;
  margin-bottom: 0.5ex;
} 

.odd {
  background-color: #d0d0d0;
}

.even {
  background-color: #e0e0e0;
}

/* ###### Footer ###### */

#footer {
  padding-top: 0.75ex;
  padding-bottom: 0.75ex;
  clear: left;
}

#footer div {
  font-size: 85%;
  line-height: 1.25em;
  text-align: right;
  padding-right: 3mm;
}

#footer a:hover {
  text-decoration: none;
}

#footer div.footerLHS {
  position: absolute;
  left: 3mm;
  text-align: left;
}

/* photos.troughton.org specials */

#fullimage {
  clear: both;
  margin-right: auto;
  margin-left: auto;
}


#fullimage div#imageinfo {
  border-style: solid none solid none;
  border-width: 2px 0 2px 0;
  margin-top: 2px;
  margin-bottom: 1ex;
  background-color: #d0d0d0;
  padding: 0.5ex 0em 0ex 0em;
}

div#imageinfo div#line2 a.event {
  font-weight: bold;
  color: black;
  text-decoration: none;
  border-bottom-style: none;
}

div#imageinfo div#line2 a.event:hover {
  text-decoration: underline; 
  /* border-bottom-style: solid;
  border-bottom-width: 1px; */
}

#imageinfo div#line1 {
  padding: 0ex 0.5em 0ex 0.75em;
}

#imageinfo div#line2 {
  padding: 0ex 0.5em 0.5ex 0.75em;
}

#imageinfo div#blurb {
  border-top-style: dashed;
  border-top-width: 1px;
  padding: 0.5ex 0.5em 0.5ex 0.75em;
}

#withnav {
  margin: 0em 1em 0 14em;
}

#nonav {
  margin: 0 1em 0 1em;
}

#navbar {
  margin-bottom: 0.3em;
  margin-top: 0.2em;
  margin-right: 0.5ex;
  float: left;
  text-align: left;
}

#prevnext {
  margin-bottom: 0.3em;
  margin-top: 0.2em;
  margin-left: 0.5ex;
  float: right;
}

.thispagenumber {
  font-weight: bold;
}

.disabled {
  color: #c0c0c0;
}

#promptprev {
  clear: both;
  text-align: left;
}

#promptnext {
  clear: both;
  text-align: right;
}

div.events {
  margin-top: 1ex;
  clear: both;
}

#bodyText div.events p {
  padding-bottom: 0.5ex;
}

div.more {
  clear: right;
  text-align: right;
}

div.event {
  clear: both;
  padding-top: 0.25ex;
  padding-bottom: 0.5ex; 
  padding-left: 1ex; 
  padding-right: 0.5ex; 
}

/* Ludicrous bodge to fix IE6's broken float model using another IE6 bug... */
* html div.event {
  height: 1%;
}

div.eventthumb {
  float: right;
}

.piclist img {
  float: right;
  margin-left: 2ex;
  margin-bottom: 2ex;
}

.piclist li {
  clear: right;
}

/* ###### General Color Scheme ###### */

h1, h2, h3, q, #header div, #header div *, #footer *, .headerTitle, .sideBox div, .topOfPage, #bodyText .sideBox a
{ /* Text Color: */  color: #000000; }

h1, q,  #header, .sideBox, .sideBox div
{ /* Border Color: */  border-color: #000000; }

#header, .sideBox div, .sideBox a:hover, .sideBox .thisPage, #bodyText .sideBox div, #bodyText .sideBox a:hover
{ /* Background Color (darker): */  background-color: #b0b0b0; }

q, .sideBox a, .sideBox span
{ /* Background Color (lighter): */  background-color: #d0d0d0; }


/* ###### Special Colors ###### */

acronym {
  color: #4080ff;
  border-bottom-color: blue;
}

#bodyText a {
  color: #4080ff;
  border-bottom-color: #4080ff;
}

#footer {
  background-color: #c0c0c0;
}

.pullQuote {
  background-color: #c0c0c0;
  border-style: solid none solid none;
  border-width: 2px 0 2px 0;
  margin-left: 1em;
  margin-right: 0em;
  margin-top: 1ex;
  margin-bottom: 1ex;
  padding: 1ex;
  width: 25ex;
  float: right;
  clear: right;
}

.pullQuote div.Quote {
  font-style: italic;
}


