/* Meriq specific css */

h1,
h2,
h3,
h4 {
	/*margin-top: 5px;*/
	font-family: 'Lato', sans-serif;
	color: #fff;
	font-weight: bold;
}

h3 {
	text-transform: uppercase;
}

@media screen and (max-width: 767px) {
	h1 {
		font-size: 32px;
	}
	h3 {
		font-size: 24px;
	}
}

.page-header {
	margin-bottom: 5px;
}

.form-control {
	max-width: 250px;
	/*padding: 5px 5px !important;*/
	margin-bottom: 5px;
	background-color: #eee;
	border-radius: 0px;
}

.form-control:focus {

}

@media screen and (max-width: 767px) {
	.form-control {
		font-size: 16px; /* Förhindrar att safari/iphone zoomar när man klickar på en input */
	}
}

.alert {
	padding: 5px 15px;
	margin-top: 6px;
	margin-bottom: 0px;
}

.alert-danger {
    color: #fff;
    background-color: #cd8a0b;
    border-color: #cd8a0b;
	border-radius: 0px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.control-label {
	margin-top: 11px;
	color: #fff;
}

/* Detta används på <p> när det är mobilt, dock är det en dålig ide då vi hårdkodar färgen och inte baserar den på valt tema */
@media screen and (max-width: 767px) {
	.responsive-header {
		color: #16867c;
	}
}

.btn {
	background-color: #16867c;
    border-color: #16867c;
    color: #fff;
	text-transform: uppercase;
	border-radius: 0px;
}

.btn-success:focus, .btn-success:hover, .btn-success:active, .btn-success:active:hover {
	background-color: #0c282c;
    border-color: #0c282c;
    color: #fff;
}

.btn-success:active:hover,.btn-success.active:hover,.open>.dropdown-toggle.btn-success:hover,.btn-success:active:focus,.btn-success.active:focus,.open>.dropdown-toggle.btn-success:focus,.btn-success:active.focus,.btn-success.active.focus,.open>.dropdown-toggle.btn-success.focus {
	background-color: #0c282c;
    border-color: #0c282c;
    color: #fff;
	text-transform: uppercase;
}

.btn:hover {
	background-color: #0c282c;
    border-color: #0c282c;
    color: #fff;
	transition: border-color 0.4s ease 0s, background-color 0.4s ease 0s;
}

a {
	color: #fff;
}

a:hover {
	color: #16867c;
	text-decoration: none;
}

a:hover, a:focus {
    color: #16867c;
}

body {
	font-size: 16px;
	font-family: 'Open Sans', sans-serif;
	padding-top: 5px;
	background-color: #16867c;
	color: #fff;
    /*background-image: url(../images/Bowling_corner_Pattern1_RGB_JPG.jpg);*/
	background-image: linear-gradient(rgba(240, 232, 224, 0.0), rgba(240, 232, 224, 0.0)), url(../images/Bowling_corner_Pattern1_RGB_JPG.jpg);
	background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
	background-attachment: fixed;
}

.container-box {
	background-color: rgba(8, 82, 82, 1.0);
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 30px;
	margin-top: 30px;
	margin-bottom: 15px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.container-box-summary {
	background-color: rgba(8, 82, 82, 1.0);
	margin-left: 20px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 767px) {
	.container-box-summary {
		background-color: rgba(8, 82, 82, 1.0);
		margin-left: 0px;
		margin-top: 20px;
		box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
	}
}


div.container-header {
	background-color: rgba(8, 82, 82, 1.0);
	border: solid 0px transparent;
	height: 42px;
	padding-left: 0px;
	padding-right: 0px;
	margin-bottom: 5px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.container-box-top {
	background-color: rgba(8, 82, 82, 1.0);
	margin-bottom: 15px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.container-box-top h2 {
	margin-top: 10px;
}

.container-box-footer {
	background-color: rgba(8, 82, 82, 1.0);
	margin-top: 20px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

.type-wrapper {
	background-color: rgba(8, 82, 82, 1.0);
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 0px;
}

@media screen and (max-width: 767px) {
	.type-wrapper {
		padding-bottom: 15px;	
	}
}

.type-wrapper h3 {
	margin-top: 10px;
	text-transform: none;
}

.type-wrapper p {
	margin-top: -5px;
	font-size: 12px;
}

.type-image {
	padding-left: 0px;
}

@media screen and (max-width: 767px) {
	.type-image {
		padding-left: 15px;
		padding-top: 15px;
	}
}

.type-text {
	padding-left: 0px;
}

@media screen and (max-width: 767px) {
	.type-text {
		padding-left: 15px;
		margin-left: 0px;
	}
}

.type-header {
	/*
	background-color: rgba(0, 0, 0, 0.90);
	margin-top: 30px;
	*/
	text-shadow: 0 5px 5px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 767px) {
	.type-header {
		text-align: center;
		/*
		text-shadow: 0 5px 5px rgba(0, 0, 0, 0.0);
		background-color: rgba(0, 0, 0, 0.90);
		box-shadow: 0 5px 5px rgba(0, 0, 0, 0.7);
		padding-top: 0px;
		padding-bottom: 0px;
		margin-top: 0px;
		margin-bottom: 20px;
		border-radius: 0px;
		padding-bottom: 10px;
		*/
	}
}

.type-header h1 {
	font-size: 28px;
}

/* Player monitor */
#namebox {
	position: relative;
	left: 0px;
	border: 1px solid #cccccc;
	padding: 2px;
	width: 800px;
	height: 390px;
	background: #ffffff;
}

#nameblock1{
	z-index: 20
}

#themonitor {
	position: absolute;
	left: 0px;
	top: 0px;
	z-index: 10;
}

#thenames{
	position: absolute;
	left: 17px;
	top: 2px;
	z-index: 20;	
}

#themonitorbackground {
	position: absolute;
	left: 22px;
	top: 21px;
	z-index: 5;
}

