@media (width >=1367px) {
    .top-header .container {
        max-width: 1310px !important;
    }

    .logo-img {
        height: 150px;
    }
    .top-header {
        min-height: 155px;
    }
}

@media (width <=1366px) {
    .top-header {
        min-height: 145px;
    }

    .logo-img {
        height: 140px;
        left: 90px;
    }
    .inner-top-banner .banner-top-images {
        position: absolute;
        z-index: 3;
        height: 250px;
    }
}

@media (width >=1301px) {
    .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #kamma-carousel > img:nth-child(1),
    #kamma-carousel > img:nth-child(2) {
        z-index: 3;
    }
}

@media (width <=1300px) {
    .logo-img {
        height: 120px;
        margin-top: 6px;
    }

    #kamma-carousel > img:nth-child(1),
    #kamma-carousel > img:nth-child(2) {
        height: 310px;
    }
    .inner-top-banner .banner-top-images {
        position: absolute;
        z-index: 3;
        height: 190px;
    }
    .about-sec {
        margin-top: 15px;
    }
}

@media (width <=1024px) {
    .top-header {
        min-height: auto;
    }
    .logo-img {
        position: relative;
        left: 35px;
    }
    .inner-cmn-content .event-grid {
        padding: 15px;
    }
    .inner-cmn-content .bg-ash {
        margin-left: 0px !important;
    }
    .navbar-nav > li > a {
        padding: 0px 10px !important;
        color: #fff !important;
        font-size: 13px;
    }

    .footer-box-head {
        line-height: 16px;
        margin-bottom: 4px;
    }
}

@media (width <=1200px) {
    .navbar-nav > li > a {
        padding: 0px 5px !important;
        color: #fff !important;
        font-size: 11px;
    }
}

@media (width <=991px) {
    .navbar-nav > li > a{
        padding: 0px 10px !important;
    }
    .nav-menu > li:hover,
    .nav-dropdown {
        background-color: #ab0d0f !important;
        background-image: none !important;
    }
    .nav-item.dropdown {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .top-header {
        border-bottom: 2px solid #ad1115;
    }
    .navbar-nav > li > a {
        color: #000 !important;
        font-size: 12px;
        filter: none !important;
    }

    .btm-header {
        height: 0;
    }
    .top-header {
        padding: 0px;
    }

    .navbar-nav > li > a {
        line-height: 35px;
        font-size: 13px;
    }

    .nav-dropdown > li > a,
    .megamenu-list > li > a {
        color: #fff !important;
    }

    .nav-dropdown > li > a:hover {
        background-color: transparent;
        color: #fff;
    }

    .about-sec .bdr-btn {
        margin-top: 0px;
        margin-bottom: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-grid > div:nth-child(2) {
        order: -1;
    }

    .about-grid > div:nth-child(1),
    .about-grid > div:nth-child(3) {
        border: none;
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-event-sec {
        margin-bottom: 40px;
    }

    .btm-right-img,
    .btm-left-img {
        display: none;
    }

    .footer-sec {
        padding: 40px 0px;
    }

    .sponser-img {
        text-align: center;
    }

    .event-grid .bg-ash:nth-child(2) > .row {
        background-color: #fff;
    }

    .event-grid .bg-ash:nth-child(2) > .row .bg-content {
        box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.07);
        background-color: #ffffff;
    }

    #kamma-carousel > img:nth-child(1),
    #kamma-carousel > img:nth-child(2) {
        height: 250px;
    }
    .navbar-nav > li:hover,
    .navbar-nav > li.active {
        background: #ab0d0f;
    }
    .navbar-nav > li:hover a,
    .navbar-nav > li.active a {
        background: #ab0d0f;
        color: #fff !important;
    }
    .inner-banner-title .head {
        position: relative;
        font-size: 30px;
        line-height: 35px;
    }
    .inner-banner-title img {
        height: 20px;
    }
}

@media (width <=767px) {
    .cmn-event-list-item.inner-page {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .inner-top-banner .banner-top-images {
        position: absolute;
        z-index: 3;
        height: 130px;
    }
    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 20px !important;
        height: 20px !important;
    }
    .logo-img {
        height: 75px;
        margin-top: 6px;
    }

    .event-sec > .row > .col-sm-9 > div {
        max-width: 100%;
    }

    #kamma-carousel > img:nth-child(1),
    #kamma-carousel > img:nth-child(2) {
        height: 230px;
    }

    .about-head1 {
        font-size: 20px;
    }

    .about-head2 {
        font-size: 30px;
        margin-bottom: 7px;
        line-height: 40px;
    }

    .event-head {
        padding-top: 0px;
    }

    .event-head {
        font-size: 18px;
        line-height: 25px;
    }

    .top-header::before {
        background-size: cover;
        height: 10px;
        background-position: center top;
    }

    .footer-sec {
        background-position: bottom;
        background-size: contain;
    }
    .inner-banner-title .head {
        position: relative;
        font-size: 25px;
        line-height: 35px;
    }
    .inner-banner-title img {
        height: 20px;
    }
}

