/*global elements*/

html {
  margin: 0px;
  padding: 0px;
}

body {
  margin: 0px;
  padding: 0px;
  background: #684476 url(/images/gin_main/page_bg.gif);
  font-size: 14px;
  font-family: Arial, san-serif;
}

#backad {
  background: url(/images/tmp/gin-canvas-ad-template.png) repeat scroll center top;
}

/* global design */

#topheader {
  position: relative;
  display: block;
  width: 1004px;
  margin: 20px auto 0 auto;
}

#topheader * {
  margin: 0;
  padding: 0;
}

#topofpg {
  position: relative;
  height: 8px;
  background: url(/images/gin/top_bar_slice.gif) no-repeat;
}

#pg_head_search {
  position: absolute;
  left: 535px;
  top: 55px;
  width: 147px;
  height: 16px;
  border: none;
  background-color: #fff;
}

#pg_head_search_btn {
  position: absolute;
  width: 30px;
  height: 30px;
  left: 690px;
  top: 48px;
  padding: 30px 0 0;
  margin: 0;
  border: 0;
  background: transparent no-repeat center top;
  overflow: hidden;
  cursor: pointer; /* hand-shaped cursor */
  cursor: hand; /* for IE 5.x */
}  
form>#pg_head_search_btn {
  height: 0px;
}

#pg_head_home {
  display: block;
  position: absolute;
  left: 14px;
  top: 10px;
  width: 500px;
  height: 92px;
}

#topbar {
  height: 144px;
  background: url(/images/gin/top_bar.jpg) no-repeat;
}

.topbarbottom {
  position: relative;
  margin: 0;
  padding: 0;
  top: -2px;
  height: 209px;
  background: url(/images/gin/top_bar_bottom_slice.gif) no-repeat top;
}

#nobackad .topbarbottom, #nobackad .midbar {
  display: none;
}

#nobackad .topbarbottom {
  top: 0px;
}

#featuredcontainer {
  position: relative;
  width: 1004px;
  margin: 0 auto;
}

#contentcontainer {
  position: relative;
  width: 1004px;
  margin: 0 auto;
}

.midbar {
  height: 12px;
  background: url(/images/gin/mid_bar_slice.gif) no-repeat;
}

.contentblock, .contenttopspacer {
  position: relative;
  width: 999px;
  display: block;
  background-color: #ffffeb;
  border: #e7e7d3;
  border-width: 2px;
  border-style: solid;
  border-top: none;
}

.contentblock_footer {
  height: 20px;
}

.contenttopspacer {
  height: 0px;
  border-bottom: none;
}

#topmenu {
  position: absolute;
  left: 7px;
  top: 108px;
  padding: 0;
  margin: 0;
}
#topmenu a {
  text-decoration: none;
  color: #FFFFFF;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

#topmenu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#topmenu li {
  display: inline;
  float: left;
  padding: 0;
  margin: 0;
}

#topmenu a, #topmenu a span {
  display: block;
  float: left;
  height: 42px;
}

#topmenu a {
  background: url(/images/gin/nav_button_left.jpg) no-repeat top left;
  padding-left: 10px;
}

#topmenu li.first a {
  background: url(/images/gin/nav_button_leftend.jpg) no-repeat top left;
  padding-left: 30px;
}

#topmenu a span {
  padding-top: 12px;
  padding-right: 10px;
  background: url(/images/gin/nav_button_right.jpg) no-repeat top left;
}

#topmenu li.last span {
  background: url(/images/gin/nav_button_rightend.jpg) no-repeat top right;
  padding-right: 30px;
}

#topmenu li.active a, #topmenu a:hover {
  background: url(/images/gin/nav_button_left_active.jpg) no-repeat top left;
}

#topmenu li.first_active a, #topmenu li.first a:hover {
  background: url(/images/gin/nav_button_leftend_active.jpg) no-repeat top left;
}

#topmenu li.active a span, #topmenu a:hover span {
  background: url(/images/gin/nav_button_right_active.jpg) no-repeat top left;
}

