/*
Theme Name: King Quaility Child
Theme URI: http://www.didit.com
Description:
Template: king-quaility
Author: Didit Author URI: http://www.didit.com
Tags: Sass
Version: 2.4 (Development).1703173091
Updated: 2023-12-21 15:38:11

*/

.towncolumns {
  display: flex;
}

.roofingvideo {
  background: #0000006e;
  padding: 4px;
  color: #fff;
}

.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
  opacity: 1 !important;
  display: block !important;
}

.page-id-8266 .wrapper .section-white.section-parallax.height60 {
  height: auto !important;
}

html.pum-open.pum-open-overlay.pum-open-scrollable
  body
  > :not([aria-modal="true"]) {
  padding-right: 0 !important;
}

.pum-theme-119 .pum-content + .pum-close,
.pum-theme-default-theme .pum-content + .pum-close {
  position: absolute;
  height: auto;
  width: auto;
  left: auto;
  right: 0px;
  bottom: auto;
  top: 0px;
  padding: 8px;
  color: #000;
  font-family: inherit;
  font-weight: inherit;
  font-size: 12px;
  font-style: normal;
  line-height: 14px;
  border: 1px none #ffffff;
  border-radius: 0px;
  box-shadow: 0px 0px 0px 0px rgba(2, 2, 2, 0.23);
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.23);
  background-color: rgba(0, 183, 205, 1);
}

.awardicon {
  width: 20% !important;
}

#customCloseButton {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  background-color: #000;
  padding: 5px;
  border-radius: 50%;
  text-decoration: none;
  cursor: pointer;
  z-index: 10001;
  width: 25px;
  height: 25px;
}

.townpage_header {
  display: block !important;
  margin-top: 30px;
}

.townpage_button {
  background: #bea64e;
  border: 0;
  border-radius: 0.375rem;
  box-sizing: border-box;
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 1rem 1.25rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#ngg-gallery-3b22b12220ac0258ca3e94da03c8df82-1 {
  width: 102% !important;
}

#video1 {
  max-width: 862px;
  width: 100%;
}

/***  Service Areas Page  ***/

.serviceareacolumn a:link {
  color: #1779ba !important;
  text-decoration: underline !important;
}

.serviceareacolumn a {
  color: #1779ba !important;
  text-decoration: underline !important;
}

/***  KQ Cares Page  ***/

.page-id-206 .post-206 .gallery-section {
  background-color: #f4f4f4;
}

.page-id-206 .post-206 .gallery-section .orbit-controls {
  display: none;
}

.page-id-206 .post-206 .gallery-section .orbit-bullets {
  display: none;
}

.post-1730 .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box,
.post-10206 .ngg-galleryoverview.default-view .ngg-gallery-thumbnail-box {
  width: initial !important;
  float: none !important;
}

.page-id-10206 .section-white .columns p {
  font-size: 24px !important;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.page-id-10206 .section-white .medium-9 {
  width: 100%;
}

.page-id-10206 .height40,
.post-1730 .height40 {
  min-height: 428px;
}

@media only screen and (max-width: 900px) {
  .page-id-10206 .section-white .columns p {
    font-size: 18px !important;
  }

  .height40 {
    height: 40vh;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1080px) {
  .page-id-10206 .now .padding-top-medium {
    padding-top: 14rem;
  }

  .page-id-10206 .height40 {
    height: 48vh;
  }
}

@media only screen and (max-width: 640px) {
  .page-id-10206 .height40 {
    height: 31vh;
  }

  .page-id-10206 .now .padding-top-medium {
    padding-top: 3rem;
  }
}

@media only screen and (max-width: 600px) {
  .page-id-10206 .section-white .columns p {
    font-size: 14px !important;
  }
}

.page-template-roofing-lp1 body {
  margin: 0;
  padding: 0;
}

.page-template-roofing-lp1 .roofing-hero {
	display: flex;
	justify-content: space-between;
	padding: 10px 20px 20px 20px;
	max-width: 1400px;
	margin: 0 auto -90px;
	position: relative;
}

.page-template-roofing-lp1 .left-side {
  width: 60%;
  color: #000;
  padding: 20px;
  text-align: center;
}

.page-template-roofing-lp1 .right-side {
  width: 40%;
  padding: 20px;
  position: relative;
}

.page-template-roofing-lp1 .hero-title {
  margin: 20px auto;
  max-width: 100%;
  line-height: 1.2;
  font-size: 53px;
}

.page-template-roofing-lp1 .sub-headline {
  margin: 10px auto;
  font-size: 20px;
  max-width: 62%;
  line-height: 1.3;
}

.page-template-roofing-lp1 .google-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  gap: 5px;
}

.page-template-roofing-lp1 .reviews-stars {
  max-width: 120px;
  height: auto;
}

.page-template-roofing-lp1 .google-logo {
  width: 29px;
  height: auto;
}

.page-template-roofing-lp1 .google-reviews div {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
}

.page-template-roofing-lp1 .button {
  display: block;
  width: 60%;
  text-align: center;
  padding: 15px;
  color: white;
  text-decoration: none;
  font-size: 22px;
  text-transform: uppercase;
}

.page-template-roofing-lp1 .btn-top {
  background-color: #386ca2;
  color: #fff;
  margin: 10px auto 20px;
  border: solid 2px #386ca2;
}

.page-template-roofing-lp1 .btn-top:hover {
  background-color: #fff;
  color: #000;
  border: solid 2px #c3b673;
}

.page-template-roofing-lp1 .btn-bottom {
  background-color: #c3b673;
  color: #000;
  margin: 10px auto 0;
  font-weight: 700;
  border: solid 2px #c3b673;
}

.page-template-roofing-lp1 .btn-bottom:hover {
  background-color: #fff;
  color: #000;
  border: solid 2px #386ca2;
}

.page-template-roofing-lp1 .btn-top:focus,
.page-template-roofing-lp1 .btn-bottom:focus,
.page-template-roofing-lp1 .testimonial-btn:focus,
.page-template-roofing-lp1 .inspection-btn:focus {
  border: solid 5px #000;
}

/* Style for circular images */
.page-template-roofing-lp1 .circular-image {
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
}

.page-template-roofing-lp1 .large-image img {
  transform: scale(1.6);
}

.page-template-roofing-lp1 .small-image img {
  transform: scale(1.5) translate(-9px, 24px);
}

.page-template-roofing-lp1 .large-image {
  width: 320px;
  height: 320px;
  top: 20px;
  left: 30px;
}

.page-template-roofing-lp1 .small-image {
  width: 210px;
  height: 210px;
  bottom: 82px;
  right: 95px;
}

.page-template-roofing-lp1 .icon-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  background-color: #000;
  padding: 3px;
  border-radius: 20px;
  max-width: 850px;
  margin: 0 auto 20px;
  height: 132px;
  position: relative;
  top: 104px;
  z-index: 2;
}

