/*
* @section: Backend
*/
#lm_admin {
	width:92%;
	margin-top:10px;
}

#lm_head {
	font-family:Verdana;
	font-size:18px;
    position: relative;
	top: -2px;
}
#lm_admin .lm_head_strong {
	font-family:Verdana;
	font-size:18px;
	font-weight:bold;
}

#lm_version {
    font-family:Verdana;
    font-size:14px;
    position: relative;
	top: -20px;
    float: right;
}

#lm_admin .lm_version_strong {
    font-family:Verdana;
    font-size:14px;
    font-weight:bold;
}

.check-column {
	vertical-align: middle;
}

/* 
 * Global Settings Page
 */
.colorbox {
	display: inline-block;
	margin-left: 5px;
	width: 15px;
	height: 15px;
	border: 1px solid #000;
}

/*
 * League page
 */
.subsubsub:after {
	content: " ";
	clear: both;
	display: block;
}
.subsubsub {
	margin-bottom: 1.5em;
}
.league-blocks {
	clear: both;
}
.league-blocks h2.header {
	margin-bottom: 0;
}
.championship-blocks {
	clear: both;
}

/*
 * sortable tables 
 */
tbody.sortable tr:hover th,
tbody.sortable tr:hover td {
	border-top: 1px solid #585858;
	border-bottom: 1px solid #585858;
}
tbody.sortable th,
tbody.sortable td {
	background-color: #fff;
}
tbody.sortable tr.alternate th,
tbody.sortable tr.alternate td {
	background-color: #f9f9f9;
}

/*
 * Admin Crosstable
 */
.widefat.crosstable {
	margin-top: 1em;
}
.widefat.crosstable th {
	font-weight: bold;
}

/*--- Documentation ---*/
dl.leaguemanager {
	}
dl.leaguemanager dt {
	clear: both;
	font-weight: bold;
	}
dl.leaguemanager dd {
	text-indent: 1.5em;
	}
ul.doc-import-structure {
	list-style: none;
	margin-left: 0;
}
ul.doc-import-structure li {
	float: left;
	border: 1px solid #585858;
	margin-right: 0.2em;
	background: #f1f1f1;
	padding: 0.5em;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: bold;
}
ul.doc-import-structure:after {
	content: " ";
	clear: both;
	display: block;
}
p.match_info {
	font-size: 0.9em;
	margin-top: 1.5em;
	}

p.leaguemanager_breadcrumb {
	clear: both;
	float: right;
	margin: 1.5em 1.3em 1.3em auto;
	}

.widefat .num {
	text-align: center;
	}
.widefat .logo {
	width: 20px;
	}
.widefat .logo img {
	display: block;
	margin: 0;
	padding: 0;
	}
a.colorpicker {
	border: 1px solid #000000;
	font-family:Verdana;
	font-size:10px;
	width: 20px;
	height: 12px;
	text-decoration: none;
	margin: 1.4em 0.5em 0 1em;
	}
p.table_rows {
	float: left;
	padding: 0;
	margin: 0 2em 0 0;
	}

p.info { margin: 0; padding: 0; float: right; }

/*table#standings tr { cursor: move; }*/

span.loading { margin-left: 5px; }
span.loading img { vertical-align: middle; }

.leaguemanager_thickbox {
	text-align: center;
	}
.leaguemanager_thickbox select {
	display: block;
	margin: 0.5em auto;
	}

span.team_roster { margin-left: 0.5em; vertical-align: middle; }

div.leaguemanager_widget_control label {
	padding: 0 0.5em 0.5em 0.5em;
	float: left;
	width: 7em;
}
div.leaguemanager_widget_control label.right {
	float: none;
	width: auto;
}
div.leaguemanager_widget_control input {
	margin-left: 0.5em;
	display: inline;
	clear: none;
	width: auto;
	border-width: 1px;
	border-style: solid;
	border-collapse: separate;
	border-spacing: 0;
	-moz-border-radius: 4px;
	-khtml-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	vertical-align: middle;
}
div.leaguemanager_widget_control select {
	margin-left: 0.5em;
	vertical-align: middle;
}


/*
* @section: Frontend Tables
*/
table.leaguemanager,
div.matchlist table.leaguemanager {
	text-align: left;
	border: 1px solid;
	border-collapse: collapse;
	width: 100%;
	margin: 1em auto 1.5em auto;
}
table.leaguemanager th,
div.matchlist table.leaguemanager {
	padding: 2px 3px;
	margin: 0;
	border-bottom: 1px solid;
	}
