/* BEGIN Sticky header styles */

/* Style the header */
.sticky-header {
    width: 320px;
    right: 20px;
    padding: 4px 8px;
    background-color: rgba(24, 103, 222, 0.5);
    color: #f1f1f1;
    border-radius: 0 0 8px 8px;
    alignment: right;
    font-size: 12px;

    position: fixed;
    top: -39px;
    -webkit-transition: 0.5s; /* Safari */
    transition: 0.5s;
}

.test-document-view .sticky-header {
    background-color: rgb(24, 103, 222);
}

.sticky-expanded {
    top: 0;
}

i.collapsible-arrow-sticky {
    border: solid rgb(24, 103, 222);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    -webkit-transition: transform 0.5s, display 0.5s; /* Safari */
    transition: transform 0.5s, display 0.5s;
}

.test-document-view i.collapsible-arrow-sticky {
    border: solid black;
    border-width: 0 3px 3px 0;
}

/* END Sticky header styles */

/* BEGIN Collapsible section */

/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 2px 2px 4px 2px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: #ccc;
}

@keyframes showNav {
    from {opacity: 0;}
    to {opacity: 1;}
}

.collapsible-content {
    display: block;
    animation: showNav 1s;
}

/* Style the collapsible content. Note: hidden by default */

.collapsible-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
}

i.collapsible-arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    -webkit-transition: transform 0.5s, display 0.5s; /* Safari */
    transition: transform 0.5s, display 0.5s;
}

i.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

i.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

i.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

i.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

/* END Collapsible section */

/* Progress indicator animation */

#progress-animation {
    position: absolute;
    margin: auto;
    right: 0;
    top: -180px;
    transform: scale(0.3);
    opacity: 0.7;
    z-index: 1;
}

@keyframes slideIn {
    from {top: -180px;}
    to {top: 0;}
}

#progress-animation.visible {
    display: block;
    top: 0;
    animation: slideIn 0.33s;
    animation-timing-function: ease-in;
}

#progress-animation.hidden {
    display: none;
    top: -180px;
}