html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: sans-serif !important;
    font-size: 13.5px !important;
    margin: unset;
    margin-left: unset;
}

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;
    }

.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 {
    
}

.planned-maintenance-link {
    
}

.history-link {
    
}

[style] {
    font-family: sans-serif !important;
    font-size: 13.5px !important;
}
.indicator.Available {
    background: #28B62C;
    display: inline-block;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    /* THE ANIMATION BELOW HAS BEEN DELIBERATELY COMMENTED OUT AS IT DOES NOT SCROLL NICELY ON A SMALL SCREEN */
    /*-webkit-animation: pulse-animation 2s linear;*/
}

.indicator.Available::after {
    content: "Available";
    padding: 2px;
    display: inline-block;
    visibility: hidden;
    position: relative;
    right: -20px;
    width: 80px;
    text-align: center;
    background-color: #fef4c5;
    border: 1px solid #d4b943;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.indicator.Available:hover {
    -webkit-animation-play-state: paused;
}

.indicator.Available:hover::after {
    visibility: visible;
}

/* THE ANIMATION BELOW HAS BEEN DELIBERATELY COMMENTED OUT AS IT DOES NOT SCROLL NICELY ON A SMALL SCREEN */
/*@-webkit-keyframes pulse-animation {
    0% {
        -webkit-transform: scale(1);
    }

    25% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2)
    }

    75% {
        -webkit-transform: scale(1);
    }

    100% {
        -webkit-transform: scale(1);
    }
}*/

.indicator.issue {
    width: 0;
    height: 0;
    border-left: 0.5em solid transparent;
    border-right: 0.5em solid transparent;
    border-top: 1em solid #FFA500;
    display: inline-block;
}

    .indicator.issue::after {
        content: "Issues reported";
        padding: 2px;
        display: inline-block;
        visibility: hidden;
        position: relative;
        top: -10px;
        right: -10px;
        width: 120px;
        text-align: center;
        background-color: #fef4c5;
        border: 1px solid #d4b943;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
    }

    .indicator.issue:hover::after {
        visibility: visible;
    }

.indicator.offline {
    background: #FF4136;
    display: inline-block;
    width: 1em;
    height: 1em;
}
.indicator.offline::after {
    content: "Unavailable";
    padding: 2px;
    display: inline-block;
    visibility: hidden;
    position: relative;
    right: -20px;
    width: 80px;
    text-align: center;
    background-color: #fef4c5;
    border: 1px solid #d4b943;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.indicator.offline:hover::after {
    visibility: visible;
}

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

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;
}

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;
}

.grid-container {
    display: grid;
    grid-template-areas:
        'header header header header header'
        'main main main main main main'
        'footer footer footer footer footer footer';
    gap: 10px;
    background-color: white;
    padding: 10px;
}

    .grid-container > header {
        padding: 10px;
        font-size: 16px;
        margin-bottom:20px;
    }

.headeritem {
    grid-area: header;
}

.itemmainsmall {
    grid-area: main;
}

.itemmainlarge {
    grid-area: main;
}

.footeritem {
    grid-area: footer;
}

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

