﻿@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
        visibility: visible;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

.info-popup {
    position: relative;
    cursor: pointer;
    display: block;
    width: fit-content;
    padding: 4px;
    margin-left: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.info-popup .info-popup-text {
    visibility: hidden;
    width: 0px;
    height: 0px;
    background-color: rgba(51, 136, 204, 0.8);
    color: #ffff;
    text-shadow: 0px 1px 0px #111;
    font-weight: normal;
    z-index: 10000;
    font-size: 1em;
    font-family: sans-serif;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: fixed;
    top: 0%;
    left: 0%;
}

.info-popup .show {
    visibility: visible;
    animation-name: fade-in;
    animation-duration: 0.4s;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}

.info-popup .hide {
    visibility: hidden;
    animation-name: fade-out;
    animation-duration: 0.1s;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
}
