/* JMD theme additions: header menu, homepage hero over the MasterSlider (front-page.php) and mobile header bar. */

/* Header menu */
.main-navigation ul li a {
	font-family: "Work Sans", sans-serif;
}

@media screen and (min-width: 901px) {
	#primary-menu > li > a,
	.main-navigation #primary-menu > li:last-child > a,
	.main-navigation #primary-menu > li.menu-item-type-custom > a {
		padding: 10px 17px 5px !important;
		font: 400 12px/1.2 "Work Sans", sans-serif;
		letter-spacing: 2.5px;
		text-shadow: none;
	}
	#primary-menu .sub-menu a,
	#primary-menu .sub-menu li:last-child a {
		padding: 10px 18px !important;
		font: 400 13px/1.4 "Work Sans", sans-serif !important;
		font-weight: 400 !important;
		letter-spacing: 0.4px;
		text-transform: none;
		text-shadow: none;
	}
	#primary-menu > li.menu-item-has-children > a:after {
		display: inline-block;
		margin: 0 0 0 6px;
		left: 0;
		font-size: 10px;
		line-height: 1;
		vertical-align: middle;
	}

	/* Logo + menu on the left, cart and Shop Now on the right. */
	#grid-top.grid-top {
		align-items: center;
		justify-content: flex-start;
		gap: 28px;
	}
	#grid-top .header-right {
		flex: 0 0 auto;
	}
	#grid-top .menu-and-detiles {
		width: auto;
		max-width: none;
		flex: 0 1 auto;
		justify-content: flex-start;
		text-align: left;
	}
	#grid-top .menu-top-container {
		padding-right: 0;
	}
	#grid-top .menu-top-container::after,
	#grid-top #s-button-menu,
	#grid-top .menu-and-detiles > .menu-toggle {
		display: none;
	}
	#grid-top div.panier {
		margin-left: auto;
		margin-top: 0;
		align-self: center;
	}
	#grid-top div.panier .eco-cart-icon {
		margin-top: 0;
		color: #fff;
	}
}

@media screen and (max-width: 900px) {
	#primary-menu > li > a,
	.main-navigation #primary-menu > li:last-child > a,
	.main-navigation #primary-menu > li.menu-item-type-custom > a {
		padding: 12px 18px !important;
		font: 400 14px/1.3 "Work Sans", sans-serif !important;
		letter-spacing: 1.5px;
		text-shadow: none;
	}
	#primary-menu .sub-menu a,
	#primary-menu .sub-menu li:last-child a,
	.main-navigation ul ul li a {
		padding: 8px 18px 8px 28px !important;
		font: 400 13px/1.4 "Work Sans", sans-serif !important;
		font-weight: 400 !important;
		letter-spacing: 0.3px;
		text-transform: none;
		text-shadow: none;
	}
	#primary-menu > li.menu-item-has-children > a:after {
		margin: 0 0 0 6px;
		left: 0;
		font-size: 10px;
	}
}

/* Homepage hero */
.home .hp-slider {
	position: relative;
}

/* Dark filter over the slider images, stronger on the left behind the text. */
.home .hp-slider::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 4;
	background:
		linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, 0) 25%),
		linear-gradient(90deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .42) 50%, rgba(0, 0, 0, .3) 100%);
	pointer-events: none;
}
.home .hp-slider .ms-slide .ms-slide-bgcont > img {
	filter: saturate(.85);
}

.jmd-hero {
	position: absolute;
	top: 50%;
	left: 6%;
	z-index: 5;
	width: 40%;
	max-width: 620px;
	transform: translateY(-40%);
	color: #fff;
	font-family: "Work Sans", sans-serif;
	text-align: left;
}

