
/***** --- iconos whatsapp --- *****/
.icon-whatsapp {
    position: fixed;
    z-index: 21;
    /*right: 10px;*/
    /*left: 10px;
     bottom: 80px;*/
    bottom: 64px;
    right: 10px;
    /*bottom: 100px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #57bb63;
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.popup-promo {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

.popup-content {
    position: relative;
    width: auto;
    max-width: 650px;
    animation: aparecer .3s ease;
}

    .popup-content img {
        display: block;
        width: 100%;
        max-width: 650px;
        max-height: 75vh;
        border-radius: 12px;
    }

.cerrar-popup {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: scale(.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media(max-width:768px) {

    .popup-content {
        max-width: 320px;
    }

        .popup-content img {
            max-width: 320px;
            max-height: 80vh;
        }
}

    .icon-whatsapp i {
        color: #fff;
        font-size: 20px;
    }

    .icon-whatsapp .ico-close {
        display: none;
    }

    .icon-whatsapp.active .ico-close {
        display: block;
    }

    .icon-whatsapp.active .ico-open {
        display: none;
    }

/* iconos whatsapp body */
.icon-whatsapp-body {
    position: fixed;
    z-index: 51;
    bottom: 200px;
   /* right: 10px;*/
    right:10px;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

    .icon-whatsapp-body .wrap {
        position: relative;
    }

        .icon-whatsapp-body .wrap ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .icon-whatsapp-body .wrap ul li {
                margin-bottom: 0;
            }

        .icon-whatsapp-body .wrap a {
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-decoration: none;
            background-color: #57bb63;
            margin-bottom: 2px;
            border-radius: 30px;
            height: 40px;
            font-size: 12px;
        }

        .icon-whatsapp-body .wrap .name {
            font-size: 14px;
            text-align: center;
        }


        .icon-whatsapp-body .wrap a img {
            width: 20px;
        }

    .icon-whatsapp-body.active {
        bottom: 150px;      
        opacity: 1;
        visibility: visible;
    }


    /*
pulseboton whatsaap*/

    .pulse-button {
        border: none;
        box-shadow: 0 0 0 0 #57bb63;
        border-radius: 50%;
        cursor: pointer;
        -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    }

    .pulse-button-chat {
        border: none;
        box-shadow: 0 0 0 0 #ed0000;
        border-radius: 50%;
        cursor: pointer;
        -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    }
.pulse-button-crm {
    border: none;
    box-shadow: 0 0 0 0 #1E2532;
    border-radius: 50%;
    cursor: pointer;
    -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
}
    @-webkit-keyframes pulse {
        to {
            box-shadow: 0 0 0 25px rgba(84,192,80, 0);
        }
    }

    @-moz-keyframes pulse {
        to {
            box-shadow: 0 0 0 25px rgba(84,192,80, 0);
        }
    }

    @-ms-keyframes pulse {
        to {
            box-shadow: 0 0 0 25px rgba(84,192,80, 0);
        }
    }

    @keyframes pulse {
        to {
            box-shadow: 0 0 0 25px rgba(84,192,80, 0);
        }
    }


/*icono Whatsapp*/
.imgChatwhat {
        bottom: 60px;
        z-index: 9999;
        right: -20px;
        transition: all .3s ease-in-out;
    }
    .imgChatwhat, .imgChatwhatMin {
        position: fixed;
        -webkit-transition: all .3s ease-in-out;
    }
    .imgChatwhat ul {
        margin: 20px 30px;
        padding: 0;
        text-align: center;
    }
    .imgChatwhat span ul > li {
        /* position: absolute; */
        display: block;
        width: 0px;
        height: 40px;
        right: 60px;
        top: calc(50% - 30px);
        text-align: center;
        background: #57bb63;
        /* font-size: 18px; */
        font-size: 15px;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        text-align: center;
        line-height: 30px;
        overflow: hidden;
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
        z-index: 9999;
    }
    .pulse-button.uno {
        animation-delay: 2s;
    }
    .icowhatsap {
        width: 80px;
        height: 80px;
    }
    /*.pulse-button {
        position: relative;
        border: none;
        box-shadow: 0 0 0 0 rgb(87, 187, 99);
        border-radius: 50%;
        cursor: pointer;
        -webkit-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -moz-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        -ms-animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
        animation: pulse 1.25s infinite cubic-bezier(0.66, 0, 0, 1);
    }*/
    .imgChatwhat:hover span ul > li {
        width: 300px;
    }
    a.HitsTelWhatsapp {
        color: white;
        text-decoration: none;
    }
    a.HitsTelWhatsapp:hover {
        color: white !important;
        text-decoration: none;
    }
@media (max-width: 2560px) and (min-width: 1000px) {
    .imgChatwhat {
        bottom: 40px;
        z-index: 999;
        right: -20px;
        transition: all .3s ease-in-out;
    }
}
@media (max-width: 1010px){
    .icon-whatsapp{bottom: 20px;}
    .icon-whatsapp-body.active{bottom: 100px;}
    .icon-whatsapp-body{bottom: 150px;}

}
@media (max-width: 768px){
    .icon-whatsapp {
      width: 60px;
      height: 60px;
    }
    .ico-open img {
      width: 70%;
    }
    .ico-open {
      text-align: center;
    }
    .ico-close img {
      width: 80%;
    }
    .ico-close {
      text-align: center;
    }


    .icon-whatsapp-body.active{bottom: 80px;}
    .icon-whatsapp-body{bottom: 120px;}

}
