@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');



    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 200;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-ExtraLight"), local("Source Sans Pro"), url("../fonts/SourceSansPro-ExtraLight.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 300;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-Light"), local("Source Sans Pro"), url("../fonts/SourceSansPro-Light.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 400;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-Regular"), local("Source Sans Pro"), url("../fonts/SourceSansPro-Regular.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 600;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-Semibold"), local("Source Sans Pro Semibold"), url("../fonts/SourceSansPro-Semibold.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 700;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-Bold"), local("Source Sans Pro Bold"), url("../fonts/SourceSansPro-Bold.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 900;
        font-style: normal;
        font-stretch: normal;
        src: local("SourceSansPro-Black"), local("Source Sans Pro Black"), url("../fonts/SourceSansPro-Black.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 200;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-ExtraLightIt"), local("Source Sans Pro"), url("../fonts/SourceSansPro-ExtraLightIt.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 300;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-LightIt"), local("Source Sans Pro"), url("../fonts/SourceSansPro-LightIt.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 400;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-It"), local("Source Sans Pro"), url("../fonts/SourceSansPro-It.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 600;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-SemiboldIt"), local("Source Sans Pro"), url("../fonts/SourceSansPro-SemiboldIt.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 700;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-BoldIt"), local("Source Sans Pro"), url("../fonts/SourceSansPro-BoldIt.woff") format("woff");
    }

    @font-face {
        font-family: 'Source Sans Pro';
        font-weight: 900;
        font-style: italic;
        font-stretch: normal;
        src: local("SourceSansPro-BlackIt"), local("Source Sans Pro"), url("../fonts/SourceSansPro-BlackIt.woff") format("woff");
    }

h1

{
    font-size: 2rem; /* 2.25rem;*/
    font-weight: bold;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: normal;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

label {
    font-size: 0.9rem;
    margin-bottom: 0.25rem !important;
    font-weight: 500;
    display: block !important;
}


html {
    font-size: 14px;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    /*'Helvetica Neue', Helvetica, Arial, sans-serif;*/
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    z-index: 1;
}

.main {
    flex: 1;
}

.main .top-row {
    border-bottom: 1px solid #d6d5d5;
    width: 100%;
}

.main .top-row > a, .main .top-row .btn-link {
    white-space: nowrap;
}

.main .top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar {
    width: 15rem;
    position: fixed;
    top: 3.5rem;
    background-color: #3a474d; /*rgb(169, 50, 38);*/
    /* height: calc(100vh - 3.5rem);*/
    bottom: 0;
    overflow-y: auto;
}

    .sidebar .top-row {
        border-bottom: 1px solid #d6d5d5;
    }

.sidebar .navbar-brand {
    font-size: 1.1rem;
}

.sidebar .oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: 0px;
    margin-left: 1.5rem;
}

    .sidebar .nav-item {
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid #363d40;
        font-weight: 400;
        font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
    }

.sidebar .nav-item:first-of-type {
    padding-top: 1rem;
}

.sidebar .nav-item a {
    color: white; /* #d7d7d7;*/
    border-radius: 4px;
    height: 3.25rem;
    display: flex;
    align-items: center;
    position: relative;
}

    .sidebar .nav-item a.active {
        background-color: #28363c;
        color: white;
    }

        .sidebar .nav-item a.active:before {
            position: absolute;
            content: '';
            top: 0;
            bottom: 0;
            width: 4px;
            background-color: #479cc8;
        }


        .sidebar .nav-item a:hover {
            background-color: #28363c;
            color: white;
        }

.nav-link {
    padding: 0;
}

.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;
}

@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;
    }

    .main .top-row {
        position: fixed;
        top: 0;
    }

    .navbar-toggler {
        display: none;
    }

    /*.sidebar .collapse {*/
        /* Never collapse the sidebar for wide screens */
        /*display: block;
        top: 56px;
        position: relative;
    }*/
