* {
	margin: 0;
	padding: 0;
}

html {
	/* Still can't get index page to scale properly on mobile screens, maybe this time... */
	width: 100%;
	overflow-x: hidden; /* Stops horizontal scrolling. */
	-webkit-text-size-adjust: 100%;
	/* Prevent iOS from automatically upscaling font-size when going from portrait to landscape. */
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #000000;
	margin: 0;
	color: #ffffff;
	font-size: 14px;
}

input[type="text"], input[type="email"], input[type="password"], input[type="phone"], input[type="number"] {
	max-width: 250px;
	padding: 5px;
	width: 95%;
}

.iti {
	width: 100%;
	height: 100%;
	max-width: 250px;
}

.iti input {
	box-sizing: content-box;
	max-width: 202px;
}

input[type="color"] {
	width: 35px;
	height: 31px;
}

div#popup.ui-dialog-content.ui-widget-content {
	color: #fff;
}

.ui-widget button {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 25px;
}

select {
	max-width: 267px;
	padding: 5px;
	width: 100%;
}

select.textbox {
	max-width: initial;
	padding: initial;
	width: initial;
}

#login, #register, #passrecover {
	background-color: #181818;
	width: 500px;
	height: auto;
	position: absolute; /* or absolute */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

@media ( max-width : 500px) {
	#login, #register, #passrecover {
		width: 100%;
		left: 0%;
		top: 0%;
		transform: translate(0%, 0%) !important;
		-webkit-transform: translate(0%, 0%) !important;
		-ms-transform: translate(0%, 0%) !important;
	}
}

@media ( max-width :500px) and (min-height:600px) {
	#login {
		height: 100%;
	}
}

@media ( max-width :500px) and (min-height:850px) {
	#register {
		height: 100%;
	}
}

@media ( max-width :500px) and (min-height:420px) {
	#passrecover {
		height: 100%;
	}
}

.formlogin {
	border: 0;
}

.account-info {
	padding: 20px 20px 0 20px;
	border: 0;
}

.account-info label {
	display: block;
	font-weight: bold;
	margin-bottom: 15px;
	font-size: 14px;
	border: 0;
}

.account-info input[type="text"], .account-info input[type="password"] {
	background: #fff;
	border: 1px solid #c6c7cc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	color: #636466;
	padding: 2px;
	margin-top: 0px;
	width: 100%;
	max-width: 100%;
	height: 30px;
}

.account-action input[type="checkbox"] {
	//float: right;
	width: 5%
}

.account-action label {
	font-size: 15px;
}

.account-info select {
	background: #fff;
	border: 1px solid #c6c7cc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	color: #636466;
	padding: 2px;
	margin-top: 0px;
	//width: 100%;
	height: 30px
}

.account-action {
	border: 0px;
	padding: 20px;
}

.account-action .btn {
	background: #378e19;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	float: left;
	padding: 8px 16px;
	width: 100%;
	height: 55px;
	margin-bottom: 10px;
	font-size: 25px
}

.account-action .btn:active {
	background-color: #21530f;
}

.register {
	border: 0px;
	padding: 20px;
}

.btn_main, .btn_register, .btn_forgot {
	background: #3f3f3f;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	float: left;
	width: 100%;
	height: 55px;
	font-size: 25px
}

.btn_register, .btn_forgot {
	margin-bottom: 20px;
}

.btn_register {
	//padding: 8px 16px;
	//margin-top: 20px;
}

.btn_forgot {
	padding: 8px 16px;
}

.btn_register:active, .btn_forgot:active {
	background: #1e1e1e;
}

#login_logo {
	width: 100%;
	background-color: #fff;
	text-align: center;
	padding: 10px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin-bottom: 15px;
	overflow: auto;
}

#login_logo img {
	max-width: 100%;
	height: auto;
}

#hd_image {
	margin-top: 5px;
}

#hd_image img {
	width: 50%;
	height: auto;
	float: right;
}

.register-info {
	padding: 20px 20px 0 20px;
	border: 0;
}

.register-info label {
	display: block;
	font-weight: bold;
	margin-bottom: 15px;
	font-size: 14px;
	height: 30px;
	//border: 0;
	//width: 49%;
}

.register-info label[for=error] {
	font-size: 15px;
	margin: 0;
	width: 200px;
}

.register-info input[type="text"],
.register-info input[type="email"],
.register-info input[type="password"],
.register-info input[type="number"],
.register-info select {
	background: #fff;
	border: 1px solid #c6c7cc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	color: #636466;
	padding: 2px;
	margin-top: 0px;
	width: 50%;
	height: 30px;
	float: right;
}

.register-info .iti {
	background: #fff;
	border: 1px solid #c6c7cc;
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
	color: #636466;
	padding: 2px;
	margin-top: 0px;
	width: 50%;
	height: 30px;
	float: right;
}

.register-info .iti input {
	box-sizing: border-box;
	border: none;
	color: #636466;
	height: 100%;
}

.register-info input[type="checkbox"],
.register-info input[type="radio"] {
	float: right;
	width: 5%
}

.register-info input:focus:invalid {
	/* when a field is considered invalid by the browser */
	background: #fff url(images/invalid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #d45252;
	border-color: #b03535
}

.register-info input:required:valid {
	/* when a field is considered valid by the browser */
	background: #fff url(images/valid.png) no-repeat 98% center;
	box-shadow: 0 0 5px #5cd053;
	border-color: #28921f;
}

.register-info input:required:invalid {
	background: #fff url(images/redAsterisk.png) no-repeat 98% center;
}

.iti__country-name {
	color: #000;
}

.register-action {
	border: 0px;
	padding: 20px;
	padding-bottom: 0px;
}

.register-action .btn {
	background: #378e19;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	float: left;
	//padding: 8px 16px;
	width: 100%;
	height: 55px;
	margin-bottom: 0px;
	font-size: 25px
}

