/**
 * My three words
 */

body
{
	font-family: Arial, Helvetica, Verdana, sans-serif;
	background: #fff url(../image/body_bg.png) repeat-x;
	padding: 0;
	margin: 0;
	font-size: 22px;
}


a,a:link,a:visited
{
	color: #9c0;
	text-decoration: none;
}
a:hover
{
	color: #fff;
	background-color: #9c0;
}

a img
{ 
	border: none;
	vertical-align: top;
}

a.tweet:hover,
a.fbshare:hover
{
	background-color: transparent;
}
a.fbshare
{
	margin-left: 7px;
}
a.fbshare img { vertical-align: baseline; }


h3
{
	font-size: 100%;
	font-weight: bold;
}


div.clearfloats
{
	display: block;
	clear: both;
	height: 0;
}

/* title section */

h1#title
{
	font-size: 180%;
	color: #9c0;
	margin: 0;
	padding: 0;
}
h1#title a { text-decoration: none; }



h2#subtitle
{
	font-size: 60%;	
	color: #f66;
	margin: 0 0 2em 0;
	padding: 0;
}

/* how to play */
div#how_to_play
{
	display: block;
	float: right;
	color: #333;
	font-weight: bold; 
	margin: 0;
	padding: 0 0 0 1em;
}
div#how_to_play a { font-size: 65%; vertical-align: middle; color: #ff66ff; }
div#how_to_play a:hover { color: #fff; background-color: #ff66ff; }

div#how_to_play_blurb
{	
	padding: 2em;
	color: #333;
	border: 1px dashed #999;
	background-color: #fff;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	width: 250px;
	font-size: 50%;
	font-weight: bold;
	z-index: 2000;
}
div#how_to_play_blurb a
{
	font-size: 140%;
	font-weight: normal;
}

/* containers */


div#outer_container
{
	display: block;
	margin: 0 auto;
	padding: 0;
	width: 757px;
	letter-spacing: 0px;
	background: transparent url(../image/container_bg.png) center center repeat-y;
	z-index: 1000;
}
div#pre_inner_container
{
	display: block;
	float: left;	
	width: 23px;
	height: 763px;
	padding: 0;
	margin: 0;
	background: transparent url(../image/content_bg_1.png) center center no-repeat;
	z-index: 1002;
}
div#post_inner_container
{
	display: block;
	float: left;	
	width: 21px;
	height: 763px;
	padding: 0;
	margin: 0 0 0 1px;
	background: transparent url(../image/content_bg_2.png) -1px center no-repeat;
	z-index: 1002;
}
div#inner_container
{
	float: left;	
	width: 652px;
	padding: 20px 30px;
	background-color: transparent;
	z-index: 1004;
}