#thelanenumber{
	position: absolute;
	left: 24px;
	top: 24px;
	font-family: Verdana, Arial;
	font-size: 11pt;
	width: 30px;
	text-align: center;
	color: #000000;
	z-index: 20;
	font-weight: bold;
}

#thelanenumbershadow{
	position: absolute;
	left: 25px;
	top: 25px;
	font-family: Verdana, Arial;
	font-size: 11pt;
	width: 30px;
	text-align: center;
	color: #ffffff;
	z-index: 19;
	font-weight: bold;
}

#theframenumbers{
	position: absolute;
	left: 57px;
	top: 64px;
	z-index: 20;
}

.oneplayername {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #000000;
	left: 58px;
	top: 0px;
	width: 139px;
	overflow: hidden;
	font-weight: bold;
}

.onelanestatic_hcp {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #000000;
	left: 198px;
	top: 0px;
	width: 40px;
	overflow: hidden;
	font-weight: bold;
}

.onelanestatic_ser {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #000000;
	left: 249px;
	top: 0px;
	width: 40px;
	overflow: hidden;
	font-weight: bold;
}

.onelanestatic_tot {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #000000;
	left: 300px;
	top: 0px;
	width: 40px;
	overflow: hidden;
	font-weight: bold;
}

.oneframe {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #ffffff;
	left: 0px;
	top: -2px;
	width: 27px;
	overflow: hidden;
	text-align: center;
	font-weight: bold;
}

.tenthframe {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #ffffff;
	left: 252px;
	top: -2px;
	width: 41px;
	overflow: hidden;
	text-align: center;
	font-weight: bold;
}

#gamenumber {
	position: absolute;
	font-family: Verdana, Arial, Helvetica;
	font-size: 7pt;
	color: #ffffff;
	left: 304px;
	top: 51px;
	width: 51px;
	overflow: hidden;
	text-align: center;
	font-weight: bold;
	z-index: 20;
}

#playernames {
	border: 2px solid #000000;
	background-color: #eeeeee;
	margin-top: 2px;
}

.panel.with-nav-tabs .panel-heading{
    padding: 5px 5px 0 5px;
}
.panel.with-nav-tabs .nav-tabs{
	border-bottom: none;
}
.panel.with-nav-tabs .nav-justified{
	margin-bottom: -1px;
}

.menu {
    font-size: 16px !important;
    text-transform: uppercase;
    color: #fff;
    padding-left: 6px;
    padding-right: 6px;
    text-decoration: none;
	font-family: 'Lato', sans-serif;
}

.active_menu {
    color: #fff;
	background-color: #16867c;
	padding-top: 16px;
	padding-bottom: 16px;
	border: 0px solid #000;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
}

table a:not(.btn), .table a:not(.btn) {
    text-decoration: none;
}

.dashed-border {
	border-right: 2px dashed #fff;
	border-left: 2px dashed #fff;
}

.passedtime {
	background: #000000;
	box-sizing: border-box;
}

.passedtime_vertical {
	background: #000000;
	box-sizing: border-box;
}

.buffertime {
	background: #16867c;
	/*background: #844e1f;*/
	opacity: 0.4;
	box-sizing: border-box;
}

.buffertime_vertical {
	background: #16867c;
	opacity: 0.4;
	box-sizing: border-box;
}

.hourline {
	box-sizing: border-box;
	border-right: 2px solid #085252;	
}

.hourline_vertical {
	box-sizing: border-box;
	border-bottom: 2px solid #085252;
}

.hourlineblank {
	box-sizing: border-box;
}

