html, body {
    font-size: 16px;
}
body {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
}
#chartWrapper {
    margin-top: 60px;
    height: 0px;
    max-height: 650px;
    background: white;
    overflow: hidden;
}
input[type=checkbox],
#button-container {
    display: none;
}
#realTimeChart {
    width: 1080px;
    height: 540px;
}
#sizeConstrainer {
    max-width: 1080px;
    height: 540px;
    margin: 0 auto;
    margin: 0 auto;
    margin-top: 40px;
    padding: 10px;
}
.flex-container {
    height: 100%;
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
}
.inputs {
    margin: 0 auto;
    text-align: center;
    background: #fcfcfc;
    height: 430px;
    border: 1px solid #f2f2f2;
    padding-top: 30px;
    width: 380px;
}
img.profile_picture {
    width: 175px;
    height: 175px;
    border-radius: 87.5px;
}
.inputs input {
    display: block;
    width: 75%;
    margin: 0 auto;
    margin-top: 5px;
    height: 35px;
    padding-left: 10px;
    position: relative;
}
#login {
    width: 75%;
    background: #d93132;
    border: none;
    color: white;
    height: 45px;
    margin-top: 25px;
    font-weight: bold;
}
.logo-container {
    position: relative;
    width: 100%;
    padding: 40px 0 70px 0;
    text-align: center;
}
.logo-container img {
    width: 130px;
}
.disabled {
    pointer-events: none;
    transition: 0.5s;
    moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    opacity: 0.5;
}
.error {
    background: #d93132;
    height: 50px;
    position: absolute;
    top: -50px;
    color: white;
    font-weight: bold;
    width: 100%;
    text-align: center;
    z-index:200;
    padding-top: 15px;
}
#wrapper {
    width: 100%;
    height: 100%;
}
#customer-header {
    position: fixed;
    top: 0;
    height: 60px;
    z-index: 1000;
    color: white;
    background: rgba(11, 25, 39, 0.9);
    display: block;
    border-bottom: 1px solid #bbb;
    width: 100%;
    transition: opacity, border-bottom 300ms;
}
#customer-header-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 1440px;
    font-weight: 600;
}
#reports {
    max-width: 1440px;
    margin: 0 auto;
    max-height: 100%;
    height: auto;
    background: #fff;
    color: #666;
}
#latest p {
    color: red;
    font-weight: bold;
    padding: 15px 30px 0 30px;
}
#profile-image {
    width: 34px;
    height: 34px;
    border-radius: 60px;
    overflow: hidden;
    display: inline-block;
    transition: opacity 400ms;
    opacity: 1;
    margin-right: 10px;
}
#profile-image:hover {
    cursor: pointer;
}
#profile-image img {
    height: 34px;
    width: auto;
}
#logo-container {
    margin-left: 30px;
    height: 60px;
    display: inline-flex;
    align-items: center;
}
#logo-container img {
    margin-right: 10px;
}
#searchbar {
    min-width: 100%;
}
#logout-button a {
    color: #e01c1d;
}
#logout-button a:hover {
    color: white;
}
.pull_right {
    float: right;
    text-align: right;
    margin-right: -40px;
}
#searchbar input[type=text] {
    height: 50px;
    background: none;
    border: none;
    width: 65%;
    min-width: 25%;
    max-width: 50%;
    outline: none;
    margin-left: 6px;
    font-size: 18px;
}
#searchbar input[type=date] {
    height: 50px;
    background: none;
    border: none;
    min-width: 170px;
    outline: none;
    margin-left: 6px;
    font-size: 18px;
}
#customer-details {
    display: inline-flex;
    align-items: center;
    position: absolute;
    z-index: 2;
    height: 60px;
    right: 30px;
}
#customerName {
    font-size: 1em;
    margin-right: 15px;
}
#customerType {
    margin: 0;
    font-size: 1.2em;
}
#settings-button {
    display: inline-block;
    background: rgba(0,0,0,0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    width: 130px;
    height: 38px;
    text-align: center;
    padding-top: 8px;
    font-size: 16px;
    margin-left: -6px;
    font-weight: bold;
    margin-right: 10px;
    margin-top:5px;
}
#settings-button i {
    margin-left: -4px;
    padding-right: 4px;
}
#stream-button {
    display: inline-block;
    background: rgba(214, 8, 22, 0.80);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    width: 130px;
    height: 38px;
    text-align: center;
    padding-top: 8px;
    font-size: 16px;
    margin-left: -6px;
    font-weight: bold;
    display: none;
    opacity: 0.0;
}
#stream-button i {
    margin-left: -4px;
    padding-right: 4px;
}
#stream-button.visible {
    display: inline-block;
}
#stream-button:hover {
    cursor: pointer;
}
#toolbar {
    height: 50px;
    display: block;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 0 30px;
    position: fixed;
    z-index: 20;
    width: 100%;
    background: white;
    left: 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
