/* CSS Document */
a:focus {
	-moz-outline-style: none;
}     

.tileNumber {	
	position: absolute;
	margin-top: 38px;
	margin-left:-19px;
	text-align: right;
	width:15px;
	font-size: 9px;		
}


body {
  margin: 0px;
  margin: 0px;
	padding: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;

	font-size: 62.5%;  
}

img {
	border-style: none;
}

h1 {
	margin: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 5px;
	background-image: url(/images/logo.png);
	background-repeat: no-repeat;
	background-position: bottom;
  width: 435px;
	height: 60px;
	text-indent: -9999px;
}
	h1 a {
		display: block;
		width: 100%;
		height: 100%;
	}
	
h2 {
	font-size: 1.6em;
	margin-top: 14px;
	margin-bottom: 6px;
	line-height: 24px;
}

h3 {
	font-size: 1.4em;
	margin-top: 4px;
	margin-bottom: 5px;
}
#sidebar h3 {
	margin-top: 10px;
}

h4 {
	font-size: 1.2em;
	margin-top: 10px;
	margin-bottom: 4px;
}

#sidebar h4 {
	padding-top: 3px;
	border-top: 1px dashed #CCCCCC;
}

p, ol, ul, dl {
	font-size: 1.2em;
	margin-top: 3px;
	margin-bottom: 5px;
	line-height: 1.4em;
}

dl dd p {
  font-size: 1em;
  margin-top: 0;
}

p.small {
	font-size: 0.9em;
	line-height: 1.2em;
}

a {
	color: #3333B4;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

label {
	font-size: 1.2em;
}

label.inline {
	font-size: 1.0em;
}

label.disabled {
  color: #999999;
}

input, select {
	font-size: 1.7em;
	font-family: Arial;
}

optgroup {
  font-style: normal;
  font-weight: bold;
}

optgroup option {
  margin-left: 0;
  padding-left: 5px;
  color: #000000;
  background-color: #ffffff;
}

fieldset {
	border: none;
	padding: 0px;
	margin: 0px;
}

p.ancillary {
	font-size: 1.1em;
}

input.for_bots
{
  display: none;
}

noscript p {  
  color: #cc0000;
}

dl
{
  margin-left: 20px;
}

dt
{
  font-weight: bold;
  margin-top: 1em;  
}

dd
{
  margin-left: 0px;
  margin-bottom: 1em;
}

form
{
  margin: 0;
}

#header {
	height: 69px;
	background-image: url(/images/header.gif);
	background-position: bottom left;
	background-repeat: repeat-x;
}

#primaryNavigation {
	height: 28px;
	background-color: #147828;
	color: #ffffff;
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
}	
	#primaryNavigation ul {
		width: 880px;
		list-style: none;
		margin: auto;
		padding: 0px;
	}
		#primaryNavigation ul li {
			float: left;
			margin: 0px;
			margin-right: 10px;
			padding: 0px;
			font-size: 1.2em;     
    }
    * html #primaryNavigation ul li {
			width: 1%;
      white-space: nowrap;
    }

    #primaryNavigation ul li.login {
			float: right;
			margin-right: 0px;
		}
			#primaryNavigation ul li a {
				color: #ffffff;
				text-decoration: none;
				display: block;
				height: 22px;
				padding-top: 4px;
				padding-left: 10px;
				padding-right: 10px;
				border-top: 1px solid #147828;
				border-bottom: 1px solid #147828;

      }
			#primaryNavigation ul li:hover {
				background-color: #ffffff;
			}
      #primaryNavigation ul a:hover {				
				background-color: #ffffff;
        color: #147828;
			}



#main {
  background-image: url(/images/background2.gif);
  background-repeat: repeat-y;
  width: 820px;
	margin: auto;
	overflow: hidden;
}

div.mainAds {
	margin: 4px 0px;
	text-align: center;
}


#sideAds {
  margin-top: 100px;
  
  
}

#boardAds {
	margin-left: 25px;
	margin-bottom: 1px;
	background-color: #333333;
	height: 15px;
	width: 468px;
}

#content {
	float: left;
	width: 500px;
	padding: 0px 8px;
}