.occupiedresource {
	background: #cd8a0b;
}

.rotated { 
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

@media screen and (max-width: 767px) {
	.dashed-border {
		border-right: 0px dashed #fff;
		border-left: 0px dashed #fff;
		border-top: 2px dashed #fff;
		border-bottom: 2px dashed #fff;
		margin-left: 5%;
		width: 90%;
	}
}

@media screen and (max-width: 1100px) {
	.hiddenWhenSmall {
		display: none;
	}
}


@media screen and (max-width: 767px) {
	.timelabel {
		font-size: 12px;
	}
	.lanelabel {
		font-size: 12px;
	}
}

.upperSpacer {
	height: 1px;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #000!important;
    background: #16867c 50% 50% repeat-x!important;
    font-weight: normal!important;
    color: #fff!important;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    color: #fff;
	background-color: #222222;
}

.panel-body {
	background-color: #16867c;
}

.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus {
    color: #fff;
    background-color: #16867c;
}

.panel-default>.panel-heading {
    background-color: #0c282c;
	border-color: #0c282c;
}

.panel-default {
	border-color: #0c282c;
}

/* Tävlings CSS */

.dh-lottery {
	background-color: transparent!important;
}

.dh-lottery .actions .button.primary {
	background-color: transparent!important;
}

.dh-lottery .actions .button.primary:hover {
	background-color: #16867c!important;
	cursor: pointer;
}

.dh-lottery .actions {
	position: absolute!important;
	right: 20px!important;
    bottom: 20px!important;
    display: flex!important;
}

.dh-modal-content .profile-name {
	overflow: visible!important;
}

.dh-lottery .avatar .image {
	
}

.specific-lanetransform {
	margin: 10px!important;
}

#specific-lanetransform-holder {
	background-color: #16867c!important;
	margin: 2px;
	border: 1px solid #000;
	border-radius: 4px;
}

#specific-lanetransform-holder-notfree {
	background-color: #16867c!important;
	margin: 2px;
	border: 1px solid #000;
	border-radius: 4px;
	text-decoration: line-through;
	opacity: 0.4;
}

.ui-datepicker-trigger {
	display: none!important;
}

.nav>li>a:hover, .nav>li>a:focus {
    text-decoration: none;
    background-color: #844e1f;
}

.container-header a:hover {
	color: #cd8a0b;
}

.meriq-text {
	font-size: 10px; 
	margin-top: 15px; 
	color: #fff;
}

.meriq-text a {
	font-size: 10px; 
	margin-top: 15px; 
	color: #fff;
}

hr {
	border: 1px solid #16867c;
	opacity: 0.6;
}

.ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: 1px solid #000!important;
    background: #cd8a0b!important;
    font-weight: bold!important;
    color: #000!important;
}

#ui-state-active-start {
	border: 1px solid #eee!important;
    background: #fff!important;
    font-weight: normal!important;
    color: #000!important;
}

.ui-widget-header {
    border: 1px solid #aaaaaa!important;
    background: #16867c!important;
    color: #fff!important;
    font-weight: bold!important;
}

.ui-datepicker-next-hover {
    border: 0px solid #aaaaaa!important;
    background: #16867c!important;
    color: #fff!important;
    font-weight: bold!important;
	cursor: pointer;
}

.ui-datepicker-prev-hover {
    border: 0px solid #aaaaaa!important;
    background: #16867c!important;
    color: #fff!important;
    font-weight: bold!important;
	cursor: pointer;
}


footer {
    margin: 15px 0;
}

@media screen and (max-width: 767px) {
	.footer-info {
		margin-bottom: 5px;
	}
}

#social-icon-holder {
	padding: 10px;
	padding-right: 0px;
	margin-top: -40px;
}

#social-icon-holder .fa {
	font-size: 18px;
}

#social-icon-holder a:hover, a:focus {
    color: #16867c;
    text-decoration: none;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 0px;
  cursor: pointer;
  font-size: 16px;
  font-weight: normal;
  margin-top: 10px;
  padding-top: 5px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: rgba(255,255,255,0.0);
  border: 3px solid #fff;
  border-radius: 0px;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark {
  background-color: rgba(255,255,255,0.0);
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark {
  background-color: rgba(255,255,255,0.0);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#create-reservation-div .btn {
	background-color: #cd8a0b;
	border-color: #cd8a0b;
}

.hours-text {
	margin-top: 1px;
}

.current-day {
	/*
	color: #cd8a0b;
	*/
	font-weight: 700;
}

#current-day-row {
	background-color: #16867c;
	background-color: rgba(8, 82, 82, 1.0);
	padding: 5px;
	margin: 5px;
	margin-left: 0px;
	max-width: 275px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}