﻿
caption {
    padding-top: 0px;
    padding-bottom: .75rem;
    color: #715a7c;
    font-weight: bold;
    text-align: left;
    caption-side: top;
}

.form-group {
    margin-bottom: 1rem;
}

    .form-group .cb-25 {
        margin-right: 5px;
    }

    .w-100 .cb-25 {
        margin-right: 5px;
    }

.modalWrapper {
    position: fixed;
    left: 0px;
    top: 0px;
    text-align: center;
    overflow: auto;
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999991;
}

.modalMain {
    position: relative;
    top: 5%;
    width: 60%;
    max-width: 500px;
    margin: auto;
}

    .modalMain .modal-content {
        background-color: #fff;
        border: 1px solid rgba(0, 0, 0, 0.2);
        border-radius: 0.5rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
        padding: 0;
    }

    .modalMain .modal-header {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #dee2e6;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .modalMain .modal-body {
        padding: 1.5rem;
    }

    .modalMain .modal-footer {
        padding: 1rem 1.5rem;
        border-top: 1px solid #dee2e6;
        display: flex;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    .modalMain .modal-title {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 500;
        line-height: 1.5;
    }

.modal-content {
    min-height: 50vh;
}

.modal-right-btn {
    position: absolute;
    right: 17px;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
}

    .close:hover {
        color: #000;
        text-decoration: none;
        opacity: 0.75;
    }

    .close:focus,
    .close:not(:disabled):not(.disabled):hover,
    .close:not(:disabled):not(.disabled):focus {
        opacity: 0.75;
        outline: 0;
    }

button.close {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal-header .close {
    font-size: 22pt !important;
}

.control-label {
    font-size: .95rem;
    margin-bottom: .2rem !important;
    font-weight: 500;
    color: #444444
}

label {
    margin-bottom: .2rem !important;
}

.justify-content-left {
    justify-content: flex-start;
} 

.pointer {
    cursor: pointer;
}

.btn-secondary {
    color: #fff !important;
}

.btn-outline-secondary {
    background-color: #fff;
}

    .btn-outline-secondary:hover {
        background-color: #333333 !important;
    }

.btn-success-light {
    background-color: #e1ffd9 !important;
    color: #333333 !important;
    border: solid 1px green;
}

.btn-error-light {
    background-color: #fbd0d0 !important;
    color: black !important;
    border: solid 1px #c41111;
}

.btn-light-orange {
    background-color: #fff5ea !important;
    color: #333333 !important;
    border: solid 1px #eaa40d;
}

@keyframes fadeScale {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modalMain {
    animation: fadeScale 0.3s ease-out;
}

.ui-widget-content .btn-dark {
    padding-bottom: 4px;
}

.ui-tabs .ui-tabs-panel {
    padding: 15px !important;
}

.btn-dark-outline {
    border: solid 1px #333333;
    color: #333333 !important;
}

.btn-white {
    color: #333333 !important;
    background-color: #fff !important;
    border: solid 1px #b0b0b0 !important;
}

.btn-light-grey {
    color: #333333 !important;
    background-color: #f3f3f3 !important;
    border: solid 1px #b0b0b0 !important;
}

.btn-img {
    width: 22px;
    margin-right: 13px;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.margin-auto-margin-left-auto {
    margin-left: auto !important;
    margin: auto !important;
}

.margin-auto {
    margin: auto !important;
}


#divNavLinksContainer {
    width: 18%;
    display: block;
    max-height: 80vh;
    margin-bottom: 250px;
}

#divNavLinkContentContainer {
    width: 82%;
}

#sc-nav-buttons {
    float: left;
    border: 1px solid #dddddd;
    background-color: #f8f8f8;
    width: 100%;
}

    #sc-nav-buttons button {
        float: left;
        display: block;
        background-color: inherit;
        color: #333333;
        font-size: 10.5pt;
        padding: 8px 16px;
        width: 100%;
        border: none;
        outline: none;
        text-align: left;
        cursor: pointer;
        transition: 0.3s;
        vertical-align: middle;
    }

        #sc-nav-buttons button:hover {
            background-color: #eaeaea;
        }

        #sc-nav-buttons button.active {
            background-color: #ddd;
            font-weight: 500;
        }

    #sc-nav-buttons img {
        float: left;
        width: 22px;
        height: 22px;
        margin-right: 10px;
    }

    #sc-nav-buttons button span {
    }

#sc-nav-buttons-mobile {
    width: 80px;
}