.register-action .btn:disabled {
	background: #bbb;
	color: #000;
}

.account-action .btn:active {
	background-color: #21530f;
}

.register-action label {
	font-size: 15px;
	margin: 50px 50px 50px 40px;
}

header {
	width: 100%;
	height: 40px;
	position: fixed;
	z-index: 999;
	top: 0px;
	background-color: #eaeaea;
	-webkit-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
}

header>nav>ul {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
}

.profile-block {
	display: inline-block;
	overflow: hidden;
	width: 100px;
	height: 16px;
	white-space: nowrap;
}

@media ( max-width : 1165px) {
	header>nav>ul {
		font-size: 14px;
	}
	.profile-block {
		width: 70px;
	}
}

@media ( max-width : 1023px) {
	header>nav>ul {
		display: none;
	}
}

header>nav>ul>li {
	float: left;
}

header>nav>ul>li a {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 10px 10px 11px;
}

header>nav>ul>li a:link {
	color: #000;
}

header>nav>ul>li a:visited {
	color: #000;
}

header>nav>ul>li.user, header>nav>ul>li.logout {
	float: right;
}

header>nav>ul>li.user a {
	color: #000;
	padding: 10px;
	float: right;
}

header>nav>ul>li.user img {
	vertical-align: top;
}

header>nav>ul>li.current a {
	color: #fff;
	background-color: #3f3f3f;
	height: 20px;
}

header>nav>ul>li a:hover {
	background-color: white;
	color: #444444;
	height: 19px;
}

header>nav {
	max-width: 1200px;
	//background-color: #444444;
	color: #000;
	font-size: 16px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
}

#header {
	width: 100%;
	height: 40px;
	position: fixed;
	z-index: 999;
	top: 0px;
	background-color: #eaeaea;
	-webkit-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
}

#header_menu {
	max-width: 1200px;
	//background-color: #444444;
	color: #000;
	font-size: 16px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
}

ul.header_menu {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
}

li.header_menu {
	float: left;
	//margin: 5 10 0 10;
}

li.header_menu a {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 10px 10px 11px 10px;
}


li.header_menu.current a {
	color: #fff;
	background-color: #3f3f3f;
}

li.header_menu a:hover {
	background-color: white;
	color: #444444;
}

.sb-toggle-left {
	display: none;
	float: left;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	width: 25px;
	cursor: pointer;
}

@media ( max-width : 1023px) {
	.sb-toggle-left {
		display: block;
	}
}

.navicon-line {
	background-color: #000;
	border-bottom-left-radius: 1px;
	border-bottom-right-radius: 1px;
	border-top-left-radius: 1px;
	border-top-right-radius: 1px;
	height: 4px;
	margin-bottom: 3px;
	width: 24px;
}

ul.menu_left {
	list-style-type: none;
	text-transform: uppercase;
	//margin: 0;
	padding: 0px;
}

ul.menu_left li {
	//float: left;
	//margin: 10 0 10;
	border-bottom: solid 1px rgba(255, 255, 255, 0.3);
}

ul.menu_left li a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 20px 20px 20px 20px;
}

ul.menu_left li a:hover {
	background-color: white;
	color: #444444;
}

ul.menu_left li img {
	vertical-align: top;
}

#container {
	max-width: 95%;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}

#container > div {
	background-color: #181818;
}

#container > :first-child {
	width: 100%;
	min-height: 1000px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	overflow: auto;
	flex-shrink: 100;
	margin-left: initial;
	margin-right: initial;
}

#container > :nth-child(2) {
	width: 20%;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

@media ( max-width : 1023px) {
	#container {
		display: block;
	}
	
	#container > :nth-child(2) {
		width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 1em;
		margin-bottom: 1em;
	}
	
	#container > :nth-child(2) > div {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-around;
	}
	
	#container > :nth-child(2) > div {
		flex: 1;
	}
}

#break {
	height: 1px;
	width: 100%;
}

#top_header {
	height: 70px;
	max-width: 96%;
	margin-left: auto;
	margin-right: auto;
}

#top_header h1 {
	font-size: 26px;
	margin: 0px;
	padding-top: 15px;
	//width: 40%;
	float: left;
	text-transform: uppercase;
}

#top_header img {
	float: right;
	padding: 10px;
}

.logo-container {
	width: 500px;
	float: right;
	display: inline-block;
}

@media ( max-width : 827px) {
	#top_header img {
		float: none;
		margin-left: auto;
		margin-right: auto;
	}
	#top_header h1 {
		width: 100%;
		padding: 0px;
		text-align: center;
	}
	#top_header {
		height: 100px;
	}
	.logo-container {
		width: 100%;
		height: 60px;
	}
}

@media ( max-width : 260px) {
	#top_header img {
		width: 90%;
		height: auto;
	}
}

div.tab {
	width: 100%;
	clear: both;
	padding-bottom: 25px;
}

nav.tab_menu {
	max-width: 98%;
	background-color: #252525;
	color: #fff;
	font-size: 16px;
	height: 68px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: solid 2px #eaeaea;
	position: relative;
	clear: both;
}

nav.tab_menu ul {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	position: relative;
	height: 68px;
}

nav.tab_menu li {
	float: left;
	//margin: 0px;
	position: relative;
	bottom: -25px;
}

nav.tab_menu li a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 11px;
	background-color: #3f3f3f;
	margin-left: 2px;
	text-align: center;
}

nav.tab_menu .selected {
	bottom: 0px;
}

nav.tab_menu .selected a {
	background-color: #7d7d7d;
	height: 47px;
}

nav.tab_menu a:hover {
	background-color: white;
	color: #444444;
}

nav.dropdown {
	width: 98%;
	margin: 0 auto;
	color: #fff;
	font-size: 16px;
	height: 43px;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	display: none;
}

