/*
Theme Name:     MAY Lawyers Kadence Child
Theme URI:      
Description:    Kadence child theme.
Author:         MAY Lawyers LLP
Author URI:     
Template:       kadence
Version:        0.1.0
*/

/* MAY Lawyers typography system */
:root {
	--may-font-heading: "DM Serif Display", Georgia, serif;
	--may-font-body: "DM Sans", Arial, sans-serif;
}
body,
button,
input,
select,
textarea,
.main-navigation,
.site-header,
.site-footer,
.ms,
.ms p,
.ms span,
.ms a,
.ms li {
	font-family: var(--may-font-body) !important;
	font-weight: 400;
}
.main-navigation a,
.site-header a,
.ms .btn,
.ms button,
.ms .label,
.ms small,
.ms .whatsapp {
	font-family: var(--may-font-body) !important;
	font-weight: 600 !important;
}
h1, h2, h3, h4, h5, h6,
.ms h1, .ms h2, .ms h3,
.ms .title,
.ms .heading,
.ms .leader h3,
.ms .team-person h3,
.ms .stat strong {
	font-family: var(--may-font-heading) !important;
	font-weight: 400 !important;
}


/* MAY_HEADER_DROPDOWN_COLORS_START */
#masthead .main-navigation .sub-menu,
#masthead .header-navigation .header-menu-container ul ul.sub-menu,
#masthead .mobile-navigation .sub-menu {
	background: #071b2f !important;
	border-color: rgba(214, 175, 102, .28) !important;
	box-shadow: 0 16px 38px rgba(7, 27, 47, .28) !important;
}

#masthead .main-navigation .sub-menu > li,
#masthead .header-navigation .header-menu-container ul ul.sub-menu > li,
#masthead .mobile-navigation .sub-menu > li {
	background: #071b2f !important;
	border-color: rgba(255, 255, 255, .1) !important;
}

#masthead .main-navigation .sub-menu a,
#masthead .header-navigation .header-menu-container ul ul.sub-menu a,
#masthead .mobile-navigation .sub-menu a {
	background: #071b2f !important;
	color: #ffffff !important;
}

#masthead .main-navigation .sub-menu a:hover,
#masthead .main-navigation .sub-menu a:focus,
#masthead .main-navigation .sub-menu .current-menu-item > a,
#masthead .header-navigation .header-menu-container ul ul.sub-menu a:hover,
#masthead .header-navigation .header-menu-container ul ul.sub-menu a:focus,
#masthead .mobile-navigation .sub-menu a:hover,
#masthead .mobile-navigation .sub-menu a:focus,
#masthead .mobile-navigation .sub-menu .current-menu-item > a {
	background: #0d2b45 !important;
	color: #d6af66 !important;
}

#masthead .sub-menu .dropdown-nav-toggle,
#masthead .sub-menu .kadence-svg-iconset {
	color: currentColor !important;
}
/* MAY_HEADER_DROPDOWN_COLORS_END */


/* MAY_GLOBAL_WHATSAPP_VISIBILITY_START */
body .may-global-whatsapp {
	position: fixed !important;
	right: 24px !important;
	bottom: 90px !important;
	z-index: 999997 !important;
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 50px !important;
	height: 50px !important;
	min-width: 50px !important;
	min-height: 50px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	overflow: hidden !important;
}

body .may-global-whatsapp img {
	display: block !important;
	width: 50px !important;
	height: 50px !important;
	max-width: none !important;
	opacity: 1 !important;
}

@media (max-width: 600px) {
	body .may-global-whatsapp {
		right: 16px !important;
		bottom: 82px !important;
	}
}
/* MAY_GLOBAL_WHATSAPP_VISIBILITY_END */

