body{
    background-color: black;
    
    background-position: top center;
    background-repeat: no-repeat;
    font-family: sans-serif;
}

div#main {
    background-color: white;
    width: 1024px;
    margin: 0px auto;
}

div#banner {
    background-image: url(../img/TGBannerredesign.png);
    width: 984px;
    height: 108px;
    margin: -1px auto;
}

div#user{
    background-color: black;
    width: 984px;
    height: 30px;
    margin: 0px auto;

}

div#user ul{
    margin: 7px 10px 0px auto;
    float: right;
}

div#user ul li {
    list-style-type: none;
    display: inline;
}

div#user a:link, div#user a:visited{
    color: rgb(230,230,230);
    text-decoration:none;
    text-transform: uppercase;
    font-weight: bold;
    font-family: sans-serif;
}

div#user a{
    float: left;
    display: block;
    margin-right: 20px;
}

div.menu{
    width: 984px;
    background-color: black;
    margin: 0px auto;
    z-index: 200;
}

div.menu ul{
    list-style-type:none;
    margin:0;
    padding:0;
    overflow:hidden;
}

div.menu li{
    float: left;
}


div.feed {
    font-size: 12px;
    border-top: #333 solid 1px;
    border-left: #333 solid 1px;
    border-right: #333 solid 1px;
    margin-top: 7px;
    margin-bottom: 3px;
    margin-left: auto;
    margin-right: auto;
}

div.feed_item {
    padding: 5px;
    border-bottom: #333 solid 1px;
    position: relative;
}

div.ads {
    text-align: left;
}

div.menu a:link, div.menu a:visited{
    display: block;
    margin: 0px;
    font-weight: bold;
    color: rgb(230,230,230);
    background-color: black;
    text-align: left;
    padding: 5px 10px;
    text-decoration: none;

    font-family: sans-serif;
}

div.menu a:hover, div.menu a:active{
    background-color: #111;
}

div#mainmenu li ul {
    display: none;
    z-index: 1;
}

div#mainmenu li:hover ul {
    display: block;
    position: absolute;
    margin: 0;
    padding: 0;
}

div#mainmenu li:hover li {
    float: none;
    z-index: 1000;
}

div#mainmenu li:hover li a {
    z-index: 1000;
}

div#mainmenu li li a:hover{
    z-index: 1000;
}

div#footer a{
    display: block;
    text-align: center;
    margin: auto;
}

div#content{
    margin: auto;
    width: 984px;
}

h2{
    background-color: #4d4d4d;
    color: #eeeeee;
    padding: 4px;
    font-size: 18px;

}

a:link, a:visited{
	text-decoration: none;
	color: #830;
}

div.rightcol{
    width: 29%;
    margin: auto;
    float: right;
    overflow: hidden;
}

div.leftcol{
    width: 69%;
    margin: auto;
    float: left;
    overflow: hidden;
}

div.spacer{
    clear:both;
}

span.date{
    color: rgb(102, 136, 0);
    font-size: xx-small;
}

h4{
    font-size: large;
    margin-top: 2px;
    margin-bottom: 2px;
}

div.newsstory a:link, div.newsstory a:visited{
    font-style: normal;
    text-decoration: none;
    color: black;
}

div.newsstory p{
    font-size: small;
}

