

.backgrid a {
    color: #505050 !important;
}

.backgrid {
    width: auto;
    max-width: none;
    min-width: 100%;
}

    .backgrid th {
        color: #505050 !important;
        overflow: inherit !important;
        text-overflow: inherit !important;
        border: 1px solid #ccc !important;
        border-top: 1px solid #ccc !important;
    }

    .backgrid table {
        margin-bottom: 20px;
    }

    .backgrid th {
        font-size: 14px !important;
    }

    .backgrid tr {
        font-size: 13px !important;
    }

        .backgrid tr td {
            overflow: visible !important;
        }

    .backgrid td {
        padding-left: 1px;
        padding-right: 1px;
        font-size: 12px;
        border-right: 0.5px solid #DDD;
        border-left: 0.5px solid #DDD;
        cursor: pointer;
    }


.warning {
    background-color: red !important;
    color: #FFFFFF !important;
    font-weight: bold;
}


/*row width classes*/
.heat-row {
    min-width: 70px !important;
}
    .HeatName {
        min-width: 70px !important;
    }
.HeatNameColumn {
    min-width: 70px !important;
}

.start-row {
    min-width: 110px !important;
    width: 110px !important;
    max-width: 110px !important;
}
    .Start {
        min-width: 110px !important;
        width: 110px !important;
        max-width: 110px !important;
    }
.End {
    min-width: 110px !important;
    width: 110px !important;
    max-width: 110px !important;
}
.TotalTime {
    min-width: 90px !important;
    width: 90px !important;
    max-width: 90px !important;
}

.shift-crew-row {
    min-width: 35px !important;
    max-width: 60px !important;
}
    .Shift {
        min-width: 35px !important;
    }
    .CrewId {
        min-width: 35px !important;
    }
.MeltOrder {
    min-width: 80px !important;
}
.Grade {
    min-width: 80px !important;
}

.ProcessedWeight {
    min-width: 60px !important;
}

.materials-row {
    max-width:45px !important
}


.ladle-times-row {
    min-width: 60px !important;
}
    .LadleWaitTime {
        min-width: 60px !important;
        max-height: 50px !important;
    }
    .LadleOpeningTime {
        min-width: 60px !important;
        max-height: 50px !important;
    }
    .LadleOpenTime {
        min-width: 60px !important;
        max-height: 50px !important;
    }


.tundish-rows { min-width: 60px !important;}
    .MinTundishTemperature { min-width: 60px !important; 
        max-height: 50px !important;}
    .AverageTundishTemperature{ min-width: 60px !important; 
        max-height: 50px !important;
    }
    .MaxTundishTemperature { min-width: 60px !important; 
        max-height: 50px !important;}
    .MinTundishWeight      { min-width: 60px !important; 
        max-height: 50px !important;}
    .AverageTundishWeight  { min-width: 60px !important; 
        max-height: 50px !important;}
    .TundishNumber {
        min-width: 35px !important;
        max-height: 50px !important;
    }


.sx-rows {
    min-width: 50px !important;
}
    .S1AverageSpeed { min-width: 50px !important;
        max-height: 50px !important;}
    .S2AverageSpeed { min-width: 50px !important;
        max-height: 50px !important;}
    .S3AverageSpeed { min-width: 50px !important;
        max-height: 50px !important;}
    .S4AverageSpeed { min-width: 50px !important;
        max-height: 50px !important;}
    .S1StrandLost { min-width: 50px !important;
        max-height: 50px !important;}
    .S2StrandLost { min-width: 50px !important;
        max-height: 50px !important;}
    .S3StrandLost { min-width: 50px !important;
        max-height: 50px !important;}
    .S4StrandLost { min-width: 50px !important;
        max-height: 50px !important;}
    .S1CastedLength { min-width: 50px !important;
        max-height: 50px !important;}
    .S2CastedLength { min-width: 50px !important;
        max-height: 50px !important;}
    .S3CastedLength { min-width: 50px !important;
        max-height: 50px !important;}
    .S4CastedLength { min-width: 50px !important;
        max-height: 50px !important;}
    .S1LubeRunningPercent { min-width: 50px !important;
        max-height: 50px !important;}
    .S2LubeRunningPercent { min-width: 50px !important;
        max-height: 50px !important;}
    .S3LubeRunningPercent { min-width: 50px !important;
        max-height: 50px !important;}
    .S4LubeRunningPercent { min-width: 50px !important;
        max-height: 50px !important;}
    .S1MoldNumber { min-width: 50px !important;
        max-height: 50px !important;}
    .S2MoldNumber { min-width: 50px !important;
        max-height: 50px !important;}
    .S3MoldNumber { min-width: 50px !important;
        max-height: 50px !important;}
    .S4MoldNumber { min-width: 50px !important;
        max-height: 50px !important;}
    .S1Products { min-width: 50px !important;
        max-height: 50px !important;}
    .S2Products { min-width: 50px !important;
        max-height: 50px !important;}
    .S3Products { min-width: 50px !important;
        max-height: 50px !important;}
    .S4Products { min-width: 50px !important;
        max-height: 50px !important;}
    .S1ProductsWeight { min-width: 50px !important;
        max-height: 50px !important;}
    .S2ProductsWeight { min-width: 50px !important;
        max-height: 50px !important;}
    .S3ProductsWeight { min-width: 50px !important;
        max-height: 50px !important;}
    .S4ProductsWeight { min-width: 50px !important;
        max-height: 50px !important;}

