/*
   Custom styles for http://www.miningstockreport.com/
   Authored by Bryan Chow
   Based on Blueprint CSS
   Copyright Full Factor Technologies
*/


/* Basic elements */

body {
  background: #DDD;
  margin: 0;
  padding: 0;
}

a {
  color: #34A;
  text-decoration: none;
}
a:visited {
  color: #72B; 
}
a:hover {
  color: #B22;
  text-decoration: underline;
} 

h2 a:visited,
h3 a:visited {
  color: #34A;
}

h2 a:hover,
h3 a:hover {
  color: #B22;
  text-decoration: none;
}

th {
  background-color: #DDD;
}

td {
  background-color: #EEE;
}


/* Masthead and navigation bar */

#masthead {
  padding: 10px 0;
  background: #34A url('/media/layout/masthead.jpg') repeat-x;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
}
#masthead a {
  text-decoration: none;
  color: #FFF;
}
#masthead h1 {
  position: relative;
  background: transparent url('/media/layout/logo.gif') top left no-repeat;
  height: 30px;
  margin: 0;
}
#masthead h1 a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  padding-top: 27px;
  height: 0px !important;
  height /**/: 27px;
  width: 442px;
}
#masthead p {
  margin: 0 0 0 40px;
}

#navbar {
  margin: 0;
  padding: 1px;
  background-color: #000;
  background: #DDD url('/media/layout/navbar.gif') repeat-x;
  border-bottom: 1px solid #CCC;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 10px;
}
#sitenav {
  white-space: nowrap;
}
#sitenav ul {
  margin: 1px;
}
#sitenav li {
  display: inline;
  margin: 10px 0;
}
#sitenav a {
  text-decoration: none;
  color: #000;
}
#sitenav a:hover {
  color: #E11;
}
#sitenav .selected {
}
#sitenav .selected a:hover {
  color: #E11;
}
#sitenav-left {
}
#sitenav-left li {
  padding: 10px 10px 10px 0;
}
#sitenav-right {
  text-align: right;
}
#sitenav-right li {
  padding: 10px 0 10px 10px;
}


/* Main content area */

#main {
  padding: 10px 0;
  background-color: #FFF;
}


/* Footer */

#footer {
  margin: 0;
  padding: 10px 0;
  background: #DDD url('/media/layout/footer.gif') repeat-x;
  border-bottom: 1px solid #CCC;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
}
#footer-left {
  text-align: left;
}
#footer-right {
  text-align: right;
}


/* Content styles */

.title {
  margin-bottom: 10px;
}

.title h1,
.title h2,
.title h3 {
  line-height: 1.25;
  margin-bottom: 0;
}

.title .details {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 80%;
}

.byline {
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 80%;
}

.preamble {
  font-style: italic;
}

.leadin {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 80%;
}

.more {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 80%;
}

.inset {
  padding: 10px 20px 1px 20px;
  margin: 10px 0;
  border-top: 5px solid #DDD;
  background-color: #EEE;
}

.chartbox {
  padding: 10px;
  border: 1px solid #DDD;
  background-color: #FFF;
  text-align: center;
}

.chartbox img {
  float: none;
}


/* Override image margins */

p img {
  margin: 0 10px 10px 0;
}
p img.right {
  margin: 0 0 10px 10px;
}


/* Link icons */

a.noicon {
  background: none;
  padding: 0;
  margin: 0;
}

a[href^="mailto:"],
a[href$=".pdf"],
a[href$=".doc"],
a[href$=".xls"],
a[href^="/rss/"],
a[href$=".rss"],
a[href$=".rdf"] {
  padding:2px 22px 2px 0;
  margin:-2px 0;
  background-repeat: no-repeat;
  background-position: right center;
}

a[href^="mailto:"] {
  background-image: url('/media/layout/icons/email.png');
}
a[href$=".pdf"] {
  background-image: url('/media/layout/icons/pdf.png');
}
a[href$=".doc"] {
  background-image: url('/media/layout/icons/doc.png');
}
a[href$=".xls"] {
  background-image: url('/media/layout/icons/xls.png');
}
a[href^="/rss/"],
a[href$=".rss"], 
a[href$=".rdf"] {
  background-image: url('/media/layout/icons/feed.png');
}

a[rel="popup"] {
  font-weight: bold;
}


/* Form styles */

input.text, input.title, textarea, select {
  margin: 0;
}

input.text, input.title {
  padding: 3px;
}

textarea {
  width: 390px;
  height: 200px;
  padding: 3px;
}

form ul,
form li {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.row {
  clear: both;
  margin: 0 0 1.5em;
}

.row label {
  display: block;
  float: left;
  width: 150px;
  text-align: right;
}

.row .field {
  margin-left: 160px;
}

.row li label {
  float: none;
  width: 400px;
  text-align: left;
}

.row li label {
 font-weight: normal;
}

.helptext {
  display: block;
  color: #777;
}

.errortext {
  display: block;
  font-weight: bold;
  color: #922;
}

