body.acv-app {
    padding: 0;
    font-size: 18px;
}
    /* deal with embiggening the fonts */
    body.acv-app .form-group.form-group-no-label .form-control-prefix {
        top: 2px;
    }

    body.acv-app .form-control.form-control-has-prefix {
        padding-left: 27px;
    }

    body.acv-app .form-control {
        font-size: 16px;
        line-height: 24px;
        /* height: 36px; */
    }

    body.acv-app .has-feedback.col-has-feedback .form-control-feedback {
        top: inherit;
        bottom: 1px;
        height: 34px;
        width: 22px;
        line-height: 34px;
    }

/* header / nav */
body.acv-app {
    font-family: 'Source Sans Pro';
}

    body.acv-app .brand > div {
        display: inline-block;
    }

    body.acv-app .brand h2 {
        margin: 0;
    }
/**/

/* this is used for the Unauthorized page. */
.page-wrap {
    margin: 0 auto;
    width: 100%;
    text-align: center;
}


.desk-ribbon td:first-child {
    text-align: left;
    font-weight: bold;
}

    .desk-ribbon td:first-child, .desk-ribbon td:first-child + td {
        border-left: none;
    }

.desk-ribbon td {
    border-left: 1px solid #ddd;
    text-align: center;
}

.btn-override {
    display:inline;
    padding:5px;
}

/* acv desk tabs */
.navbar-acv {
    border-right: none;
    border-left: none;
    border-radius: 0;
}

    .navbar-acv .navbar-nav > li > a {
        background: #337ab7;
        color: #fff;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
        border-right-width: 10px;
        margin: 4px 0 0 4px;
        border: 1px solid #135a97;
    }

    .navbar-acv .navbar-nav > li:hover > a {
        border-color: #135a97;
    }

    .navbar-acv .navbar-nav > .active > a {
        background: #d9edf7;
        border-color: #b9cdd7;
        border-bottom: none;
        color: #31708f;
        font-weight: bold;
        margin-bottom: -2px;
        margin-top: 5px;
    }

    .navbar-acv .navbar-nav > li.active:hover > a {
        border-color: #b9cdd7;
    }



    /* header info area */
    .navbar-acv .navbar-form {
        color: #777;
        margin-top: 18px; /* logout is 30px, total header size is 56px */
    }

.navbar-text-item {
    border-left: 1px solid #999;
    padding: 0 6px;
    font-size: 18px;
    line-height: 18px;
    vertical-align: middle;
}

    .navbar-text-item:first-child {
        border-left: none;
    }



thead + tbody tr:first-child td {
    border-top: none;
    border-bottom: none;
}

tbody tr:first-child td {
    border-top: none;
    border-bottom: none;
}

.divider {
    border-left: solid 1px #ccc;
    height: 100px;
    margin-right: -85px;
}

tr.text-muted {
    background-color: #e9e9e9 !important;
}

.adjustment-prefix {
    position: absolute;
    /*left: 0;*/
    z-index: 2;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    pointer-events: none;
    bottom: 0;
}

.adjust-prefix-right {
    right: 150px;
}

/* store config */
#store-config tbody.all {
    font-weight: bold;
}

    #store-config tbody.all td {
        background-color: #DCF0F9;
    }

    #store-config tbody.all tr:last-child td {
        border-bottom: 2px solid #666;
    }

/* vin history on acv summary is too big, so it needs something to let it fit*/
.panel-customer-vin-history table {
    font-size: 14px;
}

/* desk stuff */
.page-desk .row-desk-filter {
    background-color: #d9edf7;
    color: #31708f;
    font-weight: bold;
    /*margin-bottom: 20px;
    border-bottom: 1px solid #ccc;*/
}

    .page-desk .row-desk-filter:first-child {
        margin-top: -20px;
        padding-top: 10px;
    }

    .page-desk .row-desk-filter + .row-desk-filter {
        margin-top: -21px;
    }

