/* NAVBAR */
.navbar.main.navbar-primary {
    border-bottom-color: var(--main-dark-color);
    background-color: var(--main-color);
}

.navbar.main.navbar-primary .navbar-brand {
    border-right: 1px solid var(--main-color);
}

.navbar.main.navbar-primary .nav > li {
    border-left-color: var(--main-dark-color);
}

.navbar.main.navbar-primary .nav .open > a {
    background-color: var(--main-dark-color);
}

.navbar.main.navbar-primary .nav > li > a:hover {
    background-color: var(--main-dark-color);
}

/* TOGGLE */
.navbar.main.navbar-primary .toggle-button > i {
    color: var(--main-light-color);
}

/* SEARCH */
.navbar.main.navbar-primary .navbar-form input {
    background-color: var(--main-dark-color);
}

.navbar.main.navbar-primary .navbar-form .btn {
    border-left: 1px solid var(--main-dark-color);
    border-right: 1px solid var(--main-dark-color);
    background: var(--main-dark-color);
}

.navbar-form::placeholder {
    color: #fff !important;
}

/* FIN NAVBAR */


/* MENU */
.sidebar.sidebar-default > .sidebarMenuWrapper > ul li.active, .sidebar.sidebar-default > .sidebarMenuWrapper > ul li.active:hover > a {
    background-color: var(--main-color);
}

.sidebar.sidebar-default > .sidebarMenuWrapper > ul li.active.hasSubmenu ul li a:hover {
    color: var(--main-color) !important;
}

/* END MENU */


/* BOTON DE MENU DE USUARIO EN MODO MOVIL */
.botonMenuMovil {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
}

/* END BOTON DE MENU DE USUARIO EN MODO MOVIL */


/* FILTER BAR */
.filter-bar {
    background: #f4f4f4;
    margin: 0;
    border: 1px solid #e5e5e5;
    padding: 10px 0;
    line-height: 30px;
}

/* END FILTER BAR */


/* WIDGETS */

.spacing-x2 .widget, .spacing-x2 .filter-bar {
    margin-bottom: 0;
}

.widget.widget-inverse > .widget-head {
    background-color: var(--main-color);
}

/* END WIDGETS */


/* BUTTONS */
.btn-default {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #ffffff;
}

.btn-primary {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

.btn-group.open .btn-primary.dropdown-toggle, .btn-primary.disabled, .btn-primary[disabled], .btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
    color: var(--main-color);
    border-color: var(--main-color);
}

/* END BUTTONS */


/* TABSBAR */
.tabsbar.tabsbar-2 ul li.active {
    background: var(--main-color);
}

.tabsbar.tabsbar-2 ul li:not(.active):hover a {
    color: var(--main-color);
}

.tabsbar.tabsbar-2 ul li:not(.active):hover a i:before {
    color: var(--main-color);
}

/*END TABSBAR */


/* TEXTOS */
.text-nowrap {
    white-space: nowrap;
}

.textMain {
    font-size: x-small;
    font-weight: normal;
}

.textSecondary {
    font-size: x-small;
    font-weight: lighter;
    color: #888888;
}

.textColor {
    color: var(--main-color);
}

/* END TEXTOS */


/* TABLAS */
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.table > thead > tr > .info, .table > tbody > tr > .info, .table > tfoot > tr > .info, .table > thead > .info > td, .table > tbody > .info > td, .table > tfoot > .info > td, .table > thead > .info > th, .table > tbody > .info > th, .table > tfoot > .info > th {
    background-color: #dee1f2;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td:not(.tableActions), .table > tfoot > tr > td {
    padding: 15px;
    font-size: small;
}

.fixed-table-container thead th {
    border-left: none;
}

.fixed-table-container tbody td {
    border-left: none;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    vertical-align: middle;
}

/*.table tr:not(:hover) td.tableActions > .dropdown:not(.show) button:not(:focus):not(:active), .table tr:not(:hover) td.tableActions > button:not(:focus):not(:active) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    /*overflow: hidden;*/
/*clip: rect(0, 0, 0, 0);**
white-space: nowrap;
/*border: 0;**
}

.tableActions {
visibility: hidden;
}

tr:hover .tableActions {
visibility: visible;
}*/


.table-primary thead th {
    border-color: var(--main-color);
    background-color: var(--main-color);
    color: #fff;
    font-size: 14px;
}


.table td.right, .table th.right {
    text-align: right;
}

/* END TABLAS */


/* A */
a, a:hover {
    color: var(--main-color);
}

/* FIN A */


/* SELECT2 */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--main-color) !important;
}

.select2-selection__rendered {
    line-height: 34px !important;
}

.select2-container .select2-selection--single {
    height: 34px !important;
}

.select2-selection__arrow {
    height: 34px !important;
}

/* END SELECT2 */


/* DROPDOWN */
.dropdown-menu li {
    border-bottom: 0;
}

/* END DROPDOWN */


/* FORMS */
/* TEMPORAL HASTA MIGRAR TODOS LOS FORMULARIOS */
.form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}

textarea:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus, .uneditable-input:focus {
    border-left: 1px solid var(--main-color);
}

