﻿/*body {
    padding-top: 50px;
    padding-bottom: 20px;
}*/

/* 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;
}


.askteriskRequired::before {
    content: "*";
    color: red;
}



.numeric {
    text-align: right;
}

.integer {
    text-align: center;
}


.ext-header-overdue {
    color: red;
}
.ext-header-amounts {
    text-align: right;
}

.suggestion {
    -webkit-box-shadow: 1px 9px 15px 1px rgba(176,176,176,0.38);
    -moz-box-shadow: 1px 9px 15px 1px rgba(176,176,176,0.38);
    box-shadow: 1px 9px 15px 1px rgba(176,176,176,0.38);
    background-color: white;
    z-index: 100;
    position: absolute!important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    width: 100%;
}

.opt {
    padding-top: 7px !important;
    padding-bottom: 7px !important;
}

    .opt:hover {
        background-color: #ddd;
    }

.optSelected {
    background-color: #ddd;
}

.card-title {
    font-size: 1.75rem!important;
}

.border-top-dotted {
    border-top: 1px dotted #dee2e6 !important;
}

.lblPayment {
    font-weight: normal!important;
}

#ReportViewer1 {
    width: 100%!important;
    height: 600px!important;
}

.card-loader {
    width: 100%;
    height: 100%;
    z-index: 100;
    position: absolute;
    background-color: #ffffff;
}

.mobile-view {
    border-bottom: 60px solid #80858f;
    border-left: 10px solid #80858f;
    border-right: 10px solid #80858f;
    border-top: 60px solid #80858f;
    max-width: 320px;
    max-height: 720px;
    overflow: auto;
    border-radius: 30px;
}

.modal-tools {
    float: right;
}

.modal-header .close, .modal-header .mailbox-attachment-close {
    padding: 1rem;
    margin: -1rem -1rem -1rem -.3rem!important;
}

/*.btn-primary {
    background-color: #004d40 !important;
    border-color: #00251a !important;
}

.btn-primary:hover {
    background-color: #036050 !important;
}

.card-primary.card-outline {
    border-top: 3px solid #004d40 !important;
}

.card-primary:not(.card-outline) > .card-header {
    background-color: #004d40 !important;
}

.sidebar-dark-danger .nav-sidebar > .nav-item > .nav-link.active, .sidebar-light-danger .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #004d40 !important;
}

.custom-control-input-primary {
    background: #004d40 !important;
}*/

/*[class$="-primary"] {*/ /* WE USE $ HERE */
    /*background: #00251a !important;
    color: white;
}*/

/*.navbar-primary {
    background-color: #00251a !important;
    color: #fff!important;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-dark .navbar-brand {
    color: #fff !important;
}

.nav-item:hover {
    background-color: #004d40 !important;
}*/

/*.page-item.active .page-link {
    background-color: #004d40 !important;
    border-color: #00251a !important;
}*/

.attached-file {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.has-match {
    background: #a8eed5;
    border: solid 1px #50dcaa;
    color: #404756;
    margin-top: 38px;
}

    .has-match .border {
        border: solid 1px #50dcaa!important;
    }

#chartjs-tooltip {
    background-color: #ffffff;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.125);
    box-shadow: 0px 0px 10px black;
}

#chartjs-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.item-ddl {
    max-height: 300px;
    overflow-y: auto;
}

.sticky-shadow {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
    -webkit-transition: all 1s linear;
    -o-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -ms-transition: all 1s linear;
    -kthtml-transition: all 1s linear;
    transition: all 1s linear;
}

.x-crumbs {
    padding: 0px;
    margin: 0px!important;
}

.x-crumbs li {
    display: block;
}

.x-crumbs li::after {
    content: ">";
}

.sticky-top {
    z-index: 999!important;
}

@media screen and (max-width: 480px) {
    .tbl-responsive {
        overflow-x: auto;
    }

    .custom-tooltip .custom-tooltiptext {
        width: 300px!important;
    }
}

.breadcrumb {
    padding: 0px!important;
    margin: 0px!important;
    background-color: transparent!important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '>'!important;
}

.alert a {
    color: #007bff!important;
}

#quote-opt::after {
    content: none!important;
}

.dark-mode .modal-footer, .dark-mode .modal-header, .dark-mode .modal-header--sticky {
    background-color: #454d55!important;
}

/* Header fixed to the top of the modal */
.modal-header--sticky {
    position: sticky;
    top: 0;
    /*background-color: inherit;*/ /* [1] */
    background-color: #ffffff;
    z-index: 1055; /* [2] */
}

/* Footer fixed to the bottom of the modal */
.modal-footer--sticky {
    position: sticky;
    bottom: 0;
    /*background-color: inherit;*/ /* [1] */
    background-color: #ffffff;
    z-index: 1055; /* [2] */
}

#chartjs-tooltip {
    color: black;
}

.callout.callout-success {
    background-color: #f1f8e8 !important;
    border: 2px solid #46b101!important;
}

.nav-header {
    background-color: #ffffff;
}

.dark-mode #contact-icon {
    background-color: #343a40 !important;
}

.dark-mode .callout.callout-success {
    background-color: #455548 !important;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #6c757d!important;
    background-color: transparent!important;
    border-bottom: 5px solid #007bff!important;
}

.nav-pills .nav-link {
    border-radius: 0rem!important;
}

.custom-tooltip {
    position: relative;
    display: inline-block;
}

    .custom-tooltip .custom-tooltiptext {
        visibility: hidden;
        width: 400px;
        background-color: white;
        color: #000;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        z-index: 1;
        top: 100%;
        /*left: 50%;
            margin-left: -60px;*/
        opacity: 0;
        transition: opacity 1s;
        border: 2px solid rgba(0,0,0,.1);
    }

        .custom-tooltip .custom-tooltiptext::before {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 5%;
            margin-left: -5px;
            border-width: 15px;
            border-style: solid;
            border-color: transparent transparent rgba(0,0,0,.1) transparent;
        }

        .custom-tooltip .custom-tooltiptext::after {
            content: "";
            position: absolute;
            bottom: 100%;
            left: 5.5%;
            margin-left: -5px;
            border-width: 13px;
            border-style: solid;
            border-color: transparent transparent white transparent;
        }

    .custom-tooltip:hover .custom-tooltiptext {
        visibility: visible;
        opacity: 1;
    }

.dark-mode .custom-tooltip .custom-tooltiptext {
    background-color: #343a40 !important;
    color: #fff;
}

.dark-mode .custom-tooltip .custom-tooltiptext::before {
    border-color: transparent transparent rgba(0,0,0,.1) transparent;
}

.dark-mode .custom-tooltip .custom-tooltiptext::after {
    border-color: transparent transparent #343a40 transparent;
}

.dark-mode .suggestion {
    background-color: #343a40 !important;
    color: #fff;
}

.pac-container {
    z-index: 1051;
}
/*.desc:focus {
    min-height: 72px!important;
    position: inherit;
    border: 1px solid black !important;
    background-color: white !important;
}*/

.note-editor.is-invalid {
    border: 1px solid #dc3545 !important;
}