/**************************************************/
/* Helpers
/**************************************************/

main img {
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
main img.loaded {
	opacity: 1;
	transform: translateY(0px);
}

.hidden {
	display: none;
}

.back {
	font-size: 1rem;
	line-height: 1.5rem;
	font-weight: 600;
	color: #0172ad;
}
.back:before {
    display: inline-block;
    width: 1.75rem;
    margin: 0 -0.25rem 0 -0.5rem;
    content: ">";
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transform: rotateY(180deg);
	color: #aaaaaa;
}
.back a {
	color: #0172ad;
	text-decoration-color: #0172ad;
	text-decoration: underline;
	cursor: pointer;
}

::-webkit-scrollbar{
	width: 6px;
}

::-webkit-scrollbar-track-piece{
	background-color: #eeeeee;
}

::-webkit-scrollbar-thumb{
	background-color: #cccccc;
	outline: 0px;
	border: 0px;
}

::-webkit-scrollbar-thumb:hover{
	background-color: #bbbbbb;
}

textarea {
	min-height: 120px;
}

body.resizing * {
	transition: none !important;
}

*, *::before, *::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}
body {
	min-height: 100vh;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}
input, button, textarea, select {
	font: inherit;
}
p, h1, h2, h3, h4 {
	overflow-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 {
}
.dragging {
	opacity: 0.25;
}
.hidden {
	display: none !important;
}
.table-responsive {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-bottom: 1rem;
}
.table-responsive table {
    width: 100%;
	margin: 0;
}
.table-responsive table th,
.table-responsive table td {
    white-space: nowrap;
    vertical-align: middle;
}

@keyframes loading {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.banner:has(> img), .image:has(> img) {
	background: linear-gradient(
		90deg,
		#eeeeee 25%,
		#f4f4f4 50%,
		#eeeeee 75%
	);
	background-size: 200% 100%;
	animation: loading 1s linear infinite;
}

body {
	font-family: "Quicksand", sans-serif;
	background: #ffffff;
	position: relative;
}

div[role="alert"] {
	position: relative;
	padding: 1.25rem;
	margin: 1.5rem 0;
	border: 1px solid transparent;
	border-radius: .25rem;
	line-height: 1.5rem;
}
div.heading + div[role="alert"] {
	margin-top: 1.5rem;
}
div[role="alert"] > * {
    margin-bottom: 0.5rem;
}
div[role="alert"] > *:last-child {
    margin-bottom: 0 !important;
}
.danger {
	color: #721c24 !important;
}
div[role="alert"].primary {
	color: #004085;
	background-color: #cce5ff;
	border-color: #b8daff;
}
div[role="alert"].secondary {
	color: #383d41;
	background-color: #e2e3e5;
	border-color: #d6d8db;
}
div[role="alert"].success {
	color: #155724 !important;
	background-color: #d4edda !important;
	border-color: #c3e6cb !important;
}
div[role="alert"].danger {
	color: #721c24 !important;
	background-color: #f8d7da !important;
	border-color: #f5c6cb !important;
}
div[role="alert"].warning {
	color: #856404;
	background-color: #fff3cd;
	border-color: #ffeeba;
}
div[role="alert"].info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
div[role="alert"].light {
    color: #818182;
    background-color: #fefefe;
    border-color: #fdfdfe;
}
div[role="alert"].dark {
    color: #1b1e21;
    background-color: #d6d8d9;
    border-color: #c6c8ca;
}

tr.success td {
	color: #155724 !important;
	background-color: rgba(212, 237, 218, 0.5) !important;
	border-color: #c3e6cb !important;
}
tr.danger td {
	color: #721c24 !important;
	background-color: rgba(248, 215, 218, 0.5) !important;
	border-color: #f5c6cb !important;
}

/**************************************************/
/* Main
/**************************************************/
/*
main {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	background: #f9f9f9;
}
main > div {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	inset: 0;
	padding: 3rem;
}
@media (max-width: 768px) {
	main > div {
		height: auto;
		max-height: none;
	}
}
 */

main {
	flex: 1;
	inset: 0;
	overflow-y: auto;
	background: #ffffff;
	position: absolute;
}

main  > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 0;
}

/**************************************************/
/* Booking
/**************************************************/

div.booking {
	overflow: hidden;
	display: flex;
	line-height: 1rem;
	background: #ffffff;
	filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.025));
	width: 100%;
	height: 100%;
	margin: auto;
	flex: 1;
}
div.booking > div > *:last-child {
	margin: 0;
}

