/* ###--------------------------------------------------------###
 * Template wanda
 *
 * Copyright (c) 2007 - 2010 Big Fish Games, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
 *
 * @author William Moffett <william.moffett@bigfishgames.com>
 * @version 0.8
 * @package PNP Tools
 * @subpackage SGS
 *
 * @modified 01/06/2008 william
 * @copyright Copyright (c) 2007 - 2010 Big Fish Games, Inc.
 * @license http://creativecommons.org/licenses/GPL/2.0/ Creative Commons GNU GPL
 */

/* base elements */
*{
	margin:0px;
	padding:0px;
}

body{
	margin:0px;
	padding:0px;
	font: normal .70em/1.6em Arial, Helvetica, sans-serif;
	color:#333333;
	text-align:center;
	background:#d4e3f0 url(images/body.gif) top left repeat-x;
}

a{ text-decoration:none; color:#003399;}
a:hover{ text-decoration:underline; color:#008800;}

h1,h2,h3,h4,h5{
	margin:0px;
	padding:0px;
 	font: bold 1.8em Arial, Helvetica, sans-serif;
	color:#003366;

}

h1{ font-size: 1.8em;}
h2{ font-size: 1.6em;}
h3{ font-size: 1.4em;}
h4{ font-size: 1.3em;}
h5{ font-size: 1em;}

p{ /*padding:20px; */}

ul { margin: 0; padding : 0; list-style-type:none; }

td{
	vertical-align:top;
}

/* images */
img{ border:none;}

img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 10px;
}
img.float-left {
  margin: 5px 10px 5px 0px;
}

/* object code  - added by william */
object{
	padding: 5px;
}
object.no-border {
	border: none;
}
object.float-right {
  margin: 5px 0px 5px 15px;
}
object.float-left {
  margin: 5px 15px 5px 0px;
}

/* form elements */
form {
	margin: 10px;
	padding: 4px 5px;
	border: 1px solid #EFEFEF;
	background: #F8F8F8;
}

label {
	display:block;
	font-weight:bold;
	margin:5px 0px;
}

input {
	margin:0px 5px 0px 5px;
	padding: 2px;
	border:1px solid #b3cedc;
	font: normal 1em Arial, Helvetica, sans-serif;
	color: #666666;
	background: #ffffff url(images/textbox.gif) top left repeat-x;
}

input:hover {
	border:1px solid #339ae6;
	background: #ffffff url(images/textbox_hover.gif) top left repeat-x;
}

textarea {
	width: 280px;
	margin:0px 5px 5px 5px;
	padding: 2px;
	border:1px solid #c2d9e1;
	font: normal 1em Arial, Helvetica, sans-serif;
	height:100px;
	display:block;
	color: #666666;
	background: #ffffff url(images/textbox.gif) top left repeat-x;
}

textarea:hover{
	border:1px solid #339ae6;
	background: #ffffff url(images/textbox_hover.gif) top left repeat-x;
}

.textbox{
	font: normal 1em Arial, Helvetica, sans-serif;
	color:#777;
}

/* helper classes */
.clear {
	display:block;
	clear: both;
}

.clear-both{
	display:block;
	clear: both;
}

.clear-left{
	display:block;
	clear:left;
}

.clear-right{
	display:block;
	clear:right;
}

.clearfix{
	display:block;
	clear:both;
	height:1px;
}

.float-left  { float: left; }
.float-right { float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }
.align-center{ text-align:center; }


.small{
	font-size:11px;
	font-weight:normal;
}
/* page layout */

#page{
	margin:0px auto;
	padding:0px;
	width:760px;
	text-align:left;
	background:transparent url(images/layout_tile.gif) top left repeat-y;
}

#header{
	position:relative;
	margin:0px;
	padding:0px;
	width:758px;
	height:141px;
	background: transparent url(images/header.gif) top left repeat-x;
	border-right: 1px solid #bed7e3;
	border-left:1px solid #bed7e3;
}

#content{
	margin:0px;
	padding:10px;
	width:740px;
	background: transparent url(images/layout_bottom.gif) bottom left no-repeat;
}

/* content elements */

#main{
	margin:0px;
	padding:0px 0px 0px 0px;
	width:570px;
	float:left;
	text-align:left;
}

/**
 * fullscreen layout used for the play.php for online games.
 */
