
html, body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 8pt;
  padding: 0;
  margin: 0;
}

html, div, map, dt, isindex, form {
  display:block;
}

img {
  border: none;
}

a {
  color: #444488;
}
a:visited {
  color: #6688aa;
}

#header {
  border-bottom: 1px solid #c9daee;
  margin: 0;
  padding: 0 20px 0 0;
  height: 113px;  /* logo height */
  overflow: hidden;
  background: #ffffff url('/static/nordpool_header_back.png') no-repeat scroll top right;
}

#header img {
  float: left;
  margin: 0 20px 0 75px;
}

#messages {
  position: absolute;
  width: auto;
  height: auto;
  top: 60px;
  left: 250px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #aa4444;
  color: #ee4444;
  font-weight: bold;
  padding: 5px 20px;
  background: #ffffff;
}

#top {
  text-align: right;
  margin: 10px 20px 0px 0px;
  padding: 0px;
}

#top a {
  padding: 5px;
  /* border-top: 1px solid #555555;
  border-left: 1px solid #555555; */
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
}
#top a:hover, #top a:active {
  text-decoration: underline;
}

#container {
  margin: 0px 20px 5px 20px;
  border: 1px solid #555555;
  background: #FFFFFF url(/static/sidebarback.png) repeat-y scroll top left !important;
  overflow: auto;
}

#cornercontainer {
  background: url('/static/edge.png') no-repeat bottom right;
  width: 100%;
  float: right;
  z-index: 10;
}

#layoutcontainer {
  width: 100%;
  float: right;
}

#content {
  margin: 0 0 0 200px;
  padding: 15px;
  min-height: 400px;
}

#sidebar {
  float: left;
  margin: 0 -200px 0 0;
  width: 180px;
  padding: 10px;
}

#sidebar h1 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: .5em;
}

#sidebar ul {
  padding-left: 2em;
}

#sidebar span.selected-archive {
  font-weight: bold;
}

#sidebar span.selected-archive a, #sidebar span.unselected-archive a {
  text-decoration: none;
  color: black;
}

.clearboth {
  clear: both;
}

#loginbox {
  float: right;
  margin: 0;
  display: inline;
  width: 150px;
}

#loginbox input {
  width: 150px;
  border: 1px solid black;
  font-size: 8pt;
}
#loginbox input#id_submit {
  margin-top: 5px;
  width: auto;
  border: 1px solid black;
  background: #ffffff;
  float: right;
}

#refinesearch {
  line-height: 125%;
}
#refinesearch span.required {
  color: #55aa55;
}
#refinesearch span.excluded {
  color: #aa5555;
}
#refinesearch a.remove {
  background: #dd9999;
  text-decoration: none;
  border: 1px solid #440000;
  color: #ffffff;
  width: 1em;
  height: 1em;
  display: inline-block;
  text-align: center;
}
#refinesearch a.require {
  background: #99dd99;
  text-decoration: none;
  border: 1px solid #004400;
  color: #ffffff;
  width: 1em;
  height: 1em;
  display: inline-block;
  text-align: center;
}
#refinesearch a.exclude {
  background: #dd9999;
  text-decoration: none;
  border: 1px solid #440000;
  color: #ffffff;
  width: 1em;
  height: 1em;
  display: inline-block;
  text-align: center;
}
#refinesearch a.newsearch {
  background: #9999dd;
  text-decoration: none;
  border: 1px solid #000044;
  color: #ffffff;
  width: 1em;
  height: 1em;
  display: inline-block;
  text-align: center;
}

#searchbox {
  background: url('/static/bar_back.png') repeat-x top;
  padding: 10px 20px;
  margin: -15px -15px 20px -15px;
  z-index: 50;
}

#searchbox p, #searchbox form {
  margin: 0;
  padding: 0;
  z-index: 100;
}

#searchbox input {
  font-size: 10pt;
}
#searchbox input.field{
  border: 1px solid black;
  width: 20em;
}
#searchbox input.button {
  width: auto;
}

#searchbox #hits {
  float: right;
  margin: 0;
  text-align: right;
}

.paginator {
  clear: both;
  margin: 1em;
}

.paginator a {
  border: 1px solid #222277;
  padding: 2px 6px;
  text-decoration: none;
  color: #222277;
}

.paginator a:hover, .paginator a:active {
  color: #FFFFFF;
  background: #222277;
}

.paginator span.currentpage {
  border: 1px solid #222277;
  padding: 2px 6px;
  text-decoration: none;
  color: #FFFFFF;
  background: #222277;
}

.paginator span.inactive {
  border: 1px solid #DDDDDD;
  padding: 2px 6px;
  text-decoration: none;
  color: #DDDDDD;
  background: #FFFFFF;
}



div.thumb {
  width: 110px;
  height: 150px;
  padding: 5px;
  float: left;
  margin: 0;
  text-align: center;
  overflow: hidden;
}

div.thumbimagearea {
  width: 110px;
  height: 100px;
  text-align: center;
  line-height: 100px;
}

div.thumbimagearea img {
  border: none;
  vertical-align: bottom;
  line-height: 100px;
}

div.thumb a {
  text-decoration: none;
  color: black;
}

div.thumb span.filename {
  font-weight: bold;
}

#imagepreview {
}

#imagepreview #theimage {
  float: left;
  padding: 5px;
  border: 1px solid black;
  max-width: 320px;
}

#imagebigpreview #theimage {
  padding: 5px;
  border: 1px solid black;
}

#imagedetails {
  border-left: 10px solid #AAAABB;
  margin-left: 340px;  /* image width plus 40px spacing */
  padding: 0 20px 0 10px;
}

#imagedetails span.fieldvalue {
  padding: 6px;
  /* background: #E0E0F0; */
  border-top: 1px solid #5555AA;
  display: block;
}

#imagedetails span.fieldvalue a {
  text-decoration: none;
}
#imagedetails span.fieldvalue a:hover, #imagedetails span.fieldvalue a:active {
  text-decoration: underline;
}

#imagedetails p b {
  font-size: 120%;
}

#imagedetails p span.comment {
  /* FIXME 
  position: absolute;
  right: 25px; */
}

#actions {
  clear: left;
  float: left;
  width: 300px;
  margin: 15px 0;
}

#actions a {
  display: block;
  padding: 2px;
  margin: 5px 0; 
  border: 1px solid #8888dd;
  width: 200px;
  font-weight: bold;
  text-decoration: none;
}

#actions a img {
  border: none;
  vertical-align: middle;
}

p#bottom {
  clear: both;
}

.rightclear {
  float: right;
  clear: right;
}
img.rightclear {
  margin-left: 2em;
  margin-bottom: 2em;
}

#footer {
  text-align: center;
  margin: 0px 20px 20px 20px;
}
