/* Calendar */
body::-webkit-scrollbar {
	-webkit-appearance: none;
	width: 0px;
	display: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hidden::-webkit-scrollbar {
	display: none;
}

/* Hide scrollbar for IE, Edge add Firefox */
.scrollbar-hidden {
	-ms-overflow-style: none;
	scrollbar-width: none;
	/* Firefox */
}

/* disabled Pull-to-refresh */
body.is_mobile {
	overscroll-behaviour-y: contain;
}

#calendar div,
#calendar_header div {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

#calendar {
	position: absolute;
	top: 0px;
	left: 95px;
	overflow: hidden;
	z-index: 1;
	width: 100%;
	height: 100%;
}

body.is_mobile #calendar {
	white-space: nowrap;
	overflow-y: hidden;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
}

#reservations_content {
	position: relative;
}

#calendar_content_header {
	position: fixed;
	top: 0px;
	left: 95px;
	z-index: 10;
	width: 100%;
	overflow-x: hidden;
	display: none;
}

#calendar_header {
	position: relative;
	top: 0px;
	left: 0px;
}

#calendar_content {
	float: left;
	margin: 0px;
	overflow-x: hidden;
}

#calendar_content .column-selected {
	background-color: orange !important;
}

.calendar_arrow {
	position: absolute;
	background: var(--secondary-color);
	height: 40px;
	width: 40px;
	line-height: 80px;
	text-align: center;
	top: 45%;
	z-index: 110;
	-webkit-border-radius: 40px;
	border-radius: 40px;
	border: 1px solid #FFF;
	display: none;
}

.calendar_arrow div {
	height: 40px;
	line-height: 40px;
}

.arrow_left {
	left: 100px;
}

.arrow_right {
	right: 0px !important;
}

/* body.is_mobile .calendar_arrow{
	display: none;
} */
.calendar_row {
	clear: left;
}

.month_header {
	clear: left;
	text-align: center;
	;
	font-weight: bold;
	color: #FFFFFF;
	border-right: 1px solid #FFFFFF;
	background-color: green;
}

.week_header {
	text-align: center;
	;
	font-weight: bold;
	color: #FFFFFF;
	border-right: 1px solid #FFFFFF;
	background-color: rgba(47, 58, 91, .5);
	float: left;
	white-space: nowrap;
	overflow: hidden;
	font-size: 11px;
	text-transform: uppercase;
}

.calendar_row div {
	float: left;
}

.calendar_header_day_name {
	font-family: Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
	height: 14px;
	width: 55px;
	border: solid #999;
	border-width: 0px 1px 1px 0px;
	text-align: center;
	line-height: 14px;
}

.calendar_header_day_number {
	font-family: Helvetica, sans-serif;
	font-size: 12px;
	height: 18px;
	width: 55px;
	border: solid #999;
	border-width: 0px 1px 1px 0px;
	text-align: center;
	line-height: 18px;
	font-weight: bold;
	background-color: var(--primary-color);
	color: #FFF;
}

.calendar_header_day_number span {
	font-family: Helvetica, sans-serif;
	font-size: 8px;
	padding: 0px 2px;
	margin: 0px 0px 0px 4px;
	position: relative;
	top: -2px;
	color: #000;
}

.calendar_header_day_note {
	font-family: Helvetica, sans-serif;
	font-size: 12px;
	height: 18px;
	width: 55px;
	border: solid #999;
	border-width: 0px 1px 1px 0px;
	text-align: center;
	line-height: 18px;
	font-weight: bold;
	background-color: yellow
}

.cell_date {
	height: 55px;
	width: 55px;
	border: solid var(--color-white);
	border-width: 0px 1px 1px 0px;
}

.curr_day {
	background-color: #090 !important;
	color: #FFF;
}

.curr_day_cell {
	background-color: #b3f66c !important;
	color: #FFF;
}

.sunday {
	background-color: var(--secondary-color);
	color: #FFF;
}

.weekend_header {
	background-color: var(--secondary-color);
	color: #FFF;
}

.weekend_cell {
	/* background-color: #fab5b5; */
}

