.qtip {
    background: #FCFCD4;
    color: #333;
    font-size: 1em;
    line-height: 1.4;
    position: relative;
}

.hasTooltip {
    display: inline;
    margin: 0;
    padding: 0 0.2em;
    background: inherit;
}

.hasTooltip:hover {
    cursor: pointer;
}

.hasTooltip+span {
    margin: 0;
    padding: 0;
}

.hasTooltip.show+span {
    display: block !important;
    position: absolute;
    background: inherit;
    padding: 10px;
    z-index: 99;
    line-height: 1.2;
    -webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .25);
}

@media screen and (max-width:768px) {
    .hasTooltip.show+span {
        max-width: 250px;
        left: -50%;
    }
}

@media screen and (min-width:768px) {
    .hasTooltip.show+span {
        top: -50%;
        left: 100%;
        min-width: 250px;
    }
}

@media screen and (min-width:992px) {
    .hasTooltip.show+span {
        left: 100%;
    }
}

.hasTooltip.show+span strong {
    text-indent: 0;
    color: #000;
    font-size: 14px;
    display: block;
    text-transform: uppercase;
}

.hasTooltip.show+span a {
    text-decoration: underline;
    display: inline;
}
