sd/* ===================== */
/* Supermon 8+ CSS file: */
/* ===================== */

#html, body {
    background-color: #B88847;
    text-align: center;
    font-size: 12.5px;
    font-family: "Optima", Optima, Sans-Serif;
}

.nodeNum {
    margin: 5px;
    cursor: pointer;
}

.nodeNum:hover {
    font-weight: bold;
    color: black;
}

#bubblechart {
    font-size: 9.5px;
    color: lightcyan;
}

#lsnodeschart {
    font-size: 0px;
    color: lightcyan;
}

#website {
    font-size: 9.5px;
}

#header {
    width: calc(100% - 20px);
    max-width: 1000px;

    /* Keeps the original 1000x250 proportion */
    aspect-ratio: 4 / 1;

    position: relative;
    margin: 1px auto 0 auto;

    box-sizing: border-box;

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

#headerTitle {
    position: absolute;
    top: 2px;
    left: 5px;
    margin: 0px 0px;
    font-weight: bold;
    font-size: 0em;
    color: lightcyan;
    line-height: normal;
    letter-spacing: normal;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

#headerTitle a:link {
    text-decoration: none;
    color: lightcyan !important;
}

#headerTitle a:visited {
    text-decoration: none;
    color: lightgray !important;
}

#headerTitle a:hover {
    text-decoration: none;
    color: lightcyan !important;
}

#headerTag {
    position: absolute;
    top: 58px;
    left: 10px;
    margin: 0px 0px;
    color: lightcyan !important;
    font-weight: bold;
    font-size: 1.0em;
    line-height: normal;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
    letter-spacing: normal;
}

#header2Tag {
    position: absolute;
    top: 103px;
    left: 10px;
    margin: 0px 0px;
    font-size: 1.3em;
    color: tan ey637777r!important;
    font-weight: bold;
    line-height: normal;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
    letter-spacing: normal;
}

#header3Tag {
    position: absolute;
    top: 54px;
    left: 10px;
    margin: 0px 0px;
    font-size: 1.3em;
    color: tan;
    font-weight: bold;
    line-height: normal;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
    letter-spacing: normal;
}

#header4Tag {
    position: absolute;
    top: 54px;
    left: 10px;
    margin: 0px 0px;
    font-size: 1.3em;
    color: tan;
    font-weight: bold;
    line-height: normal;
    font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
    letter-spacing: normal;
}

#headerImg {
    position: absolute;
    top: 4px;
    right: 12px;
}

#headerImg2{
    position: absolute;
    top: 4px;
    right: 212px;
}

#mytilepic {
    position: absolute;
    top: -70px;
    right: 128px;
}

#mytilepic2 {
    position: absolute;
    top: 4px;
    right: 227px;
}

#headerLogin {
    position: absolute;
    top: 34px;
    left: 11px;
    font-size: 14px;
    font-family: Verdana,Arial,sans-serif;
    color: darkgray;
}

#headerLogin a:link {
    text-decoration: none;
    color: tan;    
}

#headerLogin a:visited {
    text-decoration: none;
    color: teal;
}

#headerLogin a:hover {
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    color: #4f1316;
}

#menu { 
    position: relative; 
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto; 
    float: none; 
    padding: 4px 4px; 
    box-sizing: border-box; 
    border-bottom-left-radius: 10px; 
    border-bottom-right-radius: 10px; 
    background-color: #4f1316; 
    font-size: 18px; 
    font-family: "Optima", Optima, Sans-Serif; 
    text-align: center; 
}


#menu a {
    display: block;
    padding: 5px 5px 5px 6px;
    text-decoration: none;
    color: tan;
}

#menu a:hover {
    background: #007581;
    font-weight: bold;
}

#menu a.active {
    color: #007581;!important
}

#menu ul { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    text-align: center; 
    list-style-type: none; 
    margin: 0; 
    float: none; 
    padding: 1px 8px 2px 3px; 
    background-color: #4f1316; 
}

#menu li {
    float: left;
}