#main_wide{
	margin:0px;
	padding:0px 0px 0px 0px;
	width:740px;
	float:left;
	text-align:left;
}

#sidebar{
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
	width:160px;
	float:right;
}

#footer{
	margin:0px;
	padding:34px 0px 0px 0px;
	width:760px;
	clear:both;
	background:#d4e3f0 url(images/layout_top.gif) left 20px no-repeat;
	text-align:center;
}

#fcontent{
	margin:0px;
	padding:0px 0px 8px 0px;
	background:transparent url(images/layout_tile.gif) top left repeat-y;

}

#copyright{
	border:1px solid #bed7e3;
	background:#eff6ff;
}

/* header elements */

#header h1, #header h2{
	position:absolute;
	color:#ffffff;
}

#header h1{
	top:30px;
	left:35px;
 	font: bold 2.5em Arial, Helvetica, sans-serif;
 	z-index:101;
}

#header h1 a,#header h1 a:hover{
	color:#ffffff;
	text-decoration:none;
	outline:none;
}

#header h2 {
	top:0px;
	right:-1px;
	padding-right:20px;
	width:750px;
	height:109px;
	line-height:159px;
	text-align:right;
	background: transparent url(images/bubbles.gif) top right no-repeat;
}

#utility{
	position:absolute;
	top:0px;
	right:-1px;
	display:inline;
	margin:0px;
	padding:0px 0px 0px 44px;
	height:25px;
	background: transparent url(images/utility.gif) top left no-repeat;
	z-index:100;
}

#utility h4{
	display:none;
}

#utility p{
	margin:0px;
	padding:0px 10px 0px 10px;
	height:25px;
	float:left;
	line-height:25px;
	background-color:#ffffff;
}

#utility form{
	margin:0px;
	padding:0px;
	border:none;
}

#utility input{
	margin:0px;
}

#utility input.button{
	margin-top:2px;
}

#navigation{
	display:block;
	position:absolute;
	top:109px;
	left:0px;
	margin:0px 0px 0px 10px;
	padding:0px 0px 0px 1px;
	width:748px;
	height:32px;
	background: transparent url(images/divider.gif) top left no-repeat;
}

#navigation ul{
	margin:0px;
	padding:0px;
	height:32px;
}

#navigation ul li{
	margin:0px;
	padding:0px 0px 0px 0px;
	list-style-type:none;
	line-height:32px;
	float:left;
	background:transparent;
}

#navigation ul li a{
	display:block;
	margin:0px;
	padding:0px 10px 0px 10px;
	height:32px;
	line-height:32px;
	font-weight:bold;
	background:transparent url(images/divider.gif) top right no-repeat;
	float:left;
}

#navigation ul li a:hover{
	background:#ffffff url(images/divider_sel.gif) top right no-repeat;
	height:31px;
	line-height:32px;
	border-bottom:1px solid #8dbde3;
}

#navigation ul li a.current{
	color:#000000;
	background:#ffffff url(images/divider_sel.gif) top right no-repeat;
}

#navigation ul li a.current:hover{
	height:32px;
	line-height:32px;
	border-bottom:none;
}
/** font size adjust for some languages */
.page_jp #header #navigation ul li a{
	font-size:10px;
}


/* BUTTON STYLES */

/* input button */

input.button{
	width:auto;
	padding:2px;
	font: bold 1em/1.1em Arial, Helvetica, sans-serif;
	color: #ffffff;
	border:1px solid #1b83de;
	border-right:1px solid #004499;
	border-bottom:1px solid #004499;
	background: #004499 url(images/btn_right.gif) 0px -6px repeat-x;
	cursor:pointer;
}

input:hover.button{
	color:#ffffff;
	border:1px solid #2299f1;
	border-right:1px solid #0466bf;
	border-bottom:1px solid #0466bf;
	background: #004499 url(images/btn_right.gif) 0px -41px repeat-x;
}

/* anchor buttons */
a.btn{
	margin:10px 0px 0px 0px;
    padding: 0px 20px 0px 0px;
    position: relative;
    float: left;
    font-weight: bold;
    color: #ffffff;
    background: transparent url(images/btn_right.gif) top right no-repeat;
    text-decoration:none;
    display:inline;
}

a.btn:hover{
    background-position: right bottom;
    text-decoration:none;
    cursor:pointer;
}

a.btn span{
    position: relative;
    float: left;
    padding: 0px 0px 0px 40px;
    height: 34px;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    display:inline;
    line-height: 34px;
    background-image: url(images/btn_arrow.gif);
    background-position: top left;
    background-repeat: no-repeat;
}

a.btn_download span{
    background-image: url(images/btn_download.gif);
}

a.btn_cart span{
    background-image: url(images/btn_cart.gif);
}

/** over ride for back and video button */

a.btn_back, a.btn_video{
	margin:10px 0px 0px 0px;
    padding: 0px 20px 0px 0px;
    background: transparent url(images/btn_sm_right.gif) top right no-repeat;
}

a.btn_back span,a.btn_video span{
    padding: 0px 0px 0px 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
}

a.btn_back span{
    background-image: url(images/btn_sm_left.gif);
}

a.btn_video span{
    padding: 0px 0px 0px 35px;
    background-image: url(images/btn_sm_left_video.gif);
}
/* end back video buttons */

a.btn:hover span{
    background-position: left bottom;
}

a#btnmac {
	background-image:url(../../images/os/btn_available4mac.gif);
}

a#btnpc {
	background-image:url(../../images/os/btn_available4pc.gif);
}

a#btnmac, a#btnpc{
	height:34px;
	margin:10px 0pt 0pt;
	padding:0pt;
	text-indent:-30000px;
	width:90px;
}

/* content headers */

/* main */
#main h2{
	padding: 0 0 5px 0;
	margin: 0 15px 15px 15px;
}
#main h3{
	padding: 10px 0 5px 0;
	margin: 0 15px 0px 15px;
	color:#00305b;
	font-weight:bold;
}

/* FEATURE BOX The round borders that display around the feature image */
div.feature_tile{
	margin:0px 0px 0px 10px;
	padding:0px;
	width:210px;
	height:100%;
	background:#ffffff url(images/feature_tile.gif) top left repeat-y;
	float:left;
}

div.feature_top{
	margin:0px;
	padding:0px 0px 0px 0px;
	width:210px;
	height:100%;
	background:transparent url(images/feature_top.gif) top left no-repeat;

}
div.feature_top h2{
	display:none;
}

div.feature_bottom{
	margin:0px;
	padding:5px 0px 10px 0px;
	width:210px;
	height:100%;
	background:transparent url(images/feature_bottom.gif) bottom left no-repeat;
}

/*Image Captions found above feature image */

/* New Games */

div.newgame_en,
div.newgame_de,
div.newgame_es,
div.newgame_fr,
div.newgame_jp,
div.newgame_pt,
div.newgame_da,
div.newgame_it,
div.newgame_nl,
div.newgame_sv
{
	width:195px;
	height:21px;
	background-color:transparent;
	background-position: top center;
	background-repeat: no-repeat;
}

div.newgame_en{	background-image: url(images/newgame_en.gif); }
div.newgame_de{	background-image: url(images/newgame_de.gif); }
div.newgame_es{ background-image: url(images/newgame_es.gif); }
div.newgame_fr{ background-image: url(images/newgame_fr.gif); }
div.newgame_jp{	background-image: url(images/newgame_jp.gif); }
div.newgame_pt{	background-image: url(images/newgame_pt.gif); }
div.newgame_da{	background-image: url(images/newgame_da.gif); }
div.newgame_it{	background-image: url(images/newgame_it.gif); }
div.newgame_nl{	background-image: url(images/newgame_nl.gif); }
div.newgame_sv{	background-image: url(images/newgame_sv.gif); }

/*Most Popular*/
div.topgame_en,
div.topgame_de,
div.topgame_es,
div.topgame_fr,
div.topgame_jp,
div.topgame_pt,
div.topgame_da,
div.topgame_it,
div.topgame_nl,
div.topgame_sv
{
	width:195px;
	height:25px;
	background-color:transparent;
	background-position: top center;
	background-repeat: no-repeat;
}

div.topgame_en{ background-image: url(images/topgame_en.gif); }
div.topgame_de{ background-image: url(images/topgame_de.gif); }
div.topgame_es{ background-image: url(images/topgame_es.gif); }
div.topgame_fr{ background-image: url(images/topgame_fr.gif); }
div.topgame_jp{ background-image: url(images/topgame_jp.gif); }
div.topgame_pt{ background-image: url(images/topgame_pt.gif); }
div.topgame_da{ background-image: url(images/topgame_da.gif); }
div.topgame_it{ background-image: url(images/topgame_it.gif); }
div.topgame_nl{ background-image: url(images/topgame_nl.gif); }
div.topgame_sv{ background-image: url(images/topgame_sv.gif); }


/* MAIN CONTENT STYLES */

/* main_index styles */
#feature{
	margin-left:5px;
}

.fgame{
	margin:0px 0px 0px 8px;
	padding:0px;
	width:180px;
	text-align:center;
	list-style-type:none;
	line-height:1.2em;
}

.fgame li{
	margin:0px auto;
	width:180px;
}

.game{
	margin:0px 0px 0px 9px;
	padding:0px;
	width:100px;
	float:left;
	list-style-type:none;
	line-height:1.2em;
	overflow:hidden;
}

.fgame a, .game a{
	font-weight:bold;
}

.game span{/* used for numbers or date */
	font-weight:bold;
	line-height:1.4em;
	color: #339900;
}

#feature h3{
	margin:0px;
	padding:10px 0px 0px 0px;
	font-size:1.4em;
	font-weight:bold;

}

#feature h4{
	margin:0px;
	padding:0px 0px 10px 0px;
	font-size:1em;
	font-weight:bold;
	color: #339900;
}

/* genrelist found on index.php*/

h3.genrecaption{
	font-family: verdana, arial, sans-serif;
	margin:0px;
	padding:20px 30px;
	text-align:left;
    font-size: 16px;
    font-weight: bold;
}

h3.genrecaption strong{
		color: #339900;
}

h3.genrecaption span{
	color: #339900;
	font-size:10px;
}
.listcontainer{
	width:540px;
	margin:15px 0px 15px 15px;
	padding:0px;
	background-color: #d4e3f0;
	background:transparent url(images/listcontainer.gif) top left repeat-y;
}

.list{
	margin:0px;
	padding:0px 0px 0px 10px;
	width:260px;
	float:left;
}

.list a{
	display:block;
	font-weight:bold;
	font-size: 0.94em;
	line-height:1.8em;
}
.bullets li{
	margin:0px 10px;
	padding:0px 0px 0px 15px;
	background:transparent url(../../images/bullets/bullet_blue.gif) center left no-repeat;
}

.requirements{
	font-size:11px;
}

/* SORT LIST  browse.php */

#sortlist label, #sortlist select{
	float:left;
	line-height:1em;
}
#sortlist label{
	margin-left:2px;
	margin-right:2px;
}

#sort{
	margin-left:2px;
	width:100px;
}
#order{
	margin-left:2px;
	width:100px;
}
#genre{
	margin-left:2px;
	margin-right:2px;
	width:100px;
}
.textbox{
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #b3cedc;
	color:#777;
}

/* box classes */

.comment{
	margin: 20px 0px 10px 15px;
}

.pagination{
	margin: 10px 0px 10px 5px;
	padding: 4px;
	font-size: 95%;
	border: 1px solid #EFEFEF;
	background: #F8F8F8;
}

.post{
	padding: 3px 10px;
	margin: 0px 5px 10px 5px;
	clear:both;
}

.post-footer {
	font-size: 95%;
	border: 1px solid #EFEFEF;
	background: #F8F8F8;
	padding: 3px 10px;
	margin: 20px 0px 10px 15px;
	clear:both;
}

.post-footer .date {
	background: url('images/clock.gif') no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .comments {
	background: url('images/comment.gif') no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

.post-footer .readmore {

	background: url('images/page.gif') no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* Request view */
iframe#requestframe{
	margin:0px auto;
	width:500px;
	height:350px;
}

#requestBack{
	margin:0px 0px 0px 225px;
}

/* Play view */

#playBack{
	margin:0px 0px 0px 325px;
}

/* MAIN */

#main h4, #main form, #main .text div, #main .text p{
	margin-left:15px;
}

/* SIDE BAR */

.sidebar{
	margin:0px 0px 10px 0px;
	padding:0px;
	width:140px;
}

.sidebar h4{
	padding:7px 7px 4px 7px;
	width:126px;
	border-bottom:1px solid #0066c6;
	line-height:16px;
	font-size:1.4em;
	background:#219df4 url(images/h4_sidebar.gif) top left no-repeat;
	text-align:left;
	color:#fff;
}

