.tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    font-family: sans-serif;
    font-size: 10pt;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
    pointer-events:none;
}
.tooltip-measure {
    opacity: 1;
    font-weight: bold;
}
.tooltip-static {
    background-color: #ffcc33;
    color: black;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 10pt;
    border: 1px solid white;
}
.tooltip-measure:before,
.tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}
.tooltip-static:before {
    border-top-color: #ffcc33;
}

.numericScale {
    position: absolute;
    bottom: 40px;
    left: 10px;
    font-family: sans-serif;
    font-size: 10pt;
    font-weight: bold;
    padding: 3px;
    color: white;
    border-radius:4px;
    background-color: rgba(0,60,136,0.3);
}

/* Malé menu pro poznámkovou vrstvu */

.redlineMenu {
    background-color: rgba(255,255,255,0.5);
    display: flex;
    flex-direction: column;
    z-index: 99;
    padding: 5px;
    border-radius: 4px;
}

.redlineMenu > .buttonText {
    width: 30px;
    height: 25px;
    background: white url('images/addtext2.png') no-repeat center;
    margin-bottom: 5px;
    border-width: thin;
    border-radius: 4px;
}

.redlineMenu > .buttonDelete {
    width: 30px;
    height: 25px;
    background: white url('images/trash.gif') no-repeat center;
    margin-bottom: 5px;
    border-width: thin;
    border-radius: 4px;
}

.redlineMenu > input {
    width: 25px;
    height: 25px;
    background-color: white;
    margin-bottom: 5px;
    border-width: thin;
    border-radius: 4px;
}

.imageOverlay {
    background: white;
    border: solid black thin;
    padding: 5px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}

.imageOverlay img {
    width: 100px;
    height: auto;
}

.imageOverlay .arrow1 {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: none;
    border-bottom: 15px solid black;
    width: 0; height: 0;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.imageOverlay .arrow2 {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: none;
    border-bottom: 15px solid white;
    width: 0; height: 0;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.imageOverlay .close {
    position: absolute;
    right: 5px;
    top: 5px;
    color: black;
    font-size: 22px;
    font-weight: bold;
    border: black thin;
    background: white;
    margin: -4px;
}