.standardBody {
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

.nsl-container{
    margin:1em;
}

.hidden {
    display: none;
}

.invisible {
    visibility:hidden;
}

.invalid-input {
    border-color: red;
}


.standardSelectButton {
    height: 30px;
    line-height:0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #1f73bb;
    color: white;
    background-color: #1f73bb;
    cursor: pointer;
    font-size: larger;
}

.standardSelectButton:disabled {
    background-color: grey;
    border-color: grey;
    cursor: default;
}

.standardSelectButton option {
    background-color: white;
    color: #1f73bb;
}

.standardSelectButton.red {
    border-color: #db0000;
    background-color: #db0000;
}

.standardSelectButton.red option {
    background-color: white;
    color: #db0000;
}



.standardToggle, .standardCheckbox, .standardNumericInput {
    height: 30px;
    line-height:0px;
    display: flex;
    font-size: larger;
    align-items: center;
}

.standardToggle i {
    font-size: 35px;
    cursor: pointer;
    color: grey;
}

.standardToggle i.toggleOn {
    color: #1f73bb;
}

.standardToggle text {
    text-wrap:nowrap;
}

.standardCheckbox {
    /* height: 30px; */
    /* line-height:0px; */
    margin-top: 5px;
    display: flex;
    font-size: larger;
    align-items: center;
}

.standardCheckbox i {
    font-size: 25px;
    cursor: pointer;
    color: #1f73bb;
    margin-right: 3px;
}

.standardNumericInput text {
    margin-right: 3px;
}

.standardNumericInput input {
    border-color: #1f73bb;
    border-radius: 4px;
    width: 100px;
}

.standardIconTextButton {
    height: fit-content;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border: 2px solid #1f73bb;
    color: white;
    background-color: #1f73bb;
    cursor: pointer;
    font-size: larger;
    padding-top: 0;
    padding-bottom: 0;
}

.standardIconTextButton:disabled {
    background-color: grey;
    border-color: grey;
    cursor: default;
}

.standardIconTextButton:hover:not([disabled]):not(.activeTab){
    color: #1f73bb;
    background-color: white;
}

.standardIconTextButton text {
    margin-left: 5px;
}

.standardInlineIconText, .standardInlineIconText i {
    font-size: 12px;
    line-height: 12px;
}

div.standardSlider {
    width: 130px;
    height: 22px;
    line-height: 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.standardSlider input {
    line-height: 22px;
    display: inline-block;
    width: 100px;
    accent-color: #1f73bb;
}

.standardSlider text {
    line-height: 22px;
}

.standardTabContainer {
    padding: 20px;
    padding-bottom: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
    border-bottom: 2px solid #1f73bb;
}

.standardTabContainer .standardIconTextButton {
    border-bottom: 0;
}

.standardTabContainer .activeTab {
    cursor: default;
}

.standardTabContainer .standardIconTextButton:not(.activeTab) {
    background-color: white;
    color: #1f73bb;
}

.standardTabContainer .standardIconTextButton:not(.activeTab):hover {
    background-color: #1f73bb;
    color: white;
}

.standardPageContainer {
    width: 100%;
    padding: 0;
}

.standardTabPage {
    display: none;
}

.standardTabPage.activePage {
    display: block;
    width: 100%;
}

.sectionFlexContainer {
    display: flex;
    flex-wrap: wrap;
    overflow-x:auto;
    gap: 14px;
    margin: 15px;
}

.section {
    display: block;
    /*min-width: 400px;*/
    margin: 0;
    border: 2px solid #1f73bb;
    flex-grow: 50;
    overflow-wrap: anywhere;
}

.section h2 {
    position: relative;
    margin: 0;
    left: 0;
    top: 0;
    border: 0;
    width: 100%;
    height: 30px;
    background-color: #1f73bb;
    color: white;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
}

.section .contentPadding {
    position: relative;
    margin: 0;
    left: 0;
    top: 0;
    border: 0;
    width: 100%;
    min-height: 200px;
    padding: 4px;
}

.contentPadding .content {
    margin: 4px;
}

.standardSubtleButton {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid grey;
    background-color: unset;
    cursor: pointer;
    font-size: larger;
}

.standardSubtleButton:hover:not([disabled]){
    border-color: #1f73bb;
    color: #1f73bb;
}

.standardSubtleButton:disabled {
    color: grey;
    cursor: default;
}

.standardSubtleButton text {
    margin-left: 5px;
}

.standardSubtleButtonActive {
    background-color: #1f73bb;
    color: white;
}

.standardSubtleButtonActive:hover:not([disabled]){
    background-color: unset;
    color: #1f73bb;
    border-color: #1f73bb;
}

.radioWrapper {
    padding: 0;
    border-radius: 5px;
    border: 5px solid #adadad;
    margin-bottom: 5px;
}

.radioWrapper h3 {
    background-color: #adadad;
    color: black;
    margin: 0;
    border: 0;
    padding: 2px;
    width:100%;
    font-size: 18px;
}

.packetWrapper {
    margin: 0;
    border: 0;
    padding: 10px;
    padding-left: 20px;
}

.packetWrapper:not(:last-child) {
    border-bottom: 1px solid;
    border-color: inherit;
}

.packetWrapper h4 {
    margin-top: 5px;
    margin-bottom: 0px;
    font-size: 16px;
    color: black;
}

.packetWrapper text {
    display: block;
    color: black;
}

.packetWrapper div {
    display: inline-block;
    vertical-align: top;
}

.packetWrapper div.headers {
    min-width: 170px;
}

.packetWrapper div.data {
    padding-left: 3px;
}

.packetWrapper div.labels {
    padding-left: 20px;
    padding-right: 5px;
    border-right: 1px solid rgb(158, 158, 158);
    margin-right: 1px;
}

.packetWrapper div.labels text, .packetWrapper div.data text {
    line-height: 15px;
    font-family: monospace;
    max-width: 312px;
}

.packetWrapper div.labels text {
    text-align: end;
    font-size: 13px;
}

.packetWrapper div.data text {
    font-size: 14px;
}

.packetWrapper .rawData {
    font-family: monospace;
}

.packetWrapper .helpText {
    font-size: 11px;
    font-weight: 300;
    color:rgb(145, 145, 145);
    margin-bottom: 10px;
}

.smallChart {
    height: 150px;
    width: 400px;
    align-content: center;
    display: flex;
    flex-wrap: wrap;
}

.smallMap {
    height: 140px;
    width: 200px;
}

.mediumGauge {
    height: 160px;
    width: 160px;
}

.packetWrapper div.smallMap {
    margin-left: 20px;
}

#faderMask {
    z-index: 100;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: black;
    opacity: 0.7;
}

#faderContent {
    z-index: 101;

    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;

    padding: 0;
    color: black;
    background-color: white;
}