#menu li a, .dropbtn {
    display: inline-block;
    /** color: white; **/
    text-align: center;
    /** padding: 14px 16px; **/
    text-decoration: none;
}

#menu li a:active {
}

#menu li a.active {
    color: white;
}

#menu li.dropdown {
    display: inline-block;
}

#menu .dropdown-content {
    display: none;
    position: absolute;
    background-color: #007581;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 5;
}

#menu .dropdown-content a {
    color: gold;
    padding: 1px 4px 4px 4px;
    text-decoration: none;
    color: tan;
    display: block;
    text-align: left;
}

#menu .dropdown-content a:hover {
    background-color: black;
    font-weight: bold;
}

#menu .dropdown:hover .dropdown-content {
    display: block;
}

#footer {
    font-size: 20px;
}

table.rtcm {
    border-collapse: collapse;
    border: 3px solid black;
    padding: 5px;
    font-family: verdana,arial,sans-serif;
}

table.rtcm tr {
    font-size: 12px;
}

table.rtcm td {
    white-space: nowrap;
}

table.rtcm th {
    border: 8px #007581;
    font-size: 19px;
    padding: 5px;
    background-color: #007581;
}

table.gridtable {
    font-family: "Optima", Optima, Sans-Serif;
    font-size: 30px;
    color: #4f1316;
    padding: 9px;
    border-width: 10px;
    border-color: #4f1316;
    border-collapse: collapse;
}

table.gridtable th {
    border-width: 2px;
    padding: 4px;
    border-style: solid;
    border-color: black;
    background-color: #007581;
    font-size: 18px;
}

table.gridtable td {
    border-width: 2px;
    padding: 4px;
    border-style: solid;
    border-color: #007581;
    background-color: #5e1810;
    font-size: 15px;
    color: tan;
}

table.gridtable tr.rColor td {
    background-color: #202020;
    font-weight: bold;
    color: #35AEB6;
}

table.gridtable tr.cColor td {
    background-color: red;
    color: lemonchiffon;
}

table.gridtable tr.bColor td {
    background-color: palegreen;
    font-weight: bold;
    color: black;
}

table.gridtable tr.gColor td {
    background-color: #202020;
    font-weight: bold;
    color: #B88847;
}

table.gridtable tr.tColor td {
    background-color: #F5E8C8;
    font-weight: bold;
    color: #4F1316;
}

table.gridtable tr.lColor td {
    background-color: #35AEB6;
    font-weight: bold;
    color: black;
}

.disconnect {
    font-size: 12px;
    text-align: left;
}

.text {
    position: relative;
    margin: 0px 0px 0px 10px;
    width: 330px;
    font-size: 12px;
    text-align: left;
}

.barbox_a {
    position: absolute;
    top: 2px;
    left: 10px;
    margin: 0px 0px 0px 0px;
    width: 302px;
    height: 22px;
    background-color: black;
}

.bar {
    position: relative;
    top: 1px;
    left: 1px;
    margin: 0px 0px 0px 0px;
    width: 0px;
    height: 20px;
    background-color: #0099FF;
    text-align: center;
    color: white;
}

.per {
    position: absolute;
    top: 0px;
    font-size: 12px;
    left: 50%;
    height: 20px;
    margin: 0px 0px 0px 0px;
    background-color: #0099FF;
    color: white;
}

.blank {
    background-color: white;
    width: 300px;
}

#login {
    display: none;
}

#login-header {
    margin: 0 auto;
    position: absolute;
    right: 250px;
}

#login-link {
    position: absolute;
    top: 0px;
    right: 0px;
    display: block;
    background: #2a2a2a;
    padding: 5px 15px 5px 15px;
    color: #FFF;
}

#login-panel {
    position: absolute;
    top: 26px;
    right: 0px;
    width: 200px;
    padding: 10px 15px 5px 15px;
    background: #2a2a2a;
    font-size: 10pt;
    font-weight: bold;
    color: #FFF;
    display: none;
}

label {
    line-height: 1.8;
}

.clearer {
    clear: both;
}

#cpMain {
    display: none;
}

