/* global */
html{height: 100%;}

body
{ font-family: verdana, arial, sans-serif;
  padding: 0px;
  margin: 0px;
  font-size: .68em;
}

p
{ margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;
}

h1
{ font-family: arial, sans-serif;
  font-size: 108%;
  letter-spacing: .1em;
}

h2
{ margin: 0px;
  padding: 0px 0px 4px 0px;
  font-size: 150%;
  text-align: center;
}

img{border: 0px;}

a{outline: none;}

/* image positioning - left, right and center */
.left
{ float: left; 
  padding: 0px 8px 0px 0px;
}

.right
{ float: right; 
  padding: 0px 0px 0px 8px;
}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;
}

/* block quote */
blockquote
{ margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border-left: 8px solid;
}

/* unordered list */
ul
{ margin: 8px 0px 0px 16px;
  padding: 0px;
}

ul li
{ list-style-type: square;
  margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* ordered list */
ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;
}

ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;
}

/* margin lefts / margin rights - to centre content */
#main, #links, #footer, #logo, #menu, #content
{ margin-left: auto; 
  margin-right: auto;
}

/* main container */
#main{width: 980px;}

/* links above the logo / footer */
#links, #footer
{ width: 926px;
  height: 20px;
  font-size: 88%;
  text-transform: uppercase;
  padding: 8px 21px 0px 19px;
}

#links{text-align: right;}

#footer
{ text-align: center; 
  border-top: 2px solid;
}

#links a, #footer a, #links a:hover, #footer a:hover{text-decoration: none;}

/* logo */
#logo
{ width: 966px;
  height: 310px;
  border-top: 2px solid;
  border-bottom: 4px solid;
}

#logo h1, #logo h2
{ margin: 0px;
  letter-spacing: .2em;
}

#logo h1
{ 
  font-size: 160%;
}

#logo h2
{ font-family: arial, sans-serif;
  font-size: 108%;
}

#logo a h2, #logo a:hover h2 {
  color: #D5D2D6;
}

#inner_logo
{ 
  float: left;
  margin-left: 10px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #8AAF55;
  background-color: black;
  display: block;
  text-decoration: none;
}

/* navigation menu */
#menu
{ height: 31px;
  width: 966px;
  margin-top: -31px;
  position: relative;
}

#menu ul{margin: 0px auto;} 

#menu li
{ float: left; 
  margin: 0px 5px 0px 0px; 
  padding: 0px;
  list-style: none;
} 

#menu li a 
{ display: block; 
  float: left; 
  height: 21px;
  text-decoration: none; 
  padding: 6px 19px 0px 19px;
  text-transform: uppercase;
  font-size: 88%;
  border-bottom: 1px solid;
} 

#menu li a:hover, #menu li a#selected, #menu li a#selected:hover
{ 
  padding: 6px 19px 0px 19px;
  border: 0px;
} 

/* main content */
#content
{ width: 966px;
  overflow: hidden;
} 

/* column 1 - contains sidebar items */
#column1
{ width: 198px;
  margin: 22px 0px 0px 0px;
  float: right;
  padding: 19px 19px 15px 19px;
}

.sidebaritem
{ text-align: left;
  width: 184px;
  float: left;
  margin: 0px 0px 29px 4px;
}

.sidebaritem h1, .sidebaritem h2, .sidebaritem p{margin: 0px 10px 0px 10px}

.sidebaritem h1
{ font-weight: normal;
  padding: 8px 0px 16px 0px;
  text-transform: uppercase;
}

.sidebaritem p
{ line-height: 16px; 
  padding: 0px 0px 8px 0px;
}

.sidebaritem a, .sidebaritem a:hover
{ padding: 0px 0px 2px 19px;
  text-decoration: none;
}

.sbilinks ul{margin: 0px 0px 0px 10px;}

.sbilinks li
{ list-style: none; 
  padding: 0px 0px 0px 0px; 
}

.sbilinks li a, .sbilinks li a:hover
{ height: 16px;
  text-decoration: none; 
  width: 149px;
} 

/* column 2 - page content */
#column2
{ text-align: justify;
  width: 708px;
  float: left;
  padding: 2px 3px 15px 19px;
}

#column2 h1
{ font-family: arial, sans-serif;
  padding: 16px 0px 5px 0px; 
  margin: 0px 0px 12px 0px; 
  border-bottom: 1px solid;
  font-size: 150%;
  text-transform: uppercase;
  font-weight: normal;
}

#column2 a, #column2 a:hover
{ padding: 0px 0px 2px 0px;
  text-decoration: none;
  border-bottom: 1px dashed;
}

#column2 a:hover{border-bottom: 1px solid;}

