.page-main .custom-container:has(.fc) {
    height:1037px !important;
    width: 1120px !important;
}

.form-group label {
    margin-bottom: 10px;
}

#calendar-1 h2 {
    color: var(--dark-green);
    font-size: 45px;
    margin-bottom: 20px;
}


#calendar-1 label {
	margin-bottom: 15px;
}

p:empty {
    display: none;
}

.screen-2, 
.screen-0,
.screen-3,
.screen-4,
.screen-5,
.screen-all,
.screen-6 {
	/*border: 1px solid #CBCBCB;*/
    display: none;
}

span#booking-id {
    font-size: 21px;
    padding-left: 5px;
    font-weight: 700;
    color: #004237;
}

.screen-6 {
    background-color: var(--bg-green);
    border-radius: 20px;
    padding: 20px;
	& h2 {
		color: black;
	}
}

.inputs-container {
    display: flex;
    gap: 20px;
}

.input-container {
	position: relative;
	width: 50%;
}

button.next-to {
    display: block;
}

.screen-0,
.screen-all {
	margin: 20px 0;
}

.screen-0 {
	border: 1px solid #1b1b1b;
    width: fit-content;
	max-width: 51%;
    margin-left: auto;
    padding: 20px;
    border-radius: 10px;
}

.screen-0:has(.all-available) {
	background-color: #D3EADE;
	border: 1px solid #D3EADE;
}

.screen-0  h3 {
    font-weight: 600;
    font-size: 22px !important;
    margin-bottom: 10px !important;
}

div.time-slot {
	padding-left: 24px;
}

div.time-slot
{
    display: grid;
		grid-template-columns: 1fr 2fr;
}

.booking {
	display: flex;
	gap: 10px;
}

.booking-wrapper {
    grid-column-start: 2;
}


.time-slot h4 {
	position: relative;
}

.time-slot h4::before {
    content: "";
    width: 19px;
    height: 19px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: -27px;
    top: 12px;
    transform: translateY(-50%);
}

.time-slot:has(.available) h4::before {
	background-color: #53A980;
}

.time-slot:has(.reserved) h4::before {
	background-color: #ECA695;
}

.time-slot:has(.confirmed) h4::before,
.time-slot:has(.closure-or-maintenance) h4::before,
.time-slot:has(.event) h4::before {
	background-color: #DD592F;
}

h2#selected-date-display {
    font-weight: 600;
	font-size: 23px;
	margin-bottom: 15px;
}

.screen-0 h3 {
	margin-bottom: 15px !important;
}

.morning,
.afternoon,
.evening {
	position: relative;
		left: 20px;
}

.morning::before, 
.afternoon::before, 
.evening::before {
    content: "";
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: -23px;
    top: 50%;
    transform: translateY(-50%);
}

.screen-0:has(.all-available) {
	& .morning::before,
	& .afternoon::before,
	& .evening::before {
		background-color: #53A980;
	}
}

/*.screen-column-1 {
	background-color: var(--bg-green);
	padding: 20px;
	width: 47%;
}

.screen-column-2 {
	background-color: var(--bg-orange);
	padding: 20px;
	width: 47%;
}*/

/*warning message*/
.warning-message {
	display: none;
	margin: 20px 0;
}

.warning-message p {
	color: #bf0808;
	font-weight: bold;
	
}

#time-warning {
	margin-top: 40px;
}
.screen-all {
	border: 1px solid #1b1b1b;
	border-radius: 10px;
	display: none;
		flex-direction: column;
		gap: 20px;
	padding: 20px;
	margin-bottom: 40px;
}

.booking-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.booking-details h3 {
    font-weight: 700 !important;
    font-size: 21px !important;
}

.cal__date input,
.time-group input {
	height: 0;
    width: 0;
    opacity: 0;
}

.cal__date:has(input[type="checkbox"]:checked) {
	& input[type="checkbox"] {
		appearance: none;
		-webkit-appearance: none;
		padding: 11px !important;
		border: 1px solid #ffffff !important;
		border-radius: 50% !important;
		outline: none;
		cursor: pointer;
		position: relative;
		height: auto;
		width: auto;
		opacity: 1;
	}

    /* Style when checkbox is checked */
    & input[type="checkbox"]:checked {
      background-color: #000; /* Black background */
    }

    /* Add the black tick */
    & input[type="checkbox"]:checked::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 8px;
		height: 14px;
		border: solid #000000;
		border-width: 0 3px 3px 0;
		transform: translate(-50%, -50%) rotate(45deg);
	}
}

