﻿.loading-spinner {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 192px;
    height: 192px;
}

    .loading-spinner div {
        animation: loading-spinner 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 96px 96px;
    }

        .loading-spinner div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #4D84AD;
            /*margin: -3px 0 0 -3px;*/
        }

        .loading-spinner div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .loading-spinner div:nth-child(1):after {
                top: 146.9px;
                left: 146.9px;
            }

        .loading-spinner div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .loading-spinner div:nth-child(2):after {
                top: 158.4px;
                left: 132px;
            }

        .loading-spinner div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .loading-spinner div:nth-child(3):after {
                top: 165.5px;
                left: 114.6px;
            }

        .loading-spinner div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .loading-spinner div:nth-child(4):after {
                top: 168px;
                left: 96px;
            }

        .loading-spinner div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .loading-spinner div:nth-child(5):after {
                top: 165.5px;
                left: 77.4px;
            }

        .loading-spinner div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .loading-spinner div:nth-child(6):after {
                top: 158.4px;
                left: 60px;
            }

        .loading-spinner div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .loading-spinner div:nth-child(7):after {
                top: 146.9px;
                left: 45.1px;
            }

        .loading-spinner div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .loading-spinner div:nth-child(8):after {
                top: 132px;
                left: 33.6px;
            }

@keyframes loading-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}