
/* Rotation Animation */

@-webkit-keyframes spinning {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spinning {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@-webkit-keyframes spinning-reverse {
    0% { -webkit-transform: rotate(360deg); }
    100% { -webkit-transform: rotate(0deg); }
}
@keyframes spinning-reverse {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

/* Display */

.spinner {
    border: 16px solid var(--upenn-tan);
    border-radius: 50%;
    border-top: 16px solid var(--upenn-blue);
    width: 120px;
    height: 120px;
    z-index: 1000;
    margin: auto;
    background-color: rgba(0,0,0,0);
    box-shadow: 0px 0px 21px 4px rgba(0,0,0,0.2);
    -webkit-animation: spinning 2s linear infinite; /* Safari */
    animation: spinning 2s linear infinite;
}

/* Modal */

#layout-spinner {
    display: none;
    background: #fefefe;
    color: #666666;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 5000;
    top: 0;
    left: 0;
    float: left;
    text-align: center;
    opacity: .80;
}

.modal-spinner, .modal-spinner-inner {
    left: 50%;
    top: 35%;
    margin: 0 auto;
    margin-left: -30px;
    position: fixed;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    border: 8px solid transparent;
    animation: spinning .9s linear infinite;
    border-right: 8px solid var(--upenn-blue);
    border-bottom: 8px solid var(--upenn-blue);
}

.modal-spinner-inner {
    height: 40px !important;
    width: 40px !important;
    margin-left: -20px !important;
    margin-top: 10px !important;
    animation: spinning-reverse 1s linear infinite !important;
    border-right: 8px solid var(--upenn-red);
    border-bottom: 8px solid var(--upenn-red);
}


