﻿@font-face {
    font-family: johnston;
    src: url(dist/fonts/johnston_itc_light.ttf);
}

@font-face {
    font-family: johnstonBold;
    src: url(dist/fonts/johnston_itc_bold_sc.ttf);
}

body {
    background-color: #F3F3F3;
    font-family: johnston;
}

.content {
    padding-left: 10px;
    padding-right: 10px;
}

.element {
    background: white;
    border-radius: 4px;
    box-shadow: rgba(0, 0, 0, 0.1) 2px 2px;
    padding: 10px;
    /* Bootstrap cells have padding 10px left and right, match it with margin top and bottom */
    margin-top: 10px;
    margin-bottom: 10px;
}

button {
    border: 1px solid #f2a200;
    background-color: #991f3d;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    font-size: 15px;
    margin: 5px;
}

/* Styling chart tooltips here as they will not use chart component styles */
.nvd3 .nv-axis line {
    stroke: #e5e5e5;
}

.nvtooltip {
    font-size: 15px;
    padding: 5px 10px;
    font-family: johnston;
    user-select: none;
    background: rgba(255,255,255,.8);
    border: 1px solid rgba(0,0,0,.5);
    border-radius: 4px;
}

    .nvtooltip .value {
        padding: 0 0 0 10px;
    }

/* Styling of the page loading animation */
#loading {
    background: #f4f4f2;
    height: 100%;
    left: 0;
    margin: auto;
    position: fixed;
    top: 0;
    width: 100%;
}
    #loading .loadingmessage {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 2em;
    }

    #loading .bokeh {
        border: 0.015em solid rgba(150, 150, 150, 0.1);
        border-radius: 50%;
        font-size: 100px;
        height: 1em;
        list-style: outside none none;
        margin: 0 auto;
        position: relative;
        top: 35%;
        width: 1em;
        z-index: 2147483647;
    }

        #loading .bokeh li {
            border-radius: 50%;
            height: 0.2em;
            position: absolute;
            width: 0.2em;
        }

            #loading .bokeh li:nth-child(1) {
                animation: 1.13s linear 0s normal none infinite running rota, 3.67s ease-in-out 0s alternate none infinite running opa;
                background: #f2a200 none repeat scroll 0 0;
                left: 50%;
                margin: 0 0 0 -0.1em;
                top: 0;
                transform-origin: 50% 250% 0;
            }

            #loading .bokeh li:nth-child(2) {
                animation: 1.86s linear 0s normal none infinite running rota, 4.29s ease-in-out 0s alternate none infinite running opa;
                background: rgb(161, 196, 208) none repeat scroll 0 0;
                margin: -0.1em 0 0;
                right: 0;
                top: 50%;
                transform-origin: -150% 50% 0;
            }

            #loading .bokeh li:nth-child(3) {
                animation: 1.45s linear 0s normal none infinite running rota, 5.12s ease-in-out 0s alternate none infinite running opa;
                background: #991f3d none repeat scroll 0 0;
                bottom: 0;
                left: 50%;
                margin: 0 0 0 -0.1em;
                transform-origin: 50% -150% 0;
            }

            #loading .bokeh li:nth-child(4) {
                animation: 1.72s linear 0s normal none infinite running rota, 5.25s ease-in-out 0s alternate none infinite running opa;
                background: #88c100 none repeat scroll 0 0;
                margin: -0.1em 0 0;
                top: 50%;
                transform-origin: 250% 50% 0;
            }

@keyframes opa {
    12% {
        opacity: 0.80;
    }

    19.5% {
        opacity: 0.88;
    }

    37.2% {
        opacity: 0.64;
    }

    40.5% {
        opacity: 0.52;
    }

    52.7% {
        opacity: 0.69;
    }

    60.2% {
        opacity: 0.60;
    }

    66.6% {
        opacity: 0.52;
    }

    70% {
        opacity: 0.63;
    }

    79.9% {
        opacity: 0.60;
    }

    84.2% {
        opacity: 0.75;
    }

    91% {
        opacity: 0.87;
    }
}

@keyframes rota {
    100% {
        transform: rotate(360deg);
    }
}