﻿@media only screen and (min-height: 575.98px) and (min-width: 600px) {

    .headeritem {
        grid-area: 1 / span 6;
    }

        .headeritem > h1 {
            font-size: 2em;
        }

    .itemmainsmall {
        display: none;
    }

    .itemmainlarge {
        display: block;
        grid-area: 3 / span 6;
        padding-left: 1.5em;
    }

    .footeritem {
        margin-left: -40px;
        margin-right: -40px;
        padding-left: 10px;
        padding-right: 10px;
    }

    div {
        padding-left: 1.5em;
    }

    /* THE MEDIA TAG ENDED HERE */

    footer {
        height: 3rem;
        width: 100%;
        background: lightblue;
        position: fixed;
        bottom: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

        footer span {
            margin: 1em 3em;
        }

    /*
.footeritem {
    grid-area: footer;
}*/

    header {
        background-color: white;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 200px;
        display: flex;
        align-items: center;
    }

        header * {
            display: inline-block;
            vertical-align: central;
            padding-right: 10px;
        }

    .grid-container {
        display: grid;
        gap: 10px;
        background-color: white;
        padding: 10px;
    }

    /*
.headeritem {
    grid-area: header;
}*/

    .menu > ul {
        float: left;
        width: 100%;
        height: 27px;
        line-height: 27px;
    }

    .menu ul {
        min-width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .menu > ul > li {
        position: relative;
        border-right: 1px solid #444;
    }

    .menu ul > li {
        float: left;
    }

        .menu ul > li:first-of-type {
            padding-left: 30px;
        }

        .menu ul > li:last-of-type {
            border-right: none;
        }

    .menu > ul > li > a:hover {
        color: #2e65a7;
    }

    .menu > ul > li:first-of-type > a {
        margin: 0 15px 0 0;
    }

    .menu > ul > li > a {
        margin: 0 15px;
        text-decoration: none;
    }

    .menu li > a {
        display: block;
        position: relative;
        margin: 0;
        padding: 0;
    }

    a {
        text-decoration: none;
        font-size: 16px;
    }

    nav ul {
        list-style: none;
        margin: 0 2px;
        padding: 0;
    }

    main {
        margin-top: 210px;
    }

    .live-service-link {
        float: left;
    }

    .planned-maintenance-link {
    }

    .history-link {
    }
    /*
.itemmainlarge {
    grid-area: main;
}*/

    table {
        width: 100% !important;
        margin-left: -3px;
    }

    th {
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 0.5em;
        padding-bottom: 1em;
    }

    td {
        padding-left: 1em;
        padding-right: 1em;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        border-bottom: 1px dotted black;
    }

    hr {
        border: 1px dotted;
        border-style: none none dotted;
        color: #D3D3D3;
        padding-bottom: 10px;
    }

    details {
        color: blue;
    }

        details[open] summary {
            color: blue;
            background-color: yellow;
        }

        details[open] {
            color: black;
            background-color: #f1f1f1;
        }

    #singlediv {
        height: calc(100vh - 350px) !important;
        overflow-y: auto
    }

    #outerdiv {
        height: calc(100vh - 350px) !important;
        width: 100%;
        overflow: hidden;
    }

    #innerdiv {
        width: 100%;
        height: 100%;
        overflow: auto;
    }

    .clipped {
        position: absolute !important;
        height: 1px;
        width: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
    }
}
