.facility-select {
	 display: inline-block;
	 margin: 0px 10px 20px 0px;
}

.facility-select > .active{
	
	background-color:#528a9e;
}


h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -.025em;
}
p {
      margin: 3px 8px 1em;
}
pre {
  color: #fff;
  font-size: 11px;
  background: #333;
}
/* Remove dbltap to zoom in IE10  */
a, input, button { -ms-touch-action: none !important; }

#wrapper {
  max-width: 1600px;
}

.sidebar-group > .navigation-header {
  text-indent: -999em;
  background: transparent url('../img/logo-pay2play-wot.png') 40px 50% no-repeat;
  background-size: 143px 32px;
}
.jumbotron {
  color: #fff;
  text-align: center;
  background: #2B2F34;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  box-shadow: inset 999em 0 0 rgba(0,0,0,.25)
}
  .jumbotron h1,
  .jumbotron h3 { font-weight: 700; text-shadow: 0 .025em .1em rgba(0,0,0,.5); }
.btn-link { background: transparent; }
.thumbnail { margin-bottom: 1em; }

.venue {
   text-align: center;
}

.venue>div {
    border: 1px solid gray;
    width: 272px;
}

.venue h1 {
    font-size: 13px;
    line-height: 1;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}

.venue p {
    margin-bottom: 10px;
    color: #666;
}

.venue-thumbnail {
    width: 132px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.debug { margin-bottom: 0 !important; }
.debug h5 { cursor: pointer; }
.debug .wrap { display: none; }
p.todo {
  color: #993;
  padding:1em;
  text-align: center;
  background: #ffe;
  border: 1px dashed #cc6;
}

#wrapper.active #show-menu {
  color: #fff;
  z-index: 1000;
  position: relative;
}

.main-header h3 { text-transform: uppercase; }

/*.module-header h1, .module-header h2, .module-header h3, .module-header h4 { text-transform: uppercase; }*/

.dropdown-menu { right: 0; left: auto; }

.input-avatar .input-avatar-preview { width: 140px; }

.module .module-header h1, .module .module-header h2,
.module .module-header h3, .module .module-header h5 { margin: 0; padding: 0; }

