body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    /*height: 100%;*/
    margin: 0;
    padding: 0;
	background: #7ECF67;
}

/* Taken from: http://sitening.com/blog/create-a-modal-dialog-using-css-and-javascript/ */
#overlay {
    display: none;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1000;
    background: white;
}

#overlay #dialog-content {
    width: 300px;
    margin: 100px auto;
    background-color: #4AC627;
    border: 1px solid #000;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: center;
    opacity: 1.0;
}

#overlay a {
    color: #FFFFFF;
}

#overlay #dialog-content #dialog-title {
    font-weight: bold;
    font-size: 26px;
}

#overlay #dialog-content #dialog-buttons {
    text-align: right;
    padding-top: 10px;
}

a:link {
    color: #2B7A18;
}

a:visited {
    color: #1A470E;
}

/* HEADER */
#header {
    height: 130px;
    font-family: "Courier New", Courier, monospace;
    /* NEW HEADER */
    background-image: url(/images/header-border-left.png);
    background-repeat: no-repeat;
    background-position: left top;
    float: left;
    margin: 0;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 15px;
}

#header-border-right {
    background-image: url(/images/header-border-right.png);
    background-repeat: no-repeat;
    background-position: right top;
    float: none;
    padding-right: 15px;
    min-height: 130px;
}


/*
 .header-link a:link {
 color: #FFFFFF;
 font-style: normal;
 border-bottom-style: solid;
 border-bottom-width: 1px;
 text-decoration: none;
 }
 .header-link a:visited {
 color: #FFFFFF;
 font-style: normal;
 border-bottom-style: solid;
 border-bottom-width: 1px;
 text-decoration: none;
 }
 .header-link a:hover {
 color: #FFFFFF;
 font-style: normal;
 border-bottom-style: dashed;
 border-bottom-width: 1px;
 text-decoration: none;
 } */
#header_nav_main {
    position: absolute;
    left: 85px;
    top: 67px;
    z-index: 3;
    color: #FFFFFF;
}

#header_nav_user {
    position: absolute;
    z-index: 4;
    text-align: right;
    /*width: 290px;*/
    float: right;
    right: 15px;
    top: 13px;
}

#header_nav_user #header-ajax-login {
    float: right;
    clear: right;
    padding-left: 10px;
}

.header-button {
    height: 40px;
    width: 150px;
    background-color: #FFFFFF;
    text-align: center;
    clear: right;
    float: right;
    font-size: 20px;
}

.header-button a:link {
    color: #000000;
    background-color: #FFFFFF;
    display: block;
    width: 150px;
    height: 40px;
    float: left;
    padding-top: 10px;
}

.header-button a:visited {
    color: #000000;
    background-color: #FFFFFF;
    display: block;
    width: 150px;
    height: 40px;
    padding-top: 10px;
}

.header-button a:hover {
    color: #4AC627;
    background-color: #666666;
}

.nav-button {
    height: 20px;
    width: 100px;
    background-color: #FFFFFF;
    text-align: center;
    font-size: 12px;
	clear: none;
	float: left;
	margin-left: 5px;
}

.nav-button a:link {
    color: #000000;
    background-color: #FFFFFF;
	display: block;
    height: 20px;
    width: 100px;
	padding-top: 5px;
	text-decoration: none;
	font-family: "Courier New", Courier, monospace;
}

.nav-button a:visited {
    color: #000000;
    background-color: #FFFFFF;
	display: block;
    height: 20px;
    width: 100px;
}

.nav-button a:hover {
    color: #4AC627;
    background-color: #666666;
	display: block;
    height: 20px;
    width: 100px;
}

.game {
    background-color: #000000;
    border-color: #000000;
    border-style: solid;
    border-width: 2px;
    color: #FFFFFF;
    width: 500px;
}

.game a:link {
    color: #4AC627; /* Lightish Green */
}

.game a:visited {
    color: #35941D; /* Dark Green */
}

.game a:hover {
    color: #FFFFFF; /* White */
}

.game .title {
    padding: 2px;
    height: 20px;
}

.game .vote {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.game .game-description {
    padding-left: 15px;
    background-color: #FFFFFF;
    color: #000000;
}

.game-list-spacer {
    height: 5px;
}

#header_text a {
    color: #4AC627;
    text-decoration: none;
}

#after-game {
    float: left;
    width: 600px;
    clear: both;
}

#after-game #comments #comment_form .text #comment_text {
    height: 100px;
    width: 400px;
}

#comments {
}

#after-game #comments #title {
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}

/* COMMENTS */
.comment {
    border: 2px solid #666666;
}