table.leaguemanager td,
div.matchlist table.leaguemanager td {
	vertical-align: middle;
	border: 0;
	padding: 5px;
	margin: 0;
	}
table.leaguemanager.matchtable a,
table.leaguemanager .last5 a {
	border: 0;
}

table.leaguemanager a.W { background-position:0 -150px; }
table.leaguemanager a.D { background-position:0 -200px; }
table.leaguemanager a.L { background-position:0 -250px; }
table.leaguemanager a.N { background-position:0 -650px; }

table.leaguemanager a.W:hover { background-position:0 -300px; }
table.leaguemanager a.D:hover { background-position:0 -350px; }
table.leaguemanager a.L:hover { background-position:0 -400px; }
table.leaguemanager a.N:hover { background-position:0 -700px; }

table.leaguemanager .last5Icon a { border: 0; background-image: url(images/last5.png); position: relative; top: 0px; }

table.leaguemanager .last5-bg { float:left; width:20px; height:17px; }

table.leaguemanager .num {
	text-align: center;
	}
table.leaguemanager .last5 {
	text-align: center;
	width: 130px;
	}
table.leaguemanager .logo,
table .leaguemanager .match-title.logo {
	width: 20px;
	}
.match-title.logo {
	max-width: 50px;
}
table.leaguemanager .logo img {
	display: block;
	margin: 0;
	padding: 0;
	}
table.leaguemanager .home {
	font-weight: bold;
	}
table.leaguemanager th.match {
	text-align: center;
	}
table.leaguemanager .score, table.leaguemanager .ap {
	vertical-align: bottom;
	text-align: right;
	}
table.leaguemanager tr.divider {
	/*border-bottom: 1px solid;*/
	}
table.leaguemanager a {
	text-decoration: none;
}


/*--- Standings table ---*/
.standingstable {
	border: 1px solid !important;
}
.standingstable th,
.standingstable td {
	vertical-align: middle;
}
.standingstable .rank {
	display: block;
	margin: auto;
	text-align: center;
	padding: 5px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	font-weight: bold;
}

/*--- Crosstable Popup ---*/
div#leaguemanager_crosstable div { text-align: center; padding-top: 1em;}

table.leaguemanager.crosstable {
}
table.leaguemanager.crosstable th {
	vertical-align: middle;
	border: 1px solid;
}
table.leaguemanager.crosstable td {
	border: 1px solid;
}
table.crosstable img {
	display: inline-block;
	vertical-align: middle;
}


/*--- Archive ---*/
.jquery-ui-tab,
.jquery-ui-tabs .tab-content {
	overflow: auto;
}
div#leaguemanager_archive_selections { margin-bottom: 1em; }

/*--- Single Match ---*/
div.match .match-content:after {
	content: " ";
	display: block;
	clear: both;
}
div.match h4 {
	clear: both;
	text-align: center;
	}
div.match p.score,
div.match p.matchdate {
	font-weight: bold;
	font-size: 1.2em;
	text-align: center;
	margin-top: 2em;
}
div.match .home_logo img,
div.match .away_logo img {
	font-size: 1em;
	vertical-align: middle;
}
div.match span.home_logo {
	margin-right: 1em;
}
div.match span.away_logo {
	margin-left: 1em;
}

div.match table {
	width: 100%;
	margin-top: 1.5em;
	clear: both;
}
div.match table,
div.match table th,
div.match table td {
	border: 0;
	background: transparent;
}
div.match table th,
div.match table td {
	vertical-align: top;
	margin: 0;
}
div.match .match_day,
div.match .date,
div.match .location,
div.match .report {
	text-align: center;
	margin: 0;
}
div.match .match-stats {
	clear: both;
}

/*
 * Match List
 */
div.matchlist {
	margin-bottom: 1em;
}
.matchlist .match {
	margin-bottom: 1em;
}
div.matchlist h3.header {
	cursor: pointer;
}
div.matchlist h3.header.ui-accordion-header {
	padding-left: 2em !important;
}
div.matchlist table.leaguemanager  th {
	padding: 4px;
	margin: 0;
	border: 1px solid;
}

