/* Theme colour translations */
body[data-theme="light"] {
	--color-contrast-high: #293619;
	--color-primary: #586646;
	--color-primary-light: #d2bda0;
	--color-primary-lighter: #eadbca;
	--swiper-navigation-color: white;
}

.post__category a, .service a, .page a {
	text-decoration: underline;
	text-underline-offset: 7px;
}

/* Homepage badge logo */
.badge__logo a,
.badge__logo svg,
.badge__logo img {
	top: 5em;
	left: -3em;
    height: 300px;
	filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6))
}
.slider-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
	bottom: 20px;
	width: auto;
}
.swiper-slide__info {
	bottom: 40px !important;
}

/* Sub-page top logo/menu bar */
.logo__block {
	background-color: white;
}

/* Main menu & Mobile menu */

/*.js .main-header__nav {
	margin-top: 12px;
	padding-left: 12px;
	padding-right: 12px;
	background: rgba(0,0,0,0.3);
}*/
.main-header__nav .sub-menu {
	width: 280px !important;
}
.menu-item a:focus {
    outline: none !important;
    box-shadow: none !important;
}
.menu-black a, .menu-black span {
	background-color: white;
	color: black !important;
}
.menu-black i {
	background-color: black;
}
.sub-menu a {
	color: black !important;
	background-color: white;
	border-bottom: 1px solid #E0E0E0;
}
.main-header__nav .sub-menu li a:hover {
    color: black !important;
}
.menu-white.main-header__nav-trigger,
.menu-white.main-header__nav-trigger {
    background: none; !important;
}
.menu-black.main-header__nav-trigger,
.menu-black.main-header__nav-trigger,
.menu-white .main-header__nav-trigger-icon::before,
.menu-white .main-header__nav-trigger-icon::after {
    background-color: white !important;
}
.menu-black .main-header__nav-trigger-icon::before,
.menu-black .main-header__nav-trigger-icon::after {
    background-color: black !important;
}
.menu-button a.menu-head {
	top: 14px;
	border-radius: 8px;
	border: 1px solid #293619;
	color: white !important;
	background-color: #293619;
	padding-right: 14px !important;
	padding: 4px 14px 4px 14px !important;
}
.menu-button a.menu-head:hover {
	border-radius: 8px;
	background-color: white;
	color: #293619 !important;
	padding-right: 14px !important;
}

/* Body text */
.text-component blockquote {
	z-index: 0;
}
.hero-default {
	margin-bottom: 0px;
}
.service {
	padding-bottom: 30px;
}
.service h4 {
	margin-bottom: 4px !important;
}
.service img {
	padding: 30px 0px 30px 0px !important;
}
.service-price {
	color: var(--color-primary);
	font-size: 18px !important;
	font-weight: bold;
	text-transform: none !important;
}
.btn-book {
	top: -2px;
}

/* Footer associate logos */
.logo-footer {
	text-align: center;
}
.logo-footer img {
	height: 96px !important;
	padding-top: 16px;
	padding-right: 16px;
}
.footer-address {
	margin-top: 12px;
	color: gray;
}

/* Contact form */
label span.error, span.hidden-error {
    color: red;
    font-size: 0.7em;
}
.hidden-error {
    opacity: 0;
	display: block;
    transition: opacity 0.2s;
	margin-left: 9px;
}
.hidden-error.visible {
    opacity: 1;
}

/* Contact status message box */
#flash-msg {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%); /* start slightly higher for slide-in */
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    z-index: 99999;
    pointer-events: none; /* doesn't interfere with clicks */
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
}
/* Success (green) */
#flash-msg.success {
    background: rgba(0, 160, 0, 0.9);
}
/* Error (red) */
#flash-msg.error {
    background: rgba(200, 0, 0, 0.9);
}
/* VISIBLE state — slides down + fades in */
#flash-msg.show {
    opacity: 1;
    transform: translate(-50%, -50%); /* slides down slightly */
}