.page-template-roofing-lp1 .icon {
  text-align: center;
  margin: 10px;
  color: #fff;
}

.page-template-roofing-lp1 .icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.page-template-roofing-lp1 .icon div {
  margin-top: 8px;
  font-size: 20px;
}

.page-template-roofing-lp1 .testimonials-section {
  background-image: url("https://www.kingquality.com/wp-content/uploads/2024/04/tool-bg-transparent-2.png");
  background-size: cover;
  background-position: center;
  padding: 110px 40px 40px;
  position: relative;
}

.page-template-roofing-lp1 .section-title {
  font-size: 40px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 500;
}

.page-template-roofing-lp1 .testimonials-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.5s ease-in-out;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 448px;
}

.page-template-roofing-lp1 .testimonial-card {
  padding: 40px 20px;
  border: 1px solid #ccc;
  margin: 0 -25px;
  flex: 0 0 400px;
  opacity: 1;
  background-color: #fff;
  transform: scale(0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.page-template-roofing-lp1 .testimonial-card blockquote {
  line-height: 1.3;
  color: #000 !important;
  border: none !important;
  padding: 10px;
  font-style: italic;
  text-align: center;
  min-height: 250px;
}

.page-template-roofing-lp1 .testimonial-card.active {
  transform: scale(1.2);
  opacity: 1;
  z-index: 10;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding-top: 75px;
}

.page-template-roofing-lp1 .testimonial-card strong {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
}

.page-template-roofing-lp1 .testimonial-indicators {
  margin: 20px 0;
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.page-template-roofing-lp1 .indicator {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 5px;
  border: solid 1px #000;
}

.page-template-roofing-lp1 .indicator.active {
  background-color: #333;
}

.page-template-roofing-lp1 .testimonial-btn,
.page-template-roofing-lp1 .inspection-btn {
  background-color: #386ca2;
  color: #fff;
  margin: 10px auto 20px;
  width: 410px;
  border: solid 1px #386ca2;
}

.page-template-roofing-lp1 .testimonial-btn:hover,
.page-template-roofing-lp1 .inspection-btn:hover {
  background-color: #fff;
  color: #386ca2;
  border: solid 1px #386ca2;
}

.page-template-roofing-lp1 .four-image-section {
  background-color: #363032;
}

.page-template-roofing-lp1 .four-image-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px 30px;
  gap: 30px;
}


.three-image-section {
	background: #404040;
}
.three-image-inner {
    display: grid;
    grid-template-columns: 1fr; /* Default to one column */
    gap: 20px; /* Space between blocks */
}

.three-image-inner .image-block-large {
	grid-column: 1 / -1;
	justify-self: center;
	width: 100%;
	text-align: center;
}

.three-image-inner {
	max-width: 810px;
	margin: auto;
	padding-top: 60px;
	color: #fff;
	padding-bottom: 70px;
}



.three-image-inner .image-block {
	text-align: center;
	color: white;
	flex: 1;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}


@media (min-width: 768px) { /* Adjust for larger screens */
    .three-image-inner {
        grid-template-columns: 1fr 1fr; /* Two columns for bottom blocks */
    }

   .three-image-inner .image-block-large {
        grid-column: 1 / -1; /* Keeps the first block full width */
    }
}



.page-template-roofing-lp1 .image-block {
  text-align: center;
  color: white;
  flex: 1;
  max-width: 320px;
}

.page-template-roofing-lp1 .image-block img {
  width: 100%;
  height: auto;
  max-height: 290px;
  min-height: 290px;
  object-fit: cover;
  max-width: 300px;
}

.page-template-roofing-lp1 .image-block h3 {
  font-size: 18px;
  margin-top: 7px;
}

.page-template-roofing-lp1 .image-block p {
  font-size: 16px;
  max-width: 290px;
  margin: 0 auto;
}

.page-template-roofing-lp1 .inspection-section {
  max-width: 1025px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
}

.page-template-roofing-lp1 .inspection-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.page-template-roofing-lp1 .inspection-body {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.page-template-roofing-lp1 .gallery-section {
  background-color: #fff;
  width: 100%;
  height: auto;
}

.page-template-roofing-lp1 .gallery-grid {
  display: grid;
  justify-content: center;
  grid-template-columns: 26% 10% 2% 14% 11% 1% 8% 28%;
  grid-template-areas:
    "a a a b b c c c"
    "d e e e f f f g"
    "h h i i i i j j";
}

.page-template-roofing-lp1 .gallery-item {
  border: 2px solid #fff;
  max-height: 270px;
}

.page-template-roofing-lp1 .gallery-item:focus {
  border: solid 5px #000;
}

.page-template-roofing-lp1 .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(1) {
  grid-area: a;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(2) {
  grid-area: b;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(3) {
  grid-area: c;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(4) {
  grid-area: d;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(5) {
  grid-area: e;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(6) {
  grid-area: f;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(7) {
  grid-area: g;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(8) {
  grid-area: h;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(9) {
  grid-area: i;
}

.page-template-roofing-lp1 .gallery-grid .gallery-item:nth-child(10) {
  grid-area: j;
}

.page-template-roofing-lp1 .roof-breakdown-section {
  padding: 40px;
  background-color: #fff;
  max-width: 1600px;
  margin: 0 auto;
}

.page-template-roofing-lp1 .roof-breakdown-section-title {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}

.page-template-roofing-lp1 .roof-breakdown-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 41px;
}

.page-template-roofing-lp1 .roof-breakdown-image {
  flex: 1;
  padding: 10px;
}

.page-template-roofing-lp1 .roof-breakdown-image img {
  width: 100%;
  height: auto;
}

.page-template-roofing-lp1 .roof-breakdown-text {
  flex: 1.5;
  padding: 10px;
}

.page-template-roofing-lp1 .roof-breakdown-text p {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.page-template-roofing-lp1 .roof-breakdown ol {
  font-size: 16px;
  padding-left: 20px;
}

.page-template-roofing-lp1 .roof-breakdown ol li {
  margin-bottom: 10px;
  margin-left: 20px;
}

.page-template-roofing-lp1 .video-section {
  background-image: url("https://www.kingquality.com/wp-content/uploads/2021/12/GettyImages-110943468-scaled.jpg");
  background-size: cover;
  background-position: 50%;
  padding: 60px 30px;
}

.page-template-roofing-lp1 .roofingvideo {
  background: #0000006e;
  padding: 4px;
  color: #fff;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.page-template-roofing-lp1 .roofingvideo a {
  color: #fff;
}

/*** Modal ***/

.page-template-roofing-lp1 .gallery-section {
  position: relative;
}

.page-template-roofing-lp1 .gallery-item {
  cursor: pointer;
}

.page-template-roofing-lp1 .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.page-template-roofing-lp1 .modal-content {
  position: relative;
  width: 72%;
  height: auto;
  background-color: white;
  overflow: hidden;
}

.page-template-roofing-lp1 #modalImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-template-roofing-lp1 .close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.page-template-roofing-lp1 .nav-arrow {
  position: absolute;
  top: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 16px;
}

.page-template-roofing-lp1 .nav-arrow:focus,
.page-template-roofing-lp1 .close-modal:focus {
  border: solid 2px #000;
}

.page-template-roofing-lp1 .left-arrow {
  left: 10px;
}

.page-template-roofing-lp1 .right-arrow {
  right: 10px;
}

@media only screen and (min-width: 1900px) {
  .page-template-roofing-lp1 .gallery-item {
    max-height: 400px;
  }
}

@media only screen and (min-width: 1600px) and (max-width: 1899px) {
  .page-template-roofing-lp1 .gallery-item {
    max-height: 350px;
  }
}

@media only screen and (max-width: 1300px) {
  .page-template-roofing-lp1 .large-image {
    left: 0px;
  }

  .page-template-roofing-lp1 .small-image {
    bottom: 60px;
    right: 80px;
  }
}

@media only screen and (max-width: 1200px) {
  .page-template-roofing-lp1 .large-image {
    left: -30px;
  }

  .page-template-roofing-lp1 .small-image {
    bottom: 88px;
    right: 46px;
  }

  .page-template-roofing-lp1 .hero-title {
    font-size: 45px;
  }

  .page-template-roofing-lp1 .testimonial-card {
    padding: 30px 15px;
    margin: 0 -65px;
  }

  .page-template-roofing-lp1 .testimonial-card.active {
    transform: scale(1.1);
    padding-top: 60px;
  }

  .page-template-roofing-lp1 .testimonial-btn {
    width: 350px;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1100px) {
  .page-template-roofing-lp1 .roofing-hero {
    padding: 160px 20px 20px 20px;
  }
}

@media only screen and (max-width: 1000px) {
  .page-template-roofing-lp1 .large-image {
    width: 280px;
    height: 280px;
    top: 50px;
  }

  .page-template-roofing-lp1 .small-image {
    width: 200px;
    height: 200px;
    bottom: 112px;
    right: 40px;
  }

  .page-template-roofing-lp1 .small-image img {
    transform: scale(1.6) translate(-9px, 24px);
  }

  .page-template-roofing-lp1 .hero-title {
    font-size: 36px;
  }

  .page-template-roofing-lp1 .icon-row {
    margin: 0 63px 20px;
  }

  .page-template-roofing-lp1 .testimonial-card {
    margin: 0 -105px;
  }

  .page-template-roofing-lp1 .testimonial-card.active {
    transform: scale(1.05);
    padding-top: 50px;
  }

  .page-template-roofing-lp1 .testimonial-btn,
  .page-template-roofing-lp1 .inspection-btn {
    width: 350px;
    margin-top: 32px;
  }

  .page-template-roofing-lp1 .four-image-inner {
    max-width: 720px;
    flex-wrap: wrap;
    margin: 0 auto;
  }

  .page-template-roofing-lp1 .image-block {
    min-width: 260px;
  }

  .page-template-roofing-lp1 .inspection-section {
    padding: 40px;
  }

  .page-template-roofing-lp1 .inspection-title {
    font-size: 32px;
  }

  .page-template-roofing-lp1 .inspection-body {
    font-size: 16px;
    margin-bottom: 25px;
  }
}

@media only screen and (max-width: 830px) {
  .page-template-roofing-lp1 .right-side {
    display: none;
  }

  .page-template-roofing-lp1 .left-side {
    width: 100%;
  }

  .page-template-roofing-lp1 .testimonials-section .section-title {
    font-size: 29px;
  }

  .page-template-roofing-lp1 .four-image-section {
    flex-direction: column;
  }

  .page-template-roofing-lp1 .image-block {
    width: 50%;
    padding: 10px;
  }

  .page-template-roofing-lp1 .icon-row {
    max-width: 720px;
    padding: 2px;
    margin: 0 40px 15px;
    border-radius: 15px;
    height: auto;
    top: 90px;
  }

  .page-template-roofing-lp1 .icon {
    margin: 8px;
    font-size: 18px;
  }

  .page-template-roofing-lp1 .icon div {
    margin-top: 6px;
    font-size: 18px;
  }

  .page-template-roofing-lp1 .testimonials-carousel {
    justify-content: center;
    align-items: center;
    min-height: 328px;
  }

  .page-template-roofing-lp1 .testimonial-card {
    display: none;
  }

  .page-template-roofing-lp1 .testimonial-card.active {
    display: flex;
    transform: scale(1);
    padding-top: 30px;
    flex: 0 0 80%;
  }

  .page-template-roofing-lp1 .testimonial-card blockquote {
    min-height: 230px;
  }

  .page-template-roofing-lp1 .testimonial-indicators {
    display: none;
  }

  .page-template-roofing-lp1 .inspection-title {
    font-size: 30px;
  }

  .page-template-roofing-lp1 .inspection-body {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-template-roofing-lp1 .gallery-grid {
    grid-template-columns: 33% 17% 10% 40%;
    grid-template-areas:
      "a a a b"
      "d c c c"
      "e e f f"
      "i i i h"
      "g j j j";
  }

  .page-template-roofing-lp1 .modal-content {
    width: 95%;
  }

  .page-template-roofing-lp1 .roof-breakdown-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-template-roofing-lp1 .roof-breakdown-image {
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 600px) {
  .page-template-roofing-lp1 .roofing-hero {
    padding: 20px 10px 20px 10px;
    margin: 0 auto -90px;
  }

  .page-template-roofing-lp1 .sub-headline {
    max-width: 100%;
  }

  .page-template-roofing-lp1 .google-reviews {
    gap: 12px;
  }

  .page-template-roofing-lp1 .reviews-stars {
    max-width: 90px;
  }

  .page-template-roofing-lp1 .button {
    width: 100%;
  }

  .page-template-roofing-lp1 .icon-row {
    padding: 1px;
    margin: 0 10px 10px;
    border-radius: 10px;
    top: 75px;
    height: auto;
  }

  .page-template-roofing-lp1 .icon {
    margin: 6px;
    font-size: 16px;
  }

  .page-template-roofing-lp1 .icon img {
    width: 50px;
    height: 50px;
  }

  .page-template-roofing-lp1 .icon div {
    margin-top: 5px;
    font-size: 16px;
  }

  .page-template-roofing-lp1 .testimonial-card.active {
    flex: 0 0 100%;
  }

  .page-template-roofing-lp1 .image-block {
    width: 100%;
    padding: 5px;
  }

  .finance-section .row.expanded .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-template-roofing-lp1 .inspection-body {
    margin-bottom: 15px;
  }

  .page-template-roofing-lp1 .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e"
      "f"
      "g"
      "h"
      "i"
      "j";
  }

  .page-template-roofing-lp1 .gallery-item {
    max-height: 400px;
  }

  .page-template-roofing-lp1 .roof-breakdown-section-title {
    font-size: 30px;
  }

  .page-template-roofing-lp1 .roof-breakdown-text {
    padding: 8px;
  }

  .page-template-roofing-lp1 .roof-breakdown ol {
    font-size: 16px;
  }

  .page-template-roofing-lp1 .roof-breakdown-section {
    padding: 20px;
  }

  .page-template-roofing-lp1 .roof-breakdown-content {
    gap: 0;
  }
}

.project-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
}

.project-content .et_pb_row.et_pb_row_3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 50px;
}

/***  HP Nav  ***/

.top-header-bar {
  display: grid;
  grid-template-columns: 20% 70% 10%; /* Columns sizes for logo, main content, and mobile menu */
  grid-template-rows: 30px 20px 20px 20px; /* Row sizes */
  width: 100%;
  margin-top: 20px;
  align-items: center;
  grid-template-areas:
    ". buttons ."
    "logo buttons hamburger"
    "logo . hamburger"
    ". menu .";
}

.left-side-logo {
  grid-area: logo;
}

.hp-button-group {
  grid-area: buttons;
  justify-self: flex-end;
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.top-bar-right {
  grid-area: menu;
  justify-self: flex-end;
}

#mobilemenu {
  grid-area: hamburger;
  justify-self: center;
}

.button.appt-btn {
  background-color: #bea64e;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 31px;
  min-width: fit-content;
  align-self: center;
}

.button.call-btn {
  background-color: #000;
  font-weight: 700;
  font-size: 19px;
  padding: 13px 23px;
  margin-left: 10px;
  color: #fff;
  align-self: center;
}

.home .button.call-btn {
  background-color: #fff;
  color: #000;
}

.menu-icon {
  background-color: #000;
  height: 27px;
}

.home .menu-icon {
  background-color: #fff;
  height: 25px;
}

.home .menu-icon::after {
  background: #fff;
  box-shadow: 0px 5px 0 #0063b6, 0 15px 0 #0063b6;
  height: 5px;
}

.home .header.sticky-container .is-stuck .menu-icon::after {
  background: #000;
  box-shadow: 0px 5px 0 #fff, 0 15px 0 #fff;
  height: 5px;
}

.header.sticky-container .is-stuck .top-bar {
  box-shadow: 0 -6px 10px 5px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 0.5rem 1rem 0.5rem !important;
}

.sticky.is-stuck .call-btn {
  background-color: #000;
  color: #fff;
}

.sticky.is-stuck .menu-icon {
  background-color: #000;
  height: 27px;
}

.home .sticky.is-stuck .menu-icon {
  height: 25px;
}

.page-template-template-contact .contact-top-bg {
  padding-top: 122px;
}

.page-template-template-contact .height40 {
  height: 59vh !important;
}

body:not(.home) #content {
  padding-top: 140px;
}

@media screen and (max-width: 1200px) {
  .top-header-bar {
    grid-template-columns: 28% 52% 20%;
    grid-template-rows: 50px 20px 30px 30px;
    grid-template-areas:
      "logo buttons buttons"
      "logo buttons buttons"
      ". . ."
      "menu menu hamburger";
  }

  body:not(.home) #content {
    padding-top: 166px;
  }
}

@media screen and (max-width: 1024px) {
  .towns-template-default #content {
    padding-top: 40px !important;
  }
}

@media screen and (max-width: 1000px) {
  body:not(.home) #content {
    padding-top: 225px;
  }

  .top-header-bar {
    grid-template-rows: 70px 20px 70px 30px;
    grid-template-areas:
      "logo logo hamburger"
      "logo logo hamburger"
      "buttons buttons buttons"
      "menu menu menu";
  }

  .hp-button-group {
    gap: 10px;
  }

  .hp-button-group,
  .top-bar-right {
    justify-self: center;
  }

  .fullheight .home-caption {
    top: 34vh !important;
  }
}

@media screen and (max-width: 870px) {
  body:not(.home) #content {
    padding-top: 186px;
  }

  .towns-template-default #content {
    padding-top: 48px !important;
  }

  .top-header-bar {
    grid-template-columns: 80% 20%;
    grid-template-rows: 30px 20px 20px 70px;
    grid-template-areas:
      "logo hamburger"
      "logo hamburger"
      ". ."
      "buttons buttons";
  }

  .sticky.is-stuck .top-header-bar {
    grid-template-columns: 80% 20%;
    grid-template-rows: 30px 20px;
    grid-template-areas:
      "logo hamburger"
      "logo hamburger";
    margin-top: 0;
  }

  .top-bar-right {
    display: none;
  }

  #mobilemenu {
    justify-self: flex-end;
  }

  .button.call-btn {
    margin-left: 0 !important;
  }

  .header.sticky-container .is-stuck .top-bar {
    padding: 1rem 0.5rem 1rem;
  }

  .sticky.is-stuck .hp-button-group {
    display: none;
  }
}

@media screen and (max-width: 690px) {
  body:not(.home) #content {
    padding-top: 200px;
  }

  .towns-template-default #content {
    padding-top: 56px !important;
  }

  .top-header-bar {
    grid-template-columns: 80% 20%;
    grid-template-rows: 80px 20px 120px;
    grid-template-areas:
      "logo hamburger"
      ". ."
      "buttons buttons";
  }

  .sticky.is-stuck .top-header-bar {
    grid-template-rows: 100px;
  }

  .hp-button-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 0;
  }

  .button.appt-btn,
  .button.call-btn {
    width: 100%;
  }

  .fullheight .home-caption {
    top: 33vh !important;
  }

  .header.sticky-container .is-stuck .top-bar {
    padding: 0 0.5rem;
  }
}