/*--- Team Page ---*/
div.teampage,
div.teamlist {
	position: relative;
	clear: both;
	margin-bottom: 1em;
}
div.teamlist h3.header {
	cursor: pointer;
}
div.teamlist h3.header.ui-accordion-header {
	padding-left: 2em !important;
}
div.team-content .prev_match,
div.team-content .next_match {
	margin-bottom: 1em;
}
div.team-content:after {
	content: " ";
	display: block;
	clear: both;
}
div.teampage h3.header,
div.teamlist h3.header,
div.match h3.header,
div.team-content .prev_match .header,
div.team-content .next_match .header {
	margin: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	padding: 0.5em;
	-moz-border-top-left-radius: 4px;
	-moz-border-top-right-radius: 4px;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	border-top-right-radius: 4px;
	border-top-left-radius: 4px;
	border: 1px solid;
	border-bottom: 0;
	font-weight: bold;
	-webkit-box-shadow:0 1px 1px rgba(0,0,0,1);
	-moz-box-shadow:0 1px 1px rgba(0,0,0,1);
	-ms-box-shadow:0 1px 1px rgba(0,0,0,1);
	-o-box-shadow:0 1px 1px rgba(0,0,0,1);
	box-shadow:0 1px 1px rgba(0,0,0,1);
}
div.team-content .prev_match .header,
div.team-content .next_match .header {
	font-size: 1em;
}
div.team-content,
div.match .match-content,
div.team-content .prev_match .content,
div.team-content .next_match .content {
	position: relative;
	padding: 0.5em;
	-webkit-box-shadow:0 1px 1px rgba(0,0,0,1);
	-moz-box-shadow:0 1px 1px rgba(0,0,0,1);
	-ms-box-shadow:0 1px 1px rgba(0,0,0,1);
	-o-box-shadow:0 1px 1px rgba(0,0,0,1);
	box-shadow:0 1px 1px rgba(0,0,0,1);
	margin: 0 0 2px 0;
	border: 1px solid;
}
div.team-content,
.ui-accordion-content {
	padding: 0.5em !important;
}
div.team-content .teamlogo:after {
	content: " ";
	clear: both;
	display: table;
}
div.team-content .teamlogo img {
	/*position: absolute;
	right: 1em;
	top: 1em;*/
	display: block;
	margin: 0 0 1em auto;
}
div.team-content dl.team {
	margin: 1em 0;
	float: left;
}
div.team-content dl.team dt {
	float: left;
	font-weight: bold;
	width: 9em;
	clear: both;
	padding: 0.3em 0;
}
div.team-content dl.team dd {
	padding: 0.3em 0;
	float: left;
}
div.team-content .matches {
	/*margin-top: 90px;*/
	/*float: right;*/
	width: 100%;
	display: block;
	clear: both;
}
div.team-content .matches-container {
	height: auto;
	width: 50%;
	float: left;
}
div.team-content .next_match {
	margin-right: 0.5em;
}
div.team-content .prev_match {
	margin-left: 0.5em;
}
div.team-content .prev_match p,
div.team-content .next_match p {
	margin: 0;
	padding: 0.3em 0;
}
div.team-content .prev_match .score,
div.team-content .next_match .score {
	font-size: 1.3em;
	text-align: center;
	font-weight: bold;
}
div.team-content .team-projectmanager {
	clear: both;
	position: relative;
}


div.teamlist .header .ui-icon {
/*	background-image: none;*/
}

.tablist a {
	border: 0;
}

/*
 * jQuery accordion lists
 */
.ui-accordion .teampage,
.ui-accordion .match {
	margin-bottom: 0 !important;
}


/*
* @section: Widget
*/
.leaguemanager_widget {
	background-image: none;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	}
.leaguemanager_widget h4 {
	position: relative;
	border-bottom: 1px solid;
	text-align: center;
	margin: 0.5em 0 0.5em 0;
	padding-bottom: 0.3em;
	font-size: 1em;
	}
.leaguemanager_widget h4 .next {
	position: absolute;
	right: 0;
	}
.leaguemanager_widget h4 .prev {
	position: absolute;
	left: 0;
	}
.leaguemanager_widget h4 .standings {
	margin-top: 1.5em;
	}
.leaguemanager_widget h4 a {
	text-decoration: none;
	}
.leaguemanager_widget img {
	border: 0;
	vertical-align: middle;
	}

/*--- Match Events ---*/
.leaguemanager_widget .match_box {
	margin-bottom: 1.5em;
	text-align: center;
	}
.leaguemanager_widget .match_box .match {
	padding: 0.3em 0 0 0;
	margin: 0.5em 0;
	}
.leaguemanager_widget .match_box .logos {
	margin: 0.5em auto;
	}