.rtop, .rbottom{display: block;}

.rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4,
.rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4
{ display: block;
  height: 1px;
  overflow: hidden; 
}

.r1{margin: 0 5px}

.r2{margin: 0 3px}

.r3{margin: 0 2px}

.rtop .r4, .rbottom .r4
{ margin: 0 1px;
  height: 2px
}

table {
  border-collapse: collapse;
}

table, td {
  border: 1px solid #787878;
}

td {
  padding: 5px;
}

body
{ background: #656565;
  color: #D5D2D6;
}

blockquote{border-color: #8AAF55;}

#main
{ background: #414141 url(main.png) repeat-y;
  color: #D5D2D6;
}

#links, #footer, #menu li a
{ background: #545454 url(gradient.png);
  color: #D5D2D6;
  border-color: #8AAF55;
}

#links a, #footer a
{ background: transparent;
  color: #D5D2D6;
}

#links a:hover, #footer a:hover
{ background: transparent;
  color: #8AAF55;
}

#logo
{ background: #FFF url(logo.jpg) no-repeat;
  color: #D5D2D6;
  border-color: #8AAF55;
}

h1, #column1 h1, #column2 h1
{ background: transparent;
  color: #8AAF55;
  border-color: #787878;
}

#menu
{ background: transparent;
  color: #D5D2D6;
}

.sidebaritem
{ background: #545454;
  color: #D5D2D6;
}

#menu li a:hover, #menu li a#selected, #menu li a#selected:hover
{ background: #8AAF55;
  color: #FFF;
} 

#content, #column2, #column2 a
{ background: #414141;
  color: #D5D2D6;
  border-color: #D5D2D6;
}

#column2 a:hover
{ background: #414141;
  color: #8AAF55;
  border-color: #8AAF55;
}

.sbilinks li a, .sidebaritem a
{ background: #545454 url(arrow.png) no-repeat left center;
  color: #D5D2D6;
} 

.sbilinks li a:hover, .sidebaritem a:hover
{ background: #545454 url(green_arrow.png) no-repeat left center;
  color: #8AAF55;
} 

.book_image_outer {
  width: 126px;
  text-align: center;
  display: inline-block;
  line-height: 175%;
  margin-bottom: 10px;
}

.book_image_inner {
  position: relative;
  border: 1px solid white;
  width: 104px;
  height: 160px;
  margin: 20px 10px 10px 10px;
}

#column2 .book_image_inner a {
  border: none;
  border-color: white;
  background: none;
  padding: 0px;
}

table.book_thumbs,
table.book_thumbs td {
  margin-left: auto;
  margin-right: auto;
  border: none;
}

.book_image_inner img {
  width: 100%;
  height: 100%;
}

.points {
  border: 1px solid white;
  padding: 5px;
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #990000;
  color: white;
  min-width: 20px;
  height: 20px;
  text-align: center;
  font-size:125%;
}

.bottom_nav {
  text-align:center;
  font-size: 125%;
}

td.award_result {
  position:relative;
  padding-bottom: 30px;
}

.award_result p {
  text-align:center;
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  margin-left:auto;
  margin-right:auto;
}

#big_image {
  float:left;
  margin-right:10px;
  border: 1px solid white;
  max-width: 300px;
}

#points_list {
  margin-left: auto;
  margin-right: auto;
  float: left;
  width: 362px;
}

.rtop, .rbottom{background: #414141;}
.rtop .r1, .rtop .r2, .rtop .r3, .rtop .r4,
.rbottom .r1, .rbottom .r2, .rbottom .r3, .rbottom .r4{background: #545454;}

hr {
  color: #787878;
  background-color: #787878;
  height: 1px;
  border: 0;
  width: 80%;
  margin-bottom: 10px;
}

@media screen and (max-width: 980px) {
  #main { 
    width: 100%; 
    font-size: 1.5em;
  }
  #links, #footer { width: auto }
  #logo { width: auto; }
  #menu { width: auto; }
  #content {
    width: auto;
    clear: both;
    text-align: left;
  } 
  #column2 {
    width: auto;
    padding-right: 19px;
  }
  /* Force table to not be like tables anymore */
  table, thead, tbody, th, td, tr {
    display: block;
    text-align: left;
  }
  .points {
    font-size: 0.75em;
    line-height: 20px;
  }
  .book_image_outer { width: 100%; display: table; }
  .book_image_inner { float: left; display: table-cell;}
  .book_title {
    display: table-cell;
    width: 100%;
    height: 160px;
    vertical-align: middle;
    line-height: 150%;
    text-align: left;
    padding-left: 1em;
  }
  h2 {
    text-align: left;
  }
}

