html, body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #fff;
    font-size: 12pt;
    padding: 1em;
}

#topBar {
    background: #2980b9;
    color: #fff;
    padding: 1em;
    margin: -1em -1em 1em -1em;
    display: flex;
    flex-flow: row wrap;
}

#statusText p {
    padding: 1em;
    margin: 0;
}

.row {
    display: flex;
    flex-flow: row wrap;
}

.col {
    flex: 1 1 100%;
    padding: 0 1em;
    box-sizing: border-box;
}

@media screen and (min-width: 900px) {
    .col {
        flex: 1 1 50%;
    }
}

.spacer {
    flex: 1 1 1em;
}

#dialogWrapper {
    margin: 1em auto;
    background: #f6f7f8;
    padding: 1em;
    box-sizing: border-box;
}

.shadow {
    -webkit-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 1px 3px 5px 0px rgba(0,0,0,0.75);
}

label {
    clear: both;
    font-weight: bold;
    display: block;
    padding: 6pt 0;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}

    label:hover {
        background: rgba(0,0,0,0.2);
    }

textarea {
    display: block;
    width: 100%;
    height: 5em;
}

::placeholder {
    opacity: 0.5;
    text-align: right;
}

input, select {
    width: 100%;
    padding: 0.5em;
    box-sizing: border-box;
    border: 1px solid #000;
}

    input[type=checkbox],
    input[type=submit],
    input[type=number] {
        width: auto;
    }

    input[type=submit],
    button,
    .button {
        display: inline-block;
        background: #FFC82C;
        border: 1px solid #000;
        cursor: pointer;
        padding: 9px 40px;
        font-size: 13pt;
        border-radius: 2em;
        box-shadow: 0 2px 2px 0 rgba(0,0,0,0.25);
        border-color: #C79300;
        font-weight: normal;
        text-decoration: none;
        color: #000;
    }

a:visited.button {
    color: #000;
}

.red {
    background-color: darkred;
    color: white;
}

select {
    width: auto;
}

table {
    border: 1px solid black;
    background: #fff;
    border-collapse: collapse;
}

tr {
    border: 1px solid black;
}

    tr.customer:hover {
        background: #efefef;
    }

    tr.customer.pending {
        background: #c6dcc4;
    }

    tr.expired {
        background: #ccc;
    }

td > a {
    display: block;
}

td, th {
    padding: 3pt;
    text-align: left;
}

.error {
    background: red !important;
    color: #fff;
}

.warning {
    background: yellow !important;
    color: #000;
}

.model-active {
    background-color: #b0ff9d;
}

.model-classic,
.model-modela {
    background-color: red;
}

.model-demo {
    background-color: cyan;
}

.model-pilot {
    background-color: orange;
}

.model-canceled {
    background-color: yellow;
}

.expired .model-canceled,
.expired .model-pilot {
    background-color: darkgray;
}

.col-serverid {
    max-width: 10em;
    overflow: hidden;
}

.hidden {
    display: none !important;
}

/* http://tobiasahlin.com/spinkit/ */
.spinner {
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

    .spinner > div {
        background-color: #fff;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
