﻿/* page layout and structure */
html 
{
	overflow-y: scroll;
}
body
{
	background: #231F20 url('../img/background/goal.jpg') no-repeat top center;
	padding-top: 0px;
}
body.grass-tile { background: #231F20 url('../img/background/grass-tile.jpg') top center; }
body.court { background: #231F20 url('../img/background/court.jpg') no-repeat top center; }

/* buttons! */
a.button {
	background-color: #F0F0F0;
	border: 1px solid #9B9B9D;
	display: block;
	line-height: 18px;
	float: left;
	margin: 0.7em 0.5em 0.7em 0px;
	padding: 2px 10px 2px 7px;
	text-decoration: none;
}
em { font-style: italic; }

/* */
#container_mask
{
	clear: both;
	background-image: url('../img/mask_bottom.png');
	background-position: bottom left;
	background-repeat: no-repeat;
	padding-bottom: 16px;
}

#container
{
	background: #FFF;
	overflow: hidden;
}

/* homepage formatting */
#flashpanel { width: 960px; height: 400px; border-color: black; border-style: solid; border-width: 2px 0 0 0; margin-bottom: 20px; }
#flashpanel { width: 960px; height: 400px; }
#tagline { padding-bottom: 20px; font-style: italic; font-size: 1.3em; text-align: center; }

#content 
{
	overflow: hidden;
}
#footer-links { width: 960px; clear: both; padding-top: 10px; }
#footer-links { width: 143px; margin: 0 auto; }
#footer
{
	margin-top: 20px;
	overflow: hidden;
	height: 40px;
}
#footer.base {
	background-image: url('../img/footerBase_960.gif');
	background-position: top left;
	line-height: 40px;
	color: #666;
}
#footer.base a { color: #666; }
#footer.base a:hover { color: #333; }
#footer.base ul, li { display: inline; list-style: none; }
#footer.base li { margin: 0 10px 0 0; }
#footer.base img { padding: 10px 8px 10px 0px; }

/* global styles */

.left
{
	padding-left: 8px;
	float: left;
}
.right
{
	padding-right: 8px;
	float: right;
}
p.largetext { padding-top: 20px; font-style: italic; font-size: 1.3em; }

.cleanlink
{
	color: inherit;	
}

.mt2 { margin-top: 0.2em; }
.mt5 { margin-top: 0.5em; }
.mt10 { margin-top: 1em; }

.mr2 { margin-right: 0.2em; }
.mr5 { margin-right: 0.5em; }
.mr10 { margin-right: 1em; }

.mb2 { margin-bottom: 0.2em; }
.mb5 { margin-bottom: 0.5em; }
.mb10 { margin-bottom: 1em; }

.ml2 { margin-left: 0.2em; }
.ml5 { margin-left: 0.5em; }
.ml10 { margin-left: 1em; }

.w90 { width: 90px; }
.w150 { width: 150px; }
.w180 { width: 180px; }
.w200 { width: 200px; }
.w220 { width: 220px; }
.w240 { width: 240px; }
.w270 { width: 270px; }
.w360 { width: 360px; }
.w540 { width: 540px; }
.w600 { width: 600px; }

.h250 { height: 250px; }
.h320 { height: 320px; }

.floatl { float: left; }
.floatr { float: right; }

.textl { text-align: left; }
.textc { text-align: center; }
.textr { text-align: right; }

.fonts { font-size: smaller; } 
.fontsi { font-size: smaller; font-style: italic; } 

/* ajax tools */
.loading 
{
    background-image: url('../img/loader/base.gif');
    background-repeat: no-repeat;
    background-position: center top;
    margin-top: 3px;
    margin-bottom: 4px;
    padding: 0 1px;
    height:11px;
    width:16px;
    display:none;
    position: relative;
}

/* dif styles */

div.plaintext p { margin: 0.5em 0; }
div.plaintext a { color: #000; }
div.plaintext a:hover { color: #333; }

div.pagination { overflow: hidden; }
div.pagination div.button-link { width: 112px; height: 25px; margin: 0; padding: 0; display: block; }
div.pagination div.button-link.left { float: left; }
div.pagination div.button-link.right { float: right; }

/* Primary div layouts */

/* header */

#header
{
	padding-top: 20px;
}

#header div#logo {
	float: left;
	background-image: url('../img/header_logo.png');
	background-position: top right;
	background-repeat: no-repeat;
}
#header div#logo a {
	display: block;
	height: 90px;
	width: 397px;
}
	
#header div#tabs {
	float: right;
	width: 518px;
	padding: 55px 20px 0 0;
	font-size: 13px;
}
#header div#tabs ul, li {
	margin: 0;
	padding: 0;
	display: inline;
}
#header div#tabs ul li {
	float: right;
	display: block;
	background-image: url('../img/tabBase.png');
	background-repeat: no-repeat;
	background-position: bottom center;
	width: 58px;
	padding: 2px 6px 0 6px;
	margin: 0 2px;
	height: 33px;
}
#header div#tabs ul li a {
	color: #FFF;
	font-style: italic;
	font-size: larger;
	float: left;
	display: block;
	width: 58px;
	height: 33px;
}
#header div#tabs ul li a:hover {
	color: #CCC;
}