@media only screen and (max-width: 640px) {
  .home #main {
    padding-top: 0 !important;
  }

  .home .top-header-bar {
    margin-top: 0 !important;
  }

  .home .off-canvas-content .header.sticky-container .top-bar.homebar {
    background: transparent !important;
  }

  .home
    .off-canvas-content
    .header.sticky-container
    .sticky.is-stuck
    .top-bar.homebar {
    background: #fff !important;
  }
}

.off-canvas-overlay {
  overflow-y: auto;
}

@media screen and (max-width: 40em) {
  #menu-overlay > .menu-item > .sub-menu > li > a {
    display: block;
  }
}

.section-image-bg .columns h2 {
  max-width: 460px;
}

.page-id-2062 .section-content .row .content-area {
  text-align: left;
}

/** Homepage Edits - KQ Cares section **/

.home .section-content .row {
  max-width: 1800px;
}

.kq-cares-section-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.image-container {
  width: 50%;
}

.kq-cares-section-container .content-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 30px;
  width: 50%;
  align-items: center;
  margin: 0 auto;
}

.kq-cares-section-title {
  text-align: center;
  max-width: 690px;
}

.hp-kq-cares-btn {
  margin: 39px auto 0;
  padding: 1.3em 6em;
  text-align: center;
  color: #fff !important;
}

