.page-template-template-brands .content__main{
    padding-bottom: 50px;
}

.brands-container{
    margin-bottom: 100px;
}

.brands-filters{
    position: relative;
    height: 100px;
    display: flex;
}

.brands-filters > div{
    width: 230px;
    position: relative;
}

.brands-filters > div:first-child{
    width: 80px;
}

.brands-filters > div .title{
    font-size: 1.3rem;
    color: #666666;
    padding-top: 18px;
    display: block;
}

.brands {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.brand-entry {
    position: relative;
    margin: 0 0 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    flex: 0 0 30%;
    border-bottom: 2px solid #ececec;
    transition: all .2s ease-in-out;
    /* margin-right: 20px; */
}

.brand-entry:nth-child(3n){
    /* margin-right: 0; */
}

.brand-entry:hover{
    border-color: #4c3384;
}

.brand-entry:hover .brand__links a span{
    color: #4c3384;
}

.brand-entry:hover .brand__links a svg .external-link{
    fill: #4c3384;
}

.brand-entry:hover::after {
    display: none;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    border: 2px solid #000;
}

.brand-entry img {
    max-width: 100%;
    height: auto;
}

.brand__logo {
    margin: 0 30px;
    text-align: center;
}

.brand__brand {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
}

.brand__links {
    
    margin-top: auto;
    text-align: center;
    width: 100%;
}

.brand__links a {
    /* display: block; */
    display: flex;
    align-items: center;
    padding: 5px;
    font-size: 11px;
    color: #a3a3a3;
    margin-right: 20px;
    width: max-content;
    display: inline-block;
    padding: 10px 0;
}

.brand__links a span{
    margin-right: 10px;
}

.brand__links a svg{
    height: 15px;
    width: 15px;
}

.brand__links a svg .external-link{
    fill: #9f9f9f;
}

@media ( max-width: 767px ){
    .brand-entry {
        flex: 0 0 45%; 
    }

    .brands-filters{
        justify-content: space-between;
    }

    .brands-filters > div{
        flex: 0 0 45%;
    }

    .page-template-template-brands .content__main{
        padding-bottom: 0;
    }
} 

@media ( max-width: 350px ){
    .brand-entry {
        flex: 0 0 100%; 
    }
    .brands-filters{
        flex-direction: column;
    }

    .brands-filters > div{
        width: 100%;
    }

    .brands-filters > div .dropdown-el.filtro-1{
        z-index: 99999999;
    }
} 