/* general styles */

* { margin: 0; padding: 0; }
/* td { vertical-align: top; } */
a img { border: none; }
html, body { height: 100%; }
.right { display: block; text-align: right; }
.center { text-align: center; }
.aligntop { vertical-align: top;}
.hidden { display: none; }
.white { color: #fff; }
.orange { color: #ff6a00;}
.orangeback { background-color: #fff4ed; }
.darktext { color: #333; }
.noborder { border: none; }
.borderbottom { border-bottom: 1px solid #ff6a00; }
table { border-collapse: collapse; border: none; }
input { vertical-align: middle; }
p { margin-bottom: 1em; }

body, input, select, option, textarea, td {
	font-family: verdana, sans-serif;
	font-size: 10px;
	color: #333;
}

a { color: #666; }
a:hover { color: #ff6a00; }
a:visited { color: #777; }
a:active { color: #000; }

/* basic layout */

body {
	background: #8bb73c url(../img/background.jpg) top center;
	margin-left: -12px; /* eat the left drop shadow on small screens */
	text-align: center;
}

#container {
	width: 1013px;
	margin: 0 auto;
	background: url(../img/contentback.jpg) repeat-y top center;
	text-align: left;
}

#container2 {
	background: url(../img/headerback.jpg) no-repeat top center;
}

#leftcolumn {
	width: 227px;
	float: left;
}

img#logo {
	margin: 18px 0 70px 20px;
}

#adcolumn {
	width: 120px;
	float: right;
	margin-top: 195px;
}

#content {
	margin-right: 148px;
}

#maincontent {
	float: right;
	width: 638px;
}

#topnav {
	background: url(../img/topnavback.gif) no-repeat top right;
	height: 100px;
	overflow: hidden;
	position: relative;
}

#topnav #navlinks {
	position: absolute;
	top: 57px;
	left: 80px;
	color: #fff;
}

#topnav #navlinks a,
#topnav #navlinks a:hover,
#topnav #navlinks a:visited,
#topnav #navlinks a:active { color: #fff; }

#topnav #searchform,
#topnav #loginform {
	position: absolute;
	top: 54px;
	right: 8px;
}

#topnav .formoptions {
	position: absolute;
	top: 83px;
	right: 8px;
}

#topnav .formerror,
#topnav .formfeedback {
	position: absolute;
	top: 32px;
	right: 8px;
	font-weight: bold;
}

#topnav #formerror { color: #a00; }
#topnav #formfeedback { color: #333; }

.textinput {
	padding: 1px;
}

#leftcolumn .widget {
	margin-left: 24px;
}

#profile .picture {
	background: url(../img/profilepicback.gif) no-repeat;
	padding: 3px 5px 7px 67px;
}

#profile h3 img{ vertical-align: left; margin-right: 5px; }

#profile table.stats { border-top: 1px solid #ccc; margin: 8px 0 15px 0; }
#profile table.stats td { border-bottom: 1px solid #ccc; padding: 5px; vertical-align: top; }
#profile table.stats td.score { text-align: center; color: #ff6a00; font-weight: bold; }

.widget .details {
	margin: 15px 20px 20px 10px;
}

#noticebar {
	height: 98px;
	background: url(../img/noticebarback.gif) no-repeat top left;
	position: relative;
}

#noticebar #leftnotice {
	display: block;
	position: absolute;
	width: 368px;
	top: 15px;
	left: 20px;
	color: #fff;
	font-weight: bold;
}

#noticebar #rightnotice {
	display: block;
	position: absolute;
	width: 186px;
	top: 6px;
	left: 432px;
	color: #333;
	font-weight: bold;
}

#noticebar #rightnotice table { width: 100%;}
#noticebar #rightnotice table td { border: 1px solid #ccc; padding: 1px 3px; }
#noticebar #rightnotice table td.score { width: 20px; text-align: center; }

/* #noticebar #rightnotice h2 { margin-top: 5px; letter-spacing: 2px; } */