.time-group:has(input[type="checkbox"]:checked) {
	& input[type="checkbox"] {
		appearance: none;
		-webkit-appearance: none;
		padding: 11px !important;
		border: 1px solid #ffffff !important;
		border-radius: 50% !important;
		outline: none;
		cursor: pointer;
		position: relative;
		height: auto;
		width: auto;
		opacity: 1;
	}

    /* Style when checkbox is checked */
    & input[type="checkbox"]:checked {
      background-color: #000; /* Black background */
    }

    /* Add the black tick */
    & input[type="checkbox"]:checked::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 8px;
		height: 14px;
		border: solid #000000;
		border-width: 0 3px 3px 0;
		transform: translate(-50%, -50%) rotate(45deg);
	}
	& label {
		margin-left: 10px;
	}
}

.cal__date:has(input[type="checkbox"]:checked) {
	& .status-label {
		display: none;
	}
}

.cal__date.unavailable input[type="checkbox"] {
	opacity: 0;
	padding: 0 !important;
	display: none;
}

#calendar-1 label {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

select#booking-type,
select#group-size,
select#package {
	-webkit-appearance: none;
  -moz-appearance: none;
	appearance: none;
    background-color: transparent;
    border: 2px solid #808080;
    border-radius: 10px;
	font-weight: 600;
    padding: 10px;
	position: relative;
	z-index: 10;
}

#calendar .buttons-container {
    justify-content: space-between;
}

#calendar .buttons-container {
    justify-content: space-between;
    margin-top: 91px;
    margin-bottom: 30px;
}


.input-container:has(#package) {
    position: relative;
    width: 100%;
}

.input-container::after {
    content: '';
    background-image: url(/wp-content/uploads/2024/12/arrow.svg);
    background-color: white;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    display: block;
    height: 20px;
    position: absolute;
    top: 71%;
    right: 14px;
    z-index: 1;
    transform: translateY(-50%);
    width: 26px;
}

.screen-0 p {
    margin-bottom: 10px !important;
}

.line {
	background-color: #4c4c4c;
	height: 3px;
	margin: auto;
	width: 80%;
}

.charity-note,
.private-note {
    padding-top: 6px;
    margin-top: 7px !important;
}

.charity-note p,
.private-note p {
	font-weight: 600 !important;
	margin-top: 15px;
}

div#available-times-container {
    margin-top: 40px;
}

.duration-group h3 {
	font-size: 27px;
	margin-bottom: 10px;
}

button#next-to-time {
    margin-left: auto;
    margin-top: 30px;
}

.duration-group label {
	font-weight: 400 !important;
}


.duration-group {
    margin-top: 30px;
}

.time-group {
    margin-right: 10px;
	margin-top: 10px;
    display: inline-flex;
    align-items: center;
    background-color: var(--grey);
    border-radius: 10px;
	padding: 0px;
}

.time-group button {
	background-color: var(--grey);
	color: black;
	position: relative;
	transform: none !important;
}

.time-group button[aria-selected = "true"] {
    background-color: #53A980;
    padding: 13px 30px;
    padding-right: 15px;
}

.time-group button[aria-selected = "true"]::before {
    content: "";
    position: absolute;
    top: 36%;
    left: 8px;
    width: 12px;
    z-index: 5;
    height: 9px;
    border: solid #000000;
    border-width: 0 3px 3px 0;
    transform: scaleX(-1) rotate(46deg);
}

.time-group button[aria-selected = "true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 22px;
    height: 23px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #000000;
}

.screen-3 {
    margin-top: 60px;
}

.extras-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.extras-category h3 {
	margin-bottom: 20px;
}
.extras-text .links-container {
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
    background-color: var(--bg-green);
    width: 100%;
    padding: 20px;
}

.extras-text h3.mb-2.feature-title {
    grid-column-start: 1;
    grid-column-end: 4;
}

.extra-card {
    border-radius: 13px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--grey);
}

.label-container {
    display: flex;
		gap: 12px;
		justify-items: start;
		align-items: center;
    margin-bottom: 10px;
}

.extra-card input {
    text-align: center;
    padding: 1px 6px !important;
    width: 6%;
    border: 1px solid black !important;
}

