/* AZProgress */
.azprogress-busy {
    cursor: wait !important;
}

/* Make clicks pass-through */
#azprogress {
    pointer-events: none;
}

#azprogress .bar {
    background: #29d;
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Fancy blur effect */
#azprogress .peg {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #29d, 0 0 5px #29d;
    opacity: 1.0;
    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

/* Remove these to get rid of the spinner */
#azprogress .spinner {
    display: block;
    position: fixed;
    z-index: 1031;
    top: 15px;
    right: 15px;
}

#azprogress .spinner-icon {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: solid 2px transparent;
    border-top-color: #29d;
    border-left-color: #29d;
    border-radius: 50%;
    -webkit-animation: azprogress-spinner 400ms linear infinite;
    animation: azprogress-spinner 400ms linear infinite;
}

.azprogress-custom-parent {
    overflow: hidden;
    position: relative;
}

.azprogress-custom-parent #azprogress .spinner,
.azprogress-custom-parent #azprogress .bar {
    position: absolute;
}

@-webkit-keyframes azprogress-spinner {
    0% {
        -webkit-transform: rotate(0deg);
    }
    
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes azprogress-spinner {
    0% {
        transform: rotate(0deg);
    }
    
    100% {
        transform: rotate(360deg);
    }
}

/* Prebuilt Transitions */

/* Fade In */
.AZ-FADE-IN {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Fade Out */
.AZ-FADE-OUT {
    animation: fadeOut 0.5s ease-in-out;
}

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

/* Slide In Bottom */
.AZ-SLIDE-IN-BOTTOM {
    animation: slideInBottom 0.5s ease-in-out;
}

@keyframes slideInBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide Out Top */
.AZ-SLIDE-OUT-TOP {
    animation: slideOutTop 0.5s ease-in-out;
}

@keyframes slideOutTop {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}