.modal{
    width: 650px !important;
}

.selectedItem {
    /*background-color: aliceblue;*/
    background-color: #f8e509 !important;
}

    .selectedItem td {
        font-weight: 700;
    }

.last-heats-grid-container .backgrid td {
    padding-left: 1px;
    padding-right: 1px;
    font-size: 12px;
    border-right: 0.5px solid #DDD;
    border-left: 0.5px solid #DDD;
    cursor: pointer;
}

.last-heats-grid-container .HeatName {
    min-width: 40px !important;
}

.heat-reassigned {
    color: #88c34f !important;
    font-weight: bold;
}

.onRightClickSelectedRow {
    background-color: lightblue !important;
}

    .onRightClickSelectedRow td {
        font-weight: 700;
    }

.MeltOrder{
    max-width: 130px !important;
}

.big-checkbox {
    height: 25px;
    width: 25px !important;
}

th.renderable.Delete {
    border: none !important;
    background: none;
}

td.delete-cell.align-center-cell.renderable {
    border: none;
    padding: 0;
}

td.save-button-cell.align-center-cell.renderable {
    border: none;
}

button.delete-button {
    background: #f56464;
    border: 1px solid;
}

button.save-action-button {
    background: #a1f5a1;
    border: 1px solid;
    margin-left: -10px;
}

.select-cell select {
    width: 100px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    margin-bottom: 0px;
}

div#handAdditions {
    width: 750px !important;
    margin-left: -400px !important;
}
.hand-additions-items-grid-container.items-grid-container {
    margin-left: 20px;
}

.modal-body {
    width:95%;
}

.highlight-modified-row {
    background-color: #a1f5a1;
}

div#modal {
    width: 350px !important;
    margin-top: 40px;
}

h3#modalLabel {
    font-size: 18px;
}

#handAdditions.blur {
    filter: blur(5px);
    transition: filter 0.3s ease;
}


#handAdditions h5 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
}

    #handAdditions h5:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 55px;
        background-color: #111;
    }

    #handAdditions h5:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        height: 1px;
        width: 95%;
        max-width: 255px;
        background-color: #333;
    }

#handAdditions .modal-header {
    border: 0px solid #eee !important;
}

#addHandAdditionBtn {
    margin-top: 10px !important;
}

.highlight-missing-value {
    background-color: orangered;
}

.handAdditionBtn {
    height: 40px !important;
    width: 40px !important;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-top: 5px;
    float: right;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

    .switch h5 {
        margin-left: -110px;
        margin-top: -1px;
        /* margin-bottom: 10px !important; */
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 17px;
        width: 17px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }

input:checked + .icon::before {
    font-family: "FontAwesome";
    content: "\f00c";
    transform: rotate(45deg);
    padding-top: 5px;
}
input + .icon::before {
    font-family: "FontAwesome";
    content: "\f00d";
    padding-top: 5px;
}
input:checked + .slider {
    background-color: #2196f3;
}

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(26px);
    }

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }