/*------------------------------------------------------------------

[Custom Stylesheet]


Last change:	03/25/2013
Assigned to:	You

-------------------------------------------------------------------*/

body, html {
	height: 100%;
}

#main-container {
	height: 100%;
	width: 100%;
	border-collapse: collapse;
	display: table;
}
.footer {
    display : table-row;
    vertical-align : bottom;
    height : 1px;
    height: 50px;
}
.footer .container {
	padding-top: 14px;
}

.form input[type="radio"], input[type="checkbox"] {
	margin-top: 8px;
}
.form input {
	margin-bottom: 9px;
}
.newsImg {
	margin: 10px 10px 10px 5px;
}
.form-select {
	display: inline-block;
	/*height: 18px;*/
	padding: 4px;
	margin-bottom: 9px;
	font-size: 13px;
	line-height: 18px;
	color: #555555;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
	-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
	-o-transition: border linear 0.2s, box-shadow linear 0.2s;
	transition: border linear 0.2s, box-shadow linear 0.2s;
	width: 210px;
}
.errorSummary {
	border: 1px solid #ffe2e2;
	background-color: #fff5f5;
	padding: 10px;
	margin: 10px 0;
}
.errorSummary p {
	font-weight: bold;
}
.errorSummary li {
    height: 20px;
    margin: 10px 0; /* not needed, just to add space between the li's */
    background: url('../img/error-bullet.png') no-repeat left center;
    list-style: none; /* Get rid of the default bullet points */
    padding-left: 20px; /* Offsets the text. Needs to be at least the width of your image */
    line-height: 16px; /* Might have to play with this value a bit */
}
.errorMessage {
	color: #b70000;
}
.schemeList li { float: left; margin: 40px; list-style: none; }
.schemeList table th { text-align: center; width: 50px; }
.schemeField { width: 50px; text-align: center; }
.addTeamButton { float: right; margin-left: 10px !important; }
.numberNotSet {
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(255, 210, 210) !important;
    /* RGBa with 0.6 opacity */
    background-color: rgba(255, 210, 210, 0.6) !important;
    /* For IE 5.5 - 7*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffd2d200, endColorstr=#ffd2d200) !important;
    /* For IE 8*/
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffd2d200, endColorstr=#ffd2d200)";
}
.score-input { width: 30px; text-align: center; }
.score-table, .score-table td, .score-table tr { border:0 !important;}
.score-table i { cursor: pointer; line-height: 28px; }
.date-input { width: 80px; text-align: center; }
.time-input { width: 50px; text-align: center; }
#match-grid.grid-view table.items td {
	padding: 0.1em;
}
.ui-timepicker-div dl {
	margin-bottom: 40px;
}
.additional-options .ui-datepicker-trigger {
	float: right;
	margin:0 5px;
}
.grid-view input { float: none; }

.match-stats .icons { display:inline-table; vertical-align:bottom;}
.match-stats .ico { width:24px; height:24px; cursor:pointer; opacity: 0.4; position:relative; float:left; background:url(../img/match-icons.png) no-repeat;}
#ico4, #ico5, #ico6, #ico7, #ico8 { background:url(../img/match-cards.png) no-repeat; }
.match-stats .ico:hover { opacity: 1; }
.match-stats .ico a { width:24px; height:24px;}
.match-stats #ico1 { background-position: 0 -24px;}
.match-stats #ico1:hover { background-position: 0 0;}
.match-stats #ico1.active { background-position: 0 0; opacity: 1; }
.match-stats #ico2 { background-position: -24px -24px;}
.match-stats #ico2:hover { background-position: -24px 0;}
.match-stats #ico2.active { background-position: -24px 0; opacity: 1; }
.match-stats #ico3 { background-position: -48px -24px;}
.match-stats #ico3:hover { background-position: -48px 0;}
.match-stats #ico3.active { background-position: -48px 0; opacity: 1; }

.match-stats #ico4 { background-position: 0 -24px;}
.match-stats #ico4:hover { background-position: 0 0;}
.match-stats #ico4.active { background-position: 0 0; opacity: 1; }

