html,
body {
    height: 100%;
    padding: 0px;
    margin: 0px;
    overflow: hidden;
}

body .pma-ui-viewport-container {
    height: calc(100% - 64px);
    width: 100%;
}

button {
    border: 1px solid lightgrey !important;
}

.btn-group {
    padding: 0 5px;
}

.annotation-helper-icon i,
.annotation-helper-icon span {
    display: none;
}

.annotation-helper-icon.loading i {
    display: initial;
}

.annotation-helper-icon.loading span {
    display: none;
}

.annotation-helper-icon.saved i,
.annotation-helper-icon.saved span.badge.bg-danger {
    display: none;
}

.annotation-helper-icon.saved span.badge.bg-success {
    display: initial;
}

.annotation-helper-icon.error i,
.annotation-helper-icon.error span.badge.bg-success {
    display: none;
}

.annotation-helper-icon.error span.badge.bg-danger {
    display: block;
}

#viewer {
    border: 2px solid rgba(0, 60, 136, .5);
}

#annotation-tools {
    padding: 15px 5px;
}

#focus-button {
    width: 120px;
}