*, ::before, ::after {
    box-sizing: border-box;
}

body {
    background-color: black;
    margin: 0px;
    color: white;
    font-size: 18px;
}

#content {
    width: 100%;
}

form {
    padding: 5vh 5vw;
    margin: auto;
    max-width: 700px;
    min-width: 80%;
}

.recapRow {
    width: 80%;
    margin: auto;
    margin-top: 10px;
}

.recapRow a {
    margin: auto 0;
    padding: 8px 15px;
    outline: 1px solid grey;
    outline-offset: -3px;
    text-decoration: none;
    font-weight: bolder;
    text-transform: uppercase;
    color: #337ab7;
    background-color: rgba(255,255,255,0.2);
}

.recapRow a:hover {
    background-color: white;
    color: black;
}

.recapRow-lower {
    margin-bottom: 50px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.filters
{
    width: 80%;
    margin: 20px auto;
}

.filters input, select {
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 8px 5px 8px 10px;
    border: 1px solid #ddd;
    background-color: rgba(255,255,255,0);
    color: white;
}

@media screen and (max-width: 700px) {
    .recapRow-lower {
        display: block;
    }
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

#adminDataBar {
    background: grey;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
}

#currentAdmin b {
    color: Black;
    text-transform: uppercase;
}

#adminBanner {
    display: block;
    text-align: center;
    padding: 15px 0px 5px 0px;
}

#adminBanner img {
    max-width: 80%;
}

#adminHeader {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#adminHeader a {
    text-decoration: none;
    text-align: center;
    color: white;
    font-size: clamp(0.9rem, 0.7866rem + 0.6897vw, 1.8rem);
    padding: 8px 15px;
    margin: 3px;
    border: 3px double white;
}

#adminHeader a:hover {
    border: 3px solid #ff0101;
    color: #ff0101;
}

h1 {
    display: block;
    padding: 50px 0px 20px 0px;
    margin: auto;
    font-size: 24px;
    text-align: center;
    text-decoration: underline;
    color: white;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

#dashboard_forms {
    display: flex;
    gap: 50px;
    flex-direction: row;
    justify-content: space-between;
}

#dashboard_forms form{
    display: contents;
}

#cron_job_button {
    flex: 0.8;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    outline: 5px white double;
    color: white;
    outline-color: mediumaquamarine;
    text-decoration: none;
    padding: 5px 20px;
    font-weight: bolder;
}

#maintenance_form, #db_connection_form {
    margin: 15px 0px;
    display: flex;
    justify-content: right;
    padding: initial;
    width: 100%;
    max-width: initial;
}

#maintenance_button {
    flex: 1;
    border: none;
    cursor: pointer;
    font-size: 15px;
    outline: 5px white double;
    text-decoration: none;
    padding: 5px 20px;
    font-weight: bolder;
}

#db_connection_button {
    flex: 1;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 15px;
    outline: 5px white double;
    text-decoration: none;
    padding: 5px 20px;
    font-weight: bolder;
}

#db_connection_button:hover {
    cursor: default;
}

#maintenance_button:hover {
    outline: 2px white solid;
    background-color: black;
    color: white;
}

.maintenanceOn {
    color: green;
    font-weight: bolder;
}

.maintenanceOff {
    color: red;
    font-weight: bolder;
}

.dashBlock {
    outline: 2px white double;
    margin: 30px 0px;
    padding: 8px;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

#record-list {
    width: 80%;
    margin: auto;
    border-collapse: collapse;
    border-spacing: 0;
}

#record-list th {
    cursor: default;
}

#record-list tr:not(:first-child):hover  {
    background-color: rgba(255,255,255,0.2);
}

#record-list tr:not(:first-child) td {
    background-color: rgba(255,255,255,0.2);
}

#record-list th, #record-list td  {
    padding: 8px 15px;
}

#tableTitle {
    text-decoration: underline;
}

#tableTitle th {
    text-align: center;
}

.stars {
    color:gold;
}

.recordRow {
    text-align: center;
}
 
.recordButton {
    overflow: hidden;
    outline: 1px solid grey;
    outline-offset: -3px;
}

.recordButton a {
    color: white;
    display: block;
    text-decoration: none;
    font-weight: bolder;
    text-transform: uppercase;
}

.recordButton a:hover {
    background-color: white;
    color: black
}

.checkmark {
    display: block;
    margin: auto;
    width: 30px;
    height: 30px;
    border: 2px solid white;
    padding: 00px;
    border-radius: 50%;
    background-color: green;
}

.xmark {
    display: block;
    margin: auto;
    width: 30px;
    height: 30px;
    border: 2px solid white;
    padding: 00px;
    border-radius: 50%;
    background-color: red;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

@media screen and (max-width: 1200px)  {
    .hidable1 {
        display: none;
    }
}

@media screen and (max-width: 600px)  {
    .hidable2 {
        display: none;
    }
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

#login-form {
    max-width: 500px;
    margin: auto;
    background-color: rgba(255,255,255,10%);
    padding: 50px;
    border-radius: 20px;
}

#login-form li {
    list-style: none;
    margin: auto;
    padding: 20px 5px;
    max-width: 700px;
}

#login-form label {
    font-size: 16px;
    color: white;
    padding: 0px 0px 0px 10px;
    text-transform: uppercase;
}

#login-form input {
    width: 100%;
    color: white;
    max-width: 700px;
    padding: 5px 20px;
    margin: 8px auto;
    display: block;
    border-radius: 4px;
    box-sizing: border-box;
}

#login-form input:focus-visible {
    outline: none;
}

/* ////////////////////////////////////////////////////////////////////////////////////////////// */

.buttons {
    margin-top: 50px;
}

.buttons input {
    width: 100%;
    background-color: #ff0101;
    color: black;
    font-size: 16px;
    font-weight: bolder;
    letter-spacing: 5px;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.buttons input:hover {
    background-color: rgba(0,0,0,15%);
    color: #ff0101;
    outline: 2px #ff0101 solid;
}