.comment .comment_header .name {
    font-size: 16px;
    float: left;
    clear: none;
    width: 300px;
}

.comment .comment_header {
    background-color: #666666;
    border-bottom: 2px solid #666666;
    padding: 2px;
    height: 20px;
}

.comment .comment_header .datetime {
    padding-left: 5px;
    float: right;
    color: #4AC627;
    clear: none;
    width: 250px;
    text-align: right;
}

.game-rating {
    padding-left: 5px;
    float: right;
    color: #4AC627;
    clear: both;
    width: 125px;
    text-align: right;
}

.comment .text {
    padding-left: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-right: 3px;
	background: #FFFFFF;
}

.comment a:link {
    color: #FFFFFF;
}

.comment a:visited {
    color: #EDEDED;
}

.comment a:hover {
    /* padding-left: 2px; */
    color: #4AC627;
}

/* GAME */
#left-sidebar {
    clear: both;
    float: left;
    
}

#game-header {
    color: #FFFFFF;
	height: 75px;

}
.game-header-left {
	height: 82px;
	background-image: url("/images/game-header-left.png");
	background-position: left top;
	background-repeat: no-repeat;
}
.game-header-right {
	height: 82px;
	background-image: url("/images/game-header-right.png");
	background-position: right top;
	background-repeat: no-repeat;
	padding-top: 10px;
}
.game-header-middle {
	height: 82px;
	background-image: url("/images/game-header-middle.png");
	background-position: center top;
	background-repeat: repeat-x;
}

#game-body {
    background-color: #009900;
}
#game-body .top-left-corner {
	background-image: url("/images/game-body-background/top_left.png");
	background-position: left top;
	background-repeat:no-repeat;
}
#game-body .top-right-corner {
	background-image: url("/images/game-body-background/top_right.png");
	background-position: right top;
	background-repeat:no-repeat;
}
#game-body .bottom-left-corner {
	background-image: url("/images/game-body-background/bottom_left.png");
	background-position: left bottom;
	background-repeat:no-repeat;
}
#game-body .bottom-right-corner {
	background-image: url(/images/game-body-background/bottom_right.png);
	background-repeat:no-repeat;
	background-position: right bottom;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 15px;
	padding-bottom: 15px;
}
#game-body .top {
	background-image: url("/images/game-body-background/top.png");
	background-position: center top;
	background-repeat:repeat-x;
}
#game-body .right {
	background-image: url("/images/game-body-background/right.png");
	background-position: right center;
	background-repeat:repeat-y;
}
#game-body .bottom {
	background-image: url("/images/game-body-background/bottom.png");
	background-position: center bottom;
	background-repeat:repeat-x;
}
#game-body .left {
	background-image: url(/images/game-body-background/left.png);
	background-repeat:repeat-y;
	background-position: left center;
}
#game-body .google-ad {
  padding: 2px;
}

#game-name {
    font-size: 30px;
    color: #FFFFFF;
	text-align: center;	
	padding-bottom: 4px;
}
#game-info {
	text-align: center;
}
#game-info .vote-total {
	border-color: #CCCCCC;
	border-style: solid;
	border-width: 1px;
	display: inline;
	padding: 3px; 
}
#game {
    float: left;
    clear: none;
    border-style: solid;
    border-color: #000000;
    border-width: 3px;
    background-color: #000000;
}

#after-game #user_votes {
    float: left;
    padding-right: 20px;
}

#game_side {
    clear: none;
}

.widget-box {
    width: 250px;
    border-style: solid;
    border-width: 3px;
    border-color: #000000;
    float: left;
}

.widget-box .title {
    font-weight: bold;
    padding: 2px;
    background-color: #000000;
    color: #FFFFFF;
}

.widget-box .text {
    padding: 5px;
    background-color: #FFFFFF;
}
.widget-box .detail {
    background: #FFFFFF;
}

.widget-spacer {
    height: 5px;
    width: 1px;
    clear: both;
    height: 5px;
}

.vote_selected {
    width: 35px;
    height: 35px;
    border-color: black;
    border-width: 2px;
    border-style: dashed
}

.user_vote .name {
    display: inline;
}

.user_vote .vote {
    display: inline;
    width: 15px;
    height: 15px;
}

#game_name {
    display: inline;
}

.vote_change_button {
    vertical-align: middle;
}

#game_side {
    float: left;
    padding-left: 5px;
}

.section-heading {
    font-size: 18px;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
}

h1 {
    font-size: 18px;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
}

h2 {
    font-size: 14px;
    font-weight: bold;
    font-family: "Courier New", Courier, monospace;
}

