/* 
 * MSTW League Manager Admin Stylesheet [mstw_lm-admin_styles.css] 
 *	Includes the admin styles (mostly shared for the LM Addons) 
 *
 *	MSTW Wordpress Plugins (http://shoalsummitsolutions.com)
 *	Copyright 2015-22 Mark O'Donnell (mark@shoalsummitsolutions.com)
 *
 *	This program is free software: you can redistribute it and/or modify
 *	it under the terms of the GNU General Public License as published by
 *	the Free Software Foundation, either version 3 of the License, or
 *	(at your option) any later version.

 *	This program is distributed in the hope that it will be useful,
 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 *	GNU General Public License for more details.
 *
 *	You should have received a copy of the GNU General Public License
 *	along with this program. If not, see <http://www.gnu.org/licenses/>.
 *--------------------------------------------------------------------------*/

/*
 * This is a patch to keep the filter button in edit.php type=mstw_lm_venue
 * from disappearing. Only happening for venues ... why??
 */
 body.post-type-mstw_lm_venue input#post-query-submit.button {
    display: inline-block;
}

.lm-settings {
	/*background-color: #fff;*/
}

.mstw-lm-admin-red {
	color : red;
}

/*span.mstw-lm-admin-red {
	color : red;
}*/

table.mstw-lm-admin-table {
	/*margin-left: 20px;*/
	margin-top:  0;
	border-left: 0;
	background-color: #f1f1f1;
}

table.mstw-lm-admin-table th.right {
	text-align: right;
	}
	
table.mstw-lm-admin-table th {
	padding : 20px 10px 0 0;
}

.mstw-lm-admin-table td.row-head,
.mstw-lm-admin-table thead tr th {
	font-weight: 600;
}

table.mstw-lm-admin-table .col-indent-1 {
	margin-left: 20px;
}
 
/* adjust the columns that aren't the leftmost column in the form table */  
th.mstw-admin-align-right,
td.mstw-admin-align-right {
    text-align: right;
	}

/* this is for control titles at the top of tables */
div.mstw-lm-controls {
	padding-bottom: 10px;
}

span.mstw-lm-control-title,  span.mstw-lm-control-title-2 {
    font-weight: bold;
    padding-right: 5px;
}

/* want space on the right of the first control */
span.mstw-lm-control-title-2 {
    padding-left: 10px;
}

/* tighten up the form a bit */
select.game_location, select.game_home_team, select.visitor {
	max-width: 200px;
}
	
.form-table.mstw-lm-admin-table td {
	vertical-align: top;
	}
	
td.mstw-plugin-not-installed {
	color: red;
	font-weight: bold;
	}
	
.mstw-lm-admin-instructions {
    /* font-weight:   bold; */
	font-weight:   normal;
	font-size:     13px;
	font-style:    italic;
	color:         #F00;
	margin:        0;
	margin-bottom: 3px;
	}
	
ul.mstw-lm-admin-instructions {
    list-style:     disc;
	/*font-style:     italic;
	font-weight:    normal;
    color:          #F00;*/
	padding-left:   1.5em;
    margin-bottom:  3px;
	}
	
button.ui-datepicker-current { 
	display: none; 
	}

/* This is not high enough in the cascade */
.ui-datepicker .ui-datepicker-buttonpane button { 
	float: left; 
	}
	
/* 
 * Game Management Screen, Manage Games DB Tab
 */
 
form#lm-manage-games .button {
	margin : 20px;
}
	
/* 
 * Update & Add Games Screens
 */
 
/* Line-up the buttons in the Update Games screen nav bar */
select#main_league, 
select#main_season, 
select#sport_cntrl, 
input#date_cntrl {
    vertical-align : middle;
		line-height    : 26px;
    height         : 28px;
}

.button.mstw-lm-control-button {
	line-height    : 26px;
  height         : 28px;
	vertical-align : top;
}

.button.mstw-lm-control-button.active {
	color             : #b00;
  background        : #ebb;
  border-color      : #999;
  box-shadow        : inset 0 2px 5px -3px rgba(0,0,0,.5);
  -webkit-transform : translateY(1px);
  transform         : translateY(1px);
}

/*
 * Tighten up the columns
 *
 */
input.game_date {
	width : 7em;
	
} 

input.game_time {
	width : 4em;
	
}

input.game_home_score,
input.game_away_score {
	width : 3em;
	
}

input.game_time_remaining {
	width : 4em;
	
}

input.game_period {
	width : 3em;
	
}

input.game_status_append,
input.game_status_replace {
	width : 5em;
	
}

input.game_media {
	min-width : 6em;
	
}

input.game_media_link {
	min-width : 12em;
	
}

input.game_name {
	width : 10em;
}


form#set-league div.mstw-lm-admin-instructions {
	line-height: 28px; /* matches button height */
	float:       left;
	}
	
/* hide parent field in Edit League screen */
body.taxonomy-mstw_lm_league form#edittag tr.term-parent-wrap {
	display: none;
	}

/* hide leagues (tag) metabox on Edit Game screen */
div#tagsdiv-mstw_lm_league {
	/*display: none;*/
	}	
	
form#seasons-list div.tablenav.bottom {
	height: auto;
	}

/* title for the game info (content) editor */
p.league-info-admin-head {
    font-weight: 600;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: 0;
    margin-left: 10px;
	}

/* Separator for admin screen sections */
hr.mstw-lm-admin-hr {
	border-top    : 2px solid #ddd;
	border-bottom : 2px solid #fafafa;
	margin-top    : 1em;
	}
	
/* created for the manage seasons page */
p.mstw-lm-admin-explain {
	font-size  : 1em;
	font-style : italic;
	color      : #666;
}

/*---------------------------------------------------
 * ADDED FOR THE LEAGUE MANAGER ADD-ONS
 *---------------------------------------------------*/
 
 /* SCHOOL SPORTS Metabox in mstw-lm-school CPT admin */
 
div.school-sports-container {
	/* this is so it expands with sports tables */
	overflow       : auto;
} 
div.school-sports {
	float         : left;
	padding-left  : 60px;
}

div.school-sports-level {
	clear : both;
}

div.school-sports h2 {
	font-weight : bold;
	font-size   : 1.2em;
}

/*---------------------------------------------------
 * LEAGUE MANAGER ADD-ONS INFO PAGE
 *---------------------------------------------------*/
div.info-page h1 {
	font-size   : 23px;
  font-weight : 400;
  margin      : 0;
	padding     : 9px 0 4px;
	line-height : 29px;
}

div.info-page h2 {
	font-size   : 1.3em;
	font-weight : 600;
  margin      : 1em 0 0 0;
	display     : block;
	line-height : 1.4em;
}

div.info-page h2.buy-link {
	background   : #900;
  border-style : solid;
  padding      : 5px;
  color        : white;
}

div.info-page h2.buy-link a {
	color : white;
}

div.info-page h3 {
  line-height : 1.4em;
  font-size   : 1.3em;
  font-weight : 400;
  margin      : .5em 0;
}

div.info-page ul {
	list-style : square inside;
}
div.info-page li {
	line-height     : 1.4em;
  font-size       : 1.3em;
  font-weight     : 400;
}
	