* {
	margin:0px;
	padding:0px;
        font-family: arial;
}

a {
    color: #C4B388;
}

a:hover {
    text-decoration: none;
}

#continuegame a {
   text-decoration: none;
}

body {
    background-image:url("images/background.jpg")
}

.subhead {
    font-weight:bold;
}

.subheadbig {
    font-weight:bold;
    text-align:center;
    margin-bottom:20px;
    font-size:16px;
}

#continuegame .subhead {
    font-size:16px;
}

.cornertl, .cornerbl, .cornertr, .cornerbr {
    background-image:url("images/corner.png");
    width:318px;
    height:318px;
    position:fixed;
    background-repeat: no-repeat;
    background-attachment:scroll;
}

.cornertl {
    left:0px;
    top:0px;
    background-position: 0 18px;
    -webkit-transform: rotate(180deg) ;
    -moz-transform: rotate(180deg) ;
    -o-transform: rotate(180deg) ;
    -ms-transform: rotate(180deg) ;
}
.cornerbl {
    left:0px;
    bottom:0px;
    -webkit-transform: rotate(90deg) ;
    -moz-transform: rotate(90deg) ;
    -o-transform: rotate(90deg) ;
    -ms-transform: rotate(90deg) ;
    background-position: 0 18px;
}
.cornertr {
    right:0px;
    top:0px;
    background-position: 0 18px;
    -webkit-transform: rotate(-90deg) ;
    -moz-transform: rotate(-90deg) ;
    -o-transform: rotate(-90deg) ;
    -ms-transform: rotate(-90deg) ;
}
.cornerbr {
    right:0px;
    bottom:0px;
    background-position: 0 18px;
}

#header {
    position:absolute;
    top:0px;
    width:800px;
    height:62px;
    z-index:5;
    font-family: 'Trade Winds', cursive;
    display:none;
    text-align: center;
}

#content {
   margin-left: auto;
   margin-right: auto;
   width:800px;
   position:relative;
   margin-top:75px;
   color: #C4B388;
   font-size: 12px;
}

.error {
    font-weight: bold;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 30px;
    font-size:50px;

}
#games {
    margin-bottom:50px;
}

#games tr {
    height:25px;
    line-height:20px;
}

#games th {
}

#games td {
    text-align: center;
}
.orderthingy {
    float:left;
    padding:1px;
    width:12%;
    margin:2px;
    /*cursor:pointer;*/
}

.orderthingy a {
    text-decoration:none;
}
.noorder {
    background-color:#a00000;
}

.noorder:hover {
    background-color:#ff0000;
}
.orderready {
    background-color:#00a000;
}
.orderready:hover {
    background-color:#00ff00;
}

#startgame {
    text-align: center;
}

#multiplayer {
    margin: auto;
    width: 620px;
}

#singleplayer, #multiplayer, #continuegame {
    text-align: left;
    display:none;
    margin-top:10px;
}

button{
    color: #96917B;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    height: 50px;
    margin: 10px;
    width: 240px;
    text-align: center;
    background-image: url('images/backbar.png');
    text-shadow:2px 2px 2px #000000;
}

#continuegame button {
    height: 25px;
    width: 100px;
}

#continuegame #entercode
{
    margin: 20px auto auto;
    text-align: center;
    width: 425px;
}

button:hover {
    color:#ffffff;
}
.buttonon {
    color:#C4B388;
}

#setuppage button {
   cursor:default;
}

#setuppage button:hover {
    color: #96917B;
}

.opponent, #opponent0, #opponent1 {
    width:80px;
    height:80px;
    background:url("images/opponents2.png");
    position:relative;
    margin: 8px 20px;
    float:left;
    border: 2px solid #000000;
    border-radius: 12px;
    cursor:pointer;
}

#opponent0 {
    background-position: -0px 0px;
}

#opponent1 {
    background-position: -0px 0px;
}

.opponentback {
    width:80px;
    height:80px;
    position:absolute;
    top:0px;
    left:0px;
    z-index:-1;
    opacity:0.5;
    border-radius: 12px;
}

.oback0 {
    background-color:#ff0000;
}
.oback1 {
    background-color:#00ff00;
    }
.oback2 {
    background-color:#0000ff;
}
.oback3 {
    background-color:#ff0090;
}
.oback4 {
    background-color:#ffff00;
}
.oback5 {
    background-color:#00ffff;
}
.oback6 {
    background-color:#ffffff;
}
.oback7 {
    background-color:#ff5b00;
}
.oback8 {
    background-color:#adfd00;
}
.oback9 {
    background-color:#6600ff;
}
.oback10 {
    background-color:#ff66d5;
}

.clearer {
    clear:both;
}

