/* Global Styles (portrait) ----------- */
body {
  -webkit-text-size-adjust: none;
}
input,
button,
textarea {
  -webkit-appearance: none;
}
#toggle-menu {
  display: none;
  position: relative;
  color: #565656;
  font-size: 1rem;
  font-weight: 700;
  line-height: var(--line-height-mobile);
  text-transform: uppercase;
  margin: 0 0.96em;
}
#toggle-menu:before {
  content: "";
  width: 100%;
  height: 0px;
  background: var(--amber);
  left: 0;
  bottom: 0;
  position: absolute;
  transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
}
#toggle-menu:hover {
  text-decoration: none;
  color: var(--amber);
  background: var(--purple);
}
#toggle-menu:hover:before {
  height: 6px;
}
#mobileNav {
  position: fixed;
  display: none;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  background: rgba(42, 49, 126, 0.9);
  z-index: 99;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  overflow-y: auto; /* Enable scrolling inside menu */
}
.body-fixed {
  overflow: hidden;
  height: 100vh;
}
#mobile-menu {
  position: relative;
  padding: 0rem;
  text-transform: uppercase;
  display: none;
}
#mobile-menu > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#mobile-menu > ul > li {
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
  position: relative;
}
#mobile-menu > ul > li > a {
  font-family: var(--body-font);
  padding: 10px 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2em;
  position: relative;
  color: #fff;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2em;
  display: block;
  position: relative;
}
#mobile-menu > ul > li > a:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
}
#mobile-menu > ul > li > a > i {
  color: var(--amber);
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
#mobile-menu > ul > li > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#mobile-menu > ul > li > ul > li {
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  position: relative;
}
#mobile-menu > ul > li > ul > li > a {
  font-family: var(--body-font);
  padding: 10px 15px 10px 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.2em;
  position: relative;
  color: #fff;
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
  line-height: 1.2em;
  display: block;
  position: relative;
}
#mobile-menu > ul > li > ul > li > a::before {
  content: "\f054";
  font-weight: 900;
  font-family: "Font Awesome 7 Free";
  margin-right: 1rem;
  font-size: 0.8em;
  color: var(--amber);
  vertical-align: top;
}
#mobile-menu > ul > li > ul > li > a:hover {
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
}
#close-menu {
  position: absolute;
  z-index: 999;
  right: 10px;
  top: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}
@media only screen and (max-width: 1299px) {
  html,
  body {
    font-size: 16px;
  }
}
@media only screen and (max-width: 1199px) {
  #logo {
    max-width: 220px;
  }
  #toggle-menu {
    display: block;
  }
  nav ul.desktopMenu {
    display: none;
  }
  #mobile-menu {
    display: block;
  }
}
@media only screen and (max-width: 991px) {
  section h2,
  h2 {
    font-size: 2.35rem;
  }
  #banner h3,
  section h3,
  h3 {
    font-size: 1.88rem;
  }

  section h4,
  h4,
  .contact-location.card h5 {
    font-size: 1.5rem;
  }
  section h5,
  h5 {
    font-size: 1.4rem;
  }
  .bannerBtns {
    flex-direction: column;
    align-items: flex-start;
  }
  .justify-content-center .bannerBtns {
    align-items: center;
  }
  footer .container {
    display: block;
  }
  #footer-left {
    width: 100%;
  }
  #footer-widgets > .widget-container {
    flex: auto;
  }
  #footer-widgets > .widget-container:last-child {
    padding-right: 0;
  }
  #footer-right {
    width: 270px;
    text-align: center;
    margin: 0 auto;
    padding-top: 3rem;
  }
  .formBx,
  .card.product-entry-card,
  .card.product-category-card,
  .card.single-content-card {
    padding: 20px;
  }
  .card.product-entry-card {
    display: block;
  }
  .card.product-entry-card h5 {
    padding-bottom: 0.6em;
  }
  .contact-location-phone {
    font-size: 1.05rem;
  }
}

