/* ==========================================================================
   Base & Layout
   ========================================================================== */

/* Page background and base font */
body {
  background: black url('../img/bg2.jpg') top center repeat-y;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  text-align: center;
  margin: 0;
}

/* Main container */
div#body {
  width: 765px;
  margin: 10px auto;
  text-align: left;
  position: relative;
}

/* Inherit typography */
div, td {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

/* ==========================================================================
   Headings & Frames
   ========================================================================== */

/* Underline utility */
.underline {
  position: relative;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background-color: #000;
}

/* Title frame */
.titleframe {
  width: 500px;
  margin: 0 auto;
  padding: 4px;
  text-align: center;
  background-color: black;
}

/* Generic frame */
.frame {
  width: 753px;
  margin: 0 auto;
  padding: 4px;
}

/* Terms & conditions */
.tandc {
  clear: both;
  font-size: 11px;
  text-align: center;
}

/* ==========================================================================
   Links
   ========================================================================== */

/* Default link */
a {
  color: #f39d00;
  text-decoration: none;
}

/* Hover states */
a:hover {
  text-decoration: underline;
}
img a:hover {
  text-decoration: none;
}

/* Scroll links */
.scroll a {
  color: #7B4F17;
  font-weight: bold;
}

/* Make the back‐link look like the search button */
a[href="highscores.php"] {
  display: inline-block;
  background: #0E191E;
  color: #d38408;
  border: 3px solid #000;
  border-radius: 4px;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

a[href="highscores.php"]:hover {
  background: #000;
  border-color: #000;
}

/* ==========================================================================
   Menu Fieldset
   ========================================================================== */

fieldset {
  background-color: black;
  color: white;
  font-family: inherit;
}

fieldset.menu {
  border: 2px solid #0E191E;
  width: 260px;
  margin: 0 0 10px;
  padding: 0 5px 5px;
  background-position: bottom right;
  background-repeat: no-repeat;
}

fieldset.menu legend {
  font-weight: bold;
  color: white;
}

fieldset.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

fieldset.menu ul li {
  border-bottom: 1px solid #0E191E;
  margin: 0;
  padding: 0;
}

fieldset.menu ul li a {
  display: block;
  padding: 8px 10px 8px 40px;
  color: white;
  text-decoration: none;
  background-repeat: no-repeat;
  background-position: 10px center;
}

fieldset.menu ul li a:hover {
  background-color: #0E191E;
}

/* ==========================================================================
   Scroll Containers
   ========================================================================== */

div.horizontalscroll {
  width: 765px; height: 159px;
  overflow: hidden;
  margin: 5px 0;
  background-color: #C2AB79;
  background-image: url("../img/scroll/horizontal_scroll.gif");
  position: relative;
}
div.horizontalscroll-content {
  margin: 15px 40px;
  color: #000;
  position: relative;
}

div.widescroll {
  width: 735px;
  background-color: #C2AB79;
  margin: 0 10px;
  position: relative;
}
div.widescroll-bgimg {
  width: 745px;
  margin: 0 -5px;
  background-image: url("../img/scroll/backdrop_745.gif");
  background-repeat: repeat-y;
  position: relative;
}
div.widescroll-content {
  margin: 0 5px;
  padding: 25px 10px;
  color: #000;
  position: relative;
}
img.widescroll-top {
  display: block;
  position: relative;
  top: 25px;
  margin: 0;
  padding: 0;
  z-index: 100;
}
img.widescroll-bottom {
  display: block;
  position: relative;
  top: -25px;
  margin: 0;
  padding: 0;
}

/* Content link override */
div.widescroll-content a,
div.horizontalscroll-content a,
div.narrowscroll-content a {
  color: #ffc06f;
  font-weight: bold;
  text-shadow:
   -1px -1px 0 #0E191E,
    1px -1px 0 #0E191E,
   -1px  1px 0 #0E191E,
    1px  1px 0 #0E191E;
}

/* Narrow scroll (if used) */
div.narrowscroll-bgimg {
  width: 457px;
  margin: 0 -5px;
  background-image: url("../img/scroll/scroll457t.gif");
  background-repeat: repeat-y;
  position: relative;
}
div.narrowscroll-bg {
  width: 447px;
  margin-left: 10px;
  background-color: #C2AB79;
}
div.narrowscroll-content {
  margin: 0 5px;
  padding: 25px 10px;
  color: #000;
  position: relative;
}
div.narrowscroll-content td {
  color: black;
}
img.narrowscroll-top,
img.narrowscroll-bottom {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  top: 25px;
  z-index: 100;
}
img.narrowscroll-bottom {
  top: -25px;
}

/* ==========================================================================
   News Styles
   ========================================================================== */

.news dd {
  padding: 0 0 1em;
  margin: 0;
  height: 50px;
}
dl.news > dd {
  min-height: 50px;
}
.news dt {
  font-weight: bold;
  clear: right;
}
.newsdate {
  float: right;
}
.news a {
  margin-top: 0.5em;
}
.newscontainer {
  margin: 0 0 110px 290px;
}

/* ==========================================================================
   Buttons & Icons
   ========================================================================== */

.buttons {
  position: relative;
  margin: 0;
  width: 457px;
  height: 110px;
}
.buttons a {
  display: block;
  position: absolute;
  width: 180px;
  height: 75px;
  margin: 5px;
  background: #d38408;
  font-weight: bold;
  color: white;
  text-align: center;
  border: 5px outset #f39d00;
}
.buttons a:hover {
  background: #A0A0A0;
  border-color: #fff;
}
#button-left {
  left: 15px;
  top: 0;
}
#button-right {
  right: 15px;
  top: 1px;
}
#button-left span.lev1 {
  background-image: url('../../rsps/img/title2/doublebutton_create.gif');
}
#button-right span.lev1 {
  background-image: url('../../rsps/img/title2/doublebutton_play.gif');
}
#button-left span.beta {
  background-image: url('../../rsps/img/title2/doublebutton_beta.gif');
}
span.lev1, span.beta {
  display: block;
  position: absolute;
  top: -177px;
  left: -65px;
  width: 200px;
  height: 100px;
  cursor: pointer;
}
a:hover span.lev1,
a:hover span.beta {
  background-position: 0 100px;
}

/* ==========================================================================
   Table Reset (override generic)
   ========================================================================== */

*+html fieldset.menu,
* html fieldset.menu {
  display: block;
  margin-top: 15px;
  padding-top: 10px;
  position: relative;
}
*+html fieldset.menu legend,
* html fieldset.menu legend {
  position: absolute;
  top: -7px;
}

/* Safari/IE table override */
* table,
table th,
table td {
  border: 1px solid #855600 !important;
}