#topmenu li.last_active a span, #topmenu li.last a:hover span {
  background: url(/images/gin/nav_button_rightend_active.jpg) no-repeat top right;
}

/* reusable elements */
/* contentbox */

.contentbox {
  position: relative;
  display: block;
}

.contentbox .headleft, .contentbox .head {
  display: block;
}

.contentbox .headleft {
  height: 48px;
  white-space: nowrap;
  min-width: 20px;
  padding: 0px;
  padding-left: 20px;
  width: 100%;
  float: left;
  background: url(/images/gin/org_bar.gif) no-repeat top left;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
}

.contentbox .headleft h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  font-size: 16px;
  margin: 0px;
}

.contentbox .head {
  width: 100%;
  height: 48px;
  background: url(/images/gin/org_bar.gif) no-repeat top right;
  overflow: hidden;
  padding-top: 20px;
  float: right;
}

.contentbox > .middleleft > .middle, .contentbox > .middleleft {
  display: block;
  float: left;
}

.contentbox > .middleleft {
  clear: left;
  background: url(/images/gin/beige_box_horiz.gif) repeat-y top left;
  background-color: #fff;
  color: #000;
  padding-left: 20px;
  min-width: 20px;
  width: 100%;
}

.contentbox > .middleleft > .middle {
  width: 100%;
  height: inherit;
  background: url(/images/gin/beige_box_horiz.gif) repeat-y top right;
}

.contentbox .content {
  display: block;
  height: inherit;
  /* overflow: hidden; */
  padding: 5px 10px 0px 0px;
}

.contentbox .bottom, .contentbox .bottomleft {
  display: block;
  float: left;
}

.contentbox .bottomleft {
  clear: left;
  background: url(/images/gin/beige_box_bottom.gif) no-repeat left top;
  height: 10px;
  min-width: 15px;
  padding-left: 20px;
  min-width: 20px;
  width: 100%;
  overflow: hidden;
}

.contentbox .bottom {
  height: 10px;
  width: 100%;
  overflow: hidden;
  background: url(/images/gin/beige_box_bottom.gif) no-repeat right top;
}
/* mediabox */

.mediabox {
  position: relative;
}

.mediabox .headleft {
  height: 39px;
  background: url(/images/gin/org_bar_small.gif) no-repeat top left;
}

.mediabox .head {
  height: 39px;
  padding-top: 15px;
  background: url(/images/gin/org_bar_small.gif) no-repeat top right;
}

.mediabox > .middleleft {
  background: url(/images/gin/gray_box_mid.gif) repeat-y top left;
}

.mediabox > .middleleft > .middle {
  background: url(/images/gin/gray_box_mid.gif) repeat-y top right;
}

.mediabox .bottomleft {
  height: 15px;
  background: url(/images/gin/gray_media_box_btm.gif) no-repeat left top;
}

.mediabox .bottom {
  height: 15px;
  background: url(/images/gin/gray_media_box_btm.gif) no-repeat right top;
}

/* adbox */

.adbox .headleft {
  height: 15px;
  background: url(/images/gin/gray_box_top.gif) no-repeat top left;
}

.adbox .head {
  height: 15px;
  background: url(/images/gin/gray_box_top.gif) no-repeat top right;
}

.adbox > .middleleft {
  background: url(/images/gin/gray_box_mid.gif) repeat-y top left;
}

.adbox > .middleleft > .middle {
  background: url(/images/gin/gray_box_mid.gif) repeat-y top right;
}

.adbox .bottomleft {
  height: 25px;
  background: url(/images/gin/gray_box_btm.gif) no-repeat left top;
}

.adbox .bottom {
  height: 25px;
  background: url(/images/gin/gray_box_btm.gif) no-repeat right top;
}

/* front page specific */

#greenfeaturebox {
  float: left;
  position: relative;
  top: 0px;
  left: 6px;
  width: 730px;
  height: 277px;
  visibility: visible;
  background: url(/images/gin/grn_feat_box.gif) no-repeat;
}

