﻿@media print {
    .doNotPrint {
        display: none !important;
    }
}

.dark-mode .card-primary:not(.card-outline) > .card-header {
    background-color: #F5EDA3;
    color: #444;
}

.dark-mode .btn-primary {
    color: #444;
    background-color: #F5EDA3;
    border-color: #F5EDA3;
    box-shadow: none;
}

.dark-mode .btn-primary:hover {
    color: #444;
    background-color: #f2e782;
    border-color: #f2e782;
}

.dark-mode .btn-primary:focus, .dark-mode .btn-primary.focus {
    color: #444;
    background-color: #f2e782;
    border-color: #f2e782;
    box-shadow: 0 0 0 0 rgb(92 126 162 / 50%);
}

.dark-mode .custom-control-input-danger:checked ~ .custom-control-label::before {
    border-color: #f2e782;
    background-color: #f2e782;
}

.dark-mode .page-item .page-link {
    color: #f2e782;
    border-color: #444;
}

.dark-mode .page-item.active .page-link {
    background-color: #f2e782 !important;
    color: #444;
}

.dark-mode .page-item:not(.active) .page-link:hover, .dark-mode .page-item:not(.active) .page-link:focus {
    color: #f2e782;
    background-color: #3f474e;
}

.page-item.active .page-link {
    z-index: 3;
    color: #444;
    background-color: #007bff;
    border-color: #3f474e;
}

.dark-mode .page-item.active .page-link:hover, .dark-mode .page-item.active .page-link:focus {
    color: #444 !important;
}

.thead-yellow {
    background-color: #f2e782;
    color: #444;    
}



.dark-mode .btn-outline-yellow {
    color: #f2e782;
    border-color: #f2e782;
}

.dark-mode .btn-outline-yellow:hover {
    color: #444;
    background-color: #f2e782;
    border-color: #f2e782;
}

.dark-mode .alert-warning {
    color: #444;
    background-color: #f2e782;
    border-color: #f2e782;
}

.dark-mode .btn-active {
    color: #444;
    background-color: #f2e782;
    border-color: #f2e782;
}




/* Hide all steps by default: */
.tab {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    //background-color: #bbbbbb;
    background-color: #F0BB62;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    /* Mark the active step: */
    .step.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .step.finish {
        //background-color: #F5EDA3;
        background-color: #519259;
    }

/* Hide all steps by default: */
.tabRE {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.stepRE {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #F0BB62;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    /* Mark the active step: */
    .stepRE.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .stepRE.finish {
        background-color: #519259;
    }

/* Hide all steps by default: */
.tabRP {
    display: none;
}

/* Make circles that indicate the steps of the form: */
.stepRP {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #F0BB62;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

    /* Mark the active step: */
    .stepRP.active {
        opacity: 1;
    }

    /* Mark the steps that are finished and valid: */
    .stepRP.finish {
        background-color: #519259;
    }

.card-header {    
    padding-top: 1rem;
}

.modal-header {
    background-color: #F5EDA3;
    color: #444;
}

.modal-footer {
    //background-color: #343a40;
    background-color: rgba(0, 0, 0, 0.1);
}


/* MENU */

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active, [class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:hover, [class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link.active:focus {
    background-color: rgb(245 237 163);
    color: #343a40;
}

/* END MENU */



.dark-mode .bg-yellow {
    background-color: #F5EDA3 !important;
}



.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    padding-left: .75rem;
    line-height: calc(1.5em + .75rem);
    color: #ffffff;
    background-color: #343a40;
}

.dark-mode .card-primary:not(.card-outline) > .card-header, .dark-mode .card-primary:not(.card-outline) > .card-header a {
    color: #444;
}

.checkbox-outbox {
    outline: 3px solid #F5EDA3;
}

.img-grayscale {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.custom-file-label::after {
    content: "Buscar";
}

/* for sm */

.custom-switch.custom-switch-sm .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

    .custom-switch.custom-switch-sm .custom-control-label::before {
        height: 1rem;
        width: calc(1rem + 0.75rem);
        border-radius: 2rem;
    }

    .custom-switch.custom-switch-sm .custom-control-label::after {
        width: calc(1rem - 4px);
        height: calc(1rem - 4px);
        border-radius: calc(1rem - (1rem / 2));
    }

.custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1rem - 0.25rem));
}

/* for md */

.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

    .custom-switch.custom-switch-md .custom-control-label::before {
        height: 1.5rem;
        width: calc(2rem + 0.75rem);
        border-radius: 3rem;
    }

    .custom-switch.custom-switch-md .custom-control-label::after {
        width: calc(1.5rem - 4px);
        height: calc(1.5rem - 4px);
        border-radius: calc(2rem - (1.5rem / 2));
    }

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

    .custom-switch.custom-switch-lg .custom-control-label::before {
        height: 2rem;
        width: calc(3rem + 0.75rem);
        border-radius: 4rem;
    }

    .custom-switch.custom-switch-lg .custom-control-label::after {
        width: calc(2rem - 4px);
        height: calc(2rem - 4px);
        border-radius: calc(3rem - (2rem / 2));
    }

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

    .custom-switch.custom-switch-xl .custom-control-label::before {
        height: 2.5rem;
        width: calc(4rem + 0.75rem);
        border-radius: 5rem;
    }

    .custom-switch.custom-switch-xl .custom-control-label::after {
        width: calc(2.5rem - 4px);
        height: calc(2.5rem - 4px);
        border-radius: calc(4rem - (2.5rem / 2));
    }

.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2.5rem - 0.25rem));
}