.jmd-hero .jmd-hero__eyebrow {
	margin: 0 0 18px;
	color: #fff;
	font: 400 12px/1.4 "Work Sans", sans-serif;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.jmd-hero .jmd-hero__title {
	clear: none;
	margin: 0 0 30px;
	color: #fff;
	font: 300 64px/1.12 "Work Sans", sans-serif;
	letter-spacing: -2px;
}

.jmd-hero .jmd-hero__text {
	margin: 0 0 42px;
	color: #fff;
	font: 400 16px/1.65 "Work Sans", sans-serif;
	letter-spacing: .2px;
}

.jmd-hero .jmd-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 46px;
	background: #fff;
	color: #111;
	font: 500 12px/1 "Work Sans", sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	transition: background-color .3s ease, color .3s ease;
}

.jmd-hero .jmd-hero__cta span {
	font-size: 16px;
	transition: transform .3s ease;
}

.jmd-hero .jmd-hero__cta:hover,
.jmd-hero .jmd-hero__cta:focus {
	background: #b29976;
	color: #fff;
}

.jmd-hero .jmd-hero__cta:hover span,
.jmd-hero .jmd-hero__cta:focus span {
	transform: translateX(4px);
}

@media screen and (max-width: 1440px) {
	.jmd-hero .jmd-hero__title { font-size: 56px; }
}

@media screen and (max-width: 1280px) {
	.jmd-hero { width: 48%; }
	.jmd-hero .jmd-hero__title { margin-bottom: 22px; font-size: 48px; }
	.jmd-hero .jmd-hero__text { margin-bottom: 30px; font-size: 16px; }
}

@media screen and (max-width: 1024px) {
	/* The slider has a 420px minimum height; MasterSlider would stretch the images to fit it. */
	.home .hp-slider .ms-slide .ms-slide-bgcont {
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
	}
	.home .hp-slider .ms-slide .ms-slide-bgcont > img {
		position: absolute;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		max-width: none;
		height: 100% !important;
		margin: 0 !important;
		object-fit: cover;
		object-position: center;
	}

	.jmd-hero { width: 55%; }
	.jmd-hero .jmd-hero__eyebrow { margin-bottom: 14px; font-size: 12px; }
	.jmd-hero .jmd-hero__title { margin-bottom: 16px; font-size: 40px; }
	.jmd-hero .jmd-hero__text { margin-bottom: 22px; font-size: 15px; }
	.jmd-hero .jmd-hero__cta { padding: 14px 32px; }
}

@media screen and (max-width: 800px) {
	.jmd-hero { width: 70%; transform: translateY(-50%); }
	.jmd-hero .jmd-hero__eyebrow { margin-bottom: 12px; font-size: 11px; letter-spacing: 2px; }
	.jmd-hero .jmd-hero__title { margin-bottom: 14px; font-size: 34px; }
	.jmd-hero .jmd-hero__text { margin-bottom: 20px; font-size: 14px; line-height: 1.5; }
	.jmd-hero .jmd-hero__cta { padding: 12px 26px; font-size: 12px; }
}

@media screen and (max-width: 600px) {
	.jmd-hero { left: 6%; width: 88%; }
	.jmd-hero .jmd-hero__eyebrow { margin-bottom: 10px; font-size: 10px; letter-spacing: 1.5px; }
	.jmd-hero .jmd-hero__title { margin-bottom: 12px; font-size: 28px; letter-spacing: 0; }
	.jmd-hero .jmd-hero__text { margin-bottom: 18px; font-size: 13px; }
	.jmd-hero .jmd-hero__cta { gap: 8px; padding: 11px 22px; font-size: 11px; letter-spacing: 1px; }
	.jmd-hero .jmd-hero__cta span { font-size: 14px; }
}

@media screen and (max-width: 380px) {
	.jmd-hero .jmd-hero__title { font-size: 24px; }
	.jmd-hero .jmd-hero__text { font-size: 12px; }
}

