.roof_banner .slider-section {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 770px;
  position: relative;
}
.roof_banner .slider-content {
  width: 55%;
}
html[dir=rtl] .roof_banner .slider-section .col-lg-12  {
  display: flex;
  justify-content: flex-end;

}
.roof_banner .slider-content h4 {
  font-size: 24px;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.roof_banner .slider-content h2 {
  font-size: 60px;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.roof_banner .slider-content p {
  font-size: 18px;
  line-height: 30px;
  color: #ffffff;
  font-weight: 400;
  margin: 37px 0 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

/* slider btn */

.roofing-btn.slider1 {
  margin: 0;
}

.roofing-btn.slider2 {
  margin-left: 14px;
}

.roofing-btn.slider2 a {
  background: #fff;
  color: #0f0f0f;
}

.roofing-btn.slider2 a:hover{
  color: #ffffff;
}

/* owl nav css */

.roof_banner .slider-section .owl-carousel .owl-dots.disabled,
.roof_banner .owl-carousel .owl-nav.disabled {
  display: block;
}

.roof_banner .owl-nav {
  position: absolute;
  bottom: 41%;
  right: 60px;
}

.roof_banner .owl-prev i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: var(--color-primary);
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: #ffffff;
  font-size: 24px;
  transition: .5s;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.roof_banner .owl-prev i:hover {
  color: var(--color-primary);
}

.roof_banner .owl-prev i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}

.roof_banner .owl-prev i:hover::after {
  transform: scale(1);
}

.roof_banner .owl-next i {
  width: 62px;
  height: 62px;
  line-height: 62px;
  background: #ffffff;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 24px;
  transition: .5s;
  position: relative;
  z-index: 1;
}

.roof_banner .owl-next i:hover {
  color: #ffffff;
}

.roof_banner .owl-next i::after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  transform: scale(0);
  border-radius: 50%;
  z-index: -1;
  transition: .5s;
}

.roof_banner .owl-next i:hover::after {
  transform: scale(1);
}


@media (min-width: 992px) and (max-width: 1199px) {
  .roof_banner .slider-content {
    width: 70%;
  }
  .roof_banner .slider-content h2 {
    font-size: 30px;
  }

  .roofing-btn {
    margin-left: 10px;
  }

  .roofing-btn a {
    font-size: 16px;
    padding: 12px 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }

  .roof_banner .slider-content {
    padding: 120px 0 0;
  }

  .roof_banner .slider-content {
    width: 80%;
  }
  .roof_banner .slider-content h2 {
    font-size: 24px!important;
  }

  .roof_banner .slider-content p {
    margin: 29px 0 43px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }

  .roof_banner .slider-content {
    padding: 80px 0 0px;
  }
 .roof_banner .slider-content {
    width: 85%;
  }
  .roof_banner .slider-content h2 {
    font-size: 20px!important;
  }
  .roof_banner .slider-content p {
    margin: 29px 0 43px;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 8px;
  }

  .roof_banner .owl-prev i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }

  .roof_banner .owl-next i {
    width: 55px;
    height: 55px;
    line-height: 55px;
  }
}

@media only screen and (min-width: 480px) and (max-width: 599px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  .roof_banner .slider-section {
    height: 700px;
    display: block !important;
  }

  .roof_banner .slider-content {
    padding: 166px 0 0;
  }
 .roof_banner .slider-content {
    width: 89%;
  }
  .roof_banner .slider-content h2 {
    font-size: 20px!important;
  }
  .roof_banner .slider-content p {
    margin: 29px 0 43px;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 8px;
  }

  .roof_banner .owl-prev i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }

  .roof_banner .owl-next i {
    width: 50px;
    height: 50px;
    line-height: 50px;
  }
}

@media only screen and (max-width: 479px) {
  .slider-list.owl-carousel.owl-loaded.owl-drag {
    display: inline-block;
  }

  .roof_banner .slider-section {
    height: 600px;
    display: block !important;
     background-image: url(https://okki-shop.oss-cn-hangzhou.aliyuncs.com/category/368023/3342/25eb17b9d90d86500f7c040ebe85cc80/Mbanner002.jpg)!important;
      }

  .roof_banner .slider-content {
   padding: 220px 0 0;
  }

 .roof_banner .slider-content {
    width: 100%;
  }
  .roof_banner .slider-content h2 {
    font-size: 20px!important;
  }

  .roof_banner .slider-content h4 {
    font-size: 21px;
    margin-bottom: 24px;
  }

  .roof_banner .slider-content p {
        margin: 8px 0 12px;
        font-size: 14px;
        line-height: 20px;
  }

  .roofing-btn.slider1 a,
  .roofing-btn.slider2 a {
    padding: 10px 10px;
    font-size: 14px;
  }

  /* owl nav css */

  .roof_banner .owl-nav {
    right: 50%;
    display: inline-flex;
    bottom: 25px;
    left: 38%;
    margin: auto;
  }

  .roof_banner .owl-prev i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
  }

  .roof_banner .owl-next i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    margin-left: 13px;
  }
}