.red {
    background-color: #A51515 !important;
}



/* CORRECION DE TAMAÑO */


table {
    font-size: medium !important;
    line-height: normal !important;
}

.table th {
    padding: 7px 5px !important;
    vertical-align: middle !important;
}

.table td {
    padding: 1px 4px 1px 4px !important;
    vertical-align: middle !important;
}

.table:not(.tabla-cobranza) td > div {
    vertical-align: middle !important;
    margin: 0 auto !important;
}


.table td .form-control {
    display: block;
    width: 100%;
    height: calc(2rem);
    padding: 0.1rem;
    font-size: medium;         
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    box-shadow: inset 0 0 0 rgba(0, 0, 0, 0);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.dark-mode .close, .dark-mode .mailbox-attachment-close, .dark-mode .mailbox-attachment-close {
    color: #343a40 !important;
    text-shadow: 0 1px 0 #495057;
}

.dropdown-menu {
    overflow:auto;
    max-height:300px;
}






tspan{
    fill: #ffffff;
}

.c3 .c3-axis-x path, .c3 .c3-axis-x line {
    stroke: lightgray;
}

.c3 .c3-axis-y path, .c3 .c3-axis-y line {
    stroke: lightgray;
}

.c3 .c3-axis-y2 path, .c3 .c3-axis-y2 line {
    stroke: lightgray;
}
    
.c3-legend-item {
    fill: lightgray;
}
    
.c3-tooltip td {
    font-size: 13px;
    padding: 3px 6px;
    background-color: #fff;
    border-left: 1px dotted #999;
    color: #000;
}



.custom-file-input[disabled] ~ .custom-file-label, .custom-file-input:disabled ~ .custom-file-label {
    background-color: #343a40;
    color: #7c7c7c;
}

.dark-mode input:disabled[type=file] + .custom-file-label::after {
    background-color: #343a40;
    color: #7c7c7c;
}

.dark-mode .sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active, .dark-mode .sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #f2e782;
    color: #343a40;
}

.dark-mode .sidebar-dark-primary .nav-sidebar.nav-legacy > .nav-item > .nav-link.active, .dark-mode .sidebar-light-primary .nav-sidebar.nav-legacy > .nav-item > .nav-link.active {
    border-color: #f5eda3;
}

.card-header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card {
    border-radius: 0;
}

.btn-sm, .btn-xs, .btn, .btn-group-sm > .btn,
.pagination, .custom-select, .form-control-sm, .form-control, .select2-container--default .select2-selection--single,
.nav-tabs .nav-link {
    border-radius: 0 !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #444;
    border-color: #444;
    box-shadow: none;
}

.form-control, th, td{
    font-size: 14px;
}

.btn-xxs {
    padding: 2px 4px !important;
    font-size: 6px !important;
    line-height: 1.3 !important;    
}

.direct-chat-text {
    margin: 5px 0 0 5px !important;     
}

.direct-chat-text-left {
    margin: 5px 10px 0 5px !important;
    background-color: #ECE5DD !important;
    color: #000 !important;
}

.direct-chat-text-right {
    margin: 5px 0px 0 50px !important;
    background-color: #DCF8C6 !important;
    color: #000 !important;
}

.left .direct-chat-text::after, .left .direct-chat-text::before {
    border-right-color: #ece5dd !important;
}

.right .direct-chat-text::after, .right .direct-chat-text::before {
    border-left-color: #dcf8c6 !important;    
}

.direct-chat-timestamp {
    color: #000 !important;
}

.direct-chat-messages {
    height: 270px !important;    
}

.direct-chat-messages{
    overflow-x:hidden !important;
    overflow-y:auto !important;
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(0 0 0 / 30%);
}


.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #00267a;    
}

.thead-blue {
    background-color: #00267a;
    color: #DDD;
}
