/*
    CUSTOM CSS
*/
.portfolio-ic .dlab-img-overlay1::before,
.site-button,
.box-header .extra-nav .site-button::after,
.box-header .extra-nav .site-button:hover::after,
.pagination li.active a,
.modal-header,
.video-play-icon a {
    background-color: #58595b !important;
}

.header-nav .nav > li > a::after {
    background-color: #88c241 !important;
}

.icon-bx-wraper.contact-custom-h.bx-style-1 {
    height: 150px !important;
}

.dlab-post-text.custom-blog-content {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: auto; /* Optional: Adjust based on font size and line-height */
    max-width: 100%; /* Set to fit your layout */
}

.img-ho1:after {
    border-color: #88c241 !important;
}

.overlay-primary-dark:after {
    background: #023c60  !important;
}

.icon-lg {
    width: auto;
}

.project-slider::after {
    width: 0 !important;
    height: 0 !important;
    position: none !important;
}

.content_text_1 {
    padding: 1rem;
}

.dlab-img-overlay1:hover::before {
    opacity: 0;
}

.lg-outer .lg-img-wrap {
    background-color: #ffffff !important;     
}

.lg-outer.lg-thumb-open .lg-thumb-outer,
#lg-share,
#lg-download,
.lg-autoplay-button.lg-icon {
    display: none !important;
}

/* Center the loader */
    .loader-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      width: 100%;
    }

    .loader {
      border: 4px solid #f3f3f3; /* Light grey */
      border-top: 4px solid #3498db; /* Blue */
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    #open-modal {
      display: none; /* Initially hide the iframe */
    }

.btn-lg {
    font-size: 18px !important;
}

.video-play-icon a {
    box-shadow: 0 0 0 10px rgb(88 89 91 / 25%) !important;
}

.sr-iconbox.style2 {
    padding: 10px !important;
}

.sr-iconbox.style2:hover {
/*    box-shadow: none !important;*/
    border-radius: 25px !important;
}

.why-land-struc .dlab-media,
.dlab-media,
.testimonial-12 .testimonial-detail,
.bx-custom-h,
.icon-bx-wraper.bx-style-2 {
    border-radius: 15px !important;
}

.br-lr-15p {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
}
.owl-num-count .owl-dots {
    text-align: center !important;
    justify-content: center !important;
}

.testimonial-num-count .owl-nav {
    display: none !important;
}

.content-area,
.footer-top {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.content-inner-2,
.content-inner {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.site-footer .footer-bottom a:hover {
    color: #2c6eb2 !important;
}

.dlab-team5 img {
    height: 300px !important;
}

.modal {
    z-index: 99999 !important;
}

.close {
    color: #fff !important;
    opacity: 1 !important;
}

@media only screen and (max-width: 591px) {
    #open-modal {
      height: auto !important;
    }
}