/* "Shop Now" button next to the cart icon in the header. */
.jmd-shop-now {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	align-self: center;
	gap: 8px;
	margin: 0 0 0 22px;
	padding: 12px 25px;
	background: #fff;
	color: #111;
	font: 500 16px/1 "Work Sans", sans-serif;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color .3s ease, color .3s ease;
}
.jmd-shop-now span {
	transition: transform .3s ease;
}
.jmd-shop-now:hover,
.jmd-shop-now:focus {
	background: #b29976;
	color: #fff;
}
.jmd-shop-now:hover span,
.jmd-shop-now:focus span {
	transform: translateX(4px);
}
/* Scrolled state: desktop only, the mobile header below never changes on scroll. */
@media screen and (min-width: 901px) {
	.site-header.is-scrolled,
	body.jmd-header-sticky .site-header,
	body.single.single-post .site-header.is-scrolled,
	body.page-child .site-header.is-scrolled {
		position: fixed !important;
		left: 0;
		right: 0;
		width: 100%;
		background: #F8F8F8 !important;
		padding: 6px 8% !important;
		box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
		z-index: 9999 !important;
	}
	.site-header.is-scrolled #menu-top,
	#menu-top.element-is-sticky,
	header #menu-top.element-is-sticky {
		background: transparent !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		box-shadow: none;
		z-index: 9999 !important;
	}
	.site-header.is-scrolled .custom-logo-link,
	#menu-top.element-is-sticky .custom-logo-link {
		width: 52px !important;
		height: 62px !important;
		background-size: contain !important;
		background-repeat: no-repeat;
		background-position: left center;
	}
	.site-header.is-scrolled #grid-top.grid-top,
	#menu-top.element-is-sticky #grid-top.grid-top {
		gap: 18px;
	}
	.site-header.is-scrolled #primary-menu > li > a,
	#menu-top.element-is-sticky #primary-menu > li > a {
		padding-top: 6px !important;
		padding-bottom: 4px !important;
		color: #000;
	}
	.site-header.is-scrolled #grid-top div.panier .eco-cart-icon,
	.site-header.is-scrolled .eco-cart-icon,
	body.jmd-header-sticky .site-header .eco-cart-icon,
	#menu-top.element-is-sticky .eco-cart-icon {
		color: #000 !important;
	}
	.site-header.is-scrolled .eco-cart-icon svg,
	.site-header.is-scrolled .eco-cart-icon svg path,
	.site-header.is-scrolled .eco-cart-icon svg circle,
	body.jmd-header-sticky .site-header .eco-cart-icon svg,
	#menu-top.element-is-sticky .eco-cart-icon svg {
		color: #000 !important;
		stroke: #000 !important;
		fill: none;
	}
	.site-header.is-scrolled .jmd-shop-now,
	#menu-top.element-is-sticky .jmd-shop-now {
		padding: 8px 16px;
		font-size: 12px;
		background: #393939;
		color: #fff;
	}
	.site-header.is-scrolled .jmd-shop-now:hover,
	#menu-top.element-is-sticky .jmd-shop-now:hover {
		background: #b29976;
	}
}

/* Mobile/tablet header: always fixed with one single look (no scrolled state, see jmd-sticky-header.js,
   which also adds the header height as padding-top on body). */
@media screen and (max-width: 900px) {
	body .site-header,
	body.page-child .site-header {
		position: fixed !important;
		top: 0;
		left: 0;
		right: 0;
		width: 100%;
		padding: 6px 4% !important;
		background: #F8F8F8 !important;
		box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
		z-index: 9999 !important;
	}
	.site-header #site-navigation {
		max-height: calc(100vh - 90px);
		overflow-y: auto;
	}
	/* theme-style.css styles #menu-top.element-is-sticky (brown bar, padding, shadow): neutralised so nothing changes on scroll. */
	#menu-top,
	#menu-top.element-is-sticky,
	header #menu-top.element-is-sticky {
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	.site-header .menu-top-container::after,
	#menu-top.element-is-sticky .menu-top-container::after {
		filter: brightness(0);
	}
	.site-header .users-custom a {
		color: #000 !important;
	}
	.site-header .users-custom .xoo-el-login-tgr::before {
		background: #000 !important;
	}
	.site-header .mobile-cont {
		padding: 6px 0;
		background: #F8F8F8;
	}
	.site-header .mobile-logo .custom-logo-link {
		display: block;
		width: 46px !important;
		height: 55px !important;
		margin: 0 auto;
		background: url(./images/logo-scroll.png) no-repeat center / contain !important;
	}
	.site-header .mobile-logo .custom-logo-link img {
		display: none !important;
	}
	.site-header #primary-menu li a,
	.site-header #primary-menu li li a {
		color: #000 !important;
	}
	.site-header .main-navigation ul li a {
		border-bottom-color: #e3e3e3;
	}
	.site-header #grid-top div.panier .eco-cart-icon,
	.site-header .eco-cart-icon {
		color: #000 !important;
	}
	.site-header .eco-cart-icon svg,
	.site-header .eco-cart-icon svg path,
	.site-header .eco-cart-icon svg circle {
		color: #000 !important;
		stroke: #000 !important;
	}
	.site-header .jmd-shop-now {
		background: #393939;
		color: #fff;
	}
}

