/*
 * ======================================================================
 * Style sheet for the HTML 4.0 specification.
 * ©2005-2007 Ronny A. Nilsen
 * ======================================================================
 */

/*
 * ======================================================================
 * Body definitions, backround, main elements
 * ======================================================================
 */

body {
  font-family: Comic Sans MS, Trebuchet MS, Verdana, Helvetica, Arial;
  font-size: 14px;
  color: #fff;
  background-color: #000;
  margin: 0;
  padding: 1px;
}

html {
}

#header, #footer {
   padding: 1em;
   color: #ffffff;

   background: #666;
   background-image: url("/style/images/BG_grey.jpg");
   background-position: left;
   background-repeat: repeat;

   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
}

#topnavleft, #topnavright {
  font-variant: small-caps;
}

#topnavleft {
  float:left;
  width:80%;
  margin-right:1em;
  text-align: left;
}

#topnavright {
  text-align: right;
}

#headleft, #headright {
  font-size: 1.6em;
  font-weight: bold;
  font-variant: small-caps;
}

div.subhead {
  font-size: 14px;
}

#headleft {
  float:left;
  width:50%;
  margin-right:1em;
  text-align: left;
}

#headright {
  text-align: right;
}

#footleft, #footright {
   font-weight: bold;
}

#footleft {
  float:left;
  width:50%;
  margin-right:1em;
  text-align: left;
}

#footright {
  text-align: right;
}

#topnav, #breadcrumbs {
   padding-top: 2px;
   padding-bottom: 2px;
   padding-left: 1em;
   padding-right: 1em;
   background-color: #222;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
}


#topnav {
   font-size: larger;
}

#breadcrumbs {
   font-size: smaller;
}

#breadleft {
  float:left;
  width:50%;
  margin-right:1em;
}

#breadright {
  text-align: right;
}

.crumbSeparator {
  color: black;
}

span.publish {
  color: #aba;
}

#page {
   padding: 2em;
   background-image: url("/style/images/BG_darkgrey.jpg");
   background-position: left;
   background-repeat: repeat;
}

div.copyright {
   font-size: smaller;
}

div.nodisplay {
   display: none;
}

div.adminbuttons {
   font-size: smaller;
   color: #555;
}

div.adminbuttons A:link {
  color: #555;
  background : inherit;
  text-decoration: none;
}

div.adminbuttons A:visited {
  color: #555;
  background : inherit;
}

div.adminbuttons A:active {
  color: #555;
  background : inherit;
}

div.adminbuttons A:hover {
  color: #555;
  background : inherit;
}

div.twocol-l2 {
  float: left;
  clear: left;
  width: 49%;
  padding:1em;
  border-right: thin solid #666;
}

div.twocol-r2 {
  float: right;
  clear: right;
  width: 49%;
  padding:1em;
}

div.twocol-l {
  float:left;
  width:50%;
  padding:1em;
  border-right: thin solid #666;
}

div.twocol-r {
  padding:1em;
  padding-left:54%;
}

div.twocol-lc {
  float:left;
  width:50%;
  padding:1em;
}

div.twocol-l70 {
  float:left;
  width:70%;
  padding:1em;
}

div.twocol-r70 {
  padding:1em;
  padding-left:74%;
}

div.threecol-l {
  float:left;
  width:30%;
  padding:1em;
}

div.threecol-m {
  float:left;
  padding:1em;
  width:30%;
  padding-left:34%;
}

div.threecol-r {
  padding:1em;
  padding-left:74%;
}

p.twocol {
  clear: both;
}

div.fp_img {
  text-align: center;
  padding:5em;
}

.scroll_frame {
  overflow: auto;
}

.spacer {
  clear: both;
  display: block;
  overflow: hidden;
  height: 1px;
}

p {
  padding-left: 1em;
  text-align: justify;
}

p.center {
  text-align: center;
}

p.pic {
  text-align: left;
}

input {
  background: #fff;
}

input:hover {
  color: #343;
}

ul.warr li {
  list-style: disc outside;
  color: #666;
}

ul.warr li span {
  color: white;  
}

/*
 * ======================================================================
 * Navigation.
 * ======================================================================
 */

#topnav ul {
   list-style-type: none;
   margin: 0;
   padding: 0;
   border: none;
}

#topnav li {
   display: inline;
   width: auto;
}

#topnav li a {
   text-decoration: none;
}

#topnav li:hover {
}

#nav {
   width: 14em;
   background-color: #222;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
}

#nav ul {
   list-style-type: none;
   margin: 0;
   padding: 0;
   border: none;
}

#nav li {
   margin: 0;
   padding: 0.25em 0.5em 0.25em 1em;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
   display: block;
   width: auto;
}

li.title {
   margin: 0;
   color: #ffffff;
   background-color: #060;
   padding: 0.25em 0.5em 0.25em 1em;
   border-top: 1px solid #333;
   display: block;
   width: auto;
   font-variant: small-caps
}

li.title a {
   color: #ffffff;
   text-decoration: none;
}

#nav li a {
   text-decoration: none;
}

#nav li:hover {
   background-color: #555;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
}

li.title:hover {
   background-color: #080;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-bottom: 1px solid #111;
   border-right: 1px solid #111;
}


/*
 * ======================================================================
 * Sections and news.
 * ======================================================================
 */

div.section, div.news {
  border-bottom: thin solid #aaa;
}

div.poem {
  text-align: left;
  padding: 1em;
}

div.ruler {
  color: #ff0f0f;
}

div.quote {
  color: #ada;
  padding-right: 2em;
  padding-left: 2em;
}
.quote p {
  font-style: italic;
  text-align: right;
}

div.error {
  border: ridge;
  background: #FFA0A0;
  color: inherit;
}

div.old {
  color: gray;
}

div.infobox {
  border: ridge red;
  width: 25em; height: 18em;
  position: fixed;
  top: 10em;
  right: 0em;
}

/*
 * ======================================================================
 * Photographs.
 * ======================================================================
 */

.fade {
  position:relative;
  filter:alpha(opacity=60);
  -moz-opacity:60%;
}

.fade:hover {
  filter:alpha(opacity=100);
  -moz-opacity:100%;
}


.imageFader{
  position:relative;
  filter:alpha(opacity=60);
  -moz-opacity:60%;
}

div.photograph {
/*  width:400px;
  color: yellow;
*/
  color: #aaa;
}

div.left {
  align: left;
}

div.right {
  align: right;
}
div.center {
  align: center;
}

/*
p.caption {
  font-weight: bold;
  font-style: italic;
  text-align: center;
}
*/

div.phototext {
/*  font-size: 0.9em;*/
  color: #fff;
  width: 70%;

}

div.phototext p {
  text-align: center;
}

.matting_medium p.caption {
  font-size: smaller;
  font-weight: normal;
  font-style: italic;
  text-align: center;
  color: #ccc;
}

.matting_large p.caption {
  font-size: 1em;
  font-weight: normal;
  font-style: italic;
  text-align: center;
  color: #aaa;
}

.matting a {
  color: #aaa;
}

div.photo, div.camera, div.lens, div.date, div.tripod, div.exposure, div.iso, div.film, div.poet, div.gps, div.sizeprice, div.buy, div.product  {
  font-size: 0.9em;
  font-weight: bold;
  text-align: center;
  color: #080;
}

div.sizeprice, div.buy, div.product {
  font-weight: bold;
  color: #080;
  padding-top: 1em;
  padding-bottom: 1em;
  padding-left: 2em;
  padding-right: 2em;
}

div.sizeprice:before  {
  content: "Size: ";
}

div.buy:before  {
  content: "Buy: ";
}

div.photo:before {
  content: "Photo: © ";
}
div.photo:after {
  content: "";
}

div.camera:before {
  content: "Camera: ";
}
div.camera:after {
  content: "";
}

div.lens:before {
  content: "Lens: ";
}
div.lens:after {
  content: "";
}

div.date:before {
  content: "Location: ";
}
div.date:after {
  content: "";
}

div.tripod:before {
  content: "Tripod: ";
}
div.tripod:after {
  content: "";
}

div.exposure:before {
  content: "Exposure: ";
}
div.exposure:after {
  content: "";
}

div.iso:before {
  content: "ISO: ";
}
div.iso:after {
  content: "";
}

div.film:before {
  content: "Film/scanner: ";
}
div.film:after {
  content: "";
}

div.gps:before {
  content: "GPS: ";
}
div.gps:after {
  content: "";
}

div.poet  {
  font-size: 0.9em;
  text-align: left;
  color: green;
  padding-left: 1em;
}
div.poet:before {
  content: "by ";
}
div.poet:after {
  content: "";
}

