/*
  Michigan Custom Machines — static site styles.
  Rebuilt to match the live WordPress (Porto theme) look; values measured from the live site.
  Page bodies keep the live WordPress/WPBakery class names, so selectors mirror them.
*/

:root {
  /* names used by MCM's carried-over custom CSS and page CSS */
  --porto-primary-color: #0080bf;
  --porto-grid-gutter-width: 30px;
  --primary: #0080bf;
  --primary-light: #0092d9;
  --dark: #212529;
  --heading: #212529;
  --body: #777;
  --container: 1140px;
}
@media (min-width: 992px) and (max-width: 1169px) { :root { --container: 960px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 14px/24px "Open Sans", sans-serif;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
p { margin: 0 0 1.25rem; }
ul, ol { margin: 0 0 1rem; padding-left: 2rem; }
strong, b { font-weight: 700; }
hr { border: 0; height: 1px; background: rgba(0,0,0,.08); margin: 1.375rem 0; }
figure { margin: 0 0 1rem; }
figcaption { font-size: .9em; color: var(--body); }
iframe { max-width: 100%; }
blockquote { border-left: 5px solid #eee; margin: 0 0 1rem; padding: .5rem 1rem; font-size: 1em; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; }

h1, h2, h3, h4, h5, h6 { margin-top: 0; color: var(--heading); letter-spacing: 0; }
h1 { font-size: 36px; line-height: 44px; font-weight: 400; margin-bottom: 32px; }
h2 { font-size: 30px; line-height: 40px; font-weight: 300; margin-bottom: 32px; }
h3 { font-size: 25px; line-height: 32px; font-weight: 400; margin-bottom: 20px; }
h4 { font-size: 20px; line-height: 27px; font-weight: 600; margin: 0 0 14px; }
h5 { font-size: 14px; line-height: 18px; font-weight: 600; margin: 0 0 14px; }
h6 { font-size: 14px; line-height: 18px; font-weight: 400; margin: 0 0 14px; }
@media (max-width: 575px) {
  body { font-size: 13px; line-height: 20px; }
  h1 { font-size: 33.43px; line-height: 36.67px; }
  h2 { font-size: 27.86px; line-height: 33.33px; }
  h3 { font-size: 23.21px; line-height: 26.67px; }
  h4 { font-size: 18.57px; line-height: 22.5px; }
  h5, h6 { font-size: 13px; line-height: 15px; }
}

.lead { font-size: 1.09375rem; font-weight: 300; line-height: 1.8rem; letter-spacing: -.05em; }
.wpb_text_column.lead, .wpb_text_column.lead p { line-height: 1.8rem; letter-spacing: -.05em; }
.wpb_text_column.featured { font-size: 1.25rem; line-height: 1.8rem; }
p.featured { font-size: 1.6em; line-height: 1.5em; }

/* ---------- grid & utilities (Bootstrap 5 subset) ---------- */
.container, .container-fluid { width: 100%; margin: 0 auto; padding: 0 15px; }
.container { max-width: var(--container); }
/* below 992px the theme dropped the fixed widths: full width with 30px sides (20px on phones, below) */
@media (max-width: 991px) { .container { max-width: none; padding-left: 30px; padding-right: 30px; } }
.container .container, .porto-wrap-container .container { width: 100%; padding-left: 0; padding-right: 0; }
.row { display: flex; flex-wrap: wrap; margin-left: -15px; margin-right: -15px; }
.row > * { position: relative; width: 100%; max-width: 100%; padding-left: 15px; padding-right: 15px; flex-shrink: 0; }
.col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 576px) {
  .col-sm-3 { flex: 0 0 auto; width: 25%; } .col-sm-4 { flex: 0 0 auto; width: 33.3333%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; } .col-sm-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 auto; width: 16.6667%; } .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.3333%; } .col-md-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; } .col-md-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.6667%; } .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.6667%; } .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.3333%; } .col-lg-5 { flex: 0 0 auto; width: 41.6667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; } .col-lg-7 { flex: 0 0 auto; width: 58.3333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.6667%; } .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.3333%; } .col-lg-12 { flex: 0 0 auto; width: 100%; }
}
.align-items-center, .row-align-items-center { align-items: center; }
.clearfix::after { content: ""; display: table; clear: both; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
@media (min-width: 576px) { .d-sm-inline-flex { display: inline-flex !important; } .float-sm-end { float: right !important; } }
@media (min-width: 992px) { .d-lg-inline-block { display: inline-block !important; } }
/* !important as in Bootstrap, so the class beats a component's own alignment (e.g. left-aligned icon boxes) */
.text-center { text-align: center !important; } .text-left, .text-start { text-align: left !important; } .text-right, .text-end { text-align: right !important; }
.text-uppercase { text-transform: uppercase; }
.font-weight-bold { font-weight: 700 !important; }
.text-dark { color: #222529 !important; }
.text-xs { font-size: .8em !important; }
.overflow-hidden { overflow: hidden; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .pb-0 { padding-bottom: 0 !important; }
.mt-3 { margin-top: 1rem !important; } .mb-3 { margin-bottom: 1rem !important; } .mb-4 { margin-bottom: 1.5rem !important; }
@media (min-width: 576px) { .mt-sm-0 { margin-top: 0 !important; } }
.py-2 { padding-top: .5rem !important; padding-bottom: .5rem !important; } .p-2 { padding: .5rem !important; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* Porto spacing utilities */
.m-t-xs { margin-top: 5px !important; } .m-t-sm { margin-top: 10px !important; } .m-t { margin-top: 15px !important; }
.m-t-md { margin-top: 20px !important; } .m-t-lg { margin-top: 30px !important; } .m-t-xl { margin-top: 40px !important; }
.m-b-xs { margin-bottom: 5px !important; } .m-b-sm { margin-bottom: 10px !important; } .m-b { margin-bottom: 15px !important; }
.m-b-md { margin-bottom: 20px !important; } .m-b-lg { margin-bottom: 30px !important; } .m-b-xl { margin-bottom: 40px !important; }
.m-l-xs { margin-left: 5px !important; } .m-l-sm { margin-left: 10px !important; } .m-l { margin-left: 15px !important; }
.m-l-md { margin-left: 20px !important; } .m-l-lg { margin-left: 30px !important; } .m-l-xl { margin-left: 40px !important; }
.m-r-xs { margin-right: 5px !important; } .m-r-sm { margin-right: 10px !important; } .m-r { margin-right: 15px !important; }
.m-r-md { margin-right: 20px !important; } .m-r-lg { margin-right: 30px !important; } .m-r-xl { margin-right: 40px !important; }
.heading-primary, .text-color-primary { color: var(--primary) !important; }
.b-none { border: medium none !important; }
.word-rotator b { font-style: normal; font-weight: inherit; }
h2.word-rotator { margin-bottom: 15px; }
.word-rotator .word-rotate-prefix { display: inline-block; vertical-align: middle; padding: .2em 0; margin-right: 6px; }
.word-rotator .word-rotator-items { vertical-align: middle; padding: .2em 0; font-weight: 700; }
.word-rotator-items { display: inline-flex !important; position: relative; text-align: left; }
.word-rotator-items b { display: inline-block; position: absolute; white-space: nowrap; left: 0; top: 0; }
.word-rotator-items b.active { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; cursor: pointer;
  border: 1px solid transparent; padding: .533rem .933rem; font-size: .8rem; line-height: 1.428571;
  border-radius: 0; transition: all .2s; user-select: none;
}
.btn-md { padding: .533rem .933rem; font-size: .8rem; line-height: 1.428571; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: #0098e3; border-color: #00a3f3; color: #fff; }
.btn-dark { background-color: var(--dark); border-color: var(--dark); color: #fff; }
.btn-default { background-color: #fff; border-color: #ccc; color: #333; }
.btn-default:hover { background-color: #f2f2f2; border-color: rgba(0,0,0,.06); color: #333; }
.btn-xs { padding: .2rem .5rem; font-size: .7rem; line-height: 1.5; }
.btn-modern { text-transform: uppercase; font-size: .75rem; font-weight: 600; padding: .75rem 1.5rem; }
.btn-borders { border-width: 3px; }
.btn-light { background-color: #fff; border-color: #fff; color: var(--dark); }

/* ---------- header ---------- */
.header-wrapper { position: relative; z-index: 1002; }
#header { position: relative; color: #999; font-size: 14px; line-height: 24px; }
#header .header-row { display: flex; align-items: center; justify-content: space-between; }
#header .header-col { display: flex; align-items: center; }
#header .header-top { border-bottom: 1px solid #ededed; font-size: 12.6px; font-weight: 600; }
#header .header-top .header-row { min-height: 52px; }
#header .header-right { margin-left: auto; position: relative; }
#header .nav-top { display: flex; list-style: none; margin: 0; padding: 0; letter-spacing: -.5px; }
#header .nav-top > li { padding: 8px 12px; color: #999; }
#header .nav-top > li:first-child { padding-left: 0; }
#header .nav-top > li.d-sm-inline-flex { display: flex; }
#header .nav-item-borders { border-right: 1px solid rgba(0,0,0,.06); }
#header .nav-item-borders:last-child { border-right: 0; }
#header .nav-top > li > span { display: block; padding: 6px 10px 6px 0; }
#header .nav-top > li > a { color: #999; padding: 6px 10px; display: inline-block; }
#header .nav-top svg { color: var(--primary); margin-right: 6px; vertical-align: -2px; }
#header .header-main { background: #fff; }
#header .header-main .header-row { min-height: 102px; }
#header .header-main .header-right { margin-left: 15px; }
#header .logo { margin: 0; line-height: 0; display: block; }
#header .logo a { display: inline-block; }
#header .logo img { max-width: 400px; width: 400px; height: auto; }
#header .separator { display: block; border-left: 1px solid rgba(0,0,0,.04); }
/* the live divider sat before the search icon, which isn't carried over */
#header .header-main .separator { display: none; }
#header .header-top .separator { height: 52px; border-left-color: rgba(0,0,0,.05); }
#header .main-menu { display: block; list-style: none; margin: 0 15px 0 0; padding: 0; white-space: nowrap; }
#header .main-menu > li.menu-item { display: inline-block; position: relative; margin-right: 1px; }
#header .main-menu > li.menu-item:last-child { margin-right: 0; }
#header .main-menu > li.menu-item > a {
  display: inline-block; position: relative; font: 700 12px/20px "Open Sans", sans-serif; letter-spacing: -.5px; text-transform: uppercase;
  color: var(--primary); padding: 40px 16px;
}
#header .main-menu > li.menu-item:hover > a, #header .main-menu > li.menu-item.active > a { background: var(--primary); color: #fff; }
#header .main-menu .popup { position: absolute; top: -3000px; left: 0; z-index: 111; min-width: 100%; line-height: 20px; text-align: left; }
#header .main-menu > li.menu-item:hover > .popup { top: 100%; }
#header .main-menu .popup ul.sub-menu {
  list-style: none; margin: 0; min-width: 200px; padding: 5px 0; background: #fff; border-top: 3px solid var(--primary);
  box-shadow: 0 5px 8px rgba(0,0,0,.15); position: relative;
}
#header .main-menu .popup li.menu-item > a {
  display: block; color: #777; font-size: 12.8px; font-weight: 400; letter-spacing: -.5px; line-height: 20px;
  padding: 8px 15px; white-space: nowrap;
}
#header .main-menu .popup li.menu-item:hover > a { background: #f4f4f4; color: #777; }
#header .mobile-toggle { display: none; color: var(--primary); font-size: 20px; padding: 7px 13px; border: 1px solid var(--primary); border-radius: .25rem; margin-left: 10px; }
#nav-panel { display: none; }
@media (max-width: 1169px) {
  #header .main-menu > li.menu-item > a { padding: 30px 14px; }
}
@media (max-width: 991px) {
  /* below 992px the top bar's only content was the translation dropdown, which isn't carried over */
  #header .header-top { display: none; }
  #header .header-main .header-row { min-height: 68px; }
  #header .header-contact { display: none; }
  #header .main-menu, #header .header-main .separator { display: none; }
  #header .mobile-toggle {
    display: inline-block; font-size: 13px; line-height: 20px; color: #fff; background: var(--primary); border: 0; border-radius: 4px;
    padding: 7px 13px; margin: 8px 8px 8px 13px;
  }
  #nav-panel.open { display: block; padding: 0 0 15px; }
  #nav-panel .mobile-menu { list-style: none; margin: 0; padding: 0; }
  #nav-panel .mobile-menu li { position: relative; padding: 1px 0; border-bottom: 1px solid #e8e8e8; }
  #nav-panel .mobile-menu li:last-child { border-bottom: 0; }
  #nav-panel .mobile-menu a { display: block; padding: 5px 33px 5px 6px; color: #333; font-size: .9em; font-weight: 700; line-height: 25px; text-transform: uppercase; }
  #nav-panel .mobile-menu .sub-menu { display: none; list-style: none; padding: 0; margin: 0 0 0 20px; }
  #nav-panel .mobile-menu .sub-menu a { font-weight: 400; text-transform: none; padding: 5px 6px; }
  #nav-panel .mobile-menu li.open > .sub-menu { display: block; }
  /* the arrow stays pointing down when its sub-menu is open, as on the live site */
  #nav-panel .mobile-menu .arrow { position: absolute; right: 5px; top: 0; width: 30px; height: 35px; cursor: pointer; }
  #nav-panel .mobile-menu .arrow::before { content: "\f107"; font: 900 .9em/35px "Font Awesome 5 Free"; display: block; text-align: center; color: #333; }
}
@media (max-width: 767px) { #header .logo img { max-width: 300px; width: 300px; } }

/* sticky header: the main row pins to the top as a shorter bar, logo at 80%, once scrolling has left only that bar's
   height of the header in view (site.js) */
#header .logo img { transition: transform .3s; transform-origin: left center; }
#header.sticky-calc .logo img { transition: none; }
#header.sticky-header .header-main { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; box-shadow: 0 0 3px rgba(0,0,0,.06); }
#header.sticky-header .header-main .header-row { min-height: 60px; }
#header.sticky-header .header-main .header-left, #header.sticky-header .header-main .header-right { padding-top: 0; padding-bottom: 0; }
#header.sticky-header .main-menu > li.menu-item > a { padding-top: 25px; padding-bottom: 25px; }
/* Deliberately differs from live: its Contact box (site-custom.css) stays 30px down when the bar shrinks, so the text
   sits on its top edge. Moved up to stay centred on the text, as it is before scrolling. */
#header.sticky-header .main-menu > li.menu-item:last-child::after { top: 15px; }
#header.sticky-header .logo img { width: 375px; max-width: 375px; transform: scale(.8); }

/* ---------- title band ---------- */
.page-top { background: var(--dark); border-bottom: 5px solid #ccc; padding: 12px 0; }
.page-top > .container { padding: 15px; }
@media (max-width: 991px) { .page-top > .container { padding-left: 30px; padding-right: 30px; } }
.page-top .breadcrumbs-wrap { font-size: 12px; line-height: 24px; color: #777; }
body.single-product .page-top .breadcrumbs-wrap { padding-right: 55px; }
.page-top .breadcrumb { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.page-top .breadcrumb > li { text-transform: uppercase; }
.page-top .breadcrumb > li > span + span { margin-left: 5px; }
.page-top .breadcrumb a { color: var(--primary); display: inline-block; }
.page-top .breadcrumb a:hover { color: var(--primary); }
.page-top .breadcrumb .delimiter { display: block; float: right; width: 20px; height: 24px; margin: 0 4px; font-style: normal; text-align: center; }
.page-top .breadcrumb .delimiter::before { content: "\f105"; font: 900 11px/24px "Font Awesome 5 Free"; }
.page-top .page-title-wrap { line-height: 0; }
.page-top .page-title { font-size: 30.8px; line-height: 36.96px; font-weight: 400; letter-spacing: -1.54px; color: #fff; margin: 0; display: inline-block; position: relative; }
.page-top .page-sub-title { font-size: 16.8px; line-height: 25.2px; font-weight: 300; color: #fff; margin: 0; }
.page-top meta { display: none; }

/* ---------- main ---------- */
#main { background: #fff; position: relative; }
.main-content { padding-top: 35px; padding-bottom: 40px; }
#main.wide > .container-fluid { padding-left: 0; padding-right: 0; }
#main.wide > .container-fluid > .row { margin-left: 0; margin-right: 0; }
#main.wide > .container-fluid > .row > .main-content { padding: 0; }
/* on full-width pages, plain rows keep a 15px gutter inside the viewport (live: -30px margins on a 30px-padded wrapper) */
#main.wide .wpb-content-wrapper > .vc_row.row:not(.porto-inner-container) { margin-left: 0; margin-right: 0; padding-left: 15px; padding-right: 15px; }

/* sidebar */
.sidebar { padding-top: 35px; padding-bottom: 40px; }
.sidebar .widget { margin: 0 0 1.875rem; }
.sidebar-content .widget:last-child { margin-bottom: 0; }
.widget .widget-title { font-size: 1em; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: #222529; margin: 0 0 15px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget_categories ul { font-size: .8125rem; margin-top: -8px; border-bottom: 1px solid rgba(0,0,0,.08); }
.sidebar .widget_categories li { position: relative; padding: 6px 0 6px 15px; border-top: 1px solid rgba(0,0,0,.08); color: #666; }
.sidebar .widget_categories li:first-child { border-top-width: 0; }
.sidebar .widget_categories li::before {
  content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .45rem; vertical-align: middle;
  margin: 0 6px 0 -11px; color: #666;
}
.sidebar .widget_categories li:hover::before { animation: navItemArrow .6s linear infinite; }
@keyframes navItemArrow { 0%, 100% { position: relative; right: -1px; } 50% { position: relative; right: 3px; } }
.sidebar .widget_categories a { color: #666; }
.sidebar .widget_categories a:hover, .sidebar .widget_categories .current-cat > a { color: #666; }
/* stacked under the content, the sidebar tucks up into the content's bottom padding */
@media (max-width: 991px) { .sidebar { padding-top: 0; } .left-sidebar, .right-sidebar:not(.col-md-4) { margin-top: -20px; } }

/* ---------- WPBakery rows & elements ---------- */
.vc_row { position: relative; }
.vc_column-inner::before, .vc_column-inner::after { content: " "; display: table; }
.vc_column-inner::after { clear: both; }
.vc_row.vc_inner { margin-left: -15px; margin-right: -15px; }
.wpb_content_element { margin-bottom: 35px; }
#main ul li, #main ol li { line-height: 24px; }
.porto-carousel-wrapper { margin-bottom: 35px; }
blockquote p:last-child { margin-bottom: 0; }
.wpb_text_column :last-child, .wpb_text_column p:last-child { margin-bottom: 0; }
/* a full-width row nested inside a column doesn't get the container's side padding again */
.wpb_wrapper .porto-wrap-container.container { padding-left: 0; padding-right: 0; max-width: none; }
.porto-carousel .wpb_content_element { margin-bottom: 0; }
.blog-posts::after { content: ""; display: table; clear: both; }
.vc_empty_space { clear: both; }
.vc_custom_heading { margin-top: 0; }
.vc_custom_heading.align-left { text-align: left; }
.vc_btn3-container { display: block; margin-bottom: 20px; max-width: 100%; }
.vc_btn3-container.vc_btn3-center { text-align: center; }
.vc_btn3-container.vc_btn3-left { text-align: left; }
.vc_btn3-container.vc_btn3-right { text-align: right; }
.vc_btn3-container.vc_btn3-inline { display: inline-block; vertical-align: baseline; }
.wpb_single_image .vc_single_image-wrapper { display: inline-block; max-width: 100%; vertical-align: top; }
.wpb_single_image.vc_align_center { text-align: center; }
.wpb_single_image.vc_align_left { text-align: left; }
.wpb_single_image.vc_align_right { text-align: right; }
.wpb_single_image .vc_figure { display: inline-block; vertical-align: top; margin: 0; max-width: 100%; }
.wpb_single_image .vc_figure-caption { margin-top: .5em; font-size: .8em; }
.wpb_single_image .vc_single_image-wrapper.vc_box_border { padding: 4px; border: none; }
.wpb_single_image .vc_box_border.vc_box_border_grey { background-color: #ebebeb; }
/* Owl Carousel's own bottom margin */
.porto-carousel.owl-carousel { margin-bottom: 20px; }
.porto-separator { margin: 0 0 22px; }
.porto-separator.short { margin: -11px 0 11px; }
.porto-separator.tall { margin: 22px 0 44px; }
.porto-separator.taller { margin: 44px 0 66px; }
hr.short { margin: 11px 0; } hr.tall { margin: 44px 0; } hr.taller { margin: 66px 0; }
.porto-separator .separator-line { height: 1px; background: rgba(0,0,0,.08); display: block; border: 0; margin: 0; }
.section { background-color: #f4f4f4; border-top: 5px solid #f1f1f1; margin: 30px 0; padding: 50px 0; }
.section.section-no-borders { border-width: 0; }
.wpb-content-wrapper > .vc_row.section:last-child { margin-bottom: 0; }
.vc_row.section > .vc_column_container .wpb_wrapper > div:last-child,
.vc_column_container.section .wpb_wrapper > div:last-child { margin-bottom: 0; }
.section.section-parallax { background-color: transparent; border: 0; background-size: cover; background-position: 50% 50%; position: relative; }
/* icon / image boxes */
.porto-sicon-box { margin-bottom: 20px; }
.porto-sicon-box.top-icon { text-align: center; }
.porto-sicon-box.top-icon.text-left .porto-sicon-header, .porto-sicon-box.top-icon.text-start .porto-sicon-header { text-align: left !important; }
.top-icon .porto-just-icon-wrapper { margin-bottom: 15px; }
.porto-sicon-img { display: inline-block; font-size: 48px; text-align: center; width: 1em; max-width: 100%; box-sizing: content-box !important; overflow: hidden; vertical-align: top; }
.porto-sicon-title { font-size: 1.4em; line-height: 1.2; }
.porto-sicon-img .img-icon { display: block; width: 1em; max-width: 100% !important; font-size: inherit; border-radius: 0 !important; box-shadow: none !important; }
.porto-sicon-title { margin: 3px 0; }
.porto-sicon-box.top-icon .porto-sicon-title { margin-top: 0; }
.porto-sicon-box.default-icon { display: flex; align-items: center; }
.top-icon .porto-sicon-header { margin-bottom: 1rem; }
.porto-sicon-header > p:last-child { margin-bottom: 0; }
.porto-sicon-description { display: block; width: 100%; line-height: 24px; margin-top: 0; }
.porto-sicon-header + .porto-sicon-description { margin-top: 16px; }
.top-icon .porto-sicon-header + .porto-sicon-description { margin-top: 0; }
/* expand/collapse sections (Porto "simple" toggles) */
.toggle { position: relative; clear: both; padding: 0 0 10px; }
.toggle > label {
  display: block; position: relative; cursor: pointer; min-height: 20px; padding: 12px 20px 12px 32px; margin-bottom: -10px;
  font-size: 1em; font-weight: 600; color: #222529; background: transparent; border: 0; border-radius: 0;
}
.toggle > label::after { content: ""; position: absolute; left: 0; top: 50%; margin-top: -12px; width: 24px; height: 24px; z-index: 1; background: var(--primary); }
.toggle > label::before {
  content: "\f067"; position: absolute; left: 9px; top: 0; bottom: 0; height: 22px; margin: auto 0; z-index: 2;
  font: 900 8px/22px "Font Awesome 5 Free"; color: #fff;
}
.toggle.active > label::before { content: "\f068"; }
.toggle > .toggle-content { display: none; padding: 10px 0; }
.toggle.active > .toggle-content { display: block; }
.toggle > .toggle-content > p:last-child { margin-bottom: 0; }
.post-full-alt .post-slideshow > *, .post-full-alt .post-slideshow .img-thumbnail { width: 100%; }
.post-full-alt .post-slideshow .img-thumbnail { line-height: inherit; }
.fit-video, .wpb_video_wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.fit-video iframe, .wpb_video_wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ---------- carousels (replacing Owl/slick behaviour; see /js/site.js) ---------- */
/* pan-y: touchscreens otherwise take a sideways swipe as a page gesture and cancel it, so site.js never sees it */
.mcm-carousel { overflow: hidden; position: relative; display: block !important; touch-action: pan-y; }
.mcm-carousel.has-ccols-spacing { margin-left: 0; margin-right: 0; }
.mcm-carousel.has-ccols-spacing > * { padding-left: 0; padding-right: 0; }
.mcm-carousel > .mcm-track { display: flex; transition: transform .5s ease; will-change: transform; }
.mcm-carousel > .mcm-track > * { flex: 0 0 auto; }
.mcm-carousel > .mcm-nav button {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border: 0; padding: 4px 7px;
  background: rgba(255,255,255,.6); color: #222529; line-height: 22px; cursor: pointer; opacity: 0; transition: opacity .2s;
}
.mcm-carousel:hover > .mcm-nav button { opacity: 1; }
.mcm-carousel > .mcm-nav .mcm-prev { left: 0; }
.mcm-carousel > .mcm-nav .mcm-next { right: 0; }
.mcm-carousel > .mcm-nav button::before { font: 900 14px/22px "Font Awesome 5 Free"; }
.mcm-carousel > .mcm-nav .mcm-prev::before { content: "\f053"; }
.mcm-carousel > .mcm-nav .mcm-next::before { content: "\f054"; }
.mcm-carousel > .mcm-dots { display: flex; justify-content: center; gap: 5px; margin-top: 15px; }
.mcm-carousel > .mcm-dots:empty { display: none; }
.mcm-carousel > .mcm-dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #d6d6d6; cursor: pointer; }
.mcm-carousel > .mcm-dots button.active, .mcm-carousel > .mcm-dots button:hover { background: var(--primary); }
/* before the script runs, keep Owl carousels to one row instead of stacking every slide */
.js #main .porto-carousel.owl-carousel:not(.mcm-carousel) { display: flex; overflow: hidden; }
.js #main .porto-carousel.owl-carousel:not(.mcm-carousel) > * { flex: 0 0 auto; max-width: 100%; }
.js #main .porto-carousel.owl-carousel:not(.mcm-carousel) > :only-child { width: 100%; }
.porto-carousel-wrapper .porto-ultimate-carousel { display: flex; flex-wrap: nowrap; }
.porto-carousel-wrapper .porto-item-wrap { padding: 0 15px; }
.porto-carousel-wrapper .porto-ultimate-carousel:not(.mcm-carousel) > .porto-item-wrap { flex: 0 0 25%; }
/* the logo rows' dots were outline-circle icons */
/* a line of inline dots, so the row is a text line tall (20px on phones, 24px wider) */
.porto-ultimate-carousel.mcm-carousel > .mcm-dots { display: block; text-align: center; position: relative; bottom: -5px; margin-top: 10px; }
.porto-ultimate-carousel.mcm-carousel > .mcm-dots:empty { display: none; }
.porto-ultimate-carousel.mcm-carousel > .mcm-dots button { display: inline-block; vertical-align: top; width: 20px; height: 20px; padding: 0 2px; border-radius: 0; background: none; }
.porto-ultimate-carousel.mcm-carousel > .mcm-dots button::before { content: "\f111"; font: 400 13px/20px "Font Awesome 5 Free"; color: #333; opacity: .5; }
.porto-ultimate-carousel.mcm-carousel > .mcm-dots button.active, .porto-ultimate-carousel.mcm-carousel > .mcm-dots button:hover { background: none; }
.porto-ultimate-carousel.mcm-carousel > .mcm-dots button.active::before { color: #006fa6; opacity: 1; }
.porto-ultimate-carousel.mcm-carousel > .mcm-nav button {
  width: auto; height: 20px; padding: 0; background: none; color: #333; opacity: 1; text-shadow: 1px 1px 1px rgba(127,127,127,.3);
}
.porto-ultimate-carousel.mcm-carousel > .mcm-nav button::before { font-size: 20px; line-height: 20px; }
.porto-ultimate-carousel.mcm-carousel > .mcm-nav button:hover { opacity: .8; }
@media (max-width: 767px) { .porto-ultimate-carousel.mcm-carousel > .mcm-nav { display: none; } }
.porto-carousel-wrapper .porto-item-wrap .wpb_content_element { margin-bottom: 0; }

/* ---------- recent posts (homepage "Latest Posts") ---------- */
.porto-recent-posts .post-carousel.has-ccols-spacing { display: flex; flex-wrap: nowrap; margin: 0; }
.porto-recent-posts .post-carousel.has-ccols-spacing > .post-slide { padding: 0; }
.post-item h4 { font-size: 1.2em; line-height: 1.3; font-weight: 600; margin: 0 0 7px; }
.post-item h4 a { color: var(--heading); }
.post-item h4 a:hover { color: var(--heading); }
.post-item .post-excerpt { margin-bottom: 10px; }
.post-item .read-more { display: block; white-space: nowrap; font-size: .9em; font-weight: 600; color: #222529; }
.post-item .read-more:hover { color: #222529; }
.post-item .read-more i { font-size: 1em; }

/* ---------- WooCommerce: product archive ---------- */
.term-description { margin-bottom: 0; }
/* the sort / "Show 24" controls are gone (no shop backend), so the top toolbar only spaces the grid */
.shop-loop-before { margin: 0 0 10px; }
.shop-loop-before .woocommerce-pagination { display: none; }
.shop-loop-after { padding-top: 25px; border-top: 1px solid #e7e7e7; font-size: 13px; }
.shop-loop-after::after { content: ""; display: table; clear: both; }
.shop-loop-after .woocommerce-pagination { float: right; }
ul.products { list-style: none; margin: 0 -15px 14px; padding: 0; display: flex; flex-wrap: wrap; }
ul.products li.product-col { padding: 0 15px; margin-bottom: 30px; flex: 0 0 auto; width: 100%; position: relative; }
ul.products.pcols-ls-2 li.product-col { width: 50%; }
@media (min-width: 576px) { ul.products.pcols-xs-2 li.product-col { width: 50%; } ul.products.pcols-xs-3 li.product-col { width: 33.3333%; } }
@media (min-width: 768px) { ul.products.pcols-md-3 li.product-col { width: 33.3333%; } ul.products.pcols-md-4 li.product-col { width: 25%; } }
@media (min-width: 992px) {
  ul.products.pcols-lg-3 li.product-col { width: 33.3333%; } ul.products.pcols-lg-4 li.product-col { width: 25%; }
  ul.products.pcols-lg-5 li.product-col { width: 20%; }
}
.product-image { display: block; position: relative; width: 100%; padding: 0; border: 1px solid #f4f4f4; background: #fff; }
ul.products .product-image { margin-bottom: 1rem; min-height: 90px; }
.product-image .inner { display: block; overflow: hidden; position: relative; }
.product-image img { display: inline-block; width: 100%; height: auto; transition: opacity .3s ease-in-out; }
ul.products .product-image .img-effect .hover-image { position: absolute; inset: 0; margin: auto; opacity: 0; }
ul.products .product-image:hover .img-effect img { opacity: 0; }
ul.products .product-image:hover .img-effect .hover-image { opacity: 1; }
ul.products .product-content { padding-bottom: 1px; }
ul.products .category-list { display: block; font-size: 10px; line-height: 17px; margin: 0; text-transform: uppercase; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
ul.products .category-list a { color: var(--body); }
ul.products .category-list a:hover { color: var(--primary-light); }
ul.products h3, ul.products .woocommerce-loop-product__title { font-size: 16.8px; font-weight: 400; line-height: 22.68px; margin-bottom: 7.2px; color: var(--heading); }
ul.products .woocommerce-loop-product__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
ul.products .product-loop-title:hover h3 { color: var(--primary-light); }
/* category tiles on the all-products page */
ul.products li.product-category .thumb-info-title {
  top: auto; bottom: 0; left: 0; right: 0; max-width: none; padding: 1.2em 1.5em; background: transparent; letter-spacing: normal;
}
ul.products li.product-category h3 { font-size: 17px; line-height: 24px; font-weight: 700; color: #fff; text-transform: uppercase; margin: 0; }
ul.products li.product-category .thumb-info-type {
  display: block; float: none; margin: 0; padding: 0; background: none; font-size: .6em; font-weight: 400; line-height: 1.8; text-transform: none;
}
ul.products li.product-category mark { background: transparent; color: inherit; padding: 0; }
ul.products li.product-category .thumb-info-type { opacity: .7; }
ul.products li.product-category .thumb-info { min-height: 90px; color: #fff; }
ul.products li.product-category .thumb-info-wrapper::after {
  content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(27,27,23,.15);
}
.thumb-info .thumb-info-title { z-index: 2; }

/* pagination (blog lists) */
.pagination-wrap .pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 20px 0 0; padding: 0; }
.pagination .page-numbers {
  display: block; font-size: 1em; line-height: 1.2; padding: 8px 12px; margin-left: -1px; text-align: center;
  border: 1px solid #e7e7e7; color: var(--primary); background: transparent;
}
.pagination a.page-numbers:hover { background: #e7e7e7; border-color: #e7e7e7; color: var(--primary-light); }
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; position: relative; z-index: 1; }
.pagination .page-numbers.dots { border: 0; color: #777; background: none; }
.pagination .prev, .pagination .next { position: relative; width: 2.48em; overflow: hidden; text-indent: -9999px; }
.pagination .prev::before, .pagination .next::before { position: absolute; top: .5rem; left: 0; right: 0; text-indent: 0; font: 900 1em/1.2 "Font Awesome 5 Free"; }
.pagination .prev::before { content: "\f104"; }
.pagination .next::before { content: "\f105"; }
/* pagination (WooCommerce product grids) */
.woocommerce-pagination ul.page-numbers { list-style: none; display: flex; flex-wrap: wrap; margin: 0 0 0 10px; padding: 0; }
.woocommerce-pagination ul.page-numbers li { margin: 0 0 0 4px; }
.woocommerce-pagination .page-numbers li > .page-numbers {
  display: inline-block; min-width: 33px; height: 33px; line-height: 31.5px; padding: 0 7.5px; margin: 0 0 5px; text-align: center;
  border: 1px solid #e7e7e7; color: #777; font-size: 15px; font-weight: 700;
}
.woocommerce-pagination .page-numbers li > a.page-numbers:hover { border-color: var(--primary); color: var(--primary); }
.woocommerce-pagination .page-numbers li > .page-numbers.current { border-color: var(--primary); color: #777; }
.woocommerce-pagination .page-numbers .next, .woocommerce-pagination .page-numbers .prev { font-size: 0; }
.woocommerce-pagination .page-numbers .next::before, .woocommerce-pagination .page-numbers .prev::before { font: 900 11px/31.5px "Font Awesome 5 Free"; }
.woocommerce-pagination .page-numbers .next::before { content: "\f054"; }
.woocommerce-pagination .page-numbers .prev::before { content: "\f053"; }

/* ---------- WooCommerce: single product ---------- */
.product-summary-wrap > .row > .summary-before, .product-summary-wrap > .row > .summary { margin-bottom: 2rem; }
.product-images { position: relative; margin-bottom: 8px; }
.product-image-slider .img-thumbnail { background: #fff; padding: 0 1px; border: 0; border-radius: 0; }
.product-image-slider .img-thumbnail .inner { display: block; border: 1px solid #f4f4f4; }
.product-image-slider .img-thumbnail img { width: 100%; }
.product-thumbs-slider { display: flex; flex-wrap: nowrap; }
.product-thumbs-slider .img-thumbnail { flex: 0 0 auto; border: 1px solid #f4f4f4; cursor: pointer; background: #fff; padding: 0; }
.product-thumbs-slider .img-thumbnail.selected, .product-thumbs-slider .img-thumbnail:hover { border: 2px solid #222529; }
.product-thumbs-slider .img-thumbnail img { width: 100%; display: block; }
.mcm-carousel.auto-height > .mcm-track { align-items: flex-start; }
.mcm-carousel.auto-height { transition: height .3s; }
.product-image-slider.mcm-carousel > .mcm-nav .mcm-prev { left: -10px; }
.product-image-slider.mcm-carousel > .mcm-nav .mcm-next { right: -10px; }
.product_title { font-size: 1.875rem; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; color: #222529; margin: 0; }
.summary .price:empty { display: none; }
.summary .price { margin: 0; }
.product_meta { font-size: .8571em; text-transform: uppercase; margin-top: 1.2143em; }
.product_meta .posted_in { display: block; margin-bottom: .25rem; }
.product_meta a { color: #222529; font-weight: 700; display: inline-block; }
.product_meta a:hover { color: #222529; }
.product-share { display: inline-block; vertical-align: middle; margin: 15px .5rem 0 0; }
.share-links { display: block; }
.share-links a {
  display: inline-block; vertical-align: top; width: 32px; height: 32px; border-radius: 16px; border: 2px solid #e7e7e7; margin: 3.71px 1.3px 3.71px 0;
  background: var(--primary); color: #fff; text-align: center; overflow: hidden; font-size: 13px; text-indent: -9999px; position: relative;
}
.share-links a::before { font-family: "Font Awesome 5 Brands"; font-weight: 400; text-indent: 0; position: absolute; left: 0; right: 0; top: 0; line-height: 28px; font-size: 13px; }
.share-links .share-facebook::before { content: "\f39e"; }
.share-links .share-twitter::before { content: "\f099"; }
.share-links .share-linkedin::before { content: "\f0e1"; }
.share-links .share-email::before { content: "\f0e0"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.share-links a:hover { background: var(--primary-light); border-color: #fff; color: #fff; opacity: .9; }
.post-share .share-links a { border: 0; font-size: .8rem; width: 2.2857em; height: 2.2857em; margin: .2857em .5714em .2857em 0; vertical-align: top; }
.post-share .share-links a::before { bottom: 0; height: 22px; line-height: 23px; margin: auto; }
.resp-tabs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.resp-tabs-list li {
  cursor: pointer; font-size: 13px; line-height: 24px; font-weight: 700; text-transform: uppercase; color: #818692;
  padding: 7px 0; margin: 0 35px 0 0; border-bottom: 2px solid transparent; position: relative; z-index: 1;
}
.resp-tabs-list li.resp-tab-active { color: #222529; border-bottom-color: #222529; margin-bottom: -1px; }
.resp-tabs-list li:hover { color: #222529; }
.woocommerce-tabs .tab-content { padding: 30px 0 15px; border-top: 1px solid #e7e7e7; }
.js .woocommerce-tabs .tab-content { display: none; }
.js .woocommerce-tabs .tab-content.resp-tab-content-active { display: block; }
/* before the gallery script runs, show only the first slide */
.js .product-image-slider:not(.mcm-carousel) > .img-thumbnail:not(:first-child) { display: none; }
.woocommerce-tabs .tab-content p { font-size: 14px; line-height: 26.6px; letter-spacing: .07px; margin-bottom: 10px; }
/* below 768px the tabs become an accordion: site.js puts a heading above each pane, as the live tab script did */
.woocommerce-tabs h2.resp-accordion { display: none; }
@media (max-width: 767px) {
  .resp-tabs-list { display: none; }
  .woocommerce-tabs h2.resp-accordion {
    display: block; cursor: pointer; margin: 0; padding: 15px; font-size: 1em; line-height: 1.4; font-weight: 700; text-transform: uppercase;
    color: #222529; border-bottom: 1px solid #e7e7e7;
  }
  .woocommerce-tabs h2.resp-accordion.resp-tab-active { border-bottom: 2px solid var(--primary); }
  .woocommerce-tabs h2.resp-accordion::before { content: "\f107"; font-family: "Font Awesome 5 Free"; font-weight: 900; float: left; margin-right: 10px; }
  .woocommerce-tabs h2.resp-accordion.resp-tab-active::before { content: "\f106"; }
  .woocommerce-tabs .tab-content { border-top: 0; }
}
.woocommerce-tabs .tab-content > :last-child { margin-bottom: 0; }
.woocommerce-tabs .tab-content h2 { font-size: 1.25rem; line-height: 1.4; font-weight: 400; margin: 0 0 14px; }
.woocommerce-tabs #tab-description > h2:first-child { display: none; }

/* ---------- blog lists & posts ---------- */
.blog-posts article.post-medium { margin: 0 0 50px; padding-bottom: 1rem; border-bottom: 1px solid rgba(0,0,0,.06); }
.post-image .img-thumbnail { display: block; position: relative; padding: 0; border: 0; background: #fff; }
.post-image > .img-thumbnail { line-height: 1; }
.post-medium .post-meta .text-xs { font-size: .625rem !important; }
.post-image .img-thumbnail.fit-video { padding-bottom: 56.25%; height: 0; overflow: hidden; }
.post-image .img-thumbnail img { width: 100%; display: block; }
.post-medium .post-image { margin-bottom: 30px; }
.post-medium .entry-title { font-size: 1.5em; line-height: 1.3; font-weight: 600; margin: 0 0 1rem; }
.post-medium .entry-title a, .post-item-small .post-item-title a { color: var(--heading); }
.post-medium .entry-title a:hover { color: var(--primary-light); }
.post-medium .post-excerpt { margin-bottom: 1.25rem; }
.post-meta { font-size: .9em; margin-bottom: 8px; }
.post-meta i { margin-right: 4px; }
.post-meta > span { display: inline-block; padding-right: 8px; }
.post-meta .btn-xs { font-size: .625rem; line-height: 1.5; padding: .2rem .5rem; }
.post-meta .btn-default { color: #666; border-color: rgba(0,0,0,.08); }
.post-meta .btn-default:hover { color: #333; border-color: rgba(0,0,0,.06); }
.zoom { display: none; }
.post-full-alt .post-image { margin-bottom: 30px; }
.m-l-lg { margin-left: 30px; }
.post-full-alt .entry-title { font-size: 1.875rem; line-height: 40px; font-weight: 700; color: var(--primary); margin: 0 0 32px; }
.entry-content { margin: 20px 0 30px; }
.entry-content::after { content: ""; display: table; clear: both; }
/* WordPress block-editor font-size presets */
.has-small-font-size { font-size: 13px !important; }
.has-medium-font-size { font-size: 20px !important; }
.has-large-font-size { font-size: 36px !important; }
.has-x-large-font-size { font-size: 42px !important; }
.post-gap { height: 20px; }
.post-share { margin-bottom: 3rem; }
.post-share h3 { font-size: 1.4em; line-height: 1.25; font-weight: 600; margin: 0 0 20px; }
hr.solid { background: rgba(0,0,0,.06); }
.wp-block-image { margin: 0 0 14px; }
.wp-block-image figcaption, .wp-element-caption { font-size: 13px; color: #555; margin: 6.5px 0 13px; text-align: center; }

/* ---------- thumb-info cards (Products page) ---------- */
.thumb-info { display: block; position: relative; text-decoration: none; max-width: 100%; border: 0; word-wrap: break-word; }
.thumb-info .thumb-info-wrapper { display: block; position: relative; margin: 0; overflow: hidden; }
.thumb-info img { position: relative; width: 100%; }
.thumb-info .thumb-info-title {
  position: absolute; left: 0; bottom: 13%; z-index: 2; max-width: 90%; padding: 13px 21px 2px;
  background: rgba(33,37,41,.8); color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.05em;
}
@media (max-width: 991px) { .thumb-info .thumb-info-title { font-size: 14px; } }
.thumb-info .thumb-info-inner { display: block; }
.thumb-info .thumb-info-type {
  display: inline-block; float: left; z-index: 2; margin: 8px -2px -15px 0; padding: 2px 12px; background: var(--primary);
  font-size: .6em; font-weight: 600; letter-spacing: 0; line-height: 2.3; text-transform: uppercase;
}
.share-links-block { display: flex; align-items: center; flex-wrap: wrap; }
.share-links-block h5 { margin: 0 15px 0 0; font-size: .8em; font-weight: 700; text-transform: uppercase; }
.share-links-block .share-links a { border-radius: 50%; width: 28px; height: 28px; border: 0; box-shadow: 0 1px 1px 0 rgba(0,0,0,.2); margin: 2px; }
.share-links-block .share-links a::before { line-height: 28px; }
@media (min-width: 768px) { .order-md-2 { order: 2; } }
@media (min-width: 992px) { .mb-lg-0 { margin-bottom: 0 !important; } }

/* ---------- contact forms (Contact, Sales, Service): live's Contact Form 7 look; site.js posts them to /api/contact ---------- */
h2.short { margin-bottom: 15px; }
.wpcf7 .form-group { margin-bottom: 1rem; }
.wpcf7 .form-group::after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.form-control {
  display: block; width: 100%; padding: 8px 12px; font-size: .85rem; line-height: 1.42857; color: #777; background: #fff;
  border: 1px solid rgba(0,0,0,.08); border-radius: 0; box-shadow: none; outline: none; appearance: none;
}
textarea.form-control { resize: vertical; }
/* a stray rule the live form left between the message and the button: an empty flex item, so only its padding shows */
.wpcf7 .row > hr { width: auto; margin: 0 0 22px; }
.wpcf7-spinner {
  position: absolute; display: block; visibility: hidden; width: 24px; height: 24px; margin: 0 24px; border-radius: 100%;
  background: #23282d; opacity: .75;
}
.wpcf7-spinner::before {
  content: ""; position: absolute; top: 4px; left: 4px; width: 6px; height: 6px; border-radius: 100%; background: #fbfbfc;
  transform-origin: 8px 8px; animation: wpcf7-spin 1s linear infinite;
}
@keyframes wpcf7-spin { to { transform: rotate(360deg); } }
.wpcf7 form.submitting .wpcf7-spinner { visibility: visible; }
.wpcf7 form .wpcf7-response-output { margin: 2em .5em 1em; padding: .2em 1em; border: 2px solid #00a0d2; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; }
.wpcf7 form.failed .wpcf7-response-output { border-color: #dc3232; }

/* ---------- footer ---------- */
#footer { background: var(--dark); color: var(--body); font-size: 12.6px; line-height: 24px; position: relative; }
#footer .footer-main > .container { padding-top: 4rem; padding-bottom: 1.5rem; }
#footer .widget { margin-bottom: 1.875rem; }
#footer .widget-title { color: #fff; font-size: 12.6px; line-height: 17.64px; font-weight: 600; text-transform: uppercase; margin: 0 0 1rem; }
#footer a { color: var(--body); }
#footer a:hover { color: #fff; }
#footer .contact-details { list-style: none; margin: 0; padding: 0; }
#footer .contact-details li { margin: 0 0 10px; }
#footer .contact-details li svg { color: var(--primary); font-size: 16.38px; width: 1em; height: 1em; margin: 4px 9px 10px 0; float: left; }
#footer .contact-details strong { font-weight: 400; }
.has-ccols { display: flex; flex-wrap: wrap; }
.has-ccols-spacing { margin-left: -15px; margin-right: -15px; }
.has-ccols-spacing > * { padding-left: 15px; padding-right: 15px; }
.ccols-1 > * { flex: 0 0 100%; max-width: 100%; }
/* the footer's recent-posts list: a column grid one, two, three, then one wide again as the footer columns widen */
@media (min-width: 576px) { #footer .has-ccols.ccols-sm-2 > * { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 768px) { #footer .has-ccols.ccols-md-3 > * { flex: 0 0 33.3333%; max-width: 33.3333%; } }
@media (min-width: 992px) { #footer .has-ccols.ccols-lg-1 > * { flex: 0 0 100%; max-width: 100%; } }
#footer .post-item-small { padding: 0 0 15px; line-height: 20px; }
#footer .post-item-small::after { content: ""; display: table; clear: both; }
#footer .post-item-small + .post-item-small { border-top: 1px dotted rgba(119,119,119,.3); padding-top: 15px; }
#footer .post-item-small .post-image { float: left; width: 50px; margin: 0 10px 0 0; padding: 0; border: 0; background: none; }
#footer .post-item-small .post-image img { width: 50px; height: 50px; object-fit: cover; }
#footer .post-item-title { font-size: 12.6px; line-height: 18px; font-weight: 600; color: #fff; margin: 0; }
#footer .post-item-title a { color: var(--body); }
#footer .contact-details li:last-child { margin-bottom: 5px; }
#footer .post-item-title a:hover { color: #fff; }
/* Quick Links (in place of live's newsletter sign-up): the theme's menu-widget look, ruled rows with a chevron each */
#footer .widget_nav_menu ul { list-style: none; margin: -8px 0 0; padding: 0; border-bottom: 1px solid rgba(119,119,119,.3); }
#footer .widget_nav_menu li { position: relative; padding: 6px 0 6px 15px; border-top: 1px solid rgba(119,119,119,.3); }
#footer .widget_nav_menu li:first-child { border-top-width: 0; }
#footer .widget_nav_menu li::before {
  content: "\f054"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: .45rem; vertical-align: middle; margin: 0 6px 0 -11px;
}
#footer .widget_nav_menu li:hover::before { animation: navItemArrow .6s linear infinite; }
#footer .footer-bottom { background: var(--dark); border-top: 1px solid rgba(255,255,255,.05); padding: 22px 0; font-size: 11.34px; color: #555; }
#footer .footer-bottom .footer-center { text-align: center; padding: 10px 8px; }

/* scroll-to-top */
#topcontrol {
  position: fixed; right: 10px; bottom: 0; width: 49px; height: 48px; text-align: center; z-index: 1040;
  background: rgba(64,64,64,.75); color: #fff; border-radius: 7px 7px 0 0; opacity: 0; pointer-events: none; transition: opacity .3s;
}
#topcontrol.show { opacity: 1; pointer-events: auto; }
#topcontrol::before { content: "\f077"; font: 900 16px/48px "Font Awesome 5 Free"; }
#topcontrol:hover { background: rgba(64,64,64,1); color: #fff; }
@media (max-width: 767px) { #topcontrol { display: none; } }

/* ---------- homepage hero (replaces the Revolution Slider; values from its layer settings) ---------- */
/* a container, so the slider scales with its own width (excluding any scrollbar), as the slider did */
.banner-container { container-type: inline-size; }
.mcm-hero {
  /* the slider was laid out on a 1170px-wide grid and scales down below that width */
  --u: min(1px, 100cqw / 1170);
  /* the slider's power2.inOut / power3.inOut easings */
  --quad: cubic-bezier(.455, .03, .515, .955);
  --cubic: cubic-bezier(.645, .045, .355, 1);
  position: relative; height: calc(450 * var(--u)); background: #171717; overflow: hidden; color: #fff;
}
/* site.js drives .active (on top, its picture fading in), .prev (the outgoing slide, held underneath until
   covered), and the layer classes .in / .out; without JS the first slide shows statically. Only the picture
   fades: the slider drew it on a canvas, so text arriving mid-fade shows at its own opacity. */
.mcm-hero .slide { position: absolute; inset: 0; visibility: hidden; }
.mcm-hero .slide::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover no-repeat; opacity: 0; }
.mcm-hero .slide:first-child::before { background-position: center bottom; }
html:not(.js) .mcm-hero .slide:first-child { visibility: visible; }
html:not(.js) .mcm-hero .slide:first-child::before { opacity: 1; }
.mcm-hero .slide.active, .mcm-hero .slide.prev { visibility: visible; }
.mcm-hero .slide.active { z-index: 2; }
.mcm-hero .slide.prev { z-index: 1; }
.mcm-hero .slide.active::before { opacity: 1; transition: opacity .8s var(--quad); }
.mcm-hero .slide.prev::before { opacity: 1; }
/* Layers are positioned like the slider's: the layer box is centred on its offset from the middle and text
   doesn't wrap (fixed-size boxes let it overflow, as the slider did). */
.mcm-hero .layer { position: absolute; left: 50%; transform: translate(-50%, -50%); text-align: center; font-family: "Open Sans", sans-serif; white-space: nowrap; margin: 0; }
.mcm-hero .eyebrow { top: calc(50% - 110 * var(--u)); font-size: calc(22 * var(--u)); line-height: calc(25 * var(--u)); }
.mcm-hero .title {
  font-size: calc(50 * var(--u)); line-height: calc(55 * var(--u)); font-weight: 700; letter-spacing: calc(-1 * var(--u)); color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,.15); top: calc(50% - 55 * var(--u));
}
.mcm-hero .slide:first-child .title { letter-spacing: calc(-2 * var(--u)); top: calc(50% - 60 * var(--u)); }
.mcm-hero .sub { font-size: calc(18 * var(--u)); line-height: calc(26 * var(--u)); width: calc(741 * var(--u)); height: calc(53 * var(--u)); top: calc(50% + 11 * var(--u)); }
.mcm-hero .sub > span { display: block; }
.mcm-hero .slide:first-child .sub { width: calc(724 * var(--u)); height: calc(30 * var(--u)); line-height: calc(29 * var(--u)); color: #d6d6d6; top: calc(50% - 10 * var(--u)); }
.mcm-hero .hero-btn {
  top: calc(50% + 101 * var(--u)); font-size: calc(15 * var(--u)); line-height: calc(20 * var(--u)); font-weight: 600; color: #fff;
  padding: calc(15 * var(--u)) calc(45 * var(--u)); border: max(1px, calc(2 * var(--u))) solid #fff; border-radius: 4px; background: rgba(0,0,0,.51); text-transform: uppercase;
}
.mcm-hero .hero-btn { margin-left: calc(1 * var(--u)); }
.mcm-hero .slide:first-child .hero-btn { top: calc(50% + 70 * var(--u)); margin-left: calc(-4 * var(--u)); }
.mcm-hero .sub-assembly { width: calc(742 * var(--u)); height: auto; white-space: normal; top: calc(50% + 43 * var(--u)); transform: translate(-50%, -50%) translateX(calc(4 * var(--u))); }
.mcm-hero .hero-btn:hover { color: #212529; background: rgba(255,255,255,.5); }
/* faint hatched rules either side of "WELCOME TO" */
.mcm-hero .deco {
  top: calc(50% - 110 * var(--u)); width: calc(37 * var(--u)); height: calc(10 * var(--u));
  background: url(/wp-content/uploads/revslider/home-corporate5/slide-title-border.png) 0 0 / 100% 100%;
}
.mcm-hero .deco-l { left: calc(50% - 115 * var(--u)); }
.mcm-hero .deco-r { left: calc(50% + 110 * var(--u)); }
/* Layer animation, from the slider's layer frames. Each layer waits hidden in its starting state; .in plays the
   entrance after --st over --sp; .out (8.8s into the slide) plays the exit over --out. */
.mcm-hero .layer { --st: 1000ms; --sp: 2000ms; --ease: var(--cubic); --out: 300ms; }
.js .mcm-hero .layer { opacity: 0; }
.js .mcm-hero .eyebrow { translate: 0 -50%; }
.js .mcm-hero .title { scale: 1.5 1; filter: blur(20px); }
.js .mcm-hero .hero-btn { translate: 0 50%; }
.js .mcm-hero .deco-l { translate: -300% 0; }
.js .mcm-hero .deco-r { translate: 300% 0; }
.js .mcm-hero .pop { scale: none; filter: none; }
.mcm-hero .slide.in .layer {
  opacity: 1; translate: none; scale: none; filter: none;
  transition: opacity var(--sp) var(--ease) var(--st), translate var(--sp) var(--ease) var(--st),
    scale var(--sp) var(--ease) var(--st), filter var(--sp) var(--ease) var(--st);
}
.mcm-hero .slide.in .deco { opacity: .2; }
.mcm-hero .slide.out .layer { opacity: 0; transition: opacity var(--out) var(--cubic), translate var(--out) var(--cubic); }
.mcm-hero .slide.out .eyebrow { translate: 0 -50%; }
/* the paragraph drops out of view through a mask the size of its layer box, cropping any overflow as it starts */
.mcm-hero .slide.out .sub { overflow: hidden; }
.mcm-hero .slide.out .sub > span { translate: 0 100%; transition: translate var(--out) var(--cubic); }
/* the last slide's layers just appear, and stay until the next slide covers them */
.mcm-hero .slide.out .pop { opacity: 1; }
.mcm-hero .dots { position: absolute; left: 0; right: 0; bottom: calc(70 * var(--u)); z-index: 5; display: flex; justify-content: center; gap: 7px; opacity: 0; transition: opacity .3s; }
.mcm-hero:hover .dots { opacity: 1; }
.mcm-hero .dots button { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: #999; cursor: pointer; box-shadow: 0 0 2px 1px rgba(0,0,0,.1); }
.mcm-hero .dots button.active, .mcm-hero .dots button:hover { background: #fff; }
@media (max-width: 500px) { .mcm-hero .dots { display: none; } }
/* The slider's phone level: same 1170px grid, taller, with bigger text that still doesn't wrap, so long lines
   run off the edges on a phone as they did on the live site. */
@media (max-width: 480px) {
  .mcm-hero { height: calc(670 * var(--u)); }
  .mcm-hero .eyebrow { font-size: calc(40 * var(--u)); line-height: calc(45 * var(--u)); top: calc(50% - 135 * var(--u)); }
  .mcm-hero .title, .mcm-hero .slide:first-child .title { font-size: calc(70 * var(--u)); line-height: calc(95 * var(--u)); letter-spacing: calc(-2 * var(--u)); }
  .mcm-hero .slide:first-child .title { top: calc(50% - 72 * var(--u)); }
  .mcm-hero .sub, .mcm-hero .sub-assembly {
    font-size: calc(24 * var(--u)); line-height: calc(40 * var(--u)); font-weight: 300; color: #b5b5b5;
    width: calc(908 * var(--u)); height: calc(84 * var(--u)); white-space: nowrap; top: calc(50% + 30 * var(--u));
  }
  .mcm-hero .slide:first-child .sub { width: auto; height: auto; line-height: calc(40 * var(--u)); color: #b5b5b5; text-align: left; }
  .mcm-hero .sub-assembly { transform: translate(-50%, -50%); }
  .mcm-hero .hero-btn, .mcm-hero .slide:first-child .hero-btn { margin-left: 0; }
  .mcm-hero .hero-btn { font-size: calc(33 * var(--u)); line-height: calc(36 * var(--u)); font-weight: 400; padding: calc(45 * var(--u)) calc(110 * var(--u)); top: calc(50% + 149 * var(--u)); }
  .mcm-hero .slide:first-child .hero-btn { line-height: calc(33 * var(--u)); font-weight: 600; padding: calc(40 * var(--u)) calc(110 * var(--u)); top: calc(50% + 80 * var(--u)); }
  .mcm-hero .deco { top: calc(50% - 135 * var(--u)); }
  .mcm-hero .deco-l { left: calc(50% - 185 * var(--u)); }
  .mcm-hero .deco-r { left: calc(50% + 185 * var(--u)); }
  /* the slider rounded its scaled text sizes to whole pixels, which shows at this scale */
  @supports (font-size: round(1.5px, 1px)) {
    .mcm-hero .eyebrow { font-size: round(calc(40 * var(--u)), 1px); }
    .mcm-hero .title, .mcm-hero .slide:first-child .title { font-size: round(calc(70 * var(--u)), 1px); }
    .mcm-hero .sub, .mcm-hero .sub-assembly { font-size: round(calc(24 * var(--u)), 1px); }
    .mcm-hero .hero-btn { font-size: round(calc(33 * var(--u)), 1px); }
  }
}

/* ---------- phones: the live theme scaled its em-based sizes with the 13px body text ---------- */
@media (max-width: 575px) {
  html { font-size: 14.8576px; }
  .container { padding-left: 20px; padding-right: 20px; }
  #main.wide .wpb-content-wrapper > .vc_row.row:not(.porto-inner-container) { padding-left: 5px; padding-right: 5px; }
  .porto-sicon-description { line-height: 20px; }
  #header { font-size: 13px; line-height: 20px; }
  #header .header-main .header-row { min-height: 100px; }
  /* The live logo filled the width left beside the menu button and a search icon (not carried over), which also
     held the button 10px above centre. */
  #header .logo img { width: min(300px, calc(100vw - 119px)); max-width: none; }
  #header.sticky-header .logo img { width: min(375px, calc(100vw - 106px)); }
  #header .mobile-toggle { border-radius: 3.7144px; margin: 0 7.4288px 20px 13px; }
  .page-top > .container { padding: 15px 20px; }
  .page-top .breadcrumbs-wrap { font-size: 11.1432px; line-height: 20px; }
  .page-top .breadcrumb .delimiter { height: 20px; }
  .page-top .breadcrumb .delimiter::before { line-height: 20px; }
  .page-top .page-title { font-size: 26px; line-height: 31.2px; letter-spacing: -1.3px; }
  .page-top .page-sub-title { font-size: 15.6px; line-height: 23.4px; }
  h2 { line-height: 40px; }
  #main ul li, #main ol li { line-height: 20px; }
  ul.products .category-list { font-size: 9.286px; line-height: 15.786px; }
  ul.products h3, ul.products .woocommerce-loop-product__title { font-size: 15.6px; line-height: 21.06px; }
  #footer { font-size: 11.7px; line-height: 20px; }
  #footer .widget-title { font-size: 11.7px; line-height: 16.38px; }
  #footer .post-item-title { font-size: 11.7px; line-height: 15px; }
  #footer .contact-details li svg { font-size: 15.21px; }
  #footer .footer-bottom { font-size: 10.53px; }
}

/* ---------- 404 ---------- */
.page-not-found { padding: 40px 0 60px; }
.page-not-found h2 { font-size: 140px; line-height: 140px; font-weight: 700; color: var(--heading); letter-spacing: -.05em; margin: 0 0 20px; }
.page-not-found h2 i { color: var(--primary); }
.page-not-found .lead-404 { font-size: 22px; line-height: 32px; color: var(--heading); }
.page-not-found ul { list-style: none; padding: 0; }
.page-not-found ul li { padding: 4px 0; }
.page-not-found ul li::before { content: "\f054"; font: 900 9px/24px "Font Awesome 5 Free"; color: var(--primary); margin-right: 8px; }
@media (max-width: 767px) { .page-not-found h2 { font-size: 90px; line-height: 90px; } }
