h3, .cke_editable h2, .infoBlock h3 {
  font-family: 'Crete Round', serif;
  font-size: 1.4em !important;
}

.container {
  padding-right: 8px;
  padding-left: 8px;
  margin-right: auto;
  margin-left: auto;
}

.parallax-overlay .container {
  padding-left: 18px;
  padding-right: 18px;
}

.ub .container {
  padding-left: 8px;
  padding-right: 8px;
}

#body .btn-default {
  color: #ffffff;
  background-color: #960909;
  border-color: #ccc;
}

.r8_form {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  display: table;
  background: #ffffff;
  color: #000000;
}

.r8_form_title {
  text-align: center;
  font-size: 2.5em;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

.r8_form .r8_form_para {
  line-height: 1.35;
  padding-bottom: 0.5em;
}

.r8_form label {
  margin-top: 3px;
  margin-bottom: 3px;
  font-size: 1.2em;
  line-height: 1.8em;
}

.parallax-dark hr, .ub-dark hr, .ub-palette-dark hr, .ub-palette hr {
  border-top: 3px solid #ed2f26;
  padding-bottom: 0.5em;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9,
.col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9,
.col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9,
.col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
  position: relative;
  min-height: 1px;
  padding-right: 7px;
  padding-left: 7px;
}

.ub {
  width: calc(100vw);
  position: relative;
  left: calc(-50vw + 50%);
  min-height: 50px;
  padding-top: 15px;
  padding-bottom: 1px;
}

.ub-light {
  background-color: #ebebeb;
  color: #444;
}


/* Original scrolling accreditation banner */
.logo-banner {
  --logo-height: 82px;
  --logo-width: 176px;
  --logo-gap: 54px;
  --scroll-speed: 30s;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
}

.logo-banner__track {
  display: flex;
  width: max-content;
  animation: logo-banner-scroll var(--scroll-speed) linear infinite;
  will-change: transform;
}

.logo-banner__group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  padding-right: var(--logo-gap);
  flex-shrink: 0;
}

.logo-banner__item {
  width: var(--logo-width);
  height: var(--logo-height);
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@keyframes logo-banner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 767px) {
  #body .r8_col3 h1 {
    text-align: left;
    font-size: 1.8em;
    line-height: 1em;
    margin-bottom: -2px;
    margin-top: -1px;
  }

  #r8_logo img {
    display: block;
    max-width: 70%;
    max-height: 60%;
    margin: auto;
    vertical-align: middle;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
  }

  #body .r8_col3 .btn {
    display: table;
    float: none !important;
    margin: -10px auto 7px 0 !important;
  }

  #body .r8_col3 h2 {
    text-align: left;
  }

  .logo-banner {
    --logo-height: 64px;
    --logo-width: 138px;
    --logo-gap: 34px;
    --scroll-speed: 24s;
  }

  .jh-solid-box {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-banner__track {
    animation-play-state: paused;
  }
}

.parallax-dark hr, .ub-dark hr, .parallax-black hr, .ub-palette-dark hr, .ub-palette hr, .parallax-gradient-c1c2 .hr {
  border-top: 1px solid #ed2f26;
  border-bottom: 0 solid #fff;
}

.parallax-gradient-c1c2 {
  background-image: -webkit-linear-gradient(to right, rgba(138, 12, 6, 0.5), rgba(37, 57, 109, 0.5));
  background-image: linear-gradient(to right, rgba(138, 12, 6, 0.8), rgba(37, 57, 109, 0.8));
  color: #fff;
}

/* Sticky contact bar */
.wyvern-sticky-contact {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9999;
  padding: 10px 0;
  background-color: #15244d;
  color: #ffffff;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
}

.wyvern-sticky-contact .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wyvern-sticky-contact p {
  margin: 0;
}

.wyvern-sticky-contact .btn {
  margin-left: 6px;
}

.wyvern-sticky-mobile {
  display: none;
}

@media (max-width: 767px) {
  .wyvern-sticky-mobile.visible-xs {
    display: flex !important;
    height: 60px;
    padding: 0;
  }

  .wyvern-sticky-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
  }

  .wyvern-sticky-call {
    background-color: #25396d;
  }

  .wyvern-sticky-quote {
    background-color: #960909;
  }
}

.parallax-dark {
    background-color: rgba(138, 12, 6, 0.8);
    color: #FFF;
}