.extra-card input[type="checkbox"] {
	height: 20px;
	width: 20px;
}

.extra-card label {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0px !important;
    width: 80% !important;
}

.extra-card:has(input[type="checkbox"]:checked) {
    background-color: var(--bg-green);
}

.extra-card:has(.green) {
    background-color: var(--bg-green);
}

.screen-5 hr {
    border: 2px solid var(--l-green);
    margin-top: 50px;
    opacity: 1;
}

.screen-5 .buttons-container {
	margin-left: 0;
}

.screen-5 button.next-to {
	margin-left: 0;
}

.form-group {
    margin-bottom: 30px;
}

.form-group input {
	margin-bottom: 25px;
}

input.guideline-checkbox {
    height: 20px;
    width: 20px;
}

label.guideline {
    display: grid;
    grid-template-columns: 1fr 51fr;
	align-items: center;
    gap: 20px;
}

label.guideline  p {
	font-weight: 400 !important;
}

.form-group .guideline input {
	margin-bottom: 0;
}

#calendar {
	margin-top: 50px;
}

#calendar-1 .form-group label {
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

.form-group h3 {
	font-size: 25px !important;
    margin-bottom: 30px;
}

.screen-all h2 {
    font-size: 30px !important;
    margin-bottom: 10px !important;
	font-weight: 500 !important;
}

/*.time-group input {
    position: absolute;
    opacity: 0;
}*/

.time-group label {
	margin-bottom: 0 !important;
}

#available-times-containe:has(.fri-sat-eve) .eve {
	display: none;
} 

div.cal {
    border: 1px solid #CBCBCB;
    border-radius: 10px;
    padding: 20px;
}

.cal__header button {
  background: none;
  border: 0;
  outline: none;
  color: inherit;
  font: inherit;
  line-height: normal;
  overflow: visible;
  padding: 0;
  -webkit-appearance: button;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: pointer;
}

.cal__date input:disabled {
    cursor: not-allowed; /* Change the cursor to indicate it's not clickable */
}


div.cal__date {
    color: black;
    padding: 0px;
    min-height: 90px;
    text-align: left !important;
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.cal__date button {
    background-color: white;
	border: 2px solid #E2E2E2;
	border-radius: 10px;
	color: black;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
	position: relative;
	transform: none !important;
}


.cal__date button[aria-selected="true"]::after {
    content: "";
    position: absolute;
    top: 78%;
    left: 18%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #000000;
}

/*Tick mark*/

.cal__date button[aria-selected="true"]::before {
    content: "";
    position: absolute;
    top: 72%;
    left: 13%;
    width: 13px;
    z-index: 5;
    height: 9px;
    border: solid #000000;
    border-width: 0 3px 3px 0;
    transform: scaleX(-1) rotate(46deg);
}


.cal__date button[aria-selected="true"] {
	background-color: #53A980;
    border: 2px solid #53A980;
}

.cal__date.unavailable button, .cal__date.fully-booked button {
    background-color: #CFCFCF !important;
	border: 2px solid #CFCFCF !important;
	color: black;

}

.cal__date.unavailable {
	height: 90px;
}




.cal__date:has(input[type="checkbox"]:checked) {
    background-color: #53A980; /* Change background color when selected */
	border: 2px solid #53A980;
}

span.status-label {
    margin-left: 12px;
    font-size: 12px;
    font-weight: 500;
    position: relative;
}

span.status-label::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%; 
    display: inline-block;
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
}

.partially-booked .status-label::before {
    background-color: var(--yellow);
}

.available .status-label::before {
    background-color: var(--l-green);
}

.fully-booked .status-label::before {
    background-color: #808080;
}

.cal button:active {
  border-radius: 3px;
}

.cal button:disabled {
    background-color: white;
}