#rightcolumn {
	width: 230px;
	float: right;
}

#footer {
	clear: both;
	margin: 40px 0 0 0;
	color: #fff;
}

#footercontent {
	margin: 0 135px 0 29px;
	padding: 0 26px 0 10px;
	height: 36px;
	line-height: 24px;
	background: #fff url(../img/footerback.gif) no-repeat top left;
}

#footer a,
#footer a:hover,
#footer a:visited,
#footer a:active { text-decoration: none; color: #fff; }

#footer .inlinelist { float: right;}
#footer .inlinelist li { margin-left: 16px; }

/* widget styles */

.widgetcontents { padding: 0 2px; }

.widget230 {
	background: url(../img/widgetback_230px.gif) left bottom;
	margin-bottom: 16px;
}

.widget374 {
	width: 374px;
	float: left;
	background: url(../img/widgetback_374px.gif) left bottom;
	margin: 0 0 16px 13px; /* this could trigger a box model bug */
}

.widgetfull {
	width: 625px;
	background: url(../img/widgetback_full.gif) left bottom;
	margin: 0 0 16px 13px; /* this could trigger a box model bug */
}

.adwidget374 {
	width: 374px;
	float: left;
	margin: 3px 0 16px 13px; /* this could trigger a box model bug */
	text-align: center;
}

.adwidget230 {
	width: 234px;
	float: left;
	margin: 3px 0 16px 11px; /* this could trigger a box model bug */
	text-align: center;
}

.adwidgetfull {
	text-align: center;
	margin: 3px 0 16px 0;
}


div.widgetlink {
	clear: both;
	text-align: right;
	margin: 0;
	padding: 4px 8px 6px 0;
}

.widget .formerror,
.widget .formfeedback {
	font-weight: bold;
}

