/**
 * Template Aqua
 *
 * 
 *
 * 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 Stephen harrow <StephenHarrow@gmail.com>
 * @version 1.0
 * @package PNP Tools
 * @subpackage SGS
 *
 * @copyright Copyright (c) 2009 Big Fish Games, Inc.
 * @license http://creativecommons.org/licenses/GPL/2.0/ Creative Commons GNU GPL
 */
/**
 * Custom template functions and configuration options.
 */
*{
	margin:0px;
	padding:0px;
}

body{
	margin:0px;
	padding:0px;
	font: normal .70em/1.6em "Tahoma", Courier, Verdana, Arial, Helvetica, sans-serif;
	color:#333333;
	text-align:center;
	background:#000000 url(images/background.jpg) top center repeat fixed;

}

a{ color:#000000;text-decoration:none;}
a:hover{ text-decoration:underline; color:#00006F;}

h1,h2,h3,h4,h5{
 	font: normal 1.8em "Tahoma", Courier, Verdana, Arial, Helvetica, sans-serif;
	color:#000000;
}

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{}

ul { margin: 0; padding : 0; list-style : 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{
	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: 0px;
	padding: 0px;
}

label {
	display:block;
	font-weight:bold;
	margin:2px;
	padding: 2px;
}

input {
	margin:0px 5px 0px 5px;
	padding: 2px;
	border:1px solid #9c9c9c;
	border-bottom:1px solid #ffffff;
	border-right:1px solid #ffffff;
	font: normal 1em "Courier New", Courier, Verdana, 'Trebuchet MS', Tahoma, sans-serif;
	color: #666666;
	background: #fbf8f2 url(images/textbox.gif) top left repeat-x;

}

input:hover {
	border:1px solid #abaaaa;
	border-bottom:1px solid #ffffff;
	border-right:1px solid #ffffff;
	background: #ffffff url(images/textbox_hover.gif) top left repeat-x;
}

textarea {
	width: 280px;
	margin:0px 5px 5px 5px;
	padding: 2px;
 	border:1px solid #9c9c9c;
	border-bottom:1px solid #ffffff;
	border-right:1px solid #ffffff;
	font: normal 1em "Courier New", Courier, Verdana, 'Trebuchet MS', Tahoma, sans-serif;
	height:100px;
	display:block;
	color: #666666;
	background: #fbf8f2 url(images/textbox.gif) top left repeat-x;
}

textarea:hover{
	border:1px solid #abaaaa;
	border-bottom:1px solid #ffffff;
	border-right:1px solid #ffffff;
	background: #ffffff url(images/textbox_hover.gif) top left repeat-x;
}

/* helper classes */

.clear { clear: both; }
.clear-both{ clear:both; }
.clear-left{
	clear:left;
}

.clear-right{
	clear:right;
}

.clearfix{
	display:block;
	clear:both;
	height:1px;
}

.clearme{
	clear:both;
}

.spacer{
	padding:4px;
}

.pointer{
	cursor:pointer;
}

.float-left  { float: left; }
.float-right { float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }
.align-center{ text-align:center; }

.textbox{
	font: normal 1em Verdana, sans-serif;
	color: #333333;
}

.button{
	font-weight:bold;
	color:#ffffff;
	background-color:#459298;
	border:1px solid #ffffff;
	border-bottom:1px solid #000000;
	border-right:1px solid #000000;
}

.button:hover{
	background-color:#8AD5CE;
	border:1px solid #ffffff;
	border-bottom:1px solid #a09086;
	border-right:1px solid #a09086;
	cursor:pointer;
}

/*### PAGE LAYOUT ### */
#prepage{
	position: absolute;
	top: 0px;
	left: 0px;
	width:100%;
	height:0px;
	z-index: 500;
}

#precontainer{
	position:fixed;
	top: 0px;
	left: 0px;
 	width:100%;
	height:0px;
	padding:0px 0px 0px 0px;
	color:#dcdcdc;
	background: url(images/topbar.png) top left no-repeat; /* top menu */

	border-bottom:1px solid #459298;

}
#holder{
	width: 758px;
	margin: 0px auto;
	text-align:left;
}

#page{
	width: 758px;
	margin: 0px auto;
	padding: 0px 0px 0px 0px;
	background:#C7E6E5;
	border:1px solid #151515;
}

#header{
	margin:0px;
	padding:0px;
	position:relative;
	width: 758px;
	height: 138px;
	background: #459298 url(images/header2.jpg) top left no-repeat;
}

#header h1, #header h2{
	position:absolute;
	top:0px;
	margin:0px;
	padding:0px;
	
	color:#ffffff;
}