nav.dropdown a {
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 11px;
	display: block;
	background-color: #7d7d7d;
}

nav.dropdown>a {
	border-bottom: solid 2px #eaeaea;
}

nav.dropdown ul {
	margin: 0px;
	position: absolute;
	left: -9999px;
	list-style: none;
	padding-left: 0;
	width: 98%;
}

nav.dropdown ul a {
	background-color: #3f3f3f;
}

nav.dropdown .selected a {
	background-color: #7d7d7d;
}

nav.dropdown a:hover {
	background-color: white;
	color: #444444;
}

nav.dropdown:hover ul {
	left: 50%;
	transform: translate(-50%, 0);
	-webkit-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
}

div.locker-nav {
	z-index: +1;
	position: relative;
}

@media ( max-width : 1305px) {
	nav.locker_tab {
		display: none;
	}
	nav.locker_dropdown {
		display: block;
	}
}

@media ( max-width : 454px) {
	nav.competition_tab {
		display: none
	}
	nav.competition_dropdown {
		display: block;
	}
}

#tab_menu {
	max-width: 98%;
	background-color: #252525;
	color: #fff;
	font-size: 16px;
	height: 65px;
	margin-left: auto;
	margin-right: auto;
	border-bottom: solid 2px #eaeaea;
	position: relative;
	clear: both;
}

ul.tab_menu {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	position: relative;
	height: 65px;
}

li.tab_menu {
	float: left;
	//margin: 0px;
	position: relative;
	bottom: -25px;
}

li.tab_menu a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 11px 10px;
	background-color: #3f3f3f;
	margin-left: 2px;
	text-align: center;
}

li.tab_menu a:hover {
	background-color: white;
	color: #444444;
}

li.tab_menu_selected {
	float: left;
	//margin: 0px;
	position: relative;
	bottom: 0px;
}

li.tab_menu_selected a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 11px 10px;
	background-color: #7d7d7d;
	margin-left: 2px;
	text-align: center;
	height: 75%;
}

li.tab_menu_selected a:hover {
	background-color: white;
	color: #444444;
}

.flex-link {
	width: calc(20% - 1px);
	text-align: center;
	border-left: solid 1px #8e8e8e;
	float: left;
	padding-top: 0.75em;
	padding-bottom: 0.75em;
}

.courserow {
	display: none;
}

.small_button {
	height: 48px;
	width: 49.3%;
	//background-color: #3f3f3f;
	float: left;
	color: #b8e5eb;
	font-size: 16px;
	text-transform: uppercase;
	margin: 2px;
	border: none;
	text-align: center;
}

a:link.small_button, button.small_button {
	display: block;
	text-decoration: none;
	background-color: #3f3f3f;
}

a:hover.small_button, button:hover.small_button {
	background-color: white;
	color: #444444;
}

button.small_button {
	cursor: pointer
}

.small_button img {
	vertical-align: middle;
	padding: 7px 10px 10px 10px;
}

#msgs, #message, #error, .msgs, .message, .error, #msgs_info, .msgs_info, #warning, .warning {
	max-width: 96%;
	background-color: green;
	text-align: center;
	padding: 10px;
	margin: 5px;
	margin-left: auto;
	margin-right: auto;
	position:relative;
}

.close_message {
	position:absolute;
	top:50%;
	right:5px;
}

.close_message a {
	display:block;
	position:relative;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
}

#msgs_info, .msgs_info {
	background-color: #2e6da4;
}

#error, .error {
	background-color: crimson;
}

#warning, .warning {
	background-color: #FF6500;
}

#errMsgs {
	//width: 150px;
	background-color: crimson;
	text-align: center;
	//padding: 10px;
	margin: 5px;
	float: right;
}

.tournament {
	height: 48px;
	//width: 49.3%;
	//background-color: #3f3f3f;
	float: left;
	color: #b8e5eb;
	font-size: 16px;
	text-transform: uppercase;
	margin: 2px;
	border: none;
	text-align: center;
	-webkit-flex: 1; /* Safari 6.1+ */
	-ms-flex: 1; /* IE 10 */
	flex: 1;
}

a:link {
	color: #dddddd;
}

a:link.tournament, button.tournament {
	display: block;
	text-decoration: none;
	background-color: #3f3f3f;
}

a:hover.tournament, button:hover.tournament, .ui-widget-content a:hover.tournament {
	background-color: white;
	color: #444444;
}

button.tournament {
	cursor: pointer
}

.tournament img {
	vertical-align: middle;
	padding: 7px 10px 10px 10px;
}

.dropdown img {
	vertical-align: middle;
}

.flex-container {
	padding: 0;
	margin: 0;
	list-style: none;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
}

.stats {
	text-transform: uppercase;
	height: 48px;
	margin: 2px;
	line-height: 50px;
	text-align: center;
	-webkit-flex: 1; /* Safari 6.1+ */
	-ms-flex: 1; /* IE 10 */
	flex: 1;
}

a:link.stats {
	display: block;
	text-decoration: none;
	background-color: #3f3f3f;
	color: #fff
}
a:link.stats.selected {
	background-color: #f1f1f1;
	color: #444444;
}

a:visited.stats {
	display: block;
	text-decoration: none;
	background-color: #3f3f3f;
	color: #fff
}
a:visited.stats.selected {
	background-color: #f1f1f1;
	color: #444444;
}

a:hover.stats {
	background-color: white;
	color: #444444;
}

.stats img {
	vertical-align: middle;
	padding: 7px 10px 10px 10px;
}


#tools {
	max-width: 98%;
	background-color: #252525;
	height: 52px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
}

table {
	width: 96%;
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px;
}
/* Zebra striping */
//tr:nth-of-type(odd) {
	background: #eee;
}

table:not(.ui-datepicker-calendar) th, .date_item, .time-sch-date-header, .calendar-header {
	background-color: #5f4998;
	color: white;
	font-weight: bold;
}

