body {
    background: #202123 !important;
}

.header {
    min-height: 150px;
}

#cawtable {
    border-left: 1px solid #454d55;
}

#cawtable thead tr th {
    /* Important */
    background-color: #202123;
    position: sticky;
    top: 0;
    font-size: 1.2rem;
}

#cawtable td {
    font-size: 1.1rem;
}

.table td,
.table th {
    padding: 0.55rem !important;
}

tfoot th {
    font-size: 1rem;
}

h3 {
    color: white;
    font-size: 1.5rem !important;
}
h3 span {
    font-weight: bold;
}
.datetime th,
th {
    color: #8ec753;
}
.datetime td,
.datetime th {
    padding: 0.44rem;
}
.table-dark,
.bg-dark {
    background-color: #202123 !important;
}

#time {
    text-transform: lowercase;
}

.card-bg {
    background-color: #8ec753;
}

#date,
#time,
#shift {
    color: #c7c7c7 !important;
}
.total {
    font-weight: 700 !important;
    color: #535252;
}
.total-title {
    padding: 5px 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: 700 !important;
    font-size: 34px;
}

.total {
    font-weight: 700 !important;
    color: rgba(0, 0, 0, 0.8);
    font-size: 66px !important;
}

#purge_meters,
#fill_meters {
    color: rgba(0, 0, 0, 0.5);
    font-weight: 700 !important;
    font-size: 28px;
}

.text-left {
    padding-left: 10px !important;
}
.text-right {
    padding-right: 10px !important;
}

.first {
    color: #8ec753;
    font-weight: bold;
    padding-right: 20px;
    width: 50%;
    text-align: center;
    font-size: 25px;
}

.first span {
    font-weight: normal;
    color: white;
}

label,
.dataTables_info {
    color: white;
}

.form-group {
    padding: 5px 0;
}
label {
    padding-right: 20px;
}

table {
    font-size: 25px;
}

tr.group,
tr.group:hover {
    background-color: #666 !important;
}

td.details-control {
    background: url("../images/details_open.png") no-repeat center center;
    cursor: pointer;
}
tr.details td.details-control {
    background: url("../images/details_close.png") no-repeat center center;
}

.battery_wrap {
    display: inline-block;
    text-align: center;
}
#details td,
#details tr,
#details {
    border: 1px solid #454d55 !important;
}
.table-light,
.table-light > td,
.table-light > th {
    background-color: #bcbcbc !important;
}

#details td {
    font-size: 1rem !important;
    padding: 0.45rem !important;
}

#details {
    margin-bottom: 0 !important;
}

.btn-success {
    color: #fff !important;
    background-color: #6da333 !important;
    border-color: #6da333 !important;
}

.btn-success:hover {
    color: #fff !important;
    background-color: #51811e !important;
    border-color: #51811e !important;
}

/* ==========CSS for Copy Print CSV buttons============= */
.dt-button {
    display: inline-block;
    min-width: 100px;
    margin: 0 2px;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: white !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: #8ec753 !important;
}

.dt-button:hover {
    color: #2a490a !important;
    background-color: #8ec753 !important;
    border-color: #8ec753 !important;
}

/* ======Change color of x icon on search field=========== */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    height: 13px;
    width: 13px;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg viewPort='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='1' y1='11' x2='11' y2='1' stroke='DimGrey' stroke-width='2'/%3e%3cline x1='1' y1='1' x2='11' y2='11' stroke='DimGrey' stroke-width='2'/%3e%3c/svg%3e");
}

/* =============Select Items Count Style================== */
.custom-select {
    color: rgb(209, 207, 207) !important;
    background-color: #525b64 !important;
    border-color: #636e79 !important;
}
.form-control {
    color: #404040 !important;
    background-color: #cecece !important;
    border-color: #adb1b5 !important;
}
.form-control:focus {
    box-shadow: 0 0 0 0.15rem rgba(118, 170, 64, 0.25) !important;
}
::placeholder {
    color: #646363 !important;
}
.custom-select:focus {
    color: #495057;
    background-color: #fff;
    box-shadow: 0 0 0 0.15rem rgba(118, 170, 64, 0.25) !important;
}

/* =============Pagination Table Style===================== */
.page-link {
    color: rgb(196, 194, 194) !important;
    background-color: #36373a !important;
    border-color: #454d55 !important;
}
.page-link:hover {
    color: #8ec753 !important;
    background-color: #46474a !important;
    border-color: #454d55 !important;
}
.page-link:focus {
    color: white !important;
    box-shadow: 0 0 0 0.1rem rgba(118, 170, 64, 0.25) !important;
}
.page-item.active .page-link {
    color: #fff !important;
    background-color: #76aa40 !important;
    border-color: #5f8a33 !important;
}
.page-item.disabled .page-link {
    color: #aaaaaa !important;
    background-color: #2b2c2e !important;
    border-color: #454d55 !important;
}

/* ====================MEDIA QUERIES======================= */
@media only screen and (min-width: 1630px) {
    .lg-logo {
        max-width: 115%;
        height: auto;
        background-repeat: no-repeat;
        background-position: center center;
    }
}
@media only screen and (max-width: 1630px) {
    .lg-logo {
        max-width: 116%;
        height: auto;
        background-repeat: no-repeat;
        background-position: center center;
    }
}

@media only screen and (max-width: 1537px) {
    #dataTable {
        font-size: 1.2rem !important;
    }
    #dataTable td,
    #dataTable th {
        padding: 0.45rem;
    }
}
@media only screen and (min-width: 1537px) {
    #dataTable {
        font-size: 1.4em !important;
    }
    #dataTable td,
    #dataTable th {
        padding: 0.75rem;
    }
}

@media only screen and (min-width: 575px) and (max-width: 757px) {
    .form-inline {
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (min-width: 1424px) {
    .h1 {
        font-size: 3.5rem !important;
        line-height: 1 !important;
    }
}

@media only screen and (min-width: 1309px) and (max-width: 1424px) {
    .h1 {
        font-size: 3.2rem !important;
    }
}

@media only screen and (min-width: 1232px) and (max-width: 1309px) {
    .h1 {
        font-size: 3rem !important;
    }
}

@media only screen and (min-width: 1157px) and (max-width: 1232px) {
    .h1 {
        font-size: 2.8rem !important;
    }
}

@media only screen and (min-width: 1079px) and (max-width: 1157px) {
    .h1 {
        font-size: 2.6rem !important;
    }
}

@media only screen and (min-width: 1002px) and (max-width: 1079px) {
    .h1 {
        font-size: 2.4rem !important;
    }
}

@media only screen and (min-width: 963px) and (max-width: 1002px) {
    .h1 {
        font-size: 2.3rem !important;
    }
}

@media only screen and (min-width: 887px) and (max-width: 963px) {
    .h1 {
        font-size: 2.1rem !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 887px) {
    .h1 {
        font-size: 1.75rem !important;
    }
}

@media only screen and (max-width: 767px) {
    .h1 {
        font-size: 2.5rem !important;
    }
    .dt-buttons {
        padding: 10px 0;
    }
}

@media only screen and (min-width: 721px) and (max-width: 1105px) {
    .form-group {
        text-align: center;
        margin: 0 auto;
    }
}
