﻿.page {
    margin: 0 auto;
    text-align: center;
}

.pdfViewer .page {
    margin: 1px auto 8px auto !important;
}

button:focus {
    outline: 0;
}

.toolbarButton {
    padding: 0;
    margin: 0;
    border-width: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
    width: 100%;
}

    .toolbarButton:hover {
        opacity: .85;
    }

.toolbarButton-close:hover {
    opacity: .85;
}

.toolbarButton-close {
    padding: 0;
    margin: 0;
    border-width: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.toolbarButton-icon {
    font-size: 36px;
    color: #fff;
}

.pdfViewer .page .loadingIcon {
    width: 2.9rem;
    height: 2.9rem;
    border: medium none;
    animation: 1s steps(10, end) 0s normal none infinite moveDefault;
    display: block;
    position: absolute;
    top: calc((100% - 2.9rem) / 2);
    left: calc((100% - 2.9rem) / 2);
}

@keyframes moveDefault {
    from {
        background-position: 0 top;
    }

    to {
        background-position: -39rem top;
    }
}

.progress {
    position: absolute;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ddd;
    overflow: hidden;
    transition: width 200ms;
}

@keyframes progressIndeterminate {
    0% {
        left: 0;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}
