﻿html,
body
{
    margin: 0;
    padding: 0;
}

/* Another way to hide text reserved for screen readers, from https://www.w3.org/WAI/WCAG21/Techniques/css/C7 */
.screenreader
{
    clip-path: inset(100%);
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

a
{
    color: #0033df;
    display: inline-block;
}

    a:visited
    {
        color: #0066df;
    }

    a:hover
    {
        color: #0033df;
    }

    a:focus
    {
        outline-style: groove;
        outline-color: #0033df;
        outline-width: 2px;
    }

    a:hover,
    a:focus
    {
        text-shadow: 0px 0px 2px #ffffff, 0px 0px 2px #0033df;
    }

.centerwrapper
{
    display: flex;
    justify-content: center;
}

    .centerwrapper > form > table
    {
        border: none;
    }

header,
footer
{
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    background-color: #446688;
}

    header a,
    footer a
    {
        color: #000000;
        display: inline-block;
    }

        header a:visited,
        footer a:visited
        {
            color: #000000;
        }

        header a:hover,
        footer a:hover
        {
            color: #000000;
        }

        header a:focus,
        footer a:focus
        {
            outline-style: groove;
            outline-color: #000000;
            outline-width: 2px;
        }

        header a:hover,
        footer a:hover,
        header a:focus,
        footer a:focus
        {
            text-shadow: 0px 0px 2px #000000, 0px 0px 2px #20ffcc;
        }

nav ul
{
    padding: 0;
    margin: 0;
}

    nav ul li
    {
        list-style: none;
        border-radius: 0.25em;
    }

    nav ul li:not(.menuitem_active):nth-child(odd)
    {
        background-color: #f3f3f3;
    }

nav a
{
    text-decoration: none;
}

header nav ul
{
    display: flex;
}

.menuitem
{
    margin-right: 0.5em;
    border-radius: 0.5em;
    background-color: #666688;
    border: #444444 0.1em solid;
}

.menuitem_active
{
    background-color: #996688;
    border-color: #000000;
}

.menuitem a
{
    display: inline-block;
    padding: 0.5em;
}

.menuitem:hover
{
    background-color: #996688;
    border-color: #000000;
}

main,
header,
footer
{
    padding: 1em;
}


table,
tr.header_row
{
    border-collapse: collapse;
    border: solid 1px #000000;
}
/* override Bootstrap properties. */
tr.siteentry,
tr.siteentry td
{
    --bs-table-bg: transparent;
}

td,
th
{
    padding: 0.5em 2em;
}

.table .thead-dark th.sort_header
{
    color: #666688;
}

    .sort_header:hover
    {
        cursor: pointer;
    }

td.right
{
    text-align: right;
}

td.center
{
    text-align: center;
}

.build_trunk
{
    background-color: #eeffee;
}

    .build_trunk:hover
    {
        background-color: #e3ffe3;
    }

.build_candidate
{
    background-color: #eeeeff;
}

    .build_candidate:hover
    {
        background-color: #e3e3ff;
    }

.build_development
{
    background-color: #ffeeee;
}

    .build_development:hover
    {
        background-color: #ffe3e3;
    }

.build_other
{
    background-color: #eeeeee;
}

    .build_other:hover
    {
        background-color: #e3e3e3;
    }

.build_cms3
{
    background-color: #ffffee;
}

    .build_cms3:hover
    {
        background-color: #ffffe3;
    }

.skins_multiple
{
}

.table > :not(caption) > * > td.skins_mismatch,
tr.siteentry td.skins_mismatch,
tr.siteentry td.versions_mismatch
{
    background-color: #ffdddd;
}

    tr.siteentry td.skins_mismatch:hover,
    tr.siteentry td.versions_mismatch
    {
        background-color: #ffd3d3;
    }

.selectcell
{
    padding: 0.5em 0.5em;
}

.serverinfo
{
    display: flex;
    justify-content: space-between;
}

    .serverinfo label
    {
        flex: 0 1 20%;
    }

    .serverinfo textarea
    {
        flex: 1 0 80%;
    }

.sites_controls
{
    margin: 0.5em 0;
    padding: 1em 0;
}

.sites_controls_button
{
    padding: 0.5em;
}

.sites_controls_message
{
    display: block;
}

.table > :not(caption) > * > .lastupdated_unknown,
.lastupdated_unknown
{
    background-color: lightgoldenrodyellow;
}

.table > :not(caption) > * > .lastupdated_recent,
.lastupdated_recent
{
}
.table > :not(caption) > * > .lastupdated_mia,
.lastupdated_mia
{
    background-color: #FFBBBB;
    font-weight: bold;
}
.table > :not(caption) > * > .lastupdated_latest,
.lastupdated_latest
{
    background-color: #FFCCCC;
    font-weight: bold;
}
.table > :not(caption) > * > .lastupdated_later,
.lastupdated_later
{
    background-color: #FFDDDD;
    font-weight: bold;
}
.table > :not(caption) > * > .lastupdated_late,
.lastupdated_late
{
    background-color: #FFEEEE;
    font-weight: bold;
}
