/* Hint */
.hint {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  position: absolute;
  z-index: 1;
  font-size: 12px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
}
.hint:hover {
  z-index: 2;
}
.hint__dot {
  border-width: 10px;
  border-style: solid;
  background: transparent;
  border-radius: 50%;
  height: 28px;
  width: 28px;
  -webkit-animation: pulse 1s ease-out;
  -moz-animation: pulse 1s ease-out;
  animation: pulse 1s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0;
}
.tool {
  height: auto;
  width: auto;
  position: absolute;
  right: 38px;
  padding: 10px 12px;
  color: #000;
  border-bottom: 0;
  opacity: 1;
  z-index: 0;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  line-height: 1em;
  text-transform: uppercase;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  cursor: pointer;
  white-space: nowrap;
  -webkit-transition:  background 300ms ease-out 0s;
  -moz-transition:  background 300ms ease-out 0s;
  -ms-transition:  background 300ms ease-out 0s;
  -o-transition:  background 300ms ease-out 0s;
  transition:  background 300ms ease-out 0s;
}
@media (max-width: 991px) {
  .tool {
    padding: 6px 8px;
  }
}
.tool:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: -10px;
  height: 32px;
  width: 10px;
  background: transparent;
}
.tool .tip {
  content: '';
  height: 8px;
  width: 8px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  position: absolute;
  top: 50%;
  right: -4px;
  margin-top: -4px;
  z-index: 1;
  box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.1);
  -webkit-transition:  background 300ms ease-out 0s;
  -moz-transition:  background 300ms ease-out 0s;
  -ms-transition:  background 300ms ease-out 0s;
  -o-transition:  background 300ms ease-out 0s;
  transition:  background 300ms ease-out 0s;
}
.hint:hover .tool .tip {
  background: #48217A;
}
.tool--right {
  left: 38px;
  right: auto;
}
.tool--right:before {
  left: -10px;
  right: auto;
}
.tool--right .tip {
  left: -4px;
  right: auto;
  box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.1);
}
.hover-tool {
  visibility: hidden;
  opacity: 0;
  -webkit-transition:  all 300ms ease-out 0s;
  -moz-transition:  all 300ms ease-out 0s;
  -ms-transition:  all 300ms ease-out 0s;
  -o-transition:  all 300ms ease-out 0s;
  transition:  all 300ms ease-out 0s;
  cursor: auto;
  height: auto;
  width: 425px;
  position: absolute;
  left: 50px;
  top: 48px;
  padding: 16px 20px;
  border-bottom: 0;
  z-index: 0;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  line-height: 1.4em;
  text-transform: none;
  text-align: left;
  white-space: normal;
}
.hint:hover .hover-tool {
  left: 0;
  visibility: visible;
  opacity: 1;
}
@media (max-width: 991px) {
  .hover-tool {
    width: 250px;
    top: 38px;
  }
}
.tool--right .hover-tool {
  left: auto;
  right: 50px;
}
.hint:hover .tool--right .hover-tool {
  left: auto;
  right: 0;
}
.hover-tool:before {
  content: '';
  display: block;
  position: absolute;
  top: -18px;
  left: 0;
  height: 18px;
  width: 100%;
  background: transparent;
}
.hover-tool .btn {
  float: right;
  margin-left: 35px;
}
@media (max-width: 991px) {
  .hover-tool .btn {
    float: none;
    margin-left: 0;
    margin-bottom: 15px;
    position: absolute;
    left: 20px;
    bottom: 0;
  }
}
.hover-tool__tip {
  content: '';
  height: 8px;
  width: 8px;
  -webkit-transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  position: absolute;
  top: -4px;
  left: 35px;
  z-index: 1;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}
.tool--right .hover-tool__tip {
  left: auto;
  right: 35px;
}
@-moz-keyframes pulse {
  0% {
    -moz-transform: scale(1);
    opacity: 0.0;
  }
  25% {
    -moz-transform: scale(1);
    opacity: 0.1;
  }
  50% {
    -moz-transform: scale(1.1);
    opacity: 0.3;
  }
  75% {
    -moz-transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    -moz-transform: scale(1.8);
    opacity: 0.0;
  }
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    opacity: 0.0;
  }
  25% {
    -webkit-transform: scale(1);
    opacity: 0.1;
  }
  50% {
    -webkit-transform: scale(1.1);
    opacity: 0.3;
  }
  75% {
    -webkit-transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    -webkit-transform: scale(1.8);
    opacity: 0.0;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.0;
  }
  25% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  75% {
    transform: scale(1.5);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.8);
    opacity: 0.0;
  }
}

/* Hint Color */
.hint {
    background: #333745 none repeat scroll 0 0;
    color: #fff;
}
.hint__dot {
    border-color: #333745;
}
.tool {
    background: #fff none repeat scroll 0 0;
    color: #000;
}
.hint:hover .tool {
    background: #333745 none repeat scroll 0 0;
    color: #fff;
}
.tool .tip {
    background: #fff none repeat scroll 0 0;
}
.hint:hover .tool .tip {
    background: #333745 none repeat scroll 0 0;
}
.tool--right {
    left: 38px;
    right: auto;
}
.tool--right::before {
    left: -10px;
    right: auto;
}
.tool--right .tip {
    box-shadow: 2px -2px 2px rgba(0, 0, 0, 0.1);
    left: -4px;
    right: auto;
}
.hover-tool {
    background: #fff none repeat scroll 0 0;
    color: #000;
}
.hover-tool__tip {
    background: #fff none repeat scroll 0 0;
}
