
/*******whatsaap*******/

/* principal*/

.whatsappwiget{
    bottom: 21px;
    left: 23px; 
    animation: opacity 1s both; 
    -webkit-animation: opacity 1s both;
    animation-fill-mode: forwards;
    box-sizing: border-box;
    position: fixed 
    !important; 
    z-index: 1000 !important;
    direction: ltr;
    visibility: visible;
}

@keyframes opacity { 
	0% {opacity: 0;} 
	100% {opacity: 1;} 
    } 
@-webkit-keyframes opacity {
    0% {opacity: 0;} 
	100% {opacity: 1;} 
    }

@-moz-keyframes opacity {
        from { opacity: 0; }
        to { opacity: 1; }
}



/*******
/*div de dos*/
.contentwhatsapp {
    display: flex;
    margin-top: 14px;
    position: relative;
    -moz-box-pack: start;
    justify-content: flex-start;

}
/*cajamensaje*/

.nube {
    transform: translateX(0px);
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 2px 2px 13px;
    border: 1px solid rgb(226, 226, 226);
    border-radius: 5px;
    background: white none repeat scroll 0% 0%;
    text-decoration: none !important;
    color: rgb(0, 0, 0) !important;
    cursor: pointer;
    margin: auto auto auto 31px;
    max-width: 155px;
    max-height: 44px;
    display: flex;
    order: 2;
    /* -webkit-animation: out 1s both;
    animation: out 1s both;
    animation-fill-mode: forwards; */
    opacity: 0;
}
/* 
.nube::after, .nube::before {
    box-sizing: inherit;
}

.nube::before {
    content: "";
    position: absolute;
    background: white none repeat scroll 0% 0%;
    border-top: 1px solid rgb(226, 226, 226);
    border-left: 1px solid rgb(226, 226, 226);
    left: -5px;
    top: 50%;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    z-index: 1;
    transform: rotate(-45deg);
}

.nube::after {
    content: "";
    position: absolute;
    background: white none repeat scroll 0% 0%;
    border-top: 1px solid rgb(226, 226, 226);
    border-left: 1px solid rgb(226, 226, 226);
    left: -5px;
    top: 50%;
    margin-top: -4px;
    width: 8px;
    height: 8px;
    z-index: 1;
    transform: rotate(-45deg);
} */

.contentwhatsapp .textnube {
    text-align: center;
    padding: 14px 0px;
    line-height: 14px;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-size: 14px;
    margin: auto;
    background-image: url("fondo.png");
    background-position: top right;
    background-size: 300px;
    background-repeat: no-repeat;
    height: 118px;
    width: 294px;
    top: -114px;
    position: absolute;
    left: -40px;
}

.textnube_x {
    top: -127px;
    position: absolute;
    left: 234px;
    background-image: url("x.png");
    background-position: top right;
    background-size: 23px;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
}


.wlineuno {
    position: absolute;
    top: 12px;
    left: 101px;
    height: 30px;
    width: 114px;
    color: white;
}
.wlinedos {
    position: absolute;
    top: 38px;
    left: 56px;
    height: 30px;
    width: 208px;
    color: white;
    font-weight: 900;
}

.wlinebo {
    background-color: white;
    color: green;
    position: absolute;
    top: 73px;
    left: 91px;
    height: 30px;
    width: 132px;
    border-radius: 30px;
    border: 0px;
    padding: 10px;
}
/*logo*/
.whatsapp {
	width: 70px;
	height: 70px;
	order: 1;
	padding: 5px;
	box-sizing: border-box;
	border-radius: 50%;
	cursor: pointer;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 6px;
	transition: all 0.5s ease 0s;
	position: fixed;
	left: 1rem;
	bottom: 1.4rem;
	z-index: 1000;
	display: block;
	border: 0px;
	background: rgb(77, 194, 71) !important;
}
/* .contentwhatsapp:hover .nubeed {
    display: flex;
    opacity: 1;
    left: 50px;
    /* -webkit-animation: in 2s both;
    animation: in 2s both;
      }*/
   .nubein {
    display: flex;
    opacity: 1;    
     -webkit-animation: in 2s both;
    animation: in 2s both;
  }

  .nubeout {
    -webkit-animation: out 1s both;
    animation: out 1s both;
    animation-fill-mode: forwards;
    opacity: 0;
  }


  @-webkit-keyframes in {
    from {left: 0px;
        opacity: 0;}
    to {left: 50px;}
  }
  @keyframes in {
    from {left: 0px;
        opacity: 0;}
    to {left: 50px;}
  }

  @-moz-keyframes in {
    from {left: 0px;
        opacity: 0;}
    to {left: 50px;}
}
@-moz-keyframes in {
    from {left: 0px;
        opacity: 0;}
    to {left: 50px;}
}
/***/
  @-webkit-keyframes out {
     0%{left: 50px;
        opacity: 0.7;
        }
    50% {left: 0px;
        opacity: 0;
        }
  }
  @keyframes out {
    0%{left: 50px;
        opacity: 0.9;
        }
    50% {left: 0px;
          opacity: 0;
    }
  }
  @-moz-keyframes out {
    0%{left: 50px;
        opacity: 0.9;
        }
    50% {left: 0px;
          opacity: 0;
    }
}


/**************/

@media(max-width: 500px) {
    
    .nube{
        display: none;
        visibility: hidden;
    }

    .contentwhatsapp:hover .nube {
        display: flex;
        opacity: 0;
        /* "both" tells the browser to use the above opacity
        at the end of the animation (best practice) */
        -webkit-animation:;
        animation: ;
        
      }
      /*logo*/
        .whatsapp {
            width: 70px;
            height: 70px;
            order: 1;
            padding: 5px;
            box-sizing: border-box;
            border-radius: 50%;
            cursor: pointer;
            overflow: hidden;
            box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 6px;
            transition: all 0.5s ease 0s;
            position: fixed;
            left: 1rem;
            bottom: 9.4rem;
            z-index: 1000;
            display: block;
            border: 0px;
            background: rgb(77, 194, 71) !important;
        }

}
