/* ============================================================================ */
/*  Ajax calls animation / loading spinner with a semi-transparent background   */
/* ============================================================================ */

#ajax-animation-loading-background {
    position:fixed;
    /*    width:100%; */
    left:-160px;right:0;top:-160px;bottom:0;        /* 160px is the size of the spinner */
    background-color: rgba(255,255,255,0.7);
    z-index:9999;
    display:none;
}

@-webkit-keyframes spin {
    from {-webkit-transform:rotate(0deg);}
    to {-webkit-transform:rotate(360deg);}
}

@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

#ajax-animation-loading-background::after {
    content:'';
    display:block;
    position:absolute;
    width:160px;height:160px;       /* 160px is the size of the spinner */
    left:50%;top:35%;
    border-style:solid;
    border-color:black;
    border-top-color:transparent;
    border-width: 12px;
    border-radius:50%;
    -webkit-animation: spin .8s linear infinite;
    animation: spin .8s linear infinite;
}
