/*
	Global
*/

body {
	background-image: url(/media/img/top_gradient_bg.png);
	background-repeat: repeat-x;
	background-color: #657967;

	font-family: Verdana,sans-serif;
	margin: 0;
	
	/*
	http://www.w3schools.com/CSS/css_font.asp 100% in body em elsewhere
	*/

}

a {
	text-decoration:none;
	color: #C79E2A;
}

a:hover {
	text-decoration: underline;
}


.pgwrap {
	margin:0 auto;
	position:relative;
	width:950px;
}

/*
	Header
*/

.pghead {
	height: 95px;
}

.pghead .logo {
	position:absolute;
	padding-top: 10px;
}

.pghead .logo img {
	z-index:1;
	border-style: none;
}

.pghead .account {
	float:right;
	width:auto !important;
	font-size: 75%;
	/* padding-right:15px; */
}


.pghead .account .loginpre {
	background:transparent url(/media/img/account-left.png) no-repeat scroll center top;
	float:left;
	height:28px;
	width:15px;
}

.pghead .account .loginpost {
	background:transparent url(/media/img/account-right.png) no-repeat scroll center top;
	float:left;
	height:28px;
	width:15px;
}

.pghead .account .logincontent {
	background:transparent url(/media/img/account-content.png) repeat-x scroll center top;
	float:left;
	height:28px;
	padding:4px 5px 0;
}

.pghead .account  .fblogin {
	background:transparent url(/media/img/facebook-small-icon.gif) no-repeat scroll left center;
	display:inline;
	padding:2px 0 0 18px;
}

/*
	Menu
	TODO, move div from content to header...
*/

.pgmain .menu {
	position:relative;
}

.pgmain .menu ul {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding:0;

	position:absolute;
	right:11px;
	top:-43px;
}

.pgmain .menu  li {
	background:transparent url(/media/img/tab-left.png) no-repeat scroll left top;
	float:right;
	margin:0 2px 0 0;
	padding:0 0 0 15px;
	height: 28px;
}

.pgmain .menu  li.selected {
	height: 32px;
}

.pgmain .menu  a {
	background:transparent url(/media/img/tab-right.png) no-repeat scroll right top;
	display:block;
	padding:8px 16px 0 0;
	height: 20px;
}

.pgmain .menu  li.selected a {
	height: 24px;

}

/*
	Main
*/

.pgmain {
	width:100%;
}

.pgmain .content {
	border-left: 4px solid #000000;
	border-right: 4px solid #000000;
	background-color:#FFFFFF;
	padding:0 15px 0;
}

.pgmain .content .left {
	float:left;
	width:450px;
}

.pgmain .content .right {
	float:right;
	width:450px;
}

.pgmain .content .halfside {
	float:left;
	width:215px;
}


.pgmain .content .col {
	float:left;
	width: 290px;
	margin-right: 12px;
}

.pgmain .content .half {
	width: 95px;
	text-align: center;
	margin-bottom: 5px;
}

.pgmain .content h1 {
	font-size: 170%;
	font-weight: bold;
	text-shadow: #CCC 1px 1px 1px;
	margin: 0 0 20px 0;
	padding-bottom: 5px;
	color: #657967;
	border-bottom: 2px solid #657967;
}

.pgmain .content h2 {
	font-size: 120%;
	border-bottom: 1px dotted #000000;
	width: auto !important;
	padding-bottom: 5px;
	margin-bottom: 10px;
	margin-top: 15px;
}

.pgmain .content h3 {
	font-size: 110%;
	color: #657967;
	border-bottom: 1px solid #657967;
	margin-bottom: 10px;
}


.pgmain .top {
	background:transparent url(/media/img/content_box_top.png) no-repeat scroll right top;
	height:15px;
}

.pgmain .bottom {
	background:transparent url(/media/img/content_box_bottom.png) no-repeat scroll right top;
	height:15px;
}


.pgfooter {
	color: #879b89;
	font-size: 75%;	
	padding-left:40px;
	padding-top:5px;
}