.hp-kq-cares-btn a {
  color: #fff !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
}

.home .section-content .row > div:first-child {
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100%;
}

@media only screen and (min-width: 950px) and (max-width: 1150px) {
  .kq-cares-section-title {
    font-size: 20px;
  }

  .hp-kq-cares-image {
    width: 280px;
  }

  .hp-kq-cares-btn {
    margin: 16px auto 0;
    padding: 1em 4em;
  }

  .hp-kq-cares-btn a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 950px) {
  .kq-cares-section-container {
    flex-direction: column;
  }

  .image-container {
    width: 100%;
  }

  .kq-cares-section-container .content-container {
    width: 100%;
  }
}

.westchester-service-areas {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 10px;
}

.westchester-service-areas h2 {
  text-align: center;
}

.westchester-service-list {
  flex: 1;
  column-count: 5;
  padding: 0;
  list-style-type: none;
  text-align: center;
  column-width: 200px;
  margin-top: 10px;
}

.westchester-service-list li {
  font-size: 16px;
}

@media only screen and (max-width: 640px) {
  .westchester-service-list {
    column-width: 150px;
  }

  .westchester-service-areas h2 {
    font-size: 2rem;
  }
}

.page-id-11248 .padding-top-medium.text-center.padding-bot-small.row.column {
	max-width: 100%;
	padding-bottom: 30px;
}