.page-desk td.performance {
    width: 20px;
    border-left: 2px solid #999;
    border-right: 2px solid #999;
}

    .page-desk td.performance.red {
        background-color: #ff0000 !important;
    }

    .page-desk td.performance.orange {
        background-color: #ffa500 !important;
    }

    .page-desk td.performance.yellow {
        background-color: #ffff00 !important;
    }

    .page-desk td.performance.purple {
        background-color: #800080 !important;
    }

    .page-desk td.performance.green {
        background-color: #008000 !important;
    }

.risk-font.red {
    color: #a40000;
}

.risk-font.orange {
    color: #f0ac24;
}

.risk-font.yellow {
    color: #f5e533;
}

.risk-font.green {
    color: #43a633;
}

.risk-font.purple {
    color: #800080;
}

div a.smallRiskFont {
    font-size: small;
}

th.highlight {
    background-color: #d9edf7;
}

.strongfont {
    font-size: 26px;
}

/* image list */
.image-list {
    padding: 0;
}

    .image-list li {
        position: relative;
        display: inline-block;
        margin: 10px;
        border: 2px solid #c0c0c0;
        background-color: #e0e0e0;
        cursor: pointer;
    }

        .image-list li img, .image-list li canvas {
            width: 250px;
            height: 200px;
        }

        .image-list li .search-button {
            position: absolute;
            top: 4px;
            left: 4px;
            text-shadow: 1px 2px #999;
        }

        .image-list li .error-feedback {
            display: none;
            position: absolute;
            top: 4px;
            right: 4px;
            text-shadow: 1px 2px #999;
        }

        .image-list li.has-error {
            border-color: #a94442;
        }

        .image-list li:hover .search-button {
            color: #666;
        }

        .image-list li .bottom {
            margin: 5px 0;
        }

        .image-list li.has-error .error-feedback {
            display: inline;
        }
/**/

/* image modal */
.modal-image .modal-dialog, .modal-image .modal-dialog {
    width: 96%;
    height: 92%;
    margin: 2%;
}

.modal-image .modal-content, .modal-image .modal-content {
    display: flex;
    flex-flow: column;
    height: 100%;
}

.modal-image .modal-header, .modal-image .modal-footer, .modal-image .modal-header {
    background-color: #eee;
    flex: 0 1 auto;
}

.modal-image .modal-body, .modal-image .modal-body {
    flex: 1 1 auto;
    padding: 0;
}

.modal-image .view .content {
    position: absolute;
    top: 25px;
    left: 25px;
}

.modal-image .viewer {
    width: 75%;
}

.modal-image .modal-body, .modal-image .modal-body {
    display: flex;
    flex-flow: row;
}

.modal-image .nav-buttons {
    position: absolute;
    width: 25%;
    right: 0;
    bottom: 0;
    padding: 8px;
    text-align: right;
}

.modal-image .comments {
    width: 25%;
    overflow: auto;
    position: relative;
    margin-bottom: 60px;
}

    .modal-image .comments .panel-comments {
        width: 80%;
        margin: auto;
    }

    .modal-image .comments .panel-comments .comment-edit{
        background-color: #fff;
    }

/*pdf image modal*/
.pdf-image-modal {
    padding-left: 20%;
    padding-top: .5%;
    max-height: 70vh;
    overflow-y: scroll;
    background-color: grey;
}

/* mostly to override some things viewerjs does to the element that it is applied to */
.modal-image .viewer-container, .modal-image .viewer-container {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
}

.modal-image .viewer-tooltip, .modal-image .viewer-tooltip {
    top: 5px;
    right: 15px;
    left: auto;
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #fafafa;
    margin: 0;
    background: none;
    opacity: 1;
}

.modal-image .viewer-footer, .modal-image .viewer-footer {
    top: 5px;
    bottom: auto;
}

.modal-image .title, .modal-image .title {
    font-weight: bold;
    font-size: 22px;
    position: absolute;
    left: 15px;
    top: 5px;
    z-index: 1;
}

    .modal-image .title > span {
        color: #fafafa;
    }

