
/* emChess layout */

/* $Id$ 090506.5:07  */

/*
	all the colors for the styles are listed in the
	c_{color_name}.css file.  they are pulled out for
	ease of customisation.
*/

body {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	margin: 0;
	padding: 0;
	font-size: 11px;
}

img {
	border: 0;
	margin: 0;
    -ms-interpolation-mode: bicubic;
}

#promo_out {
	width: 160px;
	height: 215px;
	position: fixed;
	left: 10px;
	bottom: 15px;
	border:0px;
  	background: transparent url('../images/blank.png') 0 0 no-repeat;
  }

#promo_in {
	width: 160px;
	height: 160px;
	position: fixed;
	right: 10px;
	bottom: 0px;
	border:0px;
  	background: transparent url('../images/blank.png') 0 0 no-repeat;
  }

/* IE Warning */
p#iewarning {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 40px;
	background: url('../images/ie-warning-bk.jpg') repeat-x;
	z-index: 100;
	border:0px;
	}

p#gameloader {
	width: 460px;
	height: 100px;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -230px;
	margin-top: -100px;
  	background: transparent url('../images/loader.gif') center center no-repeat;
	z-index: 10000;
	}

#landing_logo {
	width: 460px;
	height: 200px;
	text-align: center;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -230px;
	margin-top: -100px;
  	background: transparent url('../images/emChess_title.png') 0 0 no-repeat;
	}

#help_pop {
	margin: 20px;
	padding: 20px;
	}

#share_btn {
    display: inline;
	display: -moz-inline-box;
    vertical-align: baseline;
    margin-bottom:-2em;
    margin-top:2em;
    position:relative;
    top:-2em;
	}
	
fieldset{
    background: #FFF;
    }
/* IE fieldset / ledgend hack */
* html fieldset{
    position: relative;
    margin-top:1em;
    padding-top:.75em;
    background: #FFF;
    }

* html legend{
    position:absolute;
    top: -.5em;
    left: .5em;
    }
/* END  IE fieldset / ledgend hack */

table.sitemap td {
	vertical-align: top;
	}

#invite_pop{
	margin: 20px;
	padding: 20px;
	}

#confirm, confirmwakeup {
	vertical-align:middle;
	border:0px;
	}

#pref_form{
	position:relative;
	}
	
#pref_form-left{
	margin-right:326px;
	height: 74px;
	border:0px;
	}
	
#pref_form-right{
	position:absolute;
	width:250px;
	height: 74px;
	right:0;
	top:0;
	padding-left: 74px;
	border:1px solid blue;
  	background:white url('../images/emChess-logo64.png') no-repeat left center;
	padding-top: 15px;
	padding-right: 5px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	vertical-align: middle;
	}

/* header */
h1 {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	height: 45px;
	margin: 0 0 3px;
	padding: 5px 15px 0;
}

h1 img {
	position: relative;
	top: 3px;
	border: 0;
	margin: 0;
}

a, a:visited {
	font-size: 11px;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-weight: bold;
	text-decoration: none;
	color:blue;
}

a:hover {
	font-size: 11px;
	font-weight: bold;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	text-decoration: none;
	color:#ff7f00;
}

#date {
	font-size: 10px;
	font-weight: normal;
	white-space: nowrap;
	text-align: right;
}

#dateCalc {
	font-size: 10px;
	font-weight: normal;
	white-space: nowrap;
	text-align: right;
}

/* links */
#links {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	float: right;
	margin: 1ex 1em;
	font-weight: bold;
}

#links a, a:visited {
	color: blue;
	text-decoration: none;
/*	padding: 0.3ex 0.75ex;*/
}
#links a:hover {
	color: #ff7f00;
/*	margin: -1px;*/
}

/* fix some stupid IE7 float bug */
*:first-child+html #links {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 5;
}


/* wrapper */
#wrapper {
	margin: 0;
	padding: 0;
}


/* menu */
#menu ,
#menuholder {
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	float: left;
	margin: 3px;
}

#menu ul {
	font-size: 10px;
	margin: 0;
	padding: 0;
}


#menu li {
	font-size: 10px;
	text-indent: 0;
	margin: 0;
	padding: 0;
	list-style: none none inside;
}

*:first-child+html #menu li {
	font-size: 10px;
	font-weight: bold;
	margin-left: -1.25em;
}


#menu a {
	font-style: normal;
	text-align: right;
	font-size: 10px;
	padding: 6px 5px;
	width: 160px;
	white-space: nowrap;
	margin: 0;
	font-weight: normal;
	text-decoration: none;
	display: block;
}


