:root {
    --navbar-color: #2A2A29;
    --background-color: #f2f4f6;
    --text-color: #fff;
    --primary-color: #af030e;
    --secondary-color: #2c92ff;
    --green-color: #0fc47a;
    --info-color: #47e2e2;
    --warning-color: #FBDE45;
    --purple-color: #B172BD;
    --navbar-color-white: #fff;
    --text-color-black: #2A2A29;
    --filter-btn-color: #909292;
    --filter-btn-color-hover: #545454;
    --btn-actions: #909292;
    --btn-actions-hover: #545454;
}

body,
html {
    width: 100%;
    height: 100%;
    /* background-color: #f2f4f6; */
    /*background: url('/imgs/fondo-mejor.jpg') no-repeat center center fixed; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.top-space {
    margin-top: 1em;
}

.text-white {
    color: var(--text-color);
}

a,
a:hover,
a:focus {
    text-decoration: none;
}

.navbar-session {
    background-color: var(--navbar-color);
    color: var(--text-color);
    margin-bottom: 20px;
}

.navbar-session ul li a {
    color: inherit !important;
}

.navbar-session .navbar-brand {
    color: var(--text-color);
    font-weight: 400;
}

.navbar-session .navbar-nav {
    font-weight: 500;
}

#sidebarCollapse {
    color: var(--text-color);
}

.no-margin {
    margin: 0 !important;
    font-weight: bold;
}

div.card-title {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: var(--text-color);
}

.actions a {
    margin-bottom: 1em;
    margin-right: 5px;
}

.selected {
    background-color: rgba(0, 0, 0, .075);
}

.btn-filter {
    color: #fff !important;
    background-color: var(--filter-btn-color);
}

.btn-filter:hover {
    background-color: var(--filter-btn-color-hover);
}

.btn-actions {
    color: #fff !important;
    background-color: var(--btn-actions);
}

.btn-actions:hover {
    background-color: var(--btn-actions-hover);
}

.btn-cake-green {
    color: #fff;
    background-color: var(--green-color);
}

.btn-cake-green:hover {
    color: #fff;
    background-color: #0C965D;
}

.btn-danger {
    color: var(--text-color) !important;
    background-color: var(--primary-color);
}

.btn-warning {
    color: var(--text-color) !important;
    background-color: var(--warning-color);
}

.btn-primary {
    color: var(--text-color) !important;
    background-color: var(--secondary-color);
}

.btn-indigo {
    color: var(--text-color) !important;
    background-color: var(--info-color);
}

.btn-indigo:hover {
    color: var(--text-color);
    background-color: rgb(32, 191, 212);
}

.btn-purple {
    color: var(--text-color);
    background-color: var(--purple-color);
}

.btn-purple:hover,
.btn-purple:focus {
    color: var(--text-color);
    background-color: #7E5187;
}

.btn-trans {
    background: transparent;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contentedtiable].form-control:focus {
    box-shadow: inset 0 -2px 0 #2196F3;
}

textarea,
textarea.form-control,
input.form-control,
input[type=text],
input[type=password],
input[type=email],
input[type=number],
[type=text].form-control,
[type=password].form-control,
[type=email].form-control,
[type=tel].form-control,
[contenteditable].form-control {
    transition: box-shadow 0.2s, -webkit-box-shadow 0.2s;
}

.form-control:focus {
    color: #666;
    background-color: #f2f4f6;
    border-color: var(--secondary-color);
    outline: 0;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #f2f4f6;
    background-clip: padding-box;
    border: 0rem solid transparent;
    border-radius: 0;
}

.login-form .input-group-text {
    border: 0rem solid transparent;
}

.bootstrap-select .dropdown-toggle:focus {
    outline: none !important;
}

div.dataTables_scrollBody {
    z-index: 1;
    -webkit-overflow-scrolling: touch !important;
}

.page-item.active .page-link {
    background-color: var(--filter-btn-color);
    border-color: white !important;
}

.page-item.active .page-link:hover {
    background-color: var(--filter-btn-color-hover);
    border-color: white !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(165, 165, 165, 0.25);
}

.page-link,
.page-link:hover {
    color: #7b7f84;
}


/* ---------------------------------------------------
        SIDEBAR STYLE
    ----------------------------------------------------- */

#wrapper {
    display: flex;
    align-items: stretch;
    /* background-color: #666; */
}

#sidebar {
    min-width: 225px;
    max-width: 225px;
    background: var(--navbar-color-white);
    z-index: 2000;
    position: fixed;
    top: 0;
    left: -225px;
    transition: left .4s;
    height: 100vh;
    color: var(--text-color-black);
    transition: all 0.3s;
}

#sidebar.active {
    min-width: 225px;
    max-width: 225px;
    left: 0;
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22) !important;
    -moz-box-shadow: 1 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22) !important;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22) !important;
}

#sidebar.active .sidebar-header h3 {
    display: block;
    text-align: center;
}

#sidebar ul li a {
    color: inherit !important;
    text-align: left;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: var(--navbar-color-white);
}

#sidebar .sidebar-footer {
    padding: 12px;
    background: var(--primary-color);
    color: var(--text-color);
    width: 100%;
    position: absolute;
    bottom: 0;
}

.sidebar-footer a {
    color: var(--text-color);
    position: relative;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul li a {
    padding: 20px 10px;
    text-align: left;
    font-size: 0.85em;
    display: block;
}

#sidebar ul li a:hover {
    color: var(--text-color) !important;
    background: var(--primary-color);
    transition: all 0.3s;
}

