
body {
  font: normal 11px Arial,Helvetica,sans-serif;
  color: #333;
  background-color: #FFF;
  padding: 0;
  margin: 0;
}

/* main content layout */
#header{
  font: bold 18px "Trebuchet MS",Verdana,Arial,Helvetica,sans-serif;
  color: #FFF;
  background-color: #666BAB;
  border-bottom: 2px solid #000;
  padding: 3px 12px 4px;
  margin: 0;
}

#wrapper {
  text-align: center;
}

#content {
  text-align: left;
  width: 800px;
  padding: 0;
  margin: 1em auto;
}

#left {
  font: normal 120% verdana,Arial,sans-serif;
  text-transform: lowercase;
  white-space: nowrap;
  float: left;
  width: 160px;
  padding: 0;
  margin: 0 0 1em 0;
}

#right {
  text-align: left;
  float: right;
  width: 600px;
  padding: 0;
  margin: 0 0 1em 1em;
}
html[xmlns] #right {
  margin: 0 1em 1em;
}

#footer{
  font: normal 1em "Trebuchet MS",Verdana,Arial,sans-serif;;
  text-align: center;
  color: #FFF;
  background-color: #666BAB;
  border-top: 1px solid #000;
  clear: both;
  padding: 3px;
}
#footer a {
  color: #DDD;
  font-weight: bold;
}

#nomenu #footer {
  color: #333;
  background-color: transparent;
  border: 0;
}
#nomenu #footer a {
  color: #000;
}

/* links stuff */
#links {
  float: right;
  margin: 5px 1em;
  font-weight: bold;
  color: #FFF;
}

#links a {
  color: #DDD;
  text-decoration: none;
  padding: 0 0.5ex;
}
#links a:hover {
  background: #FFF;
  color: #666BAB;
  border: 1px solid #000;
  margin: -1px;
}


/* Menu definitions */
ul#navlist {
  list-style: none;
  text-align: left;
  width: 100%;
  padding: 0;
  margin: 0;
}

ul#navlist li {
  display: block;
  padding: 0;
  margin: 0;
}

ul#navlist li a {
  text-decoration: none;
  color: #555;
  background-color: #F1F3F5;
  border: 1px solid #CCC;
  display: block;
  width: 160px;
  padding: 7px 0 7px 10px;
  margin-bottom: -1px;
  font-weight: normal;
}
* html ul#navlist li a {
  width: 160px;
  margin: 0;
}

ul#navlist li#active a {
  color: #30356F;
  background: #DDDFF3;
}

ul#navlist li a:hover,
ul#navlist li#active a:hover {
  color: #F1F3F5;
  background: #666BAB;
}

/* inner content layout */
.innercontent {
  color: inherit;
  background: #F1F3F5;
  border: 1px solid #CCC;
  width: 610px;
  padding: 5px;
  margin: 0;
}
* html .innercontent { width: 610px; }
#nomenu .innercontent { margin: 1em auto; }

.innerright {
  text-align: left;
  float: right;
  width: 400px;
}

.innerleft {
  text-align: left;
  float: left;
  width: 115px;
}



/* login specific (but shouldn't be) */
.inputbox {
  border: 1px solid #CCC;
  width: 120px;
  padding: 2px 3px;
  margin: 0 0 0.5em 0;
}
#footer p {
  margin: 0;
}
/* end login */

form { margin:0; }

.button,
.tblbutton {
  border: 1px solid #CCC;
  background: #F1F3F5;
  color: #666;
  font-weight: bold;
  font-size: 11px;
  padding: 4px;
  margin: 3px;
}
.tblbutton {
  padding: 1px;
  margin: 1px;
  display: inline;
  font-size: smaller;
}

.inputlabel,
legend {
  color: #333;
  font-weight: bold;
  text-align: left;
}

.inputlabel {
  margin-top: 1em;
}

fieldset {
  display: block;
  width: 150px;
  margin: 1em 0 0;
  border: 1px solid #ccc;
}

h1,
h2 {color: navy; text-align: center;}
h3 {font-family: arial; font-weight: bold; text-align: left; text-indent: 80px;}