/*}*/










h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
  /* font-family:  "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"*/
}


/*img {
    image-rendering: -webkit-optimize-contrast;
}*/

.table {
    display: inline-table;
}

.table td {
    vertical-align: top;
}

.table-hover tbody tr:hover {
    cursor: pointer;
}

.table.no-top-border tr:first-child > td, .table.no-top-border tr:first-child > th {
    border-top: none;
}

.modal {
    overflow-y: auto;
    color: #212529;
}

.modal-content {
    border-radius: 0.5rem;
}

.modal-header{
    font-size: 1.125rem;
    padding: 0.75rem 1rem;
}

strong {
    font-weight: 500;
}

th {
    font-weight: 500;
}


.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}




switch.toggle-control {
    display: inline-block;
    position: relative;
    padding-left: 50px;
    margin-bottom: 18px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.toggle-control input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.toggle-control input:checked ~ .control {
    background-color: dodgerblue;
}

.toggle-control input:checked ~ .control:after {
    left: 27px;
}

.toggle-control .control {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 50px;
    border-radius: 13px;
    background-color: darkgray;
    -webkit-transition: background-color 0.15s ease-in;
    transition: background-color 0.15s ease-in;
}

.toggle-control .control:after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    background: white;
    -webkit-transition: left 0.15s ease-in;
    transition: left 0.15s ease-in;
}

.toggle-control.disabled {
    opacity: 0.5;
    cursor: default;
}

.rightPane {
    position: fixed;
    height: calc(100vh - 3.5rem);
    right: 0px;
    top: 3.5rem;
    overflow: auto;
    padding: 1rem;
    background-color: #f5f7f9;
    
    /* max-width: calc(100% - 700px);*/
}

.rightPaneHandle{
    position: fixed;
    height: 100vh;
    width: 1.5rem;
    background-color: white;
    cursor: col-resize;
    border-left: 1px solid #d6d6d6;
    border-right: 1px solid #d6d6d6;
    margin-top: -1px;
    margin-left: -1.5rem;
    right: 0px;
    top: 3.5rem;
    z-index: 2;
}

    .rightPaneHandle > .close {
        z-index: 1;
        position: absolute;
        right: 0px;
        background-color: #ccc;
        transition: 0.3s;
        width: 100%;
        padding: 1rem 0rem;
        font-size: 0.8rem;
    }


    .rightPaneHandle > .close:hover {
        background-color: #999;
    }

.rightPaneContent {
    /*width: calc(100% - 18px);*/
    min-width: 00px; /*650px*/
    position: relative;
    display: inline-block; 
    min-width: 100%;
}


.main {
    left: 12rem;
    right: 0px;
}



.content {
    height: calc(100vh - 3.5rem);
    overflow: auto;
    left: 15rem;
    position: absolute;
    top: 3.5rem;
    background-color: #f5f7f9;
    /* display: inline-grid;*/
    /* min-width: 400px;*/
}


.section {
    /*border: 1px solid #AEB6BF;*/
    overflow: auto;
    background-color: white; /* #EBEDEF;*/
    border-radius: 0.25rem;
    padding: 1rem;
    box-shadow: 1px 1px 4px 0px rgb(0 0 0 / 15%);/* 0 6px 14px 0 rgb(0 0 0 / 6%);*/
    /*    display: inline-block;
    min-width: 100%;*/
}


.section-table th, .section-table td {
    padding: 0.25rem 0.75rem 0.25rem 0.75rem;
    white-space: nowrap;
    border: 1px solid #AEB6BF !important;
    background-color: #ffffff;
}

.section-table td {
    vertical-align: middle;
}











.table-list {
/*    white-space: pre;
   */
}

.table-list td {
    vertical-align: top;
}


.dropArea {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f7f7f7;
    position: relative;
    min-height: 100px;
}

    .dropArea:hover {
        background-color: #139ec118;
        color: #333;
    }

    .dropArea input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.dropAreaDrug {
    background-color: lightseagreen;
}


