span.tooltips {
    position: relative;
    display: inline;
}

span.tooltips:hover {
    cursor: pointer;
}

span.tooltips span {
    position: absolute;
    width: 250px;
    color: #FFFFFF;
    background: #000000;
    height: auto;
    line-height: 25px;
    text-align: center;
    visibility: hidden;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}

@media screen and (min-width: 768px) {
    span.tooltips span {
        right: 0;
    }
}

span:hover.tooltips span {
    visibility: visible;
    opacity: 0.8;
    bottom: 30px;
    left: 50%;
    margin-left: -150px;
    z-index: 999;
}

@media screen and (min-width: 768px) {
    span:hover.tooltips span {
        left: 50%;
        margin-left: -150px;
    }
}

span.tooltips-right {
    position: relative;
    display: inline;
}

span.tooltips-right:hover {
    cursor: pointer;
}

span.tooltips-right span {
    position: absolute;
    width: 400px;
    color: #FFFFFF;
    background: #000000;
    height: auto;
    line-height: 25px;
    text-align: left;
    visibility: hidden;
    border-radius: 6px;
    font-family: Arial, sans-serif;
}

span:hover.tooltips-right span {
    visibility: visible;
    opacity: 0.8;
    padding: 10px 10px 10px 10px;
    /*bottom: 30px;
    left: 50%;
    margin-left: -150px;*/
    z-index: 999;
}
