/*
 * Flovan Healthcare Center: site styles for the static rebuild.
 *
 * Part 1 reproduces the CSS that BeTheme generated at runtime from the saved theme
 * options (option "betheme" in the Dec 2024 database): fonts, sizes, colours,
 * button variables and grid width. Values are copied from those options.
 * Part 2 covers the pieces that WordPress plugins/theme PHP rendered (header template,
 * hero slider, popup, search, sticky elements, lightbox) and that are rebuilt here.
 */

/* ---------- Part 1: BeTheme theme options ---------- */

/* Declared on body (not :root) because be.css sets its defaults on body. */
body {
  --flovan-theme: #00f1c7;
  --flovan-theme-hover: #00c19f;
  --flovan-dark: #001b37;

  --mfn-button-font-family: inherit;
  --mfn-button-font-size: 15px;
  --mfn-button-font-weight: 400;
  --mfn-button-font-style: normal;
  --mfn-button-letter-spacing: 0px;
  --mfn-button-padding: 16px 35px 16px 35px;
  --mfn-button-border-width: 0;
  --mfn-button-border-style: solid;
  --mfn-button-border-radius: 50px 50px 50px 50px;
  --mfn-button-gap: 10px;
  --mfn-button-transition: 0.2s;
  --mfn-button-color: #ffffff;
  --mfn-button-color-hover: #ffffff;
  --mfn-button-bg: #000000;
  --mfn-button-bg-hover: #000000;
  --mfn-button-border-color: transparent;
  --mfn-button-border-color-hover: transparent;
  --mfn-button-icon-color: #ffffff;
  --mfn-button-icon-color-hover: #ffffff;
  --mfn-button-box-shadow: unset;
  --mfn-button-theme-color: #ffffff;
  --mfn-button-theme-color-hover: #ffffff;
  --mfn-button-theme-bg: #00f1c7;
  --mfn-button-theme-bg-hover: #00e4ba;
  --mfn-button-theme-border-color: transparent;
  --mfn-button-theme-border-color-hover: transparent;
  --mfn-button-theme-icon-color: #ffffff;
  --mfn-button-theme-icon-color-hover: #ffffff;
  --mfn-button-theme-box-shadow: unset;
  --mfn-button-action-color: #757575;
  --mfn-button-action-bg: #000000;
}