.validation-errors{
        margin-bottom: 0px;
}


/*.inventoryMaterial {
    padding: 1rem 1rem 0 1rem;
    background-color: #EBEDEF;
    border: 1px solid #AEB6BF;
    border-radius: 0.25rem;
}*/


.inventoryGrade {
    margin-top: 1rem;
}

.inventoryGrade h6 {
    color: #5D6D7E;
}

.emphasize {
    color: #139ec1;
}

.alternateTextColour {
    color: #139ec1;
}





    .table-compact {
        width: 100%;
        border: 2px solid #139ec1 !important;
        font-size: 0.9rem;
    }

    .table-compact td, .table-compact th {
        border: 1px solid #dee2e6;
        padding: 0.2rem 0.5rem;
    }

    .table-compact tbody {
        margin: -1px;
    }

    .table-compact td {
        vertical-align: middle;
    }

    .table-compact th {
        vertical-align: bottom;
    }

    .table-compact .btn {
        font-size: 0.9rem;
        padding: 0px;
    }

tr.selected {
    background-color: rgba(0, 0, 0, 0.1);
}



.alert-primary.light {
    background-color: #cce5ff50;
}
.alert-secondary.light {
    background-color: #e2e3e550;
}
.alert-success.light {
    background-color: #d4edda50;
}
.alert-danger.light {
    background-color: #f8d7da50;
}
.alert-warning.light {
    background-color: #fff3cd50;
}
.alert-info.light {
    background-color:#d1ecf150; 
}
.alert-dark.light {
    background-color: #d6d8d950;
}

.btn {
    white-space: nowrap;
}

.card {
    box-shadow: 0 6px 14px 0 rgb(0 0 0 / 6%);
        border: none;
}

