/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

@font-face {
    font-family: "UKNumberPlate";
    src: url("/css/numberplate/UKNumberPlate.eot");
    font-weight: normal;
    font-style: normal;
}

/*This is for vehicle reg*/
.codepen-wrapper {
    width: 15%;
    margin: 0 37.5%;
}

.registration-ui {
    background: linear-gradient(to bottom, #f8d038 0%,#f5ca2e 100%);
    padding: .25em 1em .25em 1.75em;
    font-weight: bold;
    font-size: 1.5em;
    border-radius: 5px;
    border: 1px solid #000;
    box-shadow: 1px 1px 1px #ddd;
    position: relative;
    font-family: helvetica, ariel, sans-serif;
}
/*
    .registration-ui:before {
        content: 'GB';
        display: block;
        width: 30px;
        height: 100%;
        background: #063298;
        position: absolute;
        top: 0;
        border-radius: 5px 0 0 5px;
        color: #f8d038;
        font-size: .5em;
        line-height: 65px;
        padding-left: 7px;
    }*/

    .registration-ui:after {
        content: '';
        display: block;
        position: absolute;
        top: 7px;
        left: 5px;
        width: 20px;
        height: 20px;
        border-radius: 30px;
        border: 1px dashed #f8d038;
    }

html, body {
    /*font-family: Arial, sans-serif;*/
    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";
}

.numberPlate {
    font-family: 'UKNumberPlate';
    src: url("/css/numberplate/UKNumberPlate.eot");
    font-weight: normal;
    font-style: normal;
    font-size: larger;
}

app {
    /*position: relative;*/
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
    z-index: 999;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: white;
}

.main {
    flex: 1;
    /*background: #ececec;
    background-image: linear-gradient(180deg, rgb(236, 236, 236) 0%, #d4d4d4 70%);*/
    /*min-height: calc(100vh - 6.6rem);*/ /*5em top, 2em footer*/
}

    .main .top-row {
        background-color: #e6e6e6;
        border-bottom: 1px solid #d6d5d5;
    }

.content {
    padding-top: 0;
    flex: 1;
    /*padding-top: 1.1rem;*/
}

.main-footer {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.75rem;
}

.environment-banner {
    width: 100%;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5), -1px -1px 1px rgba(0, 0, 0, 0.5), -1px 1px 1px rgba(0, 0, 0, 0.5), 1px -1px 1px rgba(0, 0, 0, 0.5);
    margin-top: -0.45em;
    background: repeating-linear-gradient( 45deg, #bcb960, #bcb260 10px, #989146 10px, #979846 20px );
    font-size: 1.2em;
    height: 1.6em;
}

    .environment-banner > .badge {
        text-shadow: none;
        margin-top: 0.2em;
        border: 1px solid black;
    }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .mdi {
        width: 2rem;
        font-size: 1.5rem;
        vertical-align: text-top;
        top: -2px;
    }

/*.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }*/

/*.nav-item a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }*/

/*.nav-item a.active {
            background-color: rgba(255,255,255,0.25);
            color: white;
        }

        .nav-item a:hover {
            background-color: rgba(255,255,255,0.1);
            color: white;
        }*/



.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 767.98px) {
    .main .top-row {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .environment-banner {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        width: 13px;
        background: rgba(121, 121, 121, 0.44);
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
        box-shadow: 1px 1px #e4e4e4;
    }

        .lds-facebook div:nth-child(1) {
            left: 6px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 26px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 45px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 6px;
        height: 51px;
    }

    50%, 100% {
        top: 19px;
        height: 26px;
    }
}


.employee-card {
    border: solid #c1c1c1 1px;
    padding: 1em;
    flex-grow: 1;
    flex-basis: 33%;
    margin: 0.33em;
    border-radius: 0.3em;
}

.employee-wall {
    display: flex;
}

.job-item {
    background-color: #e4e3e3;
    min-height: 3rem;
    padding: 0.2rem;
    margin: 0.2rem;
}

    .job-item .description {
        font-size: 0.8rem;
        color: #636363;
    }

.job-body-icon {
    width: 3rem;
    display: inline-block;
    line-height: 3rem;
    font-size: 2.5em;
    color: lightgrey;
    text-align: center;
}

.job-item-body {
    display: inline-block;
}

.date-buttons {
    background: unset;
    border: unset;
    font-size: 1.1em;
}

/* BLAZOR GRID */
.jsgrid-grid-header {
    text-align: center;
    border-collapse: collapse;
    background: #ebebeb;
}

.jsgrid-row-item:hover {
    background: #9fcdf4;
}

th, td {
    padding: 4px;
    border: 1px solid #d1d1d1;
    text-align: center;
    background: white;
}


    /*TABLE SORT*/
    .bbg-header-cell.sort-by,
    th.sort-by {
        padding-right: 18px;
        position: relative;
        cursor: pointer;
        user-select: none;
    }

        .bbg-header-cell.sort-by:before,
        .bbg-header-cell.sort-by:after,
        th.sort-by:before,
        th.sort-by:after {
            border: 4px solid transparent;
            content: "";
            display: block;
            height: 0;
            right: 5px;
            top: 50%;
            position: absolute;
            width: 0;
        }

        .bbg-header-cell.sort-by:before,
        th.sort-by:before {
            margin-top: -9px;
        }

        .bbg-header-cell.sort-by:after,
        th.sort-by:after {
            margin-top: 1px;
        }

    .bbg-header-cell.sort-asec:before,
    th.sort-asec:before {
        border-bottom-color: #666;
    }

    .bbg-header-cell.sort-desc:after,
    th.sort-desc:after {
        border-top-color: #666;
    }




/* Lightbox */
.lightbox {
    /** Default lightbox to hidden */
    display: none;
    /** Position and style */
    position: fixed;
    z-index: 9999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
}

    .lightbox img {
        /** Pad the lightbox image */
        max-width: 90%;
        max-height: 80%;
        margin-top: 2%;
    }

    .lightbox.lightbox-show {
        /** Remove default browser outline */
        outline: none;
        /** Unhide lightbox **/
        display: block;
    }

.lightbox-caption {
    color: white;
    display: block;
}


.image-container {
    display: flex;
    background: #e8e8e8;
    /*border: #d6d6d6 solid 0.15rem;*/
    padding-top: 1rem;
    padding-bottom: 1rem;
}
    /*ViewEstimate page*/
    .image-container img {
        cursor: pointer;
        width: 10vw;
        max-width: 33%;
        max-height: 30vh;
        height: 200px;
        padding: 4px;
        object-fit: contain;
        flex-grow: 1;
        filter: drop-shadow(0.1em 0.1em 0.2em black);
    }

/*
 * Component: Timeline
 * -------------------
 */
.timeline {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

    .timeline:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ddd;
        left: 31px;
        margin: 0;
        border-radius: 2px;
    }

    .timeline > li {
        position: relative;
        /*margin-right: 10px;*/
        margin-bottom: 1rem;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-item {
            -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            border-radius: 3px;
            margin-top: 0;
            background: #fff;
            color: #444;
            margin-left: 60px;
            /*margin-right: 15px;*/
            padding: 0;
            position: relative;
        }

            .timeline > li > .timeline-item > .time {
                color: #999;
                float: right;
                padding: 10px;
                font-size: 12px;
            }

            .timeline > li > .timeline-item > .timeline-header {
                margin: 0;
                color: #555;
                border-bottom: 1px solid #f4f4f4;
                padding: 10px;
                font-size: 16px;
                line-height: 1.1;
            }

                .timeline > li > .timeline-item > .timeline-header > a {
                    font-weight: 600;
                }

            .timeline > li > .timeline-item > .timeline-body,
            .timeline > li > .timeline-item > .timeline-footer {
                padding: 10px;
            }

        .timeline > li > .mdi,
        .timeline > li > .glyphicon,
        .timeline > li > .ion {
            width: 30px;
            height: 30px;
            font-size: 15px;
            line-height: 30px;
            position: absolute;
            color: #666;
            background: #d2d6de;
            border-radius: 50%;
            text-align: center;
            left: 18px;
            top: 0;
        }

    .timeline > .time-label > span {
        font-weight: 600;
        padding: 5px;
        display: inline-block;
        background-color: #fff;
        border-radius: 4px;
    }

.timeline-inverse > li > .timeline-item {
    background: #f0f0f0;
    border: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .timeline-inverse > li > .timeline-item > .timeline-header {
        border-bottom-color: #ddd;
    }

.timeline-item {
    margin-left: 165px !important;
}

.timeline-time {
    width: 125px;
    height: 30px;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    color: #818181;
    text-align: left;
    left: 0px;
    margin-top: 3px;
    /*line-height: 30px;*/
    top: 0;
}

.timeline-time-moment {
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    display: inline-block
}

.timeline-body {
    color: grey;
    font-size: 14px;
}

.row-expanded > div > a > i::before {
    content: '\f078';
}

.timeline > li > .mdi {
    left: 120px;
}

.timeline:before {
    left: 133px;
}

.timeline > li > .timeline-item > .timeline-header {
    font-size: 19px;
    padding-top: 2px;
}

.estimate-table > tbody > tr > td {
    vertical-align: middle;
}

.estimate-table tr:nth-child(odd) td {
    background: rgba(255, 255, 255, 0.75);
}
/* Card margin*/
.card {
    margin-bottom: 1rem;
}

/*Estimate*/
#estimate-status > span {
    font-weight: 400;
    box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.28);
}

.row {
    margin-left: -0.5em;
    margin-right: -0.5em;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.damage-area-div > div {
    position: absolute;
    color: white;
    font-size: 0.8em;
    /*text-align: center;*/
    text-shadow: 1px 1px 1px black, -1px -1px 1px black, -1px 1px 1px black, 1px -1px 1px black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.damage-selected {
    background: repeating-linear-gradient( 45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 10px, #ff0000 10px, #ff0000 20px );
}

.bbg-column-search {
    padding: 0.1em !important;
}

.bbg-grid th,
.bbg-grid td {
    margin: 0;
    padding: 0;
}

.bbg-grid .bbg-cell {
    padding: 0.1em;
    border: 1px solid rgba(233, 233, 233, 0.15);
    justify-content: center;
    align-content: center;
    align-items: center;
    display: flex;
}

.bbg-grid,
.table-grid {
    box-shadow: 1px 1px 1px #c1c1c1;
    margin-bottom: 0.5rem;
}

    .bbg-grid .bbg-header-row,
    .table-grid .table-grid-search {
        padding: 0.2rem;
    }

        .bbg-grid .bbg-header-row > input,
        .table-grid .table-grid-search > input {
            border: 1px solid #c7c7c7;
            padding: 2px;
        }

    .bbg-grid .bbg-header-cell,
    .bbg-grid .bbg-cell,
    .table td, .table th,
    .table-grid thead th {
        border-color: #e8e8e8;
    }

    .bbg-grid .bbg-header-cell,
    .table-grid thead th {
        color: #444444;
        font-weight: 600;
        padding: 0.5em 1em;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bbg-grid .bbg-cell,
    .table-grid td {
        font-size: 0.9em;
        word-break: break-word;
    }

.bbg-grid-blank,
.bbg-grid-blank .bbg-header-cell,
.bbg-grid-blank .bbg-cell,
.bbg-grid-blank td, .bbg-grid-blank th,
.bbg-grid-blank thead th {
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

    .bbg-grid-blank .jsgrid-row-item:hover {
        background: none;
    }

.gatein-cards {
    cursor: pointer;
}

.clearfix:before,
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* Menu */
.top-level-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    /*overflow: scroll;*/
    padding: 0;
    background: #242424;
    color: lightgrey;
    /*line-height: 4em;*/
    line-height: 3em;
    margin-bottom: 0.5em;
}


    .top-level-nav > li {
        /*flex: 1;*/
        white-space: nowrap;
        margin: 0.7em 0.5em;
        /*background: grey;*/
        color: lightgrey;
        padding: 0.3em 0.3em;
        border-radius: 0.5em;
    }

/*.terminal-level-nav {
    line-height: 2.5em;
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    background: #292929;
    color: lightgrey;
}

.terminal-level-nav > li {
    white-space: nowrap;
    margin: 0 0.5em;
    color: lightgrey;
    padding: 0.3em 0.3em;
    border-radius: 0.5em;
}*/

.top-level-active {
    color: white !important;
}

/* Tabs*/
.nav-tabs2 {
    border-bottom: 1px solid #bfbfbf;
}

    .nav-tabs2 .nav-item2 {
        margin-bottom: -1px;
    }

.nav-link, a.btn {
    cursor: pointer;
}

    a.btn:disabled {
        cursor: default;
    }

.nav-tabs2 .nav-item2.show .nav-link, .nav-tabs2 .nav-link2.active {
    color: #495057;
    /*background-color: #fff;*/
    border-color: #bfbfbf #bfbfbf rgb(224, 224, 224);
    border-top: 2px solid #350849;
}

.nav-tabs2 .nav-link2 {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    font-size: 0.95em;
    font-weight: 300;
    padding: 0.2rem 0.8rem;
}

.nav-link2 .mdi {
    margin-right: 0.3em;
}

.nav-item2 a {
    color: #777777;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 2.5rem;
    line-height: 2.5rem;
}

.dropdown-toggle a {
    color: lightgrey;
}

.nav-link2 {
    display: block;
    padding: .5rem 1rem;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.site-icon {
    height: 2em;
    filter: drop-shadow(1px 1px black);
}

a.top-level-nav {
    color: lightgray;
}

.top-level-nav > li {
    margin: auto 0;
    position: sticky;
    box-sizing: border-box;
    font-weight: 300;
    padding-left: 0.5em;
    padding-right: 0.5em;
    z-index: 1000;
}
/*.dropdown-menu {
    z-index:1001 !important;
}*/
.top-level-item:hover .dropdown-menu,
.dropdown-menu:hover,
.dropdown-menu.show {
    display: block;
    position: absolute;
    transform: translate3d(0px, 40px, 0px);
    /*top: 1em;*/
    top: 0.4em;
    /*left: 0px;*/
    will-change: transform;
}

.dropdown-item {
    line-height: 2em;
}

.top-level-nav-user {
    margin-left: auto !important;
}

.nav-breadcrumb {
    font-size: 0.95em;
    color: #868686;
    margin-left: 0.5em;
    font-weight: 500;
    margin-bottom: 1em;
}

    .nav-breadcrumb a {
        font-weight: 400;
        padding: 0 0.2em;
        color: #5597de;
    }

        .nav-breadcrumb a:last-of-type {
            font-weight: 500;
        }


.qa-item {
    text-align: center;
    width: 11em;
    background: #d4d4d4;
    margin: 1em;
    border-radius: 1em;
    box-shadow: 1px 1px 1px #a2a2a2;
    padding-bottom: 0.5em;
}

    .qa-item a {
        color: #4c4c4c;
    }

.qa-icon {
    font-size: 5em;
    display: block;
}
/* Wizard*/
.wizard div a {
    display: block;
}

.wizard {
    /*background-color: white;*/
    padding: 0.2em 0em 0.2em 0.2em;
}

    .wizard div {
        flex: 1 1 0;
        padding: 20px 12px 20px;
        position: relative;
        display: inline-block;
        text-decoration: none;
        /*min-width: 24.75%;*/
        margin-left: 3px;
        text-align: center;
        text-decoration: none;
        font-size: 14px;
        color: #FFFFFF;
        background: #28a745;
        text-transform: uppercase;
        color: #656565;
        background: #d8d8d8;
    }

        .wizard div:hover {
            text-decoration: none;
            cursor: default;
        }

        .wizard div:first-child {
            margin-left: 0;
        }

    .wizard:not(.left-arrow) div:before {
        width: 0;
        height: 0;
        border-top: 15px inset transparent;
        border-bottom: 15px inset transparent;
        border-left: 15px solid #FFFFFF;
        position: absolute;
        content: "";
        top: 0;
        left: 0;
    }


    .wizard:not(.left-arrow) div:after {
        width: 0;
        height: 0;
        border-top: 15px inset transparent;
        border-bottom: 15px inset transparent;
        border-left: 15px solid #28a745;
        position: absolute;
        content: "";
        top: 0;
        right: -30px;
        z-index: 2;
        border-left-color: #d8d8d8;
    }

    .wizard:not(.left-arrow) div.bg-success:after {
        border-left-color: #28a745 !important;
    }

    .wizard div.bg-success {
        color: white;
    }

        .wizard div.bg-success a {
            color: #cecece;
        }
    /*.wizard.left-arrow div:before {
    width: 0;
    height: 0;
    border-top: 30px inset transparent;
    border-bottom: 30px inset transparent;
    border-right: 30px solid #28a745;
    position: absolute;
    content: "";
    top: 0;
    left: -30px;
    z-index: 2;
}*/
    /*.wizard.left-arrow div:after {
    width: 0;
    height: 0;
    border-top: 30px inset transparent;
    border-bottom: 30px inset transparent;
    border-right: 30px solid #FFFFFF;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    z-index: 2;
}*/
    .wizard div:first-child:before,
    .wizard div:last-child:after {
        border: none;
    }

    .wizard div:first-child {
        -webkit-border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        border-radius: 4px 0 0 4px;
    }

    .wizard div:last-child {
        -webkit-border-radius: 0 4px 4px 0;
        -moz-border-radius: 0 4px 4px 0;
        border-radius: 0 4px 4px 0;
    }

        .wizard div:last-child:not(.current):not(.future) {
            /*May want another class and the :before rather than using last-child.*/
            background-color: #28a745;
            background-color: #d8d8d8;
        }

    .wizard.left-arrow div:last-child:before,
    .wizard.small.left-arrow div:last-child:before {
        border-right-color: #28a745;
        border-right-color: #d8d8d8;
    }

    .wizard .badge {
        margin: 0 5px 0 18px;
        position: relative;
        top: -1px;
    }

    .wizard div:first-child .badge {
        margin-left: 0;
    }

    .wizard div.current a {
        color: #5a5a5a;
    }

    .wizard .current, .wizard div.progress-current {
        background: #ffc107;
        color: #383838;
    }

        .wizard div.current:after, .wizard div.progress-current:after {
            border-left-color: #ffc107 !important;
        }

    .wizard.left-arrow div.current:before, .wizard.left-arrow div.progress-current:before,
    .wizard.small.left-arrow div.current:before, .wizard.small.left-arrow div.progress-current:before {
        border-right-color: #ffc107;
    }

    .wizard div.current .badge, .wizard div.progress-current .badge {
        background-color: #FFFFFF;
        color: #ffc107;
    }

    .wizard .future, .wizard div.progress-current {
        /*background: #bbbbbb;
        color: #fff;
        text-shadow: 1px 1px 1px black;
        background: repeating-linear-gradient( 45deg, #737373, #737373 10px, #9a9a9a 10px, #9a9a9a 20px );*/
        background: #bbbbbb;
        color: rgba(0, 0, 0, 0.5)
    }

        .wizard div.future:after, .wizard div.progress-current:after {
            border-left-color: #bbbbbb !important;
        }

    .wizard.left-arrow div.future:before, .wizard.left-arrow div.progress-current:before,
    .wizard.small.left-arrow div.future:before, .wizard.small.left-arrow div.progress-current:before {
        border-right-color: #bbbbbb;
    }

    .wizard div.future .badge, .wizard div.progress-current .badge {
        background-color: #FFFFFF;
        color: #bbbbbb;
    }

    .wizard.small {
        margin-bottom: 15px;
    }

        .wizard.small div {
            padding: 5px 12px 5px;
        }

        .wizard.small:not(.left-arrow) div:before {
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-left: 15px solid #FFFFFF;
        }

        .wizard.small:not(.left-arrow) div:after {
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-left: 15px solid #28a745;
            right: -15px;
            border-left-color: #d8d8d8;
        }

        .wizard.small.left-arrow div:before {
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-right: 15px solid #28a745;
            left: -15px;
            z-index: 2;
            border-right-color: #d8d8d8;
        }

        .wizard.small.left-arrow div:after {
            width: 0;
            height: 0;
            border-top: 15px inset transparent;
            border-bottom: 15px inset transparent;
            border-right: 15px solid #FFFFFF;
        }

        .wizard.small div:first-child:before,
        .wizard.small div:last-child:after {
            border: none;
        }

span.round-tab {
    margin-right: 0.5rem;
}

tr.pending td {
    background: rgba(255, 193, 7, 0.1) !important;
}

tr.done td {
    background: rgba(40, 167, 69, 0.2) !important;
}


/* Blazor */

.s-damage-type {
    font-weight: 500;
    display: block;
}

.s-damage-component-material {
    font-size: 0.95em;
    display: block;
}

.s-damage-location {
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.2em;
    display: block;
}

.s-damage-edicode {
    font-size: 0.7em;
    color: grey;
    display: block;
}

.d-part-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.d-part-img {
    max-width: 100px;
    max-height: 100px;
}

.d-part-material {
    font-size: 0.9em;
    color: grey;
    display: block;
}

.d-part-code {
    font-size: 0.7em;
    color: grey;
    display: block;
}

.d-part-qty {
    font-weight: 500;
    display: block;
}

.d-part-name {
    display: block;
    font-size: 0.95em;
}
/* mnr-ji = mnr-job instance*/

div.mnr-ji-table {
    padding: 0 !important;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.mnr-ji-cell {
    position: relative;
    text-align: center;
}

.mnr-ji-header-cell,
.mnr-ji-cell {
    /*background: white;*/
    /*border: 1px #e8e8e8 solid;*/
    border-top: 0 !important;
    border: 1px rgba(0, 0, 0, 0.06) solid;
    overflow: hidden;
}

.mnr-ji-editable-cell {
    cursor: pointer;
}

    .mnr-ji-editable-cell:hover {
        background-color: rgba(255, 255, 170, 0.5);
    }

.mnr-ji-header-cell {
    border-bottom-width: 2px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    display: table-cell;
    padding: .65rem;
    border-top: 1px solid #dee2e6;
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
}

.mnr-ji-cell-validation-error {
    color: #dc3545 !important;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
}

.mnr-ji-cell-validation-warning {
    color: rgba(130, 112, 58, 0.5) !important;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9em;
}

.mnr-ji-cell:hover .mnr-ji-cell-edit {
    display: block;
}

.mnr-ji-cell-edit {
    position: absolute;
    top: 0;
    right: 0;
    display: none;
}

    .mnr-ji-cell-edit button {
        background: rgba(230, 230, 230, 0.8);
        border: 0;
        cursor: pointer;
        border: 1px solid #9c9c9c;
        color: #484848;
    }

.mnr-job-header {
    position: relative;
    /*background: #fff;*/
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 0 !important;
    /*border-bottom: 2px solid #eaeaea;*/
    border-bottom-width: 2px;
    background: #ececec;
}

/* MnR Table Responsiveness */
@media screen and (max-width:991px) {
    .mnr-ji-cell::before {
        content: attr(data-label);
        float: left;
        font-size: 0.9em;
        text-transform: uppercase;
        font-weight: 500;
        position: relative;
        left: 0;
        color: #adadad;
    }

    .mnr-ji-header {
        display: none;
    }

    .mnr-full-row {
        margin-bottom: 2em;
    }
}

div.mnr-job-header {
    padding-left: 1rem !important;
}
/*
.locked-estimate {
    filter: opacity(0.8) grayscale(1);
}
*/
.mnr-image-preview {
    cursor: pointer;
    /*    width: 10vw;*/
    min-width: 40px;
    max-width: 33%;
    max-width: min(20vw, 33%);
    /*height: 200px;*/
    padding: 4px;
    object-fit: contain;
    flex-grow: 1;
    position: relative;
}

    .mnr-image-preview img {
        max-width: 100%;
        max-height: 100%;
        height: 120px;
        object-fit: contain;
        filter: drop-shadow(0.1em 0.1em 0.2em black);
    }


/* Dialog - initially used for the Blazor InspectionDialogue but also useable elsewhere */
.dialog {
    background-color: white;
    box-shadow: 0 0 12px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    z-index: 2000;
    align-self: center;
    margin: auto;
    max-width: 700px;
    width: 90%;
    max-height: calc(100% - 3rem);
    animation: dialog-entry 0.4s;
    animation-timing-function: cubic-bezier(0.075, 0.820, 0.165, 1.000);
}

.dialog-title {
    background-color: #444;
    color: #fff2cc;
    padding: 1.3rem 2rem;
}

    .dialog-title h2 {
        color: white;
        font-size: 1.4rem;
        margin: 0;
        font-family: 'Bahnschrift', Arial, Helvetica, sans-serif;
        text-transform: uppercase;
        line-height: 1.3rem;
    }

.dialog-body {
    flex-grow: 1;
    padding: 0.5rem 0 1rem 0;
}

.dialog-buttons {
    height: 4rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    background-color: #eee;
    padding: 0 1rem;
}

.dialog-body > div {
    margin-bottom: 1rem;
    align-items: center;
}

.dialog-body label {
    text-align: left;
    width: 200px;
    margin: 0 1.5rem;
}

.dialog-body input, .dialog-body select {
    flex-grow: 1;
    width: unset;
}

.dialog-body .size-label {
    min-width: 110px;
    text-align: right;
}

.mnr-image-delete-btn {
    color: red;
    text-shadow: #2d0000 1px 1px 1px, #2d0000 -1px -1px 1px, #2d0000 -1px 1px 1px, #2d0000 1px -1px 1px;
    /*border-radius: 102%;*/
    font-size: 2rem;
    margin-top: -0.5rem;
    margin-right: 0.4rem;
}

/* TIMELINE */
/*
 * Component: Timeline
 * -------------------
 */
.timeline {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}

    .timeline:before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background: #ddd;
        left: 31px;
        margin: 0;
        border-radius: 2px;
    }

    .timeline > li {
        position: relative;
        margin-right: 10px;
        margin-bottom: 15px;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-item {
            -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
            border-radius: 3px;
            margin-top: 0;
            background: #fff;
            color: #444;
            margin-left: 60px;
            margin-right: 15px;
            padding: 0;
            position: relative;
        }

            .timeline > li > .timeline-item > .time {
                color: #999;
                float: right;
                padding: 10px;
                font-size: 12px;
            }

            .timeline > li > .timeline-item > .timeline-header {
                margin: 0;
                color: #555;
                border-bottom: 1px solid #f4f4f4;
                padding: 10px;
                font-size: 16px;
                line-height: 1.1;
            }

                .timeline > li > .timeline-item > .timeline-header > a {
                    font-weight: 600;
                }

            .timeline > li > .timeline-item > .timeline-body,
            .timeline > li > .timeline-item > .timeline-footer {
                padding: 10px;
            }

        .timeline > li > .fa,
        .timeline > li > .glyphicon,
        .timeline > li > .ion {
            width: 30px;
            height: 30px;
            font-size: 15px;
            line-height: 30px;
            position: absolute;
            color: #666;
            background: #d2d6de;
            border-radius: 50%;
            text-align: center;
            left: 18px;
            top: 0;
        }

    .timeline > .time-label > span {
        font-weight: 600;
        padding: 5px;
        display: inline-block;
        background-color: #fff;
        border-radius: 4px;
    }

.timeline-inverse > li > .timeline-item {
    background: #f0f0f0;
    border: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
}

    .timeline-inverse > li > .timeline-item > .timeline-header {
        border-bottom-color: #ddd;
    }

.timeline-item {
    margin-left: 165px !important;
}

.timeline-time {
    width: 125px;
    height: 30px;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    color: #818181;
    text-align: left;
    left: 0px;
    margin-top: 3px;
    /*line-height: 30px;*/
    top: 0;
}

.timeline-time-moment {
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    display: inline-block
}

.timeline-body {
    color: grey;
    font-size: 14px;
}

.timeline > li > .fa {
    left: 120px;
}

.timeline:before {
    left: 133px;
}

.timeline > li > .timeline-item > .timeline-header {
    font-size: 19px;
    padding-top: 2px;
}

.btn-group-xs > .btn, .btn-xs {
    padding: .125rem .25rem;
    font-size: .8rem;
    line-height: 1.4;
    border-radius: .15rem;
}

.hide-empty:empty {
    display: none;
}

@media screen and (max-width:900px) {
    .top-level-nav {
        flex-wrap: wrap;
        line-height: 1.5em;
        padding-bottom: 0.5em;
    }

    .top-level-item {
        max-width: 50%;
        text-align: center;
        /*font-size:0.9em;*/
        padding-left: 1em !important;
        padding-right: 1em !important;
        flex: 1;
    }

    .top-level-logo {
        width: 40%;
        text-align: left;
        order: -2;
    }

    .top-level-nav-user {
        order: -1;
        width: 60%;
        text-align: right;
        flex: initial !important;
        color: white;
    }

        .top-level-nav-user > .dropdown-toggle {
            color: #e4e4e4;
        }

    .top-level-item:hover .dropdown-menu, .dropdown-menu:hover, .dropdown-menu.show {
        top: -0.8em;
    }
}

/*@media screen and (max-height:800px) {
    .modal-body {
        overflow-y: auto !important;
    }
}*/



.search-select-input[readonly] {
    background-color: white !important;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}

.search-select-dropdown {
    margin-top: -1.05em;
}

.search-select-input::placeholder {
    color: #a0a0a0 !important;
}

.search-select-input::-ms-input-placeholder {
    color: #a0a0a0 !important;
}


.search-select-input[readonly].search-select-has-clear-button {
    background: initial;
}

.search-select-has-clear-button:placeholder-shown {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

.search-select-has-clear-button::-ms-input-placeholder {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

.search-select-clear-button {
    padding: 0 0.3em;
    width: 35px;
    margin-left: -35px;
    z-index: 1;
    display: inline-block;
    font-size: 1.2em;
}

.dropdown-keyboard-item {
    background: rgba(0, 0, 255, 0.2) !important;
}

#inboundAssetTable .form-group, #outboundAssetTable .form-group {
    margin: 0 !important;
}

.card-button-set {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

    .card-button-set > * {
        margin: 0.15em;
    }

.starred-control {
    color: #dadada;
    text-shadow: 0 -1px 0 #797979,-1px 0 0 #797979,0 1px 0 #797979,1px 0 0 #797979 !important;
}

    .starred-control.starred {
        color: #f3d90e;
        text-shadow: 0 -1px 0 #ddc507,-1px 0 0 #ddc507,0 1px 0 #ddc507,1px 0 0 #ddc507 !important;
    }

input + label.btn {
    cursor: pointer;
}

input:disabled + label.btn, input:disabled + label.btn:hover, input:disabled + label.btn:active {
    color: #9a9a9a !important;
    background: #dddddd !important;
    border-color: #9a9a9a !important;
}

.dropdown-header {
    background-color: #eee;
}



.clearable-input::placeholder {
    color: #a0a0a0 !important;
}

.clearable-input::-ms-input-placeholder {
    color: #a0a0a0 !important;
}

/*.search-select-input[readonly].search-select-has-clear-button {
    background: initial;
}*/

.clearable-input-clear-button:placeholder-shown {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

.clearable-input-clear-button::-ms-input-placeholder {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
}

.clearable-input-clear-button {
    padding: 0 0.3em;
    width: 35px;
    margin-left: -35px;
    z-index: 1;
    display: inline-block;
    font-size: 1.2em;
}


.readonly-active[readonly] {
    background-color: #fff;
}

/* Blazor reconnect modal. */
#components-reconnect-modal {
    z-index: 2000 !important;
}

.form-control.is-warning:focus, .was-validated .form-control:invalid:focus {
    border-color: #dcb535;
    box-shadow: 0 0 0 0.2rem rgba(216,220,53,0.25);
}

.form-control.is-warning, .was-validated .form-control:invalid {
    border-color: #dcb535;
}