.widget .formerror { color: #a00; }
.widget .formfeedback { color: #333; }

.widget { position: relative; }

.widget .widgettopmenu {
	position: absolute;
	color: #fff;
	top: 11px;
	right: 16px;
}

.widgettopmenu a,
.widgettopmenu a:hover,
.widgettopmenu a:visited,
.widgettopmenu a:active {
	color: #fff;
	font-weight: bold;
}

ul.widgettoptabs {
	position: absolute;
	color: #fff;
	top: 13px;
	right: 16px;
	padding: 4px 0;
}

ul.widgettoptabs li {
	list-style: none;
	margin: 0;
	display: inline;
}

ul.widgettoptabs li a {
	padding: 3px 6px;
	margin-left: 4px;
	/*border: 1px solid #333;
	border-bottom: none;*/
	background: #ffdac0;
	text-decoration: none;
}

ul.widgettoptabs li a:link,
ul.widgettoptabs li a:visited { color: #666; }

ul.widgettoptabs li a:hover {
color: #333;
background: #fff4ed;
}

ul.widgettoptabs li a.current {
background: white;
color: #333;
/*border-bottom: 1px solid white;*/
}

/* generic widget table styles */

.widget table { margin: 0 2px; }
.widget230 table { width: 226px; }
.widget374 table { width: 370px; }
.widgetfull table { width: 621px; }
.widgetfull table table { width: auto; }
.widget th { padding: 2px 5px; }

.widget td.ranking,
.widget th.ranking {
	background: #ff7d15 url(../img/orange_gradient.gif) repeat-y top left;
	padding: 3px 5px;
	color: #fff;
	text-align: center;
	font-weight: bold;
}

.widget tr.firstrow td, .widget tr.tablerow td { border-top: 1px solid #ff6a00; }
.widget tr.lastrow td { border-bottom: 1px solid #ff6a00; }

.widget td {	padding: 2px 5px; }
.widget td.odd {	padding: 2px 5px; background-color: #fff4ed; }
.widget tr.odd {	background-color: #fff4ed; }

.widget table.listing td, .widget table.listing th { border-bottom: 1px solid #ffa600; vertical-align: top; } 
.widget table.listing a { text-decoration: none; font-weight: bold; }
.widget table.listing th a { color: #ff6a00;}
.widget table.listing td.buttons { padding: 10px 5px; }
.widget table.listing td.buttons a,
.widget table.listing td.buttons a:hover,
.widget table.listing td.buttons a:visited,
.widget table.listing td.buttons a:active { border: 1px solid #333; padding: 3px 5px; margin-right: 4px; color: #333; }
.widget table.listing tr.mainheader th { color: #fff; background-color: #ff6a00; padding: 5px;}

.widget .formtable { margin: 0 2px 15px 2px; }
.widget .formtable td { vertical-align: top; padding: 0 0px 10px 10px; }
.widget .formtable td.label { font-weight: bold; width: 120px; text-align: right; background-color: #fff4ed; padding: 2px 10px; }
.widget .formtable td.buttons { text-align: right; padding: 10px 24px 1px 0; }
.widget .formtable textarea,
.widget .formtable input.fullwidth { width: 440px;}
.widget .formtable input, .widget .formtable textarea, .widget .formtable select  { background-color: #fff; border: 1px solid #ccc; padding: 2px; }
.widget .formtable input.nobox { border: none; padding: 0; }
.widget .formtable tr.firstrow td { padding-top: 10px; }
.widget .formtable tr.lastrow td { padding-bottom: 10px; }
.widget .formtable label { margin-right: 5px; }

.widget td.photo { padding: 10px;}
.widget td.photo img {
	border: 1px solid #999;
	padding: 8px;
}

.widget .formtable tr.legend td { color: #ff6a00; font-size: 8px; text-transform: uppercase; padding-bottom: 1px;}
.widget .formtable input.required {  background: #fff url(../img/reqfieldback.gif) no-repeat top right; }
.widget .formtable input[type="submit"] { background-color: none; border: 1px solid #333; color: #333; font-weight: bold; }
.widget .formtable input[type="radio"], .widget .formtable input[type="checkbox"]  { border: none; }

.widget .formtable .thlink { float: right; }

.widget .formtable tr.wizardrow td { text-align: center; padding: 10px; border-top: 1px solid #ff6a00; border-bottom: 1px solid #ff6a00; vertical-align: middle; }
.widget .formtable tr.wizardrow table { width: 580px; }
.widget .formtable tr.wizardrow table td { text-align: center; vertical-align: middle; border: none; padding: 0 10px 10px 10px;}
.widget .formtable tr.wizardrow table td.prev { text-align: left; width: 15%; }
.widget .formtable tr.wizardrow table td.next { text-align: right; width: 15%; }

/* pagination */

.pagination {
	text-align: center;
	margin: 0px 2px;
	border-bottom: 1px solid #ffa14d;
	padding: 5px 0;
}
.pagination a { text-decoration: none; font-weight: bold; padding: 2px 3px; }
.pagination a.current { font-weight: normal; border: 1px solid #ffa14d; padding: 1px 2px; }
.pagination a:hover { background-color: #ff6a00; color: #fff; }

/* widget specific styles */

#lastresult td.firstcolumn { width: 10px; }
#lastresult h2 { margin: 10px 0; }

#myteam {
	background: url(../img/myteamback.jpg) left bottom;
}

#myteam td.teaminfo {
	text-align: center;
	width: 156px;
	padding: 10px 5px;
}

#myteam td { vertical-align: top; }
#myfriends tr { background: url(../img/orangestarback.jpg) no-repeat top left; }
#myfriends td { padding: 8px 5px 10px 5px; }

#lastresults td a {
	font-weight: bold;
	text-decoration: none;
}

#myfriendslist ul {
	margin: 15px 13px 0 0;
	list-style-type: none;
	background-color: #fff4ed;
	border-top: 1px solid #ffa14d;
}

#myfriendslist li { border-bottom: 1px solid #ffa14d; }

#myfriendslist li a {
	display: block;
	padding: 2px 10px 2px 5px;
	text-decoration: none;
	font-weight: bold;
}

#myfriendslist li a:hover { color: #fff; background-color: #ff6a00; background: #ff6a00 url(../img/button_arrow_orangeback.gif) no-repeat 176px 2px; }

#myfriendslist .pagination {
	margin: 0px 13px 20px 0px;
}

#myfriendslist h3 { margin-left: 5px; }

#myrequestslist ul {
	margin: 15px 13px 0 0;
	list-style-type: none;
	background-color: #fff4ed;
	border-top: 1px solid #ffa14d;
}

#myrequestslist li { 
    border-bottom: 1px solid #ffa14d;
	padding: 2px 10px 2px 5px;
}

#myrequestslist li a {
	display: inline;
	text-decoration: none;
	font-weight: bold;
}

#myrequestslist .pagination {
	margin: 0px 13px 20px 0px;
}

.pagecontents { padding: 0 30px 30px 30px; text-align: left; }

/* team composition widget */

#teamcomposition td.teamcomp_buttons {
	width: 30px;
	text-align: right;
	padding: 2px 5px;
}

/* top scorers widgets */

#topscorers td.topscorers_score {
	width: 30px;
	text-align: right;
	padding: 2px 5px;
	text-align: center;
}

#editprofile table.formtable,
#editphoto table.formtable,
#addgame table.formtable { width: 621px; }

#editprofile td.profilephoto { border-bottom: 1px solid #ff6a00; }
#editprofile td.profilephoto img { vertical-align: middle; padding-bottom: 10px; }
#editprofile td.profilephoto img#shirt { margin-right: 20px; }

/* playercard */

#playercard { background: #fff url(../img/playercard_back.jpg) no-repeat top left; height: 387px; position: relative; }
#playercard #photo { position: absolute; top: 32px; left: 0; }
#playercard #playercard_name { font-size: 36px; font-weight:normal; position: absolute; top: 25px; left: 200px; width: 425px; overflow: hidden; }
#playercard #playercard_details { position: absolute; top: 113px; left: 185px; width: 400px; }
#playercard #playercard_details td { font-size: 12px; color: #fff; font-weight: bold; }
#playercard #playercard_details td.label { width: 200px; color: #000; }
#playercard #playercard_stats  { position: absolute; top: 228px; left: 55px; width: 560px; }
#playercard #playercard_stats td { font-size: 12px; color: #fff; font-weight: bold; height: 32px; vertical-align: top; }
#playercard #playercard_stats td.col1 { width: 140px; }
#playercard #playercard_stats td.col2 { width: 115px; }
#playercard #playercard_stats td.col3 { width: 160px; }
#playercard #playercard_stats td.col4 {  }

/* inline list */

.inlinelist { display: inline; }
.inlinelist li { display: inline; }

/* popup styles */

#popupcontainer {
	position: absolute;
	top: 85px;
	left: 0px;
	width: 100%;
	z-index: 101;
	text-align: center;
	display: none;
}

#popup {
	background-color: #fff;
	width: 650px;
	height: 480px;
	border: 2px solid #333;
	margin: 0 auto;
	text-align: left;
}

#popupheader {
	height: 16px;
	background-color: #ff6a00;
	text-align: right;
	padding: 0 5px;
}

#popupheader a,
#popupheader a:hover,
#popupheader a:visited,
#popupheader a:active { color: #fff; text-decoration: none; }

#popupcontent {
	height: 464px;
	overflow: auto;
}

.widgetpopup table { width: 624px; border: 10px solid #fff; }

/* Text styles */

h2 { font-size: 16px; margin-bottom: 0.5em; }
h3 { font-size: 11px; margin-bottom: 0.5em; }

th, h6 { color: #ff6a00; font-size: 8px; text-transform: uppercase; }

hr {
	height:2px;
	background:#ff6a00;
	margin: 0; 
	border: 1px solid #ff6a00;
}

.attentionbox {
	border: 1px solid #ff6a00;
	padding: 3px 5px;
	margin: 5px 10px 5px 0;
	font-weight: bold;
	color: #ff6a00;
}