/* Product sub-pages (page-child) and Gallery (page-id-462) on desktop: theme-style.css gives product pages a flat
   light header with no side padding and black links, and the gallery has a transparent header over a white page,
   which both clash with the white logo, cart and Shop Now used everywhere else.
   These pages have no hero image, so the header gets a dark bar instead. */
@media screen and (min-width: 901px) {
	body.page-child .site-header:not(.is-scrolled),
	body.page-id-462 .site-header:not(.is-scrolled) {
		background: #4a4a4a;
		position: absolute;
		padding: 2.5% 8%;
	}
	/* Header height = 2 x 2.5% padding + 96px logo, plus spacing. */
	body.page-child #primary main article,
	body.page-id-462 #primary main article {
		margin-top: calc(5vw + 136px);
	}
	body.page-child .site-header:not(.is-scrolled) #primary-menu > li > a,
	body.page-id-462 .site-header:not(.is-scrolled) #primary-menu > li > a {
		color: #fff;
	}
}

@media screen and (max-width: 1280px) {
	.jmd-shop-now { margin-left: 16px; padding: 10px 18px; font-size: 13px; }
}

@media screen and (max-width: 800px) {
	.jmd-shop-now { align-self: center; margin: 0 0 0 15px; padding: 8px 12px; font-size: 11px; }
}

/* Homepage "Our Heritage" section */
.home .welcome-block.jmd-heritage {
	width: 88%;
	max-width: 1400px;
	margin: 90px auto 70px;
	position: relative;
}
.home .welcome-block.jmd-heritage .wp-block-group__inner-container {
	max-width: none;
	margin: 0;
	padding: 0;
}
.jmd-heritage__grid {
	display: flex;
	align-items: center;
	gap: 70px;
}
.jmd-heritage__copy {
	flex: 0 1 42%;
	max-width: 520px;
}
.home .welcome-block.jmd-heritage .jmd-heritage__eyebrow {
	margin: 0 0 18px;
	width: auto;
	color: #2b2b33;
	font: 500 12px/1.2 "Work Sans", sans-serif;
	letter-spacing: 2.5px;
	text-transform: uppercase;
}
.home .welcome-block.jmd-heritage .jmd-heritage__title {
	clear: none;
	margin: 0 0 28px;
	color: #1c1c28;
	font: 300 48px/1.15 "Work Sans", sans-serif;
}
.home .welcome-block.jmd-heritage .jmd-heritage__copy p {
	width: auto;
	margin: 0 0 18px;
	color: #6a6a73;
	font: 400 15px/1.7 "Work Sans", sans-serif;
}
.jmd-heritage__stats {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-top: 36px;
}
.jmd-heritage__stat {
	padding-right: 32px;
}
.jmd-heritage__stat + .jmd-heritage__stat {
	padding-right: 0;
	padding-left: 32px;
	border-left: 1px solid #d5d5d8;
}
.home .welcome-block.jmd-heritage .jmd-heritage__stat strong {
	display: block;
	color: #1c1c28;
	font: 400 28px/1.1 "Work Sans", sans-serif;
}
.jmd-heritage__stat span {
	display: block;
	margin-top: 6px;
	color: #6a6a73;
	font: 400 11px/1.3 "Work Sans", sans-serif;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.jmd-heritage__media {
	position: relative;
	flex: 1 1 58%;
	padding: 0 0 32px 32px;
}
.jmd-heritage__media::before {
	content: "";
	position: absolute;
	top: 36px;
	right: 36px;
	bottom: 0;
	left: 0;
	border: 1px solid #d0d0d4;
	pointer-events: none;
}
.home .welcome-block.jmd-heritage .jmd-heritage__media figure,
.home .welcome-block.jmd-heritage .jmd-heritage__media figure.ima {
	position: relative;
	z-index: 1;
	margin: 0;
	overflow: hidden;
}
.home .welcome-block.jmd-heritage .jmd-heritage__media figure::before {
	display: none !important;
	content: none !important;
}
.home .welcome-block.jmd-heritage .jmd-heritage__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	transform: none;
}