#header h1{
	top:40px;
	left:10px;
	text-align:left;
	font-size:30px;
	padding-top:0px;
}

#header h1 a,#header h1 a:hover{ /* title */
	color:#2B595E;
	text-decoration:none;
	outline:none;
	
	
}

#header h2 {
	top:90px;
	right:20px;
	text-align:right;
	color:#000000;
}

#utility{
	position:absolute;
	top:0px;
	right:-1px;
	display:inline;
	margin:0px;
	padding:0px 0px 0px 40px;
	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 20px 0px 10px;
	height:25px;
	float:left;
	line-height:25px;
	 /* search */
}

#content{
	margin: 0px auto;
	padding:0px;
	width: 758px;
}

#main{
	width:554px;
	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:758px;
	float:left;
	text-align:left;
}

#sidebar{
	width:193px;
	float:right;
	text-align:left;
}

#footer{
	margin: 0px auto 0px auto;
	padding:0px;
	padding-top:5px;
	width: 758px;
	border:1px solid #151515;
	background-color:#FFFFFF;
}

#disclaimer{

	background-image:url(images/footer.jpg);
}

/* ### FEATURED GAME ### */
.feature{
	position:relative;
	margin:0px;
	/* padding:0px; */
	padding-left:7px;
	padding-top:10px;
	width:190px;
	height:174px;
	background:transparent url(images/feature.png) top left no-repeat;
}

.feature span{
	display:block;
	position:absolute;
	top:0px;
	left:0px;
	margin:0px;
	padding:0px;
    width:190px;
	height:174px;
	background:transparent url(images/feature2.png) top left no-repeat;
	-moz-opacity:.7;
	opacity:.7;
	filter: alpha(opacity=30);

}
/* ## SUB FEATURE GAMES ## */

/* ### GENRELIST STYLES ### */

#genrecaption{
	margin:0px;
	padding:20px 30px;
	text-align:left;
    font-size: 16px;
    font-weight: bold;
   	letter-spacing:-0.1em;
}

#genrecaption strong{
	color: #993300;
}

#genrecaption span{
	color: #993300;
	font-size:11px;
}

#genrelist a{
	display:block;
}

/* ### BROWSE ARCHIVE ### */

/* SORT LIST */

#sortlist label, #sortlist select{
	float:left;
	line-height:1em;
}
#sortlist label{
	margin-left:2px;
	margin-right:2px;
}

#sort{
	margin-left:2px;
	width:90px;
}
#order{
	margin-left:2px;
	width:100px;
}
#genre{
	margin-left:2px;
	margin-right:2px;
	width:90px;
}

#sortlist .textbox{
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #d0bb9b;
}


/* ### GAME INFO VIEW ### */

#gameinfo{}
#gameinfo ul{
	margin:10px 0px;
}
#gameinfo ul, #gameinfo ul li{
	padding: 0px 0px 0px 20px;
}

#gameinfo ul li { background: url(images/bullet.png) 5px 5px no-repeat; }

.btn_video{
	display:block;
	margin:10px 0px;
	padding:10px;
}

/* ### REQUEST ### */

iframe#requestframe{
	margin:0px auto;
	/* width:500px; */
	width:528px;
	height:400px;

}

/* ## news_archive ## */

#news_archive ul{
	margin:4px;
	padding:4px;

}

#news_archive ul li{
	padding:4px;
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	list-style-image: url(images/bullet.png);
}

#news_archive ul li ul li{
	list-style-image: url(images/bullet.png);
}

#news_archive ul li ul li ul li{
	list-style-image: url(images/bullet.png);
}

/* ## DEFAULT MAIN BLOCKS ## */

#main .block{
	margin:0px 0px 20px 15px;
	width:526px;
	background: #8AD5CE url(images/block.jpg) top left no-repeat;
	border:1px double #50A8AF;
	border-left:none;
	border-top:none;
}

#main .block h3{
	margin: 0px 3px;
	padding:11px 15px;
	
}

#main .block .text{
	margin: 0px;
	padding:5px 15px;
}

/* ### SIDE BAR STYLES ### */

#sidebar .block{
	width:177px;
	margin:0px 0px 15px 0px;
	padding:0px;
	background:#fef2dd url(images/sb_center.jpg) top left repeat-y;
}

#sidebar .block h4{
	margin: 10px 0px 10px 0px;
	padding:7px 0px 3px 0px;
	font-weight:bold;
	text-align:center;
	
}

#sidebar .block .text{
	margin: 0px;
	padding:1px 20px 20px 15px;
}

.block_bottom{
	width:177px;
	margin:0px;
	padding:0px 0px 15px 0px;
 	background:transparent url(images/sb_bottom.jpg) bottom left no-repeat;
}

