/*
 * Rules of the new site, on top of the theme (theme.css is the old site's style sheets, unchanged).
 * When this file changes, raise the "?v=" number of both style sheets in src/layouts/Base.astro.
 */

/* ---------- General ---------- */
html {
	scroll-behavior: smooth;
}
img {
	height: auto;
}
main {
	display: block;
}
.skip-link {
	position: absolute;
	left: 8px;
	top: -60px;
	z-index: 100000;
	padding: 10px 16px;
	background: #fff;
	color: #000;
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.skip-link:focus {
	top: 8px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid #f9423a;
	outline-offset: 2px;
}
.anchor {
	display: block;
	position: relative;
	top: -110px;
	visibility: hidden;
}
.empty-list {
	padding: 60px 15px 90px;
	font-size: 16px;
}

/* ---------- Header ---------- */
header.menu-style-two .top-header ul li a.language-link {
	font-weight: 600;
	transition: color 0.2s ease-in-out;
}
header.menu-style-two .top-header ul.left-content > li > a {
	transition: color 0.2s ease-in-out;
}
header.menu-style-two .top-header ul.left-content > li > a:hover,
header.menu-style-two .top-header ul.left-content > li > a:focus-visible {
	color: #f9423a;
}
/* The social icons on the red strip: a white circle with a red icon under the pointer. */
header.menu-style-two .top-header ul.right-content > li > a {
	display: inline-block;
	width: 30px;
	height: 30px;
	margin: 0 2px;
	padding: 0;
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
	border-radius: 50%;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.2s ease-in-out;
}
header.menu-style-two .top-header ul.right-content > li > a:hover,
header.menu-style-two .top-header ul.right-content > li > a:focus-visible {
	opacity: 1;
	background: #fff;
	color: #f9423a;
	transform: translateY(-1px);
}
header.menu-style-two .top-header ul li a.language-link i {
	margin-right: 4px;
}
.theme-menu-wrapper .logo img {
	width: 250px;
	height: auto;
	object-fit: contain;
}
#mega-menu-wrapper .nav > li.current > a {
	color: #f9423a;
}
.inner-banner {
	background-size: cover;
	background-position: center;
}
.inner-banner .opacity h1 {
	font-size: 44px;
	line-height: 1.2;
	overflow-wrap: break-word;
	margin-bottom: 18px;
}
/* The strip under the header with the page title: lower than the theme's (175/120 px padding), and lower again on
   smaller screens. */
.inner-banner .opacity {
	padding: 110px 0 75px 0 !important;
}
@media (max-width: 1199px) {
	.inner-banner .opacity {
		padding: 95px 0 65px 0 !important;
	}
}
@media (max-width: 991px) {
	.inner-banner {
		margin-bottom: 40px;
	}
	.inner-banner .opacity {
		padding: 60px 0 45px 0 !important;
	}
	.inner-banner .opacity h1 {
		font-size: 36px;
	}
}
@media (max-width: 767px) {
	.inner-banner {
		margin-bottom: 30px;
	}
	.inner-banner .opacity {
		padding: 36px 0 28px 0 !important;
	}
	.inner-banner .opacity h1 {
		font-size: 26px;
		margin-bottom: 10px;
	}
	.inner-banner .opacity ul li {
		font-size: 15px;
	}
}

/* ---------- Home page ---------- */
/* The slider's place is kept at the slider's size (550 px, or a quarter of the width when that is more)
   and shows the first slide's picture until the slider's script has built it: nothing below it moves. */