@media screen and (max-width: 1280px) {
	.home .welcome-block.jmd-heritage .jmd-heritage__title { font-size: 40px; }
	.jmd-heritage__grid { gap: 48px; }
}

@media screen and (max-width: 1024px) {
	.home .welcome-block.jmd-heritage { width: 90%; margin: 60px auto 50px; }
	.jmd-heritage__grid { flex-direction: column; align-items: stretch; gap: 40px; }
	.jmd-heritage__copy { flex: none; max-width: none; }
	.jmd-heritage__media { flex: none; }
	.home .welcome-block.jmd-heritage .jmd-heritage__title { font-size: 36px; }
}

@media screen and (max-width: 600px) {
	.home .welcome-block.jmd-heritage { width: 90%; margin: 40px auto 30px; }
	.home .welcome-block.jmd-heritage .jmd-heritage__title { font-size: 28px; }
	.home .welcome-block.jmd-heritage .jmd-heritage__copy p { font-size: 14px; }
	.jmd-heritage__media { padding: 0 0 20px 16px; }
	.home .welcome-block.jmd-heritage .jmd-heritage__stat strong { font-size: 22px; }
	.jmd-heritage__stat { padding-right: 20px; }
	.jmd-heritage__stat + .jmd-heritage__stat { padding-left: 20px; }
}