td, th, .calendar-header, .calendar-day {
	padding: 6px;
	text-align: left;
	border-bottom: 1px solid #8e8e8e;
}

@media ( max-width :640px) {
	td, th {
		height: 1.5em;
	}
}

table.res {
	margin: 15px 15px 15px 15px;
	float: left;
	max-width: 500px
}

table.mode {
	max-width: 49%;
	margin: 20;
	margin-left: 20px;
	float: left;
	border-bottom: none;
}

table.mode td {
	border-bottom: none;
}

table.play {
	max-width: 49%;
	margin: 0;
	margin-bottom: 25px;
	margin-left: 20px;
	float: left;
	border-bottom: none;
}

table.schedule {
	clear: both;
	width: 100%;
}

table.schedule td {
	border: 1px solid #8e8e8e;
	text-align: left;
}

.reservation {
	display: inline-block;
	box-sizing: border-box;
	border-radius: 10px;
	border-left: 3px dotted #fff;
	border-right: 3px dotted #fff;
	overflow: hidden;
	white-space: nowrap;
}

.reserved, .blackout, .closed, .past, .present, .web {
	padding:5px;
	box-sizing: border-box;
	overflow:hidden;
}

.reserved {
	background-color: #555;
    color:#fff;
}

.blackout {
	background-color: #6F292D;
	color: #fff;
}

.closed {
	background-color: #181818;
	color: #fff;
}

.past {
	background-color: #8a8a8a;
	color: #000;
}

.present {
	background-color: #40bb40;
	color: #ff0
}

.web {
	background-color: #de4ed4;
	color: #ff0;
}

.buffer {
	background-color: #000000;
}

td.schedule {
	border: 1px solid #8e8e8e;
	padding: 0;
	text-align: left;
	background-color: #337ab7;
}

td.monday{
 background-color: #5bc0de;
     border: 1px solid #8e8e8e;
  padding: 0;
  text-align: left;
}

th.schedule {
	border-left: 1px solid #8e8e8e;
	text-align: center;
}

td.active {
	border-left: 1px solid #8e8e8e;
	text-align: center;
	background-color: #3f3f3f;
	//display: block;
}

th.active {
	border-left: 1px solid #8e8e8e;
	text-align: center;
}

th.title {
	background-color: #3f3f3f;
}

th.head {
	text-align: center;
}

td.active a {
	color: #fff;
	text-decoration: none;
	display: block;
}

td.active a:hover {
	text-decoration: underline;
	cursor: pointer;
}

//tr:nth-child(odd) {
	background-color: #fff;
}

table.myAvg {
	border-collapse: collapse;
	background-color: #252525;
	font-size: 15px;
	margin: 15px;
	float: left;
}

table.league {
	border-collapse: collapse;
	background-color: #252525;
	font-size: 15px;
	width: 96%;
	margin: 2%;
	float: left;
}

th.myAvg {
	background-color: #5f4998;
	height: 37px;
	text-align: center;
}

td.myAvg {
	height: 37px;
	text-align: center;
}

.container2border {
	width: 50.5%;
	border-top: solid 1px #181818;
	float: left;
}

.container1border {
	width: 49.5%;
	border-top: solid 1px #000;
	float: right;
}

.container3 {
	float: left;
	width: 100%;
	background: #252525;
	overflow: hidden;
	position: relative;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 1%;
	border-right: solid 1px #000;
	border-left: solid 1px #000;
}

.container2 {
	float: left;
	width: 100%;
	background: #181818;
	position: relative;
	right: 49.5%;
	border-top: solid 1px #181818;
	border-right: solid 1px #000;
}

.container1 {
	float: left;
	width: 100%;
	background: #252525;
	position: relative;
	right: 1%;
	border: solid 1px #000;
}

.col1 {
	float: left;
	width: 49.5%;
	position: relative;
	left: 50.5%;
	overflow: hidden;
}

.col2 {
	float: left;
	width: 0%;
	position: relative;
	left: 50%;
	overflow: hidden;
}

.col3 {
	float: left;
	width: 49.5%;
	position: relative;
	left: 51.5%;
	overflow: hidden;
}

.clubhouse {
	max-width: 100%;
	height: auto;
	margin-right: 2%;
}

.clubhouse_2 {
	width: 98%;
	height: auto;
	background-color: #252525;
	border: solid 1px #000;
	margin-left: 1%;
	margin-right: 1%;
	margin-bottom: 1%;
	float: left;
}

.container_single {
	float: left;
	position: relative;
	width: 100%;
	overflow: hidden;
}

.sb-toggle-right {
	float: right;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	width: 45px;
	cursor: pointer;
}

#feed {
	width: 95%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
}

.clubhouse_edit {
	width: 99%;
}

.feed_msg {
	width: 50%;
}