.pgfooter .copyright {
	float:left;
}

.pgfooter .addthis {
	margin-right: 40px;
	float:right;
}


select, input[type="text"], input[type="password"], textarea {
	/*
	background:#F3F3F3 url(/media/img/form-shadow-gray.png) repeat-x scroll left top;
	border-color: #C6C6C6 #C6C6C6 #E3E3E3;
	*/
	background:#FFFFFF url(/media/img/form-shadow-yellow.png) repeat-x scroll left top;
	border-color: #C79E2A #C79E2A #C7B993;
	border-style:solid;
	border-width:1px;
	color:#000000;
	margin:3px;
	padding:3px;

	font-family: Verdana,sans-serif;
	font-size: 75%;
}

input[type="button"], input[type="submit"] {
	background: transparent url(/media/img/form-button.png) no-repeat scroll 0 0;
	border: 0 none transparent;
	clear: both;
	color: #FFFFFF;
	cursor: pointer;
	font-weight: bold;
	height: 30px;
	line-height: 20px;
	margin-top: 5px;
	text-align: center;
	width: 100px;

	font-family: Verdana,sans-serif;
	font-size: 75%;	
}


form dt {
   clear:both;
   width:25%;
   float:left;
   text-align:right;
}

form dd {
   float:left;
   width:70%;
   margin:0 0 0.5em 0.25em;
}

form input[type="submit"] {
	float:right;
}

