﻿/* tip_popup container */
.tip_popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    /* The actual tip_popup (appears on top) */
    .tip_popup .tip_popuptext {
        visibility: hidden;
        width: 320px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px 0;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -158px;
    }

        /* tip_popup arrow */
        .tip_popup .tip_popuptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    /* Toggle this class when clicking on the tip_popup container (hide and show the tip_popup) */
    .tip_popup .show {
        visibility: visible;
        -webkit-animation: fadeIn 1s;
        animation: fadeIn 1s;
        padding-left: 2px;
        padding-right: 2px;
        font-weight: normal;
        font-family: system-ui;
    }

/* Add animation (fade in the tip_popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.infoBubble {
    font-weight: bold;
    cursor: pointer;
    color: white;
    background-color: #37c309;
    border-radius: 7px;
    padding: 5px;
    width: 24px;
    text-align: center;
}
    .infoBubble:hover {
        background-color: #a0e5a0;
    }