#trymedia_ad {
  float: left;
  position: relative;
  left: 12px;
  width: 225px;
}

#trymedia_ad .content {
  height: 240px;
}

#backad #trymedia_ad .bottomleft {
  height: 17px;
}

.fp_beige_left {
  position: relative;
  margin-top: 2px;
  width: 625px;
}

#fp_right_ad {
  position: relative;
  width: 310px;
}

#fp_right_ad .content {
}

#contentblock_left {
  width: 805px;
  overflow: hidden;
  min-height: 640px;
  _height: 640px;
  position: relative;
}


#contentblock_lower {
  position: relative;
}

#small_right_ad {
  float: left;
  position: absolute;
  left: 805px;
  top: 6px;
  width: 170px;
}

#large_right_ad {
  float: left;
  position: absolute;
  left: 665px;
  top: 6px;
  width: 310px;
}

.narrow_content_left {
  position: relative;
  margin-top: 2px;
  width: 640px;
}


#image_gallery {
  position: relative;
  width: 310px;
}

#image_gallery .content {
}

#video_gallery {
  width: 310px;
}

#video_gallery .content {
}

#fp_bottom_ad {
  float: left;
  width: 760px;
  margin-right: 20px;
}

#fp_bottom_ad .content {
  height: 90px;
}

#calendar {
  float: left;
  width: 172px;
  height: 126px;
  position: absolute;
  right: 10px;
  background: url(/images/gin/calendar.gif) no-repeat;
}


/* TO BE FILED */

.pagination {
  padding: 3px;
  margin: 3px;
  text-align: center;
}

.pagination-small {
  padding: 2px !important;
  margin: 2px !important;
  text-align: center;
  font-size: 11px;
}

.pagination a, .pagination a:visited {
  padding: 1px 3px;
  margin: 1px;
  border: 1px solid #000;
  text-decoration: none;
  color: #127201;
}

.pagination a:hover, .pagination a:active {
  border: 1px solid #000;
}

.pagination span.current {
  padding: 1px 3px;
  margin: 1px;
  border: 1px solid #000;
  font-weight: bold;
}

.pagination span.disabled {
  padding: 1px 3px;
  margin: 1px;
  border: 1px solid #333;
  color: #333;
}

.clearer {
  clear: both;
}

#featured_container_top {
}

#frontpage_container_a {
  margin-top: -6px;
  margin-left: 6px;
  float: left;
  width: 645px;
}

#frontpage_container_b {
  margin-top: -6px;
  margin-left: 6px;
  float: left;
}

#frontpage_container_horiz_bar {
  margin-left: 6px;
  position: relative;
  top: 15px;
}

#flash_notice {
  text-align: center;
  font-size: large;
  background-color: #ffffeb;
  border: 1px solid #ffffeb;
}

#flash_notice div
{
  background-color: #ffffcc;
  border: 1px solid #ddddcc;
  padding: 4px;
  margin: 12px;
}

#flash_error {
  text-align: center;
  font-size: large;
  background-color: #ffffeb;
  border: 1px solid #ffffeb;
}

#flash_error div {
  background-color: #ffcccc;
  border: 1px solid #ddddcc;
  padding: 4px;
  margin: 12px;
}

#flash_success {
  text-align: center;
  font-size: large;
  background-color: #ffffeb;
  border: 1px solid #ffffeb;
}

#flash_success div {
  background-color: #ccffcc;
  border: 1px solid #ddddcc;
  padding: 4px;
  margin: 12px;
}

.wide_box {
  width: 780px;
}

#skip a, #skip a:hover, #skip a:visited {
  position: absolute;
  left: 0px;
  top: -500px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skip a:active, #skip a:focus {
  position: static;
  width: auto;
  height: auto;
}

#skip {
  color: #000;
  background-color: #fff;
  width: 20em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
/*  margin-top: 10px;
  margin-bottom: 10px; */
}