/* notes */
#notes {
	font-size: 10px;
	float: right;
	width: 160px;
	min-height: 300px;
	padding: 5px;
	margin: 3px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	}
	
#notes a, a:visited {
	font-size: 10px;
	text-decoration: none;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	color: blue;
	}
	
#notes a:hover {
	font-size: 10px;
	color: #ff7f00;
	}

/* main */
.warning {
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	padding: 1ex;
}

h2 {
	font-size: 14px;
	color: #990000;
}

#content {
	font-size: 11px;
	text-decoration: none;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	margin: 3px 180px;
	color: black;
	}

#content a {
	font-size: 11px;
	text-decoration: none;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	color: blue;
	}

#content a:hover {
	font-size: 11px;
	text-decoration: none;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	color: #ff7f00;
	}


table {
	border-collapse: collapse;
	font-size: 10px;
	width: 100%;
}

.notable {
	padding: 5px;
}

caption {
	font-weight: bold;
	margin: 2px;
}

th {
	text-align: left;
	padding: 5px;
}

.MStitle {
	color: #7f7f7f;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	padding: 15px;
}

.MSdata {
	color: #980200;
	font-size: 48px;
	font-weight: bold;
	text-align: center;
	padding: 45px;
}

.MSspan {
	color: #980200;
	font-size: 12px;
	font-weight: bold;
}

td {
	padding: 5px;
}

tr[onclick]:hover td {
	cursor: pointer;
}

.numeric {
	text-align: center;
	}
.date {
	text-align: left;
}

.buttons {
	text-align: center;
}

.stats {
	width: 150px;
	float: left;
	margin: 3px;
}

.playerstats {
	float: left;
	margin: 3px;
	width: auto;
}

.playerstats caption {
	margin-top: 20px;
}

.messagesubject {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-weight: bold;
	margin-top: 10px;
}
/* GOOGLE_BLOCK
#google_block {
	background: transparent url('../images/loader.gif') no-repeat fixed center;
	position: relative;
	clear: both;
	margin: 3px;
	margin-top: 0;
	width: auto;
	font-style: normal;
	font-size: 9px;
}
*/
/* GOOGLE_BLOCK*/
#google_block {
	width: 760px;
	height: 90px;
	position: relative;
	left: 0px;
	top: 2px;
	border:0px;
	clear: none;
}

/* Right Tag*/
#right_tag {
	margin: 0px;
	margin-bottom: 3px;
	width: auto;
	background: transparent url('../images/emChess-logo64.png') no-repeat fixed right;
	vertical-align: top;
	z-index: 1000;
	float: right;
	clear: none;
}

/* footer */
#footer,
#FENblock {
	color: white;
	text-shadow: 0px 1px black;
	font-style: normal;
	font-size: 12px;
	font-weight: normal;
	text-align: center;
	width: 100%;
	line-height: 26px;
	clear: both;
	padding: 3px 0;
	position: fixed;
	bottom: 0;
	left: 0;
}

#footerspacer {
	height: 50px; /* make sure nothing gets hidden behind the footer */
	clear: both;
}

#footer span {
	margin: 0 2em;
}

#footer p {
	margin: 0;
	padding: 0;
	line-height: 130%;
}

/* other basic styles */
.mine ,
.notice ,
.myturn td {
	font-weight: bold;
}

.afterthought {
	font-size: 11px;
	font-weight: normal;
}

.instruction {
	margin: 0 0 10px 10px;
	font-size: 11px;
	line-height: 11px;
}

abbr,
acronym {
	border-bottom: 1px dashed #777; /* leave this here to always show at least something */
	cursor: help;
}

a.help {
	border: 1px solid #777; /* leave this here to always show at least something */
	font-weight: bold;
	padding: 0 2px;
	text-decoration: none;
}
a.help:hover {
	border: 1px solid #777; /* leave this here to always show at least something */
}

hr.hr_break {
	height: 5px;
	margin: 1em;
}


/* the chess page styles */
#history {
	float: left;
	width: 200px;
	margin: 5px;
	margin-top: 0;
	padding-top: 1px;
}

#board {
	float: left;
	margin: 3px;
	margin-top: 0;
	width: 450px;
	text-align: center;
}

#chat {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	margin: 3px;
	margin-left: 669px;
	padding-top: 1px;
}

#chatholder,
#gamebody {
	padding: 1px;
	max-height: 268px;
	overflow: auto;
}

#chat table {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	width: 100%;
	border-collapse: collapse;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

#chat table td,
#chat table th {
	text-align: left;
	vertical-align: top;
	padding: 2px 3px;
}

#chat table td.player {
	text-align: right;
	width: 1px;
	white-space: nowrap;
}

