/*
Theme Name: Best Roofing

Fonts Used:
  font-family: "Public Sans", sans-serif;
*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  font-size: 100%;
  font: inherit;
  padding: 0;
  border: 0;
  margin: 0;
  vertical-align: baseline
}
body {
  line-height: 1
}
ol, ul {
  list-style: none
}
blockquote, q {
  quotes: none
}
blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none
}
table {
  border-collapse: collapse;
  border-spacing: 0
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}
.clear {
  clear: both
}
.sticky {}
.bypostauthor {}
.wp-caption {}
.wp-caption-text {}
.gallery-caption {}
.alignright {}
.alignleft {}
.aligncenter {}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important
}
/*--------- BODY ELEMENTS --------- */
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Public Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.444em;
  letter-spacing: -0.02em;
  word-spacing: 0.04em;
  max-width: 2400px;
  margin: 0 auto;
}
a {
  text-decoration: none;
  transition: .5s;
}
b, strong {
  font-weight: 700;
}
nav, section, footer, div, li, a, input, select, textarea, img, td, article, header {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
input, select, textarea {
  -webkit-appearance: none;
}
p {
  margin: 0 0 1.5em 0;
}
p:last-child {
  margin: 0 !important;
}
a {
  text-decoration: none;
  transition: .5s;
}
em, i {
  font-style: italic;
}
img {
  height: auto;
}
h1, h2, h3, h4, h5, h6 {
  line-height: 1.333em;
  box-sizing: border-box;
}
:root {
  --blue-color: #1b76bc;
  --dark-gray-color: #555658;
  --light-gray-color: #e5e5e5;
  --very-light-gray-color: #f3f3f3;
  --blue-pale-color: #eaf3f9;
  --gradient: linear-gradient(to bottom, rgba(123, 124, 127, 0.25) 0%, rgba(123, 124, 127, 0.15) 50%, rgba(123, 124, 127, 0) 70%, rgba(255, 255, 255, 0) 100%);
  --gradient-one: linear-gradient(to bottom, rgba(123, 124, 127, 0.15) 0%, rgba(123, 124, 127, 0.05) 100%);
  --gradient-two: linear-gradient(to top, rgba(123, 124, 127, 0.15) 0%, rgba(123, 124, 127, 0.05) 100%);
  --border-radius-img: 1em;
  --border-radius-article: 1em;
  --border-radius-btn: 0.5em;
  --border-radius-left-only: 1em 0 0 1em;
  --border-radius-right-only: 0 1em 1em 0;
  --border-radius-top-only: 1em 1em 0 0;
  --border-radius-bottom-only: 0 0 1em 1em;
  --box-shadow-article: 0 1em 2em rgba(0, 0, 0, .15);
}
/*--------- F00TER ELEMENTS --------- */
#footer {
  display: table;
  width: 100%;
  background: var(--blue-color);
  color: #fff;
  .footerinfo {
    display: grid;
    gap: 2em 4em;
    grid-template-columns: repeat(4, 1fr) 0.75fr;
    width: min(92%, 1500px);
    margin: 3em auto 0 auto;
    line-height: 1.556em;
    a {
      color: #fff;
      &:hover {
        color: #000;
      }
    }
    h3 {
      font-weight: 700;
      text-transform: uppercase;
      padding: 0 0 0.75em 0;
      margin: 0 0 0.75em 0;
      border-bottom: 1px dashed #fff;
    }
    hr {
      display: block;
      border: none;
      border-top: 1px dashed #fff;
    }
    .logo img {
      display: table;
      width: min(14em, 100%);
    }
    .logo span {
      display: table;
      margin: 1em 0 0 0;
    }
    .follow .fa-brands {
      font-size: 2.667em;
      margin: 0 0 0.25em 0;
    }
  }
.copyright {
    display: flex;
    justify-content: space-between;
    width: min(92%, 1500px);
    margin: 1em auto 0 auto;
    padding: 1em 0;
	font-size: 0.889em;

    a {
        color: #fff;

        &:hover {
            color: #fff;
        }
    }
}
}
/*--------- HEADER ELEMENTS --------- */
#header {
  display: table;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(0.5em);
  border-bottom: 2px solid var(--blue-color);
}
#branding {
  display: table;
  width: min(92%, 1500px);
  margin: 1.5em auto;
  .left img {
    display: table;
    margin: 0;
    float: left;
    width: 14em;
    max-width: 100%;
  }
  .right {
    display: flex;
    flex-direction: column;
    gap: 2em;
    text-align: right;
    .service {
      display: flex;
      flex-direction: column;
      gap: 0.5em;
      .call {
        font-size: 2em;
        font-weight: 700;
      }
      span {
        font-size: 1.222em;
        font-weight: 700;
      }
      .fa-solid {
        color: var(--blue-color);
      }
      a {
        color: var(--blue-color);
      }
      a:hover {
        color: #000;
      }
    }
  }
}
[id] {
  scroll-margin-top: var(--header-height, 0px);
}
/*--------- MOBILE HEADER ELEMENTS --------- */
.mobileheader {
    display: none;
}
/*--------- HOME BANNER INTRO ELEMENTS --------- */
#bannerintro {
  display: table;
  width: min(92%, 1500px);
  margin: 0 auto 0 auto;
  padding: 1.5em 2em;
  background: var(--dark-gray-color);
  color: #fff;
  font-size: 1.111em;
  line-height: 1.556em;
}
/*--------- HOME KEY SERVICES ELEMENTS --------- */
#keyservices {
  display: table;
  width: 100%;
  padding: 3em 0 3em 0;
}
#keyservices .keyservices {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  width: min(92%, 1500px);
  margin-inline: auto;
  background: var(--blue-color);
  font-size: 1.111em;
  line-height: 1.556em;
}
#keyservices .keyservices .widget {
  display: flex;
  flex-direction: row;
  gap: 1em;
  align-items: center;
  background: #fff;
  padding: 0 1.5em;
}
#keyservices .keyservices .widget:first-of-type {
  padding: 0 1.5em 0 0;
}
#keyservices .keyservices .widget:last-of-type {
  padding: 0 0 0 1.5em;
}
#keyservices .keyservices .widget .icon img {
  display: table;
  width: min(5em, 90px);
}
#keyservices .keyservices .widget .details h3 {
  font-size: 1.2em;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.5em 0;
}
#keyservices .keyservices .widget .details h3 span {
  font-weight: 800;
  color: var(--blue-color);
}
/*--------- HOME lOCATION MAP ELEMENTS --------- */
#local {
  display: table;
  width: 100%;
  margin: 5em 0;
  background: linear-gradient(to right, var(--light-gray-color) 50%, #fff 50%);
}
#local .local {
  display: grid;
  gap: 3px;
  grid-template-columns: repeat(2, 1fr);
  width: min(92%, 1500px);
  margin-inline: auto;
  background: var(--blue-color);
  font-size: 1.111em;
  line-height: 1.556em;
}
#local .local .widget:first-of-type {
  padding: 4vw 4vw 4vw 0;
  background: var(--light-gray-color);
}
#local .local .widget:last-of-type {
  background: url("images/locations-map.webp") center no-repeat #fff;
  background-size: cover;
}
#local .local .widget:first-of-type h3 {
  font-size: 2.667em;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1em;
  margin: 0 0 0.5em 0;
}
#local .local .widget:first-of-type h3 span {
  display: block;
  color: var(--blue-color);
}
#local .local .widget:first-of-type p {
  font-size: 1.111em;
}
/*--------- HOME SERVICES ELEMENTS ---------*/
#services {
  display: table;
  width: 100%;
  background: var(--gradient);
  .services {
    display: table;
    width: 92%;
    max-width: 1500px;
    margin: 5em auto 5em auto;
    h2 {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25em;
      font-size: 2em;
      font-weight: 700;
      text-align: center;
      text-transform: uppercase;
      margin: 0 0 1em 0;
      &:before, &:after {
        content: "";
        width: 3em;
        height: 1px;
        background: var(--blue-color);
        flex: 0 0 3em;
      }
      span {
        font-weight: 800;
        color: var(--blue-color);
      }
    }
    ul {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1em;
      align-content: flex-start;
      text-align: center;
      li {
        background: var(--gradient);
        img {
          display: block;
          width: 100%;
          margin: 0;
          border-bottom: 2px solid #fff;
        }
        h3 {
          font-size: 1.111em;
          font-weight: 700;
          line-height: 1.222em;
          text-transform: uppercase;
          margin: 1em 0;
          position: relative;
          &:before {
            content: "";
            display: flex;
            align-items: center;
            justify-content: center;
            width: min(5em, 90px);
            height: min(5em, 90px);
            margin: 0 auto 1em auto;
          }
        }
        &:nth-child(1) h3:before {
          background: url("images/service-1.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(2) h3:before {
          background: url("images/service-2.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(3) h3:before {
          background: url("images/service-3.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(4) h3:before {
          background: url("images/service-4.webp") center no-repeat;
          background-size: contain;
        }
        .info {
          padding: 0 1.5em;
          p {
            font-size: 1.111em;
            line-height: 1.444em;
          }
          a {
            font-weight: 700;
            text-transform: uppercase;
            color: var(--blue-color);
            &:hover {
              color: #000;
            }
          }
        }
      }
    }
  }
}
/*--------- HOME ROOFING ELEMENTS ---------*/
#roofing {
  display: table;
  width: 100%;
  color: #fff;
  .roofing {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 0;
    width: 92%;
    max-width: 1500px;
    margin: 0 auto 5em auto;
    li {
      position: relative;
      list-style: none;
      padding: 5em 2em;
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-align: center;
      overflow: hidden;
      &:nth-child(1) {
        background: var(--blue-color);
        text-align: left;
        h2 {
          font-size: 2em;
          font-weight: 800;
          line-height: 1.111em;
          margin: 0 0 1em 0;
        }
        h3 {
          margin: 0;
          &:before {
            display: none;
          }
        }
        a {
          display: table;
          background: #fff;
          color: #000;
          text-transform: uppercase;
          font-weight: 700;
          padding: 0.5em 0.75em;
          &:hover {
            background: var(--dark-gray-color);
            color: #fff;
          }
        }
      }
      &:nth-child(2), &:nth-child(3), &:nth-child(4) {
        background: #000;
        &:before {
          content: "";
          position: absolute;
          inset: 0;
          background-position: center;
          background-repeat: no-repeat;
          background-size: cover;
          opacity: 0.45;
          z-index: 0;
        }
        > * {
          position: relative;
          z-index: 1;
        }
      }
      &:nth-child(2):before {
        background-image: url("images/single-ply-roofing-pic.webp");
      }
      &:nth-child(3):before {
        background-image: url("images/roof-coatings-pic.webp");
      }
      &:nth-child(4):before {
        background-image: url("images/spray-foam-roofing-pic.webp");
      }
      h2 {
        font-size: 2em;
        font-weight: 800;
        line-height: 1.111em;
        margin: 0 0 1em 0;
      }
      h3 {
        font-size: 1.111em;
        font-weight: 700;
        line-height: 1.222em;
        text-transform: uppercase;
        margin: 1em 0;
        position: relative;
        &:before {
          content: "";
          width: min(7em, 108px);
          height: min(7em, 108px);
          display: block;
          margin: 0 auto 1em auto;
        }
      }
      &:nth-child(2) h3:before {
        background: url("images/roofing-1.webp") center no-repeat;
        background-size: contain;
      }
      &:nth-child(3) h3:before {
        background: url("images/roofing-2.webp") center no-repeat;
        background-size: contain;
      }
      &:nth-child(4) h3:before {
        background: url("images/roofing-3.webp") center no-repeat;
        background-size: contain;
      }
      p {
        font-size: 1.111em;
        line-height: 1.444em;
      }
    }
  }
}
/*--------- HOME RESTORE ELEMENTS ---------*/
#restore {
  display: table;
  width: 100%;
  background: url("images/restore-bg.webp") top no-repeat;
  background-size: cover;
  .restore {
    display: table;
    width: 92%;
    max-width: 1500px;
    margin: 0 auto 5em auto;
    h2 {
      font-size: 2.667em;
      font-weight: 700;
      text-transform: uppercase;
      line-height: 1em;
      margin: 0 0 0.25em 0;
      span {
        display: block;
        font-size: 0.5em;
        font-weight: 400;
        text-transform: none;
      }
    }
    ul {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      li {
        list-style: none;
        padding: 2em 2em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        font-size: 1.333em;
        line-height: 1.556em;
        h3 {
          font-weight: 700;
          text-transform: uppercase;
          margin: 0 0 0.25em 0;
          &:before {
            content: "";
            width: min(7em, 108px);
            height: min(7em, 108px);
            display: block;
            margin: 0 auto 1em auto;
          }
        }
        &:nth-child(1) h3:before {
          background: url("images/repair-1.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(2) h3:before {
          background: url("images/restore-1.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(3) h3:before {
          background: url("images/replace-1.webp") center no-repeat;
          background-size: contain;
        }
        &:nth-child(1) {
          background: color-mix(in srgb, var(--dark-gray-color) 45%, transparent);
        }
        &:nth-child(2) {
          background: color-mix(in srgb, var(--dark-gray-color) 35%, transparent);
        }
        &:nth-child(3) {
          background: color-mix(in srgb, var(--dark-gray-color) 25%, transparent);
        }
      }
    }
    a {
      display: table;
      background: var(--blue-color);
      color: #fff;
      text-transform: uppercase;
      font-size: 1.111em;
      font-weight: 700;
      padding: 0.5em 0.75em;
      &:hover {
        background: var(--dark-gray-color);
      }
    }
  }
}
/*--------- HOME QUALITY ELEMENTS ---------*/
#quality {
  display: table;
  width: 100%;
  background: var(--gradient);
  .quality {
    display: table;
    width: 92%;
    max-width: 1500px;
    margin: 5em auto 0 auto;
    h2 {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25em;
      font-size: 2em;
      font-weight: 700;
      text-align: center;
      text-transform: uppercase;
      margin: 0 0 1em 0;
      &:before, &:after {
        content: "";
        width: 3em;
        height: 1px;
        background: var(--blue-color);
        flex: 0 0 3em;
      }
      span {
        font-weight: 800;
        color: var(--blue-color);
      }
    }
    .logos {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1em;
      flex-wrap: wrap;
      img {
        width: auto;
        height: auto;
        max-width: 20em;
        max-height: 8em;
        object-fit: contain;
      }
    }
  }
}
/*--------- HOME GALLERY ELEMENTS ---------*/
#gallery {
  display: table;
  width: 100%;
  padding: 0 0 5em 0;
  .gallery {
    display: table;
    width: 92%;
    max-width: 1500px;
    margin: 5em auto 0 auto;
    h2 {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.25em;
      font-size: 2em;
      font-weight: 800;
      text-align: center;
      text-transform: uppercase;
      margin: 0 0 1em 0;
      &:before, &:after {
        content: "";
        width: 3em;
        height: 1px;
        background: var(--blue-color);
        flex: 0 0 3em;
      }
      span {
        font-weight: 800;
        color: var(--blue-color);
      }
    }
    a.galbtn {
      display: table;
      margin-inline: auto;
      background: var(--blue-color);
      color: #fff;
      text-transform: uppercase;
      font-size: 1.111em;
      font-weight: 700;
      padding: 0.5em 0.75em;
      &:hover {
        background: var(--dark-gray-color);
      }
    }
    .ngg-gallery-thumbnail a {
      margin: 7px 5px;
    }
  }
  .ngg-galleryoverview {
    margin: 36px 0;
  }
}
/*--------- HOME BANNER ELEMENTS ---------*/
#homebanner {
  display: table;
  width: 100%;
  position: relative;
}
#homebanner #metaslider-id-75 .flexslider ol.flex-control-nav:not(.flex-control-thumbs) li a:not(.flex-active) {
  background: var(--blue-color);
  border-radius: 100%;
  color: transparent;
  height: 1em;
  width: 1em;
}
#homebanner #metaslider-id-75 .flexslider .flex-control-nav li a.flex-active {
  background: #fff;
  border-radius: 100%;
  color: transparent;
  height: 1em;
  width: 1em;
}
#homebanner {
  #bannermessage {
    display: table;
    margin: 0 auto;
    width: 92%;
    max-width: 1500px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    .links {
      display: block;
      text-align: right;
      margin: 0 0 0.5em 0;
      a {
        &.blue {
          display: inline-table;
          background: var(--blue-color);
          color: #fff;
          text-transform: uppercase;
          font-size: 1.111em;
          font-weight: 700;
          padding: 0.75em 1.5em;
          &:hover {
            background: var(--dark-gray-color);
          }
        }
        &.gray {
          display: inline-table;
          background: var(--dark-gray-color);
          color: #fff;
          text-transform: uppercase;
          font-size: 1.111em;
          font-weight: 700;
          padding: 0.75em 1.5em;
          &:hover {
            background: var(--blue-color);
          }
        }
      }
    }
    .message {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      background: color-mix(in srgb, var(--blue-color) 80%, transparent);
      color: #fff;
      padding: 1.5em 2em;
      .left {
        span {
          display: block;
          font-size: 1.333em;
          font-weight: 700;
          line-height: 1em;
        }
        h1 {
          display: block;
          font-size: 3.333em;
          font-weight: 700;
          line-height: 1em;
          em {
            font-style: normal;
            position: relative;
            &:after {
              content: "";
              width: 100%;
              height: 2em;
              position: absolute;
              left: 0;
              top: 0.25em;
              background: url("images/swoosh.webp") center no-repeat;
              background-size: contain;
            }
          }
        }
      }
      .right {
        display: flex;
        align-items: center;
        gap: 0.5em;
        font-size: 1.333em;
        font-weight: 700;
        line-height: 1em;
        &:before {
          content: "";
          flex: 0 0 2em;
          width: 2.5em;
          height: 2.5em;
          background: url("images/24-7.webp") center no-repeat;
          background-size: contain;
        }
      }
    }
  }
}
/*--------- HOME CLAIMS ELEMENTS ---------*/
#claims {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--blue-color);
  &:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38.5%;
    height: 100%;
    background: url("images/insurance-claims-pic.webp") top center no-repeat;
    background-size: cover;
  }
  .claims {
    position: relative;
    z-index: 1;
    display: flex;
    width: 92%;
    max-width: 1500px;
    margin: 0 auto;
    .widget {
      display: flex;
      flex-direction: column;
      justify-content: center;
      width: 62%;
      padding: 4em 3em 4em 0;
      color: #fff;
      .eyebrow {
        font-size: 1.333em;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0 0 1.5em 0;
      }
      h2 {
        display: flex;
        align-items: center;
        gap: 0.5em;
        font-size: 2.667em;
        font-weight: 800;
        line-height: 1em;
        text-transform: uppercase;
        margin: 0 0 0.5em 0;
        &:before {
          content: "";
          flex: 0 0 2em;
          width: 2.5em;
          height: 2.5em;
          background: url("images/storm-damage-icon.webp") center no-repeat;
          background-size: contain;
        }
      }
      p {
        font-size: 1.111em;
        line-height: 1.556em;
        margin: 0 0 1.5em 0;
      }
      a {
        color: #fff;
        font-size: 1.111em;
        font-weight: 700;
        text-transform: uppercase;
        &:hover {
          color: #000;
        }
      }
    }
  }
}
/*--------- HOME CONTENT ELEMENTS ---------*/
.page-template-front-page {
  #container {
    display: table;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
}
#homecontent {
  display: table;
  width: 92%;
  max-width: 1500px;
  margin: 1em auto 3em auto;
}
/* --------- PAGE ELEMENTS --------- */
#container {
  display: table;
  margin: 0 auto;
  width: 92%;
  max-width: 1500px;
  padding: 3em 0;
  #content {
    float: left;
    width: 71%;
    a {
      color: var(--blue-color);
      &:hover {
        color: #000000;
      }
    }
    h1 {
      font-family: "Public Sans", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: 2.444em;
      line-height: 1.35em;
      margin: 0 0 0.5em 0;
    }
    h2 {
      font-family: "Public Sans", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: 2em;
      line-height: 1.35em;
      margin: 0 0 0.600em 0;
      color: #000;
    }
    h3 {
      font-family: "Public Sans", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: 1.667em;
      line-height: 1.35em;
      margin: 0 0 0.750em 0;
      color: #000;
    }
    h4 {
      font-family: "Public Sans", sans-serif;
      font-weight: 700;
      letter-spacing: -0.02em;
      font-size: 1.444em;
      line-height: 1.35em;
      margin: 0 0 0.900em 0;
      color: #000;
    }
    ul {
      line-height: 1.5em;
      margin-bottom: 1.5em;
      padding-left: 1em;
      li {
        list-style: none;
        padding: 0.5em 0 0.4em 1.35em;
        position: relative;
        &:before {
          content: "\f00c";
          left: 0;
          font-size: 0.889em;
          position: absolute;
          font-family: "Font Awesome 7 Free";
          font-weight: 900;
          color: var(--blue-color);
        }
        ul {
          margin-bottom: 0.5em;
        }
      }
    }
    ol {
      line-height: 1.5em;
      margin-bottom: 1.5em;
      padding-left: 2em;
      list-style: decimal;
      li {
        padding: 0.3em 0;
      }
    }
    .imgright {
      width: 32%;
      float: right;
      margin: 0 0 0.5em 1.5em;
      clear: right;
      img {
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: var(--border-radius-img);
      }
    }
    .threeimgs {
      display: table;
      width: 100%;
      padding: 0;
      margin: 0 0 2em 0;
      li {
        width: 32%;
        margin: 0 2% 0 0;
        padding: 0;
        list-style: none;
        background: none;
        float: left;
        &:last-child {
          margin: 0;
        }
        img {
          display: table;
          width: 100%;
          height: auto;
          margin: 0;
          border-radius: var(--border-radius-img);
        }
        &:before {
          display: none;
        }
        &.double {
          width: 64%;
          margin: 0 0 0 2%;
        }
      }
    }
    .altimages {
      display: grid;
      gap: 1.5em;
      grid-template-columns: 1fr 1fr;
      width: 100%;
      padding: 0;
      margin: 0;
      li {
        padding: 0;
        margin: 0;
        img {
          display: table;
          width: 100%;
          height: auto;
          margin: 0;
          border-radius: var(--border-radius-img);
        }
        &:before {
          display: none;
        }
      }
    }
  }
}
#sidebar {
  float: right;
  width: 27%;
}
.alignleft {
  float: left;
  margin: 0 1.5em 0.5em 0;
}
.alignright {
  float: right;
  margin: 0 0 0.5em 1.5em;
}
.alignnone, .aligncenter {
  float: none;
  margin: 1.5em auto;
  display: table;
}
/* --------- FORM ELEMENTS --------- */
.wpcf7 {
  .wpcf7-form {
    p {
      margin: 0 !important;
    }
  }
  .wpcf7-spinner {
    visibility: hidden;
    z-index: 999;
    position: relative;
    top: -30px;
    right: 10px;
    float: right;
    margin: 0 0 -20px 0 !important;
  }
  br {
    display: none;
  }
}
input {
  height: 2.8em;
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 1.111em;
  width: 100%;
  padding: 0 0.75em;
  border: 1px solid #ccc;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 5px;
  &[type="submit"] {
    display: table;
    font-family: "Public Sans", sans-serif;
    text-decoration: none;
    color: #fff;
    font-size: 1em;
    font-weight: 700;
    line-height: 2.8em;
    background: var(--blue-color);
    cursor: pointer;
    border: none;
    padding: 0 1em;
    height: inherit;
    margin: 0 auto;
    width: 100%;
    transition: .5s;
    &:hover {
      color: #fff;
      background: #000000;
    }
  }
}
.wpcf7-form-control-wrap {
  position: relative;
  display: block;
  select {
    height: 2.8em;
    width: 100%;
    padding: 0 2.5em 0 0.75em;
    font-family: "Public Sans", sans-serif;
    font-size: 1.111em;
    font-weight: 400;
    background: #fff;
    border: 1px solid #ccc;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 5px;
  }
  &:has(select)::after {
    content: "\f107";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
  }
}
textarea {
  height: 7em;
  font-family: "Public Sans", sans-serif;
  font-weight: 400;
  font-size: 1.111em;
  width: 100%;
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  resize: none;
  border-radius: 5px;
}
div.wpcf7-response-output {
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  color: red !important;
  text-align: center !important;
  font-size: 1em !important;
  border: none !important;
  line-height: 1.25em !important;
}
div.wpcf7-mail-sent-ng {
  margin: 10px 0 0 0 !important;
  padding: 0 !important;
  color: green !important;
  text-align: center !important;
  font-size: 1em !important;
  border: none !important;
  line-height: 1.25em !important;
}
span.wpcf7-not-valid-tip {
  margin: 0 0 5px 0 !important;
  color: red !important;
  font-size: 1em !important;
  font-weight: 400 !important;
  text-align: left !important;
  line-height: 1.25em !important;
}
div.wpcf7-validation-errors {
  color: red !important;
  border: none !important;
  font-weight: 400;
  margin: 0.556em 0 !important;
  line-height: 1.25em !important;
}
div.wpcf7-mail-sent-ok {
  border: none !important;
  margin: 0.556em 0 !important;
  line-height: 1.25em !important;
}
#searchform {
  #s {
    width: 75%;
    float: left;
    border: 1px solid #ccc;
    margin: 0;
    font-size: 1em;
    line-height: 2.222em;
    padding: 0 1em;
    box-shadow: 1px 1px 2px #333;
  }
  input[type="submit"] {
    width: 25%;
    float: left;
    font-size: 1em;
    line-height: 2.778em;
    padding: 0;
    box-shadow: 1px 1px 2px #333;
  }
}
/* --------- BLOG PAGE ELEMENTS --------- */
.entry-meta {
  margin: 0 0 1em 0;
}
.entry-footer {
  border: 1px solid #ededed;
  background: #fbfbfb;
  padding: 0.25em 1em;
  display: table;
  width: 100%;
  margin: 1.5em 0 0 0;
}
.cat-links, .tag-links {
  float: left;
  display: table;
  width: 100%;
  padding: 0;
}
#nav-below {
  margin: 1.5em 0 0 0;
}
.nav-previous {
  float: left;
  width: 50%;
}
.nav-next {
  float: right;
  width: 50%;
  text-align: right;
}
#container {
  #content {
    article {
      margin: 0 0 3em 0 !important;
    }
  }
}
.blog, .single {
  #container {
    #content {
      article {
        .size-post-thumbnail {
          display: none;
          width: 32%;
          float: right;
          margin: 0 0 0.5em 1.5em;
          clear: right;
        }
      }
    }
  }
}
/* --------- SIDEBAR ELEMENTS --------- */
.sidebarform {
  display: table;
  width: 100%;
  background: var(--blue-color);
  padding: 1.5em;
  margin: 0 0 1.5em 0;
  border-radius: var(--border-radius-article);
  box-shadow: var(--box-shadow-article);
  h3 {
    font-family: "Public Sans", sans-serif;
    font-size: 1.667em;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 0.25em 0;
  }
  .wpcf7 {
    margin: 0;
    table {
      display: table;
      margin: 0 auto;
      tr {
        td {
          float: left;
          width: 100%;
          padding: 0.25em 0;
          input, select, textarea {
            margin: 0;
          }
          input[type="submit"] {
            background: #000;
            &:hover {
              background: var(--dark-gray-color);
              color: #000;
            }
          }
          label {
            font-weight: 700;
          }
          div.wpcf7-response-output {
            color: yellow !important;
          }
          div.wpcf7-mail-sent-ng {
            color: white !important;
          }
          span.wpcf7-not-valid-tip {
            color: yellow !important;
          }
          div.wpcf7-validation-errors {
            color: yellow !important;
          }
        }
      }
    }
  }
}
/* --------- VIDEO ELEMENTS --------- */
.videocontainer {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  .videosize {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  iframe {
    display: table;
  }
}
/* --------- FULL WIDTH PAGE ELEMENTS --------- */
.page-template-full-width {
  #container {
    #content {
      width: 100%;
      margin: 0;
    }
  }
}
/* --------- WIDE WIDTH PAGE ELEMENTS --------- */
.page-template-wide-width {
  #container {
    display: table;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    #content {
      float: none;
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      header {
        display: none;
      }
      p:empty {
        display: none;
      }
      .hero-photo {
        width: 100%;
        height: 600px;
        object-fit: cover;
        object-position: center 40%;
      }
      .hero-photos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5px;
        background: #fff;
        height: 600px;
        overflow: hidden;
        img {
          width: 100%;
          height: 600px;
          object-fit: cover;
          min-width: 0;
          margin: 0;
        }
      }
      .best-gallery-hero {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        height: 600px;
        display: grid;
        place-items: center;
        &:after {
          content: "";
          position: absolute;
          inset: 0;
          z-index: -1;
          background: linear-gradient(90deg, #14263855, #14263844);
        }
        .best-gallery-hero__image {
          position: absolute;
          inset: 0;
          z-index: -2;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: 50% 49%;
        }
        h1 {
          font-size: 4em;
          color: #fff;
          margin: 0;
        }
      }
      .container {
        width: 92%;
        max-width: 1500px;
        margin-inline: auto;
      }
      .section {
        padding-block: 4em;
      }
      .hero-panel {
        position: relative;
        margin-top: -9em;
        color: #fff;
        background: var(--dark-gray-color);
        > p {
          padding: 1em 1.5em;
          font-size: 1.333em;
          line-height: 1.556em;
        }
      }
      .hero-heading {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1em;
        padding: 1.5em 2em;
        background: color-mix(in srgb, var(--blue-color) 80%, transparent);
        h1 {
          font-size: 3em;
          margin: 0;
        }
      }
      .button {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 0.75em 1.5em;
        background: var(--blue-color);
        border: 2px solid var(--blue-color);
        color: #fff;
        font-weight: 700;
        line-height: 1em;
        text-decoration: none;
        font-size: 1.111em;
        text-align: center;
        cursor: pointer;
      }
      .button-white {
        background: #fff;
        border-color: #fff;
        color: var(--blue-color);
      }
      .quick-points {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-block: 3em;
        gap: 2em;
        > div {
          padding-right: 2em;
          border-right: 1px solid var(--blue-color);
          h2 {
            font-size: 1.333em;
            font-weight: 800;
            color: var(--blue-color);
            text-transform: uppercase;
            margin: 0 0 0.5em 0;
          }
          p {
            font-size: 1.333em;
            line-height: 1.333em;
          }
          &:last-child {
            padding-right: 0;
            border-right: 0;
          }
        }
      }
      .split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 5em;
      }
      .section-copy {
        font-size: 1.111em;
        line-height: 1.556em;
      }
      .content-photo {
        position: relative;
        align-self: stretch;
        min-height: 600px;
        overflow: hidden;
        img {
          position: absolute;
          inset: 0;
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center 25%;
        }
      }
      .systems-section {
        background: var(--gradient-one);
      }
      .options-section {
        background: var(--gradient-one);
      }
	  .options-section-reverse {
        background: var(--gradient-two);
      }
      .center-heading {
        text-align: center;
      }
      .section-intro {
        font-size: 1.333em;
        text-align: center;
        line-height: 1.556em;
        max-width: 72%;
        margin: 0 auto 1.5em auto;
      }
      h2 {
        font-size: 2.667em;
        font-weight: 800;
        span.blue {
          color: var(--blue-color);
        }
      }
      .system-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2em;
        .system-card {
          display: flex;
          flex-direction: column;
          background: #fff;
          border-top: 0.25em solid var(--blue-color);
          > figure {
            margin: 0;
            img {
              display: block;
              width: 100%;
              height: 100%;
              margin: 0 !important;
            }
          }
          .card-copy {
            padding: 2em;
            font-size: 1.111em;
            line-height: 1.556em;
            h3 {
              margin: 0 0 0.25em 0;
              color: var(--blue-color);
            }
            .positioning {
              font-weight: 700;
            }
          }
        }
      }
      .option-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2em;
        .option-card {
          display: flex;
          flex-direction: column;
          background: #fff;
          border-top: 0.25em solid var(--blue-color);
          padding: 2em;
          font-size: 1.111em;
          line-height: 1.556em;
          h3 {
            margin: 0 0 0.25em 0;
            color: var(--blue-color);
          }
          .positioning {
            font-weight: 700;
          }
          a {
            display: table;
            background: var(--blue-color);
            color: #fff;
            text-transform: uppercase;
            font-size: 1em;
            font-weight: 700;
            padding: 0.5em 0.75em;
            &:hover {
              background: var(--dark-gray-color);
            }
          }
        }
      }
      .process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0 2em;
        .process-card {
          display: flex;
          flex-direction: column;
          background: #fff;
          border-top: 0.25em solid var(--blue-color);
          padding: 2em;
          font-size: 1.111em;
          line-height: 1.556em;
          h3 {
            margin: 0 0 0.25em 0;
            color: var(--blue-color);
          }
          .positioning {
            font-weight: 700;
          }
        }
      }
      .context-cta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2em;
        margin-top: 1em;
        p {
          font-size: 1.333em;
          font-weight: 700;
          line-height: 1.556em;
          margin: 0;
        }
        a {
          font-size: inherit;
		  white-space: nowrap;
        }
      }
      .benefit-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2em;
        margin-top: 2em;
        article {
          border-left: 0.25em solid var(--blue-color);
          padding-left: 1em;
          margin: 0 !important;
          p {
            font-size: 1.111em;
            line-height: 1.556em;
            margin: 0;
          }
        }
      }
      .detail-section {
        background: var(--blue-color);
        .detail-grid {
          display: grid;
          grid-template-columns: 40% 60%;
          align-items: stretch;
          .installation-photo {
            position: relative;
            display: block;
            min-height: 0;
            overflow: hidden;
            img {
              position: absolute;
              inset: 0;
              width: 100%;
              height: 100%;
              min-height: 0;
              object-fit: cover;
              margin: 0;
            }
          }
          .detail-copy {
            padding: 3em 0 3em 3em;
            color: #fff;
            h2 {
              color: #fff;
            }
            p {
              font-size: 1.111em;
              line-height: 1.556em;
              &:last-child {
                margin: 0 0 1.5em 0 !important;
              }
            }
          }
          .dark {
            background: var(--dark-gray-color);
            padding: 3em;
          }
          .detail-item {
            margin-top: 1em;
            border-top: 1px dotted #fff;
            padding-top: 1em;
            h3 {
              color: #fff;
            }
          }
        }
      }
      .support-section {
        background: var(--light-gray-color);
        .support-intro {
          font-size: 1.333em;
          line-height: 1.556em;
          margin: 0 0 1.5em 0;
        }
        .support-grid {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          gap: 2em;
          margin-top: 2em;
          article {
            padding-top: 1em;
            border-top: 1px solid var(--blue-color);
            margin: 0 !important;
            p {
              font-size: 1.111em;
              line-height: 1.556em;
              margin: 0;
            }
          }
        }
      }
      .contact-grid {
        display: grid;
        grid-template-columns: 37% 1fr;
        gap: 5em;
        .contact-copy {
          p {
            font-size: 1.111em;
            line-height: 1.556em;
          }
          .contact-phone {
            display: block;
            font-size: 1.667em;
            font-weight: 700;
            text-decoration: none;
            margin: 1em 0;
          }
          .emergency-note {
            font-size: 1.333em;
            padding-top: 1em;
            border-top: 1px solid var(--blue-color);
            margin-top: 1em;
          }
        }
        .contact-form {
          background: var(--light-gray-color);
          padding: 2em;
          table {
            width: 100%;
            border-collapse: collapse;
            td {
              width: 50%;
              padding: 0.25em;
              vertical-align: top;
              label {
                display: block;
                font-weight: 600;
                margin-bottom: 0.25em;
              }
              input, select, textarea {
                display: block;
                box-sizing: border-box;
                width: 100%;
              }
            }
            td[colspan="2"] {
              width: 100%;
            }
          }
        }
      }
     .contact-grid.reverse {
		  display: grid;
		}

		.contact-grid.reverse .contact-copy {
		  order: 2;
		}

		.contact-grid.reverse .contact-form {
		  order: 1;
		}
      .location-copy {
        .area-intro {
          font-size: 1.111em;
          line-height: 1.556em;
        }
        .area-list {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 0.25em;
          list-style: none;
          margin: 0 0 2em 0;
          padding: 0;
          li {
            padding: 1em;
            font-size: 1.333em;
            font-weight: 700;
            background: var(--blue-color);
            color: #fff;
            &:before {
              display: none;
            }
          }
        }
        .area-note {
          font-size: 1.111em;
          line-height: 1.556em;
        }
      }
      .preparation-section {
        background: var(--gradient-one);
        .preparation-grid {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 2em;
          margin-top: 2em;
          article {
            border-left: 0.25em solid var(--blue-color);
            padding-left: 1em;
            margin: 0 !important;
            p {
              font-size: 1.111em;
              line-height: 1.556em;
              margin: 0;
            }
          }
        }
      }
      .contact-location {
        .location-grid {
          display: grid;
          grid-template-columns: 1.5fr 1fr;
          gap: 3em;
          align-items: center;
          .address-panel {
            background: var(--blue-color);
            color: #fff;
            padding: 3em;
            h3 {
              color: #fff;
            }
            address {
              font-size: 1.333em;
              line-height: 1.556em;
              margin: 0 0 1em 0;
            }
            p {
              font-size: 1.111em;
              line-height: 1.556em;
              &:last-of-type {
                margin: 0;
              }
            }
          }
        }
      }
    }
  }
}
.page-template-wide-width.services-page {
  #container {
    #content {
      .benefit-grid {
        margin-bottom: 2em;
      }
      #restore {
        .restore {
			h2 {
				margin: 0;
			}
          ul {
			  padding: 0;
            li {
			  padding: 2em 2em;
              &:before {
                display: none;
              }
				h3 {
					font-size: 1.333em;
				}
            }
          }
        }
      }
	  .button:hover {
              background: var(--dark-gray-color);
      }
    }
  }
}
/*-------------------POPUP MAKER--------------------*/
.pum-theme-cutting-edge .pum-content table tr td {
	padding: 0.25em;
	label {
		display: block;
		font-weight: 600;
		margin: 0 0 0.25em 0;
	}
}
/*-------------------FAQ ELEMENTS--------------------*/
.service-faq {
        max-width: 768px;
        width: 100%;
	    margin: 0 auto;
        h2 {
          text-align: center;
        }
        details {
          border: 1px solid var(--blue-color);
          border-top: 0.25em solid var(--blue-color);
          padding: 0 1em 0 1em;
          margin: 0 0 0.5em 0;
		  background: #fff;
          summary {
            position: relative;
            cursor: pointer;
            font-size: 1.111em;
            font-weight: 600;
            list-style: none;
			line-height: 1.444em;
            padding: 1em 3em 1em 0;
            &:after {
              content: "+";
              position: absolute;
              right: 0.5em;
              top: 50%;
              transform: translateY(-50%);
              color: var(--blue-color);
              font-size: 1.556em;
              font-weight: 400;
            }
          }
          &[open] summary:after {
            content: "−";
            color: #000;
          }
          p {
            padding: 0 3em 1em 0;
          }
        }
      }