:root{
    --background: #252525;
    --background2: #34B1F8;
    --background3: #467c9b;
    --fore-color: #FFFFFF;
    --hover-color: #999999;
    --mid-color: #3e833e;
    --fro-color: #1e2d1f;
    --fo-color: #000000;
    --line-color: #49674c;
    --line-color2: #FFFFFF;
    --critical-color: #e88d1e;
}

body{
    font-family: Arial;
    background: var(--background);
    color: var(--fore-color);
}

img{
    user-select: none;
}

input,select{
    padding: 6px;
    font-size: large;
}

a{
    color: var(--fore-color);
}

a:hover{
    color: var(--hover-color);
}

.errorMessage{
    border: 2px solid var(--critical-color);
    padding: 12px;
    font-weight: bolder;
    font-size: large;
    color: var(--critical-color);
    width: fit-content;
    margin: 5% auto;
}

.topbar{
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin: none;
    width: 100%;

    background: var(--background2);
}

.topbar .logo{
    font-weight: bolder;
    font-style: italic;
    font-size: x-large;
    user-select: none;
    padding: 8px;
}

.centerbox{
    margin: 12% auto;
    width: fit-content;

    border: 2px solid var(--line-color2);
}

.centerbox .title{
    background: var(--background2);
    width: 100%;
    text-align: center;
}

.centerbox .content{
    padding: 18px;
}

.sidebar{
    position: fixed;
    top: 73px;
    left: 0;

    padding: 12px;
    height: calc(100% - 90px);
    overflow-y: auto;

    background: var(--background3);
}

.sidebar .nav{
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
}

.sidebar .nav a{
    font-weight: bold;
    font-size: large;
    text-decoration: none;
    overflow-y: auto;

    border-bottom: 2px solid var(--line-color2);

    padding: 8px;
}

.sidebar .nav a:hover{
    background: var(--background2);
}

.main {
    margin: 70px 0px 0px 210px;
    /*height: calc(100% - 62px);*/ /* KJ7BZC 07/01/2025 21:14 Disabling this as it has no effect */
    color: var(--fore-color);
}

.main iframe {
    width: 100%; /*width: calc(100vw - 210px);*/ /* KJ7BZC 07/01/2025 21:14 No need to do any adjustment here */
    height: calc(100% - 62px); /*height: 100%;*/ /* KJ7BZC 07/01/2025 21:14 Added calculation to correct height, unsure why this is 62px off when te topbar is 75px tall */
    border: none;
    background: var(--background2);
}

.footer{
    position: relative;
    bottom: 8px;
    left:0;

    width: 100%;

    text-align: center;
    color: var(--background2);
}

th,td{
    padding: 8px;
}

th{
    background: var(--background2);
}

.tdata{
    background: black;
}

@media only screen and (max-width: 600px) {
    .footer{
        display: none;
    }

    .sidebar{
        display: none;
    }

    .main{
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        height: calc(100vh - 150px);
        width: 100%;
    }
    
    .main iframe{
        height: 100vh;
        width: 100vw;
    }
}