.page-id-11248 .small-centered.columns.medium-9.padding-top-large.padding-bot-large.content-area.text-center {
	padding-top: 20px;
	padding-bottom: 0px;
}

.page-id-11248 .padding-top-medium.text-center.padding-bot-small.row.column {
	padding-bottom: 20px !important;
	padding-top: 20px;
}

.page-id-11248 .small-centered.columns.medium-9.padding-top-large.padding-bot-large.content-area.text-center {
	padding: 0;
	font-size: 28px;
	margin-top: 40px;
	margin-bottom: 0px;
}



/*** John's Crazy Socks Page ***/
 
.jcs-container {
    margin: 0 auto;
    padding: 2em 0;
}

.jcs-title {
	margin-bottom: 6px;
		font-size: 38px;
		  margin-bottom: 0.5em;
}

.jcs-subtitle {
	font-size: 29px;
	font-weight: 800;
	max-width: 988px;
	margin: auto;
	padding-bottom: 21px;
	color: red;
}
 
.jcs-hero {
  text-align: center;
  margin: 0 auto 2em;
}
 
.jcs-logo {
    max-width: 400px;
    margin-bottom: 2rem;
}
 

.jcs-section-one {
	margin: 0 auto;
	text-align: center;
	background-color: #eae7e4;
	padding-top: 1px;
	padding-bottom: 27px;
}