.sidebar-icon .active a { color: #fff; background: #2b3035; }
.sidebar-group li { margin-left: 1em; }
.sidebar-group li.active > a { color: #fff; cursor: default; background: #2b3035; background: rgba(0,0,0,.2); }
.sidebar-group > .navigation-header { font-weight: 400; margin-left: 0; font-size: 24px; text-transform: none; }
.sidebar-icon .sidebar-header a:hover { background: inherit; }

.datepicker table { width: 100%; }
.datepicker td, .datepicker th { line-height: 20px; }
.datepicker-inline { width: 100%; }
.datepicker-dropdown { width: 450px; }

.club {
  overflow-x: auto;
  position: relative;
  overflow-y: hidden;
  white-space: nowrap;
  padding-bottom: 1em;
}

.names {
  display: block;
  padding-left: 15px;
}
.names .court {
  z-index: 20;
  width: 150px;
  font-size: 11px;
  margin-left: 15px;
  position: relative;
  white-space: normal;
  display: inline-block;
}

.courts {
  padding-left: 20px;
  margin-left: -5px;
}
.times {
  left: 0;
  right: 0;
  color: #999;
  z-index: 10;
  font-size: 9px;
  position: absolute;
}
.hour { margin:0;  padding: 0; }
.hour li {
  height: 60px;
  padding: .25em;
  list-style: none;
  border-top: 1px solid #eee;
}
.courts .court {
  z-index: 20;
  width: 150px;
  font-size: 12px;
  margin-left: 15px;
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.court .buffer {
    margin: 0;
    display: block;
}

.court .s label {
  margin: 0;
  color: #666;
  display: block;
  background: #eee;
  font-weight: 400;
  padding: .25em .5em;
  border-top: 1px solid #eee;
  border-top: 1px solid rgba(0,0,0,.1);
  border-left: 3px solid transparent;
}
.no-touch .court .s label:hover {
  color: #fff;
  cursor: pointer;
  background: #696;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.court .s label.active, .court .s label.active:hover {
  color: #fff;
  cursor: default;
  background: #393;
}
.court .s input[type=checkbox] {
  float: right;
}
/* Booked */
.court .a-b label, .no-touch .court .a-b label:hover {
  color: #fff;
  background: #69c;
  cursor: not-allowed;
}

/* Own Booking */
.court .a-bo label, .no-touch .court .a-bo label:hover {
  color: #fff;
  background: #696;
  cursor: not-allowed;
}

/* Reserved */
.court .a-r label, .no-touch .court .a-r label:hover {
  color: #fff;
  background: #c99;
  cursor: not-allowed;
}


/* Event */
.court .a-event label, .no-touch .court .a-event label:hover {
  color: #fff;
  background: #9eaa1d;

}

/* Class */
.court .a-class label, .no-touch .court .a-class label:hover {
  color: #fff;
  background: #9eaa1d;

}

/* Guest Booking */
.court .a-g label, .no-touch .court .a-g label:hover {
  color: #fff;
  background: #8be;
  cursor: not-allowed;
}

/* Guest Booking */
.court .a-ng label, .no-touch .court .a-ng label:hover {
  color: #fff;
  background: #616a73;
  cursor: not-allowed;
}

/* Special Price */
.court .a-p label, .court .a-p label:hover {
  border-left: 3px solid orange;
}

.s-15 label {
  height: 15px;
}
.s-30 label {
  height: 30px;
}
.s-45 label {
  height: 45px;
}

.d-book-session .btns { display: none; margin: 0; z-index: 2000; position: fixed; left: 0; right: 0; bottom: 0; }
.session-selected .main-content { padding-bottom: 5em !important; }
.session-selected .btns { display: block; }

@media (max-width:1200px){
  #wrapper { padding-left:0; }
  #sidebar-wrapper { left:0; }
/*  #wrapper.active { position:relative; left:310px; }*/
  #wrapper.active #sidebar-wrapper { left:310px; width:310px; transition:all .4s ease 0s; box-shadow: 0 0 3em rgba(0,0,0,.5); }
  #show-menu {
    color: #18ABE2;
    font-size: 1.2em;
    margin-right: 0.2em;
    display:inline-block;
  }
  .main-content.padding { padding:15px; }
  .sidebar-header img { display: none; }
}

@media (min-width:1201px){
  .main-header h3 img {
    display: none;
  }
}



.user-profile .dropdown {
    display: inline-block;
}

.user-profile .dropdown-menu {
    margin-top: -11px;
    border: 1px solid #ccc;
}

.user-profile .img-circle {
    width: 32px;
    height: 32px;
}

.alert.alert-primary{background:#767197;color:#fff;border-left:3px solid #5e5a7b}


.cake-sql-log {
    margin: 20px;
    margin-top: 0;
    font-size: 0.8em;
    border-top: 1px solid #ccc;
}

.module-content.subtle-padding {
    padding: 5px;
}

.module-content.subtle-padding .table.table-simple {
    margin-bottom: 0;
}

.table.table-simple thead th {
    color: #333;
    background-color: #fff;
}

.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.module-header .btn {
    margin-top: -7px;
    float: right;
    margin-left: 8px;
}

.module-header .actions {
    margin-top: -6px;
    float: right;
}

.module-header .actions .btn {
    float: none;
    margin-left: 4px;
}

.module-header .actions input {
    margin-right: 15px;
    width: auto;
    height: 32px;
}

.module-header .actions .filter-search input {
    float:right;
    margin-right: 10px;
    width: auto;
    max-width:120px;
}

.module-header .actions .filter-search select {
    float:right;
    margin-right: 10px;
    width: auto;
}


.module-header .actions .filter-search .btn {
    float: right;
    margin-left: 0;
}

.module-header .actions .btn {
  margin-top: 0px;
}


.no-padding td, .no-padding th {
  padding-left: 20px;
  padding-right: 20px;
}

.table .actions {
  text-align: right;
  vertical-align: middle;
}

.pagination {
  margin: -6px 0 0 0;
}

.table .form-group {
  margin-bottom: 0;
}

.module-content dl {
  margin-top: 0;
  margin-bottom: 0;
}

.dl-spaced-vertical dt {
  margin-top: 10px;
}

.dl-spaced-vertical dt:first-child {
  margin-top: 0;
}

.dl-spaced dt {
  margin-top: 10px;
}

.dl-spaced dt:first-child {
  margin-top: 0;
}

.dl-spaced dd {
  margin-top: 10px;
}

.dl-spaced dd:first-child {
  margin-top: 0;
}

.dl-horizontal.dl-leftalign dt {
  text-align: left;
}

table.text-middle tbody>tr>td {
  vertical-align: middle;
}

.module.no-padding .module-btns {
  padding: 15px 20px;
}

td.actions .btn {
  margin-left: 4px;
}

.module-header>.actions {
  margin-top: -26px;
}

.module-header>h4>a:not(.btn) {
  color: #fff;
}

.module-header>h4>a:not(.btn):hover {
  color: #e8e8e8;
}

.module-header .filter-search {
  margin-top: 1px;
}

.sidebar-group .divider {
  margin: 10px 38px;
  border-bottom: 1px solid;
  opacity: 0.5;
}

.social-icon {
  display: inline-block;
  margin-right: 6px;
  color: #bbb;
}

.nav-profile-pic {
  margin-left: 4px;
}



.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
}

.tt-dropdown-menu {
  min-width: 160px;
  margin-top: -2px;
  background-color: #ffffff;
  border: 2px solid #2b3035;
  box-shadow: 0 6px 12px rgba(0,0,0,0.175);
  background-clip: padding-box;
  padding: 6px 0;
}
.tt-suggestion {
    display: block;
    padding: 9px 18px;
    color: #333;
    font-family: Montserrat,sans-serif;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #bdbaba;
    background: white;
    margin: 2px;
}
.tt-suggestion:hover {
  color: #fff;
  background: #2b3035;
}
.tt-suggestion.tt-is-under-cursor {
  color: #fff;
  background-color: #dfdfdf;
}
.tt-suggestion.tt-is-under-cursor a {
  color: #fff;
}
.tt-suggestion p {
  margin: 0;
}

.edit-membership input.code{
  width:60%;
}

.edit-membership .form-group {
  padding-bottom:29px;
}

.edit-membership .form-group div{
  padding:8pt;
}

.edit-membership input[type='checkbox']{
  float:left;
  width:20%;
}

.fixed-bottom {
  bottom: 0;
  width: 100%;
  margin-left:-15px;
  margin-bottom: 0px;
  padding-bottom: 0px;
  position: fixed;
  z-index: 1000;
}

@media screen and (max-width: 767px) {
  .mobile-padding {
    padding-bottom: 70px;
  }
}

.no-bleed {
  margin: -40px -40px 0;
}
.no-bleed-sides {
  margin: inherit -40px;
}
.hero {
  display: none;
  border-bottom: 1px solid #2B3035;
}
  .hero img {
    max-width: 100%;
  }

.intro {
  font-size: 1.2em;
}

.module-home-how {}
  .module-home-how b.igger {
    color: #ccc;
    float: left;
    font-size: 3em;
    font-weight: 500;
    margin-right: .25em;
    }

.error-message {
    font-weight:bold;
    color:red;
}

.venue-data {
  padding-bottom: 5em;
}

#progress_actions {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  position: fixed;
  margin-bottom: 0;
}
#progress_actions.btns {
  border-bottom: 0;
  border-top: 2px solid #333;
}

