/*!
 * Start Bootstrap - SB Admin 2 Bootstrap Admin Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html, body {
    min-height: 100vh;
}

body {
    background-color: #ffffff;
    overflow-y: scroll;
    font-family: 'Poppins', sans-serif;
}

#login {
    display: table;
    height: 100%;
    width: 100%;
}

#login .wrapper {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    width: 100%;
}

label {
    font-size: 14px;
}

.btn.rounded-circle {
    min-width: 32px;
}

.card-text small.text-muted {
    display: inline-block;
    line-height: 1.6em !important;
}

/* Override */
:root {
    --Theme-Primary: #0d6efd;
}

a {
    color: var(--Theme-Primary);
}

.form-group span.text-danger {
    font-size: 0.8em;
}

.btn-primary {
    opacity: 0.65;
    background: var(--Theme-Primary);
    border: 1px solid var(--Theme-Primary);
}
.btn-primary:hover {
    opacity: 0.75;
}
.btn-primary:active {
    opacity: 0.85;
}

/*
#wrapper {
    width: 100%;
}

#page-wrapper {
    padding: 0 15px;
    min-height: 568px;
    background-color: #fff;
}

    #page-wrapper > ol.breadcrumb {
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 0;
    }

@media(min-width:768px) {
    #page-wrapper {
        position: inherit;
        margin: 0 0 0 250px;
        padding: 0 30px;
        border-left: 1px solid #e7e7e7;
    }

        #page-wrapper > ol.breadcrumb {
            margin-left: -30px;
            margin-right: -30px;
        }

}

.navbar-top-links {
    margin-right: 0;
}

.navbar-top-links li {
    display: inline-block;
}

.navbar-top-links li:last-child {
    margin-right: 15px;
}

.navbar-top-links li a {
    padding: 15px;
    min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
    display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
    margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
    padding: 3px 20px;
    min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
    white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 310px;
    min-width: 0;
}

.navbar-top-links .dropdown-messages {
    margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
    margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
    margin-left: -123px;
}

.navbar-top-links .dropdown-user {
    right: 0;
    left: auto;
}

@media (max-width: 768px) {
    .navbar-top-links {
        display: none;
    }
}

.panel-footer .pagination{
    margin: 0;
}

.table-responsibe + .pagination {
	margin-top: 0;
    margin-bottom: 0;
}

.navbar-default[role="toolbar"] {
	background-image: none !important; 
}

.sidebar .sidebar-nav.navbar-collapse {
    padding-right: 0;
    padding-left: 0;
}

.sidebar .sidebar-search, .sidebar .sidebar-login {
    padding: 15px;
    background-color: #EEE;
}

.sidebar ul li {
    border-bottom: 1px solid #e7e7e7;
}

.sidebar ul li a.active {
    background-color: #eee;
}

.sidebar .arrow {
    float: right;
}

.sidebar .fa.arrow:before {
    content: "\f104";
}

.sidebar .active>a>.fa.arrow:before {
    content: "\f107";
}

.sidebar .nav-second-level li,
.sidebar .nav-third-level li {
    border-bottom: 0!important;
}

.sidebar .nav-second-level li a {
    padding-left: 37px;
}

.sidebar .nav-third-level li a {
    padding-left: 52px;
}

@media(min-width:768px) {
    .sidebar {
        z-index: 1;
        position: absolute;
        width: 250px;
        margin-top: 51px;
    }

    .navbar-top-links .dropdown-messages,
    .navbar-top-links .dropdown-tasks,
    .navbar-top-links .dropdown-alerts {
        margin-left: auto;
    }
}

.btn-outline {
    color: inherit;
    background-color: transparent;
    transition: all .5s;
}

.btn-primary.btn-outline {
    color: #428bca;
}

.btn-success.btn-outline {
    color: #5cb85c;
}

.btn-info.btn-outline {
    color: #5bc0de;
}

.btn-warning.btn-outline {
    color: #f0ad4e;
}

.btn-danger.btn-outline {
    color: #d9534f;
}

.btn-primary.btn-outline:hover,
.btn-success.btn-outline:hover,
.btn-info.btn-outline:hover,
.btn-warning.btn-outline:hover,
.btn-danger.btn-outline:hover {
    color: #fff;
}

.chat {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat li {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px dotted #999;
}

.chat li.left .chat-body {
    margin-left: 60px;
}

.chat li.right .chat-body {
    margin-right: 60px;
}

.chat li .chat-body p {
    margin: 0;
}

.panel .slidedown .glyphicon,
.chat .glyphicon {
    margin-right: 5px;
}

.chat-panel .card-body {
    height: 350px;
    overflow-y: scroll;
}

.login-panel {
    margin-top: 25%;
}

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc,
table.dataTable thead .sorting_asc_disabled,
table.dataTable thead .sorting_desc_disabled {
    background: 0 0;
}

table.dataTable thead .sorting_asc:after {
    content: "\f0de";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting_desc:after {
    content: "\f0dd";
    float: right;
    font-family: fontawesome;
}

table.dataTable thead .sorting:after {
    content: "\f0dc";
    float: right;
    font-family: fontawesome;
    color: rgba(50,50,50,.5);
}

tr.insert-row td {
    background-color: #F1F9F1;
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.428571429;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 18px;
    line-height: 1.33;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 35px;
    font-size: 24px;
    line-height: 1.33;
}

.show-grid [class^=col-] {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid #ddd;
    background-color: #eee!important;
}

.show-grid {
    margin: 15px 0;
}

.huge {
    font-size: 40px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green .card-header {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green a {
    color: #5cb85c;
}

.panel-green a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red .card-header {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red a {
    color: #d9534f;
}

.panel-red a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow .card-header {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow a {
    color: #f0ad4e;
}

.panel-yellow a:hover {
    color: #df8a13;
}

.page-header {
    margin-top: 20px;
}

div.card-body + div div.alert {
    margin-left: 15px;
    margin-right: 15px;
} 
*/