.month {
	float: left;
	background-color: rgba(47, 58, 91, .3);
}

/* .month:nth-child(even) {background: #CCC}
.month:nth-child(odd) {background: #DDD} */

/* Rooms */

#rooms {
	width: 95px;
	position: relative;
	overflow: hidden;
	background-color: var(--primary-color);
	-moz-box-shadow: 4px 0px 5px 0px #333;
	-webkit-box-shadow: 4px 0px 5px 0px #333;
	box-shadow: 4px 0px 5px 0px #333;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: moz-none;
	-ms-user-select: none;
	user-select: none;
	z-index: 100;
}

/* body.is_mobile #rooms {
	position: fixed;
	left:0px;
	top:42px;
} */
.room {
	width: 100%;
	height: 54px;
	border-collapse: collapse;
	border-top: 1px solid #FFF;
	float: left;
	line-height: 54px;
	text-align: left;
	padding-left: 5px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #FFFFFF;
}

.room_empty {
	width: 100%;
	height: 70px;
	float: left;
}

body.is_mobile .room_empty {
	height: 70px;
}

/* 
body.is_mobile .navbar {
	height: 0px;
}

body.is_mobile .navbar-inverse .navbar-inner {
	height: 0px;
} 

body.is_mobile .mobile-menu-button {
	top: 30px;
	left: 30px;
}

body.is_mobile #menu-top {
	top: 0px;
}
*/

.room_empty .logo {
	width: 50px;
	margin: 10px auto;
	display: block;
}

/* Reservations */
.persons {
	display: block;
	line-height: 15px;
	/*margin-top: 10px;*/
	text-align: center;
}

.customer {
	display: block;
	line-height: 15px;
	overflow-x: hidden;
}

.small {
	font-size: 9px;
}

.obstacle {}

.reservation_cell {
	/* border-radius: 20px; */
	border: 1px solid var(--color-white);
	font-size: 11px;
	height: 54px;
	margin: 0px;
	padding: 0px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: absolute;
	text-align: center;
	vertical-align: middle;
	line-height: 440px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: moz-none;
	-ms-user-select: none;
	user-select: none;
	cursor: pointer;
	z-index: 99;
	color: white;
}

/* .reservation_cell.clip {
	clip-path: polygon(66% 0, 100% 100%, 33% 100%, 0 0);
	clip-path: polygon(75% 4%, 100% 96%, 25% 96%, 0% 4%);
} */
.reservation_cell.has_note::before {
	content: '';
	position: absolute;
	width: 100px;
	height: 50px;
	border: 1px solid #FFF;
	background: #000;
	top: -7px;
	right: -72px;
	transform: rotate(45deg);
}

.reservation_cell.has_note .fa-eye {
	position: absolute;
	right: 3px;
	top: 3px;
}

.reservation_cell span.invoice {
	display: block;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	float: none;
	z-index: auto;
	width: 0;
	height: 12px;
	position: absolute;
	left: 8px;
	top: 0px;
	cursor: default;
	opacity: 1;
	margin: 0;
	padding: 0;
	overflow: visible;
	/* border: 6px solid #FFFFFF;
    border-top: 0 solid;
    border-bottom: 5px solid rgba(0,0,0,0); */
	-webkit-border-radius: 0;
	border-radius: 0;
	font: normal 100%/normal Arial, Helvetica, sans-serif;
	color: rgba(0, 0, 0, 1);
	-o-text-overflow: clip;
	text-overflow: clip;
	background: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	text-shadow: none;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	-webkit-transform: none;
	transform: none;
	-webkit-transform-origin: 50% 50% 0;
	transform-origin: 50% 50% 0;
}

.reservation_cell span.invoice_flag {
	border: 6px solid #FFFFFF;
	border-top: 0 solid;
	border-bottom: 5px solid rgba(0, 0, 0, 0);
}

.reservation_cell span.has_invoice {
	border-top: 0 solid;
	border-bottom: 6px solid rgba(0, 0, 0, 0);
	text-indent: -3px;
	padding-top: 2px;
}