/**************************************************/
/* Intro
/**************************************************/

div.booking > div.intro {
	flex: 1;
	padding: 1.75rem;
	border-right: 1px solid #eeeeee;
	overflow-y: auto;
	position: relative;
}
div.booking > div.intro .back {
	margin-top: 0;
	margin-bottom: 1.5rem;
}
div.booking > div.intro h2 {
	text-align: center;
	margin: 1.5rem 0;
}
div.booking > div.intro h3 {
	font-size: 1.5rem;
	text-align: center;
	margin: 1.5rem 0;
}
div.booking > div.intro > p:last-child {
	text-align: center;
}

/**************************************************/
/* Services
/**************************************************/

div.booking > div.services {
	flex: 1;
	padding: 1.75rem;
	border-right: 1px solid #eeeeee;
	overflow-y: auto;
	position: relative;
	background: #fcfcfc;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	grid-gap: 1rem;
}
div.booking > div.services > div > * {
	margin-top: 0;
	margin-bottom: 0.5rem;
}
div.booking > div.services .back {
	margin-bottom: 1rem;
}
div.booking > div.services .change {
	font-size: 0.8rem;
    margin-bottom: 1rem;
    color: black;
}
div.booking > div.services .change a {
	color: black;
}
div.booking > div.services .change a:before {
    display: inline-block;
    width: 0.5rem;
    margin: 0 0.25rem 0 0;
    content: var(--pico-nav-breadcrumb-divider);
    color: black;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transform: rotateY(180deg);
	font-size: 0.875rem;
}
div.booking > div.services .banner {
	overflow: hidden;
	border-radius: 0.25rem;
	aspect-ratio: 3/1;
}
div.booking > div.services .banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
div.booking > div.services .name {
	font-size: 1rem;
	line-height: 1.5rem;
}
div.booking > div.services .name a {
	color: inherit;
	text-decoration-color: inherit;
}
div.booking > div.services .duration {
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 600;
	color: #0172ad;
}
div.booking > div.services .location {
	font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
	line-height: 1.4rem;
}
div.booking > div.services .location svg {
	width: 1.3rem;
	top: 1px;
	flex-shrink: 0;
}
div.booking > div.services .date {
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 600;
	color: green;
}
div.booking > div.services .time {
	font-size: 1rem;
	line-height: 1rem;
	font-weight: 600;
	color: green;
}
div.booking > div.services .content {
	font-size: 0.8rem;
	line-height: 1.25rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #666666;
}
div.booking > div.services svg {
	width: 1.2rem;
	display: inline-block;
	margin-right: 0.25rem;
	position: relative;
	top: 4px;
}
div.booking > div.services > ul {
	font-size: 0.9rem;
	list-style: none;
	margin: 0;
	padding: 1rem;
	background: #f6f6f6;
	border-radius: 5px;
	line-height: 1rem;
}
div.booking > div.services > ul p {
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.25rem;
}
div.booking > div.services > ul a {
	color: #0172ad
}
div.booking > div.services > ul svg {
	position: relative;
	top: 6px;
}
div.booking > div.services > ul li {
	margin-bottom: 0.25rem;
}
div.booking > div.services > ul li:last-child {
}
div.booking > div.services > ul li span {
	width: 2rem;
	text-align: center;
	display: inline-block;
}
div.booking > div.services > ul li.email svg {
	width: 1.15rem;
}
div.booking > div.services > ul li.whatsapp svg {
	width: 1.4rem;
}
div.booking > div.services > ul li.whatsapp a {
	color: #25D366;
	text-decoration-color: #25D366;
}
div.booking > div.services > ul li.facebook svg {
	width: 1.3rem;
}
div.booking > div.services > ul li.facebook a {
	color: #1877F2;
	text-decoration-color: #1877F2;
}


