.js-lettering span.sentence:hover {
    background-color: #d2d2d2!important;
}

.js-lettering span[class^='word'] {
    position: relative;
    text-decoration: none;
}
.js-lettering span[class^='word']:hover {
    background-color: #4f8ab6!important;
    color: #fff!important;
    cursor: pointer;
}
/*.js-lettering span[data-tooltip]::after,
.js-lettering span.spinner::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 20%;
    background: #2a5477;
    padding: 5px 15px;
    color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius   : 10px;
    border-radius        : 10px;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
    display: none;
    z-index: 100;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    max-width: 400px;
    white-space: normal;
    min-width: 300px;
  }
.js-lettering span[data-tooltip]::before,
.js-lettering span.spinner::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 20px solid #2a5477;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
    opacity: 0;
    left: 30%;
    bottom: 90%;
    display: none;
    z-index: 100;
}
.js-lettering span.spinner::before,
.js-lettering span.spinner::after {
  display: inline-block;
  opacity: 1;
}
.js-lettering span.spinner::after {
    content: "";
    height: 30px;
    overflow: hidden;
    background: #2a5477 url(../img/spinner.svg) no-repeat center center;
    background-size: contain;
    width: 60px;
}
.js-lettering span[data-tooltip]:hover:after {
    bottom: 100%;
  }
.js-lettering span[data-tooltip]:hover:before {
    bottom: 70%;
  }
.js-lettering span[data-tooltip]:hover:after, .js-lettering span[data-tooltip]:hover:before {
    opacity: 1;
    display: inline-block;
  }*/




.js-chat-lettering span.sentence:hover {
    background-color: #d2d2d2!important;
}

.js-chat-lettering span[class^='word'] {
    position: relative;
    text-decoration: none;
}
.js-chat-lettering span[class^='word']:hover {
    background-color: #4f8ab6!important;
    color: #fff!important;
    cursor: pointer;
}

/*.js-chat-lettering span[data-tooltip]::after,
.js-chat-lettering span.spinner::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 20%;
    background: #2a5477;
    padding: 5px 15px;
    color: white;
    -webkit-border-radius: 10px;
    -moz-border-radius   : 10px;
    border-radius        : 10px;
    white-space: nowrap;
    opacity: 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
    display: none;
    z-index: 100;
    font-size: 18px;
    font-weight: normal;
    font-family: 'Open Sans', sans-serif;
    max-width: 400px;
    white-space: normal;
    min-width: 300px;
  }
.js-chat-lettering span[data-tooltip]::before,
.js-chat-lettering span.spinner::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 20px solid #2a5477;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    -webkit-transition: all 0.4s ease;
    -moz-transition   : all 0.4s ease;
    opacity: 0;
    left: 30%;
    bottom: 90%;
    display: none;
    z-index: 100;
}
.js-chat-lettering span.spinner::before,
.js-chat-lettering span.spinner::after {
  display: inline-block;
  opacity: 1;
}
.js-chat-lettering span.spinner::after {
    content: "";
    height: 30px;
    overflow: hidden;
    background: #2a5477 url(../img/spinner.svg) no-repeat center center;
    background-size: contain;
    width: 60px;
}
.js-chat-lettering span[data-tooltip]:hover:after {
    bottom: 100%;
  }
.js-chat-lettering span[data-tooltip]:hover:before {
    bottom: 70%;
  }
.js-chat-lettering span[data-tooltip]:hover:after, .js-chat-lettering span[data-tooltip]:hover:before {
    opacity: 1;
    display: inline-block;
  }*/