.match-stats #ico6 { background-position: -24px -24px;}
.match-stats #ico6:hover { background-position: -24px 0;}
.match-stats #ico6.active { background-position: -24px 0; opacity: 1; }

.match-stats #ico5 { background-position: -48px -24px;}
.match-stats #ico5:hover { background-position: -48px 0;}
.match-stats #ico5.active { background-position: -48px 0; opacity: 1; }

.match-stats #ico8 { background-position: -72px -24px;}
.match-stats #ico8:hover { background-position: -72px 0;}
.match-stats #ico8.active { background-position: -72px 0; opacity: 1; }

.match-stats #ico7 { background-position: -96px -24px;}
.match-stats #ico7:hover { background-position: -96px 0;}
.match-stats #ico7.active { background-position: -96px 0; opacity: 1; }

.match-stats #ico9 { background-position: -72px -24px;}
.match-stats #ico9:hover { background-position: -72px 0;}
.match-stats #ico9.active { background-position: -72px 0; opacity: 1; }

.match-stats #ico10 { background-position: -96px -24px;}
.match-stats #ico10:hover { background-position: -96px 0;}
.match-stats #ico10.active { background-position: -96px 0; opacity: 1; }

.match-stats #ico11 { background-position: -120px -24px;}
.match-stats #ico11:hover { background-position: -120px 0;}
.match-stats #ico11.active { background-position: -120px 0; opacity: 1; }