.featured_gallery_item {
  position: absolute;
  top: 27px;
  height: 150px;
  width: 200px;
  overflow: hidden;
}

.featured_gallery_item a, .featured_gallery_item a:visited {
  color: #000;
}

.featured_gallery_item a:hover {
  text-decoration: underline;
}

.featured_gallery_item img {
  display: block;
  margin: auto;
  border: 0px;
}

#featured_gallery_item_1 {
  left: 36px;
}

#featured_gallery_item_2 {
  left: 268px;
}

#featured_gallery_item_3 {
  left: 502px;
}

.featured_gallery_item .caption {
  position: absolute;
  bottom: 0px;
  width: 190px;
  background: url(/images/gin/whitetrans.png);
  padding: 4px;
  text-align: center;
  border: 1px solid black;
}

.fp_article_container {
  position: relative;
  clear: both;
}

.fp_article_container .fp_image {
  float: left;
  margin: 2px 8px 2px 2px;
  border: 1px solid #c3c3b4;
  padding: 3px;
  background-color: #ffffff;
}

.shadowbox {
  position: relative;
  display: block;
  background: #C3C3B4;
  margin: 3px 0 13px;
  left: -2px;
}

.shadowbox .content {
  position: relative;
  background-color: #FFFFED;
  border-width: 1px;
  border-style: solid;
  border-color: #6F6F69;
  margin: 0;
  padding: 3px;
  display: block;
  left: 2px;
  top: 2px;
}

.shadowbox .content A {
  color: #127201;
}

.fp_article_container UL.header {
  padding: 0px;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fafbaf;
  list-style: none;
  text-decoration: none;
  position: relative;
  left: -3px;
  display: inline-block;
  _display: inline;
  _zoom: 100%;
  width: 100%;
  margin: 2px;
  border: 1px solid #fafb82;
}

.fp_article_container UL.header LI {
  list-style: none;
  display: inline;
  padding: 0 3px 0 0;
  clear: right;
  float: right;
  position: relative;
}

.fp_article_container .date {
  line-height: 1.6em;
}

.fp_article_container UL.header li h2 a{
  color: #000;
}

.fp_article_container UL.header LI.odd {
  padding: 0 3px 0 0;
  clear: left;
  float: left;
}

.fp_article_container .header LI {
  padding: 0;
  margin: 0;
}

.fp_article_container .header LI H2 {
  font-size: 1em;
  font-family: Verdana,Geneva,sans-serif;
}

.fp_article_container .header H2, .fp_news_container H2 {
  font-weight: bold;
  font-size: 14px;
  margin: 3px;
}

.fp_article_container .header .subtitle {
  margin-left: 1.0em;
  margin-right: 1.0em;
  
  font-family: Verdana,Geneva,sans-serif;
  padding-right: 0.6em;
  margin-top: 0.1em;
  margin-bottom: 0.3em;
  display: block;
}

BODY A {
  text-decoration: none;
  color: #127201;
}

BODY A:hover {
  text-decoration: underline;
}

BODY A:visited {
  color: #E1861D;
}

.fp_article_container .key-category {
  font-weight: bold;
}

.fp_article_container .authors {
  white-space: nowrap;
  padding-right: 2em;
}

.fp_article_container .teaser {
  margin-top: 0.5em;
  margin-bottom: 1em;
}

.fp_article_container .teaser P:first-child {
  margin-top: 0;
}

.fp_article_container {
  margin-top: 1em;
  margin-left: 2px;
}

.fp_article_container:first-child {
  margin-top: 0px;
}

.fp_article_container .body {
  clear: both;
}

.fp_article_container .footer {
  clear: both;
  font-family: sans-serif;
}

.fp_article_container .footer .comments-link {
  float: left;
}

.fp_article_container .footer .article-link {
  float: right;
}

.fp_article_container .article-link IMG {
  border: none;
}

.fp_article_container .details .article-link {
  display: table-cell;
  text-align: right;
  width: 100%;
}

