.bacb-calendar-design .bookacti-calendar {
	position: relative;
	overflow: visible;
	width: auto;
	max-width: none;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	padding: 30px 10px;
	background: #f6f6f0;
	border-radius: 0;
}

.bacb-calendar-design .bookacti-calendar,
.bacb-calendar-design .bookacti-calendar * {
	box-sizing: border-box;
}

.bacb-calendar-design .fc {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	color: #252525;
	font-family: "Open Sans", Arial, sans-serif;
}

.bacb-calendar-design h2.fc-toolbar-title,
.bacb-calendar-design .fc .fc-toolbar-title,
.bacb-calendar-design .bacb-calendar-title-month,
.bacb-calendar-design .bacb-calendar-title-year,
.bacb-calendar-design .bacb-calendar-legend__label,
.bacb-calendar-design .fc .fc-col-header-cell-cushion,
.bacb-calendar-design .fc .fc-daygrid-day-number,
.bacb-calendar-design .bacb-calendar-event__time,
.bacb-calendar-design .bacb-calendar-event__title {
	font-family: "Open Sans", Arial, sans-serif;
}

.bacb-calendar-design .fc-theme-standard .fc-scrollgrid {
	border: 0;
}

.bacb-calendar-design .fc-theme-standard td,
.bacb-calendar-design .fc-theme-standard th {
	border: 0;
}

.bacb-calendar-design .fc .fc-toolbar.fc-header-toolbar {
	display: flex;
	width: 100%;
	min-width: 0;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 24px;
}

.bacb-calendar-design .bacb-calendar-month-control {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 56px;
	padding: 8px 10px;
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
}

.bacb-calendar-design .fc .bacb-calendar-title-chunk,
.bacb-calendar-design .fc .bacb-calendar-arrow-chunk {
	display: flex;
	align-items: center;
}

.bacb-calendar-design .fc .fc-toolbar-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #474040;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
}

.bacb-calendar-design .bacb-calendar-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	color: #474040;
	border-radius: 5px;
}

.bacb-calendar-design .bacb-calendar-title-icon .bacb-calendar-icon,
.bacb-calendar-design .bacb-calendar-legend__icon .bacb-calendar-icon,
.bacb-calendar-design .bacb-calendar-event__icon .bacb-calendar-icon {
	display: block;
	width: 100%;
	height: 100%;
	background: currentcolor;
	-webkit-mask: var(--bacb-calendar-icon) center / contain no-repeat;
	mask: var(--bacb-calendar-icon) center / contain no-repeat;
}

.bacb-calendar-design .bacb-calendar-icon--calendar {
	--bacb-calendar-icon: url("../icons/activity/calendar.svg");
}

.bacb-calendar-design .bacb-calendar-icon--online {
	--bacb-calendar-icon: url("../icons/activity/online.svg");
}

.bacb-calendar-design .bacb-calendar-icon--in-person {
	--bacb-calendar-icon: url("../icons/activity/in-person.svg");
}

.bacb-calendar-design .bacb-calendar-icon--retreat {
	--bacb-calendar-icon: url("../icons/activity/retreat.svg");
}

.bacb-calendar-design .bacb-calendar-title-month {
	font-weight: 600;
	text-transform: capitalize;
}

.bacb-calendar-design .bacb-calendar-title-year {
	font-weight: 400;
}

.bacb-calendar-design .fc .fc-button-group {
	display: flex;
	gap: 10px;
}

.bacb-calendar-design .fc .fc-button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background-color: #fbfbfb;
	border: 1px solid rgba(71, 64, 64, 0.15);
	border-radius: 4px;
	color: #474040;
	box-shadow: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bacb-calendar-design .fc .fc-next-button {
	background-color: #f6f6f0;
}

.bacb-calendar-design .fc .fc-button-primary:hover,
.bacb-calendar-design .fc .fc-button-primary:focus {
	background: #f1f1ea;
	border-color: rgba(71, 64, 64, 0.3);
	color: #474040;
	box-shadow: none;
}