.feed_msg, .clubhouse_edit {
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	border: solid 1px #000;
	background-color: #252525;
	margin-bottom: 1%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.feed_msg2 {
	width: 98%;
	margin: 1%;
	margin-bottom: 1%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.feed_msg2 li {
	margin-left: 2em;
}

@media ( max-width : 1025px) {
	.clubhouse_edit {
		width: 98%;
	}
}

.feed_main_img {
	width: 100%;
	height: auto;
	overflow: hidden;
	margin-bottom: 25px;
}

.container_title {
	margin: 1%;
}

@media ( max-width : 800px) {
	.container2border {
		border-top: none;
	}
	.container1border {
		border-top: none;
	}
	.container3 {
		border: none;
		margin-bottom: 20px;
	}
	.container2 {
		background: #252525;
		right: 0%;
		border-top: none;
		border-right: none;
	}
	.container1 {
		background: #252525;
		right: 0%;
		border: none;
	}
	.col1 {
		width: 99.75%;
		left: 0%;
		border: solid 1px #000;
	}
	.col2 {
		width: 100%;
		height: 20px;
		background: #181818;
		left: 0%;
	}
	.col3 {
		width: 99.75%;
		left: 0%;
		border: solid 1px #000;
	}
	.feed_msg {
		width: 98%;
		margin: 1%;
		padding: 0px;
		border: none;
		margin-bottom: 1%;
	}
	.container_single {
		background: #252525;
		margin-left: 1%;
		margin-right: 1%;
		margin-bottom: 1%;
		border: solid 1px #000;
	}
}

.sort {
	padding: 0;
	margin: 0;
	list-style: none;
	max-width: 1024px;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
}

li.sort_button a {
	color: #fff;
	display: block;
	padding-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	text-decoration-color: -moz-use-text-color;
	text-decoration-line: none;
	text-decoration-style: solid;
	background-color: #3f3f3f;
	-webkit-flex: 1; /* Safari 6.1+ */
	-ms-flex: 1; /* IE 10 */
	flex: 1;
}

li.sort_button a:hover {
	background-color: white;
	color: #444444;
	-webkit-flex: 1; /* Safari 6.1+ */
	-ms-flex: 1; /* IE 10 */
	flex: 1;
}

#page_setting {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	padding: 10px
}

#page_setting input[type=search] {
	height: 25px;
}

#page_setting input[type=submit] {
	height: 25px;
	padding: 3px 15px 3px 15px;
	background: #ccc;
	border: 0 none;
	cursor: pointer;
	-webkit-border-radius: 1px;
	border-radius: 1px;
}

.cal {
	margin: 15px;
	width: 210px;
	float: left;
}

.btn_book {
	background: #378e19;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	//float: left;
	padding: 8px 16px;
	width: 50%;
	min-width: 250px;
	height: 55px;
	margin: 10px;
	margin-left: auto;
	margin-right: auto;
	font-size: 25px;
	clear: both;
	display: block;
}

#conflict_msg {
	display: none;
	background-color: crimson;
	border-color: #4d8fcc;
	clear: both;
	max-width: 1000px;
	text-align: center;
	padding: 10px;
	margin: 5px;
	margin-left: auto;
	margin-right: auto;
}

#calendar {
	width: 98%;
	overflow: auto;
	margin: 0 auto;
}

td.fc-border-separate {
	border: solid 1px #fff;
}

td.fc-widget-header, td.fc-widget-content, td.fc-tue, td.fc-state-highlight,
	td.fc-today {
	//border: 1px solid #ccc !important;
	background-color: #252525;
}

#sims {
	width: 26%;
	float: left;
	clear: both;
}

#sim_sec {
	background-color: #3f3f3f;
	padding: 10px;
	margin: 5px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

footer.sb-slide {
	width: 100%;
	height: 40px;
	position: fixed;
	z-index: 999;
	bottom: 0px;
	background-color: #eaeaea;
	-webkit-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
}

#admin_footer {
	width: 100%;
	height: 40px;
	position: fixed;
	z-index: 999;
	bottom: 0px;
	background-color: #eaeaea;
	-webkit-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 8px 4px -4px rgba(0, 0, 0, 0.3);
}

#admin_menu {
	max-width: 1011px;
	//background-color: #444444;
	color: #000;
	font-size: 16px;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
}

ul.admin_menu {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
}

li.admin_menu {
	float: left;
	//margin: 5 10 0 10;
}

li.admin_menu_current {
	float: left;
	//margin: 5 10 0 10;
}

li.admin_menu a {
	display: block;
	color: #000;
	text-decoration: none;
	padding: 10px 10px 11px 10px;
}

li.admin_menu a:hover {
	background-color: white;
	color: #444444;
}

li.admin_menu_current a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 11px 10px;
	background-color: #3f3f3f;
}

li.header_menu_current a:hover {
	background-color: white;
	color: #444444;
}

li.admin_menu_user a {
	display: block;
	color: #467c2b;
	text-decoration: none;
	padding: 10px 10px 10px 10px;
	float: right;
}

li.admin_menu_user a:hover {
	background-color: white;
	color: #444444;
}

li.admin_menu_user img {
	vertical-align: top;
}

li.admin_menu_user_current a {
	display: block;
	color: #467c2b;
	text-decoration: none;
	padding: 10px 10px 10px 10px;
	float: right;
	background-color: #3f3f3f;
}

li.admin_menu_user_current a:hover {
	background-color: white;
	color: #444444;
}

li.admin_menu_user_current img {
	vertical-align: top;
}

ul.admin_panel {
	list-style-type: none;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

ul.admin_panel li {
	margin: 0;
}

ul.admin_panel li.current {
	//float: left;
}

ul.admin_panel li a {
	display: block;
	color: #fff;
	text-decoration: none;
	padding-left: 15px;
	padding-right: 10px;
	padding-top: 6px;
	padding-bottom: 8px;
}

ul.admin_panel li.current a {
	padding-left: 15px;
	padding-right: 10px;
	padding-top: 6px;
	padding-bottom: 8px;
	background-color: #3f3f3f;
}

ul.admin_panel li a:hover {
	background-color: white;
	color: #444444;
}

li.header_panel_current a:hover {
	background-color: white;
	color: #444444;
}

table.cTournament {
	max-width: 49%;
	margin: 0;
	margin-left: 20px;
	float: left;
}

.tbtn {
	background: #378e19;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-weight: bold;
	float: left;
	padding: 8px 16px;
	width: 100%;
	height: 55px;
	margin: 5px;
	font-size: 25px;
	clear: both
}

.tbtn:active {
	background-color: #21530f;
}

@media only screen and (max-width: 1480px) {
	#tPic {
		display: none;
	}
	table.cTournament {
		float: none;
		margin: 0 auto;
		max-width: 98%;
	}
}

#tourinfo table.cTournament {
	max-width: 100%;
}

