/* Site header, shared by every page in English, Hindi and Gujarati. */

/* Contact row */
.main-header .header-upper .info-box {
	display: flex;
	align-items: center;
	min-height: 42px;
	margin-left: 0;
	padding: 0 0 0 52px;
	border-left: 0;
}

.main-header .header-upper .upper-right {
	display: flex;
	align-items: center;
	gap: 21px;
	padding: 14px 0;
}

.main-header .header-upper .info-box .icon-box {
	top: 50%;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #e3f0f5;
	color: var(--theme-color);
	font-size: 19px;
	line-height: 1;
	transform: translateY(-50%);
	transition: background-color .25s, color .25s;
}

.main-header .header-upper .info-box:hover .icon-box {
	background: var(--theme-color);
	color: #fff;
}

.main-header .header-upper .info-box .icon-box i,
.main-header .header-upper .info-box .icon-box span {
	color: inherit;
	line-height: 1;
}

.main-header .header-upper .info-box ul li {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.main-header .header-upper .info-box ul li:first-child,
.main-header .header-upper .info-box ul li:first-child a {
	color: #5b6b73;
	font-size: 12px;
	font-weight: 400;
}

.main-header .header-upper .info-box strong {
	font-weight: 400;
}

.main-header .header-upper .info-box ul li a {
	color: var(--theme-color);
}

.main-header .header-upper .info-box ul.translate li,
.main-header .header-upper .info-box a[href^="tel:"] {
	white-space: nowrap;
}

@media only screen and (max-width: 1400px) {
	.main-header .header-upper .upper-right {
		gap: 18px;
	}
}

/* Navigation bar on desktop */
@media only screen and (min-width: 1024px) {
	.main-header .header-lower {
		background: var(--theme-color);
	}

	.main-header .header-lower .inner-container {
		border: 0;
		background: none;
	}

	.main-header .header-lower .main-menu .navigation>li>a,
	.main-header .header-lower .main-menu .navigation>li.current>a,
	.main-header .header-lower .main-menu .navigation>li:hover>a {
		color: #fff;
	}

	.main-header .header-lower .main-menu .navigation>li.dropdown>a:before {
		color: #fff;
	}

	.main-header .header-lower .main-menu .navigation>li>a {
		position: relative;
	}

	.main-header .header-lower .main-menu .navigation>li>a::after {
		content: "";
		position: absolute;
		top: auto;
		right: 20px;
		bottom: 12px;
		left: 20px;
		width: auto;
		height: 2px;
		background: #fff;
		opacity: 1;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .25s;
	}

	.main-header .header-lower .main-menu .navigation>li.current>a::after,
	.main-header .header-lower .main-menu .navigation>li:hover>a::after {
		transform: scaleX(1);
	}

	/* White button on the teal bar, keeping the theme hover */
	.main-header .header-lower .appointmeny_button-box {
		display: flex;
		align-items: center;
		height: 60px;
		margin: 0;
	}

	.main-header .header-lower .appointmeny_button-box .btn-style-one {
		padding: 12px 24px;
		border-radius: 8px !important;
		background-color: #fff;
	}

	.main-header .header-lower .appointmeny_button-box .btn-style-one .text-one {
		color: var(--theme-color);
	}

	.main-header .header-lower .outer-box {
		align-self: center;
	}
}

/* Page banner background: heartbeat line, faint medical icons and a gradient */
.page-title:not(.overlay)::before {
	background-color: #1d5a76;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90' viewBox='0 0 600 90' fill='none' stroke='white' stroke-opacity='.22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 60h190l14-20 16 44 20-80 18 70 12-14h330'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360' fill='none' stroke='white' stroke-opacity='.08' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(40 40) scale(2.4)'%3E%3Cpath d='M11 2a2 2 0 0 0-2 2v5H4a2 2 0 0 0-2 2v2c0 1.1.9 2 2 2h5v5c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-5h5a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2h-5V4a2 2 0 0 0-2-2h-2z'/%3E%3C/g%3E%3Cg transform='translate(230 70) scale(2.4)'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3Cpath d='M3.22 12H9.5l.5-1 2 4.5 2-7 1.5 3.5h5.27'/%3E%3C/g%3E%3Cg transform='translate(60 230) scale(2.4)'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/g%3E%3Cg transform='translate(250 250) scale(2.4)'%3E%3Cpath d='M12 11v4M14 13h-4M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2M18 6v14M6 6v14'/%3E%3Crect width='20' height='14' x='2' y='6' rx='2'/%3E%3C/g%3E%3C/svg%3E"),
		radial-gradient(circle at 82% 50%, rgba(255, 255, 255, .14), transparent 42%),
		linear-gradient(115deg, #00475e 0%, #005b78 55%, #1f7f9c 100%);
	background-position: left bottom 14px, 0 0, 0 0, 0 0;
	background-repeat: repeat-x, repeat, no-repeat, no-repeat;
	background-size: 600px 90px, 360px 360px, auto, auto;
	opacity: 1;
}

/* Page banner: stethoscope line icon on the right. Service page banners hold a form, so they are left out. */
.page-title:not(.overlay)::after {
	content: "";
	position: absolute;
	top: 0;
	right: max(24px, calc((100% - 1170px) / 2));
	bottom: 0;
	width: 300px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 240' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-opacity='.14' stroke-width='1.5'%3E%3Ccircle cx='150' cy='120' r='70'/%3E%3Ccircle cx='150' cy='120' r='100'/%3E%3C/g%3E%3Cg stroke-opacity='.3' stroke-width='1.5'%3E%3Cpath d='M38 44v16M30 52h16M262 186v16M254 194h16'/%3E%3C/g%3E%3Cg transform='translate(90 60) scale(5)' stroke-opacity='.75' stroke-width='.9'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
	pointer-events: none;
}

/* Animated version of the banner icon. Visitors who turn off motion keep the still one. */
@media (prefers-reduced-motion: no-preference) {
	.page-title:not(.overlay)::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 240' fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round'%3E%3Cstyle%3E.r%7Btransform-box:fill-box;transform-origin:center;animation:r 4s ease-in-out infinite%7D.r2%7Banimation-delay:-2s%7D.s%7Banimation:s 5s ease-in-out infinite%7D.p%7Banimation:p 3s ease-in-out infinite%7D.p2%7Banimation-delay:-1.5s%7D%40keyframes r%7B0%25,100%25%7Btransform:scale(.96);opacity:.5%7D50%25%7Btransform:scale(1.06);opacity:1%7D%7D%40keyframes s%7B0%25,100%25%7Btransform:translateY(-5px)%7D50%25%7Btransform:translateY(5px)%7D%7D%40keyframes p%7B0%25,100%25%7Bopacity:.25%7D50%25%7Bopacity:1%7D%7D%3C/style%3E%3Cg stroke-opacity='.16' stroke-width='1.5'%3E%3Ccircle class='r' cx='150' cy='120' r='70'/%3E%3Ccircle class='r r2' cx='150' cy='120' r='100'/%3E%3C/g%3E%3Cg stroke-opacity='.4' stroke-width='1.5'%3E%3Cpath class='p' d='M38 44v16M30 52h16'/%3E%3Cpath class='p p2' d='M262 186v16M254 194h16'/%3E%3C/g%3E%3Cg class='s'%3E%3Cg transform='translate(90 60) scale(5)' stroke-opacity='.75' stroke-width='.9'%3E%3Cpath d='M4.8 2.3A.3.3 0 1 0 5 2H4a2 2 0 0 0-2 2v5a6 6 0 0 0 6 6 6 6 0 0 0 6-6V4a2 2 0 0 0-2-2h-1a.2.2 0 1 0 .3.3'/%3E%3Cpath d='M8 15v1a6 6 0 0 0 6 6 6 6 0 0 0 6-6v-4'/%3E%3Ccircle cx='20' cy='10' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	}
}

/* Banner titles that became h1 keep the size they had as h2 */
.page-title h1.hx-title {
	font-size: var(--font-48);
	line-height: 1.2em;
	font-weight: 500;
	color: #fff;
}

#surgeriesbreadcrumbs h1.hx-title {
	font-size: 30px;
	line-height: 1.4em;
	margin-bottom: 10px
}

