#refs-screen-caster1-categories {
    margin-left: 200px;
}

#refs-screen-caster2-categories {
    margin-left: 200px;
}

#refs-screen-caster1-categories {
    margin-left: 200px;
}

#refs-screen-caster2-categories {
    margin-left: 200px;
}

.items-grid-container-delays1-screen.items-grid-container {
    margin-bottom: 30px;
}

.items-grid-container-delays2-screen.items-grid-container {
    margin-bottom: 30px;
}

/* Grid Styles*/


.Comments {
    width: 55% !important;
}

.Timestamp {
    width: 15% !important;
}
.Equipment {
    width: 20% !important;
}


.Type {
    width: 10% !important;
}

/*.Area {
    width: 20% !important;
}*/


.items-grid-container-warehouse-costs {
    min-width: 410px !important;
    margin-top: 15px !important;
    margin-left: 5px !important;
}
.items-grid-container-shift-resume {
    min-width: 410px !important;
    margin-top: 15px !important;
    margin-left: 5px !important;
}
.items-grid-container-products-cast {
    min-width: 300px !important;
    margin-top: 15px !important;
    margin-right: 5px !important;
}

.items-grid-container-log-book {
    margin-top: 15px !important;
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-shift-resume-caster-1 {
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-uncut-tails-caster-1 {
    margin-right: 5px !important;
    margin-left: 5px !important;
    margin-top: 30px !important;
}
.items-grid-container-shift-resume-caster-2 {
    margin-right: 5px !important;
    margin-left: 5px !important;
}
.items-grid-container-melt-order-caster-1 {
    margin-right: 5px !important;
    margin-left: 5px !important;
    margin-top:15px !important;
}

.items-grid-container-melt-order-caster-2 {
    margin-right: 5px !important;
    margin-left: 5px !important;
    margin-top: 15px !important;
}
.items-grid-container-warehouse-costs-screen {
    min-width: 410px !important;
    margin-top: 15px !important;
    margin-left: 5px !important;
}

.items-grid-container-shift-resume-screen {
    min-width: 410px !important;
    margin-top: 15px !important;
    margin-left: 5px !important;
}

.items-grid-container-products-cast-screen {
    min-width: 300px !important;
    margin-top: 15px !important;
    margin-right: 5px !important;
}

.items-grid-container-log-book-screen {
    margin-top: 15px !important;
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-shift-resume-caster-1-screen {
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-shift-resume-caster-2-screen {
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-melt-order-caster-1-screen {
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-melt-order-caster-2-screen {
    margin-right: 5px !important;
    margin-left: 5px !important;
}

.items-grid-container-uncut-tails-caster-1-screen {
    margin-right: 5px !important;
    margin-left: 5px !important;
    margin-top: 30px !important;
}

.items-grid-container tr {
    border-top: 1px solid #ccc;
}

.items-grid-container th {
    border: 1px solid #ccc;
}

.items-grid-container th {
    border: 1px solid #ccc;
}

.backgrid a {
    color: #505050;
}

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

.backgrid th {
    color: #505050 !important;
    overflow: inherit !important;
    text-overflow: inherit !important;
}

.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;
}

.backgrid thead th {
    background-color: #eee !important;
}


/* PDF Configuration Styles*/
.img-logo {
    width: 120px !important;
    /*border: 1px dashed #ccc;*/
}
.img-sdi-division {
    height: 50px;
    /*border-bottom: 1px dashed #ccc;*/
}
.img-company-name {
    height: 50px;
    /*border-top: 1px dashed #ccc;*/
}

.shift-container {
    margin-top: 5px;
    border-top: 1px dashed #a3a1a1;
    border-bottom: 1px dashed #a3a1a1;
    width: 97% !important;
    padding: 10px;
}
.shift-name {
    font-size: 30px !important;
}

.sdi-division {
    position: fixed;
    left: 143px;
    right: 450px;
    top: 69px;
    bottom: 900px;
    width: 200px !important;
    /*border-top: 1px dashed #ccc !important;*/
}

.sdi-company-name {
    position: fixed;
    left: 145px;
    right: 450px;
    top: 20px;
    bottom: 947px;
    width: 200px !important;
}

.report-name-container {
    position: fixed;
    right: 20px;
    top: 20px;
    bottom: 900px;
    font-size: 30px;
    /*border: 1px dashed #ccc;*/
    display: flex;
    align-items: center;
    justify-content: center;
    left: 345px;
    height: 99px;
}
.report-name {
    text-align: center;
    font-size: 30px !important;
}

.page-header {
    height: 120px;
    border: none !important;
}
.page-header-space {
    height: 210px !important;
}

.page-footer, .page-footer-space {
    height: 30px;
}

.page-footer {
    position: fixed;
    bottom: 0;
    width: 95%;
}

.page-header {
    position: fixed;
    top: 0mm;
    width: 95%;
}

.page {
    page-break-after: always;
}
.first-page {
    margin-top: -70px !important;
    justify-content:center;
}
.flex-container {
    display: flex;
    justify-content: space-between;
}


@page {
    size: letter;
    margin-bottom: 5mm !important;
    margin-left: 0.5cm !important;
    margin-right: 0.5cm !important;



}

@media screen {
    .uri-cell a {
        color: #1f8cba !important;
    }
    .h3 {
        color: #505050;
    }
    .print {
        display: none;
    }

    .report-name-container{
        position:unset;
    }
    .sdi-company-name{
        position:unset;
    }
    .sdi-division{
        position:unset;
    }
    .shift-container {
        border-top: 1px solid #ccc;
        width:100% !important;
        border-bottom:none;
    }
    .page-header{
        width:100%;
    }

}

@media print {
    .backgrid a {
        color: #505050 !important;
    }
    @page {
        margin-top: 0px;
    }
    thead {
        display: table-header-group;
    }

    tfoot {
        display: table-footer-group;
    }
    button {
        display: none;
    }
    body {
        margin: 0;
        -webkit-print-color-adjust: exact !important;
    }
    #pageborder {
        position: fixed;
        left: 0;
        right: 0;
        top: 2mm;
        bottom: 0;
        border: 1px solid black;
        border-radius: 2px;
    }

    .contentborder {
        position: fixed;
        left: 5mm;
        right: 5mm;
        top: 54mm;
        bottom: 5mm;
        /*border: 1px dashed #ccc;*/
    }
    .not-first-page{
        margin-top:20mm !important;
        background-color: #ff6a00
    }
    .navbar .btn-navbar {
        display: none !important;
    }
    .line-division-top{
        border-top: 1px solid black;
        margin-top:5px !important;
    }
    .line-division-bottom {
        border-bottom: 1px solid black;
        margin-top: 5px !important;
    }

    .not-print{
        display:none !important;
    }
    .update-available {
        display: none !important;
    }



}