#tPic img {
	max-width: 664px;
	height: auto;
	padding: 15px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#tPic {
	width: 49%;
	float: left;
}

.top5 {
	width: 48%;
	margin-left: 15px;
	margin-right: 0px;
	float: left;
	margin-bottom: 30px;
	//border: solid 1px #000;
}

@media ( max-width : 900px) {
	.top5 {
		width: 98%;
		margin: 1%;
		margin-bottom: 20px;
	}
}

table.roundinfo {
	width: 98%;
	margin-left: 1%;
	float: left;
	margin-bottom: 30px;
	//border: solid 1px #000;
}

div.ThePager {
	width: 98%;
	margin: 10px auto;
}

#user-padding {
	width: 98%;
	padding: 1%;
}

#user {
	width: 48%;
	margin: 1%;
	margin-top: 0px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border: solid 1px #000;
	background-color: #252525;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: auto;
	position: relative;
	float: left;
}

#user-self {
	width: 98%;
	margin: 1%;
	margin-top: 0px;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border: solid 1px #000;
	background-color: #252525;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: auto;
	position: relative;
	float: left;
}

@media ( max-width : 1100px) {
	#user {
		width: 98%;
	}
	.playerbooking {
		display:none;
	}
}

#user h2 {
	clear: both
}

#edit-container {
	max-width: 30%;
	display: inline-block;
	text-align: left;
	float: left;
	position: relative;
}

#file-upload {
	display: block;
	float: bottom;
}

#user_image {
	height: auto;
	overflow: hidden;
	float: left;
}

#user_image img {
	max-width: 300px;
	width: 100%;
	height: auto;
	overflow: hidden;
	margin-bottom: 25px;
	text-align: center;
}

#user_info {
	float: left;
	width: 48%;
	margin-left: 10px;
	font-size: 16px;
}

#user_info2 {
	float: left;
	width: 98%;
	margin-left: 1%;
	font-size: 16px;
}

#message_player {
	position: absolute;
	right: 0px;
	padding: 10px;
}

.imgbutton {
	background-color: Transparent;
	background-repeat: no-repeat;
	border: none;
	overflow: hidden;
	outline: none;
	cursor: pointer;
	color: #fff;
}

.ui-widget-content.ui-dialog {
	font-family: Arial, Helvetica, sans-serif;
	background: none;
	background-color: #000000;
	margin: 0;
	padding: 0;
	font-size: 14px;
}

.ui-dialog {
	position: fixed;
}

.popup {
	max-width: 95%;
	background-color: #181818;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	min-height: 1000px;
	padding-bottom: 20px;
	overflow: auto;
	margin-bottom: 20px;
}

#playerlist {
	max-width: 95%;
	background-color: #181818;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	min-height: 1000px;
	padding-bottom: 20px;
	overflow: auto;
	margin-bottom: 20px;
}

#invite {
	max-width: 95%;
	background-color: #181818;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	min-height: 1000px;
	padding-bottom: 20px;
	overflow: auto;
	margin-bottom: 20px;
}

#pageselecter {
	max-width: 95%;
	background-color: #181818;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	overflow: auto;
	margin-bottom: 20px;
}

#pageselecter a:link {
	color: #ffffff;
}

#pageselecter a:visited {
	color: #ffffff;
}

#pageselecter a:hover {
	color: #ffffff;
}

#pageselecter a:active {
	color: #ffffff;
}

.input {
	width: 99%;
	border: 1px solid #aaaaaa;
	background-color: white;
}

.input-table {
	width: 100%;
	height: 26px;
	color: #000;
	background-color: #fff;
	text-align: center;
}

label.search {
	width: 100px;
	display: inline-block;
}

label.align {
	width: 200px;
	height: 30px;
	display: inline-block;
}

.textdisplay {
	border: none;
	background: none;
	color: white;
}

select.textdisplay {
	-webkit-appearance: none;
	-moz-appearance: none;
	text-indent: -1px;
	text-overflow: '';
}

#tourinfo {
	padding: 20px;
}

table.scorecard {
	table-layout: fixed;
	width: 97%;
	margin-left: auto;
	margin-right: auto;
}

table.misc {
	table-layout: fixed;
	width: 20%;
}

table.scorecard tr {
	height: 30px;
}

table.scorecard tr.space {
	height: 5px;
}

table.scorecard td {
	text-align: center;
}

table.scorecard .maincol {
	width: 75px;
	text-align: left;
}

table.scorecard .scorecol, table.scorecard .totalcol {
	width: 45px
}

table.scorecard .name {
	font-size: 80%;
}

table.scorecard, table.scorecard th, table.scorecard td {
	border: 1px solid black;
}

table.scorecard tr:nth-child(odd) {
	background-color: #85948d;
}

table.scorecard tr:nth-child(odd) .maincol, table.scorecard tr:nth-child(odd) .scorecol
	{
	background-color: #6a746f;
}

table.scorecard tr:nth-child(even) {
	background-color: #616c67;
}

table.scorecard tr:nth-child(even) .maincol, table.scorecard tr:nth-child(even) .scorecol
	{
	background-color: #535a57;
}

table.scorecard tr.par {
	background-color: #4c6c4c;
}

table.scorecard tr.par .maincol, table.scorecard tr.par .scorecol {
	background-color: #455a45;
}

table.scorecard tr.holes, table.scorecard tr.holes .maincol, table.scorecard tr.holes .scorecol
	{
	background-color: #383838;
}

tr.space {
	height: 10px;
}

.wrap {
	margin: 1%;
	text-align: center;
}

.wrap>div {
	display: inline-block;
	width: 48%;
}

@media ( max-width : 1100px) {
	.wrap>div {
		width: 98%;
	}
}

.sim {
	box-sizing: border-box;
	display: inline-block;
	float: left;
	width: 100%;
	height: 366px;
	background-color: #a8b4a6;
	color: #FFFFFF;
	margin: 1%;
	padding: 0.25%;
}

