﻿.on720-tooltip-container {
    position: relative;
    display: inline-block;
}

/* The icon or text that triggers the tooltip */
.on720-tooltip-trigger {
    display: inline-block;
    cursor: pointer;
    vertical-align: text-top;
}

@media only screen and (max-width: 480px) {
    /* The icon or text that triggers the tooltip */
    .on720-tooltip-trigger {
        display: none;
    }
}

/* The tooltip itself */
.on720-tooltip-text {
    display: none;
    position: absolute;
    top: 125%;
    left: 58%;
    margin-left: -125px;
    background-color: var(--theme);
    color: var(--white);
    padding: 0.6rem 3rem 0.6rem 0.6rem;
    border-radius: 8px;
    z-index: 10;
    width: 250px;
    box-sizing: border-box;
}

    /* Arrow */
    .on720-tooltip-text::after {
        content: " ";
        position: absolute;
        bottom: 100%; /* At the top of the tooltip */
        left: 50%;
        margin-left: -7.5px;
        border-width: 7.5px;
        border-style: solid;
        border-color: transparent transparent var(--theme) transparent;
    }

.on720-tooltip-close {
    position: absolute;
    top: 10px;
    right: 8px;
    height: 25px;
    width: 25px;
    cursor: pointer;
    z-index: 11;
}

/* Show tooltip */
.on720-tooltip-container.show-tooltip .on720-tooltip-text {
    display: block;
}

.bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px; /* adjust height to control how tall the fade is */
    background: linear-gradient(to bottom, rgba(242, 246, 252, 0) 0%, rgba(242, 246, 252, 0.6) 100%);
    pointer-events: none; /* allows interaction with content underneath */
}