.filter-venues {
  top: -.2em;
  position: relative;
}
.filter-venues .form-control {
  width: 45%;
  max-width: 12em;
  display: inline-block;
}
.filter-venues .btn-reset {
  color: #fff;
  line-height: 0;
  font-size: 16px;
  padding-left: 5px;
  position: relative;
}

@media (max-width: 500px){
  .item {
    float: none !important;
    width: 100% !important;
  }
  .item .input-avatar-preview{
    width: 100% !important;
    display: block !important;
  }
}

.mask {
 /* width    : 782px;*/
  height   : 318px; 
  overflow : hidden;
  position : relative;
  background: gray;
}

.mask iframe {
  position : absolute;
  top      : -166px;
  left     : -213px;
  width    : 1000px;
  height   : 500px;
}

.bookings-report td,th{
font-size: 90%;
	
}

.facility_name{
	width:20%;
}

.get-down p {
	    position: relative;
    top: -9px;
    left: 93px;
}


.error_table td{
	padding:4px;
}

.error_table th{
	text-align:center;
}

.data-tracing-typeahead {

	width:350px;
}
.date-select{
  width: 142px;
  display: inline;
}

.Hide {
  display: none;
}


@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	#choose-opponents, #choose-opponents thead, #choose-opponents tbody, #choose-opponents th, #choose-opponents td, #choose-opponents tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#choose-opponents thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#choose-opponents tr { 
    border: 1px solid #ccc; 
    padding: 12px;
  }
	
	#choose-opponents td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 20%; 
	}
	
	#choose-opponents 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;
	}

  #choose-opponents span, .form-group {
    width: 100%;
  }

  #choose-opponents tfoot th { 

    position: relative;
		padding-left: 20%; 
	}
	
	/*
	Label the data
	*/
	#choose-opponents tbody td:nth-of-type(1):before { content: "Slot"; }
	#choose-opponents tbody td:nth-of-type(2):before { content: "Cost"; }
	#choose-opponents tbody td:nth-of-type(3):before { content: "Players"; }

}
