body, a, table {
    font-family: 'Prompt', sans-serif;
    font-weight: normal;
}

.container {
    padding-left: 5px;
    padding-right: 5px;
}

[v-cloak] {
    display: none;
}

#headbar {
    background: #4375cd;
    color: white;
    padding: 10px 20px;
    font-size: 11px;
}

#headbar > * {
    vertical-align: middle;
}

#content {
    transition: opacity 1s;
}

#content.not-ready {
    opacity: 0;
}

#title {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
}

#progress {
    text-align: center;
    padding: 40px 0;
    font-size: 20px;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    z-index: 1;
}

#map .device-marker {
    background-color: #999;
    color: white;
    border-radius: 5px;
    font-size: 12px;
    border: none;
    width: 40px;
    height: 20px;
    text-align: center;
    line-height: 20px;
}

#map .device-marker:after {
    content: '';
    width: 0;
    height: 0;
    border: 5px solid transparent;
    border-top: 8px solid;
    border-top-color: #999;
    position: absolute;
    bottom: -12px;
    left: 15px;
}

#station-detail {
    z-index: 2;
    padding: 10px;
}

@media (min-width: 576px) {
    #station-detail {
        bottom: 20px;
        left: 20px;
        position: absolute;
        width: 360px;
        background: white;
        border-radius: 8px;
    }
    #map{
        min-height: 700px;
    }
}

#guage-value-container {
    text-align: center;
    margin-top: -90px;
}

#guage-value {
    font-size: 100px;
    font-weight: bold;
    line-height: 90px;
}

#guage-value-detail {
    font-size: 20px;
    color: #aaa;
}

#device-table {
    width: 100%;
    border-bottom: 1px solid #ddd;
    border-collapse: collapse;
}

#device-table th, #device-table td {
    padding: 8px 10px;
    border-top: 1px solid #ddd;
}

#device-table td {
    cursor: pointer;
}

#device-table tbody tr:hover {
    background: #eee;
}

#device-table tr.selected {
    background: rgba(0, 157, 184, 0.22);
}

#device-table .device-status-pill {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: #eee;
    border-radius: 12px;
    line-height: 24px;
    color: white;
}

.device-value-circle {
    vertical-align: top;
    display: inline-block;
    color: white;
    width: 150px;
    height: 150px;
    border-radius: 75px;
    background: #ccc;
    text-align: center;
    font-weight: bold;
}

.device-value-circle .device-value-unit {
    line-height: 20px;
    font-size: 14px;
    padding-top: 15px;
}

.device-value-circle .device-value {
    font-size: 70px;
    line-height: 80px;
    height: 80px;
}

#device-value-container .device-name {
    font-size: 20px;
}

#device-value-container #device-value-status {
    font-size: 25px;
    font-weight: 600;
}

#device-show-select {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #555;
    flex: 1;
    min-width: 0;
}

.device-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
    align-items: center;
    column-gap: 10px;
}

.device-row-name {
    flex-grow: 1;
    display: flex;
    padding: 8px;
    column-gap: 10px;
}

.device-row-value {
    font-weight: bold;
    width: 100px;
    text-align: center;
    border-radius: 40px;
    padding: 2px 0;
    flex-shrink: 0;
}


#status-table-header {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    background-color: #dbc9ec;
    padding: 10px 0;
}


#status_table {
    font-size: 14px;
}

#status_table > .row > div {
    border-left: 1px solid black;
    border-top: 1px solid black;
    padding: 10px;
}

#status_table {
    border-bottom: 1px solid black;
    border-right: 1px solid black;
}

.status_table_color {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin: 0 auto;
}

.status-table-first-col, .status-table-second-col {
    min-width: 160px;
}

@media (max-width: 600px) {
    .status-table-first-col, .status-table-second-col {
        min-width: 0;
    }
}

#history-chart {
    width: 100%;
}

#history-table {
    width: 100%;
    border: 1px solid #019db8;
}

#history-table thead tr {
    background: #019db8
}

#history-table thead th {
    color: white;
    font-weight: normal;
    font-size: 9px;
    border-right: 1px solid #fff;
    padding: 2px;
}

#history-table tbody td {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    padding: 2px;
    vertical-align: center;
    font-size: 9px;
}

@media (min-width: 425px) {

    #history-table thead th {
        font-size: 12px;
        padding: 5px;
    }

    #history-table tbody td {
        padding: 5px;
        font-size: 12px;
    }
}

#history-table thead th:last-child,
#history-table tbody td:last-child {
    border-right: none;
}

.export-btn {
    background: #eee;
    border-radius: 20px;
    padding: 0 10px;
    text-decoration: none;
    outline: none;
    color: black;
    cursor: pointer;
}

.export-csv {
    background: #70bd64;
    color: white;
    border: none;
    height: 20px;
    line-height: 20px;
}

.weather-site-select {
    border: 2px solid #c2c2c2;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 10px;
    background: #eee;
    color: #aaa;
    cursor: pointer;
}

.weather-site-select.selected {
    border: 2px solid #2f528f;
    color: black;
}

.weather-site-select.selected#center-1 {
    background: #a9d18e;
}

.weather-site-select.selected#center-2 {
    background: #f3b082;
}

.weather-status-box {
    border: 2px solid #2f528f;
    padding: 5px 20px;
    display: inline-block;
    border-radius: 10px;
    text-align: center;
    color: black;
    color: white;
}

.weather-status-box .weather-status-value {
    height: 30px;
    font-size: 14px;
}

@media (min-width: 425px) {
    .weather-status-box .weather-status-value {
        font-size: 20px;
    }
}

.weather-status-box .weather-status-unit {
    font-size: 14px;
}

#zone_select {
    width: 100%;
    height: 100%;
    outline: none;
    border: 1px solid #555;
    border-radius: 3px;
}
