html {
    scroll-behavior: unset;
}

#jump-navigation {
    background-color: #F7FAFF;
    color: #5A77A8;
    padding: 10px 30px;
    width: auto;
    border: 1px solid #C9C9C9;
}

#years {
    background-color: #5a77a8;
    color: #ffffff;
}

#months {
    background-color: #728ebe;
    text-transform:uppercase;
    color: #ffffff;
}

#netcraft-survey-years,
#most-reliable-years {
    background-color: #999999;
    color: #ffffff;
}

#netcraft-survey-months,
#most-reliable-months {
    background-color: #dddddd;
    color: #0040AF;
    text-transform:uppercase;
    text-decoration: underline;
}

#netcraft-survey-years, #netcraft-survey-months,
#most-reliable-years, #years , #most-reliable-months, #months {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    margin: 0px auto;
    padding: 0px;
    list-style: none;
    cursor: pointer;
}

#netcraft-survey-years li, #netcraft-survey-months li,
#most-reliable-years li, #years li, #most-reliable-months li, #months li {
    width: auto;
    text-align: center;
    padding: 3px;
    margin: 0px;
}

#netcraft-survey-years li:hover,
#most-reliable-years li:hover {
    background-color: #DDDDDD;
    color: #000000;
}

#netcraft-survey-months li:hover,
#most-reliable-months li:hover {
    background-color: #fff;
}

#netcraft-survey-years li.active,
#most-reliable-years li.active {
    background-color: #DDDDDD;
    color: #000000;
}

#netcraft-survey-months li.active,
#most-reliable-months li.active {
    background-color: #ffffff;
}

#netcraft-survey-months li.greyed,
#most-reliable-months li.greyed {
    color: #999999;
    background-color: #DDDDDD;
    text-decoration: underline;
}

#netcraft-survey-months li.top,
#most-reliable-months li.top {
    font-weight: bold;
}

#netcraft-survey-content,
#most-reliable-content {
    background-color: #F7FAFF;
}

#netcraft-survey-table,
#most-reliable-table {
    width: 100%;
}

#netcraft-survey-table td,
#most-reliable-table td {
    padding: 10px 12px;
    border: 1px solid #DDDDDD;
}

#netcraft-survey-table thead,
#most-reliable-table thead {
    background-color: #ffffff;
    color: #707070;
    padding: 20px;
    font-weight: bold;
}

#netcraft-survey-table tbody,
#most-reliable-table tbody {
    background-color: #F7FAFF;
}

#netcraft-survey-table #monthly-performance-rank,
#most-reliable-table #monthly-performance-rank {
    background-color: #ffffff;
}

/*
#months li.greyed  {
    color: #999999;
    background-color: #728EBE;
}
*/

#years li:hover {
    background-color: #728ebe;
}

#months li:hover {
    background-color: #fff;
    color: #5a77a8;
}

#years li.active {
    background-color: #728ebe;
}

#months li.active {
    background-color: #fff;
    color: #5a77a8;
}


#events {
     margin: 0px 0px 50px 0px;
     background-color: #F7FAFF;
     position: relative;
}

#event-items {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

#event-items li{
    position: relative;
    width: 100%;
    margin: 25px auto;
    padding: 0px;
}

.event-item {
    display: flex;
}

.event-date {
    flex: 0 0 75px;
    margin-right: 25px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    color: #5a77a8;
    border-top: 1px dashed #5a77a8;
    cursor: pointer;
}

.event-date a, .event-date a:hover {
    font-weight: bold;
    font-size: 16px;
    color: #5a77a8;
}

.event-content {
    flex-grow: 1;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #5a77a8;
    padding: 0px;
    margin-right: 10px;
    background-color: #E0ECFF;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-width: 0px 0px 0px 5px;
    border-style: solid;
    border-color: #5a77a8;
    background-color: #4D658C;
}

.event-content .event-header:hover {
    background-color: #5A77A8;
}

.event-header a {
    flex-grow: 1;
}

.event-content .event-heading {
    text-align: left;
    width: auto;
    color: #ffffff;
    padding: 5px;
    font-weight: bold;
    font-size: 16px;
}


.event-summary {
    padding: 10px;
    display: grid;
    grid-template-areas: 'image text' 'link link';
    grid-gap: 10px;
}

.event-summary th {
    background: none;
}

.event-image {
    width: 150px;
    grid-area: image;
}

@media(max-width: 650px) {
    .event-summary { grid-template-areas: 'text' 'link'; }
    .event-image { display: none; }
}

.event-text {
    margin: 0;
    grid-area: text;
}

a.read-more {
    grid-area: link;
    text-decoration: none;
    color: #4D658C;
    justify-self: flex-end;
    padding: 5px;
}

a.read-more:hover {
    background-color: #5A77A8;
    color: #fff;
}

#event-frame {
    /*
    height: 500px;
    overflow-y: scroll;
    */
    border: 1px solid #728ebe;
    border-left: 2px dashed #728ebe;
}

#uptime-table {
    margin-right: 5px;
}

#uptime-table td {
    padding: 10px 12px;
}

#uptime-table thead{
    background-color: #5A77A8;
    color: #ffffff;
    padding: 20px;
    font-weight: bold;
}

#uptime-table tbody {
    background-color: #F7FAFF;
}

#uptime-table .uptime-time-period {
    background-color: #E0ECFF;
    font-weight: bold;
}

#uptime-table .headings-left {
    background-color: #5A77A8;
    color: #ffffff;
    font-weight: bold;
    width: 100px;
}

#timelineControls {
    width: 100%;
    z-index: 100;
}

#timelineControlsContainer {
    background-color: #728EBE;
    margin-top: 15px;
}

