@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: sandybrown;
    border-color: #91877c;
}


.highlighted-item > td {
    background-color: palevioletred;
}
.highlighted-item > td:first-child {
    background-color: transparent;
}

.calAssets{
    font-size: .7rem;
    color:red;
}

.disabled-link {
    pointer-events: none;   /* block clicks */
    opacity: 0.65;          /* faded look */
    text-decoration: none;
}

.assetList  {
    font-size: .8725rem;
}


img .photoThumbs {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 150px;
}

    img:hover .photoThumbs {
        box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
    }

.blazored-modal-header {
    padding: 0 0 1rem 0;
}

.blazored-modal-container {
    top: 20px !important;
}

.textPadding{
    padding-left:5px;
    padding-right:5px;
}

video {
    background: #222;
    margin: 0 0 20px 0;
    --width: 100%;
    width: var(--width);
    height: calc(var(--width) * 0.75);
}

canvas {
    background-color: #ccc;
    max-width: 100%;
    width: 100%;
}

.version {
    font-size: 0.6em;
    color: #f5821f;
    margin-left: 5px;
}

.contactsLayout {
    margin-top: -40px;
}

.contactsButton {
    margin-top: 20px;
    margin-left: -80px;
}

.indexButton {
    /*border: 1px solid #888;*/
    float: left;
    padding: 10px;
    /*box-shadow: 0 0 5px #000;*/
    margin-left: 40px;
    float: left;
    text-align: center;
    font: bold;
    font-size: 1.1em;
    border: 2px solid #F5821F;
    border-radius: 0px 35px 0px 35px;
}

.poSummaryHeader {
    float: left;
    margin-right: 20px;
}

.poGrid {
    margin-top: 20px;
    width: 100%;
}

.poTotal {
    float: right;
    margin-right: 5px;
    margin-top: 5px;
    width: 50%;
    text-align: right;
    padding-right: 3px;
    border-style: inset;
}

.poText {
    float: left;
    margin-top: 8px;
    width: 45%;
    text-align: right;
}

.poTotals {
    float: right;
    margin-right: 20px;
}

.totalText {
}

.poButtons {
    width: 100px;
    margin-right: 10px;
}

.casButtons {
    width: 130px;
    margin-right: 10px;
}

.ccHeaderButton {
    margin-left: 230px;
    margin-top: -30px;
}

.dxbs-fixed-header-content > a[aria-label^="Qty"] {
    text-align: right;
}

.dxbs-fixed-header-content > a[aria-label^="Price"] {
    text-align: right;
}

.dxbs-fixed-header-content > a[aria-label^="Total"] {
    text-align: right;
}

.tpMemo {
    margin-top: 10px;
}

.tpRow {
    margin-top: 10px;
}

.bookInHeader {
    float: right;
    margin-right: 20px;
}

.bookInSigButtons {
    margin-top: 10px;
    margin-left: 10px;
}

.casHeaderClient {
    float: left;
    width: 300px;
    margin-right: 10px;
}

.casHeaderButton {
    float: left;
    /*margin-left: 20px;*/
}


.casQty {
    float: left;
    margin-left: 40px;
}

.casQtySpin {
    float: left;
    width: 60px;
}

.casQtyButtons {
    float: left;
    margin-left: 10px;
}

.casGrid {
    margin-top: 155px;
    width: 100%;
}

.casPayment {
    width: 95%;
    position: fixed;
    bottom: 6px;
}


.jobPopup {
    width: 1000px;
}

.bd-toc {
    position: -webkit-sticky !important;
    position: sticky;
    top: 4rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
    order: 2;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: .875rem;
    margin-top: 65px;
}

.bd-tocMore {
    position: -webkit-sticky !important;
    position: sticky;
    /*top: 2px;*/
    height: calc(100vh - 6rem);
    overflow-y: auto;
    order: 2;
    /*padding-top: 1.5rem;*/
    /*padding-bottom: 1.5rem;*/
    font-size: .875rem;
    /*margin-top: 2px;*/
}

