﻿.help-tip {
    top: 18px;
    right: 18px;
    text-align: center;
    background-color: #BCDBEA;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    line-height: 26px;
    cursor: default;
    float: right;
}

.help-tip:before {
    content: '?';
    font-weight: bold;
    color: #fff;
}

.help-tip:hover p {
    display: block;
    transform-origin: 100% 0%;
    -webkit-animation: fadeIn 0.3s ease-in-out;
    animation: fadeIn 0.3s ease-in-out;
}

.help-tip p { /* The tooltip */
    display: none;
    text-align: left;
    background-color: #1E2021;
    padding: 10px;
    width: 350px;
    position: relative;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -30px;
    color: #FFF;
    font-size: 10px;
    line-height: 1.4;
    top: -25px;
}

    .help-tip p:before { /* The pointer of the tooltip */
        position: absolute;
        content: '';
        width: 0;
        height: 0px;
        border: 6px solid transparent;
        border-bottom-color: #1E2021;
        right: 23px;
        top: 0px;
        left: -5px;
    }

    .help-tip p:after { /* Prevents the tooltip from being hidden */
        width: 100%;
        height: 40px;
        content: '';
        position: absolute;
        top: -40px;
        left: 0;
    }

/* CSS animation */

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.6);
    }

    100% {
        opacity: 100%;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 100%;
    }
}

@media only screen and (min-width: 375px) and (max-width: 667px) 
{

    .help-tip p { /* The tooltip */
        right: 184px;
        top: 6px;
    }

        .help-tip p:before { /* The pointer of the tooltip */
            top: -11px;
            left: 190px;
        }

}
@media only screen and (min-width: 414px) and (max-width: 736px) 
{

    .help-tip p { /* The tooltip */
        right: 184px;
        top: 6px;
    }

        .help-tip p:before { /* The pointer of the tooltip */
            top: -11px;
            left: 190px;
        }

}