#sidebar {
  margin-left: 520px;

}
#sidebarContent {
  padding: 0px 8px 0px 8px;
}


  #sidebar h3.first {
		margin-top: 20px;
	}

#footer {
	color: #ffffff;
	padding-top: 12px;
	text-align: center;
	clear: left;
}

#footer p {
	font-size: 1.0em;
	background-color: #147828;
	padding-top: 3px;
	padding-bottom: 3px;
	margin: 0;
}

table#board {
	width: 480px !important;
	height: 480px !important;
  table-layout: fixed;
}
	table#board th {
		width: 30px;
		height: 30px;
    font-size: 12px;
	}
	table#board td {
		width: 30px;
		height: 30px;
		
		margin: 0px;
		padding: 0px;
		
		background-repeat: no-repeat;
		background-image: url(/images/boardbg.png);
		
		border: none;
	}
	table#board td {
		background-position: 0 0;
		background-color: #009900;
	}
  table#board td.b2W {
		background-position: 0 -90px;
		background-color: #FF6699;
	}
  table#board td.b2W.middle {
		background-position: 0 -30px;
		background-color: #FF6699;
	}
  table#board td.b2L {
		background-position: 0 -60px;
		background-color: #00CCFF;
	}
  table#board td.b3W {
		background-position: 0 -150px;
		background-color: #FF0000;
	}
	table#board td.b3L {
		background-position: 0 -120px;
		background-color: #000099;
	}
  table#board td.b4W {
   	background-position: 0 -210px;
  	background-color: #FFF600;
  }
  table#board td.b4L {
  	background-position: 0 -180px;
  	background-color: #F8FF89;
  }
  table#board td.b5W {
  	background-position: 0 -270px;
  	background-color: #FF8604;
  }
  table#board td.b5L {
  	background-position: 0 -240px;
  	background-color: #FFB15D;
  }

    table#board td div {
			width: 30px;
			height: 30px;
			
			padding: 0px;
			margin: 0px;
			
			background-repeat: no-repeat;
			background-position: 1px 1px;
		}
		table#board td div.tile {
			background-image: url(/images/tile.gif);
		}
				table#board td div.movetile {
			background-image: url(/images/movetile.gif);
		}
				table#board td div.blank input {
			color: #0066FF;
		}
			table#board td div input {
				width: 26px;
				height: 26px;
				text-align: center;
				padding: 0;
				margin-top: 2px;
				margin-left: 2px;
				font-size: 18px;
				line-height: 26px;
				border: 0px solid transparent;
				background: transparent;
			}

		table #showRack {
			background-image: url(/images/saved_rack.gif);
			background-position: top left;
			background-repeat: no-repeat;
			width: 250px;
			height: 38px;
			border-spacing: 0;
		}

		#showRack span{
			width: 24px;
			height: 24px;
			padding: 2px;
			display: inline;
			background-image: url(/images/tile.gif);
			text-align: center;
			font-size: 18px;
			background-position: 3px 3px;
			background-repeat: no-repeat;
		}

		table#board td.selected div {
			width: 26px;
			height: 26px;
			border: 2px solid #FFFFFF;
			background-position: -1px -1px;
		}
		
		table#board td.selected div input {
		  margin-left: 0;
		  margin-top: 0;
		}
		
		table#board td.selected div.tile {
			border: 2px solid red;
		}

      table#board td.selected div input:focus {
        outline-width: 0;
        outline-style: none;
      }
    table#board td.right div, table#board td.right div.title {
			border-right: 2px solid #00FF00 !important;
		}
		table#board td.down div, table#board td.down div.title {
			border-bottom: 2px solid #00FF00 !important;
		}
				
