@charset "utf-8";

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

.tooltip .tooltiptext {
    visibility: hidden;
    min-width: 120px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

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

.tooltip-pricehistory .tooltiptext-pricehistory {
    visibility: hidden;
    min-width: 120px;
    max-width:200px;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
}

.tooltip-pricehistory:hover .tooltiptext-pricehistory {
    visibility: visible;
}

@media (max-width: 1350px) {

    /* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

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

    .tooltip .tooltiptext {
        font-size: 0.8rem;
        visibility: hidden;
        background-color: #ff600f;
        color: #fff;
        text-align: center;
        padding: 5px 10px;
        border-radius: 0.2rem;
        position: absolute;
        z-index: 1;
        top: -4px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
        white-space: nowrap;
        -webkit-box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.19);
        -moz-box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.19);
        box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.19);
    }

    .tooltip .menu-text-message-error + .tooltiptext {
        background-color: #b80000;
    }

    .tooltip .menu-text-message-update + .tooltiptext {
        background-color: #4a9d00;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

}

@media (max-width: 575.98px) {
    .tooltip .tooltiptext {
        right: 0;
        left: auto;
        transform: initial;
    }
}

.custom-tooltip {
    display: none;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stornoLink:hover .custom-tooltip,
.opentooltip:hover .custom-tooltip {
    display: block;
    opacity: 1;
}

.tooltip {
    z-index: 9999!important;
}

.menu_small .tooltip{
    opacity: 1;
}