.bacb-calendar-design .fc .fc-button-primary:disabled {
	background: #fbfbfb;
	border-color: rgba(71, 64, 64, 0.15);
	color: rgba(71, 64, 64, 0.4);
	opacity: 1;
}

.bacb-calendar-design .fc .fc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	font-size: 0;
	line-height: 0;
}

.bacb-calendar-design .fc .fc-icon::before {
	content: none;
}

.bacb-calendar-design .fc .fc-icon svg {
	display: block;
	width: 18px;
	height: 18px;
}

.bacb-calendar-design .bacb-calendar-legend {
	display: flex;
	width: 100%;
	max-width: 332px;
	height: 32px;
	flex: 0 0 auto;
	align-items: center;
	gap: 30px;
	margin-left: 0;
}

.bacb-calendar-design .bacb-calendar-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	white-space: nowrap;
}

.bacb-calendar-design .bacb-calendar-legend__item[hidden] {
	display: none;
}

.bacb-calendar-design .bacb-calendar-legend__icon-box {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 8px;
	overflow: hidden;
	border-radius: 8px;
}

.bacb-calendar-design .bacb-calendar-legend__icon {
	display: inline-flex;
	width: 16px;
	height: 16px;
}

.bacb-calendar-design .bacb-calendar-legend__label {
	font-size: 12px;
	font-weight: 400;
	line-height: 1.4;
}

.bacb-calendar-design .bacb-calendar-legend__item--online {
	color: #0e840a;
}

.bacb-calendar-design .bacb-calendar-legend__icon-box--online {
	background: #e3fde2;
}

.bacb-calendar-design .bacb-calendar-legend__item--in-person {
	color: #e76c1f;
}

.bacb-calendar-design .bacb-calendar-legend__icon-box--in-person {
	background: #fffde2;
}

.bacb-calendar-design .bacb-calendar-legend__item--retreat {
	color: #1f58e7;
}

.bacb-calendar-design .bacb-calendar-legend__icon-box--retreat {
	background: #e6f0ff;
}

.bacb-calendar-design .fc .fc-col-header {
	width: 100% !important;
	height: 28px;
	margin: 0 0 4px;
	overflow: hidden;
	background: #fff;
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
	border-radius: 8px;
}

.bacb-calendar-design .fc .fc-col-header-cell {
	width: 14.285714%;
	height: 24px;
	background: #fff;
}

.bacb-calendar-design .fc .fc-col-header-cell-cushion {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 24px;
	padding: 0;
	color: rgba(37, 37, 37, 0.5);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	letter-spacing: 0;
}

.bacb-calendar-design .fc .fc-daygrid-body {
	width: 100% !important;
}

.bacb-calendar-design .fc .fc-daygrid-body table {
	width: 100% !important;
	margin-top: -4px;
	border-collapse: separate;
	border-spacing: 0 4px;
	table-layout: fixed;
}

.bacb-calendar-design .fc .fc-daygrid-body tr {
	background: #fff;
	border-radius: 8px;
}

.bacb-calendar-design .fc .fc-daygrid-day {
	width: 14.285714%;
	overflow: visible !important;
	background: #fff;
	border-right: 0.5px solid rgba(71, 64, 64, 0.1);
	vertical-align: top;
}

.bacb-calendar-design .fc .fc-daygrid-day:first-child {
	border-top-left-radius: 8px;
	border-bottom-left-radius: 8px;
}

.bacb-calendar-design .fc .fc-daygrid-day:last-child {
	border-top-right-radius: 8px;
	border-bottom-right-radius: 8px;
	border-right: 0;
}

.bacb-calendar-design .fc .fc-daygrid-day-frame {
	height: auto;
	min-height: 151px;
	padding: 4px 2px;
}

.bacb-calendar-design .fc .fc-daygrid-body tr:last-child .fc-daygrid-day-frame {
	min-height: 130px;
}

.bacb-calendar-design .fc .fc-daygrid-day-top {
	display: flex;
	justify-content: center;
	height: 24px;
	margin: 0 0 2px;
}