.sc-tbl-inline-edit tr td:last-child {
    text-align: right;
}

.ui-tabs-active {
    background-color: #515151 !important;
    border: none !important;
    cursor: pointer !important;
}

.ui-state-active a, .ui-state-active a:link {
    color: #ffffff !important;
}

.ui-widget-header {
    background: #f5f5f5 !important;
}

a .navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.btn-dark-outline {
    border: solid 1px #333333 !important;
    color: #333333 !important;
    background-color: #ededed !important;
}

.btn-primary, .btn-primary:disabled {
    color: #ffffff !important;
    background-color: #6767ee !important; /*#7c617c*/
    border-color: #333333 !important;
    margin-left: 0px !important;
    border: none;
    transition: all 0.2s;
    padding: 8px 15px;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary:visited {
        color: #fff !important;
        background-color: #474747 !important;
        border-color: #333333 !important;
    }

.btn-footer-primary {
    color: #ffffff !important;
    background-color: #8d8d8d !important;
    border-color: #333333 !important;
    margin-left: 0px !important;
}

.btn-success {
    color: #fff !important;
}

.btn-danger {
    color: #fff !important;
}

.btn-danger-outline {
    color: #c82333 !important;
    border: 1px solid #c82333
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.display-block {
    display: block;
}

.display-none {
    display: none !important;
}

.display-inline {
    display: inline !important;
}

.display-grid {
    display: grid !important;
}

.display-table-row {
    display: table-row !important;
}

.w-100 {
    width: 100%;
}

.w-80 {
    display: block;
    width: 80% !important;
}

.fl-w-50 {
    float: left;
    width: 50% !important;
    padding: 10px;
}

.w-25 {
    width: 25px !important;
}

.w-30 {
    width: 30px !important;
}

.mw-800 {
    max-width: 800px !important;
    min-height: 310px !important;
}

.min-width-225 {
    min-width: 225px !important;
}

.min-h-400 {
    min-height: 400px !important;
}

.fs-10 {
    font-size: 10pt !important;
}

.fs-11 {
    font-size: 11pt !important;
}

.fs-13 {
    font-size: 13pt !important;
}

.max-w-75 {
    max-width: 75px !important;
}

.max-w-125 {
    max-width: 125px !important;
}

.max-w-280 {
    max-width: 280px !important;
    overflow: hidden;
}

.ml5 {
    margin-left: 5px !important;
}

.ml-15 {
    margin-left: 15px !important;
}

.ml-25 {
    margin-left: 25px !important;
}

.ml-35 {
    margin-left: 35px !important;
}

.mt-10 {
    margin-top: 10px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-25 {
    margin-top: 25px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.maxw-280 {
    max-width: 280px !important;
}

.maxw-225 {
    max-width: 225px !important;
}

.pad-left-30 {
    padding-left: 30px;
}

#divMessage {
    position: fixed;
    top: 0px;
    text-align: center;
    width: 100%;
    color: black;
    z-index: 99999997;
    display: none;
    text-align: center;
}

.message-container {
    max-height: 450px;
    overflow: auto;
    margin: 30px;
}

.sp-msg {
    display: block;
    margin: auto;
    box-shadow: 2px 7px 8px 2px #cecece
}

    .sp-msg span {
        width: 80% !important;
        display: block;
        margin: auto;
        font-size: 13pt !important;
        font-weight: bold;
    }

.msg-error {
    color: #a94442;
    background-color: #fffafa;
    border: solid 1px #ffe2e2;
    padding: 8px;
    border-radius: .25rem;
}

.msg-success {
    color: #3c763d;
    background-color: #f9fffa;
    border: solid 1px #bee9b0;
    padding: 8px;
    border-radius: .25rem;
}

.msg-warn {
    color: #8a6d3b;
    background-color: #fffef6;
    border: solid 1px #f6e4c5;
    padding: 8px;
    border-radius: .25rem;
}

.msg-info {
    color: #059;
    background-color: #f7fdff;
    border: solid 1px #d2ebff;
    padding: 8px;
    border-radius: .25rem;
}

.msg-dismiss {
    color: #333333 !important;
    font-weight: bold;
    font-size: 20pt;
    top: 0px;
    height: 100%;
    vertical-align: middle;
    position: absolute;
    right: 50px;
}

.icon-info {
    width: 20px;
}

.white-txt {
    color: #fff !important;
}

.red-txt {
    color: #d84242 !important;
}

.green-txt {
    color: #009600 !important;
}

.blue-txt {
    color: #3a466f !important;
}

.dark-txt {
    color: #505050;
}

.txt-error {
    border: solid 1px #b12a2a !important;
    background-color: #fbd8dd !important;
}

.lblPmtTermsError {
    border: solid 1px #b12a2a !important;
    background-color: #fbd8dd !important;
    padding: 4px;
    border-radius: .25rem;
}

.txt-warn {
    border: solid 1px #fa9b1c !important;
    background-color: #fff9e4 !important;
}

.txt-success {
    border: solid 1px #3c763d !important;
    background-color: #e4ffe7 !important;
}

.txt-success-brdr-lft {
    border-left: solid 12px green !important;
}

.center-text {
    text-align: center;
}

.tab-error {
    border-left: solid 10px #e59393 !important;
}

.tab-warn {
    border-left: solid 10px #ffc578 !important;
}

.tab-success {
    border-left: solid 10px #a9e593 !important;
}

.tab-info {
    border-left: solid 10px #93c2e5 !important;
}

.tr-error {
    border-left: solid 6px #ff9292 !important;
}

.tr-warn {
    border-left: solid 6px #ffd195 !important;
}

.tr-success {
    border-left: solid 6px #aadaaa !important;
}

.tr-info {
    border-left: solid 6px #a4d6ff !important;
}

.td-error {
    width: 6px !important;
    max-width: 6px !important;
    background-color: #ff9292 !important;
}

.td-warn {
    width: 6px !important;
    max-width: 6px !important;
    background-color: #ffd195 !important;
}

.td-success {
    width: 6px !important;
    max-width: 6px !important;
    background-color: #aadaaa !important;
}

.td-info {
    width: 6px !important;
    max-width: 6px !important;
    background-color: #a4d6ff !important;
}


.row {
    margin: 0px;
    width: 100%;
}


.error {
    color: #cc0000;
}

.success {
    color: #339933;
}

.bold {
    font-weight: 600;
}

.required:before {
    content: "** ";
    color: #d00a0a;
}

.cb-text {
    font-size: 13pt;
    margin-left: 10px;
    position: relative;
    line-height: 25px
}

.mtneg4 {
    top: -4px;
}

.cb-25 {
    float: left;
    width: 20px;
    height: 20px;
    min-height: auto !important;
}

.mt-4 {
    margin-top: 4px !important;
}

.cb-25-auto {
    width: 20px;
    height: 20px;
    margin: auto;
    float: none !important;
}

.pad-15-no-top {
    padding: 15px;
    padding-top: 0px;
}

.pad-tr-10 {
    padding: 10px 10px 0px 0px !important;
}

.form-control-disabled {
    border: solid 1px #ced4da;
    padding: 8px;
    background-color: #f0f0f0;
}


.btn-save-entity {
    margin-left: auto !important;
    margin: auto;
}

#divMessageModal .modal-content {
    max-height: fit-content !important;
    min-height: fit-content !important;
}

#divMessageModalContent {
    margin-top: 20%;
}

.modal-content {
    overflow: auto;
    max-height: 90vh;
}

.no-min-height {
    min-height: fit-content !important;
}

.modal-body {
    overflow: auto;
    max-height: 80vh;
}

.nav-collapse-menu-item {
    font-size: 12pt;
    margin-top: 15px;
    line-height: 30px;
}

    .nav-collapse-menu-item a {
        color: #333333 !important;
    }

    .nav-collapse-menu-item img {
        width: 20px;
        margin-right: 5px;
    }

.nav-collapse-menu-item-active {
    font-size: 13pt;
    font-weight: bold;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .switch-slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .switch-slider {
    background-color: #ffa061;
}

input:focus + .switch-slider {
    box-shadow: 0 0 1px #ffa061;
}

input:checked + .switch-slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

@media (max-width: 768px) { 

    .btn-tab-create {
        float: right;
        margin-top: 75px;
        margin-right: 5px;
        width: 275px;
    }

    .btn-save-entity {
        margin-left: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .td-error, .td-warn, .td-success, .td-info {
        width: 100% !important;
        min-width: 100% !important;
    }


    .ml-15 {
        margin-left: 0px !important;
    }

    .ml-25 {
        margin-left: 0px !important;
    }

    .ui-tabs .ui-tabs-nav .ui-tabs-anchor {
        padding: 6.9px !important;
    }
}
