/**
 * File: msi-mobile-polish.css
 * Version: 1.0.24-dev
 * Description: Native BeTheme mobile navigation, homepage hero and About Us team sizing.
 */
/* The native menu toggle can appear on tablets too. Do not change its visibility,
 * position, JS, drawer width, animation or desktop navigation. */
body.msi-theme #Top_bar .responsive-menu-toggle { color:var(--msi-red) !important; }
body.msi-theme #Top_bar .responsive-menu-toggle:is(:hover,:focus-visible) { color:var(--msi-green-dark) !important; }
body.msi-theme #Top_bar .responsive-menu-toggle svg { color:inherit !important; }
body.msi-theme #Top_bar .responsive-menu-toggle svg [stroke]:not([stroke="none"]) { stroke:currentColor !important; }
body.msi-theme #Top_bar .responsive-menu-toggle svg [fill]:not([fill="none"]) { fill:currentColor !important; }
body.msi-theme #Top_bar .responsive-menu-toggle svg:not([fill="none"]) { fill:currentColor !important; }
body.msi-theme #Top_bar .responsive-menu-toggle i { color:inherit !important; }
body.msi-theme #Side_slide { background:var(--msi-red-dark) !important; border-color:var(--msi-red-dark) !important; color:#fff !important; }
body.msi-theme #Side_slide :is(.close-wrapper,.extras,.menu_wrapper) { background:transparent !important; }
body.msi-theme #Side_slide .close-wrapper a.close { color:#fff !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) :is(ul,li) { background:transparent !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li { border-color:rgba(255,255,255,.18) !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a { color:#fff !important; line-height:1.45 !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a:not(.menu-toggle) { font-size:15px !important; font-weight:500 !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li:is(.current-menu-item,.current-menu-parent,.current-menu-ancestor,.current_page_item,.current_page_parent,.current_page_ancestor) > a:not(.menu-toggle),
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a:not(.menu-toggle):is(:hover,:focus-visible,[aria-current="page"],[aria-current="true"]) { background:#fff !important; color:var(--msi-red-dark) !important; font-weight:700 !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a > span { color:inherit !important; font-weight:inherit !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a.menu-toggle { color:#fff !important; background:var(--msi-red-dark) !important; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a.menu-toggle:is(:hover,:focus-visible) { background:var(--msi-red) !important; }
body.msi-theme #Side_slide :is(a,button):focus-visible { outline:2px solid #fff !important; outline-offset:-3px; }
body.msi-theme #Side_slide :is(#menu,.menu_wrapper) ul li > a:not(.menu-toggle):focus-visible { outline-color:var(--msi-green-dark) !important; }

@media(max-width:767px) {
  /* Target actual homepage hero section and optional semantic class. Leave all other sections alone. */
  body.msi-theme.home.page #Content :is(.mcb-section-dekmbi5s,.msi-home-hero),
  body.msi-theme.home.page #Content :is(.mcb-section-dekmbi5s,.msi-home-hero) :is(.section_wrapper,.wrap,.mcb-wrap-inner,.column_image,.mcb-column-inner,.image_frame,.image_wrapper) {
      width:100% !important; max-width:none !important; min-width:0 !important; margin:0 !important; padding:0 !important; box-sizing:border-box;
  }
  body.msi-theme.home.page #Content :is(.mcb-section-dekmbi5s,.msi-home-hero) .image_wrapper img { display:block; width:100% !important; max-width:100% !important; height:auto !important; margin:0 !important; object-fit:contain; }
  /* Do not size images with percentages of auto-sized grid tracks. A bounded
   * intrinsic 4:5 frame prevents a late-loaded image from expanding the row. */
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner {
      height:auto !important; min-height:0 !important; max-height:none !important;
      grid-template-columns:minmax(0,34%) minmax(0,1fr); grid-template-rows:auto auto auto;
      align-items:start; align-content:start;
  }
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner > .column_image {
      grid-column:1; grid-row:1 / 4; align-self:center; height:auto !important; min-height:0 !important; max-height:none !important;
  }
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner > .column_image :is(.mcb-column-inner,.image_frame,.image_wrapper) {
      width:100% !important; height:auto !important; min-height:0 !important; max-height:none !important; margin:0 !important; padding:0 !important;
  }
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner > .column_image .image_wrapper { aspect-ratio:4/5; position:relative; overflow:hidden; background:#f4f6f5; }
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner > .column_image img {
      position:absolute !important; inset:0; width:100% !important; height:100% !important; min-height:0 !important; max-height:100% !important;
      max-width:100% !important; aspect-ratio:auto; object-fit:contain !important; object-position:center !important; margin:0 !important;
  }
  body.msi-theme #Content .msi-about-team > .section_wrapper > .wrap:last-child > .mcb-wrap-inner > .wrap > .mcb-wrap-inner > :is(.column_heading,.column_column) { min-width:0; overflow-wrap:anywhere; }
  body.msi-theme #Content :is(.msi-about-who,.msi-about-vision-mission,.msi-about-services,.msi-about-team,.msi-about-clients,.msi-about-cta) .column_heading .title { max-width:100%; white-space:normal !important; overflow-wrap:anywhere; }
}
