@charset "utf-8";

* {
	padding: 0;
	margin: 0;
	border: 0;
}

body {
	padding: 0;
	margin: 0;
	text-align: left;
	background-color: #F4F4F4;
	font: 11px Verdana ,Tahoma, Arial, Helvetica sans-serif;
	color: #717171;
	line-height: 15px; /* 13px - default size */
}

a {
	text-decoration: none;
	font-weight: bold;
	color: #717171;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	text-decoration: none;
	color: #C3C3C3;
}

a:visited:hover {
	text-decoration: underline;
}

td {
	padding: 1px;
}

.clear {
    clear: both;
}

.pad_bottom {
    padding-bottom: 15px;
}

div#container {
	width: 986px;
	margin: 0 auto;
}

div#wrap {
	clear: both;
	padding-top: 15px;
	overflow: hidden;
	height: 100%;
}

/* ===== HEADER ===== */
div#header {
	width: 986px;
	height: 100px;
	background: url(../images/header_background.jpg) no-repeat;
	position: relative;
}

div#logo {
	position: absolute;
	top: 33px;
	left: 25px;
}

div#search {
	position: absolute;
	top: 45px;
	right: 25px;
	width: 298px;
}

div#search_input_text {
	float: left;
}

div#search_image_button {
	float: right;
}

input#search_edit {
	border: 1px #4A8D01 solid;
	background-color: #FFF;
	color: #7F7F7F;
	padding: 2px;
	width: 215px;
}

/* ===== MENU ===== */

div#menu_area {
	width: 986px;
	height: 33px;
	background: url(../images/menu.png) no-repeat; 
	margin-top: 15px;
	position: relative;
	margin-bottom: 2px;
}

div#menu {
	position: absolute;
	top: 8px;
	right: 20px;
}

ul#menu_list {
	list-style: none;
}

ul#menu_list li {
	display: inline;
	padding: 0 20px 0 20px;
}

ul#menu_list li a {
	font-weight: bold;
	text-decoration: none;
	color: #FFF;
}

ul#menu_list li a:hover {
	text-decoration: underline;
}

/* ===== INTRODUCTION TEXT ===== */

div#introduction {
	background-color: #F2F2F2;
	border: 1px #EBEBEB solid;
	width: 476px;
	height: 82px;
	text-align: justify;
	padding: 7px;
	float: left;
}

div#introduction img {
	float: left;
	border: 1px #EBEBEB solid;
	margin-right: 7px;
}

/* ===== ADV ===== */

div#dam_1 {
	background-color: #F2F2F2;
	border: 1px #EBEBEB solid;
	text-align: center;
	width: 476px;
	height: 82px;
	padding: 7px;
	float: right;
}

div#dam_1_title {
	color: #DADADA;
	padding-bottom: 5px;
	letter-spacing: 5px;
}

div.db {
	clear: both;
	text-align: center;
	padding-top: 30px;
}

div.db_2 {
	clear: both;
	text-align: center;
}

div#db_menu {
	position: absolute; 
	left: 10px; 
	top: 8px;	
}

/* ===== SIDEBARS ===== */

div#left_sidebar {
	width: 193px;
	float: left;	
}

div#right_sidebar {
	width: 193px;
	float: right;
}

h1 {
	width: 161px;
	height: 23px;
	background: #3876AA url(../images/blue_header.png) no-repeat;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	padding: 6px 0 0 32px;
}

h2 {
	width: 161px;
	height: 23px;
	background: #81C13D url(../images/green_header.png) no-repeat;
	color: #FFF;
	font-size: 12px;
	font-weight: bold;
	padding: 6px 0 0 32px;
}

div.border_box {
	border: 1px #E1E1E1 solid;
	margin: 1px 0 1px 0;
	/*width: 191px;*/
}

div.box {
	border: 1px #FFF solid;
	background: #EFEFEF url(../images/box_background.gif) repeat-x bottom;
	padding: 0 6px 6px 6px;
}

div.text_box {
	border: 1px #FFF solid;
	background: #EFEFEF url(../images/box_background.gif) repeat-x bottom;
	padding: 6px 6px 6px 6px;
	line-height: 18px;
}

/* ===== BLUE and GREEN LISTS ===== */

ul.blue_list, ul.green_list {
	list-style: none;
}

ul.blue_list li {
	background: url(../images/blue_point.gif) no-repeat 8px 10px;
	border-bottom: 1px #E1E1E1 solid;
	padding: 4px 0 4px 20px;
}

ul.green_list li {
	background: url(../images/green_point.gif) no-repeat 8px 10px;
	border-bottom: 1px #E1E1E1 solid;
	padding: 4px 0 4px 20px;
}