.slider-frame {
	position: relative;
	height: max(550px, 25vw);
	overflow: hidden;
	background: #2b2b2b center / cover no-repeat;
}
.slider-frame::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.4);
}
.slider-frame > #theme-main-banner {
	position: relative;
	z-index: 1;
}
#theme-main-banner:not(.camera_wrap) {
	display: none;
}
.registration-banner {
	background-image: url(/theme/images/banner-get-notified.webp);
}
.instructor-banner {
	background-image: url(/theme/images/banner-be-trainer.webp);
}
/* Slides after the first one carry their headline in a paragraph; it looks like the first slide's heading. */
#theme-main-banner .slide-headline {
	font-family: "Montserrat", sans-serif;
	font-size: 60px;
	font-weight: 800;
	color: #fff;
	line-height: 70px;
	margin: 10px 0 30px 0;
}
@media (max-width: 991px) {
	#theme-main-banner .slide-headline {
		font-size: 45px;
	}
}
@media (max-width: 767px) {
	#theme-main-banner .slide-headline {
		font-size: 38px;
		line-height: 50px;
	}
}
.registration-banner .registration-form form h6 label {
	font: inherit;
	margin: 0;
}
.registration-banner .registration-form form h6 {
	margin-bottom: 2px;
}
/* The fields are a line under the text: focus thickens and colours the line instead of drawing a box
   (a box around a field of this height would run into the label above it). */
.registration-banner .registration-form form .form-wrapper input[type="text"],
.registration-banner .registration-form form .form-wrapper input[type="email"] {
	height: 38px;
	padding: 0 2px;
	color: rgba(0, 0, 0, 0.8);
	outline: none;
}
.registration-banner .registration-form form .form-wrapper input[type="text"]:focus,
.registration-banner .registration-form form .form-wrapper input[type="email"]:focus {
	border-bottom: 2px solid #f9423a;
}
/* A field left empty: the theme draws a pink box (its ".error" rule); here it stays a line, in red. */
.registration-banner .registration-form form .form-wrapper input.error {
	border: 0 !important;
	border-bottom: 2px solid #f9423a !important;
	background-color: transparent !important;
}
.registration-banner .text-wrapper .home-text {
	max-width: 600px;
	margin-top: 25px;
}
.registration-banner .text-wrapper .home-text p {
	margin-bottom: 18px;
	font-size: 18px;
	line-height: 30px;
	color: rgba(255, 255, 255, 0.85);
}
.registration-banner .text-wrapper .home-text a {
	color: #fff;
	text-decoration: underline;
	font-family: inherit;
	display: inline;
}
.registration-banner .registration-form form label.consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0 0 20px;
	font-weight: 400;
	font-size: 13px;
	line-height: 20px;
	cursor: pointer;
}
.registration-banner .registration-form form label.consent input {
	width: auto;
	height: auto;
	margin: 4px 0 0;
	border: 0;
	flex: none;
}
.registration-banner .registration-form .form-messages {
	margin-bottom: 15px;
}
.our-course-styleTwo .single-course .image img {
	width: 100%;
	aspect-ratio: 370 / 245;
	object-fit: cover;
}
.our-blog .single-blog .image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center top;
}
.testimonial-styletwo .partner-logo .single-logo img {
	margin: 0 auto;
}

/* ---------- Training cards ---------- */
.popular-course .single-course .image-box img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.popular-course .single-course .text ul li span {
	font-family: "Roboto", sans-serif;
	color: rgba(0, 0, 0, 0.62);
	font-weight: 700;
}
.popular-course .single-course .text .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.card-grid {
	display: flex;
	flex-wrap: wrap;
}
.card-grid::before,
.card-grid::after {
	display: none;
}
.category-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	margin: 50px 0 20px;
}
.category-filter > a.btn-group {
	display: block;
	float: none;
	flex: 1 1 150px;
	max-width: 220px;
	width: auto;
	color: rgba(0, 0, 0, 0.6);
	font-weight: 600;
	line-height: 1.35;
}
.category-filter > a.btn-group:hover,
.category-filter > a.btn-group.active {
	color: #f9423a;
}
.category-intro {
	max-width: 820px;
	margin: 0 auto 30px;
	text-align: center;
	font-size: 16px;
}