.modal-image .modal-header, .modal-image .modal-header {
    border-radius: 6px 6px 0 0;
    padding: 4px 15px 0 15px;
}

.modal.modal-image .close, .modal.modal-image .close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
}

.modal.modal-image .fields {
    margin: 10px 5px 10px 5px;
    display: grid;
    grid-row-gap: 3px;
}

.warning-banner {
    background-color: #f2dede;
    border-color: #ebccd1;
    font-size: 15px;
    padding: 10px;
    margin: 0px -15px 0px -15px;
}

.modal.modal-image .col-field {
    border-right: 1px solid #ccc;
    height: 115%;
}

    .modal.modal-image .col-field:last-child {
        border: none;
    }

.modal-image .field label {
    margin: 0;
    height: 100%;
    white-space: nowrap;
    width: 40%;
    overflow: hidden;
}

    .modal-image .field label:after {
        content: ':';
    }

.modal-image .check-field label {
    text-align: left;
    overflow: visible;
}

    .modal-image .check-field label:after {
        content: '';
    }

.modal-image .field .form-control {
    padding: 2px 2px 2px 8px;
}

.modal-image .field .form-control-prefix {
    left: 40%;
}

.modal-image .field .form-control-has-prefix {
    padding-left: 32px;
}

.modal-image .field .form-control-prefix {
    bottom: 0;
}

.modal-image .field .form-control-feedback, .modal-image .field .form-control-prefix {
    height: 100%;
    writing-mode: vertical-lr;
}

.modal.modal-image .comments-list {
    padding: 0;
    margin: 0;
}

    .modal.modal-image .comments-list li {
        border-radius: 0;
        border-left-width: 0;
        border-right-width: 0;
    }

        .modal.modal-image .comments-list li:hover {
            background-color: #fcf8e3;
        }

/* image modal without audits */
.modal.modal-image.hide-audits .modal-header, .modal.modal-image.hide-audits .comments {
    display: none;
}

.modal.modal-image.hide-audits .viewer {
    width: 100%;
}

.modal.modal-image.hide-audits .nav-buttons {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 8px;
    background-color: white;
    border-bottom-right-radius: 4px;
    width: 380px;
    text-align: center;
}

/* image modal with related images */
.modal.modal-image.show-related .viewer {
    margin-left: 130px;
}

.modal.modal-image.hide-related .related-images {
    display: none;
}

.modal.modal-image .related-images {
    position: absolute;
    width: 130px;
    z-index: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 0;
    bottom: 0;
}

.modal.modal-image .related-image {
    margin: 5px;
    cursor: pointer;
    counter-increment: image;
}

    .modal.modal-image .related-image > img {
        width: 100px;
        height: 100px;
    }

    .modal.modal-image .related-image.active > img {
        border: solid 4px #135a97;
    }

/* image modal with readonly verifications */
.modal-image.verifications-readonly .comments,
.modal-image.verifications-readonly .fields {
    pointer-events: none;
}

    .modal-image.verifications-readonly .fields .form-control {
        border: none;
        background-color: inherit;
        box-shadow: none;
        padding-left: 0;
    }

    .modal-image.verifications-readonly .fields .field,
    .modal-image.verifications-readonly .fields label {
        color: inherit;
    }

    .modal-image.verifications-readonly .fields .form-control-prefix,
    .modal-image.verifications-readonly .fields .form-control-feedback {
        display: none;
    }

    .modal-image.verifications-readonly .fields input[type=checkbox] {
        opacity: 0.5;
    }

    .modal-image.verifications-readonly .fields input[type=checkbox] {
        opacity: 0.5;
    }

    .modal-image.verifications-readonly .fields select {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }

    .modal-image.verifications-readonly .comments i.fa { /* fake checkboxes */
        color: #999;
    }
/* appraisal / assessment */
.assessment-well .row:empty {
    display: none;
}

.assessment-well .row:first-child {
    border-top: 1px solid #ddd;
}

