/* === Red Barn Media Group - Custom Styles - Cavinder Plumbing, Heating and Cooling === */
/* === Home Hero Styles :: BEGIN === */
.cavinder-hero-wrapper {
  margin-top: 12rem;
}
.cavinder-hero-wrapper .cavinder-hero-hvac {
  background: url(../img/cavinder-hero-hvac-1000-800.webp)center center;
  background-size: cover;
}
.cavinder-hero-wrapper .cavinder-hero-plumbing {
  background: url(../img/cavinder-hero-plumbing-1000-800.webp)center center;
  background-size: cover;
}
.cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding {
  padding-top: 10rem;
  padding-bottom: 10rem;
}
.cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding h2,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding h2 {
  font-size: 3rem;
  color: #fff;
  text-align: center;
}
/* === Home Hero Styles :: END === */
/* === Sub Hero Styles :: BEGIN === */
.cavinder-hero-wrapper.hvac-ac {
  background: url(../img/cavinder-hero-ac-2000-600.webp)center center;
  background-size: cover;
}
.cavinder-hero-wrapper.hvac-heat {
  background: url(../img/cavinder-hero-heat-2000-600.webp)center center;
  background-size: cover;
}
.cavinder-hero-wrapper.plumbing {
  background: url(../img/cavinder-hero-plumbing-2000-600.webp)center center;
  background-size: cover;
}

.cavinder-hero-wrapper.school {
  background: url(../img/cavinder-hero-school-2000-600.webp)center center;
  background-size: cover;
}

.cavinder-hero-wrapper.nd-football {
  background: url(../img/cavinder-hero-nd-2000-600.webp)center center;
  background-size: cover;
}

.cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding {
  padding-top: 14rem;
  padding-bottom: 6rem;
}
.cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h1,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h1,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h1 {
  font-size: 3rem;
  
    font-weight: 300;
    font-style: normal;
  color: #fff;
}
.cavinder-hero-wrapper.school .cavinder-hero-padding,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding, .cavinder-hero-wrapper.nd-football {
  padding-top: 14rem;
  padding-bottom: 6rem;
}
.cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h2,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h2,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h2 {
  font-size: 2rem;
  
    font-weight: 700;
    font-style: normal;
  color: #fff;
}

/* === Sub Hero Styles :: END === */
/* === Service Link Styles :: BEGIN === */
.cavinder-service-item {
  background: #C18B2B;
  width:100%;
  height: fit-content;
  border-radius: 1.5rem;
}
.cavinder-service-item .cavinder-service-item-padding {
  padding-top: 8rem;
  padding-bottom: 8rem;
  padding-left:2rem;
  padding-right: 2rem;
  text-align: center;
}
/* === Service Link Plumbing Backgrounds :: BEGIN === */
.cavinder-service-item.general {
  background: url(../img/cavinder-rollover-plumbing-general.webp) center center;
  background-size: cover;
}
.cavinder-service-item.water-heater {
  background: url(../img/cavinder-rollover-plumbing-water-heater.webp) center center;
  background-size: cover;
}
.cavinder-service-item.drain {
  background: url(../img/cavinder-rollover-plumbing-drain-cleaning.webp) center center;
  background-size: cover;
}
.cavinder-service-item.leak {
  background: url(../img/cavinder-rollover-plumbing-leak-detection.webp) center center;
  background-size: cover;
}
.cavinder-service-item.water-filter {
  background: url(../img/cavinder-rollover-plumbing-water-softener.webp) center center;
  background-size: cover;
}
.cavinder-service-item.remodel {
  background: url(../img/cavinder-rollover-plumbing-remodeling.webp) center center;
  background-size: cover;
}
.cavinder-service-item.backflow {
  background: url(../img/cavinder-rollover-plumbing-backflow.webp) center center;
  background-size: cover;
}
.cavinder-service-item.sewer {
  background: url(../img/cavinder-rollover-plumbing-sewer.webp) center center;
  background-size: cover;
}
.cavinder-service-item.welding {
  background: url(../img/cavinder-rollover-plumbing-welding.webp) center center;
  background-size: cover;
}
.cavinder-service-item.hydraulic {
  background: url(../img/cavinder-rollover-plumbing-hydraulic.webp) center center;
  background-size: cover;
}
/* === Service Link Plumbing Backgrounds :: END === */
/* === Service Link HVAC Backgrounds :: BEGIN === */
.cavinder-service-item.furnace {
  background: url(../img/cavinder-rollover-hvac-furnace.webp) center center;
  background-size: cover;
}
.cavinder-service-item.boiler {
  background: url(../img/cavinder-rollover-hvac-boiler.webp) center center;
  background-size: cover;
}
.cavinder-service-item.packaged {
  background: url(../img/cavinder-rollover-hvac-heat-pump.webp) center center;
  background-size: cover;
}
.cavinder-service-item.ac {
  background: url(../img/cavinder-rollover-hvac-ac.webp) center center;
  background-size: cover;
}
.cavinder-service-item.mini-split {
  background: url(../img/cavinder-rollover-hvac-mini-split.webp) center center;
  background-size: cover;
}
.cavinder-service-item.iaq {
  background: url(../img/cavinder-rollover-hvac-iaq.webp) center center;
  background-size: cover;
}
.cavinder-service-item.duct {
  background: url(../img/cavinder-rollover-hvac-ductwork.webp) center center;
  background-size: cover;
}
/* === Service Link HVAC Backgrounds :: END === */
/* === Service Link Commercial Backgrounds :: BEGIN === */
.cavinder-service-item.commercial-hvac {
  background: url(../img/cavinder-rollover-commercial-hvac.webp) center center;
  background-size: cover;
}
.cavinder-service-item.commercial-ice {
  background: url(../img/cavinder-rollover-commercial-ice.webp) center center;
  background-size: cover;
}
.cavinder-service-item.commercial-fixture {
  background: url(../img/cavinder-rollover-commercial-plumbing.webp) center center;
  background-size: cover;
}
.cavinder-service-item.commercial-drain {
  background: url(../img/cavinder-rollover-commercial-drain-cleaning.webp) center center;
  background-size: cover;
}
/* === Service Link Styles :: END === */
/* === Banner Styled :: BEGIN === */
.cavinder-banner-diamond-contractor {
  background: url(../img/cavinder-banner-video.webp) center center;
  background-size: cover;
  width: 100%;
  height: fit-content;
}

