/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    /*border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #045E58;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    top: -25%;
    left: 120%;
    opacity: 0.85;
}

.tooltip .tooltipknihovna {
    visibility: hidden;
    width: 220px;
    background-color: #045E58;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0%;
    opacity: 0.85;
}


.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 30%; /* At the bottom of the tooltip */
    right: 100%;
    margin-left: 35px;
    border-width: 5px;

    border-style: solid;
    border-color: transparent #045E58 transparent transparent;
}


/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext, .tooltip:hover .tooltipknihovna {
    visibility: visible;
}