@media only screen and (max-width: 1140px) {
	.page-title:not(.overlay) h1.hx-title {
		font-size: var(--font-40);
	}
}

@media only screen and (max-width: 767px) {
	#surgeriesbreadcrumbs h1.hx-title {
		font-size: 20px;
	}
}

@media only screen and (max-width: 599px) {
	.page-title:not(.overlay) h1.hx-title {
		font-size: var(--font-34);
		line-height: 44px;
	}
}

@media only screen and (max-width: 479px) {
	.page-title:not(.overlay) h1.hx-title {
		font-size: var(--font-28);
		line-height: 38px;
	}
}

/* Long titles wrap before they reach the icon */
@media only screen and (min-width: 768px) {
	.page-title:not(.overlay) .auto-container {
		position: relative;
		z-index: 1;
	}

	.page-title:not(.overlay) h1,
	.page-title:not(.overlay) h2,
	.page-title:not(.overlay) .bread-crumb {
		max-width: calc(100% - 320px);
	}
}

@media only screen and (max-width: 767px) {
	.page-title:not(.overlay)::after {
		display: none;
	}
}

/* Fixed header and dropdown menus on desktop */
.main-header .sticky-book {
	display: none;
}

@media only screen and (min-width: 1024px) {
	/* Fixed header */
	.main-header .sticky-header {
		border-bottom: 1px solid #d9e6eb;
		background: rgba(255, 255, 255, .97);
		box-shadow: 0 8px 24px rgba(0, 71, 94, .1);
		backdrop-filter: blur(8px);
	}

	.main-header .sticky-header .logo img {
		max-height: 48px;
		width: auto;
	}

	.main-header .sticky-header .logo {
		padding: 8px 0;
	}

	.main-header .sticky-header .right-box {
		display: flex;
		align-items: center;
		gap: 14px;
	}

	.main-header .sticky-header .main-menu .navigation>li>a,
	.main-header .sticky-header .main-menu .navigation>li.current>a,
	.main-header .sticky-header .main-menu .navigation>li:hover>a {
		padding: 19px 14px;
		background: none;
		color: var(--text-color);
		font-size: 14px;
	}

	.main-header .sticky-header .main-menu .navigation>li:hover>a,
	.main-header .sticky-header .main-menu .navigation>li.current>a {
		color: var(--theme-color);
	}

	.main-header .sticky-header .main-menu .navigation>li>a::after {
		content: "";
		position: absolute;
		top: auto;
		right: 14px;
		bottom: 12px;
		left: 14px;
		width: auto;
		height: 2px;
		background: var(--theme-color);
		opacity: 1;
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .25s;
	}

	.main-header .sticky-header .main-menu .navigation>li.current>a::after,
	.main-header .sticky-header .main-menu .navigation>li:hover>a::after {
		transform: scaleX(1);
	}

	.main-header .sticky-book {
		display: inline-block;
		flex: 0 0 auto;
		padding: 11px 20px;
	}

	/* Dropdown menus */
	.main-header .main-menu .navigation>li>ul {
		width: 17rem;
		padding: 8px;
		border-top: 3px solid var(--light-color);
		border-radius: 0 0 12px 12px;
		background: #fff;
		box-shadow: 0 18px 40px rgba(0, 40, 54, .2);
		transform: translateY(10px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.main-header .main-menu .navigation>li:hover>ul {
		transform: translateY(0);
	}

	.main-header .main-menu .navigation>li>ul.w30rem {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 8px;
		width: 40rem !important;
	}

	/* The short list stays in one column */
	.main-header .main-menu .navigation>li:nth-child(4)>ul.w30rem {
		grid-template-columns: minmax(0, 1fr);
		width: 24rem !important;
	}

	.main-header .sticky-header .main-menu .navigation>li.dropdown>a,
	.main-header .sticky-header .main-menu .navigation>li.dropdown.current>a,
	.main-header .sticky-header .main-menu .navigation>li.dropdown:hover>a {
		padding-right: 30px;
	}

	.main-header .main-menu .navigation>li>ul>li {
		width: auto;
		padding: 0;
		border: 0;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.main-header .main-menu .navigation>li>ul>li>a {
		display: block;
		padding: 10px 12px;
		border-radius: 8px;
		color: var(--text-color);
		font-size: 14px;
		font-weight: 500;
		line-height: 1.4;
		text-transform: none;
		transition: background-color .2s, color .2s, padding-left .2s;
	}

	.main-header .main-menu .navigation>li>ul>li>a::before,
	.main-header .main-menu .navigation>li>ul>li>a::after {
		display: none;
	}

	.main-header .main-menu .navigation>li>ul>li.current>a,
	.main-header .main-menu .navigation>li>ul>li:hover>a {
		padding-left: 18px;
		background: #e3f0f5;
		color: var(--theme-color);
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
	.main-header .main-menu .navigation>li:nth-child(3)>ul.w30rem {
		width: 33rem !important;
	}

	/* The fixed header stays on one line */
	.main-header .sticky-book {
		display: none;
	}

	/* Wide dropdowns open towards the left so they stay on screen */
	.main-header .sticky-header .main-menu .navigation>li>ul.w30rem {
		right: 0;
		left: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.main-header .header-upper .info-box .icon-box,
	.main-header .header-lower .main-menu .navigation>li>a::after {
		transition: none;
	}
}

/* Open page in the mobile menu */
.main-header .mobile-menu .navigation li.current>a {
	background: #e3f0f5;
	color: var(--theme-color);
	font-weight: 600;
}

/* Tablet header: logo and menu icon on one line, as on phones */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.main-header .header-upper .logo-box {
		text-align: left;
	}

	.main-header .header-lower {
		height: 67px;
		margin-top: -67px;
		background: none;
		pointer-events: none;
	}

	.main-header .header-lower .mobile-nav-toggler {
		pointer-events: auto;
	}
}

/* Small desktop: the email moves out of the contact row so the rest stays on one line */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
	.main-header .header-upper .upper-right .upper-column:nth-child(2) {
		display: none;
	}
}

/* Phone: floating contact icons sit in the bottom left corner instead of over the text.
   The wrapper class in each selector is needed to beat the style block inside quickconnect.php. */
@media only screen and (max-width: 767px) {
	.module-wrapper .right-module {
		top: auto;
		bottom: 12px;
		left: 10px;
		display: flex;
		gap: 6px;
		transform: none;
	}

	.module-wrapper .right-module .module-child,
	.module-wrapper .right-module .module-child:hover {
		display: block;
		flex: 0 0 42px;
		width: 42px;
		margin: 0;
		transform: none;
	}

	.module-wrapper .right-module .module-text {
		display: none;
	}

	.module-wrapper .right-module .module-icon {
		flex: none;
		width: 42px;
		max-width: none;
		height: 42px;
		padding: 0;
		border-radius: 50%;
		box-shadow: 0 6px 14px rgba(0, 40, 54, .3);
	}

	.module-wrapper .right-module .module-icon a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	.module-wrapper .right-module .module-icon i {
		padding: 0;
		font-size: 17px;
	}
}

/* ============ Mobile menu design: side panel, teal head, icon rows, fixed buttons ============ */
.mobile-menu {
	transition: visibility 0s linear .35s;
}

.mobile-menu-visible .mobile-menu {
	transition: visibility 0s;
}

/* The page's own logo stays behind the open menu */
.mobile-menu-visible .main-header .header-upper .logo-box {
	visibility: hidden;
}

.mobile-menu .menu-backdrop,
.mobile-menu-visible .mobile-menu .menu-backdrop {
	width: 100%;
	background: rgba(0, 31, 43, .62);
	transform: none;
	transition: opacity .3s ease;
}

.mobile-menu .menu-backdrop {
	opacity: 0;
}

.mobile-menu-visible .mobile-menu .menu-backdrop {
	opacity: 1;
}

.mobile-menu .menu-box,
.mobile-menu-visible .mobile-menu .menu-box {
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(88%, 380px);
	overflow: hidden;
	border-radius: 22px 0 0 22px;
	box-shadow: -18px 0 50px rgba(0, 31, 43, .3);
	transition: transform .35s cubic-bezier(.22, 1, .36, 1);
	transition-delay: 0s;
}

.mobile-menu .menu-box {
	transform: translateX(105%);
}

.mobile-menu-visible .mobile-menu .menu-box {
	transform: none;
}

/* Head of the panel */
.mobile-menu .nav-logo {
	flex: 0 0 auto;
	padding: 20px 66px 20px 18px;
	background: linear-gradient(135deg, #001f2b 0%, #00384b 42%, #00566f 78%, #007595 115%);
}

.mobile-menu .nav-logo img {
	display: block;
	width: 100%;
	max-width: 178px;
}

.mobile-menu .close-btn,
.mobile-menu-visible .mobile-menu .close-btn,
.main-header .mobile-menu .close-btn {
	top: 18px;
	right: 14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .15);
	color: #fff;
	font-size: 13px;
	line-height: 40px;
	transform: none;
	transition: opacity .2s ease, background-color .2s ease;
	transition-delay: 0s;
}

.mobile-menu .close-btn .icon {
	color: #fff;
}

.main-header .mobile-menu .close-btn:hover,
.mobile-menu .close-btn:hover {
	background: rgba(255, 255, 255, .28);
	opacity: 1;
}

/* List */
.mobile-menu .menu-outer {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 10px 10px 14px;
}

body .main-header .mobile-menu .navigation {
	border-top: 0;
}

body .main-header .mobile-menu .navigation li {
	margin: 2px 0;
	border: 0;
}

body .main-header .mobile-menu .navigation > li > a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 8px 52px 8px 8px !important;
	border-radius: 13px;
	color: #00475e;
	font-size: 15.5px !important;
	font-weight: 500;
	transition: background-color .2s ease, color .2s ease;
}

body .main-header .mobile-menu .navigation > li > a::before {
	content: "\f015";
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #e3f0f5;
	color: #005b78;
	font-family: "Font Awesome 6 Free";
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	transition: background-color .2s ease, color .2s ease;
}

body .main-header .mobile-menu .navigation > li:nth-child(2) > a::before {
	content: "\f0f0";
}

body .main-header .mobile-menu .navigation > li:nth-child(3) > a::before {
	content: "\f0f1";
}

body .main-header .mobile-menu .navigation > li:nth-child(4) > a::before {
	content: "\f21e";
}

body .main-header .mobile-menu .navigation > li:nth-child(5) > a::before {
	content: "\f302";
}

body .main-header .mobile-menu .navigation > li:nth-child(6) > a::before {
	content: "\f059";
}

body .main-header .mobile-menu .navigation > li:nth-child(7) > a::before {
	content: "\f0e0";
}

body .main-header .mobile-menu .navigation > li.current > a,
body .main-header .mobile-menu .navigation > li.open > a {
	background: #e3f0f5;
	color: #00475e;
	font-weight: 600;
}

body .main-header .mobile-menu .navigation > li.current > a::before,
body .main-header .mobile-menu .navigation > li.open > a::before {
	background: #005b78;
	color: #fff;
}

/* Arrow button */
body .main-header .mobile-menu .navigation > li.dropdown > .dropdown-btn {
	top: 7px;
	right: 7px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: #005b78;
	font-size: 14px;
	line-height: 40px;
	transition: background-color .2s ease, color .2s ease;
}

body .main-header .mobile-menu .navigation > li.dropdown > .dropdown-btn::after {
	content: none;
}

body .main-header .mobile-menu .navigation > li.dropdown > .dropdown-btn .fa {
	transition: transform .25s ease;
}

body .main-header .mobile-menu .navigation > li.open > .dropdown-btn {
	background: #005b78;
	color: #fff;
}

body .main-header .mobile-menu .navigation > li.open > .dropdown-btn .fa {
	transform: rotate(180deg);
}

/* Inner list */
body .main-header .mobile-menu .navigation li > ul,
body .main-header .mobile-menu .navigation .w30rem {
	width: auto !important;
	margin: 4px 0 8px 26px;
	padding: 0 0 0 12px;
	border-left: 2px solid #e3f0f5;
	background: none;
}

body .main-header .mobile-menu .navigation li > ul > li:first-child {
	border: 0;
}

body .main-header .mobile-menu .navigation li > ul > li > a {
	padding: 9px 10px !important;
	border-radius: 9px;
	color: #33505c;
	font-size: 14px !important;
	transition: background-color .2s ease, color .2s ease;
}

body .main-header .mobile-menu .navigation li > ul > li:hover > a,
body .main-header .mobile-menu .navigation li > ul > li.current > a {
	background: #f1f7fa;
	color: #00475e;
}

/* Buttons that stay at the bottom of the panel */
.mm-foot {
	display: grid;
	flex: 0 0 auto;
	gap: 8px;
	padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid #d9e6eb;
	background: #fff;
}

.mm-foot a {
	display: flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 8px 16px;
	border: 1px solid #005b78;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.mm-foot .mm-book {
	background: #005b78;
	color: #fff;
}

.mm-foot .mm-book:hover,
.mm-foot .mm-book:focus {
	border-color: #00475e;
	background: #00475e;
	color: #fff;
}

.mm-foot .mm-call {
	background: #fff;
	color: #005b78;
}

.mm-foot .mm-call:hover,
.mm-foot .mm-call:focus {
	background: #e3f0f5;
	color: #00475e;
}

/* Rows arrive one after another */
.mobile-menu-visible .mobile-menu .navigation > li {
	animation: mm-row .35s ease both;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(2) {
	animation-delay: .04s;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(3) {
	animation-delay: .08s;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(4) {
	animation-delay: .12s;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(5) {
	animation-delay: .16s;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(6) {
	animation-delay: .2s;
}

.mobile-menu-visible .mobile-menu .navigation > li:nth-child(7) {
	animation-delay: .24s;
}

@keyframes mm-row {
	from {
		opacity: 0;
		transform: translateX(14px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mobile-menu .menu-box,
	.mobile-menu-visible .mobile-menu .menu-box,
	.mobile-menu .menu-backdrop,
	.mobile-menu-visible .mobile-menu .menu-backdrop {
		transition: none;
	}

	.mobile-menu-visible .mobile-menu .navigation > li {
		animation: none;
	}
}

/* Menu icon: teal button with three white lines */
.main-header .mobile-nav-toggler,
.main-header .sticky-header .mobile-nav-toggler {
	width: 40px;
	height: 40px;
	margin-top: 2px;
	padding: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #00475e 0%, #005b78 60%, #007595 100%);
	box-shadow: 0 6px 16px rgba(0, 71, 94, .25);
	color: #fff;
	line-height: 40px;
	transition: box-shadow .2s ease, transform .2s ease;
}

.main-header .mobile-nav-toggler .icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 16px;
	margin: -8px 0 0 -11px;
	background:
		linear-gradient(#fff, #fff) right top / 100% 2px no-repeat,
		linear-gradient(#fff, #fff) right center / 66% 2px no-repeat,
		linear-gradient(#fff, #fff) right bottom / 100% 2px no-repeat;
	transition: background-size .25s ease;
}

.main-header .mobile-nav-toggler .icon::before {
	content: none;
}

.main-header .mobile-nav-toggler:hover .icon {
	background-size: 100% 2px, 100% 2px, 100% 2px;
}

.main-header .mobile-nav-toggler:active {
	transform: scale(.94);
}

@media (prefers-reduced-motion: reduce) {
	.main-header .mobile-nav-toggler,
	.main-header .mobile-nav-toggler .icon {
		transition: none;
	}

	.main-header .mobile-nav-toggler:active {
		transform: none;
	}
}

.main-header .sticky-header .mobile-nav-toggler {
	margin-top: 0;
}

/* Scrolled header: the logo shrinks on very small phones so the menu icon stays on the right */
@media (max-width: 1023px) {
	.main-header .sticky-header .inner-container {
		flex-wrap: nowrap !important;
		gap: 12px;
	}

	.main-header .sticky-header .logo {
		flex: 0 1 auto;
		min-width: 0;
	}

	.main-header .sticky-header .right-box {
		flex: 0 0 auto;
	}
}

/* Header row tall enough for the whole logo, with the menu icon centred */
@media (max-width: 1023px) {
	.main-header .header-lower .mobile-nav-toggler {
		margin-top: 11px;
		margin-bottom: 11px;
	}
}