.cavinder-banner-owner {
  background: url(../img/cavinder-banner-owner.webp) center center;
  background-size: cover;
}
.cavinder-banner-van {
  background: url(../img/cavinder-banner-van.webp) center center;
  background-size: cover;
}
/* === Banner Styles :: END === */

    /* === Logo Scroll Styles :: BEGIN === */
.slider {
  height: fit-content;
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.slider::before{
  left:0;
  top:0;
}
.slider::after{
  right:0;
  top:0;
  transform:rotateZ(180deg);
}

/*  IMPORTANT CODE BELOW */

.slide-track {
  width: calc(170px * 20);
  display: flex;
  animation: scroll 20s linear infinite;
  justify-content: space-between;
}

.slide-track2 {
  width: calc(170px * 18);
  display: flex;
  animation: scroll2 20s linear infinite;
  justify-content: space-between;
}

.slide {
  width: 200px;
  height: 100px;
  display: grid;
  place-items: center;
  transition:0.5s;
  cursor:pointer;
}
.slide:hover{
  transform:scale(1.1)
}

@keyframes scroll {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 10));
  }
}

@keyframes scroll2 {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(calc(-150px * 5));
  }
}
/* === Logo Scroll Styles :: END === */


/* === Media Queries :: BEGIN === */

@media (max-width:1400px) {
  /* === Home Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper {
    margin-top: 6.85rem;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac {
    background: url(../img/cavinder-hero-hvac-700-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-plumbing {
    background: url(../img/cavinder-hero-plumbing-700-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding h2,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding h2 {
    font-size: 2.85rem;
    color: #fff;
    text-align: center;
  }
  /* === Home Hero Styles :: END === */
  
  /* === Sub Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper.hvac-ac {
    background: url(../img/cavinder-hero-ac-1400-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.hvac-heat {
    background: url(../img/cavinder-hero-heat-1400-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.plumbing {
    background: url(../img/cavinder-hero-plumbing-1400-600.webp)center center;
    background-size: cover;
  }
  
  .cavinder-hero-wrapper.school {
    background: url(../img/cavinder-hero-school-1400-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.nd-football {
    background: url(../img/cavinder-hero-nd-1400-600.webp)center center;
    background-size: cover;
  }
  
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  .cavinder-hero-wrapper.school .cavinder-hero-padding,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding, .cavinder-hero-wrapper.nd-football {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h1,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h1,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h1 {
    font-size: 2.5rem;
    
      font-weight: 300;
      font-style: normal;
    color: #fff;
  }
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h2,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h2,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h2 {
    font-size: 1.85rem;
    
      font-weight: 700;
      font-style: normal;
    color: #fff;
  }
  /* === Sub Hero Styles :: END === */
}

@media (max-width:1200px) {
  /* === Home Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper .cavinder-hero-hvac {
    background: url(../img/cavinder-hero-hvac-600-500.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-plumbing {
    background: url(../img/cavinder-hero-plumbing-600-500.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding h2,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding h2 {
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
  }
  /* === Home Hero Styles :: END === */
  /* === Sub Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper.hvac-ac {
    background: url(../img/cavinder-hero-ac-1200-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.hvac-heat {
    background: url(../img/cavinder-hero-heat-1200-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.plumbing {
    background: url(../img/cavinder-hero-plumbing-1200-600.webp)center center;
    background-size: cover;
  }
  
  .cavinder-hero-wrapper.school {
    background: url(../img/cavinder-hero-school-1200-600.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.nd-football {
    background: url(../img/cavinder-hero-nd-1200-600.webp)center center;
    background-size: cover;
  }
  /* === Sub Hero Styles :: END === */
}