.jobSearch {
    position: fixed;
    background-color: white;
    z-index: 1;
    top: 80px;
    height: 100px;
    padding-top: 12px;
}

.fixed {
    position: fixed;
}


.bd-content {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.top-bar {
    height: 5rem;
    background-color: rgb(255,255,255);
    /*background-image: linear-gradient(rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);*/
    display: flex;
    align-items: stretch;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    padding-right: 5rem;
    padding-left: 2rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.logo {
    margin-top: 2px;
    margin-right: 20px;
}

.basictop100 {
    margin-top: 50px;
}

.basictop30 {
    margin-top: 30px;
}

.main {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem !important;
}

.mnav-tab {
    margin: 0;
    padding: 0.3rem 1.8rem;
    display: inline-block;
    background-color: rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
    position: relative;
    text-transform: uppercase;
    transition: 0.2s ease-out;
}

    .mnav-tab:hover {
        color: white;
        text-decoration: none;
        background-color: rgba(255,255,255,0.3);
    }

    .mnav-tab:visited {
        color: black;
        text-decoration: none;
        background-color: rgba(255,255,255,0.2);
    }

    .mnav-tab.active {
        background-color: rgba(192,192,192,0.2);
        color: black;
    }

    .mnav-tab img {
        height: 2rem;
        margin-bottom: 0.25rem;
    }

    .mnav-tab.active img {
        /*filter: brightness(0) saturate(100%) invert(93%) sepia(18%) saturate(797%) hue-rotate(316deg) brightness(109%) contrast(101%);*/
    }

    .mnav-tab.active:after {
        content: "";
        position: absolute;
        bottom: -1rem;
        z-index: 1;
        width: 0px;
        height: 0px;
        border-left: 0.6rem solid transparent;
        border-right: 0.6rem solid transparent;
        border-top: 1rem solid rgb(192, 192, 192);
    }


.main .top-row {
    background-color: #e6e6e6;
    border-bottom: 1px solid #d6d5d5;
}

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem !important;
}



.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #f5821f;
    border-color: #F58025;
}

.jsAsset {
    font-size: 0.8em;
}

    .jsAsset input {
        font-size: 0.8em;
    }

.Failed {
    color: red;
}

.Passed {
    color: green;
}

.Workshop {
    color: khaki;
}

.dxInitial {
    width: 200px;
    float: left;
    margin-right: 20px;
}

.runBoards {
    border: 2px dashed #ff8d00;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px;
    margin-top: 90px;
}


.jobs-container {
    display: flex;
}

.job-status {
    display: flex;
    flex-direction: column;
    min-width: 250px;
    width: 250px;
    margin-right: 20px;
    background-color: #b3e5fc5c;
    border: 1px solid black;
    border-radius: 5px;
}

    .job-status ul {
        flex: 1;
    }

.dropzone {
    padding: 5px;
    list-style: none;
}

