body {
    background: #202123;
}

* {
    color: white;
}

/* ========================HEADER=================== */
.header {
    min-height: 140px;
}

.lg-logo {
    max-width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-position: center center;
}

.gas_line_title {
    font-size: 3.5rem;
    text-align: center;
    background: #59595a;
    border-radius: 0 0 30px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gas_line_title span {
    font-size: 4rem;
    color: #93ea39;
    font-weight: bold;
}

#time {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: right;
    line-height: 2.3rem;
}

.info_wrap {
    display: inline-block;
    line-height: 1.8rem;
}
#info_area {
    text-align: center;
    padding: 0 10px;
    border: 1px solid #a1a1a1;
}
.info-title {
    font-size: 1.2rem;
    color: #8ec753;
    font-weight: bold;
}

#date,
#shift,
.line {
    font-size: 1.4rem;
    color: #a2a1a1;
    font-weight: bold;
}

/* ==========History button================ */
#history_btn {
    padding: .355rem .25rem;
    margin: .2rem 1rem;
    box-shadow: none!important;
}

#history_icon {
    width:25px;
    height:25px;
}

.btn-info {
    background-color:#804242!important;
    border-color:#804242!important;   
}
.btn-info:hover{
    background-color:#723535!important;
    border-color:#834040!important;
    box-shadow: none!important;
}
.btn-info:active {
    background-color:#662e2e!important;
    border-color:#662e2e!important;
    box-shadow: none!important;
}

/* ==============FLATPICKR DATEPICKER ON HISTORY FORM================== */

.flatpickr-input {
    display:block;
    width:100%;
    color:black!important;
    border: 1px solid #ced4da!important;
    border-radius: 4px!important;
}

.form-control:disabled, .form-control[readonly] {
    background-color: white!important;
}

.flatpickr-day.today {
    border-color: #8ec753!important;
}

.flatpickr-day.today:hover, .flatpickr-day.today:focus {
    background: #539b07!important;
}

.flatpickr-day.selected {
    background:#8ec753!important;
    border:#8ec753!important;
}
.flatpickr-current-month .numInputWrapper {
    color: black!important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
    color: black!important;
}

.modal-header {background:#8ec753}
.modal-header .heading {
    font-size:2rem;
    font-weight:600;
}

.modal-body {
    padding: 0.5rem 1rem;
}

.modal-body p {
    font-size: 1.6rem;
}

/* ==========End of History button CSS================ */

/* ==============END OF HEADER=================== */
/* ==============PRODUCT INFO=================== */
.product_info {
    min-height: 250px;
}

#prod_info {
    min-height: 250px;
    border: 1px solid #a1a1a1;
    padding: 10px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
}

#prod_info tr td {
    line-height: 3rem;
    font-size: 1.8rem;
    color: #86f019;
    overflow: hidden;
    text-overflow: ellipsis;
}

#meter_type,
#rty,
#target {
    font-weight: bold;
}

.output {
    font-size: 1.6rem;
    text-align: center;
    line-height: 1.7rem;
}

.output span {
    position: relative;
    top: 45px;
    font-weight: 400;
}

#rty_wrap span {top:0;}

#output {
    min-height: 180px;
    justify-content: center;
    color: #86f019;
    font-size: 7rem;
    font-weight: bold;
    line-height: 6rem;
}

#output_sideA,
#output_sideB {
    justify-content: center;
    color: #86f019;
    font-size: 4rem;
    font-weight: bold;
    line-height: 4rem;
}

.subtitle {
    font-size: 1.3rem;
}

#speed,
#speedavg {
    height: 300px;
}

.chart_title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 20px 0;
}

.chart_title span {
    font-size: 1.3rem;
    font-weight: normal;
}

#chart {
    /* min-height: 470px !important; */
}

#rtychart text {
    fill: #a2a1a1 !important;
}
.highcharts-credits {
    visibility: hidden !important;
}

.highcharts-label text {
    font-size: 16px !important;
}

#rty_percent {
    text-align: right;
    font-weight: bold;
    font-size: 2.3rem;
    color: white;
}

#rty_percent span {
    font-size: 1.6rem;
    color: white;
}

#rtychart svg path {
    stroke-width: 1 !important;
}

#screensaver {
    display: none;
    width: 1920px;
    height: 1080px;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
}
.screensaver_box {
    width: 500px;
    height: 300px;
}
.screensaver_image {
    width: 500px;
}
/* ==============END OF PRODUCT INFO=================== */

.padding-tb-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.padding-t-0 {
    padding-top: 0 !important;
}

/* ====================MEDIA QUERIES======================= */

@media only screen and (min-width: 1475px) {
    .lg-logo {
        max-width: 120%;
    }
    .datetime {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 1285px) and (max-width: 1475px) {
    .lg-logo {
        max-width: 140%;
    }
}

@media only screen and (min-width: 1297px) and (max-width: 1475px) {
    .datetime {
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1297px) {
    .datetime {
        font-size: 1.2rem;
    }
}

@media only screen and (min-width: 1053px) and (max-width: 1297px) {
    .datetime {
        font-size: 1.1rem;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1053px) {
    .datetime {
        font-size: 1rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
    .datetime {
        font-size: 0.94rem;
    }
}

@media only screen and (min-width: 990px) and (max-width: 1285px) {
    .lg-logo {
        max-width: 140%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 990px) {
    .lg-logo {
        max-width: 110%;
    }
}

#myspeed,
#myavgspeed {
    z-index: 1999 !important;
}

.target_marker > .highcharts-data-label {
    visibility: hidden !important;
}

.speed_labels > .highcharts-data-label {
    visibility: visible !important;
    z-index: 10000 !important;
}
