﻿/*
 * GetTip CSS v1.0
 *
 * Author: Genett Design
 * Email: genettdesign@gmail.com
 *
 * Copyright (c) 2014 Genett Design
 * Free to use under the MIT license.
 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    max-width: 200px;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 3px;
    color: #fff;
}
.tooltip:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 5px dashed rgba(0, 0, 0, 0.5);
}
.tooltip.tooltip-left:after {
    right: -5px;
    border-left-style: solid;
    border-right: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
    top: 50%;
    margin-top: -5px;
}
.tooltip.tooltip-top:after {
    bottom: -5px;
    border-top-style: solid;
    border-bottom: none;
    border-left-color: transparent;
    border-right-color: transparent;
    left: 50%;
    margin-left: -5px;
}
.tooltip.tooltip-right:after {
    left: -5px;
    border-right-style: solid;
    border-left: none;
    border-top-color: transparent;
    border-bottom-color: transparent;
    top: 50%;
    margin-top: -5px;
}
.tooltip.tooltip-bottom:after {
    top: -5px;
    border-bottom-style: solid;
    border-top: none;
    border-left-color: transparent;
    border-right-color: transparent;
    left: 50%;
    margin-left: -5px;
}