﻿.in-progress {
    background: lightblue;
    border: blue;
    border-style: solid;
    border-width: thin;
    padding: 1em;
}

.loading {
    font-size: 30px;
}

.loading:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 3000ms infinite;
    animation: ellipsis steps(4,end) 3000ms infinite;
    content: "\2026"; /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 1.25em;
    }
}

.flashing {
    animation: fadeIn 1s infinite alternate;
}

#navigation {
    position: absolute;
    bottom: 3px;
}

#navigation ul li {
    display: inline;
    padding-right: 5px;
}

ul.pager {
    margin: 5px;
}
ul.pager li {
    display: inline;
    padding: 5px;
}

ul.pager li.page {
    background-color: #A8CBDB;
}

ul.pager li.page a {
    color: blue;
    text-decoration: none;
}

ul.pager li.selected {
    font-weight: bold;
}

a:visited, a {
    color: blue;
}

.danger, a.danger:visited {
    color: red;
}

.table-legend ul li {
    display: inline;
}

.table-legend ul li span {
    position: relative;
    bottom: 10px;
    margin: 0 10px 0 10px;
}

.key {
    height: 30px;
    width: 30px;
    border: solid black 1px;
}

.key-matched {
    background-color: #79ff6b;
    display: inline-block;
}

.key-unmatched {
    background-color: #ff8282;
    display: inline-block;
}

.key-exported {
    background-color: #c7cdff;
    display: inline-block;
}

table.spreadsheet {
    border: 1px solid gray;
}

table.spreadsheet th, table.spreadsheet td {
    border: 1px solid gray;
}

table.spreadsheet {
    padding: 0;
}

    table.spreadsheet tbody tr:nth-child(even).matched, table.spreadsheet tbody tr:nth-child(even).matched td {
        background-color: #bcffb5
    }

    table.spreadsheet tbody tr:nth-child(odd).matched, table.spreadsheet tbody tr:nth-child(odd).matched td {
        background-color: #79ff6b
    }

    table.spreadsheet tbody tr:nth-child(even).unmatched, table.spreadsheet tbody tr:nth-child(even).unmatched td {
        background-color: #ffb0b0;
    }

    table.spreadsheet tbody tr:nth-child(odd).unmatched, table.spreadsheet tbody tr:nth-child(odd).unmatched td {
        background-color: #ff8282
    }

    table.spreadsheet tbody tr:nth-child(even).exported, table.spreadsheet tbody tr:nth-child(even).exported td {
        background-color: #e6e9ff;
    }

    table.spreadsheet tbody tr:nth-child(odd).exported, table.spreadsheet tbody tr:nth-child(odd).exported td {
        background-color: #c7cdff
    }

    .previously-exported td {
        border-style: solid !important;
        border-width: 3px !important;
        border-color: red !important;
    }

    .wholesale td {
        border-style: solid !important;
        border-width: 3px !important;
        border-color: purple !important;
    }

table.spreadsheet th:first-child, table.spreadsheet td:first-child {
    background-color: #A8CBDB !important;
}

thead.sticky {
    position: sticky;
    position: -webkit-sticky;
    top: 0px;
    z-index: 3;
}

td.sticky-left, th.sticky-left {
    position: sticky;
    left: 0;
    z-index: 2;
}

td.sticky-left-tail, th.sticky-left-tail {
    border-right: 1px solid gray;
    box-shadow: 1px 0 3px gray;
}

td.sticky-right, th.sticky-right {
    position: sticky;
    right: 0;
    z-index: 2;
}

td.sticky-right-tail, th.sticky-right-tail {
    border-left: 1px solid gray;
    box-shadow: -1px 0 3px gray;
}


#loading {
    position: fixed;
    width: 64px;
    height: 64px;
    top: 50%;
    left: 50%;
    margin-top: -32px;
    margin-left: -32px;
    border-radius: 10px;
    padding: 1em;
    background-color: white;
    box-shadow: 1px 1px 5px 5px gray;
    z-index: 999;
}

input:not([type=checkbox]), button, submit, select {
    padding: .5em;
}

ul {
    margin: 0;
    padding: 0;
}

th, td {
    white-space: nowrap;
    padding-right: 10px;
    text-align: left;
}
body {
    margin: 1em;
    padding: 1em;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    min-width: 50%;
}

table, th, td {
    padding: 5px;
}

thead tr, tfoot tr, thead tr th, tfoot tr th {
    background-color: #A8CBDB;
}
* {
    font-family: sans-serif;
}

section, header {
    margin-bottom: 1em;
}

.messages {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.messages .close {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.messages ul {
    margin: 0;
    padding: 0;
}

.messages li {
    padding: 5px 0px 5px 10px;
}

.message-info {
    background-color: lightgreen;
    display: block;
}

.message-error {
    background-color: lightcoral;
    display: block;
}

header {
    position: relative;
    background-color: #474747;
    color: white;
    padding: 0 10px 0 10px;
}

header a, header a:visited {
    color: white;
}

header::after {
    content: "";
    clear: both;
    display: table;
}

header h1 {
    float: left;
}

header .user-panel {
    float: right;
    padding: 10px 0 0 0;
}

header .user-panel li {
    display: inline;
    padding-left: 5px;
}

section.project-details li {
    display: inline;
    padding-right: 1em;
}

section.project-details li span {
    font-weight: bold;
}

/************* login ***************/
body.login section {
    /*border: 1px solid black;*/
    border-radius: 10px;
    padding: 1em;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    box-shadow: 1px 1px 5px 5px gray;
}

body.login label {
    display: block;
    font-weight: bold;
}

body.login input:not([type=checkbox]), body.login button {
    width: 100%;
    height: 3em;
}

body.login div.remember-me input, body.login div.remember-me label {
    display: inline;
}

/*
body.login div.remember-me input {
    width: auto;
}
    */

body.login div {
    padding: .2em;
}


/********************* Home ************************************/
body.Home #theRecentProjects li {
    display: inline;
}