﻿/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.modal {
 background: #aaaa
}

.lds-default {
    display: block;
    margin: 0 auto;
    position: relative;
    width: 64px;
    height: 64px;
}

.lds-default div {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #007bff;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}

    .lds-default div:nth-child(1) {
        animation-delay: 0s;
        top: 29px;
        left: 53px;
    }

    .lds-default div:nth-child(2) {
        animation-delay: -0.1s;
        top: 18px;
        left: 50px;
    }

    .lds-default div:nth-child(3) {
        animation-delay: -0.2s;
        top: 9px;
        left: 41px;
    }

    .lds-default div:nth-child(4) {
        animation-delay: -0.3s;
        top: 6px;
        left: 29px;
    }

    .lds-default div:nth-child(5) {
        animation-delay: -0.4s;
        top: 9px;
        left: 18px;
    }

    .lds-default div:nth-child(6) {
        animation-delay: -0.5s;
        top: 18px;
        left: 9px;
    }

    .lds-default div:nth-child(7) {
        animation-delay: -0.6s;
        top: 29px;
        left: 6px;
    }

    .lds-default div:nth-child(8) {
        animation-delay: -0.7s;
        top: 41px;
        left: 9px;
    }

    .lds-default div:nth-child(9) {
        animation-delay: -0.8s;
        top: 50px;
        left: 18px;
    }

    .lds-default div:nth-child(10) {
        animation-delay: -0.9s;
        top: 53px;
        left: 29px;
    }

    .lds-default div:nth-child(11) {
        animation-delay: -1s;
        top: 50px;
        left: 41px;
    }

    .lds-default div:nth-child(12) {
        animation-delay: -1.1s;
        top: 41px;
        left: 50px;
    }

@keyframes lds-default {
    0%, 20%, 80%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }
}



.loader {
    height: 100%;
    width: 100%;
    min-height:170px;
}

    .loader .l_main {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 172px;
        height: 128px;
        margin: 0;
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%)
    }

@media (max-width:550px) {
    .loader {
        -webkit-transform: scale(0.75);
        transform: scale(0.75)
    }
}

@media (max-width:440px) {
    .loader {
        -webkit-transform: scale(0.5);
        transform: scale(0.5)
    }
}

.l_square {
    position: relative
}

    .l_square:nth-child(1) {
        margin-left: 0px
    }

    .l_square:nth-child(2) {
        margin-left: 44px
    }

    .l_square:nth-child(3) {
        margin-left: 88px
    }

    .l_square:nth-child(4) {
        margin-left: 132px
    }

    .l_square span {
        position: absolute;
        top: 0px;
        left: 20px;
        height: 36px;
        width: 36px;
        border-radius: 2px;
        background-color: #007bff
    }

        .l_square span:nth-child(1) {
            top: 0px
        }

        .l_square span:nth-child(2) {
            top: 44px
        }

        .l_square span:nth-child(3) {
            top: 88px
        }

    .l_square:nth-child(1) span {
        -webkit-animation: animsquare1 2s infinite ease-in;
        animation: animsquare1 2s infinite ease-in
    }

    .l_square:nth-child(2) span {
        -webkit-animation: animsquare2 2s infinite ease-in;
        animation: animsquare2 2s infinite ease-in
    }

    .l_square:nth-child(3) span {
        -webkit-animation: animsquare3 2s infinite ease-in;
        animation: animsquare3 2s infinite ease-in
    }

    .l_square:nth-child(4) span {
        -webkit-animation: animsquare4 2s infinite ease-in;
        animation: animsquare4 2s infinite ease-in
    }

    .l_square span:nth-child(1) {
        -webkit-animation-delay: 0.00s;
        animation-delay: 0.00s
    }

    .l_square span:nth-child(2) {
        -webkit-animation-delay: 0.15s;
        animation-delay: 0.15s
    }

    .l_square span:nth-child(3) {
        -webkit-animation-delay: 0.30s;
        animation-delay: 0.30s
    }

@-webkit-keyframes animsquare1 {
    0%,5%,95%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    30%,70% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@keyframes animsquare1 {
    0%,5%,95%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    30%,70% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare2 {
    0%,10%,90%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    35%,65% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@keyframes animsquare2 {
    0%,10%,90%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    35%,65% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare3 {
    0%,15%,85%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    40%,60% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@keyframes animsquare3 {
    0%,15%,85%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    40%,60% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare4 {
    0%,20%,80%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    45%,55% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}

@keyframes animsquare4 {
    0%,20%,80%,100% {
        -webkit-transform: translate(0px,0px) rotate(0deg);
        transform: translate(0px,0px) rotate(0deg)
    }

    45%,55% {
        -webkit-transform: translate(-40px,0px) rotate(-90deg);
        transform: translate(-40px,0px) rotate(-90deg)
    }
}