/* =====================================================
   LOCATION PAGE SYSTEM (.wfd)  used on fire door location pages
   Every section: stripeOuter > article.ub.wfd.wfd-bg-* > container > .wfd-pad
   ===================================================== */

/* Bands */
.wfd.wfd-bg-white {background:#ffffff !important;}
.wfd.wfd-bg-grey {background:#f4f5f7 !important;}
.wfd.wfd-bg-red {background:#960909 !important;}
.wfd.wfd-bg-navy {background:#15244d !important;}
.wfd .wfd-pad {padding:70px 0;}

/* Typography: one heading font, forced colours so the theme can't override */
.wfd h1, .wfd h2, .wfd h3, .wfd h4 {font-family:'Crete Round', serif !important; font-weight:normal !important; text-transform:none !important; letter-spacing:0 !important;}
.wfd h2 {font-size:36px !important; line-height:1.2 !important; color:#15244d !important; margin:0 0 14px !important; text-align:center !important;}
.wfd h3 {font-size:21px !important; line-height:1.3 !important; color:#15244d !important; margin:0 0 10px !important;}
.wfd p, .wfd .wfd-li {font-size:16px !important; line-height:1.7 !important; color:#333333 !important;}
.wfd p {margin:0 0 14px !important;}
.wfd .wfd-lead {font-size:18px !important; color:#4a4a4a !important; max-width:780px; margin:0 auto 38px !important; text-align:center !important;}
.wfd a {color:#960909 !important; font-weight:bold; text-decoration:underline;}
.wfd strong {color:inherit;}

/* Dark bands */
.wfd-bg-red h2, .wfd-bg-red h3, .wfd-bg-red p, .wfd-bg-red .wfd-li, .wfd-bg-red a,
.wfd-bg-navy h2, .wfd-bg-navy h3, .wfd-bg-navy p, .wfd-bg-navy .wfd-li, .wfd-bg-navy a,
.wfd-hero h1, .wfd-hero h2, .wfd-hero p, .wfd-hero a {color:#ffffff !important;}
.wfd-bg-red .wfd-lead, .wfd-bg-navy .wfd-lead {color:rgba(255,255,255,.9) !important;}
.wfd-bg-red .wfd-li .fa, .wfd-bg-navy .wfd-li .fa {color:#ffffff !important;}

/* Layout */
.wfd .wfd-grid {display:grid; gap:22px;}
.wfd .wfd-g2 {grid-template-columns:repeat(2,1fr);}
.wfd .wfd-g3 {grid-template-columns:repeat(3,1fr);}
.wfd .wfd-g4 {grid-template-columns:repeat(4,1fr);}
.wfd .wfd-split {display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center;}
.wfd .wfd-split h2, .wfd .wfd-split .wfd-lead {text-align:left !important; margin-left:0 !important;}
.wfd .wfd-img {display:block; width:100%; height:auto; border-radius:10px;}
.wfd p + h3, .wfd .wfd-list + h3 {margin-top:24px !important;}

/* Lists (divs, so the theme's li bullets never appear) */
.wfd .wfd-list {margin:0 0 18px;}
.wfd .wfd-li {display:flex; align-items:flex-start; gap:12px; margin:0 0 12px;}
.wfd .wfd-li .fa {flex:0 0 20px; font-size:19px; color:#ed2f26; margin-top:4px; text-align:center;}

/* Cards */
.wfd .wfd-card {background:#ffffff; border-radius:10px; padding:26px; box-shadow:0 2px 14px rgba(21,36,77,.08); display:flex; flex-direction:column; height:100%; text-align:left;}
.wfd-bg-white .wfd-card {background:#f4f5f7; box-shadow:none;}
.wfd .wfd-card p:last-child {margin-bottom:0 !important;}
.wfd .wfd-card .wfd-ico {display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px; border-radius:50%; background:#960909; color:#fff; font-size:20px; margin-bottom:14px;}
.wfd .wfd-card .wfd-foot {margin-top:auto; padding-top:10px;}
.wfd .wfd-card-img {width:calc(100% + 52px); max-width:none; height:190px; object-fit:cover; margin:-26px -26px 20px; border-radius:10px 10px 0 0;}
.wfd .wfd-card .wfd-more {display:block; margin-bottom:6px;}

/* Quick answer + facts */
.wfd .wfd-answer {background:#ffffff; border-left:6px solid #960909; border-radius:10px; box-shadow:0 4px 20px rgba(21,36,77,.08); padding:30px 34px; margin:0 auto 34px; max-width:960px;}
.wfd .wfd-tag {display:inline-block; background:#960909; color:#fff !important; font-size:12px !important; font-weight:bold; letter-spacing:1px; text-transform:uppercase; padding:4px 10px; border-radius:3px; margin-bottom:12px;}
.wfd .wfd-meta {font-size:13px !important; color:#666 !important; margin:6px 0 0 !important;}
.wfd .wfd-fact {background:#f4f5f7; border-top:4px solid #ed2f26; border-radius:8px; padding:18px 20px;}
.wfd .wfd-fact h3 {font-size:18px !important; margin-bottom:6px !important;}
.wfd .wfd-fact p {font-size:15px !important; margin:0 !important;}

/* Steps */
.wfd .wfd-num {display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:50%; background:#960909; color:#fff; font-size:22px; font-weight:bold; margin-bottom:14px;}

/* Callout */
.wfd .wfd-callout {border:2px solid rgba(255,255,255,.45); border-radius:10px; padding:20px 22px; margin:6px 0 0;}

/* Buttons (paired with .btn so CMS form links keep working) */
.wfd .wfd-btn {display:inline-block !important; padding:14px 26px !important; font-size:16px !important; font-weight:bold !important; line-height:1.2 !important; border-radius:5px !important; border:2px solid transparent !important; text-decoration:none !important; text-align:center !important; white-space:normal !important; box-shadow:none !important; margin:0 10px 10px 0;}
.wfd .wfd-btn .fa {margin-right:6px;}
.wfd .wfd-btn-red {background:#ed2f26 !important; border-color:#ed2f26 !important; color:#ffffff !important;}
.wfd .wfd-btn-red:hover {background:#c91d15 !important; border-color:#c91d15 !important;}
.wfd .wfd-btn-white {background:#ffffff !important; border-color:#ffffff !important; color:#960909 !important;}
.wfd .wfd-btn-white:hover {background:#f1f1f1 !important;}
.wfd .wfd-btn-ghost {background:transparent !important; border-color:#ffffff !important; color:#ffffff !important;}
.wfd .wfd-btn-ghost:hover {background:rgba(255,255,255,.12) !important;}
.wfd .wfd-btn-navy {background:#15244d !important; border-color:#15244d !important; color:#ffffff !important;}
.wfd .wfd-btn-outline {background:transparent !important; border-color:#15244d !important; color:#15244d !important;}
.wfd .wfd-btn-block {display:block !important; width:100%; margin:0 !important;}
.wfd .wfd-center {text-align:center;}

/* CTA strip: heading + sentence left, buttons right */
.wfd .wfd-cta {display:flex; align-items:center; justify-content:space-between; gap:28px; background:#960909; border-radius:12px; padding:30px 36px; margin-top:46px; box-shadow:0 8px 26px rgba(150,9,9,.22); text-align:left;}
.wfd .wfd-cta-text {flex:1 1 auto;}
.wfd .wfd-cta h3 {font-size:25px !important; color:#ffffff !important; margin:0 0 6px !important;}
.wfd .wfd-cta p {color:#ffffff !important; margin:0 !important; font-size:16px !important;}
.wfd .wfd-cta-actions {flex:0 0 auto; display:flex; flex-wrap:wrap; gap:10px;}
.wfd .wfd-cta-actions .wfd-btn {margin:0 !important;}
.wfd .wfd-cta-navy {background:#15244d; box-shadow:0 8px 26px rgba(21,36,77,.22);}
.wfd .wfd-cta-white {background:#ffffff; box-shadow:0 8px 26px rgba(0,0,0,.18);}
.wfd .wfd-cta-white h3 {color:#960909 !important;}
.wfd .wfd-cta-white p {color:#333333 !important;}

/* Hero */
.wfd-hero .wfd-sub {font-size:21px !important; font-weight:bold; margin:8px 0 12px !important;}
.wfd-hero .wfd-pills {margin-top:14px;}
.wfd-hero .wfd-pills span {display:inline-block; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.35); border-radius:20px; padding:5px 12px; margin:0 6px 8px 0; font-size:14px; color:#fff;}
.wfd-hero .wfd-pills .fa {color:#ff4a40; margin-right:5px;}

/* FAQ */
.wfd .wfd-faq {max-width:900px; margin:0 auto;}
.wfd .wfd-faq-item {background:#ffffff; border-left:5px solid #ed2f26; border-radius:8px; padding:22px 26px; margin-bottom:14px; box-shadow:0 2px 12px rgba(21,36,77,.06);}
.wfd .wfd-faq-item h3 {font-size:20px !important; margin-bottom:8px !important;}
.wfd .wfd-faq-item p {margin:0 !important;}

/* Reviews */
.wfd .wfd-stars {color:#ed2f26; margin-bottom:12px; font-size:16px;}
.wfd .wfd-who {margin-top:auto !important; padding-top:12px; font-size:14px !important; color:#555 !important;}

/* Tablet */
@media (max-width:991px) {
  .wfd .wfd-g3, .wfd .wfd-g4 {grid-template-columns:repeat(2,1fr);}
  .wfd .wfd-split {grid-template-columns:1fr; gap:28px;}
  .wfd .wfd-cta {flex-direction:column; align-items:stretch;}
}

/* Mobile */
@media (max-width:767px) {
  .wfd .wfd-pad {padding:44px 0;}
  .wfd h1 {font-size:30px !important; line-height:1.2 !important;}
  .wfd h2 {font-size:26px !important;}
  .wfd h3 {font-size:19px !important;}
  .wfd .wfd-lead {font-size:16px !important; margin-bottom:26px !important;}
  .wfd .wfd-g2, .wfd .wfd-g3, .wfd .wfd-g4 {grid-template-columns:1fr; gap:14px;}
  .wfd .wfd-g4.wfd-tight, .wfd .wfd-g3.wfd-tight {grid-template-columns:repeat(2,1fr); gap:10px;}
  .wfd .wfd-tight .wfd-card, .wfd .wfd-tight .wfd-fact {padding:14px;}
  .wfd .wfd-tight h3 {font-size:16px !important;}
  .wfd .wfd-tight p {font-size:14px !important; line-height:1.5 !important;}
  .wfd .wfd-tight .wfd-ico {width:36px; height:36px; font-size:16px; margin-bottom:10px;}
  .wfd .wfd-answer {padding:22px 20px;}
  .wfd .wfd-cta {padding:26px 20px; margin-top:34px; text-align:center;}
  .wfd .wfd-cta-actions {flex-direction:column;}
  .wfd .wfd-btn {display:block !important; width:100%; margin:0 0 10px !important;}
  .wfd .wfd-card-img {height:170px;}
  .wfd.parallax {background-attachment:scroll !important;}
  .wfd .wfd-hide-mob {display:none !important;}
}
@media (max-width:359px) {
  .wfd .wfd-g4.wfd-tight, .wfd .wfd-g3.wfd-tight {grid-template-columns:1fr;}
}

/* CTA trust line */
.wfd p.wfd-cta-note {margin:12px 0 0 !important; font-size:14px !important; line-height:1.5 !important;}
.wfd .wfd-cta-note span {display:inline-block; margin:0 16px 4px 0; white-space:nowrap;}
.wfd .wfd-cta-note .fa {margin-right:6px; font-size:12px;}
.wfd .wfd-cta p.wfd-cta-note, .wfd-hero p.wfd-cta-note {color:rgba(255,255,255,.88) !important;}
.wfd .wfd-cta-white p.wfd-cta-note {color:#555555 !important;}
.wfd .wfd-cta-white .wfd-cta-note .fa {color:#ed2f26;}
.wfd .wfd-cta-actions {flex-direction:column; align-items:stretch; min-width:260px;}
.wfd .wfd-cta-actions .wfd-btn {padding:15px 26px !important; font-size:17px !important;}
@media (max-width:767px) {
  .wfd .wfd-cta-note span {margin:0 8px 4px; white-space:normal;}
  .wfd .wfd-cta-actions {min-width:0;}
}

/* Closing conversion routes (two options) */
.wfd .wfd-route {background:rgba(255,255,255,.1); border:2px solid rgba(255,255,255,.35); border-radius:10px; padding:22px 24px; margin:0 0 16px;}
.wfd .wfd-route h3 {color:#ffffff !important; margin-bottom:8px !important;}
.wfd .wfd-route h3 .fa {margin-right:8px;}
.wfd .wfd-route p:last-child {margin-bottom:0 !important;}

/* Placeholder highlight: anything in yellow still needs real content */
.wfd .wfd-todo {background:#fff3a0 !important; color:#000000 !important; padding:1px 5px; border-radius:3px; font-weight:bold;}

/* Stop the mobile sticky bar covering the footer */
@media (max-width: 767px) {
  body { padding-bottom: 60px; }
}
