/**
* jQuery asTooltip v0.4.3
* https://github.com/amazingSurge/jquery-asTooltip
*
* Copyright (c) amazingSurge
* Released under the LGPL-3.0 license
*/
.asTooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 9999;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.asTooltip-content {
  display: block;
}
.asTooltip-inner {
  position: relative;
}
.asTooltip-loading, .asTooltip-close {
  display: none;
}
.asTooltip-loading {
  position: relative;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  text-align: center;
  -webkit-animation: chasingDotsRotate 2.0s infinite linear;
          animation: chasingDotsRotate 2.0s infinite linear;
}
.asTooltip-loading:before, .asTooltip-loading:after {
  position: absolute;
  top: 0;
  display: inline-block;
  width: 60%;
  height: 60%;
  content: "";
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: chasingDotsBounce 2.0s infinite ease-in-out;
          animation: chasingDotsBounce 2.0s infinite ease-in-out;
}
.asTooltip-loading:before {
  top: auto;
  bottom: 0;
  -webkit-animation-delay: -1.0s;
          animation-delay: -1.0s;
}

@-webkit-keyframes chasingDotsRotate {
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes chasingDotsRotate {
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes chasingDotsBounce {
  0%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes chasingDotsBounce {
  0%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0);
  }
  50% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

.asTooltip_isLoading .asTooltip-loading {
  display: block;
}

.asTooltip_isLoading .asTooltip-content {
  display: none;
}

.asTooltip_hasClose .asTooltip-close {
  display: block;
}

/* skin */
.asTooltip .asTooltip-inner {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; 
  padding: .2em .6em;
  font-size: 1.1em;
  line-height: 1.5em;
  color: #fff;
  background-color: #00A0DD;
  border-radius: 3px;
}
.asTooltip .asTooltip-inner:before {
  position: absolute;
  -webkit-box-sizing: border-box;
          box-sizing: border-box; 
  display: block;
  width: 0;
  height: 0;
  content: "";
  border-color: transparent;
  border-style: solid;
  border-width: 6px;
}

.asTooltip .asTooltip-loading:before, .asTooltip .asTooltip-loading:after {
  background-color: white;
}

.asTooltip.asTooltip-element-top .asTooltip-inner {
  margin-bottom: 6px;
}
.asTooltip.asTooltip-element-top .asTooltip-inner:before {
  top: 100%;
  border-top-color: #00A0DD;
}

.asTooltip.asTooltip-element-left .asTooltip-inner {
  margin-right: 6px;
}
.asTooltip.asTooltip-element-left .asTooltip-inner:before {
  left: 100%;
  border-left-color: #00A0DD;
}

.asTooltip.asTooltip-element-right .asTooltip-inner {
  margin-left: 6px;
}
.asTooltip.asTooltip-element-right .asTooltip-inner:before {
  right: 100%;
  border-right-color: #00A0DD;
}

.asTooltip.asTooltip-element-bottom .asTooltip-inner {
  margin-top: 6px;
}
.asTooltip.asTooltip-element-bottom .asTooltip-inner:before {
  bottom: 100%;
  border-bottom-color: #00A0DD;
}

.asTooltip.asTooltip-element-left.asTooltip-arrow-middle .asTooltip-inner:before, .asTooltip.asTooltip-element-right.asTooltip-arrow-middle .asTooltip-inner:before {
  top: 50%;
  margin-top: -6px;
}

.asTooltip.asTooltip-element-top.asTooltip-arrow-middle .asTooltip-inner:before, .asTooltip.asTooltip-element-bottom.asTooltip-arrow-middle .asTooltip-inner:before {
  left: 50%;
  margin-left: -6px;
}

.asTooltip.asTooltip-arrow-left .asTooltip-inner:before {
  left: 6px;
}

.asTooltip.asTooltip-arrow-right .asTooltip-inner:before {
  right: 6px;
}

.asTooltip.asTooltip-arrow-top .asTooltip-inner:before {
  top: 6px;
}

.asTooltip.asTooltip-arrow-bottom .asTooltip-inner:before {
  bottom: 6px;
}
