a {
  color: #903;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus {
  outline: none;
}

/*
** Main content styles
*/


#main-text .content {
  text-align: justify;
}

#main-text h2,
#main-text h3,
#main-text h4,
#main-text h5,
#main-text h6 {
  text-align: left;
}

/* all colors here */

#main-text .content b,
#main-text .content strong,
#main-text .content h2,
#main-text .content h3,
#main-text .content h4,
#main-text .content p.table-caption,
#main-text .content th {
  color: #333;
}

#main-text .content .errors {
  color: red;
  font-weight: bold;
}

/* common inline-level elements (colors for different games in layout.css) */

#main-text .content span.button {
  padding: 0 1px;
  border: 1px solid #6d0230;
}

#main-text .content acronym {
  border-bottom: 1px dotted;
  cursor: help;
}


/* block-level elements */

#main-text .content p {
  margin: 0.5em 0;
  padding: 0;
}

#main-text .content h2 {
  clear: both;
  margin: 0 0 1em 0;
  padding: 0;
  font-size: 150%;
}

#main-text .content.wide h2 {
  clear: none;
}

#main-text .content h3 {
  margin: 1em 0 0.5em 0;
  font-size: 120%;
}

#main-text .content h4 {
  margin: 1em 0 0.5em 0;
  font-size: 100%;
  text-transform: uppercase;
}

#main-text .content p img.left-align {
  float: left;
  margin-right: 5px;
}

div.rule-equal-top {
  width: 539px;
  height: 32px;
  clear: both;
  background: url(/i/rule_equal_top.gif) no-repeat;
}

div.rule-equal-bottom {
  width: 539px;
  height: 32px;
  clear: both;
  background: url(/i/rule_equal_bottom.gif) no-repeat;
}

/* lists */

#main-text .content ul {
  margin: 0;
  margin-left: 1em;
  padding: 0;
  padding-left: 2em;
}

#main-text .content ul li {
  margin: 0.5em 0;
}

#main-text .content ol {
  margin: 0;
  padding: 0;
  padding-left: 3em;
}

#main-text .content ol li {
  margin: 0.5em 0;
}

#main-text .content dl dd {
  margin-bottom: 0.5em;
}

/* signin form */

form#signin dl dt {
  display: block;
  width: 200px;
  float: left;
  padding-right: 10px;
  text-align: right;
}

form#signin dl dd {
  margin-left: 210px;
}

form#signin dl dd input,
form#signin dl dd textarea {
  width: 200px;
}

/* feedback form */

form#feedback dl dt {
  display: block;
  width: 200px;
  float: left;
  padding-right: 10px;
  text-align: right;
}

form#feedback dl dd {
  margin-left: 210px;
}

form#feedback dl dd input,
form#feedback dl dd textarea {
  width: 300px;
}

/* tables */

#main-text p.table-caption {
  font-weight: bold;
  text-align: center;
}

#main-text .content table {
  border-collapse: collapse;
  border-width: 0;
  border-top: 1px solid #c3b69e;
  border-left: 1px solid #c3b69e;
  margin: 0.5em auto;
}

#main-text .content table th {
  border-width: 0;
  border-right: 1px solid #c3b69e;
  border-bottom: 1px solid #c3b69e;
  padding: 0.6em;
  color: #6c6456;
  background-color: #fff3cf;
  text-align: center;
}

#main-text .content table td {
  border-width: 0;
  border-right: 1px solid #c3b69e;
  border-bottom: 1px solid #c3b69e;
  padding: 0.6em;
  color: #6c6456;
  background-color: #fff9e6;
  text-align: center;
}

#main-text .content table td p.hand {
  margin: 0;
  margin-bottom: 0.4em;
}

#main-text .content .table-numbers td {
  text-align: right;
}

#main-text .content table .rc-bonus-box {
  float: left;
  margin: 5px;
  width: 112px;
  height: 30px;
  text-align: right;
  line-height: 30px;
}

#main-text .content table .rc-bonus-box  img {
  padding-left: 5px;
  vertical-align: -12px;
}

/* todo: remove all non-data tables from markup */

#main-text .borderless-tables-container table,
#main-text table.black-white {
  border-width: 0;
  background-color: white;
}

#main-text .borderless-tables-container table td,
#main-text table.black-white td {
  border-width: 0;
  color: black;
  background-color: white;
}