div#rackHolder {
	width: 455px;
	height: 68px;
	background-image: url(/images/rack.gif);
	background-position: top left;
	background-repeat: no-repeat;
	margin-top: 8px;
  margin-left: 30px;
  margin-bottom: 16px;
}
  span#rackContent {
    padding-left: 25px;  
  }

  span#rackContent.rackLength8
  {
    padding-left: 10px;
  }

  span#rackContent input {
		border: none;
		background-color: transparent;
		width: 48px;
		height: 48px;
		padding: 0;
		font-size: 24px;
		text-align: center;
		font-weight: bold;
		font-family: Arial, Helvetica, sans-serif;
		margin-left: 8px;
		margin-top: 4px;
		line-height: 48px;
  }

  span#rackContent.rackLength8 input
  {
    margin-left: 5px;
  }

  div#rackHolder input.racktile {
		background-position: 0;
		background-image: url(/images/large_tile.gif);
		background-repeat: no-repeat;
	}	
	
	#activityIndicatorContainer {
		height: 20px;
    padding-top: 10px;
		text-align: center;
  }
	
	#gameDesign, #results {
		height: 440px;
		overflow: auto;
    background-color: #F0F0F0;
    border: 1px solid #DDDDDD;
    padding: 3px 9px;
		margin: 0px 0px;
		position: relative;
		z-index: 1;
  }
	* html #results, * html #gameDesign {
		margin-left: -5px;
	}

  #results ol {
		list-style: none;
		padding: 0px;
		margin: 0px;
	}
		#results ol li {
			padding: 2px 0px;
			margin: 2px 0px;
			border-top: 1px dashed #CCCCCC;
		}

#gameDesign td
{
  vertical-align: middle;
}

#gameDesign input.score, #gameDesign input.value
{
  width: 20px;
  height: 20px;
  font-size: 14px;
  padding-left: 1px;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 0;
}

#gameDesign input.bingo
{
  width: 20px;
  font-size: 14px;
}

#gameDesign span.bingo.container
{
  margin-left: 5px;
}

#gameDesign select
{
  font-size: 100%;
}

#gameDesign span.remainingtile {
	  margin-left: 2px;
    margin-top: 0px;

  }

#gameDesign label
{
  font-size: 100%;
}

#gameDesign label.radio
{
  margin-left: 4px;
}

#gameDesign input[type=radio]
{
  vertical-align: text-bottom;
  margin-left: 6px;
  margin-right: 0;
  padding: 0;
}

#gameDesign h4
{
  border-top: 0px;
  padding-top: 0px;
  margin-top: 6px;
  margin-bottom: 0.5em;
}

ul.actions {
	list-style: none;
	padding: 0px; 
  margin-left: 0px;  
	margin-top: 10px;
	margin-bottom: 0px;
  margin-right: 0px;

}
  ul.actions li {
    display: -moz-inline-stack;
    display: inline-block;
		border: 1px solid #000000;
		padding-top: 0px;
    margin-right: 5px;
		margin-bottom: 5px;
  }

  ul.actions li a {    
		display: block;
    color: #ffffff;
		padding: 3px 6px;
		border: 2px solid #ffffff;
		text-decoration: none;
    white-space: nowrap;
  }
	
	ul.actions li a:hover {
		text-decoration: none;
	}

  ul.actions li a.constructive {
		background-color: #147828;
	}
	ul.actions li a.destructive {
		background-color: #cc0000;
	}
	ul.actions li a.constructive:hover {
		color: #147828;
		background-color: #ffffff;
		border: 2px solid #147828;
  }
	ul.actions li a.destructive:hover {
		color: #cc0000;
		background-color: #ffffff;
    border: 2px solid #cc0000;
  }


fieldset {
	margin-bottom: 8px;
}

fieldset label {
	clear: left;
        float: left;
	width: 170px;
	line-height: 2.2em;
}
fieldset input {
	padding: 2px 5px;
	border: 1px solid #CCCCCC;
}
input[type=checkbox]
{
	border: none;
}
fieldset input.active, fieldset input:focus {
	border: 1px solid #FF0000;
}
fieldset input, fieldset select {
	margin-bottom: 4px;
}

fieldset span.input.readonly {
	line-height: 2.2em;
	font-size: 1.2em;
}

fieldset.buttons {
	text-align: center;
}

fieldset.buttons input {
	padding: 0px;
	height: 36px;
	width: 100px;
}



div.smallRack {
	width: 260px;
	height: 40px;
	padding-left: 7px;
	background-image: url(/images/saved_rack.gif);
	background-position: top left;
	background-repeat: no-repeat;
}