#reportsWrapper {
    padding-top: 40px;
}
#toolbar-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}
#buttons .button {
    display: inline-block;
    padding-left: 30px;
    text-align: center;
    color: red;
}
#quantity {
    color: black;
    font-weight: bold;
    cursor: default;
}
#buttons .button:hover {
    cursor: pointer;
    opacity: 0.9;
}
#button-container {
    float: right;
}
.latestDetail span {
    color: #2a2a2a;
    font-size: 14px;
    position: relative;
}
.col-po {
    width: 130px;
}
.col-invoice {
    width: 165px;
}
.col-date {
    width: 150px;
}
.col-desc {

}
.latestWrapper {
    width: 100%;
    max-width: 1440px;
    height: 60px;
    display: flex;
    align-items: center;
    background: #eee;
    border-bottom: 1px solid #ddd;
}
.detail-wrapper {
    display: inline-block;
}
.detail-wrapper span {
    display: inline-block;
}
.row-buttons {
    display: inline-flex;
    position: absolute;
    right: 40px;
    height: 30px;
    margin-top: 5px;
    /*background: #eee;*/
    align-items: center;
    padding: 0px 15px;
    border-left: 1px solid #ddd;
}
#search-spinner {
    position: relative;
    height: 50px;
    background: rgba(0,0,0,0.8);
    width: 100%;
    padding: 14px 0;
    text-align:center;
    color: white;
}
#search-spinner i {
    font-size: 1em;
    color: white;
}
#search-spinner.hidden {
    display: none;
}
#search-spinner.visible {
    display: block;
}
.row-buttons span {
    margin-right: 35px;
    color: red;
}
.row-buttons span:hover {
    cursor: pointer;
}
.latestWrapper .imageContainer img {
    width: 80px;
    height: 80px;
    background: white;
}
.latestDetail {
    position: absolute;
    width: 100%;
    max-width: 1440px;
    padding: 0 30px;
    height: 60px;
    display: inline-flex;
    align-items: center;
}
.addButton {
    float: right;
    left: -10%;
    top: 28px;
    font-size: 1.4em;
}
.testLabel {
    font-size: 0.95em;
    font-weight: bold;
}
#reportListWrapper {
    padding-top: 40px;
}
#reportList {
    font-size: 0.9em !important;
}
#table-header {
    padding: 10px 30px;
}
#table-header span {
    color: red;
    font-weight: bold;
    margin-right: 110px;
}
.detail-wrapper .hidden {
    display: none !important;
}
#customer-header.active {
    border-bottom: 1px solid #fff;
    background: #fff;
}
#customer-header.active #profile-image,
#customer-header.active #customer-details {
    opacity: 0;
}
#more-options {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}
#more-options-wrapper {
    width: 100%;
    height: 150px;
    position: fixed;
    background: #fff;
    z-index: -5;
    opacity: 0;
    transition: opacity 300ms;
}
#more-options-wrapper.active {
    z-index: 10;
    opacity: 1;
}
#more-options {
    max-width: 1440px;
}

#reportListInject .latestWrapper,
#reportListInject .latestWrapper .row-buttons {
    transition: background 300ms;
    opacity: 1;
    /*background: #eee;*/
}
.latestWrapper.empty {
    padding-left: 30px;
    margin-top: 30px;
    border-top: 1px solid #ddd;
}
#reportListInject .latestWrapper:hover,
#reportListInject .latestWrapper:hover .latestDetail .row-buttons {
    background: #fff;
}

table#reportListInject {
    border-collapse: collapse;
}

table#reportListInject tr {
    text-align: left;
    color: black;
    font-size: 15px;
    border-bottom: 1px solid #eee;
}

table#reportListInject tr:nth-child(odd) {
    background: #eee !important;
}

table#reportListInject th {
    font-size: 18px;
    background: #fff;
    padding: 5px 20px;
}

table#reportListInject td {
    padding: 5px 20px;
    text-transform: capitalize;
}

table#reportListInject td a {
    color: black;
}

@media(max-width: 1200px) {
    #button-container {
        display: none;
    }
    input[type=checkbox] {
        display: none;
    }
    #searchbar input[type=date] {
        width: 100%;
        max-width: 70%;
    }
    #toolbar {
        height: auto;
    }
    .search-elem {
        display: inline-block;
        max-width: 100%;
        width: 100%;
    }
}
@media(max-width: 990px) {
    #searchbar {
        background: white;
        color: black;
        padding-bottom: 7px;
        padding-left: 30px;
        padding-right: 30px;
    }
    .detail-wrapper .col-desc,
    #table-header span:last-child {
        display: none;
    }
    #buttons {
        text-align: center;
        height: 80px;
    }
    #button-container {
        float: left !important;
        margin-top: 15px !important;
    }
    #button-container .button:first-child {
        padding-left: 10px;
    }
    #reports {
        padding: 0px;
    }
    #toolbar {
        height: 160px;
    }
    #reportsWrapper {
        margin-left: 30px;
        overflow: hidden;
    }

    table#reportListInject {
        border-collapse: collapse;
        overflow-x: auto;
    }

    table#reportListInject tr {
        text-align: left;
        color: black;
        font-size: 15px;
        border-bottom: 1px solid #eee;
    }

    table#reportListInject tr:nth-child(odd) {
        background: #eee !important;
    }

    table#reportListInject th {
        font-size: 18px;
        background: #fff;
        /* padding: 5px 20px; */
    }

    table#reportListInject td {
        padding: 5px 20px;
        text-transform: capitalize;
    }

    table#reportListInject td a {
        color: black;
    }
}
@media(max-width: 600px) {
    .row-buttons {
        display: none;
    }
    #customer-banner {
        text-align: center;
        height: 340px;
    }
    #customerName {
        display: none;
    }
}