.bacb-calendar-design .fc .fc-daygrid-day-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	color: #252525;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.25;
	text-decoration: none;
	letter-spacing: 0;
}

.bacb-calendar-design .fc .fc-day-other .fc-daygrid-day-number {
	color: rgba(37, 37, 37, 0.5);
}

.bacb-calendar-design .fc .fc-day-today {
	background: #fff;
}

.bacb-calendar-design .fc .fc-day-today .fc-daygrid-day-number {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	background: #474040;
	border-radius: 50%;
	color: #fff;
	line-height: 1;
}

.bacb-calendar-design .fc .fc-daygrid-day-events {
	margin: 0;
}

.bacb-calendar-design .fc .fc-daygrid-day-bottom {
	display: none;
}

.bacb-calendar-design .fc .fc-daygrid-event-harness {
	margin: 0;
}

.bacb-calendar-design .fc .fc-daygrid-event-harness + .fc-daygrid-event-harness {
	margin-top: 2px;
}

.bacb-calendar-design .fc .fc-event {
	overflow: hidden;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
}

.bacb-calendar-design .fc .fc-event-main {
	height: 100%;
	background: transparent;
	color: inherit;
}

.bacb-calendar-design .fc .fc-daygrid-event {
	margin: 0;
	padding: 0;
	white-space: normal;
}

.bacb-calendar-design .fc .bacb-event-online {
	--fc-event-bg-color: #e3fde2;
	--fc-event-border-color: #e3fde2;
	--fc-event-text-color: #0e840a;
	min-height: 53px;
	background-color: #e3fde2 !important;
	color: #0e840a;
}

.bacb-calendar-design .fc .bacb-event-in-person {
	--fc-event-bg-color: #fdfae2;
	--fc-event-border-color: #fdfae2;
	--fc-event-text-color: #e76c1f;
	min-height: 62px;
	background-color: #fdfae2 !important;
	color: #e76c1f;
}

.bacb-calendar-design .fc .bacb-event-retreat {
	--fc-event-bg-color: #e6f0ff;
	--fc-event-border-color: #e6f0ff;
	--fc-event-text-color: #1f58e7;
	min-height: 75px;
	background-color: #e6f0ff !important;
	color: #1f58e7;
}

.bacb-calendar-design .fc .bacb-event-retreat-segment {
	border-radius: 0;
}