@media only screen and (max-width: 767px) {
  header {
    flex-wrap: wrap;
    padding: 1rem;
  }
  #logo {
    width: 100%;
    padding-bottom: 1rem;
    max-width: 100%;
    border-bottom: solid 1px #ccc;
    margin-bottom: 1rem;
  }
  #logo img {
    max-width: 220px;
    margin: 0 auto;
    display: block;
  }
  nav {
    margin-left: 0;
  }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input.text,
  input.title,
  textarea,
  select {
    height: var(--line-height-mobile);
    line-height: calc(var(--line-height-mobile) + 2px);
  }
  input[type="submit"],
  button,
  .button,
  #productFilter,
  #productType {
    height: var(--line-height-mobile);
    line-height: calc(var(--line-height-mobile) - 2px);
  }
  #productFilter,
  #productType {
    font-size: 0.9rem;
  }
  .gfield_label {
    height: var(--line-height-mobile);
    line-height: var(--line-height-mobile);
  }
  section h2,
  h2 {
    font-size: 2rem;
  }
  #banner h3,
  section h3,
  h3,
  #banner-bottom h3 {
    font-size: 1.6rem;
  }

  section h4,
  h4,
  .contact-location.card h5 {
    font-size: 1.3rem;
  }
  section h5,
  h5 {
    font-size: 1.2rem;
  }
  #page-home #banner {
    padding: 5rem 0;
  }
  .bannerLogo {
    opacity: 0.1;
  }
  #lashley-hvac-promise,
  #about-story,
  #about-why-lst,
  #banner-bottom {
    padding-top: 0;
  }
  #lashley-hvac-promise .bg-image,
  #about-story .bg-image,
  #about-why-lst .bg-image,
  #banner-bottom .bg-image {
    width: 100%;
    height: 300px;
    position: relative;
  }
  #lashley-hvac-promise .bg-image:before,
  #about-story .bg-image:before,
  #about-why-lst .bg-image:before,
  #banner-bottom .bg-image:before {
    background: linear-gradient(360deg, #fff 0%, rgba(255, 255, 255, 0) 35%);
  }
  #home-service-area .map_img {
    position: relative;
    max-width: 250px;
    margin-bottom: 2rem;
  }
  #footer-widgets ul.menu > li {
    min-height: inherit;
  }
  #footer-widgets ul.menu > li > a {
    font-size: 1.15rem;
  }
  #footer-widgets ul.menu > li > ul > li > a {
    font-size: 1rem;
  }
  #page-about .bannerTxtBx {
    display: block;
  }
  .bannerLeft {
    width: 100%;
    padding-right: 0;
    padding-bottom: 1rem;
  }
  .bannerRight {
    width: 100%;
  }
  .about-locations .row {
    gap: 1rem;
  }
  .category-image {
    right: -20px;
  }
  main .row .formBx {
    margin-top: 1rem;
  }
}
@media only screen and (max-width: 575px) {
  header {
    padding-left: 15px;
    padding-right: 15px;
  }
  nav {
    margin: 0;
  }
  #toggle-menu {
    margin: 0;
  }
  #headerBtns {
    gap: 5px;
  }
  #headerBtns .button {
    font-size: 0.75rem;
    padding: 0 1em;
  }
  #toggle-menu {
    font-size: 0.9rem;
  }
  section h2,
  h2 {
    font-size: 1.7rem;
  }
  #banner h3,
  section h3,
  h3,
  #contact-forms .formBx .gform_heading h4 {
    font-size: 1.4rem;
  }
  #page-home #banner .bannerTxt {
    font-size: 1.05rem;
  }
  input[type="submit"],
  button,
  .button {
    padding: 0 0.9em;
    font-size: 0.8rem;
  }
  #lashley-hvac-promise .bg-image,
  #about-story .bg-image,
  #about-why-lst .bg-image,
  #banner-bottom .bg-image {
    height: 220px;
  }
  #footer-widgets {
    display: block;
  }
  #footer-widgets > .widget-container {
    padding-right: 0;
    padding-bottom: 2rem;
  }
  #page-products #banner .button.btn-outline-white {
    height: auto;
    line-height: 1.4em;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
  }
  .card-inner {
    display: block;
  }
  .category-image {
    right: inherit;
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    top: inherit;
    height: 100%;
  }
  .card.withImg .category-meta {
    max-width: 100%;
    padding-right: 0;
  }
  .font22 {
    font-size: 1.1rem;
  }
  #distributor-filters {
    display: block;
  }
  .faqCategory .faqBx .faqA {
    padding-left: 0;
  }
  #contact-forms .formBx {
    padding: 20px;
  }
  .gform_fields > .gfield {
    width: 100%;
  }
}
