/* Image zoom on hover + Overlay colour */
.parent {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    display: inline-block;
    cursor: pointer;
    background-color: var(--couleurElement);

}

.child {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

.titre-famille {
    font-size: 32px;
    line-height: 40px;
    color: var(--couleurTexteElement) !important;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    transform: translate(0, -50%);
    cursor: pointer;
    font-weight: bold;
}

.parent:hover {
    border: solid var(--couleurElement) 6px;
    transition: 0.2s;
}

.parent:hover .child, .parent:focus .child {
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}

.parent:hover .child:before, .parent:focus .child:before {
    display: block;
}

.parent:hover .titre-famille, .parent:focus .titre-famille {
    display: block;
}

.child:before {
    content: "";
    display: none;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/* Media Queries */
@media screen and (max-width: 991px) {
    .parent {
        width: 100%;
        margin: 10px 0;
        height: 125px;
    }

    .wrapper {
        padding: 0 0;
    }

    .titre-famille {
        font-size: 16px !important;
        line-height: 20px;
    }

    .container-liste-famille {
        padding-bottom: 2rem;
    }
}
