﻿body {
}

.error {
    font-weight: bold;
    color: orangered;
}
.good {
    color: #137201;
    font-weight: bold;
}
div.wallitem {
    display: flex;
    margin-bottom: 0.5ch;
    break-inside: avoid;
    break-after: auto;
    padding: 1ch;
    background-color: #ffdec9;
}
    div.wallitem img {
    }
    div.wallitem p {
        margin: 0;
        margin-left: 1ch;
    }
.statstable {
    table-layout: fixed;
    width: 100%;
    font-size: small;
}
    .statstable tr {
        background-color: var(--colours-tablelist-row1-bg);
        color: var(--colours-tablelist-row1-fg);
    }
    .statstable th {
        background-color: var(--colours-tableform-heading-bg);
        color: var(--colours-tableform-heading-fg);
        padding: 2px;
    }
        .statstable tr:nth-child(even) {
            background-color: var(--colours-tablelist-row2-bg);
            color: var(--colours-tablelist-row2-fg);
        }

    .statstable td {
        padding: 2px;
        text-align: right;
    }
    .statstable td:first-child {
        text-align: left;
    }

    .statstable a {
        text-decoration: none;
        padding: 2px;
        color: var(--colours-linkcolour);
        display: block;
        width: 100%;
        border-bottom: 1px solid transparent;
    }

    .statstable a {
        text-decoration: none;
    }
body.CentreGrid {
    min-height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url('/icons/background.svg');
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.HomePageItemContainer {
    display: flex;
    margin: 1em;
    align-items: stretch;
    flex-wrap: wrap;
    flex-direction: row;
}

.HomePageItem {
    flex-grow: 1;
    flex-wrap: wrap;
}

.HomePageItem {
    background-color: #14408cc7;
    color:white;
    padding: 1ch;
    margin: 0.5em;
    border-radius: 5px;
    box-shadow: 0.5em 0.5em 0.5em rgb(0 0 0 / 20%);
}

    .HomePageItem.h1 {
        font-size: 14pt;
    }

    .HomePageItem b {
        display: block;
        padding: 0.5ch 1ch;
        color: #00ff7e;
    }

    .HomePageItem a {
        display: block;
        margin-bottom: 0.25ch;
        padding: 0.5ch 1ch;
        color: white;
        text-decoration: none;
    }
    .HomePageItem a > svg {
        fill: white;
    }
        .HomePageItem a:hover {
            text-decoration: underline;
        }

.studentlist {
    columns: 4 25ch;
    margin-bottom: 1em;
    margin-left: 1em;
    margin-right: 1em;
}
.studentlink {
    display: block;
    color: white;
    background-color: #14408cc7;
    padding: 16px 6px;
    margin-bottom: 3px;
    text-decoration: none;
}
    .studentlink:hover {
        background-color: #4e4e4e;
    }

.studentdetails {
    width: 100%;
    margin-bottom: 0.5em;
}

.studentdetails tr {
    background-color: #FFFFFF99;
}
    .studentdetails td {
        padding: 6px;
    }
.studentresult {
    background-color: #FFFFFF99;
    margin-bottom: 0.5em;
    padding: 6px;
}

.resourcetable {
    background-color: #14408c11;
    background-color: #e7e7ff;
    color: black;
    width: 100%;
    font-family: roboto;
}
    .resourcetable a {
        color: black;
        text-decoration: none;
    }
    .resourcetable td {
        color: black;
        text-decoration: none;
        padding:6px;
    }
    .resourcetable svg {
        fill:black;
    }
    .resourcetable tr:nth-child(odd) {
        background-color: #e7e7ff;
    }

.DarkBackground { /*Used for Video background */
    background-color: #333;
    color: white;
}
.otherfunctions {
    display:flex;
}
.otherfunctions > div {
    background-color: #FFFFFF99;
    max-width: 60ch;
    padding: 6px;
    border: solid 1px #CCC;
    margin-bottom: 1em;
}
.danceeditform {
    background-color: #FFFFFF99;
    padding: 6px;
}
.danceeditform > div {
    width: 100%;
    margin-bottom: 1em;
}
    .danceeditform > div > input {
        padding: 6px;
        font-family: inherit;
        font-size: inherit;
    }
.warninglist {
    font-weight: bold;
    color: orangered;
}
.item2col {
    display: grid;
    grid-template-columns: 15rem 1fr;
}

    .item2col > div {
        padding: 3px;
    }

    .item2col:hover > div {
        background-color: var(--colours-tablelist-hover-bg);
        color: var(--colours-tablelist-hover-fg);
    }

    .item2col:nth-child(odd) > div {
        background-color: var(--colours-tablelist-row1-bg);
        color: var(--colours-tablelist-row1-fg);
    }

    .item2col:nth-child(even) > div {
        background-color: var(--colours-tablelist-row2-bg);
        color: var(--colours-tablelist-row2-fg);
    }
.stripedtable {
}
    .stripedtable > div.header {
        font-weight: bold;
    }

.stripedtable > div:nth-child(odd) {
    background-color: var(--colours-tablelist-row1-bg);
    color: var(--colours-tablelist-row1-fg);
}

.stripedtable > div:nth-child(even) {
    background-color: var(--colours-tablelist-row2-bg);
    color: var(--colours-tablelist-row2-fg);
}
    .stripedtable > div:hover {
        background-color: var(--colours-tablelist-hover-bg);
        color: var(--colours-tablelist-hover-fg);
    }
.mergesearchresult {
    display: grid;
    grid-template-columns: auto 1fr;
    padding: 3px;
}
.MergeStudentItem {
    border: solid 1px #333;
    padding: 6px;
    margin-bottom: 3px;
}
.RemoveStudentLink {
    background: none !important;
    border: none;
    padding: 0 !important;
    font-family: inherit;
    font-size: inherit;
    color: blue;
    cursor: pointer;
}
.mergeDanceResultsTable {
    font-size: small;
    grid-gap: 1px;
    background-color: #333;
    border: solid 1px #333;
}
    .mergeDanceResultsTable > div {
        background-color: #ffe6f1;
        padding: 3px;
    }