.submit {
    background: lightgray;
    padding: 3px 4px 4px 4px 1px;
    color: black;
}

.submit:hover {
    background: black;
    font-weight: bold;
    padding: 3px 4px 4px 4px 1px;
    color: lemonchiffon;
}

.submit2 {
    background: lightgray;
    padding: 3px 4px 4px 4px 1px;
    color: black;
}

.submit2:hover {
    background: yellow;
    font-weight: bold;
    padding: 3px 4px 4px 4px 1px;
    color: black;
}
/* ====================================================== */
/* RESPONSIVE / MOBILE FIXES                              */
/* ADD THIS TO THE VERY BOTTOM OF supermon.css            */
/* ====================================================== */

/* Fix main page selector */
html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background-color: tan;
    color: #4f1316;
    text-align: center;
    font-size: 12.5px;
    font-family: "Optima", Optima, Sans-Serif;
    box-sizing: border-box;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Keep header centered */
#header {
    width: calc(100% - 20px);
    max-width: 1200px;
    margin: 1px auto 0 auto;
    position: relative;
}

/* Keep menu same width as header */
#menu {
    width: calc(100% - 20px);
    max-width: 1200px;
    margin: 0 auto;
    float: none;
}

/* Let flexbox control menu items */
#menu li {
    float: none;
}

/* Center main tables */
table.gridtable,
table.rtcm {
    margin-left: auto;
    margin-right: auto;
}

/* Center footer */
#footer {
    width: calc(100% - 20px);
    max-width: 1200px;
    margin: 10px auto;
    text-align: center;
    font-size: 11px;
}

/* Images should never force page wider */
img {
    max-width: 100%;
    height: auto;
}


/* ====================================================== */
/* PHONE / SMALL SCREEN                                   */
/* ====================================================== */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        font-size: 11px;
    }

    #header {
        width: calc(100% - 10px);
        max-width: 100%;
        margin: 5px auto 0 auto;
        overflow: hidden;
    }

    #menu {
        width: calc(100% - 10px);
        max-width: 100%;
        margin: 0 auto;
        padding: 5px;
        font-size: 15px;
    }

    #menu ul {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 2px;
        margin: 0;
        padding: 2px;
    }

    #menu li {
        float: none;
        display: inline-block;
    }

    #menu a {
        padding: 6px 6px;
        font-size: 14px;
    }

    /* Dropdown menu */
    #menu .dropdown-content {
        min-width: 140px;
        z-index: 999;
    }

    /* Node line */
    .nodeNum {
        margin: 3px;
        font-size: 11px;
    }

    #bubblechart {
        font-size: 9px;
    }

    #website {
        font-size: 9px;
    }

    /* Tables */
    table.gridtable,
    table.rtcm {
        width: auto;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 10px;
    }

    table.gridtable th,
    table.gridtable td {
        padding: 2px;
        font-size: 9px;
        white-space: nowrap;
    }

    table.rtcm th,
    table.rtcm td {
        padding: 2px;
        font-size: 9px;
    }

    /* Footer */
    #footer {
        width: calc(100% - 10px);
        max-width: 100%;
        margin: 8px auto;
        text-align: center;
        font-size: 9px;
    }

    /* Header text/images */
    #headerTitle,
    #headerTag,
    #header2Tag,
    #header3Tag,
    #header4Tag,
    #headerImg,
    #headerImg2,
    #mytilepic,
    #mytilepic2,
    #headerLogin {
        max-width: 100%;
    }
}


/* ====================================================== */
/* VERY SMALL PHONES                                      */
/* ====================================================== */

@media screen and (max-width: 480px) {

    #menu {
        font-size: 13px;
    }

    #menu a {
        font-size: 12px;
        padding: 5px 4px;
    }

    table.gridtable th,
    table.gridtable td {
        font-size: 8px;
        padding: 2px;
    }

    .nodeNum {
        font-size: 10px;
    }

    #bubblechart,
    #website {
        font-size: 8px;
    }

    #footer {
        font-size: 8px;
    }
}