.sim>div {
	background-color: #696969;
	width: 100%;
	height: 100%;
}

.sim>div>a {
	float: right;
	margin-right: 15px;
}

.clear {
	clear: both;
}

.sim>div>div {
	height: 85%;
}

.sim .basic-info {
	float: left;
	width: 40%;
	height: 85%;
	margin-left: 2%;
	background-color: #373737;
}

.sim .price {
	background-color: #373737;
	height: 10%;
	font-size: 20px;
}

.sim .border {
	background-color: #696969;
	height: 2%;
}

.sim .image-box {
	margin-top: 1%;
	width: 96%;
	padding: 2%;
	overflow: hidden;
	background-color: #373737;
}

.image-crop {
	overflow: hidden;
	text-align: center;
}

.image {
	/* Uncomment for image cropping. */
	position: relative; /* allows repositioning */
	left: 100%; /* move the whole width of the image to the right */
	margin-left: -200%; /* magic! */
	height: 210px;

	/* Uncomment for image scaling. */ /*
    max-width: 100%;
    height: auto;
    width: auto\9; /* ie8 */
}

.sim .details {
	text-align: left;
	float: right;
	width: 55%;
	height: 85%;
	margin-right: 2%;
	background-color: #373737;
}

.sim .title {
	box-sizing: border-box;
	background-color: #232323;
	height: auto;
	font-size: 20px;
	font-weight: bold;
	padding: 1%;
}

.sim .desc {
	padding: 5px;
}

.sim-selection {
	box-sizing: border-box;
	display: inline-block;
	float: left;
	height: 100%;
	margin: 1%;
	padding: 4px;
}

.club div {
	width: 50px;
}

.deals {
	overflow: auto;
	width: 100%;
}

#leaderboard {
	height: auto;
	margin-left: 15px;
	padding: 10px;
	border: solid 1px #000;
	background-color: #252525;
	margin-bottom: 25px;
}

#vidplayer {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

div.bar {
	height: 10px;
	border: solid #FFFFFF 1px;
	background-color: #FF0000;
	padding: 1px 0px;
	position: relative;
	border-left-width: 0px;
}

.bartop {
	border-bottom: solid #666666 2px;
}

.barbottom {
	padding: 0;
	border-top: solid #666666 2px;
}

.bardisplay {
	padding: 0;
	border-left: solid #666666 2px;
	border-right: solid #666666 2px;
}

.zero {
	float: right;
	text-align: right;
	width: 20%;
}

table.chartbottom {
	margin: 0;
	width: 100%;
}

td.chartbottom {
	width: 25%;
	border-right: solid #FFFFFF 1px;
	text-align: right;
}

div.center {
	width: 96%;
	margin: 0 auto;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
}

.next {
	text-align: right;
}

.curr {
	text-align: center;
}

.previous {
	text-align: left;
}

.dbcolumns {
	display: inline-block;
	margin: 5px;
}

.imgbox {
	text-align: center;
}

.course-container {
	display: inline-block;
	float: left;
	width: 47%;
	margin-left: 1%;
	margin-right: 2%;
}

.course-image {
	max-width: 95%;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

@media ( max-width :1475px) {
	.course-container {
		width: 100%;
	}
}

td.msgcell {
	text-align: left;
	width: 5%;
}

.reservation_options {
	width: 46%;
	margin-left: 1%;
	margin-right: 1%;
	display: inline-block;
	vertical-align:top;
}

.reservation_blurb {
	width: 98%;
	margin-left: 1%;
	margin-right: 1%;
	display: inline-block;
}

@media ( max-width :640px) {
	.reservation_options {
		width: 98%;
		margin-left: 1%;
		margin-right: 1%;
		display: inline-block;
	}
}

#loading {
	display: none;
}

.loading {
	display: none;
}

.no-titlebar .ui-dialog-titlebar {
	display: none;
}

.league_input {
	width: 100%;
}

.show_priority_1, .show_priority_2, .show_priority_3, .show_priority_4 {
	display: none;
}

.hide_priority_1, .hide_priority_2, .hide_priority_3, .hide_priority_4 {
	
}

@media ( max-width : 360px) {
	.hide_priority_4 {
		display: none;
	}
	.show_priority_4 {
		display: table-cell;
	}
	.small_button {
		width: 50px;
	}
	.fix_button {
		font-size: 12px;
	}
}

@media ( max-width : 480px) {
	.hide_priority_3 {
		display: none;
	}
	.show_priority_3 {
		display: table-cell;
	}
	table.show_priority_3 {
		display: table;
	}
}

@media ( max-width : 640px) {
	.hide_priority_2 {
		display: none;
	}
	.show_priority_2 {
		display: table-cell;
	}
	table.show_priority_2 {
		display: table;
	}
}

@media ( max-width : 960px) {
	.hide_priority_1 {
		display: none;
	}
	.show_priority_1 {
		display: table-cell;
	}
	table.show_priority_1 {
		display: table;
	}
}

#scrollingArea, #testArea {
	position: relative;
	width: 98%;
	margin: 15px auto;
}

.time-sch-content-wrap table {
	margin-top: 0;
	width: 100%;
}

#location {
	overflow: auto;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
	border: solid 1px #000;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#location h2 {
	margin-bottom: 10px;
	padding: 10px;
	background-color: #000;
}

.loc {
	float: right;
}

.box-fit {
	width: 100%;
	height: 100%;
	max-width: initial;
	max-height: initial;
	box-sizing: border-box;
}