/**************************************************/
/* Calendar
/**************************************************/

div.booking > div.calendar {
	flex: 1;
	min-width: 50%;
	padding: 1.75rem;
	border-right: 1px solid #eeeeee;
	overflow-y: auto;
	position: relative;
}

div.booking > div.calendar .loader {
	display: flex;
	opacity: 1;
}

/**************************************************/
/* Slots
/**************************************************/

div.booking > div.slots {
	flex: 0 0 20%;
	padding: 1.75rem 1.25rem;
	position: relative;
	overflow-y: auto;
	font-size: 1rem;
	background: #fcfcfc;
}
div.booking > div.slots ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
div.booking > div.slots ul li {
	list-style: none;
	margin-bottom: 0.5rem;
}
div.booking > div.slots ul li:last-child {
	margin-bottom: 0;
}
div.booking > div.slots ul li button {
	padding: 0.65rem;
	width: 100%;
	border-radius: 5px;
	background: #f3f3f3;
	font-size: 1rem;
	line-height: 1rem;
	cursor: pointer;
	transition: background 0.25s;
	font-weight: 600;
	border: none;
	color: black;
}
div.booking > div.slots ul li button:hover {
	background: #eeeeee;
}
div.booking > div.slots ul li button.selected {
	background: #0172ad;
	color: white;
}

/**************************************************/
/* Slots
/**************************************************/

div.booking > div.book {
	flex: 1;
	padding: 1.75rem;
	position: relative;
	overflow-y: auto;
	font-size: 1rem;
}
div.booking > div.book > *:first-child {
	margin-top: 0;
}
div.booking > div.book .back {
	margin-top: 0;
	margin-bottom: 1rem;
}
div.booking > div.book .confirm {
	padding: 2rem;
    background: #f6f6f6;
    border-radius: 5px;
	margin-bottom: 1.5rem;
}
div.booking > div.book .confirm > *:last-child {
	margin-bottom: 0;
}

/**************************************************/
/* Loader
/**************************************************/

.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 250, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 10;
	opacity: 0;
	transition: opacity 0.25s;
	pointer-events: none;
}
.loader.active {
	display: flex;
    opacity: 1;
	pointer-events: auto;
}
.spinner {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0px 0px -15px;
    border-width: 3px;
    border-style: solid;
    border-color: rgb(1, 114, 173) rgb(238, 238, 238) rgb(238, 238, 238);
    border-image: initial;
    border-radius: 50%;
	animation: popupSpinner 0.5s linear infinite;
    z-index: 2;
}
@keyframes popupSpinner {
	0% {
		transform:rotate(0deg);
	}
	100% {
		transform:rotate(360deg);
	}
}

/**************************************************/
/* Mobile
/**************************************************/

@media (max-width: 768px) {
	main {
		background: #ffffff;
		padding: 0;
	}
	main  > div {
		display: block;
		padding: 0;
	}
	div.booking {
		display: block;
		aspect-ratio: auto;
		max-height: none;
		max-width: none;
		border-radius: 0;
		border: none;
		filter: none;
		height: auto;
	}
	div.booking > div.intro {
		border: none;
		background: #ffffff;
		padding: 1.5rem;
	}
	div.booking > div.services {
		border: none;
		background: #ffffff;
		padding: 1.5rem;
		border-bottom: 1px solid #eeeeee;
	}
	div.booking > div.services .banner {
		display: none;
		aspect-ratio: 4;
	}
	div.booking > div.calendar {
		border: none;
		padding: 1.5rem;
	}
	div.booking > div.slots {
		border-top: 1px solid #eeeeee;
		background: #ffffff;
		margin: 0;
		padding: 1.5rem;
	}
	div.booking > div.slots ul li button {
		font-size: 1.1rem;
		padding: 1rem;
	}
	div.services > a div.content {
		padding: 0.75rem;
	}
}