.reservation_cell span.invoice_saved {
	border: 6px solid green;
	border-top: 0 solid;
	border-bottom: 5px solid rgba(0, 0, 0, 0);
	color: white;
}

.reservation_cell span.invoice_not_saved {
	border: 6px solid orange;
	border-top: 0 solid;
	border-bottom: 5px solid rgba(0, 0, 0, 0);
	color: white;
}

.opacity_1 {
	opacity: 1;
}

.opacity_0_5 {
	opacity: 0.5;
}

.reservation_cell_content {
	width: 40px;
	margin: 8px auto 0;
	height: auto;
	/*background-color: green;*/
}

.tooltip p {
	margin: 0px;
	padding: 0px;
}

.reservation_left_cell {
	border-radius: 0px 10px 10px 0px !important;
}

.datepicker {
	z-index: 1160 !important;
}

#calendar_menu {
	z-index: 110;
}

#calendar_menu .hide {
	display: none !important;
}

#calendar_menu li a {
	text-transform: uppercase;
}

.temporaryhighlight {
	background-color: #FFF;
	opacity: 1;
}

.drag-element {
	-moz-box-shadow: 0px 0px 5px 5px #333;
	-webkit-box-shadow: 0px 0px 5px 5px #333;
	box-shadow: 0px 0px 5px 5px #333;
}

#myModal .close,
#myModalNote .close {
	display: none;
}

.modal.fade.in {
	top: 2px;
}

.modal-header h3 {
	font-size: 20px;
	line-height: 20px;
}

/*.modal-body {
    max-height: 350px;
}*/
.modal-footer {
	padding: 10px 11px 11px;
}

#myModal textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"],
.uneditable-input {
	margin-bottom: 0px;
}

.form-error {
	border-color: red !important;
	margin-bottom: 5px !important;
}

#tooltip_temp_content {
	display: block !important;
}

#color_square {
	background-color: grey;
	border: 1px solid #999;
	width: 20px;
	height: 20px;
	margin-left: 10px;
	display: inline-block;
	vertical-align: middle;
}

body.is_mobile .modal-body {
	padding: 0px;
}

body.is_mobile .modal-body table th:first-child,
table td:first-child {
	padding-left: 5px;
}

body.is_mobile .modal-body input[type="text"] {
	width: 95%;
}

/*
===
Calendar Arrows
===
*/
.calendar-arrow {
	float: left;
	background-color: #000000;
	width: 100px;
	height: 100%;
	display: table;
	cursor: pointer;
}

.calendar-arrow .calendar-arrow-left {}

.calendar-arrow .calendar-arrow-right {}

.calendar-arrow div {
	display: table-cell;
	vertical-align: middle;
}

.calendar-arrow a {
	display: inline-block;
	border-radius: 50%;
}

.calendar-arrow a:hover .left,
a:hover .right {
	border: 0.5em solid #CCCCCC;
}

.calendar-arrow a:hover .left:after,
a:hover .right:after {
	border-top: 0.5em solid #FFFFFF;
	border-right: 0.5em solid #FFFFFF;
}

.calendar-arrow .left,
.calendar-arrow .right {
	display: inline-block;
	width: 4em;
	height: 4em;
	border: 0.5em solid #000000;
	border-radius: 50%;
	margin-left: 1.5em;
}

.calendar-arrow .left:after {
	content: '';
	display: inline-block;
	margin-top: 1.2em;
	margin-left: 1.4em;
	width: 1.4em;
	height: 1.4em;
	border-top: 0.5em solid #FFFFFF;
	border-right: 0.5em solid #FFFFFF;
	-moz-transform: rotate(-135deg);
	-webkit-transform: rotate(-135deg);
	transform: rotate(-135deg);
}

.calendar-arrow .right:after {
	content: '';
	display: inline-block;
	margin-top: 1.2em;
	margin-left: 1em;
	width: 1.4em;
	height: 1.4em;
	border-top: 0.5em solid #FFFFFF;
	border-right: 0.5em solid #FFFFFF;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.debug_selection {
	border: 3px solid yellow;
}

.status {
	float: right;
	text-align: right;
}

.status-error {
	color: red;
}

.status-ok {
	color: green;
}