/*
Theme Name: ibsaderma
*/
.values-box article:hover{
    opacity: 1;
}

.values-box article picture:hover:before, .fascia_innovazione .box_img p:hover:before{
    background-color: rgba(226,196,184,0.8);
    z-index: 10;
    position: relative;
}
.fascia_innovazione .box_img p:hover:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.values-box article picture:after,  .fascia_innovazione .box_img p:after {
    position: absolute;
    z-index: 10;
    color: #002f6c;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.values-box article picture:hover:after,  .fascia_innovazione .box_img p:hover:after{
    content: attr(title);
}