@font-face {
    font-family: "Source Sans Pro";
    src: url("/fonts/SourceSansPro-Regular.otf") format("opentype");
}

@font-face {
    font-family: "Source Sans Pro";
    font-weight: bold;
    src: url("/fonts/SourceSansPro-Bold.otf") format("opentype");
}

body {
    background-color: #e4e5e6;
    font-family: "Source Sans Pro"
}

.date-time-input {
    width: 200px;
    cursor: pointer;
    padding: 5px 15px;
    border: 0;
    border-radius: 4px;
    background-color: #216ba5;
    font: inherit;
    color: #fff;
}

.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
    margin margin-left: -41px
}

.main .container-fluid {
    padding-top: 40px
}

.react-datepicker__input-container .react-datepicker__close-icon::after {
    top: 33%
}


.sidebar .nav .nav-item .nav-link:hover,
.sidebar .nav .nav-item .navbar .dropdown-toggle:hover,
.navbar .sidebar .nav .nav-item .dropdown-toggle:hover {
    color: #fff !important;
    background: #555 !important;
}

.durables {
    background-color: #247BA0;
}

.gauge-arc {
    stroke: #cb332e;
}

.gauge-needle-line {
    stroke: #000;
}

.gauge-needle-oval {
    stroke: #000;
}

.d-md-down-none {
    color: #555555;
    font-weight: bold;
}

.table thead {
    background-color: #555;
    color: #fff;
    font-size: 12px;
}

.card {
    border-radius: 7px;
}

.card-header {
    border-radius: 5px 5px 0 0;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background-color: #BB3330
}

.card-header .btn {
    margin-top: 0
}

.card-header a {
    color: gray
}

.scale-svg {
    height: 144px;
    width: 100%
}

.scale-svg tspan {
    color: #333
}

.gauge-needle-bg {
    stroke: #fff;
    stroke-width: 6px;
}

.scale-svg .value {
    font-size: 14px;
}

.gaugetable {
    width: 100%;
    margin-top: -40px;
    color: #c2c2c2;
}

.gaugetable td {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 30px;
    font-weight: 400;
    padding-bottom: 1px;
    padding-top: 2px;
}

.gauge-reading {
    font-size: 24px;
    text-align: center;
}

.panel-gauge {
    background-color: #fff;
    height: 260px;
}

.modal-footer {
    justify-content: none;
    display: block
}

@media (min-width: 576px) {
    .jobs .modal-dialog {
        max-width: 95%;
        margin: 30px auto;
    }
}

@media (min-width: 576px) {
    .print .modal-dialog {
        max-width: 1400px;
        margin: 30px auto;
    }
}

th.sort {
    cursor: pointer
}

table.table-bordered {
    font-size: 12px
}

.nav .nav-link {
    cursor: pointer
}

.fixed_headers {
    /* table-layout: fixed; */
    border-collapse: collapse;
}

.fixed_headers th {
    padding: 5px;
    min-width: 42px;
    font-size: 10px;
    text-align: center;
}

.fixed_headers td {
    padding: 5px;
    min-width: 42px;
    font-size: 10px;
    text-align: right;
}

.fixed_headers td:nth-child(1) {
    text-align: center;
}

.fixed_headers td:nth-child(2) {
    text-align: center;
}

.fixed_headers thead {
    background-color: #d2352f;
    color: #fdfdfd;
}

.fixed_headers thead tr {
    display: block;
    position: relative;
}

.fixed_headers tbody {
    display: block;
    overflow: auto;
    width: 100%;
    height: 500px;
}

.fixed_headers tbody tr:nth-child(even) {
    background-color: #ddd;
}

.deliveries.fixed_headers td {
    text-align: left
}

.old_ie_wrapper {
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
}

.old_ie_wrapper tbody {
    height: auto;
}

.detail {
    max-width: 200px
}

.detail td:nth-child(1) {
    font-weight: bold
}

.detail td:nth-child(2) {
    text-align: right
}