.jcs-btn:hover {
	color: #ffffff;
	background:red;
}

.jcs-section-one-image-group {
  display: flex;
  flex-direction: row;
  max-width: 650px;
  margin: 25px auto;
  justify-content: space-between;
}
 
.jcs-section-one-image-group img {
  width: 45%;
}
 
.jcs-intro {
	max-width: 1302px;
	margin: 0 auto;
	font-size: 24px;
}
 
.jcs-btn {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 1rem;
  font-family: inherit;
  padding: 0.85em 1em;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  background-color: #1E944E;
  color: #fefefe;
  text-transform: uppercase;
  font-weight: 600;
}
 
.jcs-flex-right {
  background-color: #eae7e4;
}
 
.jcs-flex-left,
.jcs-flex-right {
    display: flex;
    align-items: center;
}
 
.jcs-flex-left img,
.jcs-flex-right img {
    width: 60%;
    object-fit: cover;
}
 
.jcs-content {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
 
.jcs-section-title {
    margin-bottom: 1.5rem;
    font-size: clamp(24px, 2vw, 50px);
}
 
.jcs-section-text {
  font-size: clamp(16px, 1.2vw, 30px);
}
 
.jcs-bottom {
    margin: 4rem 0;
    text-align: center;
}
 
.jcs-bottom-text {
  font-size: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.jcs-section-one, .jcs-bottom-text, .jcs-hero {
  padding: 40px 15px;
}
 
@media (min-width: 1201px) {
  .jcs-content {
    padding: 2em;
  }
}
 
@media (min-width: 769px) and (max-width: 1200px) {
  .jcs-content {
    padding: 1em;
  }
}

@media (max-width: 1076px) {
  .jcs-flex-left,
  .jcs-flex-right {
    flex-direction: column;
    gap: 2rem;
  }

  .jcs-flex-left img,
  .jcs-flex-right img,
  .jcs-content {
    width: 100%;
  }

  .jcs-content {
    width: 90%;
    padding: 0 0 3em;
  }

  .jcs-flex-right div {
    order: 2;
  }

  .jcs-flex-right img {
    order: 1;
  }

  .jcs-section-text {
    font-size: 18px;
  }
}

@media (max-width: 750px) {
  .jcs-content {
    width: 95%;
  }
}

@media (max-width: 600px) {
  .jcs-title {
    font-size: 28px;
  }
  
  .jcs-subtitle {
    font-size: 22px;
  }
}

/*** Financing Page - Equal Housing Lender Group ***/

.financing-options {
  margin: 0 auto;
}

/* Hero section */
.finance-hero {
  text-align: center;
  margin-bottom: 2rem;
}

/* Featured header */
.finance-header {
  text-align: center;
  margin-bottom: 2rem;
}

.finance-header h3 {
  font-size: 1.5rem;
  color: #333;
}

/* Loan details grid */
.loan-details-container {
  margin: 2rem 0;
}

.loan-details {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.loan-option {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.loan-divider {
  font-weight: bold;
  font-size: 1.2rem;
  padding: 0 1rem;
}

.image-wrapper {
  margin-bottom: 1rem;
}

.image-wrapper img {
  width: 50px;
  height: auto;
}

.loan-detail-label {
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.loan-detail-value {
  color: #666;
  margin: 0;
}

/* CTA Section */
.finance-cta-section {
  text-align: center;
  margin: 2rem 0;
}

.approval-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Additional Options */
.additional-options {
  text-align: center;
  margin: 2rem 0;
}

.additional-options h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Disclaimers */
.disclaimers {
  font-size: 0.9rem;
  margin: 2rem 0;
  color: #595959;
}

.disclaimers p {
  margin: 0.5rem 0;
}

/* Equal Housing Section */
.ehl-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 4px;
  margin-top: 2rem;
}

.ehl-logo {
  flex-shrink: 0;
}

.ehl-text p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #4f4d4d;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .loan-details {
      flex-direction: column;
      align-items: center;
  }

  .loan-option {
      width: 100%;
      max-width: none;
      margin-bottom: 1rem;
  }

  .loan-divider {
      margin: 1rem 0;
  }

  .ehl-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .ehl-logo {
      margin-bottom: 1rem;
  }
}

/* Care Page Styles */
.care-page {
  width: 100%;
}

/* Hero Section */
.care-page__hero {
  position: relative;
  height: 34vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.care-page__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f7f5f5;
}

.care-page__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #000;
  padding: 0 20px;
  max-width: 940px;
  font-weight: 600;
  margin: 0 auto;
}

.care-page__hero-logo {
  max-width: 300px;
  height: auto;
  margin-bottom: 2rem;
}

.care-page__hero-subtitle {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 auto;
}

/* Text Section */
.care-page__text {
  background-color: white;
}

/* Posts Section */
.care-page__posts {
  padding: 2.5rem 0 4rem;
}

.care-page__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.care-page__container section .row div {
  padding-bottom: 0;
  padding-top: 50px;
  max-width: 1400px !important;
  width: 100% !important;
}

/* Posts Section */
.care-page__post {
  display: flex;
  margin-bottom: 2rem;
  align-items: stretch;
  min-height: 400px;
  justify-content: space-between;
  background-color: #f7f5f5;
}

.care-page__post--right {
  flex-direction: row-reverse;
}

/* Image Container */
.care-page__post-image {
  flex: 0 0 58%;
  position: relative;
  height: 519px;
}

.care-page__post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content Container */
.care-page__post-content {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  justify-content: center;
}

.care-page__post-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  min-height: 3rem;
}