@media (width <=576px) {
    .logo-img {
        height: 60px;
        margin-top: 6px;
    }
    .logo-img {
        position: relative;
        left: 22px;
    }
    .top-header .container {
        padding: 0px 4px !important;
    }

    .g-head {
        font-size: 20px;
        line-height: 35px;
    }

    .gallery-owl i {
        font-size: 25px;
    }

    .photo-gallery .container,
    .video-gallery-sec .container {
        padding: 0px 0px !important;
    }

    .bdr-btn {
        line-height: 35px !important;
    }

    .about-sec .bdr-btn {
        margin-bottom: 25px;
    }

    .about-grid {
        padding: 20px 13px 25px 13px;
        gap: 0px;
    }

    .owl-nav .owl-next {
        right: -23px;
    }

    .owl-nav .owl-prev {
        left: -18px;
    }

    .cmn-gap {
        padding: 0px 0px 0px 8px;
    }

    .cmn-box-shadow .mt-20p {
        margin-top: 10px !important;
    }

    .owl-nav img {
        width: 15px;
    }

    .sec-title {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 0px !important;
    }

    .about-head2 {
        font-size: 26px;
        margin-bottom: 7px;
        line-height: 33px;
    }

    .about-head1 {
        font-size: 18px;
        line-height: 24px;
    }

    .footer-sec {
        padding: 30px 0px;
    }

    .news-event-sec .cmn-box-shadow {
        padding: 25px 12px 20px 4px;
    }

    .bg-content {
        padding: 20px 12px;
    }

    .event-sec p {
        line-height: 22px;
        margin-bottom: 10px;
    }

    .event-img img {
        width: 100%;
        /* height: 140px; */
        object-fit: cover;
        object-position: top;
    }

    .about-grid > div:nth-child(1),
    .about-grid > div:nth-child(3) {
        display: flex;
        justify-content: center;
    }

    .about-grid > div:nth-child(1) img,
    .about-grid > div:nth-child(3) img {
        max-width: 100%;
    }

    .about-grid img {
        padding: 3px;
    }

    #kamma-carousel > img:nth-child(1),
    #kamma-carousel > img:nth-child(2) {
        height: 130px;
    }

    .copy-right-sec,
    .footer-sec {
        text-align: center;
    }
    .inner-top-banner .banner-top-images {
        position: absolute;
        z-index: 3;
        height: 80px;
    }
    .inner-banner-title .head {
        position: relative;
        font-size: 17px;
        line-height: 16px;
    }
    .inner-banner-title img {
        height: 10px;
    }

/* sri */

.community-services div{
    padding: 20px 10px;
    text-align: center !important;
    padding-top: 30px;
    margin-bottom: 15px !important;
}
.community-services div::before{
    top: 0;
    width: 100%;
    height: 10px;
}
.community-services > div:last-child{
    margin-bottom: 20px !important;
}

}