/* LOS GLYPS DE LOS INPUTS */
.form-control-feedback.glyphicon {
    position: absolute;
    top: 10px;
    right: 10px;
}

.has-feedback {
    margin-bottom: 22px;
}

.formHeight {
    max-height: 81px;
    height: 81px;
}

.breadcrumb {
    margin-bottom: 0;
}

.botonChico {
    padding: 0 4px 0 4px;
}

/*.navbar.main .navbar-form input {
    width: 150px;
}*/

/* END FORMS */


/* MODALS */
.modal-lg {
    width: 80%;
}

.modal-sm {
    width: 30%;
}

.modal-footer {
    margin-top: 0;
}

/* FIN MODALS */


/* BOOTSTRAP-DIALOG */
.panel-body {
    padding: 0;
}

.modal-lg {
    width: 75%;
}

.modal-sm {
    width: 15%;
}

.modal-footer {
    margin-top: 0;
}

/* END BOOTSTRAP-DIALOG */


/* GRAFICAS */
.flotchart-holder {
    margin: 0;
    height: 200px;
}

/*END GRAFICAS */


/* LABEL */
.label {
    display: initial;
    font-size: revert;
}

.label-danger-inverse {
    color: darkred;
    background-color: #FFCDD2;
}

.label-success-inverse {
    color: darkgreen;
    background-color: #C8E6C9;
}

.label-primary-inverse {
    color: darkblue;
    background-color: #B3E5FC;
}

.label-info-inverse {
    color: darkcyan;
    background-color: #B2EBF2;
}

.label-warning-inverse {
    color: saddlebrown;
    background-color: #FFECB3;
}

.label-default-inverse {
    color: darkgray;
    background-color: #F5F5F5;
}

/* FIN LABELS */


/* COMBOS */
.dropdown-menu li.active a, .dropdown-menu li.active:hover a {
    background-color: var(--main-color);
}

/* FIN COMBOS */


/* TIMELINE */
.layout-timeline ul.timeline > li.active .type {
    color: var(--main-color);
}

.layout-timeline ul.timeline > li.active .type i:before {
    color: var(--main-color);
}

.layout-timeline ul.timeline > li.active .type:before, .layout-timeline ul.timeline > li.active .type:after {
    background: var(--main-color);
}

.layout-timeline ul.timeline > li.active:before {
    background: var(--main-color);
}

/* FIN TIMELINE */


/* CALENDARIO DATEPICKER */
.datepicker thead th.dow {
    background: var(--main-color);
}

.datepicker table tr td.active, .datepicker table tr td.active:hover, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover {
    background: var(--main-color) !important;
}

.datepicker-days .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td {
    padding: 0;
}

.datepicker table tr td span.active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover {
    background: var(--main-color) !important;
}

.daterangepicker .ranges li.active {
    background-color: var(--main-color);
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--main-color);
}

.daterangepicker td.in-range {
    background-color: var(--main-light-color);
}

/* FIN DATE PICKER */


/* PROGRESS BARS */
.progress {
    margin: 0;
}

/* BARS */
.nicescroll-rails div {
    background-color: var(--main-color);
}

/* END BARS */

/* END PROGRESS BARS */


/* PIE */
/*#footer {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 100%;
}*/
/* END PIE */


/* OTROS */
.sinPadding {
    padding: 0 !important;
}

.help-block {
    color: red !important;
}
/* END OTROS */

/** BACKGROUND */
/*.bg-primary {
    background: var(--main-light-color) !important;
}*/

/** END BACKGROUND */

.modal-footer {
    border-top: 0px solid #e5e5e5 !important;
}


/* LIST GROUPS */
.list-group-1>li.active, .list-group-1>li.active:hover, .list-group-1>li.active>*, .list-group-1>li.active:hover>*, .list-group-1>li.active [class*="fa-"], .list-group-1>li.active:hover [class*="fa-"], .list-group-1>li.active p, .list-group-1>li.active:hover p, .list-group-1>li.active p *, .list-group-1>li.active:hover p *, .list-group-1>li.active .media-heading, .list-group-1>li.active:hover .media-heading, .list-group-1>li.active .text-faded, .list-group-1>li.active:hover .text-faded {
    color: #fff !important;
}

.list-group-1>li.active, .list-group-1>li.active:hover {
    background: var(--main-color);
    border: none;
}

.list-group-1 > li a [class*="fa-"] {
    color: #e4e4e4;
    font-size: 18px;
    width: 25px;
}

/* FIN LIST GROUPS */

/* EXTRAS */
.hidden-xs {
    display: inline !important;
}

/* FIN EXTRAS */

/* UL */
.unstyled {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* FIN UL */


/* NAV PILLS */
.nav-tabs > li > a:hover, .nav-pills > li > a, .nav-pills > li > a:hover {
    background: #888888;
    border-bottom-color: #888888;
    color: #fff;
}


.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: var(--main-color);
}
/* END NAV PILLS */

/* GLASS */
.glass {
    background: rgba(255, 255, 255, 0.15); /* capa translúcida */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari */

    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px;
    color: #fff;
}
/* END GLASS */