ul.blue_list li a, ul.green_list a {
    display: block;
}

/* ===== CONTENT ===== */

div#content {
	width: 570px;
	float: left;
	margin-left: 15px;
}

h3 {
	color: #3F7EB4;
	font-size: 15px;
	clear: both;
}

h4 {
	color: #81C13D;
	font-size: 10px;
	border-bottom: 1px #E1E1E1 solid;
	padding-bottom: 1px;
	margin-bottom: 5px;
	clear: both;
}

div#my_games_count {
    bottom: -5px;
    color: #B5B5B5;
    font-size: 10px;
    font-weight: normal;
    position: absolute;
    right: 5px;
}

/* ===== FORM ELEMENTS ===== */

div.form_area {
	margin: 0 auto;
	width: 450px;
}

div.form_button {
	text-align: center;
	padding-top: 5px;
}

input.small_edit {
	border: 1px #4A8D01 solid;
	background: #FFF;
	padding: 2px;
	color: #7F7F7F;
	width: 155px;
}

input.main_edit {
	border: 1px #4A8D01 solid;
	background: #FFF;
	padding: 2px;
	color: #7F7F7F;
	width: 300px;
}

textarea.main_textarea {
	border: 1px #4A8D01 solid;
	background: #FFF;
	padding: 2px;
	color: #7F7F7F;
	width: 300px;
	height: 100px;
}

img.token {
	border: 1px #4A8D01 solid;
	margin: 2px 0 0 2px;
}

/* ===== CONTACT FORM ===== */

form#contact_form {
	margin-top: 15px;
	width: 450px;
}

/* ===== SELECTED GAME ===== */

div#normal_game_area {
	width: 560px;
	float: left;
	margin-left: 20px;
}

div#widther_game_area {
	width: 770px;
	float: left;
	margin-left: 20px;
}

div#game_name {
	width: 100%;
	height: 21px;
	padding-top: 2px;
	margin-top: 3px;
	text-align: center;
	color: #3F7EB4;
	font-weight: bold;
	font-size: 15px;
	position: relative;
}

div#back {
	background: url(../images/back.jpg) no-repeat;
	float: left;
	height: 21px;
	text-align: right;
	font-size: 11px;
	position: absolute;
	top: 0;
	left: 0;
}

div#back a, div#random_game a {
	display: block;
	padding-left: 25px;
	margin-top: 3px;
	color: #81C13D;
}

div#random_game {
	background: url(../images/random_game.jpg) no-repeat;
	float: right;
	height: 21px;
	text-align: right;
	font-size: 11px;
 	position: absolute;
	top: 0;
	right: 0;
}

div#selected_game {
	padding: 10px 0 10px 0;
	text-align: center;
}

div#game_information {
	position: relative;
	overflow: hidden;
	height: 100%;
}

div#game_add_date {
	background: url(../images/add_date.jpg) no-repeat;
	height: 22px;
	width: 31%;
	float: left;
	padding: 1px 0 0 25px;
}

div#game_played {
	background: url(../images/played.jpg) no-repeat;
	height: 22px;
	width: 31%;
	float: left;
	clear: left;
	padding: 1px 0 0 25px;
}

div#game_mark {
	background: url(../images/mark.jpg) no-repeat;
	height: 22px;
	width: 30%;
	float: left;
	padding: 1px 0 0 25px;
}

div#game_voted {
	background: url(../images/voted.jpg) no-repeat;
	height: 22px;
	width: 30%;
	float: left;
	padding: 1px 0 0 25px;
}

div#rating_system {
	position: absolute;
	bottom: 2px;
	right: 12px;
	height: auto;
}

div#rating_system.voted {
	bottom: 7px;
	right: 0;
}

div#add_to_favorite {
	position: absolute;
	top: 0;
	right: 0;
	text-align: right;
}

div#add_to_favorite a {
   	color: #81C13D;
}

div#add_to_favorite a.red {
   	color: #FF0000;
}

div.full_section_area {
    border: 1px #E1E1E1 solid;
	background-color: #F4F4F4;
	padding: 15px 9px 9px 9px;
}

div#full_game_description {
	float: left;
	width: 49%;
	position: relative;
	margin-top: 25px;
}

div#full_game_instruction {
	float: right;
	width: 49%;
	position: relative;
	margin-top: 25px;
}

div.full_section_header {
    position: absolute;
	background-color: #FFF;
	left: 10px;
	top: -13px;
	font-weight: bold;
	border: 1px #E1E1E1 solid;
	padding: 5px;
}

/* RATING SYSTEM */

.rating_container {
	float: left;
}

