.tooltip {
    position: absolute;
    box-shadow: 0 2px 6px -1px rgba(0, 0, 0, .5);
}

.tooltip * {
    position: relative;
    box-sizing: border-box;
}

.tooltip .pointer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tooltip .pointer div {
    position: absolute;
    border: 5px solid transparent;
    width: 0;
    height: 0;
}

.tooltip .pointer .lefttop,
.tooltip .pointer .topleft {
    border-bottom-color: #888888;
    border-left-color: #888888;
    top: -10px;
    left: 0;
}

.tooltip .pointer .topmiddle {
    border-width: 10px;
    border-bottom-color: #888888;
    top: -20px;
    left: 50%;
}

.tooltip .pointer .topright,
.tooltip .pointer .righttop {
    border-bottom-color: #888888;
    border-right-color: #888888;
    top: -10px;
    right: 0;
}

.tooltip .pointer .rightmiddle {
    border-width: 10px;
    border-left-color: #888888;
    top: 50%;
    right: -20px;
}

.tooltip .pointer .rightbottom,
.tooltip .pointer .bottomright {
    border-top-color: #888888;
    border-right-color: #888888;
    bottom: -10px;
    right: 0;
}

.tooltip .pointer .bottommiddle {
    border-width: 10px;
    border-top-color: #888888;
    bottom: -20px;
    left: 50%;
}

.tooltip .pointer .bottomleft,
.tooltip .pointer .leftbottom {
    border-top-color: #888888;
    border-left-color: #888888;
    bottom: -10px;
    left: 0;
}

.tooltip .pointer .leftmiddle {
    border-width: 10px;
    border-right-color: #888888;
    top: 50%;
    left: -20px;
}

.tooltip .objectinfo {
    border: 1px solid #777777;
    background: #ffffff;
    width: 340px;
    font-size: 85%;
    opacity: 0.9;
}

.tooltip .objectinfo table {
    width: 100%;
    padding: 2px;
    background: #efefef;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

.tooltip .objectinfo table td.key {
    color: #444444;
}

.tooltip .objectinfo h4 {
    padding: 3px 5px;
}

.tooltip .objectinfo h3 img {
    float: left;
    margin-right: 5px;
    height: 100%;
    width: auto;

}

.tooltip .objectinfo h3 .cmdb-marker {
    float: right;
    height: 15px;
    width: 10px;
    margin: 5px;
}

.tooltip .objectinfo h3 {
    border-bottom: 1px solid #888888;
    background: #cccccc;
    margin: 0;
    height: 30px;
    line-height: 30px;
}

.tooltip.darkgrey {
    opacity: 0.8;
    width: 205px;
    font-size: 11px;
    color: #ffffff;
    background-color: #000000;
    border: 2px solid #000000;
    border-radius: 2px;
}

.tooltip.darkgrey .content {
    padding: 3px;
    color: #ffffff;
    line-height: 15px;
}