/* Color Reference
 * 
 * light blue   #00BEEF
 * medium blue  #0095CE
 * dark blue    #126CAC
 * 
 * hat yellow   #F2A937
 * hat red      #992724
 * 
 * luffy red    #E01922
 * 
 * rope brown   #9D502B
 * 
 * washout red  #FFDDCC
 */

html {
  height: 100%;
}

ul.navbox {
  width: 100px;
  display: inline-block;
}

/* -------------------- Body -------------------- */
body {
  font: 16px/1.4 Verdana, Arial, Helvetica, sans-serif;
  background: linear-gradient(#00BEEF,#126CAC);
  background-attachment: fixed;
  /*background: #0095CE;*/
  margin: 0;
  padding: 0;
  color: #000;
}

/* -------------------- Element/Tag selectors -------------------- */
ul, ol, dl {
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5, h6, p {
  margin-bottom: 15px;
  padding-right: 15px;
  padding-left: 15px;
}
h1, h2, h3, h4, h5, h6 {
  color: #000;
}
h1 {
  margin-top: 24px;
}
h2 {
  margin-top: 32px;
  color: #E01922;
}
h4 {
  margin-left: 32px;
  color: #D3D3D3;
}
a img {
  border: none;
}
iframe {
  margin: 50px;
}
#RED_ALERT_WIDGET iframe {
  margin: 0px;
}
code, pre {
  font-size: 16px;
  background: #D3D3D3;
}
pre {
  width: 860px;
  margin: 0 auto 0 auto;
  padding: 5px 10px;
  border-radius: 8px;
  word-break: break-all;
  white-space: pre-wrap;
}

/* -------------------- Links -------------------- */
a:link {
  color: #E01922;
  text-decoration: underline;
}
a:visited {
  color: #992724;
  text-decoration: underline;
}
a:hover, a:active, a:focus {
  text-decoration: none;
}
a.h2-anchor {
  position: relative;
  top: -65px;
  visibility: hidden;
}
a.anchor {
  display: block;
  position: relative;
  top: -55px;
  visibility: hidden;
}
a.tabanchor {
  display: block;
  position: relative;
  top: -85px;
  visibility: hidden;
}
a.soon {
  color: #D3D3D3;
}

/* -------------------- Main Container -------------------- */
.container {
  width: 920px;
  margin: 0 auto;
}

/* -------------------- Header -------------------- */
.header {
  position: fixed;
  left: 50%;
  margin: 15px 0 0 -460px;
  width: 920px;
  text-align: center;
  z-index: 1;
}
.logo {
  padding: 5px 5px 5px 5px;
  width: 263px;
  display: inline-block;
}

/* -------------------- Content -------------------- */
.content {
  padding: 0;
  margin: 78px 0 15px 0;
  width: 914px;
  float: left;
  background: #FFF;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #000;
}
.content ul, .content ol { 
  margin: 0 32px 15px 50px;
}

/* -------------------- Navigation Lists -------------------- */
ul.nav {
  margin: 0;
  padding: 0;
  float: right;
  list-style: none;
  display: inline-block;
  font-weight: bold;
  box-shadow: 5px 5px 5px #222;
  border-radius: 15px;
}
ul.nav li {
  float: left;
  width: 180px;
  text-align: center;
  border: 3px solid #000;
  margin-left: -3px;
}
ul.nav li ul {
  display: none;
  list-style: none;
  box-shadow: 5px 5px 5px #222;
  border-radius: 15px;
  border-top-right-radius: 0px;
}
ul.nav li ul li {
  border: 3px solid #000;
}
ul.nav li:hover ul {
  width: 180px;
  display: block;
  position: absolute;
  margin: 0;
  padding: 0;
}
ul.nav li:hover ul li {
  width: 180px;
  margin: -3px 0 0 -3px;
}
ul.nav a, ul.nav a:visited {
  height: 22px;
  padding: 10px 0;
  display: block;
  text-decoration: none;
  background: linear-gradient(#F2A937,#9D502B 150%);
  color: #992724;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus {
  background: linear-gradient(#992724,#E01922);
  color: #F2A937;
}
ul.nav li:first-child {
  width: 182px;
  margin: 0;
  border-radius: 15px 0 0 15px;
  overflow: hidden;
}
ul.nav li:first-child:hover {
  border-bottom-left-radius: 0;
}
ul.nav li:last-child {
  border-radius: 0 15px 15px 0;
  overflow: hidden;
}
ul.nav li:last-child:hover {
  border-bottom-right-radius: 0;
}
ul.nav li:hover ul li:first-child {
  margin-top: 0;
  border-radius: 0;
}
ul.nav li:hover ul li:last-child {
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}
ul.nav li:first-child ul li {
  width: 182px;
}

/* -------------------- Recent Table -------------------- */
.recent {
  width: 884px;
  margin: 0 0 32px 15px;
  border-spacing: 0 3px;
  border-collapse: collapse;
}
.recent tr {
  height: 36px;
}
.recent tr:hover {
  background: #FFDDCC;
}
.recent td {
  border-top: 3px solid #992724;
  border-bottom: 3px solid #992724;
}
.recent tr td:first-child {
  width: 125px;
  font-weight: bold;
}
.recent tr td:nth-child(2) {
  width: 260px;
}

/* -------------------- Footer -------------------- */
.footer {
  padding: 4px 0;
  margin: 5px 0 16px 0;
  background-color: #9D502B;
  color: #000;
  position: relative;
  clear: both;
  z-index: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid #000;
}
.footer a:link {
  color: #000;
  text-decoration: underline;
}
.footer a:visited {
  color: #000;
  text-decoration: underline;
}
.footer a:hover, a:active, a:focus {
  text-decoration: none;
}

/* -------------------- Table of Contents -------------------- */
.toc {
  border: 3px solid #992724;
  border-radius: 15px;
  overflow: hidden;
  margin: 15px;
  width: 300px;
  background: #FFF;
  float: right;
}
.toc ul {
  margin: 0;
  display: none;
  counter-reset: count;
}
.toc ul li {
  list-style: none;
  color: #000;
  width: 300px;
  border-top: 3px solid #992724;
}
.toc a, .toc a:visited {
  padding: 15px 15px 15px 50px;
  text-indent: -35px;
  display: block;
  text-decoration: none;
  color: #000;
  outline: 0;
}
.toc a:hover, .toc a:active, .toc a:focus {
  background: #992724;
  color: #FFF;
}
#toc-sh-link {
  padding-left: 15px;
  text-indent: 0;
  text-align: center;
  font-weight: bold;
  background: #992724;
  color: #FFF;
}
#toc-sh-link:hover {
  font-weight: normal;
}
/* -------------------- Miscellaneous -------------------- */
img.inline {
  margin: 15px 15px 32px 15px;
}
.fltrt {
  float: right;
  padding: 32px;
}
.fltlft {
  float: left;
  padding: 32px;
}
.center {
  text-align: center;
}
.clearfloat {
  clear:both;
  height:0;
  font-size: 1px;
  line-height: 0px;
}