/* Admin forms */
.check-label {
	font-size: 12px;
	margin-right: 18px;
}
.forgot-link {
	font-size: 14px;
}
.form-pin {
	width: 10%;
	padding: 8px !important;
	display: inline;
    font-size: 20px !important;
	text-align: center;
	margin-right: 8px;
}
.form__message p {
	color: var(--color-contrast-high);
	font-size: var(--text-sm);
	line-height: 1.5;
	padding-bottom: 0.7em;
}
.btn-signin {
	width: 60%;
	min-width: 160px;
}
.tidy-label {
	color: gray;
	display: inline-block;
	font-size: 14px;
	padding-top: 11px;
}
.btn--primary {
	border: 1px solid var(--color-primary) !important;
}
.btn--feint {
	background-color: white !important;
	color: var(--color-contrast-high) !important;
	border: 1px solid var(--color-primary) !important;
}
.btn--panel {
	margin-right: 1em;
}

/* Admin table lists */
.single-post__content {
	padding-bottom: 48px;
}
.page-select {
	height: 40px !important;
	width: 48px !important;
	margin-right: 16px;
}
.table-wrapper {
    overflow-x: auto;
    width: 100%;
}
table {
  	border-collapse: collapse;
  	border-spacing: 0;
}
.ms-table {
    width: 100%;
    font-size: var(--text-sm);
}

.ms-table th,
.ms-table td {
    padding: var(--space-xs) var(--space-sm);
    text-align: left;
    border-bottom: 1px solid var(--color-contrast-low);
}

.ms-table th {
    font-weight: 600;
    color: var(--color-contrast-medium);
}

.ms-table tbody tr:hover {
    background-color: var(--color-contrast-lower);
}
.ms-table tbody tr:nth-child(even) {
    background-color: hsla(
        var(--color-success-h),
        var(--color-success-s),
        var(--color-success-l),
        0.08
    );
}

/* Form el-switch */
.ios-row {
    display: flex;
    padding: 12px 0;
    align-items: center;
    border-bottom: 1px solid #ddd;
    justify-content: space-between;
}
.tidy-label-ios {
    margin: 0;
    color: gray;
    line-height: 1;
    font-size: 18px;
}
.el-switch {
    margin: 0;
}
input.ios, input.ios::placeholder {
	width: 80%;
    text-align: right;
}
input.form-control.ios {
    border: none;
    box-shadow: none;
}
input.form-control.ios:focus {
    border-bottom: 1px solid gray;
    box-shadow: none;
    outline: none;
}

/* Form select2 */
.js-select-simple {
    margin-left: auto;
    min-width: 160px;
}
.js-select-simple .select2 {
    width: 100% !important;
	color: red !important;
}
.select2-results__options {
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
}
.select2-container--default .select2-selection--single, .select2-results__option{
    text-align: right;
}
.js-select-simple {
    margin-left: auto;
    min-width: 160px;
    max-width: 400px;
    flex: 1;
}
.js-select-simple .select2 {
    width: 100% !important;
}

/* Responsive breakpoints */

.swiper-carousel .swiper-slide.swiper-slide-active .swiper-slide__info {
    transition: transform 0.45s ease; 			/* smooth instead of jump */
    will-change: transform;           			/* iOS flicker fix */
    -webkit-backface-visibility: hidden;
}

/* Tablets */
@media only screen and (max-width: 1024px) {
	.badge__logo a,
	.badge__logo svg,
	.badge__logo img {
		top: 5em;
		left: -2em;
	    height: 220px;
	}
	/* Mobile menu: reduce the size of the main menu area */
	.js .main-header__nav {
		width: 75% !important;
		height: calc(70vh - var(--main-header-height-md)) !important;
		left: auto;
		right: 0px;
	}
}

/* Small tablets / large phones */
@media only screen and (max-width: 782px) {
	.badge__logo a,
	.badge__logo svg,
	.badge__logo img {
		top: 4em;
		left: -1.5em;
	    height: 180px;
	}
		
	/* Mobile: lift text+button more so button becomes visible */
	.swiper-carousel .swiper-slide.swiper-slide-active .swiper-slide__info {
        transform: translateY(calc(-2rem - 12vw));	/* responsive height rise */
    }
}

/* Phones */
@media only screen and (max-width: 512px) {
	.badge__logo a,
	.badge__logo svg,
	.badge__logo img {
		top: 5em;
		left: -3em;
	    height: 180px;
	}
	.service p, .page p {
		font-size: 16px;
	}
}

/* Extra small screens */
@media only screen and (max-width: 32rem) {
	.badge__logo a,
	.badge__logo svg,
	.badge__logo img {
		top: 4em;
		left: -1.6em;
	    height: 180px;
	}
}