.block_top{
	width:177px;
	
	margin:0px;
	padding:25px 0px 0px 0px;
	background:transparent url(images/sb_top.jpg) top left no-repeat;
}

/* ### MENU STYLES ### */

/* SEARCH MENU */

#search form{
	border:none;
	background-color:#000000;
}

/* LOGIN MENU */

#loginmenu .button{
	margin:4px 4px;
}

.errors{
	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 10px;
	height:40px;
	width:235px;
	float:left;
}

.ogsubfeature img{
	float:left;
	margin-right:5px;
}

.ogsubfeature strong a{
	margin:0px;
	padding:2px 0px 0px 0px;
	width:170px;
	height:18px;
	display:block;
	overflow:hidden;
}

.onlinelink{
	margin:0px;
	padding:0px 0px 0px 10px;
	float:left;
	display:block;
	width:235px;
	height:20px;
	cursor:pointer;
}

.onlinelink strong{
	margin:0px;
	padding:2px 0px 0px 0px;
	float:left;
	display:block;
	width:180px;
	height:18px;
	overflow:hidden;
}

.onlinelink span{
	margin:0px;
	padding:2px 0px 0px 5px;
	display:block;
	width:30px;
	float:right;
}

/* Play view */

#playBack{
	margin:0px 0px 0px 0px;
}




input.button{
	width:auto;
	padding:2px;
	font: bold 1em/1.1em Verdana, 'Trebuchet MS', Tahoma, sans-serif;
	color: #ffffff;
	border:1px solid #1b83de;
	border-right:1px solid #004499;
	border-bottom:1px solid #004499;
	background: #004499 url(images/btn_right.png) 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.png) 0px -41px repeat-x;
}


a.btn{
	margin:10px 0px 0px 0px;
    padding: 0px 20px 0px 0px;
    
    float: left;
    font-weight: bold;
    color: #ffffff;
    background: transparent url(images/btn_right.png) top right no-repeat;
    text-decoration:none;
}

a.btn:hover{
    color:#000000;
    background-position: right bottom;
    text-decoration:none;
    cursor:pointer;
}

a.btn span{
    display: inline;
    position: relative;
    float: left;
    background-position: top left;
    background-repeat: no-repeat;
    font-weight: bold;
    color: #ffffff;
}

a.btn span{
    height: 25px;
    font-size: 11px;
    line-height: 14px;
    padding: 9px 0px 0px 40px;
    background-image: url(images/btn_arrow.png);
}

a.btn_download span{
     display: inline;
    position: relative;
    float: left;
    background-position: top left;
    background-repeat: no-repeat;
    font-weight: bold;
    color: #ffffff;
	 height: 25px;
    font-size: 11px;
    padding: 9px 0px 0px 40px;
    background-image: url(images/btn_arrow.png);

}

a.btn_cart span{
     display: inline;
    position: relative;
    float: left;
    background-position: top left;
    background-repeat: no-repeat;
    font-weight: bold;
    color: #ffffff;
	 height: 25px;
    font-size: 11px;
    line-height: 14px;
    padding: 9px 0px 0px 40px;
    background-image: url(images/btn_arrow.png);
}

a.btn:hover span{
    background-position: left bottom;
}


#navigation{
	display:block;
	position:absolute;
	text-align:center;
	top:120px;
	left:60px;
	margin:0px 0px 0px 10px;
	padding:0px 0px 0px 1px;
	width:748px;

	background: transparent url(images/divider.gif) top left no-repeat;
	
}

#navigation ul{
	margin:0px;
	padding:0px;

}

#navigation ul li{
	margin:0px;
	padding:0px 0px 0px 0px;
	list-style-type:none;

	float:left;
	background:transparent;
}

#navigation ul li a{
	display:block;
	margin:0px;
	padding:0px 10px 0px 10px;

	font-weight:bold;
	float:left;
	background:transparent url(images/divider.gif) top right no-repeat;
}

#navigation ul li a:hover{
background: #8AD5CE;

	
}

#navigation ul li a.sel{
	color:#e3bed2;
	background:#ffffff;

}

#navigation ul li a.sel:hover{

	border-bottom:none;
}

#navigation ul li a.current{
	color:#FFFFFF;
	background:transparent url(images/divider_sel.gif) top right no-repeat;

}

#navigation ul li a.current:hover{

	border-bottom:none;
}

a.btn_back{float:inherit;
background:url(images/btn_back.png) center;

height:20px;
border:1px solid #000000;
}

a.btn_back span{
background:url(images/btn_back.png) center;

float:inherit;
padding-left:20px;
background:transparent;
color:#000000;
}

a.btn_back:hover{background:url(images/btn_back_h.png) center no-repeat;}