@media (max-width:991px) {
  /* === Home Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper .cavinder-hero-hvac {
    background: url(../img/cavinder-hero-hvac-500-400.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-plumbing {
    background: url(../img/cavinder-hero-plumbing-500-400.webp)center center;
    background-size: cover;
  }
  
  .cavinder-hero-wrapper.hvac-ac,.cavinder-hero-wrapper.hvac-heat,.cavinder-hero-wrapper.plumbing,.cavinder-hero-wrapper.school,.cavinder-hero-wrapper.nd-football {
    background: rgb(25,29,35);
    background: linear-gradient(90deg, rgba(25,29,35,1) 15%, rgba(99,97,97,1) 85%);
    background-size: cover;
  }
  
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding h2,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding h2 {
    font-size: 2.35rem;
    color: #fff;
    text-align: center;
  }
  /* === Home Hero Styles :: END === */
}

@media (max-width:767px) {
  /* === Home Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper {
    margin-top: 6.85rem;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac {
    background: #191d23;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-plumbing {
    background: #191d23;
    background-size: cover;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .cavinder-hero-wrapper .cavinder-hero-hvac .cavinder-hero-padding h2,.cavinder-hero-wrapper .cavinder-hero-plumbing .cavinder-hero-padding h2 {
    font-size: 2rem;
    color: #fff;
    text-align: center;
  }
  /* === Home Hero Styles :: END === */
  
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h1,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h1,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h1 {
    font-size: 2rem;
    
      font-weight: 300;
      font-style: normal;
    color: #fff;
  }
  .cavinder-hero-wrapper.hvac-ac .cavinder-hero-padding h2,.cavinder-hero-wrapper.hvac-heat .cavinder-hero-padding h2,.cavinder-hero-wrapper.plumbing .cavinder-hero-padding h2 {
    font-size: 1.5rem;
    
      font-weight: 700;
      font-style: normal;
    color: #fff;
  }
  
  /* === Banner Styled :: BEGIN === */
  .cavinder-banner-diamond-contractor {
    background: #C18B2B;
    background-size: cover;
    width: 100%;
    height: fit-content;
  }
  
  .cavinder-banner-owner {
    background: #191D23;
    background-size: cover;
  }
  .cavinder-banner-van {
    background: #fff;
    background-size: cover;
  }
  /* === Banner Styles :: END === */
  /* === Service Link Styles :: BEGIN === */
  .cavinder-service-item {
    background: #C18B2B;
    width:100%;
    height: fit-content;
    border-radius: 1.5rem;
  }
  .cavinder-service-item .cavinder-service-item-padding {
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-left:1rem;
    padding-right: 1rem;
    text-align: center;
  }
  /* === Service Link Backgrounds :: BEGIN === */
  .cavinder-service-item.general,.cavinder-service-item.water-heater,.cavinder-service-item.drain,.cavinder-service-item.leak,.cavinder-service-item.water-filter,.cavinder-service-item.remodel,.cavinder-service-item.backflow,.cavinder-service-item.sewer,.cavinder-service-item.welding,.cavinder-service-item.hydraulic,.cavinder-service-item.furnace,.cavinder-service-item.boiler,.cavinder-service-item.packaged,.cavinder-service-item.ac,.cavinder-service-item.mini-split,.cavinder-service-item.iaq,.cavinder-service-item.duct,.cavinder-service-item.commercial-hvac,.cavinder-service-item.commercial-ice,.cavinder-service-item.commercial-fixture,.cavinder-service-item.commercial-drain {
    background: #C18B2B;
    border: 1px solid #eee;
  }
  .cavinder-service-item.general:hover,.cavinder-service-item.water-heater:hover,.cavinder-service-item.drain:hover,.cavinder-service-item.leak:hover,.cavinder-service-item.water-filter:hover,.cavinder-service-item.remodel:hover,.cavinder-service-item.backflow:hover,.cavinder-service-item.sewer:hover,.cavinder-service-item.welding:hover,.cavinder-service-item.hydraulic:hover,.cavinder-service-item.furnace:hover,.cavinder-service-item.boiler:hover,.cavinder-service-item.packaged:hover,.cavinder-service-item.ac:hover,.cavinder-service-item.mini-split:hover,.cavinder-service-item.iaq:hover,.cavinder-service-item.duct:hover,.cavinder-service-item.commercial-hvac:hover,.cavinder-service-item.commercial-ice:hover,.cavinder-service-item.commercial-fixture:hover,.cavinder-service-item.commercial-drain:hover {
      background: #e4ab45;
      border: 1px solid #fff;
    }
  /* === Service Link Backgrounds :: END === */
  /* === Service Link Styles :: END === */
}

@media (max-width:450px) {
  /* === Sub Hero Styles :: BEGIN === */
  .cavinder-hero-wrapper.school {
    background: url(../img/cavinder-hero-school-450-500.webp)center center;
    background-size: cover;
  }
  .cavinder-hero-wrapper.nd-football {
    background: url(../img/cavinder-hero-nd-450-500.webp)center center;
    background-size: cover;
  }
  /* === Sub Hero Styles :: END === */
}

/* === Media Queries :: END === */