body {
    margin: 0;
    background-color: white;
}

.root-container {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
}

.toolbar {
    grid-column: 2;
    grid-row: 1;
    margin: 1px;
    display: grid;
    grid-auto-flow: column;
}

.content-container {
    display: grid;
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
}

.image-viewer-container {
    display: block;
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    box-sizing: border-box;
    padding: 10px;
    border: black 1px solid;
}

.fullscreen .experience-viewer-button {
    display: none;
}

.experience-viewer-button {
    margin: 0px;
    margin-right: 3px;
    margin-bottom: 3px;
    padding: 2px 6px;
    background-color: #F4F4F4;
    border: solid 1px #CFCFCF;
    border-radius: 1px;
    box-sizing: border-box;
    font-size: 0.9em;
    transition-duration: 0.3s;
    height: 28px;
    z-index: 1;
}

.experience-viewer-button:hover {
    background-color: #abe7fb;
    border-color: #00A6D8;
    color: white;
}

.fullscreen-button img {
    height: 100%;
}

/*
Fixes the issue where viewer gets fixed width and height when entering full page.
*/
.image-viewer.fullpage {
    width: 100% !important;
    height: 100% !important;
}

.image-viewer.safari-fullpage {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    background: black;
}

/*
Fixes the black border that OpenSeadragon draws itself from time to time.
Reference: https://github.com/openseadragon/openseadragon/issues/893
*/
.openseadragon-container :focus {
    outline: none;
}