.care-page__post-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.6;
  max-width: 650px;
}

@media (min-width: 769px) {
  .care-page__post-button {
    max-width: fit-content;
  }
}

/* Responsive Styles */
@media (max-width: 850px) {
  .care-page__post {
      flex-direction: column;
      min-height: auto;
      gap: 24px;
  }

  .care-page__post--right {
      flex-direction: column;
  }

  .care-page__post-image {
      flex: 0 0 300px;
      width: 100%;
      height: 460px;
  }

  .care-page__post-content {
      flex: 0 0 auto;
      width: 100%;
      padding: 20px;
  }
}

/* Partners Section */
.care-page__partners {
  padding: 4rem 0;
  background-color: #f5f5f5;
}

.care-page__partners-title {
  text-align: center;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.care-page__partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.care-page__partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.care-page__partner-logo {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.care-page__partner-name {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .care-page__partners-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .care-page__hero {
    height: 42vh;
  }

  .care-page__partners-grid {
      grid-template-columns: 1fr;
  }
  
  .care-page__partners {
      padding: 3rem 0;
  }
}



#field_1-7 .dfield {
	width: 112px;
	text-align: left;
	margin: auto;
}


#field_1-6 .dfield {
	width: 100% !important;
	text-align: left;
	margin: auto;
}

.dropdown.menu > li.opens-left > .is-dropdown-submenu li a {
  line-height: 30px !important;
}

.dropdown.menu > li.opens-left > .is-dropdown-submenu li a:hover {
  background-color: #bea64e;
}

/* Our Team Page */

.team-hero {
  position: relative;
  height: 380px;
  background-image: url('/path-to-your-image.jpg'); /* You'll need to set this */
  background-size: cover;
  background-position: center;
  margin-bottom: 40px;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
}

.team-hero .hero-content {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.team-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.team-hero p {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;

}

@media (max-width: 768px) {
  .team-hero {
      height: fit-content;
  }

  .team-hero .hero-content {
    padding: 40px 20px;
  }
  
  .team-hero h1 {
      font-size: 28px;
  }
  
  .team-hero p {
      font-size: 16px;
      line-height: 1.4;
  }
}

.executive-team {
  margin: 0 auto;
  padding: 20px 0;
  max-width: 1250px;
}

.executive-team h2 {
  text-align: center;
}

.executive-grid {
  display: flex;
  flex-direction: row;
  padding: 20px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.executive {
  text-align: center;
}

.executive img, .team-member img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.executive .position {
  font-weight: bold;
  color: #000;
}

@media (max-width: 768px) {
  .executive-grid {
    flex-direction:column;
  }
}

.location-toggle {
  margin: 0 auto;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 10px;
  text-align: center;
}

.location-toggle a {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 10px;
  background: #eee;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  color:#000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.location-toggle a.active {
  background: #BEA64E;
  color: white;
  font-weight: 600;
}

.department-sections-container {
  transition: opacity 0.2s ease-in-out;
}

.department-sections-container.loading {
  opacity: 0.6;
  pointer-events: none;
}

.department-section {
  margin: 40px auto;
  padding: 20px 0;
  max-width: 1250px;
}

.department-section h3 {
  color: #000;
  border-bottom: 2px solid #BEA64E;
  padding-bottom: 10px;
  margin: 0 auto 30px;
  text-align: center;
  max-width: fit-content;
}

.team-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 30px;
  padding: 20px;
  justify-content: center;
}

.team-member {
  text-align: center;
}

/* fix financing images on hp */
@media print, screen and (min-width: 64em) {
  .section-gradient img {
    padding: 0 5% 2% !important;
    max-width: 350px;
  }
}

/* Fix Consent on Forms */

#gform_3 #field_3_14 {
  display: flex;
  padding-top: 16px;
}

#gform_1 #field_1_10,
#gform_2 #field_2_16,
#gform_8 #field_8_10 {
  display: flex;
}

#gform_3 #field_3_14 .ginput_container.ginput_container_consent,
#gform_1 #field_1_10 .ginput_container.ginput_container_consent,
#gform_2 #field_2_16 .ginput_container.ginput_container_consent,
#gform_8 #field_8_10 .ginput_container.ginput_container_consent  {
  width: min-content;
}

#gform_3 #field_3_14 #gfield_consent_description_3_14,
#gform_1 #field_1_10 #gfield_consent_description_1_10,
#gform_2 #field_2_16 #gfield_consent_description_2_16,
#gform_8 #field_8_10 #gfield_consent_description_8_10 {
  border: none;
  color: #000;
}

#gform_1 #field_1_10 #gfield_consent_description_1_10,
#gform_8 #field_8_10 #gfield_consent_description_8_10 {
  font-size: 12px;
}

#gform_3 #field_3_6 {
  margin-top: 0 !important;
}

#gform_3 #field_3_6 .gcapt {
  padding-top: 10px !important;
}

#gform_1 #field_1_10 .gfield_label.gform-field-label.gfield_label_before_complex {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .home h2 a {
    font-size: 26px !important;
    padding-bottom: 10px;
  }
}

/* Custom styles for the King Quality Summer Savings Landing Page */

body.kq-landing-page {
    background-color: #f8f9fa;
    line-height: 1.5;
}

.kq-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero Section */
.kq-hero-section {
  position: relative;
  background-image: url('/wp-content/uploads/2020/10/thumbnail_IMG_3726.jpg');
  /* Vendor prefixes for background-size */
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  color: white;
  padding-top: 4rem;
  padding-bottom: 4rem;
  z-index: 0;
}

