
/* Chat button */
#uwf-chat-button {
    background: #ffffff;
    color : #000000;
}


.btn-send {
    color: #000000!important
}

body {
    display: flex;
    width: auto;
    height: 100vh;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    padding-right: 5px;
}

#uwf-chat-button {
    width: auto;
    height: auto;
    background-color: #000000;
    color: #ffffff;
    font-size: 20px;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px #000000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    -moz-animation-name: buttonPop;
    -o-animation-name: buttonPop;
    -webkit-animation-name: buttonPop;
    animation-name: buttonPop;
    -moz-animation-duration: 0.3s;
    -o-animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -moz-animation-timing-function: ease;
    -o-animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
    padding: 0;
}

#uwf-chat-button::after {
    content: "";
    background: #000000;
    width: 15px;
    height: 11px;
    position: absolute;
    z-index: 1;
    bottom: 2px;
    right: 0px;
    transform: skew(45deg) rotate(115deg);
}

#uwf-chat-button .uwf-channel-chat {
    font-size: 12px;
    text-transform: uppercase;
    font-family: p22-underground, sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 8px 20px;
    transition: 4s linear;
    display: inline-block;
    overflow: hidden;
    position: relative;
    min-height: 40px;
    min-width: 50px;
    margin-top: 0;
}

#uwf-chat-button .uwf-channel-chat:hover {
    width: 235px;
    height: 33px;
}

.uwf-channel-chat:before {
    content: "\76";
    font-size: 28px;
    margin-right: -110%;
    transition: transform 0.5s ease;
    position: absolute;
    top: 7px;
    left: 10px;
}

.uwf-channel-chat:after {
    content: "Chat with a denim expert";
    font-size: 12px;
    line-height: 14px;
    font-weight: 750;
    letter-spacing: 1px;
    width: 195px;
    transform: translateX(100%);
    position: absolute;
    top: 13px;
    left: 0px;
    transition: transform 0.5s ease;
}

.icon.uwf-channel-chat:hover:after {
    font-size: 12px;
    transform: translateX(10%);
}

.uwf-channel-chat:hover:before {
    transition: visibility 0s, opacity 0.5s linear;
    visibility: hidden;
    opacity: 0;
}

@keyframes showHideContainer {
  100% {
      width: 50px;
      height: 33px;
  }
  95% {
      width: 225px;
      height: 33px;
  }
  0% {
      width: 225px;
      height: 33px;
  }
}

@keyframes showHideText {
  100% {
      font-size: 11px;
      transform: translateX(100%);
  }
  95% {
      font-size: 11px;
      transform: translateX(5%);
  }
  0% {
      font-size: 11px;
      transform: translateX(5%);
  }
}

@keyframes hideDots {
  100% {
      visibility: visible;
      opacity: 1;
  }
  95% {
      visibility: hidden;
      opacity: 0;
  }
  0% {
      visibility: hidden;
      opacity: 0;
  }
}
 
@media only screen and (max-width: 768px) {
  .uwf-channel-chat {
    animation: showHideContainer 5s linear;
  }
 
  .uwf-channel-chat:after {
    animation: showHideText 5s linear;
  }
 
  .uwf-channel-chat:before {
    animation: hideDots 5s linear;
  }
}