.hint,
[data-hint] {
    position: relative;
    display: inline-block;
}

.hint:before,
.hint:after,
[data-hint]:before,
[data-hint]:after {
    position: absolute;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: hidden;
    opacity: 0;
    z-index: 1000000;
    pointer-events: none;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    transition: 0.3s ease;
}

.hint:hover:before,
.hint:hover:after,
.hint:focus:before,
.hint:focus:after,
[data-hint]:hover:before,
[data-hint]:hover:after,
[data-hint]:focus:before,
[data-hint]:focus:after {
    visibility: visible;
    opacity: 1;
}

.hint:before,
[data-hint]:before {
    content: '';
    position: absolute;
    background: transparent;
    border: 6px solid transparent;
    z-index: 1000001;
}

.hint:after,
[data-hint]:after {
    content: attr(data-hint);
    background: #383838;
    color: white;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    text-shadow: 0 -1px 0px black;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: normal;
    line-height: 12px;
    white-space: nowrap;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.hint--top:before {
    border-top-color: #383838;
    margin-bottom: -10px;
}

.hint--top:after {
    margin-left: -18px;
}

.hint--top:before,
.hint--top:after {
    bottom: 100%;
    left: 50%;
}

.hint--top:hover:after,
.hint--top:hover:before,
.hint--top:focus:after,
.hint--top:focus:before {
    -webkit-transform: translateY(-8px);
    -moz-transform: translateY(-8px);
    transform: translateY(-8px);
}

.hint--bottom:before {
    border-bottom-color: #383838;
    margin-top: -10px;
}

.hint--bottom:after {
    margin-left: -18px;
}

.hint--bottom:before,
.hint--bottom:after {
    top: 100%;
    left: 50%;
}

.hint--bottom:hover:after,
.hint--bottom:hover:before,
.hint--bottom:focus:after,
.hint--bottom:focus:before {
    -webkit-transform: translateY(8px);
    -moz-transform: translateY(8px);
    transform: translateY(8px);
}

.hint--right:before {
    border-right-color: #383838;
    margin-left: -12px;
    margin-bottom: -6px;
}

.hint--right:after {
    margin-bottom: -14px;
}

.hint--right:before,
.hint--right:after {
    left: 100%;
    bottom: 50%;
}

.hint--right:hover:after,
.hint--right:hover:before,
.hint--right:focus:after,
.hint--right:focus:before {
    -webkit-transform: translateX(8px);
    -moz-transform: translateX(8px);
    transform: translateX(8px);
}

.hint--left:before {
    border-left-color: #383838;
    margin-right: -12px;
    margin-bottom: -6px;
}

.hint--left:after {
    margin-bottom: -14px;
}

.hint--left:before,
.hint--left:after {
    right: 100%;
    bottom: 50%;
}

.hint--left:hover:after,
.hint--left:hover:before,
.hint--left:focus:after,
.hint--left:focus:before {
    -webkit-transform: translateX(-8px);
    -moz-transform: translateX(-8px);
    transform: translateX(-8px);
}
.hint--ForuRss:after {
 background: #f96801;
 padding: 3px 5px;
 line-height: 16px;
 font-size: 11px;
 font-family:"Droid Arabic Kufi";
 font-weight:lighter;
}
.hint--ForuRss.hint--top:before {
 border-top-color: #f96801;
}
.hint--ForuPost:after {
 background: #0887a2;
 padding: 3px 5px;
 line-height: 16px;
 font-size: 11px;
 font-family:"Droid Arabic Kufi";
 font-weight:lighter;
}
.hint--ForuPost.hint--top:before {
 border-top-color: #0887a2;
}
.hint--ForuThrd:after {
 background: #c860ca;
 padding: 3px 5px;
 line-height: 16px;
 font-size: 11px;
 font-family:"Droid Arabic Kufi";
 font-weight:lighter;
}
.hint--ForuThrd.hint--top:before {
 border-top-color: #c860ca;
}