.assessment-well {
    margin: 20px 0;
}

.col-summary-left, .page-assessment .col-summary-right {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.col-summary-left {
    background-color: #E0EFF6;
    border-right: 1px solid #ddd;
    padding-top: 15px;
}

.col-summary-left-noBg {
    border-right: 1px solid #ddd;
    padding-top: 15px;
}

.col-summary-right {
    background-color: #ccc;
    padding-top: 15px;
}

.col-summary-left .form-group, .col-summary-left .form-group select {
    margin-bottom: 4px;
    margin-top: 4px;
}

    .col-summary-left .form-group.inline {
        height: 36px;
    }

.col-summary-left hr.acv-hr {
    margin-top: 8px;
    margin-bottom: 8px;
}

.col-summary-left .form-control[disabled] {
    color: #000;
}

/* inputs are 36px with 4px margins, and we ant the labels to be vertically centered so they need to use the same amount of space */
.col-summary-left .row label {
    line-height: 44px;
    vertical-align: middle;
    margin-bottom: 0;
}
    /* checkbox-inline still needs to follow the boostrap default, so I just grabbed it for this case*/
    .col-summary-left .row label.checkbox-inline {
        line-height: 1.42857143;
    }

.col-summary-left .cash-row.row {
    background-color: #00529b;
}

    .col-summary-left .cash-row.row label {
        color: #fff;
    }

    .col-summary-left .cash-row.row a {
        color: #fff;
    }

/* inline buttons on acv summary */
.col-summary-left .col-padding {
    padding: 6px 0;
}

.panel-comments .comment-header {
    border-bottom: 1px solid #ccc;
    padding: 0 4px;
    margin-bottom: 8px;
}

.page-assessment .col-summary-right table {
    table-layout: fixed;
}

    .page-assessment .col-summary-right table td {
        word-wrap: break-word;
    }
/**/

/* New Text Field Hightlight for images */
.text-field-highlight {
    background-color: #FF3333;
    font-weight: bold;
    color: #ffffff
}

.text-field-risk {
    color: #FF3333;    
}

.acv-tabs {
    background-color: #ddd;
}

    .acv-tabs li a h4 {
        font-weight: bold;
    }
    /* h4 specifies a weight, so li a isnt specific enough to control it */
    .acv-tabs li a {
        border-radius: 0;
        border: none;
        border-right: 2px solid #ccc;
        margin-right: 0;
        cursor: pointer;
        color: #555;
    }

.modal-search .search-comments {
    width: 25%;
}

.modal-search .search-comments > div {
    max-height: 50px;
    overflow-y: hidden;
    text-overflow: ellipsis;
}

.page-queue-config .editor {
    margin-top: 30px;
    border-radius: 4px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}

 /* autocomplete */
.autocomplete {
    position: absolute;
    background-color: white;
    border: 1px solid #e0e0e0;
    z-index: 9999;
    margin-top: -14px;
    margin-left: 13px;
    border-radius: 5px;
}

.modal-image .autocomplete {
    margin-top: 0px;
    margin-left: 4px;
    top: 100%;
    left: 40%;
}

.autocomplete li {
    list-style: none;
    padding: 5px;
}
.autocomplete ul {
    padding: 0px;
}
.autocomplete li:hover{
    background-color: #1a73e8;
    color: white;
}

.rules-history-body {
    max-height: 85vh;
    overflow-y: scroll;
    padding-top: 0px;
}

.sticky-head {
    position: sticky;
    top: 0px;
    background-color: white;
}

.advance-rate {
    display: inline-block; 
    width: 130px;
    padding-right:30px;
}

.text-danger-super {
    color: #a94442 !important;
}

@media print {
    .col-sm-1, .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-10, .col-sm-11, .col-sm-12 {
        float: left;
    }

    .col-sm-12, .col-xs-12 {
        width: 100%;
    }

    .col-sm-11, .col-xs-11 {
        width: 91.66666667%;
    }

    .col-sm-10, .col-xs-10 {
        width: 83.33333333%;
    }

    .col-sm-9, .col-xs-9 {
        width: 75%;
    }

    .col-sm-8, .col-xs-8 {
        width: 66.66666667%;
    }

    .col-sm-7, .col-xs-7 {
        width: 58.33333333%;
    }

    .col-sm-6, .col-xs-6 {
        width: 50%;
    }

    .col-sm-5, .col-xs-5 {
        width: 41.66666667%;
    }

    .col-sm-4, .col-xs-4 {
        width: 33.33333333%;
    }

    .col-sm-3, .col-xs-3 {
        width: 25%;
    }

    .col-sm-2, .col-xs-2 {
        width: 16.66666667%;
    }

    .col-sm-1, .col-xs-1 {
        width: 8.33333333%;
    }

    .col-sm-pull-12, .col-xs-pull-12 {
        right: 100%;
    }

    .col-sm-pull-11, .col-xs-pull-11 {
        right: 91.66666667%;
    }

    .col-sm-pull-10, .col-xs-pull-10 {
        right: 83.33333333%;
    }

    .col-sm-pull-9, .col-xs-pull-9 {
        right: 75%;
    }

    .col-sm-pull-8, .col-xs-pull-8 {
        right: 66.66666667%;
    }

    .col-sm-pull-7, .col-xs-pull-7 {
        right: 58.33333333%;
    }

    .col-sm-pull-6, .col-xs-pull-6 {
        right: 50%;
    }

    .col-sm-pull-5, .col-xs-pull-5 {
        right: 41.66666667%;
    }

    .col-sm-pull-4, .col-xs-pull-4 {
        right: 33.33333333%;
    }

    .col-sm-pull-3, .col-xs-pull-3 {
        right: 25%;
    }

    .col-sm-pull-2, .col-xs-pull-2 {
        right: 16.66666667%;
    }

    .col-sm-pull-1, .col-xs-pull-1 {
        right: 8.33333333%;
    }

    .col-sm-pull-0, .col-xs-pull-0 {
        right: auto;
    }

    .col-sm-push-12, .col-xs-push-12 {
        left: 100%;
    }

    .col-sm-push-11, col-xs-push-11 {
        left: 91.66666667%;
    }

    .col-sm-push-10, .col-xs-push-10 {
        left: 83.33333333%;
    }

    .col-sm-push-9, .col-xs-push-9 {
        left: 75%;
    }

    .col-sm-push-8, .col-xs-push-8 {
        left: 66.66666667%;
    }

    .col-sm-push-7, .col-xs-push-7 {
        left: 58.33333333%;
    }

    .col-sm-push-6, .col-xs-push-6 {
        left: 50%;
    }

    .col-sm-push-5, .col-xs-push-5 {
        left: 41.66666667%;
    }

    .col-sm-push-4, .col-xs-push-4 {
        left: 33.33333333%;
    }

    .col-sm-push-3, .col-xs-push-3 {
        left: 25%;
    }

    .col-sm-push-2, .col-xs-push-2 {
        left: 16.66666667%;
    }

    .col-sm-push-1, .col-xs-push-1 {
        left: 8.33333333%;
    }

    .col-sm-push-0, .col-xs-push-0 {
        left: auto;
    }

    .col-sm-offset-12, .col-xs-offset-12 {
        margin-left: 100%;
    }

    .col-sm-offset-11, .col-xs-offset-11 {
        margin-left: 91.66666667%;
    }

    .col-sm-offset-10, .col-xs-offset-10 {
        margin-left: 83.33333333%;
    }

    .col-sm-offset-9, .col-xs-offset-9 {
        margin-left: 75%;
    }

    .col-sm-offset-8, .col-xs-offset-8 {
        margin-left: 66.66666667%;
    }

    .col-sm-offset-7, .col-xs-offset-7 {
        margin-left: 58.33333333%;
    }

    .col-sm-offset-6, .col-xs-offset-6 {
        margin-left: 50%;
    }

    .col-sm-offset-5, .col-xs-offset-5 {
        margin-left: 41.66666667%;
    }

    .col-sm-offset-4, .col-xs-offset-4 {
        margin-left: 33.33333333%;
    }

    .col-sm-offset-3, .col-xs-offset-3 {
        margin-left: 25%;
    }

    .col-sm-offset-2, .col-xs-offset-2 {
        margin-left: 16.66666667%;
    }

    .col-sm-offset-1, .col-xs-offset-1 {
        margin-left: 8.33333333%;
    }

    .col-sm-offset-0, .col-xs-offset-0 {
        margin-left: 0%;
    }

    .visible-xs {
        display: none !important;
    }

    .hidden-xs {
        display: block !important;
    }

    table.hidden-xs {
        display: table;
    }

    tr.hidden-xs {
        display: table-row !important;
    }

    th.hidden-xs,
    td.hidden-xs {
        display: table-cell !important;
    }

    .hidden-xs.hidden-print {
        display: none !important;
    }

    .hidden-sm {
        display: none !important;
    }

    .visible-sm {
        display: block !important;
    }

    table.visible-sm {
        display: table;
    }

    tr.visible-sm {
        display: table-row !important;
    }

    th.visible-sm,
    td.visible-sm {
        display: table-cell !important;
    }

    .nav-tabs {
        display: none;
    }

    .tab-content .tabs-hide {
        display: block !important;
    }

    .tab-content .tab-pane {
        display: block !important;
        border: none;
    }

    .fa-stack .fa-stack-2x {
        opacity: 0.1;
    }

    .fa-search {
        display: none;
    }

    .fa-sort {
        display: none;
    }

    .panel-footer {
        display: none;
    }

    .footinfo {
        display: none;
    }

    .form-control-feedback {
        display: none;
    }

    .has-success .form-control {
        border: 1px solid rgb(204,204,204);
    }

    .has-error .form-control {
        border: 1px solid rgb(204,204,204);
    }

    .note-popover .popover-content, .panel-heading.note-toolbar {
        display: none;
    }

    .scroll::-webkit-scrollbar {
        display: none;
    }

    #acv-submit-row {
        display: none;
    }

    .table th {
        text-align: center;
    }
}

