﻿.hero-carousel .e-play-button {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: rgba(230, 230, 230, 1) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-carousel .e-play-button:hover {
        background-color: rgba(210, 210, 210, 1) !important;
    }

.img-container {
    position: relative;
    display: block;
}

.img-caption-one {
    height: 400px;
    overflow: hidden;
    width: 33%;
    position: absolute;
    bottom: 0;
    margin-left: 65px;
    margin-bottom: -15px;
}

.hero-content {
    position: absolute;
    width: 100%;
    background: rgba(0, 115, 187, 0.7) !important;
    border: none !important;
    padding: 12px 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    bottom: 0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 8px;
        min-height: 80px;
    }

    .hero-section-heading-text {
        font-size: 1.2rem;
    }

    .hero-section-paragraph-text {
        font-size: 0.8rem;
    }

    .hero-section-heading-text-nowrap {
        font-size: 1.2rem !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 5px;
        min-height: 60px;
    }

    .hero-section-heading-text {
        font-size: 1rem;
    }

    .hero-section-paragraph-text {
        font-size: 0.7rem;
    }

    .hero-section-heading-text-nowrap {
        font-size: 1rem !important;
        text-align: center;
    }
}

/*========= hero area style end hare ======= */

.hero-carousel-section .carousel-sample {
    height: 375px;
}

.hero-carousel .e-carousel-items .e-carousel-item .img-container {
    /* height: 100%; */
    background-size: cover;
    max-height: 375px !important;
    height: 375px;
}

.hero-carousel .e-carousel-items .e-carousel-item .img-caption {
    bottom: 19em;
    color: #fff;
    /*  font-size: 12pt; */
    height: 2em;
    position: relative;
    padding: 0.3em 1em;
    /*  text-align: center; */
    width: 100%;
}

/*======== hero area style start hare ======= */


.hero-section-heading-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 27ch;
    display: block;
}

.hero-section-heading-text-nowrap {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 27ch;
    display: block;
}

.hero-section-paragraph-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}


.read-more-text {
    color: white;
    font-size: 0.8rem;
    font-weight: 300;
    background-color: #2786C0;
    padding: 7px 15px;
    text-align: center;
}

.hero-content h2 {
    font-family: var(--open-sens);
    color: #fff;
    font-weight: 300;
    font-size: 1.5rem;
}

.hero-content p {
    padding-top: 10px;
    color: #fff;
}

.action-btn {
    text-align: end;
    margin-top: auto;
}

    .action-btn a {
        padding: 7px 27px;
        display: inline-block;
        border: 1px solid rgba(121, 194, 228, 0.5);
        margin-bottom: 10px;
        color: #fff;
        font-weight: 500;
    }

        .action-btn a:hover {
            background: #2D71BA;
        }

.hero-slider .owl-item {
    padding: 0;
}

.carouselimage {
    width: 100%;
    height: 375px;
    margin-left: 0 !important;
}

.img-container {
    text-align: center;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 8px;
        min-height: 80px;
    }

    .hero-section-heading-text {
        font-size: 1.2rem;
    }

    .hero-section-paragraph-text {
        font-size: 0.8rem;
    }

    .hero-section-heading-text-nowrap {
        font-size: 1.2rem !important;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 5px;
        min-height: 60px;
    }

    .hero-section-heading-text {
        font-size: 1rem;
    }

    .hero-section-paragraph-text {
        font-size: 0.7rem;
    }

    .hero-section-heading-text-nowrap {
        font-size: 1rem !important;
        text-align: center;
    }
}

@media (min-width: 992px) {
    .ms-lg-5 {
        margin-left: 3rem !important;
    }
}

.margin-top-45 {
    margin-top: 45px;
}

.margin-top-46 {
    margin-top: 46px;
}