div.smallRack.rackLength8 {
  padding-left: 2px;
}

  div.smallRack span {
		float: left;
		
		border: none;
		background-image: url(/images/tile.gif);
		background-position: 0px 0px;
		background-repeat: no-repeat;
		
		width: 28px;
		height: 24px;
		padding: 0px;
		padding-top: 4px;
		margin-top: 4px;
		margin-left: 7px;
		font-size: 18px;
		text-align: center;
		font-family: Arial, Helvetica, sans-serif;
	}

  div.smallRack.rackLength8 span {
    margin-left: 4px;
  }

span.remainingtile {
	  float: left;
		border: none;
		background-image: url(/images/tile.gif);
		background-position: 0px 0px;
		background-repeat: no-repeat;

    width: 28px;
		height: 24px;
		padding: 0px;
		padding-top: 4px;
		margin-top: 4px;
		margin-left: 7px;
		font-size: 16px;
		text-align: center;
		font-family: Arial, Helvetica, sans-serif;
    vertical-align: middle;
  }


/** CONFIRMATION STYLING **/
div#message {
	background-color: #EEFFDD;
	border: 1px dashed #147828;
	padding: 4px 10px;
	margin-top: 20px;
	margin-bottom: 0px;
}
	div#message h3 {
		font-size: 1.2em;
		background-color: #147828;
		color: #FFFFFF;
		margin: -5px -11px 4px -11px;
		padding: 4px 11px;
	}
/** END CONFIRMATION STYLING **/

/** ERROR STYLING **/
div.errorExplanation {
	background-color: #FFF5EA;
	border: 1px dashed #FF0000;
	padding: 4px 10px;
	margin-top: 20px;
	margin-bottom: 0px;
}
	div.errorExplanation h3 {
		font-size: 1.2em;
		background-color: #DD0000;
		color: #FFFFFF;
		margin: -5px -11px 4px -11px;
		padding: 4px 11px;
	}

div.fieldWithErrors input, div.fieldWithErrors textarea, div.fieldWithErrors select{
    background-color: #FFF5EA;
    border: 1px dashed #FF0000;
}

/** END ERROR STYLING **/

  div#faq h4 {

		padding-top: 15px;
  }

#overlay, #game_name_div {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 1000;
}

#overlay {    
  background-color: #A0A0A0;
  filter: alpha(opacity=0);
    -moz-opacity: 0.0;
  opacity: 0.0;
}

#game_name_div {
  background-color: #000000;
  filter: alpha(opacity=50);
  -moz-opacity: 0.50;
  opacity: 0.50;
}

#saveGameDialog {
  background-color: white;
  margin-top: -88px;
  margin-left: -128px;
  position: fixed;
	top: 50%;
	left: 50%;
	z-index: 1001;
	border: 1px solid #9F9F9F;
}

#saveGameDialogContent {
  padding: 15px;
  border: 5px solid #147828;  
  width: 212px;
  height: 120px;
  z-index: 1050;
}

#saveGameDialogContent h4 {
	margin: -15px;
	margin-bottom: 10px;
	padding: 0px 3px 6px 3px;
	background-color: #147828;
	font-size: 1.3em;
	font-weight: normal;
	color: #ffffff;
}




table.resultset {
	padding: 0px;
	margin: 0px;
	width: 100%;
}

	table.resultset td, table.resultset th {
	  text-align: left;
	}

div#game_details {
  padding: 5px 0px 10px 0px;

  font-size: 1.0em;
	font-weight: normal;
}

div#game_details select{
  font-size: 11px;
  margin-left: 0;
  margin-right: 0;
}

#game_name_caption {
  padding-bottom: 2px;  
  font-family: Arial;
  font-weight: bold;
  font-size: 1.8em;
}

p.game_options
{
  font-size: 11px;
}