.cal {
  width: 100%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.cal__header {
  display: flex;
  padding: 1.2rem 1.4rem;
  align-items: center;
}

.cal__header svg {
  fill: #0A9297;
}

.cal__header__label {
    width: 100%;
    text-align: center;
    font-weight: 500;
}

.cal__week {
    border-bottom: 2px solid #F3F3F2;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 16px 0;
}

.cal__week span {
 color: #626262;
  flex-direction: column;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}

.cal__body {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 25px;
}

.cal__date {
  background-color: #fff;
  display: flex;
      flex-direction: column;
      align-items: center;
  padding: 5px 0;
  border-radius: 4px;
}

.cal__date--active:hover {
  cursor: pointer;
}

.cal__date--today {
  background-color: #0A9297;
  color: #fff;
}

.cal__date--selected {
  background-color: #E7E9ED;
  color: #333;
}

.cal__date--disabled {
  opacity: 0.5;
}

.cal__date--disabled:hover {
  cursor: not-allowed;
}



/*button*/
button.next-to {
    margin-top: 20px;
}

button.next-to {
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    padding: 12px 14px;
}

button.next-to img {
	width: 20px;
}

img.roatet {
    transform: scaleX(-1);
}

#calendar-1 .buttons-container {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
	justify-content: space-between;
    width: 100%;
}

/*Dynamic booking information*/
.booking-size,
.booking-type,
.booking-times,
.booking-price {
	display: none;
}


.booking-details p {
	margin-bottom: 0;
}

.booking-details .title h3 {
	margin-bottom:0;
}

.screen-5 {
	& .error-message {
		display: flex;
		color: #9f0202;
		font-weight: bold;
		margin: 0px 0px 30px 0;
		width: 100%;
		grid-row-start: 2;
		grid-column-start: 1;
		grid-column-end: 3;
	}
	& .error {
		outline: 3px solid #9f0202;
		outline-offset: 5px;
	}
}

.required-label::after {
	content: " *";
    color: black;
}

button#submit {
    border-radius: 33px;
    background-color: var(--orange);
    color: black;
    font-size: 22px;
    margin: 55px auto 54px auto;
    padding: 16px 25px;
    justify-content: center;
    width: 26%;
}

/*table.fc-scrollgrid.fc-scrollgrid-liquid {
    border: none;
    border: 2px solid #D8D8D8;
    border-radius: 10px !important;
    padding: 10px;
}

table.fc-scrollgrid.fc-scrollgrid-liquid thead {
    display:  table-header-group;
}


th table.fc-col-header {
    display:none;
}

.fc .fc-view-harness-active > .fc-view {
    overflow: hidden;
    position: relative;
    height:900px;
}

.fc-scroller.fc-scroller-liquid-absolute {
    overflow: hidden !important;
}

.fc-theme-standard td, .fc-theme-standard th {
    border: none !important;
}
.fc button {
    white-space: unset;
}



.fc .fc-daygrid-day-top {
    flex-direction: row;
}

.fc-daygrid-day-events {
    display: none;
}

td.fc-day.fc-daygrid-day {
    height: 100px;
}

td.fc-day.fc-daygrid-day span {
    font-size: 16px;
}

.fc .fc-daygrid-day.fc-day-today {
    background-color: transparent;
}

.fc .fc-daygrid-day.fc-day-today button {
    background-color: var(--green);
}
button {
    color: black !important;
}

button.fc-daygrid-day-button {
    border-radius: 20px;
    border: 2px solid #D8D8D8;
    border-radius: 20px !important;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 5px;
    height: 95px;
    width: 188px;
    background-color: transparent;
}

.fc-day-past button {
    cursor: none !important;
    opacity: 0.3;
}

button.fc-daygrid-day-button {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
}*/

@media only screen and (max-width: 990px) {
	div#calendar-1 {
		margin: auto;
		width: 95%;
	}
	.cal {
		overflow: scroll;
	}
	.extras-text .links-container {
		column-gap: 37px;
		row-gap: 20px;

	}
}

@media only screen and (max-width: 700px) {
	
div#available-times-container {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex-wrap: wrap;
}
	.booking {
    display: flex;
    gap: 0px;
    flex-direction: column;
}
	.screen-0 {
		max-width: 100%;
		width: 100%;
	}
	.extras-text .links-container {
		display: block;
	}
	.extra-card input {
		width: 18%;
	}
	.extra-card input[type="checkbox"] {
		height: 40px;
		width: 40px;
	}
	.booking-details {
		grid-template-columns: 1fr;
	}
	button#submit {
		border-radius: 33px;
		margin: 58px auto auto;
		width: 100%;
	}
	div#calendar-1 h3,
	div#calendar h3 {
		font-size: 26px;
	}
	.cal__date {
		width: 129px;
		height: 101px;
	}
	div.time-slot {
		display: flex;
			flex-direction: column;
			gap: 10px;
		margin-bottom: 18px;
	}
}