.partners-banner {
    margin-top: var(--header-height);
    position: relative;
    background: url(../images/partners/pbanner.png);
    height: 390px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.partners-banner img {
    width: 100%;
    object-fit: cover;
    min-height: 300px;
}

.partners-banner .banner-title {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}
@media (min-width: 576px){
    .partner-item .partner_cont {
            color:#1D1D1D;
            padding-right: var(--spacer) !important;
            padding-left: var(--spacer) !important;
        }
} 
.blackimg img {
    filter: brightness(0%);
}

.partners {
    margin-bottom: 80px;
}

.partner-item:nth-child(1) {
    margin-top: 40px;
}

.partner-item h1 {
    margin-top: 60px;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #1D1D1D;
    line-height: 1.42;
    margin-bottom: 20px;
}

.partner-item>ul {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: calc(clamp(1100px, 75vw, 1700px) + var(--spacer) * 2);
    margin-left: auto;
    margin-right: auto;
}



.partner-item>ul>li {
    width: 25%;
    overflow: hidden;
    padding: 40px 20px;
    cursor: default;
}

.partner-item>ul>li:nth-child(1),
.partner-item>ul>li:nth-child(2),
.partner-item>ul>li:nth-child(3),
.partner-item>ul>li:nth-last-child(1),
.partner-item>ul>li:nth-last-child(2),
.partner-item>ul>li:nth-last-child(3) {
    width: 33%;
}

.partner-item>ul>li>img,
.partner-item>ul>li>a>img {
    height: 90px;
    object-fit: contain;
    padding: 0 20px;
    max-width: 100%;
}

.partner-item>ul>li>span,
.partner-item>ul>li>a>span {
    font-size: 18px;
    font-weight: 400;
    color: #1D1D1D;
    line-height: 30px;
    display: block;
    margin-top: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;

}

@media (max-width: 1440px) {
    .partner-item>ul>li {
        width: 33%;
    }
}

@media (max-width: 1024px) {
    .partner-item>ul>li {
        width: 50%;
    }

    .partner-item>ul>li:nth-child(1),
    .partner-item>ul>li:nth-child(2),
    .partner-item>ul>li:nth-child(3),
    .partner-item>ul>li:nth-last-child(1),
    .partner-item>ul>li:nth-last-child(2),
    .partner-item>ul>li:nth-last-child(3) {
        width: 50%;
    }

    .partners-banner .banner-title {
        left: 20%;
    }
    .partner-item .partner_cont .fr-fic{height: 140px !important;}
    .partner-item .row .col-md-4 .card .card-body img{height: 50px !important;}
}

@media (max-width: 920px) {

    .px-3,
    .container-fluid-px,
    .container-fluid-px-mw {
        padding-left: 3.5% !important;
        padding-right: 3.5% !important;
    }

    .footer-main .container-fluid-px-mw .left .footlogo img {
        padding-left: 0 !important;
    }

    .partner-item>ul>li {
        padding: 20px 1.75%;
    }
    .partner-item .partner_cont .fr-fic{height: 120px !important;}
    .partner-item .row .col-md-4 .card .card-body img{height: 40px !important;}
}

@media (max-width: 750px) {
    .partners-banner {
        background: url(../images/pbanner2_mobile.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        height: 138px;
    }
}

@media (max-width: 610px) {
    .partners-banner .banner-title {
        left: 50%;
        top: 50%;
    }

    .partner-item>ul>li>a>img,
    .partner-item>ul>li>img {
        width: 100%;
    }
    .partner-item .partner_cont .fr-fic{height: 70px !important;}
    .page-container-inner{padding: 1rem;}




}

@media (min-width: 576px) {
    .partner-item>ul {
        padding-right: var(--spacer) !important;
        padding-left: var(--spacer) !important;
    }


}