div.newsstory {
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

div.item a:link, div.item a:visited{
    font-style: normal;
    text-decoration: none;
    color: black;
}

div.item p{
    font-size: small;
}

div.item {
    border-style: solid;
    border-width: 0px 0px 1px 0px;
}

span.last_post_date {
    font-size: 12px;
    text-align: left;
    margin-left: 10px;
}

span.last_post_link {
    text-align: left;
    margin-left: 10px;
}

div.forum_row {
    width: 1000px;
}

a img {
    border: 0px;
}

div.forum_read {
    width: 10%;
    float: left;
}

div.forum_desc {
    font-size: 12px;
}

div.forum_unread {
    width: 10%;
    float: left;
}
div.forum_title {
    width: 30%;
    float: left;
    background-color: #333;
}
div.forum_topic_count {
    width: 10%;
    float: left;
}
div.forum_post_count {
    width: 10%;
    float: left;
}
div.forum_last_post {
    width: 20%;
    float: left;
}

div.forum_container {
    width: 98%;
    margin: auto;
    overflow:hidden;
}

div.topic_unread {
    width: 5%;
    float: left;
}

div.topic_read {
    width: 5%;
    float: left;
}

div.topic_title {
    width: 45%;
    float: left;
}

div.topic_author {
    width: 20%;
    float: left;
}

div.topic_views {
    width: 5%;
    float: left;
}

div.post_count {
    width: 5%;
    float: left;
}

div.topic_updated {
    width: 20%;
    float: left;
}

div.topic_header {
    padding: 0px;
    height: 40px;
    border: none;
    background-color: rgb(200,200,200);
    display: table-cell;
    vertical-align: middle;
}
div.post_userblock {
    width: 15%;
    float: left;
}

div.post_content {
    width: 85%;
    float: left;
}

div.author {
    text-align: center;
}

div.author a:link, div.author a:visited {
    text-decoration: none;
    color: green;
}

div.avatar {
	text-align: center;
}

div.updated {
	text-align: center;
}

div.bottom {
	text-align: center;
}

div.post-controls {
	text-align: center;
}

div.post {
	font-size: 14px;
}

div.post-related {
	float: right;
}

div.posts {
    padding: 10px;
}



div.bigmap {
    width: 60%;
    height: 300px;
    float: right;
}



/* FORUMS */

/* Custom code */

div.postbody {
    font-size: 14px;
}

div.posterrank {
    font-size: 14px;
}

div.postdetails {
    font-size: 10px;
}



span.last_post_link {
    
}

/* end custom */


/* Content and tables */
#contentrow {
	padding: 5px;
	background-color: #EEE;
	
}

.tablebg {
	border: solid 1px #000; 
	background: #EEE;
}

.row1, .row2, .row3, .legend, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
	border-bottom: solid 1px #131313;
	background: url(/images/module_gradient.gif) #EEE repeat-x 0% 100%;
	padding: 4px;
}
th {
	color: #FFFFFF; 
	font-size: 11px; 
	font-weight: bold;
	background: #4d4d4d;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #000000;
	border-right: solid 1px #000000;
	border-top: solid 1px #000000;
	border-bottom: solid 1px #000000;
}
th a, th a:visited {
	color: #D2DDEA !important;
	text-decoration: underline;
}
th a:hover {
	color: #FFF;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
	border-bottom: solid 1px #131313;
	background: #2C2C2C url(images/cathead.gif) top left repeat-x;
}
.rtl .catdiv {
	background: #2C2C2C url(images/cathead.gif) top left repeat-x;
}

.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #404040;
	border-right: solid 1px #121212;
	border-top: solid 1px #3C3C3C;
	border-bottom: solid 1px #131313;
	background: #2C2C2C url(images/cathead.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #3B5B85 url(images/catbottom.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #4B73A8;
	border-right: solid 1px #29466A;
	border-top: solid 1px #5279AA;
	border-bottom: solid 1px #29466A;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	white-space: nowrap;
	height: 27px;
	text-align: left;
}
.cap-left {

}
.cap-right {

	padding-top: 8px;
	height: 19px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 12px;
	font-weight: bold;

}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}



/* Footer */
#wrapfooter {
	text-align: center;
	color: #CCC;
	padding-top: 10px;
}

.copyright {
	color: #888;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #AAA;
	text-decoration: underline;
}
.copyright a:hover { color: #FFF; }



div#footer {
    display: block;
    height: 100px;
}


/* Forms */




label {
    width: 200px;
    display: inline-block;
}

div.page_list {
    position: absolute;
    width: 250px;
    bottom: 0;
    right: 0;
    text-align: right;
    font-size: 12px;
}

div.post_header {
    position: relative;
}



div.post_header a {
    display: inline;
}

div.pagination {
    display: inline;
}

div.event_sidebar {
    font-size: 12px;
    border-top: #333 solid 1px;
    border-left: #333 solid 1px;
    border-right: #333 solid 1px;
    margin-top: 7px;
    margin-bottom: 3px;
    margin-left: auto;
    margin-right: auto;
}