.faderCloseIcon {
    font-size:25px;
    position:absolute;
    top: 2px;
    right:5px;
    cursor:pointer;
}

.faderCloseIcon:hover {
    font-size:29px;
    top:0px;
    right:3px;
}

.timelineWrapper {
    width: 100%;
    height: fit-content;
    position: sticky;
    top:-2px;
    z-index:50;
    overflow: hidden;
    background-color: #e1e1e1;
}

.timeline {
    width: 100%;
    height: 100px;
    overflow: hidden;
    background-color: #e1e1e1;
    /* border-top: 1px solid #000;
    border-bottom: 1px solid #000; */
}

.category-line {
    position: absolute;
    width: 100%;
    border-bottom: 2px solid #000;
}

.blip {
    position: absolute;
    width: 5px;
    height: 16px;
    cursor: pointer;
    background-color: black;
}

.packetBlip {
    top: 15px;
}

.packetBlip.format1390 {
    background-color: grey;
}

.packetBlip.format1411{
    background-color: green;
}

.packetBlip.format1421 {
    background-color: blue;
}

.blipHover {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #000;
    padding: 5px;
    z-index: 1000;
    width: 300px;
    height: 20px;
    pointer-events: none; /* Allows interactions with elements underneath */
}

.timeIndicator {
    position: absolute;
    width:fit-content;
    top: 0;
    height: 80px;
    font-size: 11px;
    border-left: solid grey 1px;
}

.animator {
    height: 100%;
    width: 100%;
    position: absolute;
}

@media (max-width: 1000px) {
    #faderContent {
        width: 95%;
    }
}

@media screen and (max-width: 700px){
    .packetWrapper {
        padding: 4px;
    }

    .standardTabContainer {
        padding-left: 0;
        padding-right: 0;
        gap: 5px;
        justify-content: center;
    }

    .standardTabContainer .standardIconTextButton:not(.activeTab) text {
        display: none;
    }

    .sectionFlexContainer {
        margin: 2px;
    }
}

@media screen and (max-width: 500px){
    .smallChart {width: 400px;}
}

@media screen and (max-width: 400px){
    .smallChart {width: 300px;}
}