hr {width: 50%; border: 0; border-bottom: 2px solid #AAA;}
.fullwidth {width: 100%}

.innerright h1 {
  color: #333;
  margin: 0px;
  padding: 1em 2em;
  text-align: left;
  font-size: 1.5em;
}

.form-block {
  border: 1px solid #CCC;
  background: #E9ECEF;
  padding: 15px 10px 10px;
}

.viewmessage-form {
  margin-top: 30px;
  text-align: left;
  float: left;
  width: 800px;
}

.messageheader {
  border-bottom: 1px solid #CCC;
}

#continuegame { display:block; }
#othergames,
#viewgame,
#invitations,
#messages,
#preferences,
#personalinfo,
#admin { display:none; }

.notice,
.myturn {
  font-weight: bold;
  color: #D00;
}

.afterthought {
  color: #444;
  font-size: 11px;
  font-weight: normal;
}

.instruction {
  color: #444;
  margin: 0 0 10px 10px;
  font-size: 11px;
  line-height: 11px;
}

abbr,
acronym {
  border-bottom: 1px dashed #333;
  cursor: help;
}

a.help {
  border: 1px solid #777;
  color: #C22;
  font-weight: bold;
  padding: 0 2px;
  text-decoration: none;
}
a.help:hover {
  border: 1px solid #C22;
}


/* Table styles */
.notable {
  font-weight: bold;
  border: 1px solid #777;
  padding: 3px 5px;
}

.mainHeader {
  background-color: transparent;
  color: #333;
  padding: 3px;
  text-align: left;
  border: 1px solid #CCC;
}

table {
  border: 1px solid #CCC;
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
}
.blank {
  border: 0;
  border-collapse: separate;
  width: auto;
}

td, th {
  font-family: Arial,sans-serif;
  font-size: 11px;
  padding: 2px 3px;
}
.blank td, .blank th {
  padding: 2px 5ex 2px 0;
  text-align: left;
  vertical-align: top;
  border: 0;
}

td.numeric {
  text-align: center;
}

.blank th {
  background-color: transparent;
}

tbody tr.even {
  background-color: #F0F0F0;
}

#yourTblBdy tr,
#otherTblBdy tr,
#finishedTblBdy tr,
#messagesTblBdy tr {
  cursor: pointer;
}
#yourTblBdy tr:hover,
#otherTblBdy tr:hover,
#finishedTblBdy tr:hover,
#messagesTblBdy tr:hover {
  background-color: #E0E0E0;
}

.firstname {
  text-align: right;
}

.lastname {
  text-align: left;
}

.username,
.passbox,
.adminbox,
.checkbox {
  text-align: center;
}

table.admin {
  border: 1px solid black;
}

.admin .alt {
  background-color: #d0d0d0;
}

input {
    vertical-align: bottom;
}
input.button {
    vertical-align: middle;
}

.info {
  font-family: verdana,arial,sans-serif;
  font-size: smaller;
  text-transform: none;
  text-align: left;
  margin: 3px 15px;
}

/* links */
a { color:navy; font-weight:bolder; text-decoration:underline; }
a:hover { text-decoration:none; }
a:active { color:green; }

/* misc */
.clr { clear:both; }
.ctr { text-align:left; margin:auto; }

/* sort-table */
.sort-table {
  font: Icon;
  border: 1px Solid ThreeDShadow;
  background: Window;
  color: WindowText;
}

.sort-table thead {
  background: ButtonFace;
}

.sort-table td {
  padding: 2px 5px;
}

.sort-table thead td {
  border: 1px solid;
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  cursor: default;
}

.sort-table thead td:active {
  border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
  padding: 3px 4px 1px 6px;
}

.sort-table thead td[_sortType=None]:active {
  border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  padding: 2px 5px;
}

.sort-arrow {
  width: 11px;
  height: 11px;
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 0 0 2px;
}

.sort-arrow.descending {
  background-image: url("../images/downsimple.png");

}

.sort-arrow.ascending {
  background-image: url("../images/upsimple.png");
}