.new-highlight {
    background-color: #009900;
}

.game-info-vote {
    width: 15px;
    height: 15px;
}

.comment-spacer {
    height: 10px;
}

.comment-login-required {
    padding-top: 5px;
    padding-bottom: 5px;
}

#admin_content {
    padding-top: 15px;
}

/* Footer is 60px tall*/
#footer-content {
    width: 100px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 20px;
    padding-top: 15px;
    clear: none;
}

#footer-content a:link {
    color: #FFFFFF;
}

#footer-content a:visited {
    color: #FFFFFF;
}

#footer-content a:hover {
    color: #4AC627;
}

#footer-tiny {
    width: 350px;
    float: right;
    font-size: 10px;
    clear: none;
    text-align: right;
    padding-right: 5px;
}

#footer-tiny a:link {
    color: #FFFFFF;
}

#footer-tiny a:visited {
    color: #FFFFFF;
}

#footer-tiny a:hover {
    color: #FFFFFF;
}

#header #logo {
    clear: none;
    float: left;
}

#content {
    top: 202px;
    margin-left: 10px;
    clear: both;
    padding-bottom: 100px;
    padding-left: 20px;
    padding-top: 20px;
}

#footer {
    color: #FFFFFF;
    /* background-image: url(/images/footer.png); */
	background-color: #000000;
}

.login-note {
    color: #666666;
}

#game_list {
    float: left;
    clear: left;
    width: 525px;
}

#home_wrapper #right-sidebar {
    float: right;
    margin-right: 25px;
}

/* PROFILE SECTION */
#profile #comments_list {
    width: 600px;
    float: left;
    clear: left;
}

#profile #votes_list {
    width: 200px;
    float: left;
    padding-left: 25px;
}

.form-label {
    width: 125px;
    float: left;
}

.form-input {
    clear: none;
}

.clear-fix {
    clear: both;
    height: 0px;
}

#message-list .message {
    clear: both;
    padding: 5px;
}

#message-list .message .usernames {
    clear: none;
}

#message-list .message .subject {
    clear: none;
}

#message-view {
    border-color: #000000;
    border-width: 3px;
    border-style: solid;
    width: 500px;
}

#message-view .header {
    padding: 5px;
    color: #FFFFFF;
    background-color: #000000;
}

#message-view .header a {
    color: #FFFFFF;
}

#message-view .message {
    padding: 5px;
}

#message-buttons {
    padding: 2px;
    color: #FFFFFF;
    background-color: #000000;
}

#message-buttons a {
    color: #FFFFFF;
}

#message-view #reply {
    float: left;
    clear: none;
}

#message-view #mark-unread {
    float: right;
    clear: none;
    margin-left: auto;
    width: 200px;
    text-align: right;
}

.spacer5 {
    height: 5px;
    clear: both;
}

#messaging-placeholder {
    display: inline;
    /*visibility: hidden;*/
}

#messaging {
    padding: 5px;
	background-color: #ffffff;
	float: left;
}

#login-confirm {
    position: absolute;
    text-align: right;
    float: right;
    background-color: #4AC627;
    top: 90px;
    right: 10px;
    padding: 5px;
}

.dynamic_string {
    padding: 5px;
    border-style: solid;
    border-color: #000000;
    border-width: 2px;
}

.panic-button {
    width: 240px;
    display: block;
    height: 70px;
	background-image: url("/images/panic-button.png");
}

/* CHAT */

#fixed_footer_bar {
	bottom: 0;
	width: 80%;
	height: 15px;
	z-index: 999;
	position: fixed;
	background: #000000;
	color: #4AC627;
	border-color: #CCCCCC;
	border-style: solid;
	border-width: 2px;
	margin-left: 10%;
	margin-right: 10%;
	padding: 3px;
}
#fixed_footer_bar .info {
	float: left;
	clear: none;
}
#fixed_footer_bar .windows_links {
	float: right;
	clear: none;
}

#fixed_footer_bar .window_title {
	display: block;
	float: right;
	clear: none;
	background-color: #FFFFFF;
	padding: 1px;
	margin-right: 2px;
}

.window {
	position: fixed;
	z-index: 1000;
	background-color: #ffffff;
	border-color: #000000;
	border-width: 1px;
	border-style: solid;
}
.chat {
	height: 200px;
	width: 200px; 
}

.window .title {
	background-color: #000000;
	color: #ffffff;
	width: 100%;
}
.chat .content .chat_area {
	overflow-y: scroll;
	overflow-x: hidden;
	height: 150px;
	padding: 4px;
}
.chat .content .chat_entry {
	width: 135px;
}

