﻿.loading {
    position: fixed;
    display: none;
    z-index: 1031;
    height: 35px;
    width: auto;
    margin: auto;
    top: 50%;
    right: 45%;
}
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }
    .loading span:before {
        content: "";
        background: inherit;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        position: absolute;
        animation: wave 1.5s ease-out infinite;
    }


    .loading span {
        width: 25px;
        height: 25px;
        margin: 0 5px;
        border-radius: 50%;
        display: inline-block;
        position: relative;
    }

        .loading span:nth-child(1) {
            background: #ff8d00;
        }

        .loading span:nth-child(2) {
            background: #ffa433;
        }

        .loading span:nth-child(3) {
            background: #f5a53f;
        }

        .loading span:nth-child(4) {
            background: #ffb557;
        }


        .loading span:nth-child(1):before {
            animation-delay: 0.2s;
        }

        .loading span:nth-child(2):before {
            animation-delay: 0.4s;
        }

        .loading span:nth-child(3):before {
            animation-delay: 0.6s;
        }

        .loading span:nth-child(4):before {
            animation-delay: 0.8s;
        }

@keyframes wave {
    50%,75% {
        transform: scale(1.3);
    }

    80%,100% {
        opacity: 0;
        
    }
}