#timelineControlsHeading {
    background-color:#4D658C;
    color: #fff;
    padding: 20px;
    margin: 0px;
}

#mostReliableControlsHeading {
    background-color:#888888;
    color: #fff;
    padding: 20px;
    margin: 0px;
}


.normalControls {
    position: relative;
}

.floatControls {
    position: fixed;
    top: 66px;
}

.timeline-year {
    border-top: 1px dashed #5a77a8;
    font-weight: bold;
    font-size: 16px;
    color: #5a77a8;
    border-top: 1px dashed #5a77a8;
    padding: 5px;
    margin: 0px 0px 30px 0px;
    text-align: center;
}

#timeline-tooltip {
    display: none;
    color: #000;
    position: absolute;
    top: 26px;
    left: 0px;
    z-index: 90;
    border-top: 1px dashed #5a77a8;
    /*width: 100%;*/
}

#timeline-performance-rank {
    position: relative;
    top: -10px;
    left: 15px;
    width: 50px;
    color: #4D658C;
    background-color: #F7FAFF;
    border: 1px dashed #5a77a8;
    text-align: center;
    cursor: pointer;
}

.event-outage .event-content {
    background-color: #FFE0E0;
}

.event-outage .event-header {
    background-color: #894B4B;
    border-width: 0px 0px 0px 5px;
    border-style: solid;
    border-color: #A55959;
}

.event-outage .event-header:hover {
    background-color: #A55959;
}

.event-outage .event-content {
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #894B4B;
}

.event-outage a.read-more {
    color: #894B4B;
}

.event-outage  a.read-more:hover {
    background-color: #A55959;
    color: #ffffff;
}

#pageList {
    height: 250px;
    overflow-y: auto;
}

#pageList li, #share-selection-visit {
    list-style: none;
    margin: 0px 15px 15px 0px;
    cursor: pointer;
    background-color: #4D658C;
    padding: 10px;
    color:#fff;
    cursor: pointer;
    display: block;
    width: 130px;
    height: 140px;
    float: left;
    text-align: center;
    overflow: hidden;
}

#share-selection-visit {
    width: 500px;
    height: auto;
    text-align: left;
    background-image: none;
}

#pageList li:hover, #share-selection-visit:hover {
    background-color: #5A77A8;
}

#pageList img {
     margin-bottom: 10px;
     width: 100px;
     vertical-align: middle;
}

.share {
    opacity: 0.2;
    cursor: pointer;
    padding: 0 10px;
    flex-shrink: 0;
}

.share a, .share a:visited, .share a:active {
    color: #fff;
    padding: 0 0.25em;
}

.overlayHeading {
    font-family: arial;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}


.nav--inline {
    display: inline-block;
}
.nav--inline .flyout {
    vertical-align: middle;
}
.nav--inline .flyout a:hover {
    border-bottom: none;
}
.nav--inline .flyout__content {
    margin-left: 0;
    background: #EEE;
    z-index: 50;
    -webkit-box-shadow: 10px 10px 10px #888;
       -moz-box-shadow: 10px 10px 10px #888;
            box-shadow: 10px 10px 10px #888;
}
.nav--inline .flyout__content li {
    text-align: left;
}
.nav--inline .flyout:hover .flyout__content--right {
    left: auto;
    right: 0;
}

.collectorMenuItems {
    width: 520px;
}
.sampleMenuItems {
    width: 260px;
}
.collectorMenuItems li, .sampleMenuItems li {
    width: 50%;
    float: left;
}
@media (max-width: 600px) {
    .collectorMenuItems {
        width: 100%;
    }
    .collectorMenuItems li {
        width: 100%;
    }
}

.sampleTextDropdown,
.collectorMapLinkDropdown,
.collectorMenuItems li,
.sampleMenuItems li {
    display: inline-block;
    background: #EEE url('/images/timeline/pins/netcraft.png') 5px 5px no-repeat;
    color: #000;
    margin: 0px;
    padding: 12px;
    padding-left: 35px;
    cursor: pointer;
}

.sampleTextDropdown, .sampleMenuItems li {
    background-image: url('/images/timeline/pins/monitoring.png');
}

.sampleMenuItems li:hover, .collectorMenuItems li:hover {
    background-color: #FFF;
}

.sampleTextDropdown {
    margin-right: 5px;
}

.collectorMapLinkDropdown {
    margin-left: 5px;
}

.sampleTextDropdown:after, .collectorMapLinkDropdown:after {
    content: '\25BC';
    float: right;
}


a.collectorMapLink.collectorMapLinkDropdown, a.collectorMapLink.collectorMapLinkDropdown:hover {
    color: #000;
}

#switching-table {
    margin-left: auto;
    margin-right: auto;
}

#graph-legend-0 td, #graph-legend-0 tr {
    padding: 0px;
    margin: 0px;
    height: 20px;
    border: 0px;
}

#graph-legend-0 table {
    border: 0px;
    width: 100%;
}

.timeline-menu {
    margin: 0px;
    padding: 0px;
    list-style: none;
    width: 100%;
    height: 30px;
}

.timeline-menu li {
    float: left;
    padding: 0px;
    margin: 5px 5px 0px 5px;
    height: 30px;
}

.timeline-menu button, .graph-controls button {
    height: 31px;
    padding: 5px;
    background-color: #E8EAF4;
    border: 1px solid #E0E3F6;
    color: #0040AF;
    font-size: 14px;
    cursor: pointer;
}

.timeline-menu button.active, #timeline-menu button:hover {
    background-color: #fff;
}

.pieLabel input[type=checkbox] {
    display: none !important;
}
