/* ProCleanings — CMS overrides (loads after theme + wp-custom.css) */
img {
  max-width: 100%;
  height: auto;
}

/* Match live site content width (Bootstrap 1170px @ 1200px+) */
.content-area > .container {
  width: 100%;
  max-width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.header .container {
  max-width: 1170px;
}

body.home.page-template-template-frontpage #primary.content-area {
  overflow-x: clip;
}

body.home #primary.content-area > .container {
  overflow-x: visible;
}

body.home .site-main {
  overflow: visible;
}

/*
 * WPBakery full-width rows: break out of .container to viewport edges (like VC js on live site).
 * Rows without data-vc-stretch-content keep horizontal padding so inner content lines up with .container.
 */
body.home .site-main > .vc_row[data-vc-full-width="true"] {
  position: relative !important;
  left: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
}

body.home .site-main > .vc_row[data-vc-full-width="true"][data-vc-stretch-content="true"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero row: break out of Bootstrap .col-12 padding so slide bg is edge-to-edge */
body.home #primary.content-area > .container > .row > .col-12 {
  padding-left: 0;
  padding-right: 0;
}

body.home .site-main > .vc_row[data-vc-stretch-content="true"]:first-child,
body.home .site-main > .vc_row.home_slider-row[data-vc-stretch-content="true"] {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .site-main > .vc_row[data-vc-stretch-content="true"]:first-child .vc_column-inner,
body.home .site-main > .vc_row[data-vc-stretch-content="true"]:first-child .wpb_wrapper,
body.home .home_slider .slider-wrapper,
body.home .home_slider .theme-slider,
body.home .home_slider .theme-slider .slick-list,
body.home .home_slider .theme-slider .slick-track,
body.home .home_slider .theme-slider .slick-slide,
body.home .home_slider .theme-slider .slick-slide > div {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (min-width: 1200px) {
  body.home .site-main > .vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) {
    padding-left: calc((100vw - 1170px) / 2) !important;
    padding-right: calc((100vw - 1170px) / 2) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  body.home .site-main > .vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) {
    padding-left: calc((100vw - 992px) / 2) !important;
    padding-right: calc((100vw - 992px) / 2) !important;
  }
}

@media (max-width: 991.98px) {
  body.home .site-main > .vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content="true"]) {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Non-full-width rows stay inside the Bootstrap container width */
body.home .site-main > .vc_row:not([data-vc-full-width="true"]) {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  left: auto !important;
}

body.home .vc_row-full-width.vc_clearfix {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
}

body.home .site-main .vc_row.vc_hidden {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Home hero — captions centered ON the image (matches procleanings.com slider markup) */
.home_slider .theme-carousel .slick-list {
  margin: 0 !important;
}

.home_slider .slider-wrapper,
.home_slider .theme-slider,
.home_slider .theme-slider .slick-list,
.home_slider .theme-slider .slick-track,
.home_slider .theme-slider .slick-slide {
  width: 100%;
}

.home_slider .theme-slider .slick-slide,
.home_slider .theme-slider .slick-slide > div,
.home_slider .theme-slider:not(.slick-initialized) > div {
  position: relative !important;
  width: 100%;
  overflow: hidden;
}

/* Image stays in flow so the slide has real height */
.home_slider .theme-slider .slide-image-wrap {
  position: relative !important;
  z-index: 1;
  width: 100%;
  line-height: 0;
}

.home_slider .theme-slider .slide-image-wrap picture,
.home_slider .theme-slider .slide-image-wrap img {
  width: 100%;
  display: block;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

/* Overlay layer: flexbox centers caption block over the image */
.home_slider .theme-slider .slick-slide > .container,
.home_slider .theme-slider .slick-slide > div > .container,
.home_slider .theme-slider:not(.slick-initialized) > div > .container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 15px !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
  box-sizing: border-box;
}

.home_slider .theme-slider .carousel-captions {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  -webkit-transform: none !important;
  z-index: 11 !important;
  width: 100% !important;
  max-width: 1170px !important;
  margin: 0 auto !important;
  padding: 0 15px;
  pointer-events: none;
  text-align: center;
}

.home_slider .theme-slider .carousel-captions .small-heading {
  display: block;
  color: #e6eaf0 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.home_slider .theme-slider .carousel-captions .heading {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.home_slider .theme-slider .carousel-captions .btn {
  pointer-events: auto;
}

.home_slider .theme-slider .slick-slide {
  display: block !important;
  background-color: transparent !important;
}

/* Slick flattens slide markup; keep slide height from the image, not caption block */
@media (max-width: 767.98px) {
  .home_slider .theme-slider .slick-track,
  .home_slider .theme-slider .slick-list,
  .home_slider .theme-slider .slick-slide {
    height: auto !important;
  }

  .home_slider .theme-slider .slide-image-wrap img {
    height: auto !important;
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  .home_slider .theme-slider .slide-image-wrap img {
    min-height: 450px;
  }
}

@media (min-width: 992px) {
  .home_slider .theme-slider .slide-image-wrap img {
    min-height: 560px;
  }
}

/* Request A Call Back */
body.home .vc_custom_1593026940127.vc_row-has-fill {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

body.home .vc_custom_1593026940127 .call-back-form {
  display: flex;
}

body.home .vc_custom_1593026940127 .call-back-form .vc_column-inner {
  width: 100%;
}

body.home .vc_custom_1593026940127 > .wpb_column.vc_col-sm-4 {
  display: flex;
  align-items: center;
}

body.home .wpcf7 .call-back .row {
  margin-left: -15px;
  margin-right: -15px;
}

/* Static CMS: no reCAPTCHA script — hide placeholder box before submit */
body.home .vc_custom_1593026940127 .wpcf7 .call-back .captcha_btn,
body.home .vc_custom_1593026940127 .wpcf7 .call-back .row .col-lg-6:has(.captcha_btn) {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.home .vc_custom_1593026940127 .wpcf7 form .wpcf7-response-output {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}

body.home .vc_custom_1593026940127 .wpcf7 .hidden-fields-container {
  display: none !important;
}

body.home .vc_custom_1593026940127 .vc_box_border_grey {
  border: none !important;
}

body.home .vc_custom_1593026940127 .call-back-form .vc_column-inner {
  border: none !important;
  box-shadow: none !important;
}

/* WPBakery scroll animations (vc-waypoints not loaded on static CMS) */
body .wpb_animate_when_almost_visible {
  opacity: 1 !important;
  visibility: visible !important;
}

body .wpb_animate_when_almost_visible:not(.wpb_start_animation) {
  -webkit-animation: none !important;
  animation: none !important;
}

/* Client Work section */
body.home .latest-project {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible;
  margin-bottom: 40px !important;
  padding-top: 30px;
}

body.home .latest-project .latest_proj_home {
  margin-top: 0;
}

body.home .latest-project .vc_row.vc_inner {
  display: flex;
  flex-wrap: wrap;
}

body.home .latest-project .latest_proj_home .wpb_wrapper {
  padding: 15px;
}

/* Tighter gap: call-back → Client Work → Latest Resources */
body.home .vc_custom_1593026940127 {
  margin-bottom: 40px !important;
}

body.home .vc_custom_1740425354133 {
  margin-bottom: 40px !important;
}

body.home .vc_custom_1686243502262 {
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

@media (max-width: 991px) {
  body.home .vc_custom_1593026940127 > .wpb_column.vc_col-sm-4.vc_hidden-sm {
    display: none !important;
  }
}

/* Service/content lists: red checkmark in bordered square (live site style) */
.wpb_content_element ul {
  position: relative;
  list-style: none;
  margin-left: 20px;
  padding-left: 1em;
}
.wpb_content_element ul li {
  position: relative;
  list-style: none;
  background: url(../images/wp-import/2021/01/checkbox.svg) 0 2px no-repeat;
  background-size: 24px auto;
  padding-bottom: 3px;
  padding-left: 35px;
  margin-bottom: 10px;
}

/* Footer Contact Details: icon left, text beside icon (left-aligned) */
.footer-main .footer-column.footer-contact .widget.widget-contact {
  margin-bottom: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-main .footer-column.footer-contact .widget.widget_text + .widget-contact {
  border-top: none;
  padding-top: 0;
}

.footer-main .footer-column.footer-contact .widget.widget-contact:last-of-type {
  padding-bottom: 0;
}

.footer-main .footer-column.footer-contact .widget-contact + .widget-contact {
  padding-top: 14px !important;
}

.footer-main .footer-column.footer-contact .widget-contact > .widget-contact,
.footer-main .footer-column.footer-contact .widget-contact a.widget-contact {
  display: flex !important;
  align-items: center;
  gap: 18px;
}

.footer-main .footer-column.footer-contact .widget-contact.with-subtext > .widget-contact {
  align-items: flex-start;
}

.footer-main .footer-column.footer-contact .widget-contact i,
.footer-main .footer-column.footer-contact .widget-contact [class*="ti-"] {
  float: none !important;
  flex: 0 0 24px;
  width: 24px;
  margin: 0 !important;
  top: 0 !important;
  font-size: 24px;
  line-height: 1;
  color: #a6aeaf !important;
}

.footer-main .footer-column.footer-contact .widget-contact.with-subtext > .widget-contact i,
.footer-main .footer-column.footer-contact .widget-contact.with-subtext > .widget-contact [class*="ti-"] {
  top: 2px !important;
}

.footer-main .footer-column.footer-contact .widget-contact .description {
  flex: 0 1 auto;
  overflow: visible !important;
  text-align: left !important;
}

.footer-main .footer-column.footer-contact .widget-contact .description .title {
  margin: 0;
  line-height: 1.45;
}

.footer-main .footer-column.footer-contact .widget-contact a.footer-email .description .title {
  margin-top: 0 !important;
}

.footer-main .footer-column.footer-contact .widget-contact.with-subtext .description span {
  display: block;
  text-align: left !important;
  margin-top: 3px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   Site-wide responsive (home + all menu pages)
   -------------------------------------------------------------------------- */
html {
  overflow-x: clip;
}

body {
  overflow-x: clip;
}

#primary.content-area {
  overflow-x: clip;
}

.site-main .vc_row,
.site-main .vc_column-inner,
.site-main .wpb_wrapper {
  max-width: 100%;
  box-sizing: border-box;
}

body:not(.home) .site-main .vc_row[data-vc-full-width="true"] {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  position: relative !important;
  box-sizing: border-box;
}

.site-main picture,
.site-main .wpb_single_image-wrapper,
.site-main .vc_single_image-wrapper {
  max-width: 100%;
}

.site-main iframe,
.site-main video,
.site-main embed {
  max-width: 100%;
}

.site-main table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.eqWrap {
  flex-wrap: wrap;
}

.eq {
  min-width: 0;
}

.office-cleaning-types .wpb_wrapper ul {
  margin-left: 0 !important;
}

@media (max-width: 991.98px) {
  body.home .site-main > .vc_row[data-vc-full-width="true"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  body.home .site-main > .vc_row[data-vc-stretch-content="true"]:first-child,
  body.home .site-main > .vc_row.home_slider-row[data-vc-stretch-content="true"] {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .site-main iframe {
    width: 100%;
    height: auto;
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

  .wpb_image_grid_ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-left: 0;
  }

  .wpb_image_grid_ul li {
    float: none !important;
    width: auto !important;
  }

  .four-col .wpb_column {
    width: 100% !important;
  }

  body.home .latest-project .vc_row.vc_inner > .wpb_column {
    width: 50% !important;
  }
}

@media (max-width: 767.98px) {
  .site-main .vc_row > .wpb_column[class*="vc_col-"],
  .site-main .vc_inner.vc_row > .wpb_column[class*="vc_col-"] {
    width: 100% !important;
    float: none !important;
  }

  .page-heading .page-title {
    font-size: 30px !important;
    line-height: 1.25 !important;
    word-wrap: break-word;
  }

  .site-main .main-title {
    font-size: 24px !important;
    line-height: 1.3 !important;
    word-wrap: break-word;
  }

  .mkt-f-heading-red {
    width: 100% !important;
    font-size: 34px !important;
    line-height: 1.15 !important;
  }

  .office-cleaning-types .wpb_wrapper ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
    padding-left: 15px;
  }

  .inline-list li {
    float: none !important;
    display: block;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .servicesmenuclass li {
    flex: 1 0 100%;
  }

  body.home .latest-project .vc_row.vc_inner > .wpb_column {
    width: 100% !important;
  }

  .home_slider .theme-slider .carousel-captions .heading {
    font-size: 24px !important;
    line-height: 1.25 !important;
  }

  .home_slider .theme-slider .carousel-captions .small-heading {
    font-size: 16px !important;
  }

  .wpcf7 .call-back .row > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }
}

/* Apartment Buildings — hero banner (disifectant-service-1) */
.page-heading--apartment-buildings {
  background-color: #26303e;
  background-image: url(assets/images/wp-import/2021/02/disifectant-service-1.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@supports (background-image: url("assets/images/wp-import/2021/02/disifectant-service-1.jpg.webp")) {
  .page-heading--apartment-buildings {
    background-image: url(assets/images/wp-import/2021/02/disifectant-service-1.jpg.webp);
  }
}

.page-heading--apartment-buildings .page-overlay {
  background: rgba(56, 58, 64, 0.45);
}

.page-heading--apartment-buildings .page-titles-wrap {
  text-align: center;
}

@media (max-width: 479.98px) {
  .page-heading .page-title {
    font-size: 26px !important;
  }

  .site-main .main-title {
    font-size: 22px !important;
  }

  .content-area > .container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