tr.errors td,
div.errors div,
div.error
{
	padding: 0.5em 0.5em;
	margin: 0.2em 0;
	color: #fff;
	background-color: #f66;
	border: #f00;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
tr.msgs td,
div.msgs div,
div.msg
{
	padding: 0.5em 0.5em;
	margin: 0.2em 0;
	color: #fff;
	background-color: #99CC00;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}


a#rss_feed,
a#rss_feed:link,
a#rss_feed:visited
{
	display: block;
	float: right;
	text-decoration: none;
	text-indent: -9999px;
	width: 29px;
	height: 28px;
	margin: 0 0 0 1.2em;
	background: transparent url(../image/rss_icon.gif) center center no-repeat;
}
a#rss_feed:hover
{
	text-decoration: none;
	background-color: transparent;
}


/* main page */

div.sentence,
div#input div.words
{
	font-weight: bold;
}
div#old_words div.sentence
{
	margin: 2em auto 0;
}

div.help
{
	font-size: 50%;
	font-style: italic;
	color: #999;
}
div.help span
{
	font-size: 180%;
	color: #ff66ff;
	font-weight: bold;
}

div#old_words
{
	margin: 2em auto 0;
}

div#input
{
	margin: 2em auto 0;
	border: 1px dashed #999;
	padding: 1em;
}
div#input div.words
{
	display: inline-block;
}
div#input div.words span.typing
{
	font-weight: normal;
	font-size: 80%;
	color: #999;
	font-style: italic;
}

div#input form
{
	margin: 1.5em 0 0;
}
div#input form input
{
	padding: 0.1em 0;
	font-size: 110%;
}
div#input button#quick_delete
{
	display: inline-block;
	background: transparent url(../image/delete_icon.png) 0px 0px no-repeat;
	width: 61px;
	height: 17px;
	text-indent: -9999px;
	border: none;
	cursor: pointer;
	padding: 3px 0 0;
}
div#input button#quick_delete:hover
{
	background: transparent url(../image/delete_icon.png) -61px 0px no-repeat;
}

div#color_blocks
{
	padding: 0;
	margin: 3em auto;
	text-align: center;
}
div#color_blocks div
{
	display: inline-block;
	width: 88px;
	height: 88px;
	padding: 0;
	margin: 0 10px;
}


.ajax_loading
{
	background: transparent url(../image/ajax-loader.gif) left center no-repeat;
	display: none;
	min-height: 31px;
	padding-left: 40px;
	color: #9c0; 
}

form#my_words .ajax_loading
{
	padding-top: 0.5em;	
}
div#old_words .ajax_loading
{
	margin-top: 1.5em;
}


div.sentence span.pending
{
	background: transparent url(../image/ajax-loader-grey.gif) left center no-repeat !important;
	display: inline-block;
	height: 11px;
	width: 16px;
	vertical-align:middle;
}


button#fetch_more_older
{
	display: block;
	width: 262px;
	height: 40px;
	background: transparent url(../image/fetch_button-off.gif) center center no-repeat;
	text-indent: -9999px;
	border: none;
	margin: 5em auto;
}
button#fetch_more_older:hover
{
	background-image: url(../image/fetch_button-on.gif);
}

div#fetch_more_errors
{
	margin-top: 1em;
}


/** Single view page */

div#single .title
{
	color: #999;
}
div#single .meta
{
	color: #ccc;
	font-size: 70%;
	margin: 2em 0;
	font-style: italic;
}

a#goback
{
	display: inline-block;
	margin: 2em 0;
	font-size: 80%;
}


/* Page tabs */

ul.page_tabs
{
	display: block;
	list-style: none;
	margin: 1em 0 2em;
	padding: 0;
	border-bottom: 1px solid #999;
}
ul.page_tabs li
{
	display: inline-block;
	list-style: none;
	margin: 0;
	padding: 0 1em;
	font-size: 80%;
}
ul.page_tabs li.active
{
	background-color: #ccc;
}
ul.page_tabs li.active a
{
	color: #000;
}



/* sounds */

#alert_sound { display: none; }
a#toggle_sound,
a#toggle_sound:link,
a#toggle_sound:visited
{
	display: block;
	float: right;
	text-decoration: none;
	text-indent: -9999px;
	width: 27px;
	height: 28px;
	margin: 0 0 0 1.2em;	
	background: transparent url(../image/sound_icon.png) 0px 0px no-repeat;
}
a#toggle_sound.disabled
{
	background-position: -27px 0px;
}
a#toggle_sound:hover
{
	text-decoration: none;
}


/* footer text */

div#footer
{
	border-top: 1px dashed #999;
	padding: 1em 0 0;
	font-size: 50%;
	color: #999;
}
div#footer a
{
	font-weight: bold;
}
div#footer div.codecredit {
	margin: 2em 0 0;
	font-size: 80%;
	float: right;
	color: #ccc;
}
div#footer div.codecredit a, 
div#footer div.codecredit a:visited,
div#footer div.codecredit a:link {
	color: #ddd;
	font-weight: normal;
}
div#footer div.codecredit a:hover {
	color: #ddd;
	background-color: transparent;
	text-decoration: underline;
}

div#footer ul.imglinks
{
	display: block;
	list-style: none;
	float: left;
	margin: 1em 0 0;
	padding: 0;
}
div#footer ul.imglinks li
{
	display:inline-block;
	margin-right:1em; 
}

/* sidebars */

#embed_panel
{
	display: block;
	width: 127px;
	height: 159px;
	padding: 0;
	position: fixed;
	margin: 45px 0 0 -105px;
	background: transparent url(../image/embed_panel.png) center center no-repeat;
}
#embed_panel input
{
	position: relative;
	top: 108px;
	left: 13px;
}


#vialetter_promo
{
	display: block;
	width: 123px;
	height: 309px;
	padding: 0;
	margin: 272px 0 0 0px;
	text-indent: -9999px;
	position: fixed;
	background: transparent url(../image/viaLetter_promo.png) center center no-repeat;
}


#email_friends
{
	display: block;
	margin: 45px 0 0 0px;
	padding: 0;
	width: 125px;
	height: 222px;
	position: fixed;
	background: transparent url(../image/emailpanel.png) center center no-repeat;
}
#email_friends input
{
	position: relative;
	top: 60px;
	left: 5px;
}
#email_friends button
{
	border: none;
	background: transparent;
	display:block;
	height:48px;
	left:55px;
	position:relative;
	top:112px;
	width:52px;
}                 
#email_friends button:hover
{
	border-bottom: 2px outset #F0F0F0;
	border-left: 2px outset #F0F0F0;
	border-right: 2px outset #F0F0F0;
	border-top: 2px outset #F0F0F0;
	cursor: pointer;
}
#email_friends button:active
{
	bprder: 1px solid #999;
}