.bacb-calendar-design .fc .bacb-event-retreat-start {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

.bacb-calendar-design .fc .bacb-event-retreat-end {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
}

.bacb-calendar-design .fc .bacb-event-retreat::before {
	display: block;
	height: 2px;
	background: #1f58e7;
	content: "";
}

.bacb-calendar-design .fc .bookacti-event-unavailable {
	opacity: 0.48;
}

.bacb-calendar-design .fc .bookacti-picked-event {
	outline: 1.5px solid currentColor;
	outline-offset: -1.5px;
}

.bacb-calendar-design .bacb-calendar-event {
	display: flex;
	min-height: inherit;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	padding: 5px 2px;
	font-size: 10px;
	line-height: 1.1;
}

.bacb-calendar-design .bacb-calendar-event--online {
	min-height: 53px;
}

.bacb-calendar-design .bacb-calendar-event--in-person {
	justify-content: center;
	min-height: 62px;
	padding: 5px 2px;
}

.bacb-calendar-design .bacb-calendar-event--retreat {
	min-height: 73px;
	gap: 6px;
	padding: 5px 2px;
}

.bacb-calendar-design .bacb-calendar-event__meta {
	display: flex;
	width: 100%;
	height: auto;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 0;
}

.bacb-calendar-design .bacb-calendar-event__icon {
	display: inline-flex;
	width: 14px;
	height: 14px;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.bacb-calendar-design .bacb-calendar-event--in-person .bacb-calendar-event__icon {
	width: 12px;
	height: 12px;
}

.bacb-calendar-design .bacb-calendar-event__time {
	width: 100%;
	color: currentColor;
	font-size: 9px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	white-space: normal;
}

.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__time {
	display: block;
}

.bacb-calendar-design .bacb-calendar-event__title {
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	color: currentColor;
	font-size: 10px;
	font-weight: 400;
	line-height: 1.1;
	text-overflow: clip;
	overflow-wrap: break-word;
}

.bacb-calendar-design .bacb-calendar-event--online .bacb-calendar-event__title {
	white-space: nowrap;
}

.bacb-calendar-design .bacb-calendar-event--in-person .bacb-calendar-event__title,
.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__title {
	white-space: normal;
}

.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

@media (max-width: 359px) {
	.bacb-calendar-design .bacb-calendar-legend {
		height: auto;
		flex-wrap: wrap;
		gap: 12px 16px;
	}
}

@media (min-width: 768px) {
	.bacb-calendar-design .bookacti-calendar {
		left: 50%;
		width: 1000px;
		max-width: calc(100vw - 100px);
		margin-right: 0;
		margin-left: 0;
		padding: 30px;
		transform: translateX(-50%);
		border-radius: 20px;
	}

	.bacb-calendar-design .fc {
		width: 100%;
		max-width: 940px;
	}

	.bacb-calendar-design .fc .fc-toolbar.fc-header-toolbar {
		width: auto;
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}

	.bacb-calendar-design .bacb-calendar-month-control {
		width: 286px;
	}

	.bacb-calendar-design .bacb-calendar-legend {
		width: auto;
		max-width: none;
		margin-left: auto;
	}

	.bacb-calendar-design .fc .fc-col-header {
		margin: 0 0 8px;
	}

	.bacb-calendar-design .fc .fc-daygrid-body table {
		margin-top: -8px;
		border-spacing: 0 8px;
	}

	.bacb-calendar-design .fc .fc-daygrid-day-frame {
		min-height: 128px;
	}

	.bacb-calendar-design .fc .fc-daygrid-body tr:last-child .fc-daygrid-day-frame {
		min-height: 130px;
	}

	.bacb-calendar-design .fc .bacb-event-online {
		min-height: 45px;
	}

	.bacb-calendar-design .fc .bacb-event-in-person {
		min-height: 47px;
	}

	.bacb-calendar-design .fc .bacb-event-retreat {
		min-height: 58px;
	}

	.bacb-calendar-design .fc .bacb-event-retreat::before {
		height: 3px;
	}

	.bacb-calendar-design .bacb-calendar-event {
		gap: 4px;
		padding: 5px 4px;
		font-size: 12px;
	}

	.bacb-calendar-design .bacb-calendar-event--online {
		min-height: 45px;
	}

	.bacb-calendar-design .bacb-calendar-event--in-person {
		min-height: 47px;
		padding: 5px 4px;
	}

	.bacb-calendar-design .bacb-calendar-event--retreat {
		min-height: 55px;
		gap: 6px;
		padding: 4px 4px 5px;
	}

	.bacb-calendar-design .bacb-calendar-event__meta {
		width: auto;
		height: 18px;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		gap: 4px;
	}

	.bacb-calendar-design .bacb-calendar-event--in-person .bacb-calendar-event__meta,
	.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__meta {
		height: 14px;
	}

	.bacb-calendar-design .bacb-calendar-event__icon {
		width: 18px;
		height: 18px;
	}

	.bacb-calendar-design .bacb-calendar-event--in-person .bacb-calendar-event__icon,
	.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__icon {
		width: 14px;
		height: 14px;
	}

	.bacb-calendar-design .bacb-calendar-event__time {
		width: auto;
		font-size: 11px;
		text-align: left;
		white-space: nowrap;
	}

	.bacb-calendar-design .bacb-calendar-event--retreat .bacb-calendar-event__time {
		display: none;
	}

	.bacb-calendar-design .bacb-calendar-event__title {
		width: auto;
		font-size: 12px;
		text-overflow: ellipsis;
	}

	.bacb-calendar-design .bacb-calendar-event--online .bacb-calendar-event__title,
	.bacb-calendar-design .bacb-calendar-event--in-person .bacb-calendar-event__title {
		white-space: nowrap;
	}
}
