.mybooking-planning-content {
	position: relative;
}

.mybooking-planning-content .mybooking-planning-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}

.mybooking-product-planning-week-content .mybooking-product-planning-week-head > .field {
	margin-bottom: 0;
}

.mybooking-planning-content .mybooking-planning-head .button-box {
	float: right;
}

@media (max-width: 1024px) {
	.mybooking-planning-content .mybooking-planning-head {
		flex-direction: column;
	}

	.mybooking-planning-content .mybooking-planning-head > div,
	.mybooking-planning-content .mybooking-planning-head select,
	.mybooking-planning-content .mybooking-planning-head .select {
		width: 100%;
	}
}

.mybooking-planning-table {
	margin: 0;
	display: inline-block;
	position: relative;
	overflow: hidden;
}

.mybooking-planning-table .mybooking-planning-scrollable {
	overflow-y: visible;
	overflow-x: auto;
	margin-left: 150px;
	transition: width 0.5s;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.mybooking-planning-table .mybooking-planning-scrollable::-webkit-scrollbar {
	display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.mybooking-planning-table .mybooking-planning-scrollable {
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.mybooking-planning-table table {
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	width: 100%;
	margin-left: 0;
}

.mybooking-planning-table table thead th {
	padding: 1rem 0.5rem;
	word-break: break-word;
	vertical-align: middle;
	text-align: center;
	background: none;
}

.mybooking-planning-table table tbody th, 
.mybooking-planning-table table tbody td {
	height: 40px;
	padding: 0 1rem;
	text-align: center;
	word-break: break-word;
	z-index: 0;
}

.mybooking-planning-table table  th, 
.mybooking-planning-table table  td {
	font-size: 0.8rem;
	font-weight: 200;
}

.mybooking-planning-table table td {
	position: relative;
}

.mybooking-planning-table table th.mybooking-planning-td-fix {
	position: absolute;
	width: 150px;
	left: 0;
	top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	background: none;
}

.mybooking-planning-table table .mybooking-planning-td-product {
	display: inline-block;
	line-height: 1.2;
}

.mybooking-planning-table table .mybooking-planning-td-product__day {
	font-size: 20px;
}

@media (max-width: 768px) {
	.mybooking-planning-table table .mybooking-planning-td-product__month,
	.mybooking-planning-table table .mybooking-planning-td-product__year,
	.mybooking-planning-table table .mybooking-planning-td-product__weekday {
		display: none;
	}

	.mybooking-planning-table table .mybooking-planning-td-product__day {
		font-size: 16px;
	}
}

.mybooking-planning-table table .mybooking-planning-td-product > span {
	font-size: 14px;
}

.mybooking-planning-table table td .mybooking-planning-td-content {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: #84e4b4;
	border-radius: 5px;
	cursor: default; /* pointer */
	margin: 2px;
}

.mybooking-planning-table table td .mybooking-planning-range-text {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	color: white;
  font-weight: bold;
}

.mybooking-planning-table table td .mybooking-planning-td-content.closed {
	opacity: 0.4;
	background-color: lightgray;
	color: initial;
	cursor: default;
}

.mybooking-planning-table table td .mybooking-planning-td-content.full {
	background-color: red;
	border-radius: 0;
	margin: 2px;
	cursor: default;
}

.mybooking-planning-table table.mybooking-planning-table-direction-columns td .mybooking-planning-td-content.full {
	margin: 0 2px;
}

.mybooking-planning-table table.mybooking-planning-table-direction-columns td .mybooking-planning-td-content.full.from {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	margin-top: 2px;
}

.mybooking-planning-table table.mybooking-planning-table-direction-columns td .mybooking-planning-td-content.full.to {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	margin-bottom: 2px;
}

.mybooking-planning-table table.mybooking-planning-table-direction-rows td .mybooking-planning-td-content.full {
	margin: 2px 0;
}

.mybooking-planning-table table.mybooking-planning-table-direction-rows td .mybooking-planning-td-content.full.from {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
	margin-left: 2px;
}

.mybooking-planning-table table.mybooking-planning-table-direction-rows td .mybooking-planning-td-content.full.to {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	margin-right: 2px;
}

/*
* Theme in engine
*/

.mybooking-planning-content .field:not(:last-child) {
	margin-bottom: 0.75rem;
}

.mybooking-planning-content .label {
	color: #363636;
	display: block;
	font-size: 1rem;
	font-weight: 700;
}

.mybooking-planning-content  .control {
	box-sizing: border-box;
	clear: both;
	font-size: 1rem;
	position: relative;
	text-align: left;
}

.mybooking-planning-content  input[type="text"], 
.mybooking-planning-content  select {
	display: inline-block;
	padding-bottom: calc(0.375em - 1px);
	padding-left: calc(0.625em - 1px);
	padding-right: calc(0.625em - 1px);
	padding-top: calc(0.375em - 1px);
	font-size: 1rem;
	line-height: 1.5;
}

.mybooking-planning-content  .select:not(.is-multiple) {
	height: 2.25em;
}
.mybooking-planning-content  .select select:not([multiple]) {
	padding-right: 2.5em;
}

.mybooking-planning-content  .select {
	display: inline-block;
	max-width: 100%;
	position: relative;
	vertical-align: top;
}
.mybooking-planning-content  .select select {
	cursor: pointer;
	display: block;
	font-size: 1em;
	max-width: 100%;
	outline: 0;
}

.mybooking-planning-content .button,
.mybooking-planning-content input[type="text"], 
.mybooking-planning-content .select select {
	-moz-appearance: none;
	-webkit-appearance: none;
	align-items: center;
	border: 1px solid transparent;
	box-shadow: none;
	display: inline-flex;
	font-size: 1rem;
	height: 2.25em;
	justify-content: flex-start;
	line-height: 1.5;
	padding-bottom: calc(0.375em - 1px);
	padding-left: calc(0.625em - 1px);
	padding-right: calc(0.625em - 1px);
	padding-top: calc(0.375em - 1px);
	position: relative;
	vertical-align: top;
	border-radius: 4px;
	background-color: #fff;
	border-color: #dbdbdb;
	color: #363636;
}

.mybooking-planning-content .button[data-direction="back"] {
	margin-left: 1rem;
}

.mybooking-planning-content .button,
.mybooking-planning-content .button[disabled]:hover {
	border-radius: var(--mb-button-border-radius);
	background-color: var(--mb-button-bg-color);
	border-color: var(--mb-button-border-color);
	color: var(--mb-button-color);
}

.mybooking-planning-content .button:hover {
	background-color: var(--mb-button-bg-color-hover);
	border-color: var(--mb-button-border-color-hover);
	color: var(--white);
	opacity: 1;
}

.mybooking-planning-content .button[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}
