.wa_component{
   display: flex;
   flex-wrap: wrap;
   width: 400px;
   box-sizing: border-box;
   padding: 0.7rem;
   -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #51B255;
    margin-top: -8px;
    border-radius: 15px;
    color: white;
}
.wa_component .wa_component_buttons{
    flex-basis: 100%;
    display: flex;
    margin-top: 10px;
}
.wa_component a{
    font-size: 1rem;
    color: #3e8a41;
    background: #ffffff;
    border-radius: 10px;
    display: block;
    padding: 0.5rem 1.3rem;
    text-align: center;
}

.wa_component a:hover{
    -webkit-box-shadow: 3px 3px 5px 0px rgba(47,110,50,1);
    -moz-box-shadow: 3px 3px 5px 0px rgba(47,110,50,1);
    box-shadow: 3px 3px 5px 0px rgba(47,110,50,1);
}

.wa_component .wa_component_individual{
    margin-right: 10px;
}

.wa_component .wa_component_frase{
    max-height: 60px;
    display: flex;
    max-width: 300px;
    align-items: center;
    font-size: 1.1rem;
    line-height: 1.3rem;
    color: white;
}

.wa_component .wa_component_frase > span{
    margin-left: 10px;
}

.wa_component a.whatsapp_voltar{
    display: none;
}

.wa_component.active .wa_component_buttons,
.wa_component.active .wa_component_frase,
.wa_component.active .wa_component_imagem{
    display: none;
}

.wa_component.active a.whatsapp_voltar{
    display: inline-block;
}

.wa_component .individual_container,
.wa_component .empresa_container{
    font-size: 0.8rem;
}

/** Lista Empresa **/
.wa_component .empresa_container ul{
    margin-top: 1rem;
}
.wa_component .empresa_container ul li::before{
    content: "•"; 
    color: white;
    display: inline-block; width: 1em;
    margin-left: -1em;
}
.wa_component .empresa_container ul li{
    list-style: none;
    margin-left: 1rem;
    padding-bottom: 0.5rem;
}

/** Lista Individual **/
.wa_component .individual_container ul{
    margin-top: 1rem;
}
.wa_component .individual_container li {
    position: relative;
    list-style: none;
    padding: 0.2rem;
    padding-left: 30px;
    border:  1px solid white;
    margin-bottom: 0.5rem;
    border-radius: 1rem;
    cursor: pointer;
    background: white;
    color: #3e8a41;
}
.wa_component .individual_container li:before {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    background-image: url('../images/whatsapp-icon.png');
    background-size: cover;
    background-position: center;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}


.wa_component .individual_container span,
.wa_component .empresa_container span{
    display: block;
    padding-right: 2rem;
    font-size: 1rem;
}

.wa_component a.openWhatsAppIndividual,
.wa_component a.openWhatsAppEmpresa{
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    font-size: 1.1rem;
}

.wa_component a.openWhatsAppIndividual img,
.wa_component a.openWhatsAppEmpresa img{
    margin-right: 0.5rem;
}

.wa_component a.whatsapp_voltar{
    padding: 0.5rem;
    position: absolute;
    right: 0.5rem;
    width: 1rem;
    border-radius: 100%;
}

.wa_component_horario{
    font-size: 0.8rem;
    padding-top: 2px;
    display: block;
    color: #ffffffc7;
}

.wa_component a:hover{
    color: #2f6e32;
}


@media only screen and (max-width: 1024px){
    .wa_component{
        display: flex;
        flex-wrap: wrap;
        padding-right: 1rem;
        width: 100%;
        margin-top: -15px;
        margin-right: 0;
        border-radius: 0;
        box-sizing: border-box;
    }
    .wa_component.active{
        background: white;
        color: #3B3B3B;
    }
    .wa_component a.openWhatsAppIndividual,
    .wa_component a.openWhatsAppEmpresa{
        background:  #51B255;
        color: white;
    }
    .wa_component .individual_container ul li::before,
    .wa_component .empresa_container ul li::before{
        color: #51B255;
    }
    .wa_component .wa_component_frase > span{
        margin-left: 0;
    }
    .wa_component .individual_container li {
        border: 1px solid #51B255;
    }
    .wa_component a.whatsapp_voltar{
        border: 1px solid #51B255;
        border-radius: 100%;
        padding: 0.2rem;
        right: 0.3rem;
    top: 0.5rem;
    }
    .wa_component .wa_component_imagem{
        order: 1;
        width: 40px;
        height: 40px;
    }
    .wa_component .wa_component_frase{
        max-width: initial;
        flex-basis: 100%;
        order: 3;
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    .wa_component .wa_component_buttons{
        flex-basis: auto;
        align-self: self-end;
        order: 2;
        align-self: center;
        margin-top: 0;
    }
    .wa_component .individual_container,
    .wa_component .empresa_container{
        order: 4;
        flex-basis: 100%;

    }
    .wa_component .individual_container span,
    .wa_component .empresa_container span{
        padding-right: 1rem;
    }
    .wa_component_frase > span{
        margin-left: 0;
    }
    .wa_component_horario{
        display: inline-block;
    }
    .wa_component a{
        margin-top: auto;
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    .wa_component_empresa{
        margin-right: 0.5rem;
    }
    .wa_component_individual{
        margin-left: 0.5rem;
    }
}

@media only screen and (max-width: 359px){
    .wa_component .wa_component_imagem{
        width: 30px;
        height: 30px;
    }
    .wa_component a{
        margin-top: auto;
        font-size: 0.7rem;
        padding: 0.4rem;
    }
}