﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select {
    max-width: 280px;
}

textarea {
    max-width: 560px;
}

/* Copied from bootstrap.css body tag */
pre {
    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";
    font-size: 1rem;
    font-weight: 400;
}

.table td.table-fit-to-content,
.table th.table-fit-to-content {
    white-space: nowrap;
    width: 1%;
    margin-right: 0.5rem;
}

.hover-pointer {
    cursor: pointer;
}

.error-log-header {
    background-color: #f8f9fa;
    font-size: 1.5rem;
}

.error-log {
    border: 1px solid rgba(0,0,0,0.125);
    border-radius: 0.25rem;
}

.error-log-stack-trace {
    border-top: 1px solid rgba(0,0,0,0.125);
    background-color: rgba(0,0,0,0.03);
    padding: 0.75rem 1.25rem;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 55px;
    z-index: 1000;
    background-image: linear-gradient(to top, rgba(255,255,255,0), rgba(255,255,255,1), rgba(255,255,255,1));
    padding: 15px 0 10px;
}

.large-icon {
    font-size: 3.875rem;
}

.btn {
    border: none;
}

.btn-outline-secondary, .btn-outline-success, .btn-outline-danger, .btn-outline-warning, .btn-outline-info, .btn-outline-light, .btn-outline-dark {
    border: 1px solid;
}

.btn.active {
    /*box-shadow: 0 0 5px rgba(0,0,0,.2) inset;*/
    border-color: transparent;
}
.customer {
    background-color: #f0dab1;
}
    .customer.active {
        background-color: #ead58f;
    }
    .customer:hover {
        background-color: #f6edcf;
    }
    .customer.active:hover {
        background-color: #e6cd7a;
    }

.sales-person {
    background-color: #faf166;
}

    .sales-person.active {
        background-color: #f8ea1c;
    }

    .sales-person:hover {
        background-color: #fcf697;
    }

    .sales-person.active:hover {
        background-color: #faf276;
    }

.vehicle, .unit {
    background-color: #C4F5E8;
}

    .vehicle.active, .unit.active {
        background-color: #98EED8;
    }

    .vehicle:hover, .unit:hover {
        background-color: #DAF9F1;
    }

    .vehicle.active:hover, .unit.active:hover {
        background-color: #AEF2E0;
    }

.asset {
    /*background-color: #BACDB0;*/
    background-color: #CA9BF1;
}

    .asset.active {
        /*background-color: #92AF83;*/
        background-color: #BD82ED;
    }

    .asset:hover {
        /*background-color: #C9D7C1;*/
        background-color: #D1A8F3;
    }

    .asset.active:hover {
        /*background-color: #A7BE9A;*/
        background-color: #C48FEF;
    }

.trakker, .message {
    background-color: #f5c4d1;
}
    .trakker.active, .message.active {
        background-color: #ee98ae;
    }

    .trakker:hover, .message:hover {
        background-color: #f9dae2;
    }

    .trakker.active:hover, .message.active:hover {
        background-color: #f2aec0;
    }

.hardware {
    background-color: #a4d7e1;
}
    .hardware.active {
        background-color: #6abece;
    }

    .hardware:hover {
        background-color: #b7dfe7;
    }

    .hardware.active:hover {
        background-color: #7ec6d4;
    }

.account {
    background-color: #a4d285;
}
    .account.active {
        background-color: #7abd4d;
    }

    .account:hover {
        background-color: #b2d998;
    }

    .account.active:hover {
        background-color: #88c460;
    }

.contract {
    background-color: #c3b7f2;
}

    .contract.active {
        background-color: #cfc5f4;
    }

    .contract:hover {
        background-color: #cfc5f4;
    }

    .contract.active:hover {
        background-color: #cfc5f4;
    }

.contract-line-item {
    background-color: #b7c9f2;
}

    .contract-line-item.active {
        background-color: #c5d3f4;
    }

    .contract-line-item:hover {
        background-color: #c5d3f4;
    }

    .contract-line-item.active:hover {
        background-color: #c5d3f4;
    }