.card-header {
    font-size: 1.1rem;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.no-hover {
    cursor: default !important;
    background-color: initial !important;
}


.sidebar::-webkit-scrollbar {
  
    background-color: #ffffff;
}

.sidebar::-webkit-scrollbar-track {
   /* box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
}

.sidebar::-webkit-scrollbar-thumb {
    background: #479cc8;
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
   border-radius: 8px;
}


.sidebar::-webkit-scrollbar-corner {
    background-color: #ffffff;
}




/*Job arrow progress bar */
.arrow-steps {
    display: table;
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
}

    .arrow-steps .step {
        font-size: 1rem;
        text-align: center;
        color: #777;
        cursor: default;
        margin: 0 1px 0 0;
        position: relative;
        background-color: #e2e3e5;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        height: 2rem;
        display: table-cell;
        padding-left: 0.5rem;
    }

        .arrow-steps .step:after,
        .arrow-steps .step:before {
            content: "";
            position: absolute;
            top: 0;
            right: -0.5rem;
            width: 0;
            height: 0;
            border-top: 1rem solid transparent;
            border-bottom: 1rem solid transparent;
            border-left: 0.5rem solid  #e2e3e5;
            z-index: 2;
        }

    .arrow-steps .step:before {
        right: auto;
        left: 0;
        border-left: 0.5rem solid #fff;
        z-index: 0;
    }

    .arrow-steps .step:first-child:before {
        border: none;
    }

    .arrow-steps .step:last-child:after {
        border: none !important;
    }

    .arrow-steps .step:first-child {
        border-top-left-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }

    .arrow-steps .step:last-child {
        border-top-right-radius: 1rem;
        border-bottom-right-radius: 1rem;
    }

    .arrow-steps .step span {
        position: relative;
        display: inline-block;
        top: 50%;
        transform: translate(0, -50%);
        width: calc(100% - 0.6rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: -1px;
/*        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;*/
       /* line-height: 1rem;*/
    }

*.arrow-steps .step.done span:before {
    opacity: 1;
    content: "";
    position: absolute;
    top: -2px;
    left: -10px;
    font-size: 11px;
    line-height: 21px;
}

.arrow-steps .step.current {
    color: white;
    background-color: #1b6ec2;
}


    .arrow-steps .step.current:after {
        border-left: 0.5rem solid #1b6ec2;
    }

.arrow-steps .step.done {
    color: white;
    background-color: #28a745;
}


    .arrow-steps .step.done:after {
        border-left: 0.5rem solid #28a745;
    }

    /*---------------------------------------*/









/*.job-list-item:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}*/

.job-list-item:hover, .job-list-item.selected {
    cursor: pointer;
    background-color: #007bff30;
}



.row {
    margin-right: -1rem;
    margin-left: -1rem;
}


.imageButton {
    image-rendering: auto;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity ease-in-out 0.1s;
}

.imageButton:hover {
    opacity: 1;
}


input[type=checkbox], input[type=radio] {

    display: inline-block;
    margin-top: 0.2rem;
    vertical-align: top;
}


/*----TABS-------------------------------*/

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #ffffff;
    border-bottom-color: #ffffff;
    margin-bottom: -1px;
    position: relative;
    border-top-color: #479cc8;
}


.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: rgba(58, 71, 77, 0.5);
    padding: 0.375rem 1.875rem;
    font-weight: 600;


    border: solid 1px #dfe7ec;
    border-top-width: 2px;
    border-bottom-color: #e6ecef;
    background-color: #e6ecef;
    border-radius: 4px 4px 0 0;
}


    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover {
        background-color: #ffffff;
        border-top-color: #479cc8;
    }
    

    .tab-content {
    background-color: #ffffff;
    border: solid 1px #dfe7ec;
    border-radius: 0 0 4px 4px;
    -webkit-box-shadow: 0 8px 10px 0 rgb(0 0 0 / 1%);
    box-shadow: 0 8px 10px 0 rgb(0 0 0 / 1%);
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: auto;
    margin-top: -1px;
    padding: 1.5rem 1rem 1rem 1rem;
}


/*-----END TABS--------------------------*/


.invoice {
    background-color: #f8fbff;
    padding: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
}

.invoice-paid {
    background-color: #e8f7e7;
}

.invoice-toggle-down, .invoice-toggle-up{
    display: none;
    color: #999;
    transition: 0.3s;
    cursor: pointer;
}

.invoice-toggle-down:hover, .invoice-toggle-up:hover {
    color: #666;
}

.invoice.invoice-collapse .invoice-toggle-down {
    display: inline-block;
    width: 2rem;
}

.invoice:not(.invoice-collapse) .invoice-toggle-up {
    display: inline-block;
    width: 2rem;
}





    .invoice.invoice-collapse .invoice-content {
        max-height: 0;
        padding-top: 0;
        transition: 0.3s;
    }

.invoice-content {
    overflow: hidden;
    padding-top: 0.5rem;
    max-height: 2000px;
    transition: 0.3s;
}



/*----------------------------------------*/

.jobTile {
    /*        border: 1px solid #139ec1;
                    padding: 15px;
                    margin-bottom: 1rem;*/
    padding: 1rem 1rem 0rem 1rem;
}

    .jobTile.SteelStudio {
        background-color: #71cd1410;
    }

    .jobTile.FranklinLaserCutting {
        background-color: #A9322610;
    }

.partsRow {
    max-height: 0;
    transition: max-height ease-in-out 0.5s;
    overflow: auto;
}

    .partsRow.show {
        max-height: 2000px;
        /*     margin-bottom: 0.75rem;*/
    }

.partButton {
    height: 1rem;
    background-color: #000;
    opacity: 0;
    cursor: pointer;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    margin-top: 0rem;
    transition: opacity ease-in-out 0.1s;
}

    .partButton:hover {
        opacity: 0.1;
    }

.jobTile .partTable {
    margin-top: 0.5rem;
}