html { background-color: #ffffff; }
#Wrapper, #Content { background-color: #ffffff; }

body, input[type="text"], input[type="tel"], input[type="email"], input[type="search"], textarea, select {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.lead, .big { font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
#Subheader .title, h1, h2, h3, h4, h5, h6, blockquote {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

body { font-size: 15px; line-height: 27px; font-weight: 400; letter-spacing: 0px; color: #7a7c7e; }
.lead, .big { font-size: 17px; line-height: 29px; font-weight: 400; color: #2e2e2e; }
#Subheader .title { font-size: 45px; line-height: 28px; font-weight: 600; letter-spacing: 0px; }
h1 { font-size: 54px; line-height: 58px; font-weight: 600; letter-spacing: 0px; }
h2 { font-size: 46px; line-height: 54px; font-weight: 800; letter-spacing: 0px; }
h3 { font-size: 32px; line-height: 42px; font-weight: 600; letter-spacing: 0px; }
h4 { font-size: 24px; line-height: 34px; font-weight: 400; letter-spacing: 0px; }
h5 { font-size: 20px; line-height: 30px; font-weight: 400; letter-spacing: 1px; }
h6 { font-size: 18px; line-height: 28px; font-weight: 400; letter-spacing: 0px; }

/* "font-size-responsive" auto scaling: x0.85 / x0.75 / x0.6, minimum 13px / 19px line */
@media only screen and (min-width: 768px) and (max-width: 959px) {
  body { font-size: 13px; line-height: 23px; }
  .lead, .big { font-size: 14px; line-height: 25px; }
  #Subheader .title { font-size: 38px; line-height: 24px; }
  h1 { font-size: 46px; line-height: 49px; }
  h2 { font-size: 39px; line-height: 46px; }
  h3 { font-size: 27px; line-height: 36px; }
  h4 { font-size: 20px; line-height: 29px; }
  h5 { font-size: 17px; line-height: 26px; letter-spacing: 1px; }
  h6 { font-size: 15px; line-height: 24px; }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  body { font-size: 13px; line-height: 20px; }
  .lead, .big { font-size: 13px; line-height: 22px; }
  #Subheader .title { font-size: 34px; line-height: 21px; }
  h1 { font-size: 41px; line-height: 44px; }
  h2 { font-size: 35px; line-height: 41px; }
  h3 { font-size: 24px; line-height: 32px; }
  h4 { font-size: 18px; line-height: 26px; }
  h5 { font-size: 15px; line-height: 23px; letter-spacing: 1px; }
  h6 { font-size: 14px; line-height: 21px; }
}
@media only screen and (max-width: 479px) {
  body { font-size: 13px; line-height: 19px; }
  .lead, .big { font-size: 13px; line-height: 19px; }
  #Subheader .title { font-size: 27px; line-height: 19px; }
  h1 { font-size: 32px; line-height: 35px; }
  h2 { font-size: 28px; line-height: 32px; }
  h3 { font-size: 19px; line-height: 25px; }
  h4 { font-size: 14px; line-height: 20px; }
  h5 { font-size: 13px; line-height: 19px; letter-spacing: 1px; }
  h6 { font-size: 13px; line-height: 19px; }
}

/* Grid: grid-width 1122, mobile-grid-width 480, mobile-site-padding 33 */
@media only screen and (min-width: 1240px) {
  .section_wrapper, .container { max-width: 1102px; }
}
@media only screen and (max-width: 767px) {
  .content_wrapper .section_wrapper, .container { max-width: 550px !important; padding-left: 33px; padding-right: 33px; }
}

/* Colours (skin "custom") */
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #000000; }
a { color: #00f1c7; }
a:hover { color: #00c19f; }
.themecolor, .themecolor a, .opening_hours .opening_hours_wrapper li span, .fancy_heading_icon .icon_top { color: #00f1c7; }
.themebg { background-color: #00f1c7; }
*::selection { background-color: #00f1c7; color: #fff; }
hr { background-color: #00f1c7; color: #00f1c7; }
ul li, ol li { color: #737E86; }
blockquote { color: #444444; }
.underline-links .column_attr a:not(.button):not(.mfn-link), .underline-links .desc a { text-decoration: underline; }

input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  color: #626262; background-color: #ffffff; border-color: #EBEBEB;
}
input:focus, textarea:focus, select:focus { color: #3d3d3d; background-color: #e9f5fc !important; border-color: #d5e5ee; }
::placeholder { color: #929292; }

/* Section helper from theme "custom-css" */
.section-border-top { border-top: 1px solid #e8e8e8; }
.clinic3-hoverbox .hover_box { text-align: left; }

/* Subheader (subheader-style both-left, padding 200px 0 100px, image home_clinic3_pic15.png) */
#Subheader {
  padding: 200px 0 100px;
  background-color: #001b37;
  background-image: url("/wp-content/uploads/2018/07/home_clinic3_pic15.png");
  background-repeat: no-repeat;
  background-position: center top;
}
#Subheader:after { display: none; }
#Subheader .title { color: #ffffff; width: 100%; float: none; }

/* Footer */
#Footer { background-color: #ffffff; color: #8c8c8c; }
#Footer .widgets_wrapper { padding: 80px 0; }
#Footer h1, #Footer h2, #Footer h3, #Footer h4, #Footer h5, #Footer h6 { color: #000000; }
#Footer a { color: #5e5e5e; }
#Footer a:hover { color: #00f1c7; }
#Footer .themecolor, #Footer .themecolor a, #Footer .widget_custom_html h4.themecolor a { color: #00f1c7; }
#Footer ul li { color: #8c8c8c; }
#Footer .footer_copy { border-top: 1px solid rgba(0, 0, 0, 0.1); }
#Footer .footer_copy .social li a { color: #65666C; }
#Footer .footer_copy .social li a:hover { color: #00f1c7; }
#Footer .footer_button { color: #65666C !important; background-color: transparent; box-shadow: none !important; }
#Footer .footer_button:after { display: none !important; }
#Footer .widget h4 { margin-bottom: 15px; }
#Footer .textwidget ul { list-style: none; margin: 0; }

/* ---------- Part 2: rebuilt components ---------- */

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #000; color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
:focus-visible { outline: 2px solid #00c19f; outline-offset: 2px; }

/* Header template "MyHeader" (post 227): section background rgba(61,67,69,0.77), white menu links */
.flovan-header { position: relative; z-index: 30; background-color: rgba(61, 67, 69, 0.77); }
.flovan-header-inner {
  display: flex; align-items: center; gap: 20px;
  max-width: 1220px; margin: 0 auto; padding: 10px 20px; box-sizing: border-box;
}
.flovan-logo { flex: 0 0 250px; width: 250px; display: flex; align-items: center; line-height: 0; }
.flovan-logo img { width: 250px; height: auto; max-width: 100%; }
.flovan-menu { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.flovan-menu ul { display: flex; flex-wrap: wrap; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.flovan-menu li { margin: 0; }
/* The template set link colour #FFFFFF on ".mfn-header-menu > li.mfn-menu-li > a.mfn-menu-link"
   at a specificity above BeTheme's current/hover defaults, so every state rendered white. */
.flovan-header .mfn-header-menu > .mfn-menu-li > .mfn-menu-link,
.flovan-header .mfn-header-menu > .mfn-menu-li.current-menu-item > .mfn-menu-link,
.flovan-header .mfn-header-menu > .mfn-menu-li > .mfn-menu-link:hover {
  display: block; padding: 8px 20px; color: #ffffff; text-decoration: none;
  font-family: "Montserrat", sans-serif; font-size: 16px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
@media only screen and (min-width: 960px) and (max-width: 1239px) {
  .flovan-header .mfn-header-menu > .mfn-menu-li > .mfn-menu-link { padding: 8px 12px; }
  .flovan-logo { flex-basis: 200px; width: 200px; }
  .flovan-logo img { width: 200px; }
}
.flovan-book.button { flex: 0 0 auto; margin: 0; }
.flovan-icon-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 0;
  background: transparent !important; box-shadow: none !important; color: #ffffff !important; font-size: 20px; cursor: pointer;
}
.flovan-icon-btn:hover { color: #00f1c7 !important; }
.flovan-icon-btn:after { display: none !important; }
.flovan-burger { display: none; }

@media only screen and (max-width: 959px) {
  .flovan-menu { display: none; }
  .flovan-burger { display: inline-flex; }
  .flovan-header-inner { flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .flovan-logo { flex-basis: 200px; width: 200px; }
  .flovan-logo img { width: 200px; }
  .flovan-book { margin-left: auto !important; }
}
@media only screen and (max-width: 767px) {
  .flovan-search-toggle { display: none; } /* header_icon search: hide-mobile */
  /* --hdr-edge: visual gap at both ends. The burger is a 44px button with a ~20px icon, so its
     right padding is reduced by the button's own side space to line the icon up with the logo. */
  .flovan-header-inner { --hdr-edge: 16px; flex-wrap: nowrap; padding: 10px calc(var(--hdr-edge) - 12px) 10px var(--hdr-edge); gap: 6px; }
  .flovan-logo { flex: 0 1 120px; width: 120px; min-width: 0; }
  .flovan-logo img { width: 120px; }
  .flovan-book.button { font-size: 14px; line-height: 8px; padding: 14px 16px; transform: none; white-space: nowrap; }
}

/* Side menu (burger, menu_pos right) */
.flovan-side-menu[hidden], .flovan-popup[hidden], .flovan-search[hidden], .flovan-lightbox[hidden] { display: none !important; }
.flovan-side-menu { position: fixed; inset: 0; z-index: 9600; }
.flovan-side-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.flovan-side-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 280px; max-width: 85vw; overflow-y: auto;
  background: #191919; padding: 70px 0 30px; box-sizing: border-box;
}
.flovan-side-panel ul { list-style: none; margin: 0; padding: 0; }
.flovan-side-panel li { margin: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.flovan-side-panel a { display: block; padding: 12px 30px; color: #A6A6A6; text-decoration: none; font-weight: 700; font-size: 16px; }
.flovan-side-panel a:hover, .flovan-side-panel .current-menu-item > a { color: #ffffff; }
.flovan-side-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; padding: 0; border: 0; background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 22px; cursor: pointer; }

/* Home hero, rebuilt from Revolution Slider "clinic3" (single slide, Nov 2024 backup) */
.flovan-hero { position: relative; overflow: hidden; height: 768px; max-height: 90vh; min-height: 480px; background: #E7E7E7; }
.flovan-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center center; background-repeat: no-repeat; }
.flovan-hero-inner {
  position: relative; z-index: 2; height: 100%; box-sizing: border-box;
  max-width: 1240px; margin: 0 auto; padding: 0 0 0 158px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.flovan-hero-title { margin: 0 0 40px; font-family: "Montserrat", sans-serif; font-size: 80px; line-height: 90px; font-weight: 600; color: #ffffff; }
.flovan-hero-btn {
  display: inline-block; background: #ffffff; color: #000000; text-decoration: none;
  font-family: "Montserrat", sans-serif; font-size: 27px; line-height: 27px; font-weight: 800; letter-spacing: 2px;
  padding: 21px 69px; border-radius: 2px;
}
.flovan-hero-btn:hover { color: #000000; background: #f2f2f2; }
@media only screen and (max-width: 1239px) {
  .flovan-hero-inner { padding-left: 101px; }
}
@media only screen and (max-width: 959px) {
  .flovan-hero { height: 600px; }
  .flovan-hero-inner { padding-left: 60px; }
  .flovan-hero-title { font-size: 60px; line-height: 70px; }
  .flovan-hero-btn { font-size: 22px; line-height: 22px; padding: 18px 50px; }
}
@media only screen and (max-width: 767px) {
  .flovan-hero { height: 480px; }
  .flovan-hero-inner { padding: 0 33px; }
  .flovan-hero-title { font-size: 40px; line-height: 50px; margin-bottom: 25px; }
  .flovan-hero-btn { font-size: 16px; line-height: 16px; letter-spacing: 1px; padding: 16px 32px; font-weight: 700; }
}

/* Builder pieces BeTheme rendered with extra JS/CSS */
.column_image .image_frame.stretch img, .column_image .stretch .image_wrapper img { width: 100%; }
.column_image .wp-caption-text { text-align: center; margin-top: 10px; }
.mfn-divider { display: flex; }
.mfn-divider-inner { width: 100%; margin-top: var(--mfn-divider-gap-top, 0); margin-bottom: var(--mfn-divider-gap-bottom, 0); border-top: 1px solid rgba(0, 0, 0, 0.08); }
.column_attr ul { margin-left: 0; padding-left: 0; list-style-position: inside; }

/* WordPress gallery, 3 columns, full size, default BeTheme style */
.gallery { margin: 0 auto; display: flex; flex-wrap: wrap; }
.gallery .gallery-item { margin: 0; padding: 0 1% 2%; box-sizing: border-box; width: 33.33%; text-align: center; }
.gallery .gallery-icon a { display: block; line-height: 0; }
.gallery .gallery-icon img { width: 100%; height: auto; border: 2px solid #cfcfcf; box-sizing: border-box; }

/* Hover box with video lightbox */
.hover_box a { cursor: pointer; }

/* Contact form (Contact Form 7 form "Contact Form") */
.flovan-form form { overflow: hidden; }
.flovan-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; }
.flovan-form fieldset .column { box-sizing: border-box; padding: 0 1%; margin-bottom: 15px; float: none; }
.flovan-form fieldset .one-second { width: 50%; }
.flovan-form fieldset .one { width: 100%; }
@media only screen and (max-width: 767px) { .flovan-form fieldset .one-second { width: 100%; } }
.flovan-form input[type="text"], .flovan-form input[type="email"], .flovan-form textarea { width: 100%; box-sizing: border-box; }
.flovan-form input[type="submit"] { width: 100%; }
.flovan-form fieldset[disabled] { opacity: 0.55; }
.flovan-form fieldset[disabled] input, .flovan-form fieldset[disabled] textarea { cursor: not-allowed; }
.flovan-form-notice { background: #fef8ea; color: #8a5b20; padding: 12px 16px; border-radius: 5px; margin: 0 1% 20px; }
.flovan-form-notice a { color: #8a5b20; text-decoration: underline; }
.flovan-form-notice-wa { background: #eaf8ef; color: #1f5f3a; }
.flovan-form-notice-wa a { color: #1f5f3a; }
.flovan-form button.flovan-form-wa { width: 100%; background-color: #25D366; color: #fff; gap: 10px; }
.flovan-form button.flovan-form-wa:hover { background-color: #1ebe5a; color: #fff; }
.flovan-form-result:empty { display: none; }
.flovan-form-result { margin: 10px 1% 0; padding: 12px 16px; border-radius: 5px; }
.flovan-form-result.is-ok { background: #eaf8ef; color: #3a8b5b; }
.flovan-form-result.is-error { background: #fae9e8; color: #962317; }

/* Popup Maker "default-theme", size medium (60%), fade, position center top 100px */
.flovan-popup { position: fixed; inset: 0; z-index: 1999999999; overflow-y: auto; }
.flovan-popup-overlay { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.5); }
.flovan-popup-box {
  position: relative; width: 60%; max-width: 100%; margin: 100px auto 40px; box-sizing: border-box;
  background: #f9f9f9; color: #8c8c8c; padding: 18px; border: 1px solid #000; border-radius: 0;
  box-shadow: 1px 1px 3px 0 rgba(2, 2, 2, 0.23); animation: flovan-fade 0.35s ease;
}
.flovan-popup-title { color: #000; font-size: 32px; line-height: 36px; margin-bottom: 10px; }
.flovan-popup-content { color: #8c8c8c; font-size: 15px; line-height: 27px; }
.flovan-popup-content ol, .flovan-popup-content ul { margin: 10px 0 10px 25px; }
.flovan-popup-content li { color: #8c8c8c; }
.flovan-popup-close {
  position: absolute; top: 0; right: 0; width: auto; height: auto; min-width: 0; margin: 0;
  padding: 0 8px; line-height: 36px; font-size: 22px; border-radius: 0;
  background: #00b7cd !important; color: #fff !important; box-shadow: none !important;
}
@media only screen and (max-width: 767px) { .flovan-popup-box { width: 92%; margin-top: 60px; } }
@keyframes flovan-fade { from { opacity: 0; } to { opacity: 1; } }

/* Search overlay (search-overlay-color rgba(0,0,0,0.6)) */
.flovan-search { position: fixed; inset: 0; z-index: 9500; background: rgba(0, 0, 0, 0.6); overflow-y: auto; }
.flovan-search-box { max-width: 700px; margin: 120px auto 40px; padding: 0 20px; }
.flovan-search-form { position: relative; display: flex; align-items: center; background: #fff; border-radius: 5px; padding: 0 10px; }
.flovan-search-form > i { font-size: 20px; color: #626262; padding: 0 8px; }
.flovan-search-form input[type="search"] { flex: 1; margin: 0; border: 0; background: transparent !important; font-size: 18px; padding: 16px 8px; }
.flovan-search-close { width: 44px; height: 44px; padding: 0; border: 0; background: transparent !important; box-shadow: none !important; color: #626262 !important; font-size: 18px; cursor: pointer; }
.flovan-search-results { margin-top: 15px; background: #fff; border-radius: 5px; }
.flovan-search-results:empty { display: none; }
.flovan-search-results ul { list-style: none; margin: 0; padding: 10px 0; }
.flovan-search-results li { margin: 0; padding: 10px 20px; border-bottom: 1px solid #f0f0f0; }
.flovan-search-results li:last-child { border-bottom: 0; }
.flovan-search-results a { font-weight: 600; font-size: 17px; color: #000; }
.flovan-search-results a:hover { color: #00c19f; }
.flovan-search-results p { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: #7a7c7e; }
.flovan-search-results .flovan-search-empty { padding: 16px 20px; margin: 0; }

/* myStickyElements: phone tab, left/center on desktop, bottom bar on mobile, bg #26D37C */
.flovan-sticky-call { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 9000; }
.flovan-sticky-call a {
  display: flex; align-items: center; gap: 10px; height: 53px; padding: 0 16px; box-sizing: border-box;
  background: #26D37C; color: #fff; text-decoration: none; font-size: 16px; font-weight: 600;
  border-radius: 0 6px 6px 0; max-width: 53px; overflow: hidden; white-space: nowrap; transition: max-width 0.3s ease;
}
.flovan-sticky-call a i { font-size: 20px; flex: 0 0 auto; }
.flovan-sticky-call a, .flovan-sticky-social a { touch-action: manipulation; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.15); }
/* Hover effects only for real mouse pointers. On iOS a :hover rule that changes size makes the
   first tap act as "hover" instead of following the tel:/wa.me link. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .flovan-sticky-call a:hover { max-width: 280px; color: #fff; }
}
.flovan-sticky-call a:focus-visible { max-width: 280px; color: #fff; }
@media only screen and (max-width: 767px) {
  .flovan-sticky-call { top: auto; bottom: 0; left: 0; right: 0; transform: none; }
  .flovan-sticky-call a, .flovan-sticky-call a:hover, .flovan-sticky-call a:focus-visible { max-width: none; justify-content: center; border-radius: 0; height: 46px; }
  body { padding-bottom: 46px; }
}

/* Sticky Social Icons: right, top 278px, 44x44, icon 18px, rounded */
.flovan-sticky-social { position: fixed; right: 0; top: 278px; z-index: 8999; list-style: none; margin: 0; padding: 0; }
.flovan-sticky-social li { margin: 0 0 2px; padding: 0; }
.flovan-sticky-social a {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  background: var(--bg); color: #fff; font-size: 18px; border-radius: 6px 0 0 6px; text-decoration: none;
  transition: background-color 0.2s ease, width 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .flovan-sticky-social a:hover { background: var(--bg-h); color: #fff; width: 52px; }
}
@media only screen and (max-width: 767px) { .flovan-sticky-social { top: auto; bottom: 60px; } .flovan-sticky-social a { width: 38px; height: 38px; font-size: 16px; } }

/* Lightbox */
.flovan-lightbox { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; }
.flovan-lightbox-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.85); }
.flovan-lightbox-stage { position: relative; z-index: 1; max-width: 92vw; max-height: 86vh; line-height: 0; }
.flovan-lightbox-stage img, .flovan-lightbox-stage video { max-width: 92vw; max-height: 86vh; width: auto; height: auto; display: block; }
.flovan-lightbox button {
  position: absolute; z-index: 2; width: 48px; height: 48px; padding: 0; margin: 0; border: 0; border-radius: 0;
  background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 28px; cursor: pointer;
}
.flovan-lightbox-close { top: 10px; right: 10px; }
.flovan-lightbox-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.flovan-lightbox-next { right: 10px; top: 50%; transform: translateY(-50%); }
.flovan-lightbox.is-single .flovan-lightbox-prev, .flovan-lightbox.is-single .flovan-lightbox-next { display: none; }

/* Informational pages and 404 */
.flovan-notice .column_attr h3 a { color: inherit; }
#Error_404 { padding: 100px 0; }

body.flovan-noscroll { overflow: hidden; }

/* "Need an ambulance?" prompt */
.flovan-toast[hidden] { display: none !important; }
.flovan-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 9400; width: 380px; max-width: calc(100vw - 40px); box-sizing: border-box;
  display: flex; align-items: center; gap: 12px; padding: 14px 44px 14px 14px;
  background: #ffffff; border-radius: 14px; border-left: 5px solid #e53935;
  box-shadow: 0 12px 32px rgba(0, 27, 55, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(24px); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease;
}
.flovan-toast.is-in { transform: none; opacity: 1; }
.flovan-toast-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: #fdecea; color: #e53935; font-size: 20px;
}
.flovan-toast.is-in .flovan-toast-icon { animation: flovan-pulse 1.6s ease-out 2; }
@keyframes flovan-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.45); } 100% { box-shadow: 0 0 0 14px rgba(229, 57, 53, 0); } }
.flovan-toast-text { flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.flovan-toast-text strong { display: block; color: #001b37; font-size: 16px; font-weight: 700; }
.flovan-toast-text span { display: block; color: #6b6d6f; font-size: 13px; margin-top: 2px; }
.flovan-toast-call {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; min-height: 44px; box-sizing: border-box;
  background: #e53935; color: #fff !important; border-radius: 50px; font-weight: 700; font-size: 14px; text-decoration: none !important; white-space: nowrap;
}
.flovan-toast-call:hover { background: #c62828; }
.flovan-toast-close {
  position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; padding: 0; margin: 0; border: 0; border-radius: 50%;
  background: transparent !important; box-shadow: none !important; color: #8c8c8c !important; font-size: 22px; line-height: 36px; cursor: pointer;
}
.flovan-toast-close:hover { color: #001b37 !important; }
@media (prefers-reduced-motion: reduce) { .flovan-toast { transition: none; } .flovan-toast.is-in .flovan-toast-icon { animation: none; } }

/* ---------- Phone layout (mobile usability pass, 2026-11-02) ----------
   BeTheme desktop spacing collapsed into one column produced very tall pages with large gaps.
   Desktop/tablet (768px+) are unchanged. */
.flovan-sticky-call a.flovan-sticky-wa { display: none; }
@media only screen and (max-width: 767px) {
  /* compact page-title banner */
  #Subheader { padding: 60px 0 36px; }

  /* builder section and wrap spacing */
  .mcb-section[style*="padding-top:100px"], .mcb-section[style*="padding-top:110px"] { padding-top: 56px !important; }
  .mcb-section[style*="padding-bottom:100px"], .mcb-section[style*="padding-bottom:65px"], .mcb-section[style*="padding-bottom:60px"] { padding-bottom: 32px !important; }
  .column_placeholder { display: none !important; }
  .mcb-column-inner { margin-bottom: 24px; }
  /* video panels: 240px top padding -> compact, background image fills the panel */
  .mcb-wrap[style*="padding:240px"] { padding: 110px 8% 36px !important; background-size: cover !important; background-position: center center !important; }
  .mcb-wrap[style*="padding:70px 20%"], .mcb-wrap .column_attr[style*="padding:70px"] { padding: 40px 8% 32px !important; }
  .column_attr[style*="padding:100px 10%"] { padding: 48px 8% 32px !important; }
  .column_attr[style*="padding:30px 20%"] { padding: 32px 8% 48px !important; }
  .column_attr[style*="padding:50px 50px"] { padding: 36px 28px 28px !important; }

  /* gallery: 2 per row, square thumbnails */
  #Content .gallery .gallery-item { width: 50%; padding: 0 4px 8px; }
  .gallery .gallery-icon img { aspect-ratio: 1 / 1; object-fit: cover; border-width: 1px; }

  /* footer: less padding, real tap targets */
  #Footer .widgets_wrapper { padding: 40px 0 16px; }
  #Footer .widgets_wrapper .column { margin-bottom: 8px; }
  #Footer .textwidget li { margin-bottom: 0 !important; }
  #Footer .textwidget li a { display: inline-block; padding: 11px 0; }
  #Footer h4.themecolor a { display: inline-block; padding: 8px 0; }
  #Footer .footer_copy .social li { margin: 0; }
  #Footer .footer_copy .social li a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; font-size: 18px; }
  #Footer .footer_copy .social { float: none; margin: 4px 0 0; text-align: center; }
  #back_to_top { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }

  /* floating social icons: compact column on the right, above the bottom bar */
  .flovan-sticky-social { top: auto; bottom: 62px; }
  .flovan-sticky-social li { margin-bottom: 1px; }
  .flovan-sticky-social a { width: 36px; height: 36px; font-size: 16px; border-radius: 6px 0 0 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); }
  .flovan-sticky-call { display: flex; }
  .flovan-toast { left: 8px; right: 44px; bottom: 56px; width: auto; max-width: none; padding: 10px 34px 10px 10px; gap: 8px; }
  .flovan-toast-text strong { font-size: 14px; line-height: 1.25; }
  .flovan-toast-now { display: none; }
  .flovan-toast-icon { width: 38px; height: 38px; font-size: 17px; }
  .flovan-toast-text strong { font-size: 15px; }
  .flovan-toast-text span { font-size: 12px; }
  .flovan-toast-call { padding: 8px 12px; font-size: 13px; }
  .flovan-sticky-call a { flex: 1 1 50%; }
  .flovan-sticky-call a.flovan-sticky-wa { display: flex; background: #25D366; border-left: 1px solid rgba(255, 255, 255, 0.35); }
}