.truncate {
	max-width: 400px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tooltip-style {
	position: absolute;
	background: #444444;
	text-align: center;
	color: #fff;
	padding: 5px;
}

.ct-label {
	color: rgba(255, 255, 255, 1) !important;
}

.ct-grid {
	stroke: rgba(255, 255, 255, .2) !important;
	//stroke-dasharray: 2px;
	//stroke-width: 1px;
}

.mychart {
	width: 98%;
	margin: 1%;
}

.chartcolour {
	display: block;
	width: 35px;
	height: 35px;
	background: #fff;
}

.upload_container {
	display: inline-block;
	width: 48.5%;
	padding-left: 1%;
}

.preview_image {
	max-width: 500px;
	padding: 0 auto;
	margin: 0 auto;
	text-align: center;
}

.loclogo {
	height: 50px;
	width: auto;
}

.locimage {
	width: 300px;
	height: auto;
}

@media ( max-width : 360px) {
	.loctitle {
		font-size: 6vw;
	}
	.locimage {
		width: 90%;
	}
}

table.club {
	width: 100%;
}

table.leader tr:nth-child(even) {
	background-color: #2c2c2c;
}

table.leader .total {
	border-left: 1px solid #8e8e8e;
	border-right: 1px solid #8e8e8e;
	text-align: center;
	width: 1%;
	color: yellow;
}

table.leader .average {
	border-left: 1px solid #8e8e8e;
	text-align: center;
	width: 1%;
}

.open {
	cursor: pointer;
}

.open:hover, .open.selected {
	background-color: green !important;
}

.legend {
	width: 100%;
	text-align: center;
}

.legend div {
	width: 120px;
	height: 70px;
	line-height: 70px;
	display: inline-block;
	border-left: dotted 3px #fff;
    border-right: dotted 3px #fff;
    border-radius: 10px;
}

.legend div span {
	display: inline-block;
	vertical-align: middle;
	line-height: normal;
	font-weight: bold;
}

.sb-slidebar nav nav h1 {
	padding-left: 5px;
	padding-top: 5px;
	background-color: #95979A;
}

.past-date, .future-date {
	background-color: #4d4d4d
}

.calendar-row {
	display: -webkit-flex;
	-webkit-flex-flow: row;
	display: flex;
	flex-flow: row;
	justify-content: space-around
}

.calendar-header, .calendar-day, .calendar-nav {
	width: 0;
	-webkit-flex: 1 1 auto;
	flex: 1 1 auto;
}

.calendar-header {
	display: inline-box;
	text-align: center
}

.calendar-day {
	display: -webkit-flex;
	-webkit-flex-flow: column;
	display: flex;
	flex-flow: column;
	border-collapse: collapse;
	min-height: 100px;
	border: 1px solid #8e8e8e;
}

.calendar-today {
	background-color: #36648B;
}

.day-number {
	-webkit-flex: 0 1 auto;
	text-align: right;
}

.day-content {
	-webkit-flex: 1 1 auto;
}

.day-content ul {
	list-style-position: inside;
}

.ui-tooltip {
	white-space: pre-line;
}

th.endcol {
	width: 5%;
}

.room {
    background-color: #ccc !important;
    color: #000 !important;
}

h2 {
    margin: 25px;
    padding: 10px;
    background-color: #000;
}

h3 {
     margin: 0px 0px 25px 35px;
    color: darkorange;
}
h4{
     margin: 0;
    color: darkorange;
}

.modalDialog {
	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}
.modalDialog h2{
    margin:0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    border-bottom: solid 1px #ccc;
    background-color: #fff;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

}
.modalDialog section{
    margin:0;
    padding: 20px 20px 20px 20px;
    font-size:16px;
    text-align:center;
}
.modalDialog footer{
    margin:0;
    padding: 5px;
    border-top: solid 1px #ccc;
    overflow: auto;
    
}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 50%;
	position: relative;
	margin: 10% auto;
	//padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
    color: #000;
	
}
.close {
	background: #606061;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: #00d9ff; }

.btn-cancel {
    display: block;
    float: right;
    background-color: #d43f3a;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
}
.btn-cancel:hover {
    background-color: #d90700;
}
.btn-success {
    display: block;
    float: right;
    background-color: #5cb85c;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    text-decoration: none;
}
.btn-success:hover {
    background-color: #009400;
}
.btn-success, a:link, .ui-widget-content a {
    color: #fff;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

.price-box{
	display:inline-block;
    margin: 2px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #aaa;
    font-weight: bold;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.default-price { background-color:#337ab7;}

.ui-datepicker-title select {
	padding:0;
}

textarea {
	width:95%;
	max-width:250px;
	height:100px;
	padding:5px;
}

.ui-dialog {
	border: 5px solid white;
}

.ui-dialog-titlebar {
	display: none;
}

.ui-dialog-title {}

.ui-dialog-titlebar-close {}

.ui-dialog-content {
	border: initial !important;
}

.ui-dialog-buttonpane {
	background-color: black;
}

.ui-dialog-buttonset {}

.ui-widget, .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button {
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
}

#jqcal {
	display: inline-block;
}

@media ( min-width : 1024px) {
	#sb-site, body {
		background-image: url(image-handling.php?display=background);
		background-repeat: no-repeat;
		background-position: center center;
		background-attachment: fixed;
		background-size: cover;
	}
}
@media ( max-width : 1023px) {
	#sb-site, body {
		background-image: none;
		background-color: #181818;
	}
	#container {
		max-width: 100%;
	}
}


table.day-table th.schedule, table#reservations th.schedule {
	width: 2.5rem;
	border-right: 1px solid #8e8e8e;
}

tr.resrow:hover th {
	background-color: green;
}

.ll-skin-lugo td.ui-state-selected a {
	background: #8a8a3f !important; /* layer fill content */
	-moz-box-shadow: inset 0 0 5px rgba(7,15,21,.9); /* inner shadow */
	-webkit-box-shadow: inset 0 0 5px rgba(7,15,21,.9); /* inner shadow */
	box-shadow: inset 0 0 5px rgba(7,15,21,.9); /* inner shadow */
}
