.wrapper-wap{
    position: fixed;
    z-index: 10;
    bottom: 0;
    right: 0;
}

.btn-wap {
    position: relative;
    height: 64px;
    box-shadow: rgb(0 0 0 / 15%) 0px 3px 12px;
    border-radius: 50%;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
    outline: transparent;
    background-color: rgb(255, 255, 255);
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 20px;
    width: 64px;
}

.btn-wap::before, .btn-wap::after {
    content: "";
    position: absolute;
    border: 1pxsolid rgb(79, 206, 93);
    inset: -2px;
    border-radius: 500px;
    opacity: 0;
    z-index: 0;
}

.puntino {
    width: 10px;
    height: 10px;
    background-color: rgb(255, 0, 0);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    right: 4px;
    top: 4px;
}

.icona-wap {
    display: flex;
}

/*finestra*/



.notifiche-wap {
    box-shadow: rgb(0 0 0 / 10%) 0px 12px 24px 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    touch-action: none;
    visibility: hidden;
    transition: opacity 0.3s ease 0s, margin 0.3s ease 0s, visibility 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px);
    margin-bottom: 80px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: auto;
    margin-right: 20px;
    width:340px;
}

.notifiche-wap.aperto {
    box-shadow: rgb(0 0 0 / 10%) 0px 12px 24px 0px;
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease 0s, margin 0.3s ease 0s, visibility 0.3s ease 0s;
    background-color: rgb(255, 255, 255);
    transform: translate3d(0px, 0px, 0px);
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    touch-action: auto;
    margin-bottom: 96px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    left: auto;
    margin-right: 20px;
    width:340px;
}
.x-wap {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    outline: transparent;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.x-wap::before, .x-wap::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: rgb(255, 255, 255);
    display: block;
    border-radius: 2px;
}

.x-wap::before {
    transform: rotate(45deg);
}

.x-wap::after{
    transform: rotate(-45deg);
}

.header-wap {
    background: rgb(9, 94, 84);
    color: rgb(17, 17, 17);
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 24px 20px;
}

.body-wap {
    padding: 20px 20px 20px 10px;
    background: url(img/whatsapp.png) rgb(230, 221, 212);
    position: relative;
    overflow: auto;
    max-height: 382px;
}

.chat-wap {
    display: flex;
    z-index: 1;
}

.spicchio-wap {
    width: 52.5px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin-left: 10px;
    transition: all 0.1s ease 0s;
    z-index: 1;
    box-shadow: rgb(0 0 0 / 13%) 0px 1px 0.5px;
}

.spicchio-wap:before {
    position: absolute;
    background-image: url(img/spicchio.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    top: 24px;
    left: 8px;
    width: 12px;
    height: 19px;
}

.bodychat-wap {
    padding: 7px 14px 6px;
    background-color: rgb(255, 255, 255);
    border-radius: 0px 8px 8px;
    position: relative;
    transition: all 0.3s ease 0s;
    transform-origin: center top;
    z-index: 2;
    box-shadow: rgb(0 0 0 / 13%) 0px 1px 0.5px;
    margin-top: 4px;
    margin-left: -54px;
    max-width: calc(100% - 66px);
}

.nome-wap {
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
    color: rgba(0, 0, 0, 0.4);
}

.messaggio-wap{
        font-size: 14px;
        line-height: 19px;
        margin-top: 4px;
        color: rgb(17, 17, 17);
}

.orario-wap{
        text-align: right;
        margin-top: 4px;
        font-size: 12px;
        line-height: 16px;
        color: rgba(17, 17, 17, 0.5);
        margin-right: -8px;
        margin-bottom: -4px;
}
a.start-wap {
    padding: 8px 12px;
    border-radius: 24px;
    border: none;
    background: rgb(20, 198, 86);
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    margin: 20px;
    overflow: hidden;
    appearance: none;
}

.start-wap span {
    margin-left: 8px;
    margin-right: 8px;
    z-index: 1;
    color: rgb(255, 255, 255);
}

.icona-btn-wap{
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: rgb(255, 255, 255);
    z-index: 1;
}

.wrapper-img-wap {
    width: 52px;
    height: 52px;
    display: block;
    position: relative;
    flex-shrink: 0;
}

.wrapper-img-wap::before {
    content: "";
    bottom: 0px;
    right: 0px;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
    background-color: rgb(74, 213, 4);
    display: block;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    border: 2px solid rgb(9, 94, 84);
}

.img-wap {
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 50%;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}


.foto-wap {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(img/mezzo-busto.jpg);
}

.foto-wap::after {
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    inset: 0px;
    position: absolute;
    content: "";
    overflow: hidden;
}

.container-header-wap{
    margin-left: 16px;
    margin-right: 16px;
}

.titolo-wap {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: rgb(255, 255, 255);
}

.subtitolo-wap{
    font-size: 13px;
    line-height: 18px;
    margin-top: 4px;
    color: rgb(255, 255, 255);
}