.right_gallery {
  border: 0;
  padding-bottom: 3px;
}

.right_gallery img {
  border: 6px solid white;
  margin: 3px;
  height: 75px;
  width: 75px;
}

#top_ad {
  position: absolute;
  border: 0px;
  top: 197px;
  left: 120px;
  width: 468px;
  height: 60px;
}

#right_ad {
  position: relative;
  left: -8px;
  top: -4px;
  width: 300px;
  height: 600px;
  border: 1px solid black;
  background-color: red;
}

BODY UL {
  margin: 0;
}

.article_image img
{
  border: 1px solid #585858;
  margin: 4px;
  padding: 4px;
}

.article_image.left {
  float: left;
}

.article_image.right {
  float: right;
}


.article_minibox_row {
  color: #F2EEB8;
  font-size: 14px;
  font-weight: bold;
}

.article_minibox_row .minibox_date {
  font-size: 14px;
  color: #373737;
  font-weight: normal;
}

a.article_sponsor_link {
  float: right;
  display: block;
}

.profile_miniview {
  text-align: left;
  font-size: 9px;
  padding: 5px;
  border: 1px solid #585858;
  margin: 1em;
  float: right;
  width: 120px;
}

.profile_miniview .title {
  padding-bottom: 5px;
  border-bottom: 1px solid #a7a7a7;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}

.profile_miniview .game_name, .profile_miniview .row-title {
  font-weight: bold;
}

.trymedia_mini_caption {
  text-align: center;
  font-weight: bold;
  font-size: 12px;
}

.gallery_list
{
  width: 100%;
}

.gallery_list td
{
  width: 33%;
}

.gallery_list .gallery_name
{
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  font-weight: bold;
}

.gallery_list .gallery_thumb
{
  text-align: center;
  width: 33%;
}

.gallery_list .gallery_thumb img
{
  border: 0px;
}

.gallery_full
{
  margin-top: 1em;
  margin-bottom: 1em;
  text-align: center;
}

.gallery_beige {
  position: relative;
  margin-top: 2px;
  width: 780px;
}

#article_block_ad {
  float: left;
  position: relative;
  left: 270px;
}

#comments_banner {
  border: 1px solid black;
  margin-left: 10px;
  margin-top: 1em;
  margin-bottom: 1em;
  width: 767px;
  padding: 10px;
}

.article_beige_left {
  position: relative;
  margin-top: 2px;
  width: 780px;
}

div.markdown_comment {

}

div.comment_form td {
  vertical-align: top;
}

div.comment_form .text {
  width: 340px;
}

div.comment_form .instructions {
  font-size: 1.0em;
  color: #555;
}

div.comment_form .instructions strong {
  font-size: 1.0em;
  color: #F95A5A;
  font-weight: normal;
}

/* from original skin -- should be targetted more finely? */
img {
  border: 0px;
}

.contentbox .head a:visited
{
  color: #127201;
}

.inline_image {
  border: 1px solid #585858;
  margin: 4px;
  padding: 4px;
}

.inline_image.left {
  float: left;
}

.inline_image.right {
  float: right;
}


/* rails forms */

.fieldWithErrors {
  border: 2px solid red;
  background-color: #ee2323;
}

#errorExplanation {
  width: 100%;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

span.warning {
  color: #e00;
  font-weight: bold;
}

.author_profile {
  text-align: left;
}

.author_profile .row-title {
  font-weight: bold;
}

.fp_beige_right {
  position: relative;
  margin-top: 2px;
  width: 310px;  
}

.fp_beige_right .more-link {
  float: right;
}

#copyright_footer {
  padding: 4px;
  font-size: 10px;
  width: 995px;
  background-color: #ffffeb;
  margin-bottom: 20px;
}

.contentbox.nohead .headleft {
  height: 20px;
}

#rightnav {
  padding-top: 8px;
  width: 310px;
}

#rightnav ul {
  padding: 0px;
  color: black;
  font-size: 14px;
  font-weight: bold;
  list-style: none;
}