.leaguemanager_widget .match_box .logos img {
	display: inline;
	width: auto;
	max-width: 25% !important;
	height: auto !important;
}
.leaguemanager_widget .match_box .home_logo {
	margin-right: 0.5em;
	}
.leaguemanager_widget .match_box .away_logo {
	margin-left: 0.5em;
	}
.leaguemanager_widget .match_box .match_day, .leaguemanager_widget .match_box .date, .leaguemanager_widget .match_box .location {
	padding: 0;
	margin: 0.3em 0;
	}
.leaguemanager_widget .match_box .result {
	font-size: 1.3em;
	font-weight: bold;
	}
.leaguemanager_widget .match_box .report {
	text-align: right;
	}

/*--- Standings Table ---*/
.leaguemanager_widget table.leaguemanager {
	font-size: 0.9em;
	margin: 0;
	padding: 0;
	}
.leaguemanager_widget table.leaguemanager th {
	/*background-color: transparent;*/
	}
.leaguemanager_widget table.leaguemanager th, .leaguemanager_widget table.leaguemanager td {
	padding: 4px;
	margin: 0;
	border: 0;
	border-bottom: 1px solid;
	/*background-color: transparent;*/
	}

.leaguemanager_widget table.leaguemanager tr, .leaguemanager_widget table.leaguemanager tr.alternate {
	/*background-color: transparent;*/
	}

/*--- Fancy Slideshow Overlay ---*/
.fancy-slideshow .slide-overlay.leaguemanager,
.fancy-slideshow .cycle-overlay.leaguemanager {
}
.fancy-slideshow .slide-overlay.leaguemanager .title,
.fancy-slideshow .cycle-overlay.leaguemanager .title {
	font-size: 1.5em;
}
.fancy-slideshow .slide-overlay.leaguemanager .title .match_title,
.fancy-slideshow .cycle-overlay.leaguemanager .title .match_title {
	margin: 0;
}
.fancy-slideshow .slide-overlay.leaguemanager .title .logos,
.fancy-slideshow .cycle-overlay.leaguemanager .title .logos {
	margin: 0;
	width: 100%;
}
.fancy-slideshow .slide-overlay.leaguemanager .title .logos .result,
.fancy-slideshow .cycle-overlay.leaguemanager .title .logos .result {
	margin: 0 0.5em;
}
.fancy-slideshow .slide-overlay.leaguemanager .title img.logo,
.fancy-slideshow .cycle-overlay.leaguemanager .title img.logo {
	display: inline;
	width: auto;
	max-width: 25% !important;
	height: auto !important;
}
.fancy-slideshow .slide-overlay.leaguemanager .description p,
.fancy-slideshow .cycle-overlay.leaguemanager .description p {
	margin: 0;
	padding: 0;
}

/* Pagination */

#lm_admin .pagination{
	text-align: center
}

#lm_admin .pagination li{
	display: inline-block;
	*display: inline;
	zoom: 1;
	margin: 0 0 0 5px;
	height: 25px
}

#lm_admin .pagination li:first-child{
	margin: 0 0 0 0
}

#lm_admin .pagination li a{
	display: inline-block;
	*display: inline;
	zoom: 1;
	font-size: 12px;
	/*color: #5d666c;*/
	border: solid 1px;/* #dedede;*/
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	text-decoration: none;
	padding: 4px 8px;
	height: 15px
}

#lm_admin .pagination li.active a{
	/*border-color: #5d666c*/
}

#lm_admin .pagination li a:hover{
	text-decoration: none
}

#lm_admin .pagination li span{
	display: inline-block;
	*display: inline;
	zoom: 1;
	width: 25px;
	text-align: center;
	font-size: 12px;
	/*color: #5d666c;*/
	margin: 4px 0
}

#lm_admin .pagination li.prev_page a{
	width: 7px;
	height: 15px;
	text-indent: -999999px
}

#lm_admin .pagination li.next_page a{
	width: 7px;
	height: 15px;
	text-indent: -999999px
}

#lm_admin .pagination li.prev_page a em{
	display: none
}

#lm_admin .pagination li.next_page a em{
	display: none
}
#lm_admin .pagination li.first_page a{
	width: 7px;
	height: 15px;
	text-indent: -999999px
}

#lm_admin .pagination li.last_page a{
	width: 7px;
	height: 15px;
	text-indent: -999999px
}

#lm_admin .pagination li.first_page a em{
	display: none
}

#lm_admin .pagination li.last_page a em{
	display: none
}