header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEE;
}

.modal .modal-body {
    max-height: 420px;
    overflow-y: auto;
}

span.invalid {
    background-color: #d9534f;
    color: #FFF;
    border-radius: 0.25em;
    color: #fff;
    display: inline;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    padding: 0.2em 0.6em 0.3em;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

/* AUTOCOMPLETE */

.autocomplete-suggestions {
    border: 1px solid #999;
    background: #FFF;
    overflow: auto;
}

.autocomplete-suggestion {
    padding: 2px 5px;
    white-space: nowrap;
    overflow: hidden;
}

.autocomplete-selected {
    background: #F0F0F0;
}

.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399FF;
}

.autocomplete-group {
    padding: 2px 5px;
}

.autocomplete-group strong {
    display: block;
    border-bottom: 1px solid #000;
}

/* SVG STYLE */
/*
svg {
    background-color: #EFEFEF;
}
*/

circle {
    fill: #999;
    stroke-width: 0px;
}

circle.begin {
    fill: green;
}

circle.end {
    fill: darkred;
}

path.link {
    stroke: #333;
    fill: #333;
    stroke-width: 1px;
}

text {
    fill: #333;
}

/* */

.modal-body {
    max-height: 800px;
}

/* VERSION 2 */

.logo {
    margin: 60px 0 40px 0;
    text-align: center;
}

.navbar-brand {

}

@media (min-width: 768px) {
    #navbarLeft {
        display: block !important;
    }
}

/* NAVBAR LEFT */

#navbarLeft .sidebar-header {
    background-color: #FFF;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    display: block;
    border-bottom: 1px solid #EFEFEF;
    text-decoration: none;
    color: #666;
}

#navbarLeft .sidebar-header.active {
    /* background-color: #abc837; */
    color:  #00b4ff;
    /* border-left: 6px solid #00b4ff; */
    background: linear-gradient(90deg, #00b4ff 6px, #FFF 6px);
    border-bottom-color: #EFEFEF;
}

#navbarLeft .list-group-item-action {
    color: #999;
}

#navbarLeft  .list-group-item.active {
    background-color: #EFEFEF;
    color:  #00b4ff;
    font-weight: bold;
}

.border-right {
    border-color: #EFEFEF;
}

.page-header {
    color:  #00b4ff;
    margin: 6px 0 6px 0;
    padding: 10px 0;
    /* border-bottom: 1px solid #dee2e6; */
}

.card-footer > .pagination {
    margin-bottom: 0;
}

select[readonly]:-moz-read-only {
    pointer-events: none;
}

select[readonly]:read-only {
    pointer-events: none;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

/* Estilos mejorados para checkboxes disabled pero checked */
.form-check-input.checkbox-disabled:checked {
    background-color: var(--Theme-Primary) !important;
    border-color: var(--Theme-Primary) !important;
    opacity: 0.8 !important;
}

.form-check-input.checkbox-disabled:checked:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Alternativa con color de fondo más suave para checkboxes disabled pero checked */
.form-check-input.checkbox-disabled:checked.checkbox-alternative {
    background-color: rgba(13, 110, 253, 0.7) !important;
    border-color: var(--Theme-Primary) !important;
    opacity: 1 !important;
}

/* Mejorar la visibilidad del icono check en checkboxes disabled */
.form-check-input.checkbox-disabled:checked::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") !important;
}

/* Para casos donde se prefiera un indicador más visible con borde */
.form-check-input.checkbox-disabled:checked.checkbox-highlighted {
    background-color: var(--Theme-Primary) !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 2px var(--Theme-Primary) !important;
    opacity: 0.9 !important;
}

/* Estilos para agregar flecha a elementos select que usan form-control */
select.form-control {
    padding-right: 2.25rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Flecha para select disabled */
select.form-control:disabled {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* Para select múltiple, remover la flecha */
select.form-control[multiple],
select.form-control[size]:not([size="1"]) {
    padding-right: 0.75rem !important;
    background-image: none !important;
}

/* Estilos específicos para select2 cuando se necesite */
.select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}