.subsidiary {
    background-color: #f4e5c8;
}

    .subsidiary.active {
        background-color: #f7ecd8;
    }

    .subsidiary:hover {
        background-color: #f7ecd8;
    }

    .subsidiary.active:hover {
        background-color: #f7ecd8;
    }

.btn-primary {
    background-color: #40709D;
}
    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active {
        background-color: #2a4967;
    }
        .btn-primary:not(:disabled):not(.disabled):active:hover, .btn-primary:not(:disabled):not(.disabled).active:hover {
            background-color: #39638b;
        }
    .btn-primary:hover {
        background-color: #477daf;
    }
    .btn-primary.disabled, .btn-primary:disabled {
        background-color: #40709D;
        border-color: #40709D;
    }
.page-link {
    color: #40709D;
}
    .page-item.active .page-link {
    background-color: #40709D;
    border-color: #40709D;
    }
.link {
    color: #40709D;
    text-decoration:none;
    cursor:pointer;
}
.link:hover{
    text-decoration:underline;
}
.bg-primary {
    background-color: #40709D !important;
}

label {
    font-size: 14px;
    margin-bottom: 0px;
    font-weight: 600;
    margin-left: 5px;
    font-variant-caps:small-caps;
}

.card-header {
    font-size: 18px;
    font-weight: 600;
}
    /*:root {
    --primary: #40709D;
}*/
    .color-wrapper {
    display: inline-flex;
}
.color {
    height: 90px;
    width: 90px;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.locked {
    border: 1px red solid;
    background: rgba(255,0,0,.03);
}
/*
.slide-fade-enter-active {
    transition: all .3s ease-out;
}

.slide-fade-leave-active {
    transition: all .18s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    opacity: 0;
}*/

.slide-enter-active {
    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transition-timing-function: ease-in;
    -webkit-transition-timing-function: ease-in;
    -o-transition-timing-function: ease-in;
    transition-timing-function: ease-in;
}

.slide-leave-active {
    -moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}

.slide-enter-to, .slide-leave {
    max-height: 300px;
    overflow: hidden;
}

.slide-enter, .slide-leave-to {
    overflow: hidden;
    max-height: 0;
    margin-bottom:0;
    margin-top:0;
    padding-bottom:0;
    padding-top:0;
}

.qr-tag, .qr-tag-large {
    border: #000 1px solid;
    padding: 8px;
    border-radius: 8px;
    transform-origin: left top;
    transform: scale(1.23);
    width: fit-content;
    margin-bottom: 50px;
}

.qr-tag-large {
    margin-left: 28px;
}

.qr-tag-content {
}

.qr-tag-col {
    width: 100px;
    text-align: center;
    display: inline-block;
}

.qr-tag-reg {
    font-size: 20px;
    font-family: 'Arial';
    font-weight: bold;
    max-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.qr-tag-info {
    font-size: 12px;
    font-family: 'Arial';
    font-weight: bold;
}

@media (max-width: 1199.98px) {
    .qr-tag, .qr-tag-large {
        transform: scale(0.98);
        margin-bottom: 20px;
    }

    .qr-tag-large {
        margin-left: 56px;
    }
}

@media (max-width: 991.98px) {
    .qr-tag, .qr-tag-large {
        transform: scale(0.64);
        margin-bottom: -34px;
    }

    .qr-tag-large {
        margin-left: 98px;
    }
}

@media (max-width: 767.98px) {
    .qr-tag, .qr-tag-large {
        transform: scale(1.62);
        margin-bottom: 90px;
    }

    .qr-tag-large {
        margin-left: -20px;
    }
}

@media (max-width: 575.98px) {
}

.overlay {
    position: fixed;
    top: 0px;
    width: 100%;
    margin: 0;
    background: rgba(0,0,0,0.7);
    height: 100%;
    padding: 0;
    left: 0;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}