.draggable:hover {
    background-color: rgba(124, 127, 130, 0.7);
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable {
    margin-top: 10px;
    border: 1px solid #424d5c;
    cursor: pointer;
    background: #7c7f82;
    color: #ffffff;
    border-radius: 5px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 15px;
    height: 120px;
}

.linked {
    margin-top: 0px;
    padding: 5px 10px;
    border: 1px solid #424d5c;
    cursor: grab;
    background: #7c7f82;
    color: #ffffff;
    border-radius: 5px;
}

.jobBranch {
    padding: 2px;
    background-color: white;
    color: black;
    width: 85px;
    text-align: center;
    font-size: 0.7em;
    font-weight: bold;
}

.jobStatus {
    display: table-cell;
    vertical-align: bottom;
}

.jobNumber {
    font-weight: bold;
    border: 1px solid black;
    border-radius: 5px;
    padding-top: 2px;
    color: black;
    float: left;
    font-size: 0.8em;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: white;
}

.jobAssigned {
    margin-left: 5px;
    font-weight: bold;
    border: 2px solid black;
    border-radius: 5px;
    padding-top: 2px;
    color: black;
    float: left;
    font-size: 0.8em;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: yellow;
}

.jobNumberOnsite {
    font-weight: bold;
    background-color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding-top: 2px;
    color: white;
    float: left;
    font-size: 0.8em;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
}



.jobTime {
    float: right;
    color: #ffff88;
    font-weight: bold;
    font-size: 0.8em;
}

.jobSite {
    font-size: 0.8em;
    width: 230px;
    margin-top: 30px;
    white-space: pre-line;
    padding-right: 10px;
    padding-left: 5px;
}

.jobClient {
    font-size: 0.7em;
    color: lightgray;
    font-weight: bold;
    white-space: pre-line;
    padding-right: 5px;
    padding-left: 3px;
}

.draggable:active {
    cursor: grabbing;
}

.dragging {
    cursor: grabbing;
}

.pallets {
    float: left;
    margin-right: 15px;
}

.pallet {
    float: right;
}

.overload {
    font-weight: bold;
    color: red;
}

.description {
    font-size: 16px;
    padding-bottom: 10px;
}

.last-updated {
    margin-bottom: 0;
    font-size: 11px;
    color: #e1e5ea;
    font-weight: bold;
}

    .last-updated small {
        text-transform: uppercase;
        color: #c4cbd4;
        font-size: 11px;
    }

.versiontext {
    padding-top: 60px;
    padding-left: 50px;
    text-transform: uppercase;
    margin-bottom: 0;
    font-size: 11px;
    color: white;
    font-weight: bold;
}

.boardTitle {
    padding-left: 8px;
    padding-top: 5px;
    font-size: 1em;
    font-weight: bold;
}

.boardSubtitle {
    padding-left: 8px;
    padding-top: 0px;
    font-size: 0.7em;
    font-weight: bold;
}

.action {
    float: right;
    margin-left: 10px;
}

.basictop100TV {
    margin-top: 25px;
}

.jobNumberTV {
    font-weight: bold;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    padding-top: 0px;
    color: black;
    float: left;
    font-size: 1.5em;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.jobNumberTVOnsite {
    font-weight: bold;
    background-color: black;
    border: 2px solid white;
    border-radius: 5px;
    padding-top: 0px;
    color: white;
    float: left;
    font-size: 1.5em;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.jobTimeTV {
    float: right;
    color: #ffff88;
    font-weight: bold;
    font-size: 1.2em;
}

.jobSiteTV {
    font-size: 1em;
    width: 230px;
    margin-top: 42px;
    white-space: pre-line;
    padding-right: 10px;
    padding-left: 5px;
}

.draggableTV {
    margin-top: 4px;
    border: 1px solid #424d5c;
    cursor: pointer;
    background: #7c7f82;
    color: #ffffff;
    border-radius: 5px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 15px;
    height: 95px;
}


.dropzoneTV {
    padding: 5px;
    list-style: none;
}

.tvHeader {
    margin: 0;
    padding: 0.2rem 1.6rem;
    display: inline-block;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: black;
    position: relative;
}

.runBoardsTV {
    /*    border: 2px dashed #ff8d00;*/
    overflow-x: auto;
    white-space: nowrap;
    zoom: 50%;
    /*    padding: 5px;*/
}

.top-barTV {
    height: 3.5rem;
    background-color: rgb(255,255,255);
    display: flex;
    align-items: stretch;
    color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    padding: 0 3rem;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}


@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    /*.pl-4, .px-4 {
        padding-left: 0px !important;
    }

    .pr-4, .px-4 {
        padding-right: 0px !important;
    }*/

    .main {
        padding: 0px !important;
        padding-top: 1.5rem !important;
    }

        /*.sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }*/

        .main .top-row {
            position: sticky;
            top: 0;
        }

    /*    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }*/

    .navbar-toggler {
        display: none;
    }
    
    .billExists{
        background-color: orangered;
    }
    
    .billPaid{
        background-color: red;
    }
    
}
