/* General */
body {
	font-size:17px;
	padding-top:65px;
}
h1, .content-page p.title, .content-page .title {
	font-size:24px;
	margin-top:5px;
}
h2 {
	font-size:20px;
	margin:0;
}
p.alert-danger {
	font-size:13px;
	padding:8px;
}
small {
	line-height:16px;
}
.alert-bar {
	z-index:2000;
}
.alert-bar .alert {
	margin-top:10px;
}
.alert-bar .alert-success {
	
	background:#3c763d;
	color:#fff;
	border:0;
}
.errorMessage, .confirm-inline {
	color:red;
	font-size:85%;
}
.capitalize {
	text-transform: capitalize;
}
.loading .row > div {
	text-align:center;
	font-size:60px;
	margin-top:50px;
}
label {
	font-weight:normal;
	font-size:14px;
}

.btn.not-read-km {
	padding-left:0;
}


/* Header */
.main .container {
	padding:0;
}
.main .row {
	margin:0;
}
.header {
	height:50px;
	background:#d9534f;
	color:#fff;
	z-index:300;
}
.logo {
	padding-left:0;
	padding-top:10px;
}
.logo > div {
	text-align:center;
}
.logo a {
	color:inherit;
	text-decoration:none;
}
.logo i {
	display:block;
	font-size:30px;
}
.logo span {
	font-size:10px;
	font-weight:bold;
}
.nav-toggle {
	text-align:right;
	font-size:26px;
	padding-top:12px;
	cursor:pointer;
}
.nav {
	z-index:300;
	position:fixed;
	top:50px;
	width:100%;
	min-height:calc(100vh - 50px);
	background:#d9534f;
	border-top:1px solid #fff;
	color:#fff;
	padding-bottom:200px;
	font-size:22px;
}
.nav ul {
	list-style-type:none;
	padding:0;
	margin:30px auto 0 auto;
	width:230px;
}
.nav ul li {
	padding:15px 0;
}
.nav ul li.logout {
	font-size:14px;
	border-top:1px solid #fff;
	text-align:center;
}
.nav a {
	color:#fff;

}
.nav a:hover {
	text-decoration:none;
}
.nav li.logout a, .nav li.logout a:hover {
	text-decoration:underline;
}
.nav i.fa {
	width:30px;
}
/* login */
.login-buttons .row > div {
	text-align:center;
	margin-top:15px;
}
.login-buttons .row > div > a {
	background:gray;
	padding:20px 0;
	color:#fff;
	display:block;
}
.login-buttons .row > div > a:hover {
	text-decoration:none;
}
.login-buttons .row > div > a > i {
	display:block;
	font-size:40px;
}

/* Booking list - general */
#bookings .row {
	margin:0;
}
.header {
	height:50px;
	background:#d9534f;
	color:#fff;
	z-index:300;
}
a.btn-add {
	position: fixed;
    bottom: 20px;
    right: 20px;
	font-size:60px;
	color:#3c763d;
	z-index:200;
}
.modal-body h4 {
	font-size:14px;
	font-weight:bold;
}
.open-modal{
	font-size:22px;
	text-align:right;
}
.open-modal a {
	color:#000;
}
/* Booking list - header */
.nav-week {
	text-align:center;
	margin-top:17px;
	font-weight:bold;
}
.nav-week .time-scrolled-to {
	font-size:20px;
	padding: 0 15px;
}
/* Booking list - weeks and days */
.nav-week {
	line-height:1;
}
.week .col-xs-2, .week .col-xs-10, .week .col-md-2, .week .col-md-2 {
	padding-left:0;
	padding-right:0;
}
.row.week {
	border-bottom:1px dotted #d9534f;
}
.days .day {
	height:144px;
	border-left:0 dotted #d9534f;
	border-top:1px dotted #d9534f;
	position:relative;
}
.days .day:first-child {
	border-top:0;
}
.week-meta {
	margin-top:5px;
	text-align:center;
}
.day-meta {
	top:5px;
	left:5px;
	position:absolute;
}
.booking {
	position:absolute;
	background: rgba(255, 0, 0, .5); 
	text-align:center;
	padding:0;
	font-size:12px;
	z-index:100;
	cursor:pointer;
	min-height:16px;
}
.day.today .day-meta {
	font-weight:bold;
}
/* Booking - create and view modal*/
div.unavailable {
	color:gray;
}
.unavailable-text {
	color:red;
	font-style:italic;
	display:none;
}
div.unavailable .unavailable-text {
	display:inline-block;
}
p.delete a, p.delete a:active {
	color:#d43f3a;
	text-decoration:none;
}
.datetimepicker .glyphicon-calendar {
	cursor:pointer;
}




/* Booking price */
.booking-price tr td, .booking-price tr th {
	text-align:right;
}
.booking-price tr td:first-child, .booking-price tr th:first-child {
	text-align:left;
}
.booking-price tr.total {
	font-weight:bold;
}
.booking-price .table>tbody>tr.edit-distance>td {
	border-top:0;
}

/* Range slider	*/
.range-slider {
  width: 100%;
}
.range-slider input[type=range].range-slider__range {
  -webkit-appearance: none;
  /*width: calc(100% - (73px));*/
  height: 10px;
  border-radius: 5px;
  background: #d7dcdf;
  outline: none;
  padding: 0;
  margin: 0;
}
.range-slider__range::-webkit-slider-thumb {
  -webkit-appearance: none;
          appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
}
.range-slider__range::-webkit-slider-thumb:hover {
  background: #1abc9c;
}
.range-slider__range:active::-webkit-slider-thumb {
  background: #1abc9c;
}
.range-slider__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #2c3e50;
  cursor: pointer;
  -webkit-transition: background .15s ease-in-out;
  transition: background .15s ease-in-out;
}
.range-slider__range::-moz-range-thumb:hover {
  background: #1abc9c;
}
.range-slider__range:active::-moz-range-thumb {
  background: #1abc9c;
}

.range-slider__value {
  display: inline-block;
  position: relative;
  width: 60px;
  color: #fff;
  line-height: 20px;
  text-align: center;
  border-radius: 3px;
  background: #2c3e50;
  padding: 5px 10px;
  margin-left: 8px;
}
.range-slider__value:after {
  position: absolute;
  top: 8px;
  left: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-right: 7px solid #2c3e50;
  border-bottom: 7px solid transparent;
  content: '';
}

::-moz-range-track {
  background: #d7dcdf;
  border: 0;
}

input::-moz-focus-inner,
input::-moz-focus-outer {
  border: 0;
}




/* /bookings */
table.bookings {
	font-size:13px;
}
.bookings tr:hover {
	cursor:pointer;
}
.notify-red {
	color:red;
}
.notify-orange {
	color:orange;
}
table.bookings a {
	text-decoration:underline;
}
#edit-booking .input-group {
	width:100%;
}


/* Sponsors */
.sponsors {
	margin-top:40px;
}
.sponsors h2 {
	text-align:center;
	margin-bottom:10px;
}

.sponsors > .row > a {
	min-height:85px;
}
.sponsors img {
	width:100%;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}


@media (min-width: 992px) { 
	.sponsors > .row > a {
		min-height:200px;
	}	
}