/* Homepage "Our Collections" banner */
.jmd-collections {
	background: #0a0a0a;
	padding: 80px 0 90px;
	color: #fff;
}
.jmd-collections__inner {
	width: 88%;
	max-width: 1400px;
	margin: 0 auto;
}
.jmd-collections__eyebrow {
	margin: 0 0 14px;
	color: rgba(255, 255, 255, .7);
	font: 500 12px/1.2 "Work Sans", sans-serif;
	letter-spacing: 2.5px;
	text-transform: uppercase;
}
.jmd-collections__title {
	clear: none;
	margin: 0 0 36px;
	color: #fff;
	font: 300 52px/1.15 "Work Sans", sans-serif;
}
.jmd-collections__banner {
	position: relative;
	overflow: hidden;
}
.jmd-collections__banner img {
	display: block;
	width: 100%;
	height: 460px;
	object-fit: cover;
	object-position: center;
}
.jmd-collections__card {
	position: absolute;
	left: 40px;
	bottom: 40px;
	z-index: 1;
	width: min(420px, calc(100% - 80px));
	padding: 28px 32px;
	border-radius: 6px;
	background: rgba(40, 40, 44, .72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.jmd-collections__card h3 {
	margin: 0 0 10px;
	color: #fff;
	font: 500 18px/1.3 "Work Sans", sans-serif;
}
.jmd-collections__card p {
	margin: 0 0 16px;
	color: rgba(255, 255, 255, .78);
	font: 400 14px/1.6 "Work Sans", sans-serif;
}
.jmd-collections__card a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font: 400 14px/1.3 "Work Sans", sans-serif;
	text-decoration: none;
}
.jmd-collections__card a span {
	transition: transform .3s ease;
}
.jmd-collections__card a:hover,
.jmd-collections__card a:focus {
	color: #b29976;
}
.jmd-collections__card a:hover span {
	transform: translateX(4px);
}

@media screen and (max-width: 1280px) {
	.jmd-collections__title { font-size: 42px; }
	.jmd-collections__banner img { height: 400px; }
}

@media screen and (max-width: 800px) {
	.jmd-collections { padding: 50px 0 60px; }
	.jmd-collections__inner { width: 90%; }
	.jmd-collections__title { font-size: 32px; margin-bottom: 24px; }
	.jmd-collections__banner img { height: 320px; }
	.jmd-collections__card {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
		padding: 20px 22px;
	}
}

@media screen and (max-width: 600px) {
	.jmd-collections__title { font-size: 26px; }
	.jmd-collections__banner img { height: 280px; }
	.jmd-collections__card h3 { font-size: 16px; }
	.jmd-collections__card p { font-size: 13px; }
}

/* Shared homepage section titles */
.jmd-section-eyebrow {
	margin: 0 0 10px;
	color: #6a6a73;
	font: 500 12px/1.2 "Work Sans", sans-serif;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	text-align: center;
}
.jmd-section-title {
	clear: none;
	margin: 0 0 48px;
	color: #1c1c28;
	font: 300 48px/1.15 "Work Sans", sans-serif;
	text-align: center;
}

/* Category cards */
.cat-slider {
	width: 88%;
	max-width: 1400px;
	margin: 80px auto 50px;
}
.cat-slider .jmd-section-title { text-align: left; }
.cat-slider .jmd-section-eyebrow { text-align: left; }
/*.cat-slider .category-swiper {
	max-width: none !important;
	margin: 0 !important;
	overflow: hidden !important;
}*/
.cat-slider .category-swiper{
	max-width:95% !important;
	margin: auto !important;
}
.cat-slider .wpb-woo-cat-item {
	position: relative;
	overflow: hidden;
	border-radius: 18px;
}
/*.cat-slider .wpb-woo-cat-item-image,
.cat-slider .wpb-woo-cat-item-image a,
.cat-slider .wpb-woo-cat-item-image img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
	margin: 0;
}*/
.cat-slider .wpb-woo-cat-item-content {
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 18px;
	z-index: 2;
	padding: 16px 20px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .15);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	text-align: left;
}
.cat-slider .wpb-woo-cat-item-content h3,
.cat-slider .wpb-woo-cat-item-content h3 a {
	margin: 0;
	color: #fff !important;
	font: 500 20px/1.3 "Work Sans", sans-serif !important;
}
.cat-slider .wpb-woo-cat-item-content .wpb-wcs-description {
	display: block;
	margin: 8px 0 13px;
	color: rgba(255, 255, 255, .85) !important;
	font: 400 15px/1.5 "Work Sans", sans-serif !important;
}
.cat-slider .wpb-woo-cat-item-content .btn {
	display: inline-block !important;
	margin: 8px 0 0;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	color: #fff !important;
	font: 400 13px/1 "Work Sans", sans-serif !important;
}
.cat-slider .wpb-woo-cat-item-content .btn::after {
	content: " \2192";
	font-size: 14px;
	font-weight: 400;
	color: #fff;
}