.star-rating, .star-rating a:hover, .star-rating a:active, .star-rating a:focus, .star-rating .current-rating {
	background: url(../images/star.gif) left -1000px repeat-x;
}

.star-rating {
	position: relative;
	width: 125px;
	height: 25px;
	overflow: hidden;
	list-style: none;
	margin: 0;
	padding: 0;
	background-position: left top;
}

.star-rating li {
	display: inline;
	padding: 0 !important;
}

.star-rating a, .star-rating .current-rating {
	position: absolute;
	top: 0;
	left: 0;
	text-indent: -1000em;
	height: 25px;
	line-height: 25px;
	outline: none;
	overflow: hidden;
	border: none;
	padding: 0 !important;
}

.star-rating a:hover, .star-rating a:active, .star-rating a:focus {
	background-position: left bottom;
}

.star-rating .current-rating {
	z-index: 1;
	background-position: left center;
}

.inline-rating {
	display: -moz-inline-block;
	display: -moz-inline-box;
	display: inline-block;
	vertical-align: middle;
}

/* ===== GAMES BOX ===== */

div.game_box {
	width: 272px;
	float: left;
	margin: 5px;	
}

div.game_image {
	background-color: #E1E1E1;
	width: 66px;
	height: 56px;
	position: relative;
	float: left;
	margin-right: 5px;
	position: relative;
}

div.game_image img {
	border: 1px #F9F9F9 solid;
	position: absolute;
	top: 2px;
	left: 2px;
}

div.loader {
	background: url(../images/loader.gif) no-repeat;
	width: 24px;
	height: 24px;
	position: absolute;
	top: 16px;
	left: 21px;
}

div.game_title {}

div.game_description {
	font-size: 10px;
	line-height: normal;
}

div.game_box a.del_link {
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    right: 2px;
    top: -2px;
    background: transparent url(../images/ico_fav_del.jpg) no-repeat 0 0;
}

div.game_box a.del_link:hover {
    background-position: 0 -14px;
}

/* ===== HELP PAGE =====*/

div#help_programs {
	overflow: hidden;
	height: 100%;
	padding: 15px 0 15px 0;
}

div#help_programs div.program {
	width: 190px;
	float: left;
	text-align: center;
}

div.program a span {
	display: block;
}

div.program a:hover {
	text-decoration: none;
}

div.program a:hover span {
	text-decoration: underline;
}

/* ===== PAGE CARDS ===== */

div.pagecards {
	clear: both;
	text-align: center;
	padding-bottom: 15px;
	padding-top: 10px;
}

div.pagecards span
{
	padding: 2px 6px 2px 6px;
}

div.pagecards a
{
	color: #7F7F7F;
	padding: 2px 6px 2px 6px;
	border: 1px solid #E1E1E1;
	background-color: #EFEFEF;
	text-decoration: none;
}

div.pagecards a:hover
{
	color: #81C13D;
	border-color: #81C13D;
	text-decoration: none;
}

div.pagecards span.current
{
	border: 1px solid #EFF0F1;
	background-color: #81C13D;
	color: #FFF;
}

div.pagecards span.nextprev
{
	border: 1px solid #EFF0F1;
	color: #CCC;
}

/* ===== FOOTER ===== */

div#footer {
	background: url(../images/footer.png) no-repeat;
	width: 986px;
	height: 33px;
	margin: 15px 0 15px 0;
	position: relative;
}

div#footer a {
	color: #FFF;
	text-decoration: none;
}

div#footer a:hover {
	text-decoration: underline;
}

div#copyright {
	color: #FFF;
	font-size: 10px;
	position: absolute;
	top: 8px;
	left: 12px;
}

div#footer_links {
	color: #FFF;
	position: absolute;
	top: 8px;
	right: 100px;
	font-size: 10px;
}

div#stat {
	position: absolute;
	top: 7px;
	left: 490px
}

div#to_up {
	position: absolute;
	top: 8px;
	right: 28px;
	font-size: 10px;
}

/* OK, ERROR, WARNING MESSAGES */

div.ok_message {
	clear:both;
	margin: 10px 0 10px 0;
	border: 1px #008000 solid;
	background-color: #9DFF9D;
	color: #008000;
	padding: 5px;
	font-weight: bold;
}

div.error_message {
	clear:both;
	margin: 10px 0 10px 0;
	border: 1px #FF0000 solid;
	background-color: #FFB3B5;
	color: #FF0000;
	padding: 5px;
	font-weight: bold;
}

div.warning_message {
	clear:both;
	margin: 10px 0 10px 0;
	border: 1px #FF2A00 solid;
	background-color: #FFFF8A;
	color: #FF2A00;
	padding: 5px;
	font-weight: bold;
}