#chat tr.opp {
	font-weight: normal;
}

#chat input[type=textbox] {
	margin-top: 5px;
	width: 99%;
}

#chat a, a:visited {
	font-size: 11px;
	text-decoration: none;
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	color: blue;
	}
	
#chat a:hover {
	font-size: 11px;
	color: #ff7f00;
	}

/* Chat Form elements */
input.chat, textarea.chat, select.chat {
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
border : 2px solid Black;
background-color : #ebebeb;
color : #0E1930;
font-size : 10px;
font-weight : normal;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
/*height: 60px;  /* replace 2em with your chosen value, in px or whatever */
}

/* Input Form elements */
input, textarea, select {
font-family: "Lucida Grande", Verdana, Arial, sans-serif;
border : 2px solid #999999;
background-color : #ebebeb;
color : #0E1930;
font-size : 12px;
font-weight : normal;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
/*height: 60px;  /* replace 2em with your chosen value, in px or whatever */
}

#FENblock {
	clear: both;
	text-align: center;
	white-space: nowrap;
	margin-top: 1ex;
	font-size: 13px;
	font-weight: bold;
}

#captheading {
	text-align: left;
	font-weight: bold;
	margin-top: 1ex;
}

#captures {
	text-align: left;
	margin: 0;
	height: 66px;
}

#gamemenu {
	margin-top: 0.5em;
}


/* the history table */
table.moveList {
	border-collapse: collapse;
	border-spacing: 0;
	margin: 5px auto;
	font-size: 11px;
}

.moveList td {
	padding: 0 5px;
	text-align: left;
}

.moveList td.mn {
	font-weight: bold;
	text-align: right;
}

.moveList td.wm {
	font-family: monospace;
	white-space: nowrap;
}

.moveList td.bm {
	font-family: monospace;
	white-space: nowrap;
}

.moveList td.wm[onclick],
.moveList td.bm[onclick] {
	cursor: pointer;
}



/* below chess board stuffs */

#checkmsg,
#statusmsg {
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	padding: 5px;
}

#checkmsg {
	padding: 0;
}

#gamebuttons,
#gamenav {
	margin: 1ex auto;
}

#navigation input {
	width: 50px;
	font-size: 10px;
}

#curmove {
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	padding: 0 2em;
	margin: 0 2px;
	float: left; 
	width: 150px;
}

#moveContainer {
	left: 2px;
	position: fixed;
	top: 485px;
	margin: 0 2px;
	float: left;
	width: 200px;
}

* html form {
	margin: 0;
}



/* the chess board styles ------------

	 do not edit these, if things need to be moved
	 edit #chessboard, things will break horribly
	 if these sizes are changed
*/

.header_enabled, .header_disabled,
.light_enabled, .light_disabled,
.dark_enabled, .dark_disabled {
	text-align: center;
	font-weight: bold;
}

.header_enabled  { font-size:16px; }
.header_disabled { font-size:16px; }

.kingto, .rookato,
.rookhto, .spacer {
	margin: 0 4px;
	font-size: 0.7em;
	vertical-align: top;
}
.spacer {
	visibility: hidden; /* hide but retain space */
}

#chessboard {
	border: 2px solid #000; /* leave this here, it's required for the layout */
	width: 1px;
	height: 1px;
}
html[xmlns] #chessboard {
	width: 450px !important;
	height: 450px !important;
}

#theBoard {
	border: 0 !important;
	width: 450px;
	height: 450px;
}

#theBoard div {
	border: 0 !important;
	float: left;
	width: 50px;
	height: 50px;
	margin: 0 !important;
	padding: 0 !important;
}

#theBoard .vert {
	width: 25px !important;
	height: 50px !important;
	padding-top: 18px !important;
}
html[xmlns] #theBoard .vert {
	height: 32px !important;
}
* html #theBoard .vert {
	height: 32px !important;
}

#theBoard .horz {
	width: 50px !important;
	height: 25px !important;
	padding-top: 4px !important;
}
html[xmlns] #theBoard .horz {
	height: 21px !important;
}
* html #theBoard .horz {
	height: 21px !important;
}

#theBoard .whitecorner {
	background: #FFF;
	width: 25px !important;
	height: 25px !important;
}
#theBoard .blackcorner {
	background: #000;
	width: 25px !important;
	height: 25px !important;
}

#emChessVersion{
	z-index: 100000;
	left: 4px;
	bottom: 2px;
	position: fixed;
	color: white;
	font-size: 9px;
	font-weight: normal;
	font-family: Helvetica, Verdana, Arial, sans-serif;
}