#header div#usermenu 
{
	float: left;
	width: 938px;
	line-height: 35px;
	background-color: #FFF;
	font-style: italic;
	padding-right: 7px;
}
#header div#usermenu ul {
	width: 945px;
	display: inline;
}
#header div#usermenu ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
#header div#usermenu li {
	display: block;
	float: right;
	padding-left: 8px;
}
#header div#usermenu form 
{
	display: inline;
	float: right;
}
#header div#usermenu form input 
{
	display: block;
	margin: 6px 0 5px 8px;
	width: 140px;
	border: 1px solid #9b9b9d;
	padding: 2px 1px;
}
#header div#mask_top_right {
	float: right;
	width: 15px;
	height: 35px;
	background-image: url('../img/mask_top_right.png');
	background-position: top right;
	background-repeat: no-repeat;
}

/* sidebar formatting */
#sidebar { }
#sidebar div.image-cont { margin: 0; padding: 0; display: block; position: relative; }
#sidebar div.image-cont img { display: block }
#sidebar div.image-cont div.button-link { position: absolute; top: 82px; }
#sidebar div.button-link { margin: 10px 19px 0 19px; padding: 0; }
#ceop-report img { padding: 10px 3px 0 3px; }

#content
{
	
}

/* secondary div layouts */

#accountColumn { padding-top: 10px; }

/* panels */