#selected_dictionary_dd
{
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#selected_dictionary_dd option, #selected_dictionary_dd optgroup
{
  color: #000000;
  background-color: #ffffff;
}

#selected_dictionary_dd.unsupported, #selected_dictionary_dd option.unsupported
{
  color: #a0a0a0;
}

/* Blog */

#content.blog
{
  width: 490px;
}

#content.blog h2
{
  margin-bottom: 0px;
}

#content.blog h2 a, #content.blog h3 a 
{
  color: #000000;
}

#content.blog h2 a:hover, #content.blog h3 a:hover
{
  color: #3333B4;
}

.blog_post
{
  margin-top: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #CCCCCC;
}

.blog_post:first-child
{
  margin-top: 0px;
}

.blog_post_header
{
  margin-top: 0px;
  font-size: 1.05em;
  color: #666666;
  margin-bottom: 1em;
}

.blog_post_footer
{
  font-size: 1.1em;
  color: #666666;
  margin-top: 1em;  
}

.blog_post_content
{
  font-size: 1.2em;
	margin-top: 3px;
	margin-bottom: 5px;
	line-height: 1.4em;
}

.blog_post_content p, .blog_post_content ol, .blog_post_content ul
{
  font-size: 1em;
  line-height: 1.4em;
  margin-top: 1em;
}

.blog_post_content li
{
  margin-bottom: 0.5em;
}

#sidebar.blog ul li:before
{
  color: #444444;
  content: "»";
}

#sidebar.blog ul
{
  list-style: none;
  margin-left: 0px;
  padding-left: 0px;
}

#sidebar.blog ul li
{
  margin-left: 10px;
}

#sidebar.blog ul li a
{
  margin-left: 3px;
}

#sidebar.blog input[type=submit]
{
  font-size: 1.3em;
}

#content.blog #new_comment div.fieldWithErrors {
  float: none;
}

#content.blog #new_comment h3, #content.blog #comments h3 {
  margin-top: 2em;
}

#content.blog #new_comment textarea {
  width: 99%;
  margin-bottom: 5px;
}

#content.blog #new_comment_form
{
  margin-top: 1em;
}

#content.blog #comments h3
{
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #CCCCCC;
  padding-bottom: 1em;
  margin-bottom: 0px;
}

.blog_comment
{
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #CCCCCC;
  padding-top: 1em;
  padding-bottom: 1em;
}

.blog_comment h4
{
  margin-top: 0px;
}

.blog_comment p
{
  margin-top: 0.8em;
  margin-bottom: 0px;
  word-wrap: break-word;
}

.blog_comment_admin
{
  margin-top: 0.8em;
  text-align: right;
}

.blog_comment_admin input[type=submit], .blog_post_admin input[type=submit]
{
  font-size: 1em;
}

.blog_post_admin input[type=submit]
{
  position: relative;
  top: 2px;
}

.blog_post_admin
{
  clear: both;
  float: right;  
}

.admin_indicator
{
  margin-right: 2px;
  vertical-align: middle;
}

div#mailings
{
   margin: 10px;
 }
div#mailings table, div#mailings th, div#mailings td 
{
  border-width: 1px;
  border-style: solid;
  border-color: gray;

  border-collapse: collapse;
  padding: 6px;
}

div#mailings form table
{
  margin-left: 10px;
}

div#mailings form table, div#mailings form table th, div#mailings form table td
{
  border: none;
}

div#mailings form table th
{
  text-align: left;
  padding-left: 0px;  
}

div#mailings textarea
{
  width: 800px;
	height: 300px;
}

div#mailings p
{
  font-family: Tahoma, sans-serif;
  font-size: 1.2em;  
}

div#mailings div#text_part, div#mailings div#html_part
{
  height: 300px;
  overflow: auto;
}

div#mailings div#text_part pre
{
  white-space: pre-wrap;
}

div#mailings div#html_part iframe
{
  width: 100%;
  border: 0;
}

div#mailings textarea.plain, div#mailings div#text_part, div#mailings pre
{
  font-family: Courier, monospace;
}

div#mailings div.preview
{
  padding: 10px;
  margin : 10px;
  border-width: 1px;
  border-style: solid;
  border-color: gray;
}

div#footer a
{
  color:  #B0B0FF;  
}

div#availonappstore
{
  padding: 17px 0 17px 32px;
}