/* <copyright company="Aranda Software"> */
/* © Todos los derechos reservados */
/* </copyright> */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    font-family: 'PT Sans', sans-serif;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

#services {
    position: absolute;
    top: calc(24% - 100px);
    left: 10%;
    display: inline-block;
    width: 400px;
    padding: 0 0 0 223px;
    margin: 0;
}

    #services figure img {
        margin: 0 0 -30px -223px;
    }

    #services p.online {
        color: white;
        font-size: 18px;
    }

    #services .wrap-loading {
        margin: 0 0 10px 0;
        text-align: center;
        width: 160px;
    }

        #services .wrap-loading .circle {
            display: inline-block;
            width: 16px;
            height: 16px;
            margin: 0 5px;
            border-radius: 100%;
            font-size: 12px;
            color: #fff;
            box-sizing: border-box;
            padding: 3px;
        }

            #services .wrap-loading .circle img {
                width: 10px;
                height: 10px;
                float: left;
            }

        #services .wrap-loading.loading .circle {
            background: #0aa4c8;
            -webkit-animation: bouncedelay 1.4s infinite ease-in-out both;
            animation: bouncedelay 1.4s infinite ease-in-out both;
        }

            #services .wrap-loading.loading .circle.one {
                -webkit-animation-delay: -0.32s;
                animation-delay: -0.32s;
            }

            #services .wrap-loading.loading .circle.two {
                -webkit-animation-delay: -0.16s;
                animation-delay: -0.16s;
            }

            #services .wrap-loading.loading .circle img {
                display: none;
            }

        #services .wrap-loading.success .circle {
            background: #4ce600;
        }

        #services .wrap-loading.fail .circle {
            background: #e2000c;
        }

.poweredBy {
    position: absolute;
    bottom: 20px;
    right: 50px;
    color: #fff;
    float: left;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 300;
}

    .poweredBy .company-logo {
        float: left;
        width: 73px;
        height: 40px;
        background: url(../../src/images/logo_Aranda_blanco.png);
        background-size: 73px 40px;
        border-right: 1px solid #fff;
    }

    .poweredBy .madeBy, .poweredBy .version {
        float: left;
    }

    .poweredBy .text {
        padding: 15px 4px;
        line-height: 100%;
    }

@keyframes scaling {
    0%, 100% {
        transform: scale(0.2);
        background-color: yellow;
    }

    40% {
        transform: scale(1);
        background-color: orange;
    }

    50% {
        transform: scale(1);
        background-color: darkorange;
    }
}

@keyframes scalingValid {
    0%, 100% {
        transform: scale(0.2);
        background-color: greenyellow;
    }

    40% {
        transform: scale(1);
        background-color: green;
    }

    50% {
        transform: scale(1);
        background-color: lightgreen;
    }
}

@keyframes scalingFail {
    0%, 100% {
        transform: scale(0.2);
        background-color: red;
    }

    40% {
        transform: scale(1);
        background-color: darkred;
    }

    50% {
        transform: scale(1);
        background-color: orangered;
    }
}

.circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    transform: scale(0);
    background-color: red;
    display: inline-block;
    margin: 0.5rem;
}

    .circle.request {
        animation: scaling 2.5s ease-in-out infinite;
    }

    .circle.valid {
        animation: scalingValid 2.5s ease-in-out infinite;
    }

    .circle.fail {
        animation: scalingFail 2.5s ease-in-out infinite;
    }

    .circle:nth-child(0) {
        animation-delay: 0s;
    }

    .circle:nth-child(1) {
        animation-delay: 0.2s;
    }

    .circle:nth-child(2) {
        animation-delay: 0.4s;
    }

    .circle:nth-child(3) {
        animation-delay: 0.6s;
    }

    .circle:nth-child(4) {
        animation-delay: 0.8s;
    }

    .circle:nth-child(5) {
        animation-delay: 1s;
    }