/* @override 
	https://www.bonessparishchurch.org.uk/assets/css/bookings.css */

#childCountModal {
z-index: 500 !important;
}

.modal-backdrop {
z-index: 499 !important;
}

#child-count-options .btn {
width: 100%;
text-align: center;
padding-top: 0.85rem;
padding-bottom: 0.85rem;
}

#child-count-summary {
	background: var(--bs-tertiary-bg);
	background-color: hsla(152, 39%, 89%, 1.00);
	border: 1px solid hsla(152, 39%, 39%, 1.00) !important;
}

#child-count-summary h2 {
	color: hsla(152, 39%, 29%, 1.00);
}

@media (max-width: 575.98px) {
#child-count-summary .btn {
	width: 100%;
}
}

.ee-cform button.btn.btn-primary,
#child-count-options button.btn.btn-primary {
	background-color: hsla(152, 39%, 49%, 1.00);
	border: 1px solid hsla(152, 39%, 39%, 1.00) !important;
}


/* =========================
   Larger toggle switches
   ========================= */
.form-check.form-switch.form-switch-lg {
	min-height: 2.25rem;
	padding-left: 3.75rem;
}

.form-check.form-switch.form-switch-lg .form-check-input {
	width: 3rem;
	height: 1.65rem;
	margin-left: -3.75rem;
	margin-top: 0.2rem;
	cursor: pointer;
}

.form-check.form-switch.form-switch-lg .form-check-label {
	font-size: 1.05rem;
	line-height: 1.5;
	cursor: pointer;
}

/* =========================
   Attendees Grid styling
   Lighter / cleaner version
   ========================= */
   
input[type="text"],
textarea {
	padding-left: 12px !important;
	border-radius: 6px !important;
}

#attendees-grid-wrapper .table-responsive,
#attendees-grid-wrapper .grid-field {
	margin-bottom: 0;
}

#attendees-grid-wrapper table {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	background: transparent;
}

#attendees-grid-wrapper table.table {
	--bs-table-bg: transparent;
	--bs-table-border-color: transparent;
	margin-bottom: 0;
}

#attendees-grid-wrapper thead {
	display: none;
}

#attendees-grid-wrapper th,
#attendees-grid-wrapper td {
	vertical-align: top;
	border: 0 !important;
	padding: 0.75rem 0.75rem 1rem 0.75rem;
	background: transparent;
}

/* subtle row separation only */
#attendees-grid-wrapper tbody tr + tr td {
	border-top: 1px solid var(--bs-border-color-translucent) !important;
}

#attendees-grid-wrapper .grid-field__column-label {
	display: block;
	margin-bottom: 0.35rem;
}

#attendees-grid-wrapper .grid-field__column-label__instruction label {
	font-weight: 600;
	margin-bottom: 0;
	color: var(--bs-body-color);
	font-size: 0.98rem;
	line-height: 1.35;
}

#attendees-grid-wrapper input[type="text"] {
	width: 100%;
}

#attendees-grid-wrapper .form-control {
	min-height: calc(2.6rem + 2px);
}

/* strip out remaining EE controls if present */
#attendees-grid-wrapper .js-grid-reorder-handle,
#attendees-grid-wrapper [rel="remove_row"],
#attendees-grid-wrapper .js-grid-add-row,
#attendees-grid-wrapper .grid-field__add-row,
#attendees-grid-wrapper .grid-add-row,
#attendees-grid-wrapper [data-add-row],
#attendees-grid-wrapper .grid-field__footer,
#attendees-grid-wrapper .grid-field__buttons {
	display: none !important;
}

.ee-cform fieldset {
	border: solid gray;
	border-width: 0 0 0px !important;
	margin: 0;
	padding: 20px;
	background-image: -moz-linear-gradient(transparent, transparent);
	background-image: -webkit-linear-gradient(transparent, transparent);
	background-image: linear-gradient(to right, transparent, transparent);
}

@media (max-width: 767.98px) {
	#attendees-grid-wrapper table,
	#attendees-grid-wrapper tbody,
	#attendees-grid-wrapper tr,
	#attendees-grid-wrapper td {
		display: block;
		width: 100%;
	}

	#attendees-grid-wrapper tr {
		border: 0;
		border-radius: 0;
		padding: 0;
		margin-bottom: 1rem;
		background: transparent;
		box-shadow: none;
	}

	#attendees-grid-wrapper tbody tr + tr td {
		border-top: 0 !important;
	}

	#attendees-grid-wrapper tr + tr {
		padding-top: 1rem;
		border-top: 1px solid var(--bs-border-color-translucent);
	}

	#attendees-grid-wrapper td {
		padding: 0 0 0.9rem 0 !important;
	}

	#attendees-grid-wrapper td:last-child {
		padding-bottom: 0 !important;
	}

	#attendees-grid-wrapper .grid-field__column-label__instruction label {
		font-size: 0.95rem;
	}
}