/* MAY_ENQUIRY_FIELD_SPACING */
body .may-popup .wpcf7,
body .may-popup form,
body .may-popup .general-enquiry-grid,
body .home-hire .wpcf7,
body .home-hire form,
body .home-hire .general-enquiry-grid {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
body .may-popup .general-enquiry-grid,
body .home-hire .general-enquiry-grid {
  gap: 12px !important;
}
body .may-popup .general-enquiry-grid > p,
body .home-hire .general-enquiry-grid > p {
  margin: 0 !important;
}
body .may-popup input:not([type=submit]),
body .may-popup select,
body .home-hire input:not([type=submit]),
body .home-hire select {
  color: #71808a !important;
}
body .may-popup input::placeholder,
body .home-hire input::placeholder {
  color: #71808a !important;
  opacity: 1;
}

/* MAY_HEADER_CONTROL_DIMENSIONS */
body .may-language-menu { padding: 0 !important; border: 0 !important; }
body .main-navigation .may-hire-menu > a,
body .mobile-navigation .may-hire-menu > a,
body .may-language-menu select.gt_selector {
  box-sizing: border-box !important;
  width: 100px !important;
  min-width: 100px !important;
  max-width: 100px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 8px !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  font: 500 14px/1 "DM Sans", sans-serif !important;
  text-align: center !important;
  text-align-last: center !important;
  box-shadow: none !important;
}
body .main-navigation .may-hire-menu > a,
body .mobile-navigation .may-hire-menu > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body .may-language-menu select.gt_selector {
  appearance: none;
  background: #071b2f !important;
  color: #fff !important;
}
body .may-language-menu select.gt_selector:focus,
body .may-language-menu select.gt_selector:active {
  outline: none !important;
  box-shadow: none !important;
}
body .may-language-menu select.gt_selector:focus-visible {
  border-color: #9cacb8 !important;
}
body .main-navigation .may-language-menu { margin-left: 10px !important; }
body .mobile-navigation .may-language-menu { margin-top: 10px !important; }
body .mobile-navigation .may-language-menu,
body .mobile-navigation .may-language-menu .gtranslate_wrapper { width: 100%; }
body .mobile-navigation .may-hire-menu > a,
body .mobile-navigation .may-language-menu select.gt_selector {
  width: 100% !important;
  max-width: none !important;
}
body .mobile-navigation .may-language-menu select.gt_selector {
  border-color: #71808a !important;
}
body .mobile-navigation .may-language-menu select.gt_selector:focus-visible {
  border-color: #c8d2db !important;
}

/* Shared policy pages and grouped Sitemap link lists. */
body .may-doc-section.e-con{box-sizing:border-box!important;width:calc(100% - 48px)!important;max-width:1060px!important;min-width:0!important;margin:0 auto 24px!important;padding:30px!important;gap:14px!important;background:#f5f2ec!important;border:0!important;border-top:3px solid #b48a45!important;--width:100%;--container-max-width:1060px;font-family:"DM Sans",sans-serif!important}
body .may-doc-section .elementor-widget{margin:0!important;--kit-widget-spacing:0px}
body .may-doc-section :is(.elementor-widget-text-editor,p,li){font-family:"DM Sans",sans-serif!important;font-weight:400!important;font-size:16px!important;line-height:1.75!important;color:#435463!important}
body .may-doc-section p{margin:0 0 12px!important}
body .may-doc-section p:last-child{margin-bottom:0!important}
body .may-doc-section ul{margin:0;padding-left:22px}
body .may-doc-section h2.elementor-heading-title{font:400 30px/1.2 "DM Serif Display",serif!important;color:#071b2f!important;margin:0!important}
body .may-doc-section a{color:#795820;text-decoration:underline;text-underline-offset:3px}
body .may-doc-section.may-doc-hero.e-con{width:100%!important;max-width:none!important;background:#071b2f!important;padding:64px max(24px,calc((100% - 1060px)/2))!important;margin:0 0 48px!important;border:0!important;gap:18px!important}
body .may-doc-hero h1.elementor-heading-title{font:400 clamp(42px,5vw,64px)/1.1 "DM Serif Display",serif!important;color:#fff!important;margin:0!important}
body .may-doc-hero :is(.elementor-widget-text-editor,p){color:#c8d2db!important}
body .may-policy-date{display:flex!important;align-items:center;gap:10px}
body .may-policy-date i{color:#d6af66;font-size:16px}
body .may-sitemap-group .elementor-icon-list-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body .may-sitemap-group .elementor-icon-list-item{margin:0!important;min-width:0}
body .may-sitemap-group .elementor-icon-list-item a{width:100%;padding:16px 18px;background:#fff;border:1px solid #e5e0d6;color:#071b2f;text-decoration:none;transition:background .2s,color .2s,transform .2s}
body .may-sitemap-group .elementor-icon-list-text{color:inherit;font:500 16px/1.5 "DM Sans",sans-serif;white-space:normal}
body .may-sitemap-group .elementor-icon-list-icon i{color:#b48a45}
body .may-sitemap-group .elementor-icon-list-item a:hover,body .may-sitemap-group .elementor-icon-list-item a:focus-visible{background:#071b2f;color:#fff;transform:translateY(-2px)}
@media(max-width:600px){body .may-doc-section.e-con{width:calc(100% - 32px)!important;padding:24px 20px!important;margin-bottom:20px!important}body .may-doc-section.may-doc-hero.e-con{padding:44px 16px!important;margin-bottom:32px!important}body .may-doc-section h2.elementor-heading-title{font-size:26px!important}body .may-sitemap-group .elementor-icon-list-items{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body .may-sitemap-group .elementor-icon-list-item a{transition:none;transform:none}}

/* Shared inner-page title spacing. Long titles wrap without clipping. */
body section.may-inner-title{min-height:250px!important;height:auto!important;padding:44px 0!important;display:flex!important;align-items:center!important;box-sizing:border-box}
body section.may-inner-title .wrap{width:calc(100% - 48px)!important;max-width:1060px!important;margin:0 auto!important}
body section.may-inner-title h1{font:400 clamp(42px,5vw,64px)/1.1 "DM Serif Display",serif!important;color:#fff!important;margin:14px 0 0!important}
body section.may-inner-title .eyebrow{font:600 12px/1.75 "DM Sans",sans-serif!important;letter-spacing:.18em;color:#d6af66}
body section.may-inner-title .hero-grid{display:block!important}
body section.may-inner-title .role{margin-top:12px}
body .leader-profile .bio .portrait{max-width:300px;margin:0 0 24px;padding:0}
body .may-doc-section.may-doc-hero.e-con{min-height:250px!important;padding-top:44px!important;padding-bottom:44px!important;justify-content:center!important}
body .may-doc-section:not(.may-doc-hero) .may-policy-date{font-size:14px!important;color:#435463!important;margin-bottom:6px!important}
body .may-doc-section:not(.may-doc-hero) .may-policy-date i{color:#795820}
@media(max-width:600px){body section.may-inner-title{min-height:200px!important;padding:36px 0!important}body section.may-inner-title .wrap{width:calc(100% - 32px)!important}body .may-doc-section.may-doc-hero.e-con{min-height:200px!important;padding-top:36px!important;padding-bottom:36px!important}}
body .may-expertise-intro.e-con{width:calc(100% - 48px)!important;max-width:1060px!important;margin:auto!important;padding:28px 0!important}body .may-expertise-intro p{font:400 16px/1.75 "DM Sans",sans-serif!important;color:#435463!important;margin:0!important}@media(max-width:600px){body .may-expertise-intro.e-con{width:calc(100% - 32px)!important}}

/* Policy dates are independent rows above the first card. */
body .may-policy-date-row.e-con{width:calc(100% - 48px)!important;max-width:1060px!important;margin:-24px auto 20px!important;padding:0!important;background:transparent!important;border:0!important}
body .may-policy-date-row .may-policy-date{font:400 14px/1.75 "DM Sans",sans-serif!important;color:#435463!important;margin:0!important;display:flex;align-items:center;gap:10px}
body .may-policy-date-row i{color:#795820}
body section.may-inner-title,body .may-doc-section.may-doc-hero.e-con{background:linear-gradient(90deg,#071b2feb,#071b2fc4),url('../../uploads/may-lawyers-source/generated/about/about-legal-office-corridor.webp') center/cover no-repeat!important}
body section.may-inner-title:after{background:none!important}
@media(max-width:600px){body .may-policy-date-row.e-con{width:calc(100% - 32px)!important;margin:-12px auto 20px!important}}
body .may-policy-date-row .may-policy-date{font-weight:700!important;color:#071b2f!important}

/* MAY enquiry chatbot and shared scrollbar styling. */
html{scrollbar-color:#071b2f #e8edf0;scrollbar-width:thin}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#e8edf0}::-webkit-scrollbar-thumb{background:#071b2f;border:2px solid #e8edf0;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#b48a45}
body #wp-chatbot-chat-container{z-index:999996!important;transform:none!important} body #wp-chatbot-ball .wp-chatbot-ball{transform:none!important}
body #wp-chatbot-ball-container,body #wp-chatbot-chat-container .wp-chatbot-container{transform:none!important}
body #wp-chatbot-ball-icon-img{position:fixed!important;top:auto!important;left:auto!important;right:24px!important;bottom:var(--may-chat-bottom,24px)!important;width:54px!important;height:54px!important;min-width:54px!important;max-width:54px!important;object-fit:contain!important;content:url('../../uploads/may-lawyers-source/brand/web/may-lawyers-logo-golden.png');box-sizing:border-box!important;padding:6px!important;margin:0!important;border:2px solid #b48a45!important;border-radius:50%!important;background:#fff!important;z-index:999996!important}
body #wp-chatbot-ball .wp-chatbot-ball{background:transparent!important;border:0!important;box-shadow:none!important}
body #wp-chatbot-board-container.active-chat-board{display:flex!important;flex-direction:column!important;border:1px solid #b48a45!important;border-radius:8px!important;box-sizing:border-box!important;overflow:hidden!important;margin:0!important;transform:none!important;font-family:"DM Sans",sans-serif!important}
body #wp-chatbot-board-container .wp-chatbot-header{position:relative!important;flex:0 0 64px;height:64px!important;min-height:64px!important;padding:0!important;background:#071b2f!important;color:#fff!important;overflow:hidden}
body #wp-chatbot-board-container .wp-chatbot-header:before{content:"MAY Enquiry Assistant";display:block;padding:20px 84px 20px 14px;font:600 14px/1.5 "DM Sans",sans-serif;color:#fff}
body #wp-chatbot-board-container .wp-chatbot-header-welcome-text,body #wp-chatbot-desktop-expand{display:none!important}
body #wp-chatbot-board-container .wp-chatbot-header-icon-right{position:absolute;right:10px;top:15px}
body #wp-chatbot-board-container .slimScrollDiv{flex:1 1 auto!important;min-height:0!important;height:auto!important;width:100%!important;overflow:hidden!important}
body #wp-chatbot-board-container .slimScrollBar,body #wp-chatbot-board-container .slimScrollRail{display:none!important}
body #wp-chatbot-board-container .wp-chatbot-content{flex:1 1 auto!important;min-height:0!important;height:100%!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;width:100%!important;background:#f5f2ec!important;scrollbar-color:#071b2f #e8edf0;scrollbar-width:thin;overscroll-behavior:contain}
body #wp-chatbot-board-container .wp-chatbot-messages-wrapper,body #wp-chatbot-messages-container{height:auto!important;max-height:none!important;overflow:visible!important}
body #wp-chatbot-board-container .wp-chatbot-footer{flex:0 0 auto!important;background:#071b2f!important;background-image:none!important;padding:10px!important}
body #wp-chatbot-editor-container{background:#fff!important;border-radius:4px!important;margin:0!important}
body #wp-chatbot-editor{font:400 16px "DM Sans",sans-serif!important;color:#071b2f!important;background:#fff!important;min-height:44px}
body #wp-chatbot-editor::placeholder{color:#71808a!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav{background:#071b2f!important}
body #wp-chatbot-board-container .qcld-chatbot-wildcard{font:500 14px/1.5 "DM Sans",sans-serif!important;white-space:normal!important;background:#071b2f!important;color:#fff!important;border:1px solid #b48a45!important;padding:10px 12px!important}
body #wp-chatbot-board-container .qcld-chatbot-wildcard:hover{background:#b48a45!important}
body .may-global-whatsapp{bottom:calc(var(--may-chat-bottom,24px) + 64px)!important;right:24px!important;z-index:999995!important}
body.may-chat-open .may-global-whatsapp{visibility:hidden!important;pointer-events:none!important}
@media(max-width:600px){body #wp-chatbot-ball-icon-img,body .may-global-whatsapp{right:16px!important}}

/* Solid chatbot chrome and centered action controls. */
body #wp-chatbot-chat-container #wp-chatbot-board-container.active-chat-board{padding:0!important;background:#071b2f!important;background-image:none!important;box-shadow:none!important}
body #wp-chatbot-board-container:before,body #wp-chatbot-board-container:after{display:none!important;content:none!important}
body #wp-chatbot-chat-container .wp-chatbot-container,body #wp-chatbot-ball-container{background:none!important;background-image:none!important;padding-bottom:0!important}
body #wp-chatbot-board-container .wp-chatbot-header-icon-right{position:absolute!important;inset:0 10px 0 auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:64px!important;margin:0!important;padding:0!important}
body #wp-chatbot-board-container #wp-chatbot-desktop-reload,body #wp-chatbot-board-container #wp-chatbot-desktop-close{position:static!important;top:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;margin:0!important;padding:0!important;border:1px solid #ffffff45!important;background:#ffffff12!important;border-radius:50%!important;box-shadow:none!important;transform:none!important;color:#fff!important}
body #wp-chatbot-board-container .wp-chatbot-header-icon-right .dashicons{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;margin:0!important;padding:0!important;font-size:20px!important;line-height:1!important;color:#fff!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav{height:48px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav ul{display:flex!important;align-items:center!important;justify-content:center!important;gap:24px!important;width:auto!important;height:48px!important;margin:0!important;padding:0!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav li{display:flex!important;align-items:center!important;justify-content:center!important;float:none!important;margin:0!important;padding:0!important;width:32px!important;height:32px!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a{display:flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;margin:0!important;padding:0!important;position:relative!important;top:auto!important;border:1px solid #ffffff45!important;border-radius:50%!important;background:#ffffff12!important;background-image:none!important;box-shadow:none!important;transform:none!important;text-decoration:none!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a:after{display:none!important;content:none!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a:before{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;font-size:15px!important;line-height:1!important;color:#fff!important;position:static!important;display:block!important;width:auto!important;height:auto!important;border:0!important;margin:0!important;transform:none!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a[data-option="help"]:before{content:"\f129"!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a[data-option="chat"]:before{content:"\f0c9"!important}
body #wp-chatbot-board-container .wp-chatbot-tab-nav a[data-option="support"]:before{content:"\f590"!important}
body #wp-chatbot-editor-container{position:relative!important}
body #wp-chatbot-editor{padding-right:50px!important}
body #wp-chatbot-send-message{position:absolute!important;right:6px!important;left:auto!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#071b2f!important}
body #wp-chatbot-send-message .dashicons{margin:0!important;width:20px!important;height:20px!important;font-size:20px!important;line-height:1!important}
body #wp-chatbot-board-container .wp-chatbot-header-icon-right{transform:none!important;translate:none!important}

/* Fill the fixed chat panel without a gap beneath its controls. */
body #wp-chatbot-chat-container #wp-chatbot-board-container.active-chat-board{display:grid!important;grid-template-rows:64px minmax(0,1fr) auto!important;align-content:stretch!important;gap:0!important}
body #wp-chatbot-board-container>.slimScrollDiv{height:100%!important;max-height:none!important;min-height:0!important;box-sizing:border-box!important}
body #wp-chatbot-board-container>.wp-chatbot-footer{height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;align-self:end!important;box-sizing:border-box!important}