#rightnav a:visited {
  color: #127201;  
}

.fp_article_container table.header {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fafbaf;
  margin: 2px;
  border: 1px solid #fafb82;
}

.fp_article_container table.header td {
  vertical-align: top;
  padding: 0px;
  margin: 0px;
}

.fp_article_container table.header td.date {
  white-space: nowrap;
}

.fp_article_container table.header td.display_name {
    width: 100%;
}

.fp_article_container table.header td.details {
  white-space: nowrap;
}

.fp_article_container table.header td.categories {
    width: 100%;
    text-align: right;
}

.fp_article_container table.header h2 a{
  color: #000;
}

.fp_article_container table.header H2 {
  font-size: 1em;
  font-family: Verdana,Geneva,sans-serif;
}

.fp_article_container .header H2, .fp_news_container H2 {
  font-weight: bold;
  font-size: 14px;
  margin: 3px;
}

.fp_article_container table.header .subtitle {
  margin-left: 1.0em;
  margin-right: 1.0em;
  
  font-family: Verdana,Geneva,sans-serif;
  padding-right: 0.6em;
  margin-top: 0.1em;
  margin-bottom: 0.3em;
  display: block;
}

table.header.hdra {
  margin-bottom: 0px;
  border-bottom: 0px;
}
table.header.hdrb {
  margin-top: 0px;
  border-top: 0px;
}

.gallery_paginator {
  color: #888;
}

#rightmenu {
}

#rightmenu a {
  text-decoration: none;
  color: #FFFFFF;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

#rightmenu ul {
  list-style: none;
  width: 200px;
  padding: 0;
  margin: 0 auto 0 auto;
}

#rightmenu li {
  display: block;
/*  float: left;
  clear: left;*/
  width: 140px;
  padding: 0;
  margin: 0;
}

#rightmenu a, #rightmenu a span {
  display: block;
/*  float: left; */
  width: 140px;
  height: 42px;
}

#rightmenu a {
  background: url(/images/gin/nav_button_left.jpg) no-repeat top left;
  padding-left: 10px;
}

#rightmenu li.first a {
  background: url(/images/gin/nav_button_leftend.jpg) no-repeat top left;
  padding-left: 30px;
}

#rightmenu a span {
  padding-top: 12px;
  padding-right: 10px;
  background: url(/images/gin/nav_button_right.jpg) no-repeat top left;
}

#rightmenu li.last span {
  background: url(/images/gin/nav_button_rightend.jpg) no-repeat top right;
  padding-right: 30px;
}

#rightmenu li.active a, #rightmenu a:hover {
  background: url(/images/gin/nav_button_left_active.jpg) no-repeat top left;
}

#rightmenu li.first_active a, #rightmenu li.first a:hover {
  background: url(/images/gin/nav_button_leftend_active.jpg) no-repeat top left;
}

#rightmenu li.active a span, #rightmenu a:hover span {
  background: url(/images/gin/nav_button_right_active.jpg) no-repeat top left;
}

#rightmenu li.last_active a span, #rightmenu li.last a:hover span {
  background: url(/images/gin/nav_button_rightend_active.jpg) no-repeat top right;
}

#rightmenu_container_wide {
  position: relative;
  left: 6px;
  width: 320px;
  margin-bottom: 4px;
}

.fp_beige_news {
  position: relative;
  margin-top: 2px;
  width: 625px;
}

#frontpage_container_c {
  margin-top: 20px;
  margin-left: 6px;
  float: left;
  width: 645px;
}

#frontpage_container_d {
  margin-top: 20px;
  margin-left: 6px;
  float: left;
}

.fp_news_thumb
{
  float: left;
  padding-right: 3px;
}

.fp_moreart_link {
  float: right;
  display: block;
}

.blog_beige_left {
  position: relative;
  width: 780px;
}

.gallery_links {
  margin-top: 1em;
  margin-bottom: 1em;
}
