





.brand-cnt {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 0;
}


.brand-cli {
    width: calc((100% - 40px)/4);
    margin: 5px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.brand-cli a {
    width: 100%;
}

.brand-cli a:hover {
    color: #e73b3b;
}

.brand-climg {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    vertical-align: middle;
}

.brand-climg img {
    width: 100%;
    height: auto;
}

.brand-cli:hover .brand-cltxt{
    top: 0;
}

.brand-cltxt {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(214, 23, 24, .6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all .5s;
} 
.brand-cltxt h4{
    font-size: 16px;
    padding: 10px;
    color: #ffffff;
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}
.brand-cltxt p{
    font-size: 16px;
    padding: 10px;
    color: #ffffff;
}

@media only screen and (max-width: 1340px) {

    .brand-cnt {
        padding: 25px 0;
    }


    .brand-cltxt h4{
        font-size: 14px;
        padding: 5px;
    }


}

@media only screen and (max-width: 769px) {
  

    .brand-cnt {
        padding: .3rem 0;
    }

    .brand-cli {
        width: calc((100% - 20px) / 2);
    }


}