/*
   Custom styles for http://www.thepokertrainer.com/
   Based on Blueprint CSS
*/


/* Fix clearfix hack to remove unwanted space from bottom of page */

.clearfix:after, .container:after {
    content: ""; 
}


/* Basic elements */

body {
  background: #CCC url('/media/layout/body.jpg') top center repeat-y;
  margin: 0;
  padding: 0;
}

a {
  color: #900;
}
a:visited {
  color: #900; 
}
a:hover {
  color: #C00;
} 

h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  text-decoration: none;
}

h2 a:visited,
h3 a:visited,
h4 a:visited,
h5 a:visited,
h6 a:visited {
  color: #900;
}

h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #C00;
  text-decoration: none;
}

h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}


th {
  background-color: #DDD;
}

td {
  background-color: #EEE;
}


/* Override image float and margins */

p img {
  clear: both;
  float: none;
  margin: 10px 0 0 0;
}


/* Container */

#container {
  background-color: #FFF;
}


/* Masthead */

#masthead {
  position: relative;
  height: 90px;
  background: #A00 url('/media/layout/masthead.gif') top left repeat-x;
}
#logo {
  position: absolute;
  top: 20px;
  left: 40px;
  height: 50px;
  width: 445px;
  background: transparent url('/media/layout/logo.gif') top left no-repeat;
}
#logo a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  padding-top: 60px;
  height: 0px !important;
  height /**/: 60px;
  width: 440px;
}


/* Main content area */

#main {
  padding-top: 20px;
  padding-bottom: 10px;
  background-color: #FFF;
}


/* Footer */

#footer {
  padding-top: 10px;
  padding-bottom: 10px;
  background: #DDD url('/media/layout/footer.gif') repeat-x;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 9px;
}
#footer a {
  text-decoration: none;
}
#footer-left {
  text-align: left;
}
#footer-right {
  text-align: right;
}


/* Content styles */

.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: 20px 20px 0 20px;
  margin: 10px 0;
  border: 1px solid #AAA;
  background-color: #EEE;
}

.image {
  clear: both;
  float: none;
}

.image .caption {
  color: #333;
  font-size: 8pt;
}

.image .caption a {
  color: #333;
  text-decoration: none;
}

.image .caption .title {
  font-weight: bold;
}


/* 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');
}

/* Form styles */

form {
  margin-bottom: 20px;
}

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

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

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

.row {
  clear: both;
}

.row label {
  display: block;
}

.row .field {
}

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

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