div.event_entry {
    padding: 5px;
    border-bottom: #333 solid 1px;
    position: relative;
}

span.event_title {
    display: block;
}

span.event_date {
    display: block;
    font-size: 10px;
}

blockquote {
    padding: 3px;
    margin-top: 25px;
    border: solid #444 1px;
    background: #DDD;
    
}

div.post_footer {
    position: relative;
}

div.forum_unread_posts {
	display: inline;
	font-size: 12px;
}

div.image {
    float: right;
    padding-left: 10px;
    padding-bottom: 10px;
}

div.thumbnail {
    float: left;
    margin: 1em 0px;
    font-size: small;
    padding-right: 10px;
}


div.league_score_card {
    width: 90%;
    height: 30px;
    position: relative;
    font-size: small;
    padding: 2px;
}

div.league_win_loss {
    position: absolute;
    left: 0px;
}

div.league_score {
    position: absolute;
    right: 0px;
    font-weight: bold;
}

div.league_game {
    position: absolute;
    bottom: 0px;
    left: 0px;
    font-size: smaller;
}

div.league_season {
    position: absolute;
    bottom: 0px;
    right: 0px;
    font-size: smaller;
}

div.odd {
    background-color: #DDD;
}

div.even {
    background-color: #FFF;
}

div.league_battle_admin {
    width: 90%;
    height: 50px;
    position: relative;
    font-size: small;
    padding: 2px;
    margin-bottom: 5px;
}

div.league_battle_team1 {
    position: absolute;
    left: 0px;
}

div.league_battle_team2 {
    position: absolute;
    right: 0px;
}

div.league_battle_winner {
    margin: auto;
    text-align: center;
    font-weight: bold;
    font-size: larger;
}

div.league_battle_team1_win{
    position: absolute;
    bottom: 0px;
    left: 0px;
}

div.league_battle_team2_win {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

div.battle_list {
    width: 300px;
    float: right;
}

div.league_team_set {
    width: 300px;
}

div.league_team_application {
    width: 90%;
    min-height: 20px;
    position: relative;
    font-size: small;
    padding: 2px;
}

div.league_team_app_approve {
    position: absolute;
    right: 0px;
    top: 0px;
}

div.league_team_applications {
    width: 300px;
}

div.league_season_rankings {
    width: 300px;
}

div.leftcol3{
    width: 32%;
    margin: auto;
    float: left;
    overflow: hidden;
}

div.centercol3{
    width: 32%;
    margin: auto;
    float: right;
    overflow: hidden;
}


div.rightcol3{
    width: 32%;
    margin: auto;
    float: right;
    overflow: hidden;
}


div.league_recent_wins {
    width: 300px;
}

div.league_recent_losses {
    width: 300px;
}


div.league_member_list {
    width: 300px;
}

div.league_team_member {
    font-size: small;
}

div.league_invite_card {
    width: 90%;
    min-height: 20px;
    position: relative;
    font-size: small;
    padding: 2px;
}

div.league_team_header {
    font-size:smaller;
}

div.league_open_help {
    font-size: xx-small;
}

div.league_open_season_list {
    width: 300px;
}

div.league_season_item {
    width: 90%;
    min-height: 20px;
    position: relative;
    font-size: small;
    padding: 2px;
}

div.league_lancenter_list {
    width: 300px;
}

div.league_lancenter_card {
    width: 90%;
    min-height: 20px;
    position: relative;
    font-size: small;
    padding: 2px;
}

div.league_tag_list {
    height: 20px;
    overflow: hidden;
    font-size: smaller;
}


.thumb.selected {
    border: 2px gray solid;
}

ul.pager li {
    list-style: none;
    float: left;
    width: 200px;
    height: 80px;
    background-color: #eee;
}

#slideshow > div {
    background-color: #eee;
    border: 1px solid #ddd;
    z-index: 0;
}

div#slideshow {
    height: 240px;
    z-index: 0;
}

div.newsstory h3 {
    font-size: smaller;
    padding: 4px;
    margin: 0px;
}

div.more {
    padding: 4px;
}

div.photo-gallery {
    float: left;
    text-align: center;
}


div.gallery-photo {
    padding: 4px;
}
