.elementor-1709 .elementor-element.elementor-element-8d92af2{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--margin-top:-152px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:150px;--padding-bottom:0px;--padding-left:100px;--padding-right:100px;--z-index:0;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );}body:not(.rtl) .elementor-1709 .elementor-element.elementor-element-ea4f4c3{left:0px;}body.rtl .elementor-1709 .elementor-element.elementor-element-ea4f4c3{right:0px;}.elementor-1709 .elementor-element.elementor-element-ea4f4c3{top:0px;}.elementor-1709 .elementor-element.elementor-element-95826de{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:075px;--padding-bottom:50px;--padding-left:30px;--padding-right:30px;}.elementor-1709 .elementor-element.elementor-element-95826de.e-con{--order:99999 /* order end hack */;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-1709 .elementor-element.elementor-element-6c19962{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;text-align:center;font-family:var( --e-global-typography-9f0072e-font-family ), Sans-serif;font-size:var( --e-global-typography-9f0072e-font-size );font-weight:var( --e-global-typography-9f0072e-font-weight );text-transform:var( --e-global-typography-9f0072e-text-transform );letter-spacing:var( --e-global-typography-9f0072e-letter-spacing );color:var( --e-global-color-secondary );}.elementor-1709 .elementor-element.elementor-element-21e045b{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;text-align:center;font-size:50px;font-weight:700;color:#0066B2;}.elementor-1709 .elementor-element.elementor-element-21e045b.elementor-element{--align-self:center;}.elementor-1709 .elementor-element.elementor-element-90c0afb{text-align:center;font-family:"League Spartan", Sans-serif;font-size:25px;font-weight:400;line-height:26px;color:var( --e-global-color-3163ab7 );}.elementor-1709 .elementor-element.elementor-element-01b8157{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--padding-top:50px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}.elementor-1709 .elementor-element.elementor-element-5309109{width:var( --container-widget-width, 1000px );max-width:1000px;--container-widget-width:1000px;--container-widget-flex-grow:0;}.elementor-1709 .elementor-element.elementor-element-5309109.elementor-element{--align-self:center;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-1709 .elementor-element.elementor-element-8d92af2{--content-width:100%;}.elementor-1709 .elementor-element.elementor-element-95826de{--width:1100px;}}@media(max-width:1024px) and (min-width:768px){.elementor-1709 .elementor-element.elementor-element-95826de{--width:100%;}}@media(max-width:1024px){.elementor-1709 .elementor-element.elementor-element-8d92af2{--padding-top:150px;--padding-bottom:50px;--padding-left:50px;--padding-right:50px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1709 .elementor-element.elementor-element-ea4f4c3{z-index:0;}.elementor-1709 .elementor-element.elementor-element-ea4f4c3 img{height:100%;object-fit:cover;}.elementor-1709 .elementor-element.elementor-element-95826de{--padding-top:75px;--padding-bottom:50px;--padding-left:30px;--padding-right:030px;}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1709 .elementor-element.elementor-element-6c19962{font-size:var( --e-global-typography-9f0072e-font-size );letter-spacing:var( --e-global-typography-9f0072e-letter-spacing );}.elementor-1709 .elementor-element.elementor-element-21e045b{text-align:center;}.elementor-1709 .elementor-element.elementor-element-90c0afb{text-align:center;}.elementor-1709 .elementor-element.elementor-element-01b8157{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}@media(max-width:767px){.elementor-1709 .elementor-element.elementor-element-8d92af2{--margin-top:-232px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:150px;--padding-bottom:20px;--padding-left:30px;--padding-right:30px;}.elementor-widget-image .widget-image-caption{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1709 .elementor-element.elementor-element-95826de{--padding-top:150px;--padding-bottom:20px;--padding-left:30px;--padding-right:30px;}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-1709 .elementor-element.elementor-element-6c19962{font-size:var( --e-global-typography-9f0072e-font-size );letter-spacing:var( --e-global-typography-9f0072e-letter-spacing );}.elementor-1709 .elementor-element.elementor-element-21e045b{font-size:1px;}.elementor-1709 .elementor-element.elementor-element-90c0afb{padding:0px 0px 20px 0px;}.elementor-1709 .elementor-element.elementor-element-01b8157{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for image, class: .elementor-element-ea4f4c3 *//* fill container, sit behind content */
.elementor-1709 .elementor-element.elementor-element-ea4f4c3 { position:absolute; inset:0; z-index:-1; }
.elementor-1709 .elementor-element.elementor-element-ea4f4c3 img { width:100%; height:100%; object-fit:cover; }/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-8d92af2 *//* === Hero/Nav banner background (Elementor Custom CSS) === */
.elementor-1709 .elementor-element.elementor-element-8d92af2 {
    
  /* sizing/layout from your spec (adjust height as needed) */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 100px;
  gap: 20px;
  min-height: 592px;
  /* background stack: gradient ON TOP of image */
  background-image:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0) 29.11%,
      rgba(255, 255, 255, 0.2) 57.58%,
      rgba(255, 255, 255, 0.6) 98.92%
    ),
    url("/wp-content/uploads/2025/09/masc-hero-bg-blue-waves.png"); /* swap to your asset */
  background-repeat: no-repeat, no-repeat;
  
  background-position: bottom right;   /* gradient, image */
  background-size: 100% 100%, cover;    
  /* gradient stretches, image covers */
}