div.ingress-figure {
  float: left;
  text-align: center;
  margin: 0.5em;
  padding: 0.5em;
  padding-left: 1em;
}

div.figure {
  float: right;
  text-align: center;
  margin: 0.5em;
  padding: 0.5em;
}

p.figure {
  clear: both;
}

/*
 * ======================================================================
 * Images.
 * ======================================================================
 */

img {

  border: 2px solid #600;
  background-color: #fff;
}

img.noframe {
  border: none;
}

img.thumb {
  width:160px;
}

table.matting_small {
  display: inline;
}

.matting {
  border: ridge grey;
  background-color: #eee;
}

.matting_link {
}

.matting_small {
  padding: 10px;
}

.matting_medium {
  padding: 2.5em 2.5em 0em 2.5em ;
}

.matting_large {
  padding: 4em 4em .3em 4em ;
}

.matting img {
  border-style: inset;
  border-color: #fff;
}

/*
.matting_link img {
  border-style: #600;
  border-color: #fff;
}
*/

.matting_link img {
  border: none;
}

img.scaled {
  width: 100%;
  background-color: transparent;
}

img.scaled:after {
  content: attr(alt);
}

img.max {
  max-width: 100%;
}

img.max:after {
  content: attr(alt);
}

/*
 * ======================================================================
 * Definitions of header styles H1-H5
 * ======================================================================
 */

span.buy {
  color: #fff;
  background: #060;
  border-style: outset;
  border-color: #040;
  margin: 2px;
}

span.buy:hover {
  color: #080;
}

span.new {
  font-size: 0.6em;
  color: #080;
  background : inherit;
}

span.new0 {
  font-size: 0.6em;
  color: #080;
  background-color: #ff0;
}

span.date {
  font-size: 0.8em;
}

h1, h2, h3, h4, h5 {
  display: block;
  color: #aca;
}


h1 {
  font-size: 1.8em;
  font-weight: normal;
  font-variant: small-caps;
  text-align: center;
  background-color: #666;
  background-image: url("/style/images/BG_grey.jpg");
  background-position: left;
  background-repeat: repeat;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  border-bottom: 1px solid #111;
  border-right: 1px solid #111;
}

.news h1 {
  font-size: 1.6em;
}

.quote h1 {
  font-size: 1.4em;
  font-variant: normal;
}

h2 {
  font-size: 1.6em;
  font-weight: normal;
  font-variant: small-caps;
  text-align: left;
}

.quote h2 {
  font-size: 1.3em;
}

h2.result {
  text-align: center;
}

h3 {
  font-size: 1.4em;
  font-weight: normal;
  text-align: left;
}

.quote h3 {
  font-size: 1.2em;
}

h4 {
  font-size: 1.2em;
  font-weight: bold;
  text-align: left;
}

.quote h4 {
  font-size: 1.1em;
}

.latest h1 {
  color: green;
  color: white;
  font-variant: normal;
  font-size: 1.1em;
  background-color: transparent;
}

h5 {
  font-size: 1em;
  font-weight: bold;
  text-align: left;
}

.poem h1 {
  font-size: 1.2em;
  font-weight: bold;
  color: #FFF;
  text-align: center;
}

.quote h5 {
  font-size: 1.0em;
}

p.ingress {
  font-weight: bold;
}

p.description {

}

p.description:before {
  font-weight: bold;
  content: "Description: ";
}

ul.examples:before {
  font-weight: bold;
  content: "Examples: ";
}

.examples li {
  font-style: italic;
}

dt {
  padding-left: 1em;
  font-weight: bold;
}

/*
 * ======================================================================
 * Enumeration of chapters and sections
 * ======================================================================
 */

H1.num:before {
    content: counter(chapter) ". ";
    counter-increment: chapter;
    counter-reset: section;
}

H2.num:before {
    content: counter(chapter) "." counter(section) " ";
    counter-increment: section;
    counter-reset: subsection;
}

H3.num:before {
    content: counter(chapter) "." counter(section) "." counter(subsection) " ";
    counter-increment: subsection;
    counter-reset: subsubsection;
}

H4.num:before {
    content: counter(chapter) "." counter(section) "." counter(subsection) "." counter(subsubsection) " ";
    counter-increment: subsubsection;
}

ol.number {
   list-style-type: arabic-numbers;
}