/* Logo carousel — no round frames */
.home .bottom-block-partners {
	width: 88%;
	max-width: 1400px;
	margin: 20px auto 80px;
	text-align: center;
}
.home .bottom-block-partners .jmd-section-eyebrow {
	margin-bottom: 28px;
}
.home .wpwax-lsu-ultimate.wpwax-lsu-carousel.wpwax-lsu-carousel-theme-3 .wpwax-lsu-item .wpwax-lsu-item-inner {
	width: auto;
	height: auto;
	min-height: 70px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.home .wpwax-lsu-ultimate .wpwax-lsu-item.wpwax-lsu-item-bordered .wpwax-lsu-item-inner {
	border: 0;
}
.home .wpwax-lsu-ultimate.wpwax-lsu-hover-active .wpwax-lsu-item img {
	filter: none;
	max-height: 52px;
	width: auto;
	margin: 0 auto;
}
.home .wpwax-lsu-carousel-nav .wpwax-lsu-carousel-nav__btn {
	width: 36px;
	height: 36px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
}
.home .wpwax-lsu-carousel-nav .wpwax-lsu-carousel-nav__btn:hover {
	background: #1c1c28;
	border-color: #1c1c28;
}

/* Footer */
footer.site-footer.jmd-footer {
	margin: 0;
	padding: 0;
	background: #0c0c0e;
	color: #c8c8cc;
	text-align: left !important;
	overflow: hidden;
}
.jmd-footer__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 40px;
	width: 88%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 70px 0 50px;
}
.jmd-footer__brand {
	flex: 0 1 340px;
	width: auto;
	min-width: 0;
	text-align: left;
}
.jmd-footer .jmd-footer__brand .custom-logo-link,
.jmd-footer .jmd-footer__brand .custom-logo-link.aligncenter {
	display: inline-block !important;
	float: none;
	margin: 0 !important;
	text-align: left;
}
.jmd-footer .jmd-footer__brand .custom-logo-link img,
.jmd-footer .jmd-footer__brand .custom-logo {
	display: block;
	width: auto;
	max-width: 160px;
	height: 72px;
	margin: 0;
	object-fit: contain;
	object-position: left center;
}
.jmd-footer__brand p {
	margin: 22px 0 24px;
	max-width: 280px;
	color: #9a9aa3;
	font: 400 14px/1.65 "Work Sans", sans-serif;
}
footer.jmd-footer ul,
footer.jmd-footer ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer.jmd-footer ul li,
footer.jmd-footer ol li {
	display: block !important;
	float: none;
	margin: 0 !important;
	width: auto;
}
.jmd-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 28px;
}
.jmd-footer__social li {
	display: block !important;
	width: auto !important;
}
.jmd-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid #3a3a40;
	color: #fff;
}
.jmd-footer__social a:hover {
	background: #fff;
	color: #0c0c0e;
}
.jmd-footer__er {
	display: block;
	width: 120px;
	height: auto;
	margin: 8px 0 0;
	filter: brightness(0) invert(1);
}
.jmd-footer__menus {
	display: flex;
	gap: 70px;
	flex: 1 1 auto;
	justify-content: center;
	min-width: 0;
}
.jmd-footer__col {
	flex: 0 1 auto;
	min-width: 0;
}
.jmd-footer__col h3 {
	margin: 0 0 18px;
	color: #fff;
	font: 500 12px/1.2 "Work Sans", sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.jmd-footer__col a,
.jmd-footer #footer-menu a {
	display: block;
	padding: 5px 0;
	color: #9a9aa3;
	font: 400 14px/1.5 "Work Sans", sans-serif;
	text-decoration: none;
	text-shadow: none;
}
.jmd-footer__col a:hover,
.jmd-footer #footer-menu a:hover {
	color: #fff;
}
.jmd-footer #footer-menu .sub-menu,
.jmd-footer .jmd-footer__col .sub-menu {
	display: none !important;
}
.jmd-footer .menu-footer-container,
.jmd-footer #footer-menu {
	margin: 0;
	padding: 0;
	background: none;
	position: static;
	width: auto;
	float: none;
}
.jmd-footer #footer-menu a:after,
.jmd-footer .jmd-footer__col a:after {
	display: none !important;
	content: none !important;
}
.jmd-footer__cta {
	flex: 0 0 auto;
}
.jmd-footer__brochure {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 28px;
	background: #fff;
	color: #111 !important;
	font: 500 12px/1 "Work Sans", sans-serif;
	letter-spacing: 1.2px;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}
