.hq-viewer-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hq-viewer {
    position: relative;
    width: 100%;
    height: 100%; /* set 100% if no description is used */
    bottom: 0;
}

.toolbar {
    position: absolute !important;
    padding: 0 0 2rem 0;
    z-index: 999;
    box-sizing: border-box;
    bottom: 0;
    right: 0;
    display: flex;
}

.hq-viewer-wrapper .toolbar .icon {
    width: 40px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
    pointer-events: all;
    padding: 0 3vw 0 0;
}

.hq-viewer-wrapper .toolbar .icon:hover {
    transform: scale(1.1);
}

.hq-viewer-wrapper .toolbar .icon:active {
    transform: scale(0.9);
}

.highlight {
    outline: 5px auto #0A7EbE;
}

.hq-viewer-tooltip {
    display: none;
    width: auto;
    max-width: 30%;
    font-size: 14px;
    opacity: 0.8;
    color: #000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 0.4rem;
    box-sizing: border-box;
    border-radius: 5px;
}

.hq-viewer-description {
    position: relative;
    padding: 1.5rem .5rem .5rem 1.5rem;
    top: 0;
    width: 80%;
    height: auto;
    max-height: 20%;
    box-sizing: border-box;
}

.popup .hq-viewer-description p {
    margin: 0
}

@media (max-width: 800px) {
    .popup .hq-viewer-description p {
        font-size: 20px;
    }
}

@media (max-width: 680px) {
    .popup .hq-viewer-description p {
        font-size: 16px;
    }
}

@media (orientation: landscape) and (max-width: 1000px) {
    /*.hq-viewer {
        height: 70%;
    }*/

    .hq-viewer-description {
        width: 90%;
        max-height: 30%;
    }

    .popup .hq-viewer-description p {
        font-size: 16px;
    }
}