/*
put any CSS shared by all instances
of this component here. Also be sure to add this file
to the styleRefs array in elastic
*/

section#legacy .featured-brands h3 {
    font-size: 22px;
}

section#legacy .featured-brand-wrapper {
    display: flex;
    flex-direction: column;
    margin: 50px auto;
    justify-content: center;
}

@media  screen and (max-width: 575px) {
    section#legacy .featured-brand-wrapper {
        margin: 25px auto;
    }
}

section#legacy .featured-brand-wrapper a {
    text-underline-offset: 2px;
}

section#legacy .featured-brand-wrapper a {
    text-decoration: none;
}

section#legacy .featured-brand-wrapper .card {
    min-height: 200px;
    border: 2px solid #e2e2e2;
}

section#legacy .featured-brand-image {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#legacy .featured-brand-title {
    background-color: #f4f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65px;
}

@media  screen and (max-width: 575px) {
    section#legacy .featured-brand-title {
        min-height: 70px;
    }
}

section#legacy .featured-brand-title h4{
    font-size: 14px;
    color: #808080;
    text-align: center;
    font-family: 'hn';
    font-weight: 500;
    margin-top: 7px;
    margin-bottom: 7px;
    transition: all .2s ease-in-out;
    text-decoration: underline solid transparent;
}

section#legacy .featured-brand-wrapper:hover  h4 {
  text-decoration: underline solid #407ec9;
  color: #407ec9;
}