.myselect {
    position:relative;
}

.myselect .myselecttitle {
    float:left;
    position:relative;
    line-height:27px;
    margin-right:5px;    
}

.myselect .myselected {
    float:left;    
    border:1px solid #A0A0A0;
}

.myselect .myselectpulldown {
    background-color:#C4B388;
    position:absolute;
    border:solid 1px #000000;
    z-index:100;
}
.myselect .myselectpulldown .option{
    padding-left:2px;
    color:#000000;
    cursor:default;
}

.myselect .myselectpulldown .option:hover, .myselect .myselectpulldown .myselectpullval {
    background-color:#3b4c77;
    color:#ffffff;
}

.myselect .myselected .myselectedval {
    background-color:#C4B388;
    float:left;
    padding:2px;
    color:#000000;
    height: 23px;
    line-height: 23px;
    text-align: center;
}

.myselect .myselected .myselectbutton {
    float:left;
    height:27px;
    width:16px;
    background:url("images/pulldown.png");
    background-position:0 0;
}

.myselect .myselected .myselectbutton:hover {
    background-position:-16px 0;
}

.mailblock {
    width:400px;
    float:left;
    display:none;
    margin-left:125px;
}

.playercount {
    width:400px;
    float:left;
}

.mailblock input, .yourmailblock input, .playercount input,#continuegame input {
    background-color: #C4B388;
    border: 1px solid #A0A0A0;
    float: right;
    margin-bottom: 2px;
    margin-right: 100px;
}

.yourmailblock {
    width:400px;
    float:left;
    margin-left: 125px;
}

#timeselect, #playerselect, .playercount {
    margin-left: 125px;
}

#sendmulti {
    margin-left: 190px;
}

#continuegame input {
    float:none;
    color:#707070;
    font-size: 16px;
    height: 25px;
    line-height: 25px;
    margin-right:0px;
}

#continuegame input.focusfield {
    color:#000000;
}

#ui-datepicker-div {
    background-color: rgba(196, 179, 136, 0.9);
    color: #FFFFFF;
    border-radius: 0 0 8px 8px;
}

.ui-datepicker-calendar {
    padding:4px;
}

.ui-datepicker-calendar th {
    font-size:12px;
}

.ui-state-default {
    border: 1px solid #666666;
    color: #ffffff;
    font-weight: bold;
    display: block;
    padding: 2px;
    text-align: right;
    text-decoration: none;
    border-radius:2px;
    font-size:13px;
}

span.ui-state-default {
    cursor:default;
    background-color:#484C3E;
    color:#C4B388;
}

a.ui-state-default {
    background-color:#777d66;
    box-shadow:0px 0px 5px #ffffff;
}

a.ui-state-default:hover {
    color:#000000;
}

.ui-icon {
    overflow: hidden;
    text-indent: -99999px;
    height: 16px;
    width: 16px;
    display: block;
    position:absolute;
    top:3px;
    border-radius:2px;
}

.ui-datepicker-title {
    background-color: #484C3E;
    border-radius: 8px 8px 8px 8px;
    margin: 3px;
    text-align: center;
    font-size: 14px;
}

.ui-icon-circle-triangle-w {
    left:5px;
    background-image: url("images/arrows.png");
    background-position:0 0;
    cursor:pointer;
}

.ui-icon-circle-triangle-e {
    right:5px;
    background-image: url("images/arrows.png");
    background-position:-16px 0;
    cursor:pointer;
}

.ui-icon-circle-triangle-w:hover {
    background-position:0 -16px;
}

.ui-icon-circle-triangle-e:hover {
    background-position:-16px -16px;
}

hr {
    background-color: #C4B388;
    border: 0 solid #C4B388;
    height: 1px;
    margin: 25px auto;
    width: 75%;
}

#content .fielderror {
    border-color:#a00000;
}

#menu {

    position:absolute;
    top:5px;
    left:12px;
}

#menu a {
    font-size:10px;
    color:#ffffff;
    text-decoration:none;
    float:left;
    margin-right:10px;
}

#menu a:hover {
    text-decoration: underline;
}

#setuppage ul {
    margin-left:10px;
    margin-bottom: 10px;
    font-weight: bold;
}

#setuppage li {
    margin-left:10px;
    font-weight: normal;
}

#setuppage ul {
    cursor:pointer;
}

#setuppage ul li{
    cursor:default;
}

#setuppage ul:hover {
    color:#ffffff;
}

#setuppage ul li{
    color: #C4B388;
    margin-bottom:10px;
}

.ulclosed li {
    display:none;
}

ol {
    margin-left:15px;
}

.manualkop {
    text-decoration: underline;
    /*color: #F4E3B8; */
}