.jmd-footer__brochure:hover {
	background: #b29976;
	color: #fff !important;
}
.jmd-footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 88%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 18px 0 28px;
	border-top: 1px solid #2a2a30;
	color: #7a7a82;
	font: 400 11px/1.4 "Work Sans", sans-serif;
	letter-spacing: .4px;
	text-transform: uppercase;
}
.jmd-footer__credits {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0 18px;
	margin-left: auto;
	text-align: right;
}
.jmd-footer__sep {
	display: inline-block;
	width: 1px;
	height: 10px;
	background: #3a3a40;
}
.jmd-footer__bar a {
	color: #7a7a82;
	text-decoration: none;
}
.jmd-footer__bar a:hover {
	color: #fff;
}

/* Contact form: Region select matches the other fields. */
.wpcf7 .wpcf7-form-control-wrap {
	display: block;
}
.page-template-template-contact-page .wpcf7 select,
.wpcf7 select,
.wpcf7 .wpcf7-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: block;
	box-sizing: border-box;
	width: calc(40ch + 24px);
	max-width: 100%;
	margin-top: 5px;
	padding: 16px 44px 16px 12px;
	color: #04134e;
	font-size: 100%;
	line-height: 1.15;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2304134e' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px 8px;
	border: 1px solid #CCD5E0 !important;
	border-radius: 38px;
	outline: none;
	box-shadow: none;
	cursor: pointer;
}
.wpcf7 select::-ms-expand {
	display: none;
}
.page-template-template-contact-page .wpcf7 select:focus,
.wpcf7 select:focus,
.wpcf7 .wpcf7-select:focus {
	color: #111;
	background-color: #E8F5FF;
	border: 1px solid #A6BFDD !important;
}

.page-id-801 .jmd-news-pagination {
	width: 84%;
	margin: 0 auto 50px;
}
.page-id-801 .jmd-news-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.page-id-801 .jmd-news-pagination .page-numbers li {
	display: inline-block;
	margin: 0;
	width: auto;
	overflow: visible;
}
.page-id-801 .jmd-news-pagination a,
.page-id-801 .jmd-news-pagination span {
	display: inline-block;
	padding: 10px 14px;
	border-top: 1px solid #727272;
	border-bottom: 1px solid #727272;
	color: #393939;
	font: 15px/1.2 "Times New Roman", Times, serif;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
}
.page-id-801 .jmd-news-pagination a:hover,
.page-id-801 .jmd-news-pagination .current {
	background: #b29976;
	border-color: #b29976;
	color: #fff;
}

@media screen and (max-width: 1024px) {
	.jmd-section-title { font-size: 36px; }
	.cat-slider .wpb-woo-cat-item-image,
	.cat-slider .wpb-woo-cat-item-image a,
	/*.cat-slider .wpb-woo-cat-item-image img { height: 340px; }*/
	.jmd-footer__inner {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 36px;
		/*padding: 48px 0 28px;*/
	}
	.jmd-footer__brand,
	.jmd-footer__menus,
	.jmd-footer__cta {
		flex: none;
		width: 100%;
		max-width: 100%;
	}
	.jmd-footer__brand p { max-width: 100%; }
	.jmd-footer__menus {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 24px 32px;
		justify-content: stretch;
	}
	.jmd-footer__cta { text-align: left; }
	.jmd-footer__bar {
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.jmd-footer__credits { margin-left: 0; text-align: left; }
}

@media screen and (max-width: 800px) {
	.cat-slider,
	.home .bottom-block-partners,
	.jmd-footer__inner,
	.jmd-footer__bar { width: 90%; }
	.jmd-section-title { font-size: 30px; margin-bottom: 32px; }
	.jmd-footer .jmd-footer__brand .custom-logo-link img,
	.jmd-footer .jmd-footer__brand .custom-logo {
		height: 56px;
		max-width: 140px;
	}
	.jmd-footer__brand p {
		margin: 16px 0 20px;
		font-size: 13px;
	}
	.jmd-footer__brochure {
		width: 100%;
		white-space: normal;
		text-align: center;
	}
	.jmd-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 16px 0 24px;
	}
}

@media screen and (max-width: 480px) {
	.jmd-footer__menus {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