/* ---------- Training page ---------- */
.content-text p,
.content-text li {
	white-space: pre-line;
}
.content-text a {
	display: inline;
	font-family: inherit;
	color: #f9423a;
	text-decoration: underline;
	overflow-wrap: anywhere;
}
.content-text img {
	margin: 10px 0 20px;
	border-radius: 3px;
}
.content-text blockquote {
	font-size: 17px;
	border-left-color: #f9423a;
}
.content-text .lead-text,
.lead-text {
	font-size: 18px;
	line-height: 30px;
	color: rgba(0, 0, 0, 0.8);
}
.course-details .details-wrapper .course-info a {
	color: inherit;
}
.course-sidebar .sidebar-course-information .info-list.facts li {
	overflow-wrap: break-word;
}
.share-links .share-label {
	margin-right: 6px;
	font-weight: 700;
}
.course-sidebar .sidebar-course-information .info-list li.share-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
	margin: 12px 0 22px;
}
.share-links .share-label {
	margin-right: 4px;
}
/* Each network in its own colour; a little lighter under the pointer. */
.share-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #6b6b6b;
	color: #fff;
	font-size: 16px;
	transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}
.share-links a:hover,
.share-links a:focus-visible {
	color: #fff;
	opacity: 0.85;
	transform: translateY(-2px);
}
.share-links a.share-linkedin {
	background: #0a66c2;
}
.share-links a.share-x {
	background: #000;
}
.share-links a.share-facebook {
	background: #1877f2;
}
.share-links a.share-whatsapp {
	background: #25d366;
}
.share-links a.share-email {
	background: #6b6b6b;
}
.course-sidebar .sidebar-course-information a.take-course.buy-button {
	background: #ff7417;
}
.booking {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #ececec;
	scroll-margin-top: 110px;
}
.booking h2 {
	margin-bottom: 20px;
	font-weight: 700;
}
.booking .tidycal-embed {
	min-height: 420px;
}
.booking-link {
	margin-top: 10px;
	font-size: 14px;
}
.booking-link a {
	color: #f9423a;
	font-weight: 600;
	margin-right: 8px;
}
.sidebar-categories .panel-title a {
	display: block;
}

/* ---------- Forms ---------- */
.form-trap {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.human-check:not(:empty) {
	margin: 5px 0 20px;
}
/* The answer to a submission: the script puts one Bootstrap "alert" box into this slot. */
.form-messages:empty {
	display: none;
}
.form-messages {
	margin: 0 0 20px;
}
.form-messages .alert {
	margin: 0;
	padding: 14px 18px;
	border-radius: 3px;
	font-size: 15px;
	line-height: 22px;
	text-align: left;
}
.form-messages .alert strong {
	display: block;
}
.form-messages .alert br {
	display: none;
}
form[data-form] .error,
form[data-form] input.error,
form[data-form] textarea.error,
form[data-form] select.error {
	border-color: #f9423a !important;
}
form[data-form] label.consent.error {
	border: 0 !important;
	background-color: transparent !important;
}
form[data-form] label.consent.error span {
	color: #c8322b;
}
form[data-form] button[disabled] {
	opacity: 0.6;
	cursor: wait;
}
/* The offer form's look (theme rules for #application-form) for every form of this kind. */
.site-form .row {
	margin: 0 0 25px 0;
}
.site-form .row select,
.site-form .row textarea,
.site-form .row input {
	border: 1px solid #ccc;
	padding: 0 15px;
	border-radius: 5px;
	outline: none;
	box-shadow: none;
	height: 50px;
}
.site-form .row textarea {
	height: auto;
	min-height: 140px;
	padding: 12px 15px;
}
.site-form .row select:focus,
.site-form .row textarea:focus,
.site-form .row input:focus {
	border-color: #f9423a;
}
.site-form .row input[type="submit"] {
	font-family: "Montserrat", sans-serif;
	width: 155px;
	color: #fff;
	border-radius: 3px;
	line-height: 45px;
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	border: none;
}
.site-form .required {
	color: #f9423a;
	margin-left: 4px;
}
.site-form label.consent,
#application-form label.consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 0;
	font-weight: 400;
	line-height: 22px;
	cursor: pointer;
}
.site-form .row label.consent input,
#application-form .row label.consent input {
	width: 16px;
	height: 16px;
	margin: 3px 0 0;
	padding: 0;
	flex: none;
}
@media (max-width: 767px) {
	.site-form .form-control-label {
		text-align: left;
		margin-bottom: 6px;
	}
}
.form-control-label {
	font-weight: 600;
	color: #000;
}