@media only screen and (max-width: 600px) and (orientation: portrait)  {
    .headeritem {
        grid-area: 1 / span 6;
        height: auto !important;
    }

    .headeritem > h1 {
        font-size: 1.5em;
        width: 100%;
        text-align: right;
    }

    .headeritem > a {
        height: auto;
        max-width: 25%;
    }
    
    .headeritem > a > img {
        height: auto;
        max-width: 100%;
    }

    .headeritem > nav {
        display: none;
    }

    .itemmainsmall {
        grid-area: 2 / span 6;
        padding-left: 0 !important;
    }

    .itemmainsmall > h1 {
        font-size: 1.5em;
    }

    .itemmainsmall > div {
        padding-left: 0.25em !important;
    }

    .itemmainlarge {
        display: none;
    }

    .footeritem {
        grid-area: 4 / span 6;
        display: none;
    }

    main {
        margin-top: 90px;
    }

    .innerdiv {
        padding-left: 0.25em !important;
    }

    .panel-default {
        border-color: #ddd;
    }

        .panel-default > .panel-heading {
            color: #333;
            background-color: #f5f5f5;
            border-color: #ddd;
            border-bottom: 1px solid thin;
        }

    .hidden-lg {
        display: block !important;
    }

    .hidden-md {
        display: block !important;
    }

    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-right-radius: 3px;
        border-top-left-radius: 3px;
    }

    .sp-content-heading a {
        color: #000;
        display: block;
        text-decoration: none;
    }

    #statusImage > img {
        width: 20px;
        height: auto;
    }

    a:hover, a:focus {
        text-decoration: underline;
    }

    a:active, a:hover {
        outline: 0;
    }

    a {
        color: blue;
        text-decoration: none;
    }

    a {
        background: transparent;
    }

    .sp-nav-icon {
        margin-right: 10px;
    }

    .pull-right {
        float: right !important;
    }

    img {
        vertical-align: middle;
    }

    img {
        border: 0;
    }

    .panel-body {
        padding: 15px;
    }

    .divwithoutborderbottom {
        border-bottom: none;
        margin-bottom: 10px;
    }

    .divwithborderbottom {
        border-bottom: 1px dotted #D3D3D3;
        margin-bottom: 10px;
        width: 100%;
    }

    #messagediv {
        margin-bottom: 10px;
    }
}

@media only screen and (max-height: 575.98px) and (orientation: landscape) {
    .headeritem {
        grid-area: 1 / span 6;
        height: auto !important;
    }

        .headeritem > h1 {
            font-size: 1.5em;
            width: 100%;
            text-align: right;
        }

        .headeritem > a {
            height: auto;
            max-width: 25%;
        }

            .headeritem > a > img {
                height: auto;
                max-width: 100%;
            }

        .headeritem > nav {
            display: none;
        }

    .itemmainsmall {
        grid-area: 2 / span 6;
        padding-left: 0 !important;
    }

        .itemmainsmall > h1 {
            font-size: 1.5em;
        }

        .itemmainsmall > div {
            padding-left: 0.25em !important;
        }

    .itemmainlarge {
        display: none;
    }

    .footeritem {
        grid-area: 4 / span 6;
        display: none;
    }

    main {
        margin-top: 120px;
        height: 100%;
    }

    .innerdiv {
        padding-left: 0.25em !important;
    }

    .panel-default {
        border-color: #ddd;
    }

        .panel-default > .panel-heading {
            color: #333;
            background-color: #f5f5f5;
            border-color: #ddd;
            border-bottom: 1px solid thin;
        }

    .hidden-lg {
        display: block !important;
    }

    .hidden-md {
        display: block !important;
    }

    .panel-heading {
        padding: 10px 15px;
        border-bottom: 1px solid transparent;
        border-top-right-radius: 3px;
        border-top-left-radius: 3px;
    }

    .sp-content-heading a {
        color: #000;
        display: block;
        text-decoration: none;
    }

    #statusImage > img {
        width: 20px;
        height: auto;
    }

    a:hover, a:focus {
        text-decoration: underline;
    }

    a:active, a:hover {
        outline: 0;
    }

    a {
        color: blue;
        text-decoration: none;
    }

    a {
        background: transparent;
    }

    .sp-nav-icon {
        margin-right: 10px;
    }

    .pull-right {
        float: right !important;
    }

    img {
        vertical-align: middle;
    }

    img {
        border: 0;
    }

    .panel-body {
        padding: 15px;
    }

    .divwithoutborderbottom {
        border-bottom: none;
        margin-bottom: 10px;
    }

    .divwithborderbottom {
        border-bottom: 1px dotted #D3D3D3;
        margin-bottom: 10px;
        width: 100%;
    }

    #messagediv {
        margin-bottom: 10px;
    }
}

@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 {
        grid-area: 3 / span 6;
        padding-left: 1.5em;
    }

    .footeritem {
        grid-area: 4 / span 6;
    }

    div {
        padding-left: 1.5em;
    }
}
