.help-tip{
    position: relative;
    margin-left: 7px;
    cursor: default;
    display: inline-block;
    font-size: 125%;
}
/*
.help-tip:before{
    font-size: 0.7em !important;
    content: '?';
    font-weight: bold;
    color: var(--detailsColor);
    position: relative;
    top: -4px;
}
*/
.help-tip:hover p{
    display: block;
    transform-origin: 100% 0%;
    -webkit-animation: fadeIn 0.2s ease-in-out;
    animation: fadeIn 0.2s ease-in-out;
    z-index: 2;
}

/* The tooltip */
.help-tip p{
    display: none;
    text-align: left;
    background-color: var(--dropdownMenuColor);
    padding: 1em 1.4em;
    width: 280px;
    position: absolute;
    border-radius: 3px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    right: -141px;
    color: var(--mainTextColor);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
}

/* The pointer of the tooltip */
.help-tip p:before{
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: var(--dropdownMenuColor);
    right: 143px; /* 3px difference from .help-tip p right */
    top: -12px;
}

/* Prevents the tooltip from being hidden */
.help-tip p:after{
    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%; }
}



/* Hover tool tip */

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 13em;
    background-color: var(--dropdownMenuColor);
    color: var(--mainTextColor);
    text-align: center;
    border-radius: 3px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    top: 150%;
    left: 50%;
    margin-left: -6.5em; /* Half of width for center position*/
    font-size: 13px;
}

.tooltip .tooltiptext-left {
    margin-left: -9em;
}

.tooltip .tooltiptext-left::after {
    left: 80%;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--dropdownMenuColor) transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    -webkit-animation: fadeIn 0.2s ease-in-out;
    animation: fadeIn 0.2s ease-in-out;
}