/* ---------- Blog ---------- */
.post-meta {
	margin: 0 0 20px;
	font-size: 14px;
	color: rgba(0, 0, 0, 0.55);
}
.post-meta > * {
	display: inline-block;
	margin-right: 18px;
	color: inherit;
	font-family: inherit;
}
.post-meta a:hover {
	color: #f9423a;
}
.post-meta i {
	margin-right: 4px;
}
.gallery-title {
	font-size: 24px;
	margin: 30px 0 20px;
}
.photo-gallery > div {
	margin-bottom: 20px;
}
.photo-gallery a {
	display: block;
	overflow: hidden;
	border-radius: 3px;
}
.photo-gallery img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease-in-out;
}
.photo-gallery a:hover img {
	transform: scale(1.06);
}
.post-tags a {
	display: inline;
	font-family: inherit;
	color: #f9423a;
}
.sidebar-archive li a {
	display: block;
}
.theme-pagination span.deactive,
.theme-pagination li span {
	opacity: 0.45;
}

/* ---------- About, references, trainers ---------- */
.content-text .our-instructor ul,
.content-text .our-instructor ul li {
	margin: 0;
}
.content-text .our-instructor ul li::before {
	display: none;
}
.content-text .our-instructor h4,
.content-text .our-instructor h6 {
	text-align: center;
}
.content-text .our-instructor a {
	text-decoration: none;
}
.content-text > h2:not(:first-child) {
	margin-top: 40px;
}
.our-instructor .single-member ul.ourteam {
	margin-top: 5px;
}
.our-instructor .single-member ul.ourteam li {
	display: inline-block;
	margin: 0 3px;
}
.content-text .our-instructor .single-member ul.ourteam li a,
.our-instructor .single-member ul.ourteam li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid #0a66c2;
	border-radius: 50%;
	color: #0a66c2;
	font-size: 17px;
	text-decoration: none;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.content-text .our-instructor .single-member ul.ourteam li a:hover,
.our-instructor .single-member ul.ourteam li a:hover {
	background: #0a66c2;
	color: #fff;
}
.our-instructor .single-member .image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}
.about-text .our-instructor .single-member .image img {
	aspect-ratio: 3 / 4;
}
.reference-grid {
	display: flex;
	flex-wrap: wrap;
}
.reference-grid::before,
.reference-grid::after {
	display: none;
}
.reference-grid img.img-fluid {
	max-width: 100%;
	max-height: 150px;
	width: auto;
	margin: 0 auto;
	object-fit: contain;
}
.contact-map {
	background: #f2f2f2;
}
.contact-map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}
.contact-us-page .contact-us-form form input[type="tel"] {
	width: 100%;
	height: 50px;
	padding: 0 15px;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
}
.contact-us-page .contact-us-form form input[type="tel"]:focus {
	border-color: #f9423a;
}
.contact-us-page .contactUs-address .single-address span a {
	font-family: inherit;
}

/* ---------- Search and "not found" ---------- */
.search-form {
	display: flex;
	gap: 10px;
	max-width: 640px;
	margin: 0 0 30px;
}
.search-form input {
	flex: 1;
	min-width: 0;
	height: 50px;
	padding: 0 15px;
	border: 1px solid #e3e3e3;
	border-radius: 3px;
}
.search-form button {
	height: 50px;
	padding: 0 28px;
	border-radius: 3px;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	text-transform: uppercase;
}
.search-heading {
	font-size: 24px;
	margin-bottom: 20px;
}
.search-page .wrapper {
	padding-bottom: 60px;
}
.search-note {
	font-size: 16px;
	margin: 10px 0 40px;
}
.search-results li {
	padding: 18px 0;
	border-bottom: 1px solid #ececec;
}
.search-results h3 {
	font-size: 20px;
	font-weight: 700;
	margin: 4px 0 6px;
}
.search-results h3 a {
	color: #000;
}
.search-results h3 a:hover {
	color: #f9423a;
}
.search-kind {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #f9423a;
	font-weight: 700;
}
.not-found .wrapper {
	padding: 30px 0 60px;
}
.not-found p.not-found-code {
	font-family: "Montserrat", sans-serif;
	font-size: 120px;
	font-weight: 800;
	line-height: 1;
	color: #f9423a;
	margin-bottom: 20px;
}
.not-found p {
	font-size: 17px;
}
.not-found-links {
	margin-top: 25px;
}
.not-found-links a {
	margin: 5px;
	padding: 0 24px;
	line-height: 44px;
	border-radius: 3px;
	border: 1px solid #e3e3e3;
	color: #000;
	font-weight: 600;
}
.not-found-links a.p-bg-color {
	border-color: #f9423a;
	color: #fff;
}