.sidebar .text{
	padding:5px 5px 0px 5px;
	text-align:left;
	font-size:1em;
	font-weight:normal;
	border:2px solid #0066c6;
	border-top:0px;
	border-bottom:0px;
}

.sidebar .bottom{
	padding:0px 0px 10px 0px;
	width:140px;
	background:transparent url(images/sidebar_bottom.gif) bottom left no-repeat;
}

/* MAIN over ride headers inside alt layout */
/* ALT LAYOUT */
#main h3.alt_top, #main h4.alt_top{
	margin: 0;
}

#main h3.alt_top{
	padding:5px 5px 15px 5px;
	font-size:1.6em;
}

#main .alt_bottom .post-footer{
	 margin-left:0px;
}
#main .alt_bottom{
	margin-right:0px;
}

/* ALT MODULE BOX */
.alt_top{
	padding:5px 5px 15px 5px;
	color:#00305b;
	font-weight:bold;
	background: #ffffff url(images/alt_top.jpg) top left repeat-x;
	font-size: 1.2em;
}

.alt_bottom{
	margin:0px 5px 15px 5px;
	border:1px solid #d7e9fd;
	background: #ffffff url(images/alt_bottom.jpg) bottom left repeat-x;

}
.alt_text{
	padding:4px 4px 15px 4px;
}

/* ### LOGINMENU ### */
#LoginForm{
	margin:0px;
	padding:0px;
	border:none;
	background-color:#ffffff;
}
#LoginForm .textbox{
	width:110px;
}

.success{
	margin:0px;
	padding:5px 5px 5px 28px;
	border:1px solid #009900;
	background:#ddffdd url(../../images/icons/icon_check.gif) 5px 5px no-repeat;
}
.error{
	margin:0px;
	padding:5px 5px 5px 28px;
	border:1px solid #fbf1a3;
	background: #fdf8d2 url(../../images/icons/icon_error.gif) 5px 5px no-repeat;
}

/** online-games page */

#ogfeature img, #ogfeature object{
	margin:4px 8px 4px 0px;
	float:left;
}

#ogfeature h3, #ogfeature p{
	margin:0px;
	padding:0px;
}

.ogsubfeature{
	margin:0px;
	padding:0px 0px 0px 15px;
	height:40px;
	width:259px;
	float:left;
}
.ogsubfeature img{
	float:left;
	margin-right:5px;
}

.ogsubfeature strong a{
	margin:0px;
	padding:2px 0px 0px 0px;
	width:184px;
	height:18px;
	display:block;
	overflow:hidden;
}

.onlinelink{
	margin:0px;
	padding:0px 0px 0px 5px;
	float:left;
	display:block;
	width:269px;
	height:20px;
	cursor:pointer;
}

.onlinelink strong{
	margin:0px;
	padding:2px 0px 0px 10px;
	float:left;
	display:block;
	width:209px;
	height:18px;
	overflow:hidden;
}

.onlinelink span{
	margin:0px;
	padding:0px 0px 0px 5px;
	display:block;
	width:45px;
	float:right;
}


/* GAME INFO  PAGE*/

#main .gameinfo-right h3{
	padding:0px;
	margin:0px;
}

.gameinfo-left{
	width:230px;
	float:left;
}

.gameinfo-left .btn_download{
 	margin:10px 0px 5px 25px;
 }

.gameinfo-left .btn_cart{
	margin:5px 0px 10px 25px;
}

.gameinfo-left .btn_play{
	margin: 5px 0px 5px 25px;
}

.gameinfo-right{
	margin:0px;
	padding:0px 0px 0px 10px;
	width:329px;
	float:right;
	border-left:1px solid #b3cedc;
}

.gameinfo-right .btn_video{
	margin: 5px 0px 5px 95px;
}

.gameinfo-right .requirements{
	margin:0px;
	float:left;
 	padding-top:10px;
 	padding-left:0px;
 	width:239px;
}

.requirements strong{
	color:#003366;
}



#gameinfo .btn_back{
	margin:20px 0px 20px 245px;
}
.screenshots{
	margin:5px auto;
	padding:5px 0px;
	text-align:center;
	border: 1px solid #b3cedc;
	border-left:0px;
	border-right:0px;
	width:260px;
}