div.panel {
	overflow: hidden;
	padding-bottom: 8px;
	margin-bottom: 10px;
	background-repeat: no-repeat;
	background-position: center bottom;
}
div.panel.vspace 
{
	margin-top: 40px;
	margin-bottom: 40px;
}
div.panel div.head {
	height: 40px;
	background-repeat: no-repeat;
	background-position: center top;
}
div.panel div.head h3, div.panel div.head p {
	display: inline;
	line-height: 40px;
	font-style: italic;
	font-weight: normal;
	color: #FFF;
	margin-bottom: 0;
}
div.panel div.nav {
	overflow: hidden;
	background-repeat: repeat-x;
	background-position: center top;
	line-height: 23px;
	font-style: italic;
	font-weight: normal;
}
div.panel div.nav p 
{
	margin-bottom: 0;
}
div.panel div.body {
	padding: 8px 5px 0px 5px;
	overflow: hidden;
}
div.panel div.body p.pad { padding-left: 5px; padding-right: 5px; }
div.panel div.body .loading { background-image: url('../img/loader/base-d2d3d5.gif'); }
/* panel base */
div.panel.base div.head { color: #FFF; }
div.panel.base div.body { background-color: #d2d3d5; color: #000; }
div.panel.base div.body.text { padding: 10px; }
div.panel.base div.body.text h6 { margin-bottom: 0.5em; }
div.panel.base div.body.text p.vpad { margin-top: 2em; margin-bottom: 2em; }
div.panel.base div.body.text p.largetext { margin-top: 0.5em; padding: 0; }
div.panel.base div.body.text p.center { text-align: center; }
div.panel.base div.body.text ul {list-style: disc; }
div.panel.base div.body.text ul li { display: list-item; margin: 0 0 0.5em 2.5em; list-style: disc; }
/* panel black */
div.panel.black div.head { color: #FFF; }
div.panel.black div.body { background-color: #000; color: #FFF; }
/* panel white */
div.panel.white div.head { color: #FFF; }
div.panel.white div.body div.body-solidbg-outer
{
	padding-top: 5px;
	background-position: top center;
	background-repeat: no-repeat;
	overflow: hidden;
}
div.panel.white div.body div.body-solidbg-outer div.body-solidbg 
{
	background-color: #d2d3d5;
	padding: 5px 10px 10px 10px;
	background-position: bottom center;
	background-repeat: no-repeat;
	overflow: hidden;
}
div.panel.white div.body div.body-solidbg-outer div.body-solidbg div { overflow: hidden; }
div.panel.white div.body div.body-solidbg-outer div.body-solidbg p.left { width: 100px; padding: 0; font-style: italic; }
div.panel.white div.body div.body-solidbg-outer div.body-solidbg p.right { width: 258px; padding: 0; }
/* panel 390 wide */
div.panel.w390 div.head { width: 390px; }
div.panel.w390 div.nav { width: 390px; }
div.panel.w390 div.body { width: 380px; }
div.panel.w390 div.body.text { width: 370px; }
div.panel.w390 div.body img.large-thumb { margin-left: 100px; margin-right: 100px; }
/* panel 550 wide */
div.panel.w550 div.head { width: 550px; }
div.panel.w550 div.nav { width: 550px; }
div.panel.w550 div.body { width: 550px; }
div.panel.w550 div.body.text { width: 540px; }
/* panel 790 wide */
div.panel.w790 div.head { width: 790px; }
div.panel.w790 div.nav { width: 790px; }
div.panel.w790 div.body { width: 780px; }
div.panel.w790 div.body.text { width: 770px; }
/* panel base - 390 wide */
div.panel.base.w390 { background-image: url('../img/panelBase_390_foot.png'); }
div.panel.base.w390 div.head { background-image: url('../img/panelBase_390_head.png'); }
/* panel base - 550 wide */
div.panel.base.w550 { background-image: url('../img/panelBase_550_foot.png'); }
div.panel.base.w550 div.head { background-image: url('../img/panelBase_550_head.png'); }
/* panel base - 790 wide */
div.panel.base.w790 { background-image: url('../img/panelBase_790_foot.png'); }
div.panel.base.w790 div.head { background-image: url('../img/panelBase_790_head.png'); }
/* panel black - 790 wide */
div.panel.black.w790 { background-image: url('../img/panelBlack_790_foot.png'); }
div.panel.black.w790 div.head { background-image: url('../img/panelBase_790_head.png'); }
/* panel white - 390 wide */
div.panel.white.w390 { background-image: url('../img/panelWhite_390_foot.png'); }
div.panel.white.w390 div.head { background-image: url('../img/panelBase_390_head.png'); }
div.panel.white.w390 div.nav { width: 388px; border-width: 0 1px; border-color: #6f6f6f; border-style: solid; }
div.panel.white.w390 div.body { width: 378px; border-width: 0 1px; border-color: #6f6f6f; border-style: solid; }
div.panel.white.w390 div.body div.body-solidbg-outer { 	width: 378px; background-image: url('../img/panelWhite_390_solidbg_head.png'); }
div.panel.white.w390 div.body div.body-solidbg-outer div.body-solidbg { background-image: url('../img/panelWhite_390_solidbg_foot.png'); }
/* panel white - 790 wide */
div.panel.white.w790 { background-image: url('../img/panelWhite_790_foot.png'); }
div.panel.white.w790 div.head { background-image: url('../img/panelBase_790_head.png'); }
div.panel.white.w790 div.body { width: 778px; border-width: 0 1px; border-color: #6f6f6f; border-style: solid; }
div.panel.white.w790 div.body div.body-solidbg-outer { background-image: url('../img/panelWhite_790_solidbg_head.png'); }
div.panel.white.w790 div.body div.body-solidbg-outer div.body-solidbg { background-image: url('../img/panelWhite_790_solidbg_foot.png'); }

/* list control */
div.listctr-item { overflow: hidden; display: block; position: relative; border-color: #9b9b9d; border-style: solid; border-width: 2px 0 0 0; }
div.listctr-item.first { border-width: 0px; }
div.listctr-item div.listctr-item-image { padding: 5px; display: block; width: 85px; height: 85px; float: left; }
div.listctr-item div.listctr-item-body { padding: 5px 5px 24px 5px; float: right; width: 675px; }
div.listctr-item div.listctr-item-body p { margin-bottom: 0.5em; }
div.listctr-item div.listctr-item-links { position: absolute; bottom: 5px; right: 5px; display: inline; }

/* widget information */
div.widget-info { clear: both; overflow: hidden; }
div.widget-info div.image { padding: 2px 5px 5px 5px; display: block; width: 85px; height: 85px; float: left; }
div.widget-info div.image img { display: block; }
div.widget-info div.text { margin: 0 5px 5px 95px; }
div.widget-info div.text form p { text-align: center; }
div.widget-info div.text form input { margin: 5px; padding: 2px; border: 1px solid #9b9b9d; }
div.widget-info div.text form input.mr0 { margin-right: 0; }
div.widget-info div.text form input.ml0 { margin-left: 0; }
div.widget-info div.text form input.file { }
div.widget-info div.text form input.submit { padding-left: 7px; padding-right: 7px; }
div.widget-info div.text div.button-link { margin: 5px 79px 5px 79px; }

/* widget invite */
div.widget-invite div.button-link { margin-left: 134px; }

/* eventperson widget */
div.eventperson-item { overflow: hidden; display: block; position: relative; border-color: #9b9b9d; border-style: solid; border-width: 2px 0 0 0; }
div.eventperson-item.first { border-width: 0px; }
div.eventperson-item div.eventperson-item-image { float: left; margin: 5px; }
div.eventperson-item div.eventperson-item-image a { display: block; width: 50px; height: 50px; }
div.eventperson-item div.eventperson-item-body { float: left; margin: 5px; }

/* pfcard widget */
div.pfcard-photo
{
	z-index: -1;
	padding: 12px 3px 93px 3px;
	height: 144px;
	width: 144px;
}
div.pfcard-body
{
	display: block;
	position: relative;
	z-index: 10;
	float: left;
	width: 144px;
	height: 244px;
	margin: 0;
	padding: 3px;
	margin-top: -249px;
	background: transparent url('../img/pfcard.png') top left no-repeat;
	color: #FFF;
}
div.pfcard div.header
{
	text-align: right;
	font-style: italic;
	font-weight: bold;
	padding-right: 6px;
	color: #000;
	height: 23px;
	line-height: 23px;
	margin-bottom: 112px;
}

div.pfcard div.field
{
	height: 16px;
	line-height: 16px;
	clear: both;
	text-align: left;
	padding-left: 4px;
	padding-right: 4px;
	font-style: italic;
}
div.pfcard div.field div.left
{
	float: left;
	text-align: left;
	padding: 0;
}
div.pfcard div.field div.right
{
	float: right;
	text-align: right;
	padding: 0;
}
div.pfcard div.rating
{
	
}
div.pfcard div.rating div.left 
{
	float: left;
	height: 22px;
	line-height: 22px;
	padding: 6px 0px 1px 6px;
	text-align: left;
	color: #000;
	font-style: italic;
	font-weight: bold;
}
div.pfcard div.rating div.right
{
	float: right;
	height: 25px;
	line-height: 25px;
	width: 26px;
	text-align: center;
	font-style: italic;
	font-weight: bold;
	padding: 3px 1px 0 1px;
}

/* find your sport page */
div.sport-find { }
div.sport-find div.sport-img { float: left; width: 50px; height: 50px; margin: 5px; }
div.sport-find div.sport-img a { display: block; width: 50px; height: 50px; }
div.sport-find div.sport-img a img { width: 50px; height: 50px; }

/* thumbs */
div.tn_row { overflow: hidden; }
div.tn_row.tn_row_790 { padding: 0 2px; }
div.tn { width: 85px; padding: 5px; float: left; }
div.tn_row.tn_row_790 div.tn { padding: 6px; }
div.tn a.tn { display: block; height: 85px; width: 85px; }
div.tn p { line-height: 1.2em; font-weight: bolder; text-align: center; padding-top: 2px; }

/* banter control */
/* standard elements */
div.banter-ctrl-form { overflow: hidden; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #9b9b9d; }
div.banter-ctrl-form textarea { width: 374px; height: 120px; margin: 0; }
div.banter-ctrl-form input { margin: 0.5em 0 0.2em 0; }
div.banter-ctrl { overflow: hidden; padding-top: 10px; margin: 10px 5px 0px 5px; border-top: 1px solid #9b9b9d; }
div.banter-ctrl.first { padding-top: 0; margin-top: 0; border-top: 0; }
div.banter-ctrl div { float: left; }
div.banter-ctrl div.banter-left { width: 50px; padding-right: 5px; }
div.banter-ctrl div.banter-right { width: 310px; padding-left: 5px; }
div.banter-ctrl div.banter-right p.banter-links { font-size: smaller; font-style: italic; }
/* full width control elements */
div.w790 div.body div.banter-ctrl div.banter-right { width: 710px; }

/* event control */
div.event-ctrl { overflow: hidden; padding-top: 10px; margin: 10px 5px 0px 5px; border-top: 2px solid #9b9b9d; }
div.event-ctrl.first { padding-top: 0; margin-top: 0; border-top: 0; }
div.event-ctrl div { float: left; }
div.event-ctrl div.event-img { padding-right: 5px; float: left; width: 50px; }
div.event-ctrl div.event-body { padding-left: 5px; float: right; width: 310px; }
div.event-ctrl div.event-body div.event-what { }
div.event-ctrl div.event-body div.event-when { }
div.event-ctrl div.event-body div.event-where { }
div.event-ctrl p.event-left { float: left; width: 60px; }
div.event-ctrl p.event-right { float: right; width: 250px; }
div.event-ctrl p.event-links { clear: both; font-size: smaller; font-style: italic; margin-left: 60px; }

/* sports control */
div.sport-ctrl { margin: 0 -5px 5px -5px; }
div.sport-ctrl ul { clear: both; width: 390px; overflow: hidden; }
div.sport-ctrl ul li { width: 100px; padding: 0 2px; float: left; text-align: center; display: block; }
div.sport-ctrl ul li.sport-image { padding: 0 0 0 15px; width: 60px; }
div.sport-ctrl ul li.sport-name { width: 102px; }
div.sport-ctrl ul.sport-item { background-color: #000; color: #FFF; margin-top: 10px; }
div.sport-ctrl ul.sport-item li { padding-top: 1em; }
div.sport-ctrl ul.sport-item li.sport-image { padding-top: 0; }
div.sport-ctrl ul.sport-item li.sport-image img { display: block; margin: 0.5em 0; }
div.panel.base div.body div.sport-ctrl ul.sport-item a { color: #FFF }
div.panel.base div.body div.sport-ctrl ul.sport-item a:hover { color: #CCC }

/* teams control */
div.team-ctrl { overflow: hidden; padding-top: 10px; margin: 10px 5px 0px 5px; border-top: 2px solid #9b9b9d; }
div.team-ctrl.first { padding-top: 0; margin-top: 0; border-top: 0; }
div.team-ctrl div { float: left; }
div.team-ctrl div.team-img { padding-right: 5px; width: 85px; height: 85px; }
div.team-ctrl div.team-body { padding-left: 5px; width: 275px; }
div.team-ctrl p.team-left { float: left; width: 75px; font-style: italic; }
div.team-ctrl p.team-right { float: right; width: 200px; }
div.team-ctrl p.team-links { clear: both; font-size: smaller; font-style: italic; margin-left: 75px; }

/* sport page */
#fullcolumn-image-splash { width: 790px; height: 342px; text-align: right; background-position: top right; background-repeat: no-repeat; background-color: #CCC; color: #FFF; margin-bottom: 10px; }
#fullcolumn-image-splash h1 { padding: 268px 20px 0 0; font-size: 48px; font-style: italic; text-transform: uppercase; text-shadow: 2px 2px 3px #000; color: #FFF; }

/* formatting for invitation pages */
/* buddies */
div.invite-person-cont { margin-top: 5px; position: relative; }
div.invite-person-cont.first { margin-top: 0; }
div.invite-person-inner { overflow: hidden; position: relative; }
div.invite-person-thumb { width: 50px; padding-right: 10px; float: left; }
div.invite-person-thumb a { z-index: 1000; display: block; height: 50px; width: 50px; }
div.invite-person-thumb a img { float: left; display: block; }
div.invite-person-txt { display: block; width: 298px; float: left; margin:  }
div.invite-person-txt h6 { }
div.invite-person-txt h6 a { z-index: 1000; }
/* team members */
div.invite-teamperson-cont { margin-top: 5px; position: relative; }
div.invite-teamperson-cont.first { margin-top: 0; }
div.invite-teamperson-team-cont { position: relative; overflow: hidden; }
div.invite-teamperson-thumb { width: 50px; padding-right: 10px; float: left; }
div.invite-teamperson-thumb a { z-index: 1000; display: block; height: 50px; width: 50px; }
div.invite-teamperson-thumb a img { float: left; display: block; }
div.invite-teamperson-txt { display: block; width: 298px; float: left; }
div.invite-teamperson-txt h6 { }
div.invite-teamperson-txt h6 a { z-index: 1000; }
div.invite-teamperson-members-cont { display: none; }
div.invite-teamperson-member { position: relative; padding-top: 10px; margin-top: 10px; border-color: #9b9b9d; border-style: solid; border-width: 2px 0 0 0; }
div.invite-checkbox { position: absolute; right: 0; bottom: 0; }
div.invite-checkbox label { font-weight: normal; height: auto; line-height: 18px; margin-right: 0;  }
div.invite-checkbox input { float: left; margin: 0 0 0 0.5em; border-width: 0; }

/* new user data */
div.invite-new-cont { overflow: hidden; border-top: 2px solid #9b9b9d; margin: 8px 1px 0 1px; padding-top: 4px; }
div.invite-new-cont.first { border-width: 0; margin: 0 1px 0 1px; padding-top: 0; }
div.invite-new-cont ul { margin-bottom: 0; }
div.invite-new-cont ul li { display: inline-block; width: 118px; padding: 2px; }
div.invite-new-cont ul li input { width: 116px; margin: 0; }
div.invite-new-cont ul.invite-new-label li { font-size: 0.8em; }
input.invite-form-submit { width: 180px; padding: 2px; border: 1px solid #9b9b9d; margin: 1em 0 0.5em 100px; }

/* plain text formatting */
div.textpanel { padding-bottom: 10px; }
div.textpanel.w390 { width: 390px; }

/* Jquery UI Formatting */

/* Tabs for teams
----------------------------------*/
#team-tabs.ui-tabs { padding: 0 0 5px 0; border-width: 0; }
#team-tabs.ui-widget { font: inherit; }
#team-tabs.ui-tabs .ui-state-active, .ui-tabs .ui-widget-content, .ui-tabs .ui-widget-header { border-width: 0; }
#team-tabs.ui-tabs .ui-tabs-nav { padding: 0 0 5px 0; margin: 0; height: 35px; }
#team-tabs.ui-tabs .ui-tabs-nav li {height: 35px; padding: 0 0 0 8px; border-width: 0; margin: 0; }
#team-tabs.ui-tabs .ui-tabs-nav li a { line-height: 35px; padding: 0 13px 0 0; margin: 0; }
#team-tabs.ui-tabs .ui-tabs-nav li a span { display: block; line-height: 35px; color: #FFF; font-weight: bold; }
#team-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected { border: 0; }
#team-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { border: 0; }
#team-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a span { color: #000; }
#team-tabs.ui-tabs .ui-tabs-panel { display: block; border-width: 0; background-color: #d2d3d5; padding: 5px 10px; border-radius: 0; -moz-border-radius: 0; }
#team-tabs .ui-corner-all, .ui-corner-bottom { border-radius: 0; -moz-border-radius: 0; }
#team-tabs div { overflow: hidden; }
#team-tabs div div { }
#team-tabs div div.team-photo { position: relative; float: right; margin-left: 10px; }
#team-tabs div div.team-photo img { display: block; background: #FFF; float: right; }
#team-tabs div div.team-photo div.team-sports { float: left; width: 25px; margin-right: 10px; padding: 0; }
#team-tabs div div.team-photo div.team-sports a { display: block; width: 25px; height: 25px; margin-bottom: 5px; }
#team-tabs div div.team-photo div.button-link { position: absolute; display: block; left: 50%; top: 65%; margin: 0 0 0 -38px; }
#team-tabs div div.team-info {  }
#team-tabs div div.team-info div p.left { float: left; padding-left: 0; width: 174px; }
#team-tabs div div.team-info div p.right { float: left; padding-right: 0; }
#team-tabs div div.team-info div.name { overflow: hidden; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 2px solid #9b9b9d; }
#team-tabs div div.team-info div.details { overflow: hidden; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 2px solid #9b9b9d; }
#team-tabs div div.team-info div.contact { overflow: hidden; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 2px solid #9b9b9d; }
#team-tabs div div.team-info div.admins { overflow: hidden; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 2px solid #9b9b9d; }
#team-tabs div div.team-info div.parent { overflow: hidden; margin-bottom: 0.5em; padding-bottom: 0.5em; border-bottom: 2px solid #9b9b9d; }
#team-tabs div div.team-info div.description { overflow: hidden; }
#team-edit div.team-edit-item { overflow: hidden; padding-top: 10px; margin: 10px 0 0 0; border-top: 2px solid #9b9b9d; }
#team-edit div.team-edit-item.first { padding-top: 0; margin-top: 0; border-top: 0; }
#team-edit div.team-edit-item div.button-link { float: right; margin: 5px 0 0 5px; }
#team-edit div.team-edit-item ul li { list-style: disc; display: list-item; margin: 0.5em 2em; }

/* Tabs for events
----------------------------------*/
#event-tabs.ui-tabs { padding: 0 0 5px 0; border-width: 0; }
#event-tabs.ui-widget { font: inherit; }
#event-tabs.ui-tabs .ui-state-active, .ui-tabs .ui-widget-content, .ui-tabs .ui-widget-header { border-width: 0; }
#event-tabs.ui-tabs .ui-tabs-nav { padding: 0 0 5px 0; margin: 0; height: 35px; }
#event-tabs.ui-tabs .ui-tabs-nav li {height: 35px; padding: 0 0 0 8px; border-width: 0; margin: 0; }
#event-tabs.ui-tabs .ui-tabs-nav li a { line-height: 35px; padding: 0 13px 0 0; margin: 0;  }
#event-tabs.ui-tabs .ui-tabs-nav li a span { display: block; line-height: 35px; color: #FFF; font-weight: bold; }
#event-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected { border: 0; }
#event-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { border: 0; }
#event-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a span { color: #000; }
#event-tabs.ui-tabs .ui-tabs-panel { display: block; border-width: 0; background-color: #d2d3d5; padding: 5px 10px; border-radius: 0; -moz-border-radius: 0; }
#event-tabs .ui-corner-all, .ui-corner-bottom { border-radius: 0; -moz-border-radius: 0; }
#event-tabs div div.button-link { margin: 0 0 10px 0; }
#event-details { overflow: hidden; }
#event-details div { overflow: hidden; width: 358px; }
#event-details div p.left { padding: 0; width: 100px; }
#event-details div p.right { padding: 0; width: 258px; float: left; }
#event-edit div.event-edit-item { overflow: hidden; padding-top: 10px; margin: 10px 0 0 0; border-top: 2px solid #9b9b9d; }
#event-edit div.event-edit-item.first { padding-top: 0; margin-top: 0; border-top: 0; }
#event-edit div.event-edit-item div.button-link { float: right; margin: 5px 0 0 5px; }
                              
/* Tabs for people
----------------------------------*/
#person-tabs.ui-tabs { padding: 0 0 5px 0; border-width: 0; }
#person-tabs.ui-widget { font: inherit; }
#person-tabs.ui-tabs .ui-state-active, .ui-tabs .ui-widget-content, .ui-tabs .ui-widget-header { border-width: 0; }
#person-tabs.ui-tabs .ui-tabs-nav { padding: 0 0 5px 0; margin: 0; height: 35px; }
#person-tabs.ui-tabs .ui-tabs-nav li {height: 35px; padding: 0 0 0 8px; border-width: 0; margin: 0; }
#person-tabs.ui-tabs .ui-tabs-nav li a { line-height: 35px; padding: 0 13px 0 0; margin: 0; }
#person-tabs.ui-tabs .ui-tabs-nav li a span { display: block; line-height: 35px; color: #FFF; font-weight: bold; }
#person-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected { border: 0; }
#person-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { border: 0; }
#person-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a span { color: #000; }
#person-tabs.ui-tabs .ui-tabs-panel { display: block; border-width: 0; background-color: #d2d3d5; padding: 5px 10px; border-radius: 0; -moz-border-radius: 0; }
#person-tabs .ui-corner-all, .ui-corner-bottom { border-radius: 0; -moz-border-radius: 0; }
#person-details { overflow: hidden; }
#person-details div { overflow: hidden; width: 358px; }
#person-details div p { margin-bottom: 0; }
#person-details div p.left { padding: 0; width: 100px; }
#person-details div p.right { padding: 0; width: 258px; float: left; }
#person-details div.button-link-large { margin-top: 10px; }
#person-details div.button-link-large a { font-size: large; }
#person-details div.button-link { margin: 5px 123px; width: 112px; }
#person-edit div.person-edit-item { overflow: hidden; padding-top: 10px; margin: 10px 0 0 0; border-top: 2px solid #9b9b9d; }
#person-edit div.person-edit-item.first { padding-top: 0; margin-top: 0; border-top: 0; }
#person-edit div.person-edit-item div.button-link { float: right; margin: 5px 0 0 5px; }

/* tabs for builders */
#builder-tabs.ui-tabs { padding: 0 0 5px 0; border-width: 0; }
#builder-tabs.ui-widget { font: inherit; }
#builder-tabs.ui-tabs .ui-state-active, .ui-tabs .ui-widget-content, .ui-tabs .ui-widget-header { border-width: 0; }
#builder-tabs.ui-tabs .ui-tabs-nav { padding: 0 0 5px 0; margin: 0; height: 35px; }
#builder-tabs.ui-tabs .ui-tabs-nav li {height: 35px; padding: 0 0 0 8px; border-width: 0; margin: 0; }
#builder-tabs.ui-tabs .ui-tabs-nav li a { line-height: 35px; padding: 0 13px 0 0; margin: 0; }
#builder-tabs.ui-tabs .ui-tabs-nav li a span { display: block; line-height: 35px; color: #FFF; font-weight: bold; }
#builder-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected { border: 0; }
#builder-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a { border: 0; }
#builder-tabs.ui-tabs .ui-tabs-nav li.ui-tabs-selected a span { color: #000; }
#builder-tabs.ui-tabs .ui-tabs-panel { display: block; border-width: 0; background-color: #d2d3d5; padding: 5px 10px; border-radius: 0; -moz-border-radius: 0; }
#builder-tabs .ui-corner-all, .ui-corner-bottom { border-radius: 0; -moz-border-radius: 0; }

/* Invitations */
#invites-cont { padding-top: 15px; font-size: smaller; }
#invites-cont a { color: #333; }
#invites-cont a:hover { color: #666; }
#invites-cont div { height: 25px; overflow: hidden; padding: 5px }
#invites-cont div img { float: left;  height: 25px; width: 25px; padding-right: 5px; }
#invites-cont div p { display: block; height: 25px; line-height: 25px; }

/* invitations content */
#invites-ajax { margin: 5px 0; }
#invites-ajax div.invite-item { overflow: hidden; padding-top: 0.5em; margin-top: 0.5em; border-top: 2px solid #9b9b9d; position: relative; clear: both; }
#invites-ajax div.invite-item.first { border-top: 0px; padding-top: 0; margin-top: 0; }
#invites-ajax div.invite-item div.invite-item-image { float: left; width: 85px; height: 85px; margin-right: 10px; }
#invites-ajax div.invite-item div.invite-item-image a { display: block; width: 85px; height: 85px; }
#invites-ajax div.invite-item div.invite-item-text { float: left; width: 268px; margin-bottom: 30px; }
#invites-ajax div.invite-item div.invite-item-text p { margin: 0; }
#invites-ajax div.invite-item div.invite-item-buttons { position: absolute; bottom: 0; right: 0; }
#invites-ajax div.invite-item div.invite-item-buttons div.button-link { margin: 0 0 0 10px; float: right; }

/* button-link */
div.button-link 
{
	width: 112px;
	height: 25px;
	line-height: 25px;
	margin-left: 278px;
	margin-bottom: 10px;
	background-repeat: no-repeat;
	background-position: right;
	background-color: transparent;
}
div.button-link a 
{
	display: block;
	width: 112px;
	height: 25px;
	line-height: 25px;
	text-align: center;
	font-style: italic;
	font-weight: bold;
}
div.textpanel.w790 div.button-link { margin-left: 674px; }

/* buton-link-large */
div.button-link-large
{
	height: 50px;
	line-height: 50px;
	margin: 20px 0 10px 0;
	background-repeat: no-repeat;
	background-position: center;
	background-color: transparent;
	text-align: center;
}
div.button-link-large a
{
	margin: 0 auto;
	display: block;
	width: 224px;
	height: 50px;
	line-height: 50px;
	font-style: italic;
	font-weight: bold;
	font-size: x-large;
}


/* MARKDOWN */
div.markdown p { margin: 0.5em 0; }
div.markdown ul { margin: 0.5em 0; }
div.markdown ul li { display: list-item; list-style: disc; margin-left: 2em; }


/* FORM STYLING */
input { border: 1px solid #9B9B9D; display: block; float: left; margin: 6px 0px; padding: 2px; }
input.submit { margin: 0.7em 0.5em 0.7em 0px; padding: 2px 10px 2px 7px; text-decoration: none; background-color: #F0F0F0; color: #333; line-height: 18px; height: auto; float: left; }
input.submit:hover { color: #666; }
form div.loading { margin: 15px 6px 14px 6px; height: 11px; }
div fieldset div { clear: both; display: block; overflow: hidden; }
label { font-weight: bold; float: left; height: 40px; line-height: 40px; text-align: right; margin-right: 12px; }
fieldset label {  width: 130px; }
input { float: left; display: block; height: 18px; line-height: 18px; border: 1px solid #9b9b9d; padding: 2px; margin: 0.7em 0.5em 0.7em 0px; }
select { float: left; display: block; height: 24px; border: 1px solid #9b9b9d; padding: 2px; margin: 0.7em 0.5em 0.7em 0px; vertical-align: middle; }
select option { vertical-align: middle; }
textarea { height: 120px; display: block; padding: 2px; margin: 0.7em 0.5em 0.7em 0px; border: 1px solid #9b9b9d; }
input.datepicker { width: 6.5em; }
input.timepicker { width: 2.8em; }
select.date-day { width: 4.9em; }
select.date-month { width: 6.2em; }
select.date-year { width: 5.3em; }
select.time-hour { width: 4em; }
select.time-min { width: 4em; }
div.submit input { padding: 2px 10px 2px 7px; background-color: #F0F0F0; color: #333; height: auto; float: left; }
fieldset div.submit input { margin-left: 142px; }
div.submit div.loading { clear: none; margin-left: 148px;  float: left; }
div.submit.orphan input { width: auto; margin: 1em 0; }
div.datetime input { float: left; }
div.checkbox input { width: auto; height: 30px; border-width: 0; padding: 0; margin: 0; display: inline-block; margin-left: 142px; }
div.checkbox label { width: auto; height: 30px; line-height: 30px; font-weight: normal; text-align: left; margin-left: 0.5em; }
div.date { float: left; clear: none; }
div.duration span.duration-label { display: block;  margin: 0.7em 0.5em 0.7em 0px; float: left; height: 22px; line-height: 22px; }
div.duration select.duration-hour { width: 4em; }
div.duration select.duration-min { width: 4em; }
.themepicker { display: block; width: 4em; height: 4em; margin: 0.5em; float: left; cursor: pointer; }
.field-data { height: 36px; line-height: 36px; }
.form-note { margin: 0.5em 0.5em 0.5em 142px; font-style: italic; }
.time-label { display: block; margin: 5px; padding: 2px; float: left; height: 22px; line-height: 22px; }
.field-validation-error { margin-left: 142px; }

/* .net validation errors */
div span.validation-summary-errors { padding: 6px; }
div ul.validation-summary-errors { padding: 6px; }
div ul.validation-summary-errors li { list-style: disc; display: list-item; margin-left: 24px; font-style: italic; }
div fieldset div span.field-validation-error { clear: both; font-style: italic; display: block; }
/* image form handling */
div fieldset.image { margin: 0; }
div fieldset.image div img { display: block; clear: both; }
div fieldset.image div label { width: auto; margin: 0; text-align: left;  }
div fieldset.image div input { height: auto; line-height: auto; margin-top: 0; clear: both; }
div fieldset.image div.submit input { margin: 6px 0; width: auto; }

/* dialog box formatting */
div.ui-widget-overlay { background-color: #000; background-image: url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/base/images/ui-bg_flat_0_000000_40x100.png); }
div.ui-dialog { background: transparent; }
div.ui-dialog, div.ui-dialog div.ui-dialog-titlebar { border-width: 0; border-radius: 0; -moz-border-radius: 0; }
div.ui-dialog .ui-dialog-titlebar { height: 40px; background: url('../img/dialog/base-titleR.png') right top no-repeat; padding: 0; margin: 0 0 0 8px; }
div.ui-dialog .ui-dialog-titlebar span.ui-dialog-title { height: 40px; line-height: 40px; background: url('../img/dialog/base-titleL.png') left top no-repeat; margin: 0 0 0 -8px; padding: 0 0 0 0.5em; color: #FFFFFF; font-style: italic; font-size: 21px; font-weight: normal; }
div.ui-dialog .ui-dialog-titlebar-close { right: 0.5em; }
div.ui-dialog .ui-dialog-titlebar-close .ui-icon { background-image: url('../img/ui-icons/ui-icons_ffffff_256x240.png'); }
div.ui-dialog .ui-dialog-titlebar-close:hover { background: transparent; border: 0; padding: 1px; }
div.ui-dialog .ui-dialog-buttonpane { background: #d2d3d5; margin: -8px 0 0 0; border: 0;  -moz-border-radius-bottomleft: 8px; border-bottom-left-radius: 8px; -moz-border-radius-bottomright: 8px; border-bottom-right-radius: 8px; }
div.ui-dialog div.ui-dialog-content { background-color: #d2d3d5;  -moz-border-radius-bottomleft: 8px; border-bottom-left-radius: 8px; -moz-border-radius-bottomright: 8px; border-bottom-right-radius: 8px; }
div.ui-dialog div.ui-dialog-content .loading { background-image: url('../img/loader/base-d2d3d5.gif'); }
#dialog_modal_popup p { margin: 0.5em; }
#dialog_modal_popup .jcrop-holder { margin: 6px auto; }
#dialog_loading { margin: 40px auto 0 auto; }

/* spesific choose thumbnail styles */
#choose-thumbnail-form div.submit { }
#choose-thumbnail-form div.submit input { width: 170px; margin-left: 300px; }
#choose-thumbnail-form div.submit div.loading { margin-left: 370px; }

/* sport lists */
.sortable { overflow: hidden; }
.sport-list { padding: 5px; margin: 1px 0; background-color: #D2D3D5; cursor: move; }
.sport-list.active { border: 1px solid #9B9B9D; padding: 4px; }
.sport-list-highlight { border: 1px dashed #9B9B9D; padding: 4px; }

/* toggle css */
div.toggle { }
div.toggle div.toggle-title { position: relative; }
div.toggle div.toggle-title div.loading { margin: 0 0 0 3px; }
div.toggle div.toggle-title div.ui-icon { position: absolute; right: 0; top: 50%; margin-top: -8px; }
div.toggle div.toggle-body { display: none; }
div.toggle div.toggle-body fieldset { border-color: #9b9b9d; border-style: solid; border-width: 2px 0 0 0; padding-top: 5px; padding-bottom: 5px; }
div.toggle div.toggle-body fieldset.image { border: none; padding: 0; }

/* swfupload-control */
div.swfupload-control { }
/* actual swfupload object */
.swfupload { }

/* icons */
.ico 
{
	clear: none;
	float: left;
	display: block;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
}
fieldset .ico { margin: 12px 0; }
.ico-accept { background-image: url('/content/img/icons/accept.png'); }
.ico-cross { background-image: url('/content/img/icons/cross.png'); }

/* history containers */
div.history-item-cont { margin-top: 5px; }
div.history-item-cont div.body-solidbg { overflow: hidden; }