body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "K2D", sans-serif;
}

table {
    font-family: "K2D", sans-serif;
}

nav {
    background-color: #fff;
}

table.table-data {
    border-collapse: collapse;
    border-radius: 0.5em;
    overflow: hidden;
}

.table-data th {
    padding-left: 0.7em;
    padding-right: 0.7em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 12px;
}

.table-data td {
    padding-left: 0.7em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    font-size: 12px;
    padding-right: 0.1em;
}

.bg-custom {
    background-color: #e14229;
}

#legend {
    font-family: Arial, sans-serif;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    margin-left: 10px;
}

#legend img {
    vertical-align: middle;
    margin-bottom: 10px;
    padding-right: 5px;
}

.waterway_footer {
    background-color: #34495e;
    padding: 5px;
    bottom: 0;
    width: 110%;
    position: absolute;
    margin-left: -42px;
    font-size: 14px;
}

.footer {
    background-color: #34495e;
    width: 110%;
    margin-left: -42px;
    font-size: 14px;
    position: absolute;
    height: 35px;
    padding-top: 8px;
    padding-left: 20px;
    padding-bottom: 110px;
    color: #fff;
}

.page-3 {
    text-align: left;
    width: 100%;
    padding-left: 20px;
    position: relative;
    height: 100vh;
    padding-bottom: 110px;
}

.page-9 {
    position: relative;
    height: 100vh;
    padding-bottom: 110px;
}

.page-data {
    height: calc(100% - 120px);
    font-size: 14px;
    width: 96%;
    margin-top: 15px;
    overflow-y: scroll;
    background-color: #FFF;
    ;
}

.page-content {
    height: calc(100% - 500px);
}

.page-map {
    height: calc(100%);
    margin-left: -42px;
}

.page-map-full {
    height: 100%;
}

#exTab1 .tab-content {
    background-color: #fff;
    padding: 5px 15px;
}

#exTab1 .nav-pills>li>a {
    border-radius: 0;
}

a.nav-link {
    padding: 8px;
    font-size: 16px;
    color: white;
}

.nav-item.active>.nav-link {
    color: black;
}

.nav-item.active {
    background-color: #ffc107;
}

.nav-item {
    padding: 0px 20px;
}

#exTab1 .nav-pills {
    margin-bottom: 10px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}

table.tbl-data {
    border-collapse: collapse;
    border-radius: 0.5em;
    overflow: hidden;
}

.tbl-data th {
    background-color: #212f3c;
    color: #fff;
    font-weight: normal;
    vertical-align: middle;
    overflow: hidden;
}

.tbl-data td {
    background-color: #fff;
    overflow: hidden;
}

.nav-pills .nav-link {
    color: #fff;
    background-color: #85929e;
}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #212f3c;
}

.form-signin {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 500px;
    padding: 15px;
    text-align: center;
}

.form-signin .checkbox {
    font-weight: 400;
}

.form-signin .form-control {
    position: relative;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.card {
    padding: 20px;
}

.form-regis {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 600px;
    padding: 15px;
    text-align: center;
}

.form-check-inline {
    font-size: 18px;
}

.table-striped>tbody>tr>td {
    border-style: none;
}

.table-striped>tbody>tr>th {
    border-style: none;
}

.table-striped>tbody>tr:nth-child(2n + 1)>td,
.table-striped>tbody>tr:nth-child(2n + 1)>th {
    background-color: #f4e9e5;
}


/* This is the default state */

.custom-radio .custom-control-label::before {
    background-color: rgb(192, 192, 192);
    /* orange */
}


/* This is the checked state */

.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-color: #e14229;
    /* green */
    border-radius: 50%;
}

.btn-moe {
    background-color: #e14229 !important;
    color: white;
}

.btn-login {
    background-color: #6b1fb7 !important;
    color: white;
    border-radius: 8px;
}

.solar_station_table {
    cursor: pointer;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-moe-upload {
    padding: 6px 8px;
    font-weight: bold;
    background-color: #e14229 !important;
    color: white;
    border-radius: 8px;
}

.btn-moe-repairup {
    padding: 3px 4px;
    background-color: #e14229;
    font-size: 15px;
    color: white;
    border-radius: 5px;
}

.upload-btn-wrapper input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}