
/* Styling */

/******************
** Yellow:        #fcf5b1
** Table Yellow:  #fefce6
** light blue:    #c9dded
** dark blue:     #04679a
** grey:          #989898
*/


em {
  font-style: italic;
}

li, ul {
  list-style: none outside none;
  margin: 0;
  padding: 0;
}

a img {
  border: 0;
}

.auto_filled {
  background-color: #fcf5b1;
}

body {
  font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
  font-size: .9em;
}

body.with_gradient {
  background-image:url(/images/bg_gradient.gif);
  background-repeat:repeat-x;
}

div#forgot_password {
	margin-top: 30px;
}

.flashes {
  text-align: center;
}

div#reset_password {
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	width: 400px;
}

form#new_session p{
	margin: 5px;
}

input.form_button {
  display: block;
  margin-top: 8px;
}

div#look_around_link {
	margin-top: 20px;
}

div#registration_link {
	margin-top: 20px;
}
div#forgot_password_link {
	margin-top: 20px;
}

.header {
  height: 77px;
  width: 916px;
  margin: 0px auto;
  position: relative;
}

.main_logo {
  display: block;
  position: absolute;
  left: 397px;
  width: 121px;
  margin: 0px auto;
  z-index: 50;
}

.nav {
  border: 1px solid #ccc;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  height: 32px;
  position: relative;
  top: 45px;
  text-align: center;
}

.game_nav {
  text-align: center;  
}

.nav_left {
  float: left;
  width: 700px;
}

.main_links {
  height: 22px;
  padding: 5px;
}

.nav_left li {
  float: left;
  height: 22px;
  border-right: 1px dotted #888;
  padding: 0px 10px;
}

.nav_left li a {
  line-height: 22px;
}


.nav_right {
  padding-right: 10px;
  text-align: right;
  float: left;
  width: 200px;
  padding-top: 8px;
}

.nav_right a {
  line-height: 22px;
}

.connect_text {
  vertical-align: top;
}

span.speaker {
  color: #148;
}

a {
  text-decoration: none;
  color: #148;
}

#main {
  margin: 0px auto;
  width: 1028px;
}
#main_game {
  margin: 0px auto;
  width: 870px;
}

p.welcome {
  margin: 10px;
}

#torii_background {
  margin: 0px auto;
  width: 800px;
  min-height: 587px;
  background-image: url(/images/torii.jpg);
  background-repeat: no-repeat;
}

#torii_content {
  margin: 0px auto;
  text-align: center;
  padding-top: 290px;
  width: 330px;
}

#forgot_password {
  text-align: center;  
}

.login_intro {
  text-align: center;
  margin-bottom: -58px; 
  margin-top: 30px
}

.elapsed_time {
  color: #f00;
}

#chat_output {
  font-size: 0.9em;
  text-align: left;
  overflow: auto;
  border: 1px solid;
  height: 250px;
  padding: 3px;
  margin-bottom: 5px;
	-moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background-color: #fff;
}

.room_chat {
  font-size: 0.9em;
	-moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background-color: #fff;
  text-align: left;
  overflow: auto;
  border: 1px solid;
  height: 325px;
  padding: 3px;
  margin-bottom: 5px;
}

.room_chat_input {
  border: 1px solid;
  width: 350px;
  position: relative;
}

#chat_input {
  border: 1px solid;
  width: 248px;
}

#play {
  float: left;
  width: 50%;
}

#review {
  float: left;
  width: 50%;
}

.main_box {
	-moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border: 1px solid #675315;
  background-image: url(../images/gold_gradient.png);
  background-repeat: repeat-x;
  background-color: #fff;  
}

.online_players {
  margin-top: 30px;
  margin-right: 25px;
  width: 250px;
  height: 450px;
}

.online_players ul {
  margin: 0;
  padding: 0;
  text-align: left;
	overflow: auto;
  height: 417px;
}

.online_player {
  clear: left;
  margin-bottom: 10px;
  list-style-type: none;
  height: 56px;
  overflow: hidden;
}

.online_player a.profile_link {
  float: left;
  width: 58px;
  height: 58px;
}