#sidebar ul li.active>a {
    color: #fff;
    background: var(--primary-color);
}

#content {
    width: 100%;
    min-height: 100vh;
    transition: all 0.3s;
    padding-top: 50px;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    /* background: #7386D5; */
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #e20613;
    color: #fff;
}


/* ---------------------------------------------------
        LOGIN STYLE
    ----------------------------------------------------- */

header,
body,
html,
.view {
    height: 100%;
}

.navbar-login {
    background: transparent !important;
}

.view {
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.view .mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
}

.rgba-red-strong,
.rgba-red-strong:after {
    background-color: rgba(42, 42, 41, 0.548);
}

.view img {
    position: relative;
    display: block;
}

.white-text {
    color: #fff !important;
}

.blue-text {
    color: #007bff !important;
}

.z-depth-2 {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, .19) !important;
}

#table-perfiles td {
    vertical-align: inherit !important;
}

#card-perfiles {
    margin-left: 150px;
    margin-right: 150px;
}

#btns {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    #sidebar {
        min-width: 200px !important;
        max-width: 200px !important;
        text-align: center;
    }
    .dataTables_info {
        font-size: 1em;
        white-space: normal !important;
    }
}

@media (min-width: 768px) {}

@media (min-width: 992px) {
    .container-fluid {
        margin-top: 80px;
        margin-bottom: 20px;
        /* padding-right: 100px;
        padding-left: 100px; */
    }
}

@media (min-width: 1200px) {
    .container-fluid {
        margin-top: 40px;
        padding-right: 200px;
        padding-left: 200px;
    }
}

.navbar-thin {
    padding: .0rem 1rem;
}

.dropdown-menu.custom a.dropdown-item {
    color: #434f5f !important;
    padding: 10px;
    font-size: .9375rem;
    font-weight: 400;
}

.dropdown-menu.custom .dropdown-item.active,
.dropdown-item:active {
    text-decoration: none;
    background-color: #e0e0e0;
}

a.nav-link {
    font-weight: 100;
}

.btn.focus,
.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(119, 119, 119, 0.25);
}


/*Animations dropdowns*/


/* Change this breakpoint if you change the breakpoint of the navbar */

@media (min-width: 992px) {
    .animate {
        animation-duration: 0.3s;
        -webkit-animation-duration: 0.3s;
        animation-fill-mode: both;
        -webkit-animation-fill-mode: both;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
    100% {
        transform: translateY(0rem);
        opacity: 1;
    }
    0% {
        transform: translateY(1rem);
        opacity: 0;
    }
}

@-webkit-keyframes slideIn {
    0% {
        -webkit-transform: transform;
        -webkit-opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
        -webkit-opacity: 1;
    }
    0% {
        -webkit-transform: translateY(1rem);
        -webkit-opacity: 0;
    }
}

.slideIn {
    -webkit-animation-name: slideIn;
    animation-name: slideIn;
}


/*En Animations dropdowns*/

.form-control.search {
    border-radius: .25rem;
    border: 1px solid rgba(0, 0, 0, .15)
}

.table.custom {
    border: 1px solid #dee2e6;
}

table.custom th,
table.custom td,
.bootstrap-select .filter-option-inner-inner {
    font-size: 0.85rem;
}

.dataTables_info {
    font-size: 0.85rem;
    text-align: left;
}

table.custom.collapsed tbody td {
    vertical-align: top;
}

table.custom.collapsed tbody tr.child {
    text-align: left;
}

.dataTables_scrollHeadInner table.custom th,
table.no-datatable th {
    color: #fff;
    background-color: #343a40;
    border-color: #454d55;
    height: 30px!important;
    padding: 2px;
    font-weight: 400;
    vertical-align: middle;
}

.table.custom tbody tr,
.card-title {
    cursor: default;
}

.table.custom tbody td {
    vertical-align: middle;
    /*height: 10px!important;*/
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before,
table.dataTable thead .sorting_desc_disabled:after {
    bottom: 0.50em;
}

table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting {
    padding-right: 15px;
}

.dataTables_length select {
    padding-right: 1.5rem;
}

.form-control[type="number"] {
    text-align: center;
}

select.form-control {
    text-align: center;
}

select.form-control.custom+button.dropdown-toggle {
    border: 1px solid rgba(0, 0, 0, .15);
}

.bootstrap-select.btn-group {
    width: auto !important;
}

.dropdown-item.active {
    text-decoration: none;
    background-color: #e0e0e0;
    color: #212529;
}

.card-body {
    padding-top: 0px;
}


/*///////////////////////////////////////////////////////////*/


/*NORMAL SCROLL/////////////////////////////////////////////////////*/


/* width */

::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


/* Track */

::-webkit-scrollbar-track {
    /*box-shadow: inset 0 0 5px grey;
    border-radius: 5px;*/
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: rgba(185, 196, 197, 0.52);
    border-radius: 10px;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.65);
}


/*//////////////////////////////////////////////////////*/

@media (max-width: 767px) {
    .container {
        max-width: none;
        padding-left: 1px;
        padding-right: 1px;
    }
}

.sidebarCollapse {
    cursor: pointer;
}

.nopadd {
    padding-left: 0px;
    padding-right: 0px;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

.chart {
    width: 100%;
    min-height: 450px;
}


/* Loader */

.loader {
    position: relative;
    text-align: center;
    margin: 15px auto 35px auto;
    z-index: 9999;
    display: block;
    width: 80px;
    height: 80px;
    border: 10px solid rgba(0, 0, 0, .3);
    border-radius: 50%;
    border-top-color: #000;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}