/* Messages */
.info, .success, .warning, .error, .construction {
	font-family:Arial, Helvetica, sans-serif; 
	font-size:15px;
	border: 1px solid;
	margin: 10px 0px;
	padding:15px 10px 15px 50px;
	background-repeat: no-repeat;
	background-position: 10px center;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.info {
	color: #00529B;
	background-color: #BDE5F8;
	background-image: url('/media/img/icon-info.png');
}
.info a {
	text-decoration: underline;
}

.success {
	color: #4F8A10;
	background-color: #DFF2BF;
	background-image:url('/media/img/icon-success.png');
}
.success a {
	text-decoration: underline;
}


.warning {
	color: #9F6000;
	background-color: #FEEFB3;
	background-image: url('/media/img/icon-warning.png');
}
.warning a {
	text-decoration: underline;
}

.construction {
	color: #1088EC;
	background-color: #C5E2FF;
	background-image: url('/media/img/icon-construction.png');
}



.error {
	color: #D8000C;
	background-color: #FFBABA;
	background-image: url('/media/img/icon-error.png');
}
.error a {
	text-decoration: underline;
}

/* Pages */
.pages {
	text-align: center;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 80%;
	font-weight:bold;
	text-align: right;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;

}


.pages a {
	text-decoration: none;
	border: 2px solid black;
	color: white;
	background-color: #657967;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;		
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 2px;
	padding-bottom: 2px;
	margin-right: 3px;
	margin-left: 3px;		
}

.pages a:hover {
	background-color: #879B89;
}

/* Crossword type */

.cw_type {
	margin-left: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

.type {
	border: 1px solid black;
	color: black;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;		
	padding: 2px;
	padding-left: 4px;
	padding-right: 4px;
	margin-right: 2px;
	margin-top: 2px;
	margin-bottom: 2px;
	text-align: center;
	font-weight:normal;	
}

a.type {
	text-decoration: none;
}

.type.all {
	background-color: #FFFF66;	
}

a.type.all:hover {
	background-color: #FFFF99;	
}

.type.normal {
	background-color: #FFCC66;	
}

a.type.normal:hover {
	background-color: #FFCC99;	
}

.type.easy {
	background-color: #66CC66;	
}

a.type.easy:hover {
	background-color: #66CC99;	
}

.type.selected {
	background-color: white;
}

/* Crosswords */
.crosswordbox {
	border: 1px solid #879B89;
	margin: 10px;
	padding: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;	
	font-size:90%;
}

.crosswordbox .topinfo { /* */ }

.crosswordbox .leftinfo {
	float: left;
	position:relative;
}

.crosswordbox .leftinfo .new {
	position:absolute;
	background:transparent url(/media/img/icon_new.png) no-repeat;
	height: 48px;
	width: 48px;
	top: 5px;
	left: 5px;
}

.crosswordbox .rightinfo {
	float: right;
	width: 200px;
	font-size: 90%;
}


.crosswordbox .cwinfologin {
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 4px;
	border: 2px dashed #879B89;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.crosswordbox .finished {
	background-color: #C3FDB8;
}

.crosswordbox .played {
	background-color: #E0FFFF;
}

.crosswordbox .saved {
	border: 2px dashed #7D1B7E;
	background-color: #F9B7FF;
}

/*
	Feedback
*/
.handle {
	margin-top: -4px;
}

.feedback {
    padding: 15px;
    width: 250px;
    height: 240px;
    background: white;
    border-right: 4px solid #000000;
    border-top: 4px solid #000000;
    border-bottom: 4px solid #000000;
}

#submit_feedback {
	margin-right: 10px;		
}

/* Gamelisting */
ul.gamelist {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0;
	padding:0;	
}

li.gameitem {
	background: #EAF0E0;
	cursor: pointer;
	margin-top: 10px;
	margin-bottom: 10px;
	-moz-border-radius: 12px;
	-webkit-border-radius: 12px;	
	height: 100px;
}

li.gameitem:hover {
	background: #A5BCA8;
}

li.gameitem .image {
	margin-right: 5px;
	display:block;
	height: 100px;
	width: 100px;
	float: left;
}

li.gameitem .text {
	float: left;
	display:block;
	width: 330px;
	margin-top: 20px;
}

li.gameitem .text .title {
	font-size: 120%;	
}
li.gameitem .text .desc {
	font-size: 90%;	
}



/* Decoration */
.womanthinking {
	background:transparent url(/media/img/woman_thinking.png) no-repeat scroll 0 0;
	display:block;
	height:305px;
	margin-top:-294px;
	position:absolute;
	right:45px;
	width:200px;
}

/* Submit question */
.submit_terms {
	font-size: 75%;
    background-color: #EEEEEE;
    border: 1px solid #000000;	
    padding: 6px;
    margin: 4px;
    text-align: justify;
}

/* Score table */
table.score {
	margin-top: 8px;
	margin-bottom: 8px;
	border: 4px solid #000000;
	border-collapse: collapse;
}

table.score td {
	border: 1px solid #000000;	
	padding: 4px;
	border-style: inset;
}

/* Profile */

.profile_crossword_list {
	height: 400px;	
	overflow:auto;	
}

.scorelisticon {
	width: 20px;
	height: 16px;
	display:inline-block;
	padding-left: 10px;
	font-size: 60%;	
	text-align:right;		
}

.scorelisticon.same {
	background:transparent url(/media/img/arrow-redo.png) no-repeat scroll 0 0;	
}

.scorelisticon.new {
	background:transparent url(/media/img/arrow-right-blue.png) no-repeat scroll 0 0;	
}

.scorelisticon.up {
	background:transparent url(/media/img/arrow-up-green.png) no-repeat scroll 0 0;	
}

.scorelisticon.down {
	background:transparent url(/media/img/arrow-down-red.png) no-repeat scroll 0 0;	
}

.highlight {
    background: yellow;
}

/* Question of the hour */
.hourly_question {
		
}

.hourly_question .catagory {
	border-bottom: 1px solid #657967;
	border-left: 1px solid #657967;
	display: inline;
	padding: 4px;
	margin-bottom: 4px;
	float: right;
}

.hourly_question .question {
	font-size: 140%;	
	margin-top: 10px;
}

.hourly_question .answer {
	font-size: 200%;
	margin-top: 20px;
	display: inline-block;
    display: none;	
}

.hourly_question .cloak {
	font-size: 75%;	
	margin-top: 20px;
	display: inline-block;
    background: #404040;
    color: white;
    display: inline-block;
    padding: 10px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;	
	cursor: pointer;	
 }