ol.alpha {
   list-style-type: lower-alpha;
}

/*
 * ======================================================================
 * Misc.
 * ======================================================================
 */

textarea {
}

textarea:focus {
  background: #D0FFD0;
}

input {
}

input:focus {
  background: #D0FFD0;
}

div.warn {
  font-weight: bold;
  color: #800;
  background-color: inherit;
}

hr {
  color: #666;
  height: 1px;
}

hr.back {
  width: 25%;
  color: #e00000;
  background : inherit;
}

hr.toc {
  width: 25%;
  color: #0000e0;
  background : inherit;
}

span.back {
  font-weight: bold;
  color: #e00000;
  background: inherit;
}

div.author {
  font-size: 0.9em;
  text-align: center;
}

div.author:before {
  content: "Author: ";
  color: green;
}

div.author:after {
  content: "";
  color: #228;
}

hr.minor {
  width: 50%;
}

hr.major {
  width: 100%;
}

Q { quotes: "«" "»" "<" ">"; }
Q:before { content: open-quote }
Q:after  { content: close-quote }

/*
p + p { text-indent: 1.5em; margin-top : 0;  margin-bottom : 0 }
p.stb { text-indent: 0; margin-top: 0.83em }
p.mtb { text-indent: 0; margin-top: 2.17em }
p.ltb { text-indent: 0; margin-top: 3.08em }

P:first-letter {
  color: #ffffff;
  background-color: #000066;
  font-variant: small-caps
  font-size: 200%;
  font-weight: bold;
  float: left;
}
*/

P.note:before {
  content: "<b>NB</b>: ";
}

P.note {
  border: solid green;
}

/*
 * ======================================================================
 * Definitions of link styles
 * ======================================================================
 */

A {
  text-decoration: none;
}

A.email {
  font-weight: bold;
}

A:link {
  color: #8b8;
  background : inherit;
  text-decoration: none;
}

A:visited {
  color: #8b8;
  background : inherit;
}

A:active {
  color: #800;
  background : inherit;
}

A:hover {
  color: #080;
  background : inherit;
}

A.th:link {
  color: white;
  background : inherit;
  text-decoration: none;
}

A.th:visited {
  color: white;
  background : inherit;
}

ul.toc {
   list-style-type: none;
   font-variant: small-caps;
   font-weight: bold;
   padding-left: 1em;
}

ul.pricelist {
   list-style-type: none;
   padding-left: 2em;
}

/*
 * ======================================================================
 * Tabbed browsing.
 * ======================================================================
 */

div.tabArea {
  font-size: 80%;
  font-weight: bold;
}

a.tab {
  background-color: #f0f0f0;
  border: 1px solid #000000;
  border-bottom-width: 0px;
  padding: 2px 1em 2px 1em;
  text-decoration: none;
}

a.tab, a.tab:visited {
  color: #808080;
}

a.tab:hover {
  background-color: #d0d0d0;
  color: #606060;
}

a.tab.activeTab, a.tab.activeTab:hover, a.tab.activeTab:visited {
  background-color: #c0c0c0;
  color: #000000;
}

div.tabMain {
  border: 1px solid #000;
  padding: 1em;
}

/*
 * ======================================================================
 * Definitions of list styles
 * ======================================================================
 */

UL {
  list-style-type: disc;
}

UL UL {
  list-style-type: square;
}

UL UL UL {
  list-style-type: circle;
}

.ratingOK {
  font-weight: bold;
  color: yellow;
}

.ratingBad {
  font-weight: bold;
  color: gray;
}

/*
 * ======================================================================
 * Definitions of tables
 * ======================================================================
 */

table.full {
  width: 100%;
}

table.full tr td {
  text-align: center;
  vertical-align: top;
}

.pspec th {
  text-align: left;
}

.pspec tr:hover {
  background : #333;
}

.paper th {
   text-align: left;
   background: #666;
   background-image: url("/style/images/BG_grey.jpg");
   background-position: left;
   background-repeat: repeat;
}

th.subtitle {
  text-align: left;
  background-color: #242;
}

td.preferd {
  text-align: left;
  font-weight: bold;
}

td.stock {
  text-align: right;
  font-weight: bold;
}

td.nonstock {
  text-align: right;
  color: grey;
}

td.profile {
  text-align: center;
  font-weight: bold;
}

.paper tr:hover {
  background : #333;
}

td.number {
  text-align: right;
}
