/*!
 * Tooltip v0.0.1
 * https://github.com/fengyuanchen/tooltip
 *
 * Copyright (c) 2015 Fengyuan Chen
 * Released under the MIT license
 *
 * Date: 2015-06-10T10:06:26.652Z
 */

.tooltip-dialog {
  position: absolute;
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  background-color: #111;
  filter: alpha(opacity=0);
  border-radius: 2px;
  box-shadow: 0 0 1px #eee;
  opacity: 0;
  -webkit-transition: opacity .15s linear;
          transition: opacity .15s linear;
}

@media (min-width: 768px) {
  .tooltip-dialog {
    max-width: 320px;
  }
}

@media (min-width: 992px) {
  .tooltip-dialog {
    max-width: 480px;
  }
}

@media (min-width: 1200px) {
  .tooltip-dialog {
    max-width: 640px;
  }
}

.tooltip-fixed {
  position: fixed;
}

.tooltip-relative {
  position: relative;
}

.tooltip-active {
  filter: alpha(opacity=90);
  opacity: .9;
}

.tooltip-dialog a {
  font-weight: bold;
  color: inherit;
}

.tooltip-dismissible {
  padding-right: 30px;
}

.tooltip-dismiss {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  padding: 0;
  font-size: 18px;
  font-weight: normal;
  line-height: 20px;
  color: inherit;
  text-align: center;
  text-shadow: 0 0 1px #fff;
  cursor: pointer;
  background: 0 0;
  filter: alpha(opacity=80);
  border: 0;
  opacity: .8;
}

.tooltip-dismiss:hover,
.tooltip-dismiss:focus {
  text-decoration: none;
  cursor: pointer;
  filter: alpha(opacity=100);
  opacity: 1;
}

.tooltip-dismiss > span {
  position: relative;
  top: -1px;
}

.tooltip-countdown {
  font-size: 85%;
}

.tooltip-top {
  top: 0;
}

.tooltip-middle {
  top: 50%;
  margin-top: -50%;
}

.tooltip-bottom {
  bottom: 0;
}

.tooltip-left {
  left: 0;
}

.tooltip-center {
  left: 50%;
  margin-left: -50%;
}

.tooltip-right {
  right: 0;
}

.tooltip-default {
  background-color: #111;
}

.tooltip-primary {
  background-color: #0074d9;
}

.tooltip-success {
  background-color: #2ecc40;
}

.tooltip-info {
  background-color: #39cccc;
}

.tooltip-warning {
  background-color: #ff851b;
}

.tooltip-danger {
  background-color: #ff4136;
}