div.row > div.col-field.form-inline > div.field {
    display:flex;
    align-items: baseline;
}

.modal-image .field .form-control,  
div.fields > div.row > div.col-field.form-inline > div.field > .value {
    width: 60%;
    margin: 0 0 0 8px;
    height: 100%;
    font-size: 16px;
    padding: 2px;
    overflow: hidden;
}

.masked-input {
    -webkit-text-security: circle;
}
.modal-addr-header {
    background: #1d2755;
    color: white;
}

.centered-element {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, 0%);
}

.confirmation-box{
    text-align: center;
}

.confirmation-label{
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.confirmation-container{
    position: relative;
    display:inline-block;
    float: left;
    padding-left: 50px;
    line-height: 0;
    /* left: 365px; */
    /* margin-top: 10px; */
}

.confirmation-complete-container {
    position: relative;
    display: inline-block;
    float: left;
    left: 12px;
}

.confirmation-rectangle{
    width: 215px;
    height: 25px;
    border: 1px solid #ccc ;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    float:left;
}

.confirmed {
    background-color: #D6FFDF;
    color: green;
}

.unconfirmed {
    background-color: #FFD5CC;
    color: darkred;
}

.prescreened {
    background-color: #FF2800;
    border: none;
    margin-top: 8px;
    padding-left: 6px;
    padding-right: 6px;
}

.prescreened-audit {
    background-color: #FF2800;
    border: none;
    margin-top: 4px;
    padding-left: 6px;
    padding-right: 6px;
}

.prescreened-personal {
    background-color: #FF2800;
    border: none;
    padding-left: 6px;
    padding-right: 6px;
    margin-bottom: 4px;
}

.prescreened-text {
    color: white;
    font-weight: bold;
}


select.form-control {
    appearance: auto;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
}