.online_player div {
  padding-top: 8px;
}

.recent_games {
  margin-top: 30px;
  margin-left: 25px;
  width: 250px;
  height: 450px;
  float: left; 
}

.recent_games .game_list {
  height: 417px;
  overflow: auto;
}

.game_summary {
  padding: 5px;
  height: 40px;
  border-bottom: 1px dotted;
}

.game_summary_left {
  float: left;
  width: 140px;
  text-align: left;
  margin-left: 15px;
  text-indent: 15px;
  margin-right: 10px;
  overflow: hidden;
  white-space: nowrap;
}

.game_summary_right {
  float: left;
  text-align: left;
  font-size: 0.9em;
}

.game_list li.inplay .result {
  font-weight: bold;
}

li.game_summary div div {
  height: 17px;
}

.game_summary_left .winner {
  font-weight: bold;
}

.game_summary_left .white_player {
  background-image: url(../images/tiny_white.png);
  background-repeat: no-repeat;
}

.game_summary_left .black_player {
  background-image: url(../images/tiny_black.png);
  background-repeat: no-repeat;
}

#player_info {
  margin: 4px;
  border: 1px solid;  
  height: 8em;
  width: 200px;
}

#player_info p {
  margin: 1px;
  text-align: left;
}

#match_form {
  text-align: left;
  background: #fff;
  margin: 0px auto;
  border: 1px solid;
}


td.label {
  width: 50%;
  text-align: right;
}

td.field {
  width: 50%;
  text-align: left;
  white-space: nowrap;
}

#temp_messages {
  clear: both;
  height: 20px;
	text-align: center;
	position: relative;
	top: 20px;
}

#right_column #temp_messages {
	top: 0px;
}

#please_wait {
  height: 20px;
	text-align: center;  
}

div.left_col {
  float: left;  
}

div.layout {
	width: 916px;
	margin: 10px auto;
	text-align: center;
}

#footer {
	padding-top: 30px;
	clear: left;
	text-align: center;
}

div.right_col {
  float: left;  
}

span.bold {
  font-weight: bold;
  font-size: 1.2em;
}

div.user_select {
  margin: 0px auto; 
}

#review {
  float: left;  
}

#proposed_matches {
  margin-top: 15px;
}

.proposed_match {
  margin: 10px;
}

.match_propose {
  width: 250px;
  text-align: center;
}

.disabled {
  color: #888;
}

.in_progress_game_alert {
	color: red;
}

.avatar {
	margin: 5px;
	padding: 1px;
	border: 0px;
}

#players {
	margin-top: 10px;
  text-align: center;
}

.game_info {
	margin-top: 20px;  
}

.player {
	margin-bottom: 10px;
}

.player p{
	margin: 0px;
}

.player img {
  vertical-align: middle;
}

.player table td {
  width: 30%;
  padding: 0px;
}

.errorExplanation {
	color: red;
}
.errorExplanation h2 {
	font-size: 1em;
}

div.profile {
  width: 630px;
  margin: 0px auto;
  text-align: center;
}

.profile_edit {
  margin: 0 auto;
}

.submit_profile {
  text-align: center;
}

table.profile tr th {
  text-align: right;
}
table.profile tr td {
  text-align: left;
  width: 100px;
}

td.profile_key {
  text-align: right;
}

div.profile_details {
  float: left;
  margin-right: 20px;
  width: 300px;
}

div.profile_details table {
  margin: 0px auto;
}

tr.profile_item th {
  text-align: right;
  padding-bottom: 10px;
  width: 200px;
}

tr.profile_item td {
  padding-bottom: 10px;
  width: 200px;
}

div.user_icon {
  margin: 20px auto;
  width: 100px;
}
div.user_icon img {
  float: left;
  margin: 0px;
}

div.user_icon p.user_name {
  line-height: 46px;
}

div.player_game_list {
  float: left;
  width: 300px;
}

div.fieldWithErrors input {
	color: red;
}

