html,
body {
  height: 100%;
  /* The html and body elements cannot have any padding or margin. */
}

.wrap { 
	height: auto; 
	min-height: 100%; 
	padding-bottom: 4em; 
}

.datepicker { padding: 0px; }
.footer {
    clear: both;
    position: relative;
    z-index: 10;
    margin-top: -4em;
}

body {
  padding-top: 50px;
  background: #EEEEEE;
}

.xl-font { font-size: 3em }
.lg-font { font-size: 1.8em }
.md-font { font-size: 1.2em }
.sm-font { font-size: 0.9em }
.xs-font { font-size: 0.6em }

.big-container {
  margin-right: auto;
  margin-left: auto;
  padding: 1em 0;
  max-width: 1800px;
}

.form-horizontal {
  max-width: 720px;
  margin: 0 auto;
}

.form-betting {
  max-width: 760px;
  margin: 0 auto;
}

.pagination {
	margin: 0;
}

.popover-details {
	width: 160px;
}

.form-main {
  max-width: 330px;
  margin: 0 auto;
}
.form-main .form-main-heading,
.form-main .checkbox {
  margin-bottom: 10px;
}
.form-main .checkbox {
  font-weight: normal;
}
.form-inline .form-horizontal .form-betting .form-main .form-control {
  position: relative;
  font-size: 16px;
  height: auto;
  padding: 10px;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

.form-inline .control-label {
	padding-right: 15px;
}


.form-inline .control-label, .form-inline .radio, .form-inline .checkbox, .form-inline .radio-inline, .form-inline .checkbox-inline {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 7px;
}

.form-main .form-control:focus {
  z-index: 2;
}
.form-main input {
  margin-bottom: 10px;
}

.footer {
	background-color: #555555;
	color: #dadada;
	padding: 1em;
	
}

.footer-text {
	font-size: 0.7em;
	padding-top: 2em;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
	.footer {
		padding: 0.5em;
	}
}

.alert {
    margin-top: 1em;
}

table.perms select {
	margin-top: 5px;
	margin-right: 10px;
}

table.perms label {
	margin-right: 10px;
}

.contact-icon {
	text-align: right;
}

.table-scroll { overflow-x: auto }

@media only screen and (max-width: 700px) {
	
	/* Force table to not be like tables anymore */
	.table-dynamic table, 
	.table-dynamic thead, 
	.table-dynamic tbody, 
	.table-dynamic th, 
	.table-dynamic td, 
	.table-dynamic tr { 
		display: block; 
	}

	/* Hide table headers (but not display: none;, for accessibility) */
	.table-dynamic thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.table-dynamic tr { border: 1px solid #ccc; }

	.table-dynamic tbody tr td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 45%; 
		/*white-space: normal;*/
		text-align:left;
	}

	.table-dynamic td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
}

@media only screen and (min-width: 700px) {

	.actioncell { 
		width: 10%;
	}
}

.actioncell { 
    white-space: nowrap;
	text-align: center;
}

.dontsplit { padding: 0 5px; }


.panel-fixturemenu { margin-bottom: 5px }
.panel-fixturemenu li a { padding: 5px 15px }

.div-row {
  margin: 0 0;
}

.div-col {
  padding: 0 5px;
}

.div-col > .panel {
  margin-bottom: 10px;
}

#countdown-wrap {
	position:relative; 
	z-index:1;
}

#countdown {
	margin:0 0 0 -40px
}

.btn-file {
  position: relative;
  overflow: hidden;
}

.btn-file input[type=file] {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 100%;
  min-height: 100%;
  font-size: 999px;
  text-align: right;
  filter: alpha(opacity=0);
  opacity: 0;
  outline: none;
  background: white;
  cursor: inherit;
  display: block;
}

.jersey-image {
    max-height: 140px;
}

#sortable {
    height: 40px;  
}

.connectedSortable tr, .ui-sortable-helper {
    cursor: pointer;
}
.connectedSortable tr:active
{
    cursor:grabbing;
    cursor:-moz-grabbing;
    cursor:-webkit-grabbing;   
}

.hand {
    cursor: pointer;
}

.connectedSortable tr:first-child {
    cursor: default;
}

.white {
    background-color: white;
}

.hidden {
    display: none;
}

.upper {
    text-transform: uppercase
}

.soccerGG {
    max-width: 300px;
}

#svg_preview{cursor: pointer}
.color-swatches{margin:0 -5px; overflow:hidden; cursor: pointer}
.color-swatch {float:left; width:15px; height:15px; margin:0 5px; border-radius:3px}
@media (min-width:768px){
    .color-swatch{width:25px; height:25px}
}

.soccer-chks, .rugby-chks {
    padding-right: 8px;
}

@media print
{    
    .no-print, .no-print *
    {
        display: none !important;
    }

    .editable-empty, .editable-empty *
    {
        display: none !important;
    }

    a.editable-click 
    {
        border-bottom: none !important;
    }

    body 
    {
        margin: 0px;  
    }
    table {page-break-inside: avoid;}
    .panel {page-break-inside: avoid;}

    @page  
    { 
        size: auto;   /* auto is the initial value */ 
        /* this affects the margin in the printer settings */ 
        margin: 5mm 5mm 5mm 5mm;  
    } 
}

.small-font {
	font-size: 70%;
}

.custom-borders td, .custom-borders th{
   border:none !important;
}

.thick-border {
	border: 1.5px solid #033c73 !important;
}

.rl-thick {
	border-right: 1.5px solid #033c73 !important;
	border-left: 1.5px solid #033c73 !important;
}

.r-thick {
	border-right: 1.5px solid #033c73 !important;
}

.l-thick {
	border-left: 1.5px solid #033c73 !important;
}

.panel-info > .panel-heading > h4 {
	color: white !important;
}

.panel-info > .panel-heading > h5 {
	color: white !important;
}