/* ---------- Footer and cookie popup ---------- */
footer .bottom-footer p a {
	color: inherit;
}
footer .bottom-footer p a:hover {
	color: #f9423a;
}
/* Small, in the bottom left corner (the "back to top" button is on the right). */
.cookie-popup {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 99990;
	width: 330px;
	max-width: calc(100% - 32px);
	padding: 16px 18px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.cookie-popup[hidden] {
	display: none;
}
.cookie-popup p {
	font-size: 14px;
	line-height: 22px;
	margin-bottom: 12px;
}
.cookie-popup p a {
	display: inline;
	font-family: inherit;
	color: #f9423a;
	text-decoration: underline;
}
.cookie-popup-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
@media (max-width: 767px) {
	/* Above the fixed button bar of the training pages. */
	body:has(.mobile-cta) .cookie-popup {
		bottom: 84px;
	}
}
.cookie-popup-actions button {
	padding: 0 20px;
	line-height: 38px;
	border-radius: 3px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
}
.cookie-decline {
	background: #f2f2f2;
	color: #333;
}
.cookie-accept {
	background: #f9423a;
	color: #fff;
}

/* ---------- Readable greys ----------
 * The theme's light grey texts fell short of the 4.5:1 contrast that small text needs (WCAG AA).
 * They stay grey, a shade darker. The brand red and orange are left as they are. */
.theme-title h6,
.popular-course .single-course .text .name h6 {
	color: #6b6b6b;
}
.theme-sidebar .sidebar-keyword ul li a,
.theme-sidebar .sidebar-recent-news li span,
.course-details .details-wrapper .course-info div p,
.course-sidebar .sidebar-instructor-info .wrapper .name span,
.our-instructor-profile .title span,
.post-meta {
	color: #6b6b6b;
}
.contact-us-page .contactUs-address .single-address span {
	color: #666;
}
.contact-us-page .contactUs-address .single-address span a {
	color: #2f6fa8;
}
/* Red on the dark footer: a lighter red reads better there. */
footer .footer-logo p a {
	color: #ff6f66;
}

/* Links of the bottom line: tall enough to tap on a phone. */
footer .bottom-footer p a {
	line-height: 28px;
}

/* Small icon links (a trainer's social links): big enough to tap. */
.course-sidebar .sidebar-instructor-info .wrapper .name ul li a {
	min-width: 24px;
	min-height: 24px;
	line-height: 24px;
	text-align: center;
}

/* ---------- Training page on phones: the main button stays at the bottom of the screen ---------- */
.mobile-cta {
	display: none;
}
@media (max-width: 767px) {
	.mobile-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		display: flex;
		align-items: center;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
	}
	.mobile-cta-price {
		font-family: "Montserrat", sans-serif;
		font-size: 20px;
		color: #000;
		white-space: nowrap;
	}
	.mobile-cta a {
		flex: 1;
		padding: 0 12px;
		line-height: 46px;
		border-radius: 3px;
		color: #fff;
		text-align: center;
		text-transform: uppercase;
		font-weight: 600;
		font-size: 14px;
	}
	.mobile-cta a.buy-button {
		background: #ff7417;
	}
	body:has(.mobile-cta) .main-page-wrapper {
		padding-bottom: 72px;
	}
	body:has(.mobile-cta) .scroll-top {
		bottom: 84px;
	}
}