h2.main_category {
  color: #3f3411;
  text-shadow:0 1px #fcf3d7;
  text-align: center;
  margin-top: 2px;
	margin-bottom: 10px;
	font-size: 1.2em;
}

p {
	padding: 0px;
	margin: 0px;
}

div.notification {
	-moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  background-color: #F2DEA0;
  border: 5px solid #D9AE30;
  border-opacity: 0.5;
  padding: 10px;
  margin-bottom: 10px;
}

.bottom_links {
  text-align: center;
}

#about {
  margin: 0px auto;
  width: 884px;
}

#about .main_box {
  padding: 0px 10px 10px 10px;
  margin: 20px;
  margin-bottom: 5px;
  float: left;
  width: 380px;
  height: 175px;
}

#learning div {
  float: left;
  text-align: center;
  width: 160px;
  margin: 15px;
}

#playtogo_link {
  padding-top: 30px;
}

ul.connect_links {
  left: 0;
  margin: 0px auto;
  padding: 0;
  list-style: none;
  width: 250px;
}


ul.connect_links li {
  -moz-border-radius:10px 10px 10px 10px;
  -webkit-border-radius:10px 10px 10px 10px;
  border-radius:10px 10px 10px 10px;
  -moz-box-shadow:0 10px 20px rgba(255, 255, 255, 0.5) inset, 0 -10px 20px rgba(147, 180, 195, 0.7) inset, 0 3px rgba(0, 0, 0, 0.1), 0 -3px #8EAEBB inset;
  -webkit-box-shadow:0 10px 20px rgba(255, 255, 255, 0.5) inset, 0 -10px 20px rgba(147, 180, 195, 0.7) inset, 0 3px rgba(0, 0, 0, 0.1), 0 -3px #8EAEBB inset;
  box-shadow:0 10px 20px rgba(255, 255, 255, 0.5) inset, 0 -10px 20px rgba(147, 180, 195, 0.7) inset, 0 3px rgba(0, 0, 0, 0.1), 0 -3px #8EAEBB inset;
  background:none repeat scroll 0 0 #BEDCE6;
  line-height:24px;
  margin:10px 0 0;
  padding:0;
} 

ul.connect_links li a {
  font-size:16px;
  letter-spacing:-0.05em;
  padding:7px 0px 7px 40px;
  text-decoration:none;
  text-shadow:0 1px #E2F2FA;
  font-family: MetaWebPro-Bold,sans-serif;
}

.connect_button {
  margin-top: 25px;
  background-image:url(/images/connect-buttons.png);
  overflow: hidden; background-repeat: no-repeat;
  padding-left: 40px;
  display: block;
  width: 210px;
}

#about div#about_site {
  float: none;
  font: 100% 'Georgia',serif;
  margin: 0px auto;
  margin-top: 20px;
  height: auto;
}

#about div#about_site form {
  margin-top: 10px;
  text-align: center;
}

.twitter {
  background-position: 0px 0px;
}

.facebook {
  background-position: -250px 0px;
}

.player_name {
  font-size: 16px;
  display: block;
  float: left;
  width: 113px;
  padding: 0 5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}
.player_name + .player_name {
  border-left: 1px dotted #ccc;  
}

.game_avatar {
  display: block;
  float: left;
  width: 123px;
  text-align: center;  
}

.game_avatar + .game_avatar {
  border-left: 1px dotted #ccc;  
}

table.game_stats {
  clear: left;
  width: 100%;
  font-size: .9em;
}

table.game_stats tr td {
  border-top: 1px dashed #aaa;
  padding-top: 2px;
}

table.game_stats tr td.game_stat_label {
  border-top: none;
  color: #555;
}

.time_remaining {
  font-size: 1.2em;
}

#replay_controls {
  margin-bottom: 10px;
  padding-bottom: 10px;
}

#replay_controls ul {
  list-style: none;
  padding-left: 0px;
  margin: 0px auto;
  width: 136px;
}

#replay_controls ul li {
  float: left;
  padding: 4px;
  margin: 0 4px;
}

.playback_tip {
  padding-top: 3px;
  text-align: center;
  clear: left;
  font-size: 0.7em;
  color: #888;
}
