*
{
    font-family: 'Public Sans', sans-serif;
    box-sizing: border-box;
}
pre, code, code *
{
    font-family: monospace;
}
h1, h2, h3, h4, h5, h6
{
    font-weight: normal;
}
a:link, a:visited { color: black; }
a:hover, a:active { color: rgb(230, 75, 59); }

body
{
    margin: 4em 0px 5em 0px;
    background-color: white;
    font-size: 14px;
}
div.body
{
    width: 100%;
    max-width: 1140px;
    padding: 0px 1em;
    margin: auto;
    overflow: auto;
}
input[type="button"], input[type="submit"]
{
    background-color: rgb(146, 195, 76);
    border: none;
    padding: 1em 2em;
    color: white;
    cursor: pointer;
}
input[type="button"].delete
{
    background-color: rgb(230, 75, 59);
}
input[type="button"]:disabled.delete
{
    background-color: whitesmoke;
    border: 2px solid rgb(230, 75, 59);
}
input[type="button"]:disabled, input[type="submit"]:disabled
{
    background-color: whitesmoke;
    border: 2px solid rgb(88, 95, 105);
    color: rgb(88, 95, 105);
    cursor: not-allowed;
}
input[type="button"]:disabled.delete, input[type="submit"]:disabled.delete
{
    background-color: whitesmoke;
    border: 2px solid rgb(230, 75, 59);
    color: rgb(230, 75, 59);
    cursor: not-allowed;
}
input.scheduler_button
{
    padding: 0px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    width: 120px;
    height: 120px;
}
a.button
{
    background-color: rgb(88, 95, 105);
    border: none;
    padding: 1em 2em;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
table
{
    padding: 0px;
    border-spacing: 0px;
    border-collapse: collapse;
}
th
{
    text-transform: uppercase;
}
fieldset
{
    margin: 0px;
    padding: 0px;
    border: none;
}
fieldset:disabled
{
    cursor: not-allowed;
}
h2.page_title
{
    text-align: center;
    background-color: white;
    font-size: 24px;
    margin-top: 2em;
}
ul li
{
    margin-bottom: 1ex;
}
ul li:last-child
{
    margin-bottom: 0px;
}


/*
    Header/Footer
*/

div.header
{
    background-color: #111111;
    color: rgb(255, 199, 33);
    font-weight: bold;
    height: 4em;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
div.header table
{
    width: 100%;
    margin: auto;
    height: 100%;
    max-width: 1112px;
}
div.header a:link, div.header a:visited
{
    color: rgb(255, 199, 33);
    text-decoration: none;
}
div.header a:hover, div.header a:active { color: rgb(230, 75, 59); }

div.footer
{
    background-color: #111111;
    color: lightgray;
    height: 4em;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0px 1em;
}
div.footer a
{
    color: lightgray;
}
div.footer table
{
    width: 100%;
    max-width: 1112px;
    margin: auto;
    height: 100%;
}
div.footer a
{
    text-decoration: none;
}


/*
    Login
*/
div.login
{
    position: absolute;
    left: 50%;
    top: calc(50%);
    transform: translate(-50%, -50%);

    background-color: white;
    border-radius: 5px;
    font-size: 16px;
    
    width: 100%;
    max-width: 450px;

    padding: 2em;
    text-align: center;
}
div.login h1
{
    margin: 0px;
    font-weight: bold;
    font-size: 30px;
}
div.login input
{
    border-radius: 5px;
    font-size: 18px;
    width: 100%;
}
div.login input[type="text"], div.login input[type="password"]
{
    border: 1px solid whitesmoke;
    padding: 1em;
}
img.login-background
{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -410px;
    margin-top: -370px;
    z-index: -1;
}


/*
    Tables
*/

table.list, table.config
{
    border-collapse: separate;
    border: 1px solid lightgray;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    border-spacing: 1px;

    font-size: 14px;
}
table.list th, table.config th
{
    background-color: lightgray;
    padding: 5px;
}
table.list tr:nth-child(even) td, table.config td
{
    background-color: whitesmoke;
    padding: 5px;
}
table.list tr:nth-child(odd) td
{
    background-color: #ececec;
    padding: 5px;
}
table.list tr.enabled th, table.list tr.enabled td
{
    background-color: #dfd;
}
table.list tr.highlighted th, table.list tr.highlighted td
{
    background-color: grey;
    cursor: pointer;
}

table.global_stats
{
    width: 100%;
    border-collapse: separate;
    padding: 2ex;
}
table.global_stats td
{
    padding-top: 1em;
    text-align: center;
}
table.global_stats td span
{
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: inline-block;
    vertical-align: middle;
    color: white;
    font-size: 22px;
    font-weight: bold;
    padding-top: 32px;
}
table.global_stats th
{
    padding: 2em 0px 1em 0px;
    font-size: 18px;
}
table.global_stats td, table.global_stats th
{
    border-right: 1px solid lightgray;
    width: 25%;
}
table.global_stats td:last-child, table.global_stats th:last-child
{
    border-right: 0px;
}
table.global_stats tr:last-child td
{
    vertical-align: top;
}


/*
    Image templates
*/
div.image_templates
{
    border: 1px solid lightgray;
    border-radius: 5px;
    background-color: white;
    padding: 5px;
    overflow: auto;
}
div.image_template
{
    margin: 1px;
    padding: 1ex;
    background-color: whitesmoke;
    float: left;
    text-align: center;
}