.row {
    margin-bottom: 10px
}

.modal-body {
    background-color: #dedede;
}

a.active.nav-link {
    font-weight: bold;
    text-transform: uppercase;
}

div.legend {
    display: flex;


}

div.legend div {
    margin-left: 20px
}

.mould-change {
    width: 15px;
    background-color: #bcb460;
}

.no-mould-change {
    width: 0px;
}

table.production.hours tr td {
    cursor: pointer;
}

table.batchlist tr td {
    cursor: pointer;
}

table.production.hours tr td.hourcount {
    padding: 0;
    width: 30px;
}

table.table td,
table.table th {
    padding: 5px;
}



table.production.hours tr td.hourcount input {
    height: 25px;
    width: 40px;
    text-align: right;
}

table.production.hours tr td.hourcount div {
    padding: 2px;
}

table.deliveries {
    background-color: white;
}

table.production th,
table.stocklist th {
    text-align: center;
}

table.deliveries td {
    padding: 2px;
}

table.deliveries td a.btn,
table.stock td a.btn {
    padding: 2px;
}

div.stock .modal-dialog {
    max-width: 500px;
}

div.mrp .modal-dialog {
    max-width: 1200px;
}

div.stock .modal-body {
    background-color: white;
}

table.machines td {
    padding: 2px;
}

.ReactTable .btn {
    padding: 2px
}

table.materials td {
    padding: 2px;
}

table.table.mrp td,
table.table.mrp th {
    padding: 2px;
}

table.deliveries td input.prodcount {
    text-align: right;
}

td.rowHeader {
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: bold
}

.modal.delivery .modal-body {
    background-color: white
}


button.count {
    padding: 2px;
    border-radius: 5px;
}

.Durables {
    background-color: #247BA0;
}

.productspec div {
    font-size: 12px;
    margin-top: -4px
}

.productspec div span {
    font-weight: bold;
}

div.modal.delivery div.modal-dialog div.modal-content {
    width: 1200px;
}



div.modal.delivery div.modal-dialog {
    max-width: 1200px;
}

div.modal.deliverydetail div.modal-dialog {
    max-width: 700px;
}

div.modal.material_usage div.modal-dialog {
    max-width: 700px;
}

table.dataTable thead th {
    text-align: center
}

.ReactTable .rt-thead .rt-th.-sort-desc,
.ReactTable .rt-thead .rt-td.-sort-desc {
    -webkit-box-shadow: inset 0 -3px 0 0 rgba(255, 0, 0, 0.6);
    box-shadow: inset 0 -3px 0 0 rgba(255, 0, 0, 0.6);
}

/* .ReactTable .rt-thead .rt-th.-sort-asc, .ReactTable .rt-thead .rt-td.-sort-asc {
    -webkit-box-shadow: inset 0 -3px 0 0 rgba(255,255,255,0.6);
    box-shadow: inset 0 -3px 0 0 rgba(255,255,255,0.6); 
} */

.ReactTable .rt-thead .rt-th.-sort-asc,
.ReactTable .rt-thead .rt-td.-sort-asc {
    box-shadow: inset 0 3px 0 0 rgba(255, 0, 0, 0.6);
    -webkit-box-shadow: inset 0 3px 0 0 rgba(255, 0, 0, 0.6);

}



.deliverydetail input.number {
    width: 120px;
    text-align: right;
}

table.batchdeliveries thead th {
    text-align: center
}



.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.upload-btn-wrapper .btn {
    border: 2px solid gray;
    color: gray;
    background-color: white;
    padding: 5px 5px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
}

.upload-btn-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.blink_me {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}


div.splitValues {
    display: flex;
    flex-direction: column;

}

div.splitValues span {
    font-size: 9px;
    flex-direction: column;

}

div.splitValues span:nth-child(2n) {
    border-top: solid 1px #b5b4b4;
    padding-top: 1px;

}

div.splitValues span:nth-child(1n) {
    padding-bottom: 1px;

}