.kq-hero-section .hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

@media (min-width: 768px) {
    .kq-hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

.kq-hero-content-wrapper {
    /* Vendor prefixes for flexbox */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    /* Vendor prefix for gap */
    -webkit-column-gap: 3rem; /* Old flexbox spec for gap */
    -webkit-gap: 3rem;
    gap: 3rem;
    z-index: 5;
}

@media (min-width: 1024px) {
    .kq-hero-content-wrapper {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        flex-direction: row;
    }
}

.kq-hero-text-content {
    text-align: center;
    max-width: 50rem;
}

@media (min-width: 1024px) {
    .kq-hero-text-content {
        text-align: left;
        width: 44%;
    }

    .kq-contact-form-container {
      width: 54%;
    }
}

.kq-hero-title {
    font-size: 2.2rem !important;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

@media (min-width: 640px) {
    .kq-hero-title {
        font-size: 2.2rem !important;
    }
}

#gform_wrapper_9 .gform_title {
  font-size: 26px !important;
  text-align: center;
}

#gform_wrapper_9 .gfield--type-captcha {
  display: none;
}

#gform_wrapper_9 .gfield--type-consent {
  /* Vendor prefixes for flexbox */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
}

.kq-text-gold {
    color: #BEA54D;
}

.kq-hero-description {
    font-size: 1.10rem !important;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .kq-hero-description {
        font-size: 1.20rem !important;
    }
}

.kq-phone-number {
    font-size: 1.875rem !important;
    font-weight: 700;
    margin-top: 2rem;
    border-radius: 0.5rem;
}

@media (min-width: 768px) {
    .kq-phone-number {
        font-size: 1.90rem !important;
    }
}

.kq-phone-link {
    color: #BEA54D;
    text-decoration: none;
    outline: 2px solid transparent;
    outline-offset: 2px;
    /* Vendor prefixes for transition */
    -webkit-transition: outline-color 0.2s ease-in-out;
    transition: outline-color 0.2s ease-in-out;
}

.kq-phone-link:hover {
    text-decoration: underline;
}

.kq-phone-link:focus {
    outline-color: #BEA54D;
}

.kq-contact-form-container {
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: 2.5rem;
    /* Vendor prefix for box-shadow */
    -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #374151;
}

/* Key Benefits Section */
.kq-benefits-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: white;
}

.kq-section-title {
    font-size: 2.25rem !important;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a202c;
}

@media (min-width: 768px) {
    .kq-section-title {
        font-size: 2.5rem !important;
    }
}

.kq-benefits-grid {
    display: grid;
    /* Vendor prefix for grid */
    -webkit-grid-template-columns: 1fr;
    grid-template-columns: 1fr;
    /* Vendor prefix for gap */
    -webkit-column-gap: 2rem; /* Old grid spec for gap */
    -webkit-row-gap: 2rem;    /* Old grid spec for gap */
    -webkit-gap: 2rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .kq-benefits-grid {
        -webkit-grid-template-columns: repeat(2, 1fr);
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .kq-benefits-grid {
        -webkit-grid-template-columns: repeat(4, 1fr);
        grid-template-columns: repeat(4, 1fr);
    }
}

.kq-benefit-card {
    background-color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.5rem;
    /* Vendor prefix for box-shadow */
    -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.kq-benefit-icon {
    font-size: 3.125rem;
    margin-bottom: 1rem;
    color: #BEA54D;
}

.kq-benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.kq-benefit-description {
    color: #4b5563;
}

/* Hoodie Offer Section */
.kq-hoodie-offer-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #BEA54D;
    color: #000000;
}

.kq-hoodie-content-wrapper {
    text-align: center;
    /* Vendor prefixes for flexbox */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    /* Vendor prefix for gap */
    -webkit-column-gap: 2rem; /* Old flexbox spec for gap */
    -webkit-gap: 2rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .kq-hoodie-content-wrapper {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        flex-direction: row;
    }
}

.kq-hoodie-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.kq-hoodie-description {
    color: #000;
}

.kq-hoodie-image {
  max-width: 260px;
}

@media (min-width: 768px) {
    .kq-hoodie-title {
        font-size: 2.25rem;
    }
}

.kq-hoodie-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.kq-hoodie-button {
    display: inline-block;
    background-color: #000000;
    color: #BEA54D;
    font-weight: 700;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    /* Vendor prefix for box-shadow */
    -webkit-box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    /* Vendor prefixes for transition properties */
    -webkit-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    -webkit-transition-duration: 300ms;
    transition-duration: 300ms;
    -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    outline: 2px solid transparent;
    outline-offset: 2px;
    -webkit-transition: outline-color 0.2s ease-in-out;
    transition: outline-color 0.2s ease-in-out;
    border:solid 2px #000;
}

.kq-hoodie-button:hover {
    background-color: #BEA54D;
    color: #000;
}

.kq-hoodie-button:focus {
    outline-color: #BEA54D;
}

/* Sitewide Banner */
.kq-sitewide-banner {
    background-color: #000000;
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    /* Vendor prefixes for flexbox */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    /* Vendor prefix for gap */
    -webkit-column-gap: 0.5rem; /* Old flexbox spec for gap */
    -webkit-gap: 0.5rem;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.kq-banner-content {
    /* Vendor prefixes for flexbox */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    /* Vendor prefix for gap */
    -webkit-column-gap: 0.75rem; /* Old flexbox spec for gap */
    -webkit-gap: 0.75rem;
    gap: 0.75rem;
}

.kq-banner-icon {
    font-size: 1.2rem;
    line-height: 1;
    color: #BEA54D;
}

.kq-banner-text {
    margin: 0;
    color: white;
}

.kq-summer-savings-text {
  color: #BEA54D !important;
}

.kq-learn-more {
  color: #fff !important;
}