.match-stats th {
  color: #fff; padding-top: 5px; border: 1px solid #fff;
  background-image: -webkit-gradient(linear, left 0%, left 100%, from(#98ca49), to(#2c7800));
  background-image: -webkit-linear-gradient(top, #98ca49, 0%, #2c7800, 100%);
  background-image: -moz-linear-gradient(top, #98ca49 0%, #2c7800 100%);
  background-image: linear-gradient(to bottom, #98ca49 0%, #2c7800 100%);
  background-repeat: repeat-x;
}
.match-stats tbody td, .match-stats tfoot td { border: 1px solid #fff; }
.match-stats tbody tr:nth-child(odd) { background-color: #eee; }
.match-stats tbody tr:nth-child(even) { background-color: #fff; }
.match-stats tfoot tr:nth-child(odd) { background-color: #eee; }
.match-stats tfoot tr:nth-child(even) { background-color: #fff; }
.match-stats tbody tr td:last-child { background-color: #fff; }
.match-stats .score-input { float: none; }
.match-stats .goals-select {
	display: inline-block;
	padding: 4px;
	margin-bottom: 0px;
	font-size: 12px;
	line-height: 18px;
	color: #555555;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
	-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
	-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
	-o-transition: border linear 0.2s, box-shadow linear 0.2s;
	transition: border linear 0.2s, box-shadow linear 0.2s;
	min-width: 300px;
	font-size: 12px;
	float: none;
}
.match-stats tfoot a, .match-stats tbody a { color: #000; display: block; float: left; text-decoration: none; width: 24px; height: 24px; }
.match-stats tfoot a:nth-child(2) { color: #c00000; }
.match-stats tfoot a i { position: relative; top: 2px; }
.compactRadioGroup {
    padding-left: 2em;
}
 
.compactRadioGroup LABEL,
.compactRadioGroup INPUT {
    display: inline;
    width: auto;
    padding-left: 0.5em;
    padding-right: 1.5em;
    cursor: pointer;
}
#cardsForm .icons {
	display: -webkit-inline-flex;
	display: inline-flex;
}
#news-form .btn-group { margin-bottom: 9px;}
#news-form textarea { margin: 9px 0; }
.gallery-container { padding: 0; }
.gallery-container li { width: 115px;}
.gallery-container li > a {width: 101px; height: 67px; display: table-row-group; }
.gallery-container li.media { width: 214px;}
.gallery-container li.media > a {width: 200px; height: 150px; display: table-row-group; }
.gallery-buttons { position: absolute; right: 3px; margin-top: -27px; z-index: 1000; }
.gallery-buttons-2 { position: absolute; margin-top: -25px; margin-left: 6px; z-index: 1000; }
.gallery-buttons-3 { position: absolute; margin-top: -42px; right: 0px; z-index: 1000; }
.gallery-buttons a, .gallery-buttons-2 a { width: inherit; text-decoration: none; margin: 0 2px; display: block; padding: 0 5px; text-align: center; border-radius: 4px; font-weight: bold; float: right; color: #fff; z-index: inherit; }
.gallery-buttons-3 a { width: 42px !important; float: right; }
.dropdown-menu { z-index: 2003; }
.upload-file-container input {
/*   filter: alpha(opacity=0);
   opacity: 0;*/
}
.stat_0 { display: none !important; }
.eselect2-admin { margin: 0 9px; }
.eselect2-admin a { height: 28px !important; }
.ui-state-highlight-region { height: 2.5em; line-height: 1.2em; border: 1px solid red !important; background-color: #ededed !important; display: block; width: 93%; position: absolute; }
div.flash-error, div.flash-notice, div.flash-success
{
	padding:.8em;
	border:2px solid #ddd;
	margin:10px 30px 0px;
	text-align: center;
}
div.flash-error h1,
div.flash-error h2,
div.flash-error h3, div.flash-notice h1, div.flash-notice h2, div.flash-notice h3, div.flash-success h1, div.flash-success h2, div.flash-success h3 {
	padding: 0;
	margin: 0;
}
div.flash-error h3, div.flash-notice h3, div.flash-success h3 { font-size: 12px; }
div.flash-error
{
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice
{
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success
{
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a
{
	color:#8a1f11;
}

div.flash-notice a
{
	color:#514721;
}

div.flash-success a
{
	color:#264409;
}
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert h4 {
  margin-top: 0;
  color: inherit;
}
.alert .alert-link {
  font-weight: bold;
}
.alert > p,
.alert > ul {
  margin-bottom: 0;
}
.alert > p + p {
  margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
  padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}
.alert-success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #2b542c;
}
.alert-info {
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #245269;
}
.alert-warning {
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.alert-warning hr {
  border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
  color: #66512c;
}
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}
.alert-danger hr {
  border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
  color: #843534;
}
.items .ico, .dropdown-menu .ico { background:url(/img/info-icons.png) no-repeat; vertical-align:middle; display:inline-block; float:none; padding:0 2px 0 0; width: 26px; height: 24px;  }
.items .ico#important, .dropdown-menu .ico#important { background-position:-24px 0;}
.items .ico#very, .dropdown-menu .ico#very { background-position:-48px 0;}
.redactor_box { z-index: 1; }
#match-round-grid tbody.ui-sortable tr td { cursor: move; }
.oldMediaCat .select2-offscreen { position: absolute !important; }
.oldMediaCat .select2-container { margin-bottom: 10px; }
.gallery-container input[type=checkbox], .gallery-container input[type=radio] {
    display:none;
 }
.gallery-container input[type=checkbox] + label, .gallery-container input[type=radio] + label
{
	border: 3px solid transparent;
}

.gallery-container input[type=checkbox]:checked + label, .gallery-container input[type=radio]:checked + label
{
    border: 3px solid #98ca49;
}
#mediaModal .modal-dialog { width: 80%; height: 100%; }
#mediaModal .modal-content { height: 100%; }
#mediaModal .modal-body { max-height: calc(100vh - 210px); overflow-y: auto; width: 100%; }

.mediaContainer { padding: 0; margin-top: 15px; display: inline-block; }
.mediaContainer li {
	width: 117px;
	height: 83px;
	list-style: none;
	border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border: 1px solid #d3d3d3;
    float: left;
    margin-right: 20px;
    position: relative;
}
.mediaContainer li > img {width: 101px; height: 67px; display: table-row-group; margin: 7px; background-repeat: no-repeat; background-position: center 0; background-size: contain; border: 1px solid #eee;  }
.tab-pane .form-group { margin-bottom: 9px; }
.tab-pane .form-group .input-group{ width: 210px; }
.tab-pane .form-group .input-group-addon { width: 45px; }