/* Optional: make sure content never overflows narrow screens */
@media (max-width: 1024px) {
  .elementor-1709 .elementor-element.elementor-element-8d92af2 {
    padding-bottom: 72px;
    min-height: 520px;
    background-position: center top, right -60px top; /* nudge art if needed */
    background-size: 100% 100%, cover;
  }
}
@media (max-width: 767px) {
  .elementor-1709 .elementor-element.elementor-element-8d92af2 {
    padding-bottom: 56px;
    min-height: 460px;
    background-position: center top, left -80px top;
    background-size: 100% 100%, 120% auto; /* zoom the wave for mobile */
  }
}

/* --- If you prefer a normal class instead of Elementor's '.elementor-1709 .elementor-element.elementor-element-8d92af2' --- */
/* .surgery-hero { ...same rules as above... } *//* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-5309109 *//* Keep your existing styles… plus these small additions */
.namePreview{display:block; margin:6px 0 0; color:#666}
.namePreview code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace; background:#f2f2f2; padding:2px 6px; border-radius:6px}

/* Ensure invalid after first submit shows red borders */
#masc-multi-upload.was-submitted input:invalid,
#masc-multi-upload.was-submitted select:invalid{
  border-color:#D70040 !important;
  box-shadow:0 0 0 3px rgba(215,0,64,.08);
}

hr { margin: 20px 0!important; }

#masc-multi-upload{
  max-width:760px;margin:0 auto;background:#F8FAFC;padding:24px;border-radius:14px
}
#masc-multi-upload label{
  display:block;font-weight:600;margin-top:12px
}
#masc-multi-upload input[type=text],
#masc-multi-upload input[type=date],
#masc-multi-upload input[type=email],
#masc-multi-upload input[type=file],
#masc-multi-upload select{
  width:100%;padding:11px;border:1px solid #D7DDE4;border-radius:10px;margin-top:6px;background:#fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rowHead{display:flex;justify-content:space-between;align-items:center;margin-top:14px}
.removeRow{background:#eee;border:0;border-radius:8px;padding:6px 10px;cursor:pointer}
.removeRow:hover{background:#e0e0e0}

button { padding: 9px 24px 8px !important; }

.masc-submit{
  margin-top:14px;background:#D70040;color:#fff;border:none;border-radius:999px;padding:0px;
  font-weight:700;cursor:pointer
}
.masc-submit:hover{background:#B41638}

/* Error summary box */
.error-box{
  border-left:6px solid #D70040;background:#fff1f5;color:#6b1111;
  padding:12px 14px;border-radius:10px;margin:14px 0;
}
.error-box .error-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.error-box .error-dismiss{
  background:transparent;border:none;font-size:16px;cursor:pointer;line-height:1;color:#6b1111;
}
#errorList{margin:6px 0 0 18px;padding:0}
#errorList li{margin:4px 0}

/* After a submit attempt, highlight invalid fields in brand red */
#masc-multi-upload.was-submitted input:invalid,
#masc-multi-upload.was-submitted select:invalid,
#masc-multi-upload.was-submitted textarea:invalid{
  border-color:#D70040 !important;
  box-shadow:0 0 0 3px rgba(215,0,64,.08);
  outline: none;
}

/* Checkbox label tint when invalid */
.label-invalid{
  color:#B41638;
}

/* Optional: focus style for accessibility */
#masc-multi-upload input:focus,
#masc-multi-upload select:focus{
  box-shadow:0 0 0 3px rgba(0,102,178,.15);
  border-color:#0066B2;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'League Spartan';
	font-style: normal;
	font-weight: 400;
	font-display: auto;
	src: url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Regular.woff2') format('woff2'),
		url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Regular.ttf') format('truetype');
}
@font-face {
	font-family: 'League Spartan';
	font-style: normal;
	font-weight: 500;
	font-display: auto;
	src: url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Medium.woff2') format('woff2'),
		url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Medium.ttf') format('truetype');
}
@font-face {
	font-family: 'League Spartan';
	font-style: normal;
	font-weight: 600;
	font-display: auto;
	src: url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-SemiBold.woff2') format('woff2'),
		url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-SemiBold.ttf') format('truetype');
}
@font-face {
	font-family: 'League Spartan';
	font-style: normal;
	font-weight: 700;
	font-display: auto;
	src: url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Bold.woff2') format('woff2'),
		url('https://mascdental.com/wp-content/uploads/2025/09/LeagueSpartan-Bold.ttf') format('truetype');
}
/* End Custom Fonts CSS */