/**
 * This file is the base CSS file, containing a minimum set of directives
 * which are common to all themes and ensure a consistent rendering.
 *
 * Note: Specific themes CSS files are located in themes/[name]/, and style.css
 * is the main file that will be looked for.
 */

/* Import sprite CSS */
@import '~sprite.css';

/**
 * Below are the colors defined for both the wells and the "differences" section
 * of the charts. If you write a theme, please use (you might redefine them)
 * these variables instead of hardcoded colors in order to keep the link between
 * the wells and the "differences" charts.
 */
:root {
    --wells-balance-color: #00BFF3;
    --wells-received-color: #00A651;
    --wells-spent-color: #F26C4F;
    --wells-saved-color: #0072BC;
}

html {
    font-size: 13px !important;
}

html, body, #app {
    min-height: 100%;
}

#app {
    padding: 0;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

#app > div {
    height: 100%;
}

/* Spinnerz gonna spin. This is loaded in the base CSS to display a spinner
 while the theme is loaded. */
@-webkit-keyframes spin3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner {
    font-size: 10px;
    margin: 50px auto;
    text-indent: -9999em;
    width: 11em;
    height: 11em;
    border-radius: 50%;
    background: #0055ff;
    background: -moz-linear-gradient(left, #0055ff 10%, rgba(0,85,255, 0) 42%);
    background: -webkit-linear-gradient(left, #0055ff 10%, rgba(0,85,255, 0) 42%);
    background: -o-linear-gradient(left, #0055ff 10%, rgba(0,85,255, 0) 42%);
    background: -ms-linear-gradient(left, #0055ff 10%, rgba(0,85,255, 0) 42%);
    background: linear-gradient(to right, #0055ff 10%, rgba(0,85,255, 0) 42%);
    position: relative;
    -webkit-animation: spin3 1.4s infinite linear;
    animation: spin3 1.4s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}
.spinner:before {
    width: 50%;
    height: 50%;
    background: #0055ff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}
.spinner:after {
    background: #fff;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#app > .spinner {
    display: block;
}
