/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #191C24;
    --light: #6C7293;
    --dark: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}
.btn.btn-on {
    height: 30px;
    width: 30px;
    background: url('../images/on.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-on, .btn-on:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(235, 22, 22, 0);
}
.btn.btn-on:hover {
    height: 30px;
    width: 30px;
    background: url('../images/onh.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-off {
    height: 30px;
    width: 30px;
    background: url('../images/off.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-off, .btn-off:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(235, 22, 22, 0);
}
.btn.btn-off:hover {
    height: 30px;
    width: 30px;
    background: url('../images/offh.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-aprov {
    height: 30px;
    width: 30px;
    background: url('../images/aprobada.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-aprov, .btn-aprov:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(235, 22, 22, 0);
}
.btn.btn-rech {
    height: 30px;
    width: 30px;
    background: url('../images/rechazada.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-rech, .btn-rech:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(235, 22, 22, 0);
}
.btn.btn-pend {
    height: 30px;
    width: 30px;
    background: url('../images/pendiente.png') center no-repeat;
    background-size: 100% 100%;
}
.btn.btn-pend, .btn-pend:focus {
    outline: 0;
    box-shadow: 0 0 0 0 rgba(235, 22, 22, 0);
}
.btn.btn-vys {
    background: #198754;
    border-color: #fe0000;
    color: #fff!important; }
.btn.btn-vys:hover {
    background: #13603c;
    border-color: #fe0000;
    color: #fff!important; }
.btn.btn-vys.btn-black--hover:hover {
    background: #666666;
    color: #fff; }
.btn.btn-vys-inv {
    background: #ffffff;
    border-color: #ffffff;
    color: #fe0000!important; }
.btn.btn-vys-inv:hover {
    background: #ffffffc0;
    border-color: #ffffff;
    color: #fe0000!important; }
.btn.btn-vys-inv.btn-black--hover:hover {
    background: #666666;
    color: #fff; }
.btn.btn-disabled {
    pointer-events: none;
    background: #6c6c6c;
    border-color: #eaeaea;
    color: #fff!important; }
.bnt {
    font-size: 16px;
    border-radius: 30px;
    font-weight: 700; }
.bnt.btn-on {
    height: 35px;
    width: 35px;
    background: url('../images/on.png') center;
    background-size: 100% 100%;
}
.bnt.btn-on:hover {
    height: 35px;
    width: 35px;
    background: url('../images/onh.png') center;
    background-size: 100% 100%;
}
.bnt.btn-off {
    height: 35px;
    width: 35px;
    background: url('../images/off.png') center;
    background-size: 100% 100%;
}
.bnt.btn-off:hover {
    height: 35px;
    width: 35px;
    background: url('../images/offh.png') center;
    background-size: 100% 100%;
}
/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--secondary);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: var(--dark);
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--light);
    font-weight: 500;
    border-left: 3px solid var(--secondary);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--dark);
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--secondary);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
    color: var(--light);
}

.sidebar .navbar .dropdown-item:hover,
.sidebar .navbar .dropdown-item.active {
    background: var(--dark);
    color: #ffffff !important;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--light);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    border-radius: 40px;
}

.content .navbar .dropdown-item {
    color: var(--light);
}

.content .navbar .dropdown-item:hover,
.content .navbar .dropdown-item.active {
    background: var(--dark);
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}
/* Modificaciones */
.bg-primary {
    background: #ffffff !important;
}
.bg-secondary {
    background: #fe0000 !important;
}
.text-primary {
    color: #ffffff !important;
}
.fa, .fas {
    color: #000000 !important;
}
.fa-white {
    color: #ffffff !important;
}
.content .navbar .sidebar-toggler, .content .navbar .navbar-nav .nav-link i {
    background: #ffffff !important;
}
.sidebar .navbar .navbar-nav .nav-link i {
    background: #ffffff !important;
    color: #000000 !important;
}
.sidebar .navbar .navbar-nav .nav-link:hover, .sidebar .navbar .navbar-nav .nav-link.active {
    background: #ffffff !important;
    color: #000000 !important;
}
.sidebar .navbar .navbar-nav .nav-link {
    color: #ffffff !important;
}
.sidebar .navbar .navbar-nav .nav-link:hover .nav-link.active {
    color: #ffffff !important;
}
.sidebar .navbar .navbar-nav .nav-link:hover i, .sidebar .navbar .navbar-nav .nav-link.active i {
    background: #fe0000 !important;
    color: #ffffff !important;
}
.sidebar .navbar .dropdown-item {
    color: #ffffff;
}
body {
    color: #000000 !important;
}
.content .navbar .navbar-nav .nav-link {
    color: #ffffff !important;
}
.content .navbar .navbar-nav .nav-link:hover, .content .navbar .navbar-nav .nav-link.active {
    color: #000000 !important;
}
.content .navbar .dropdown-item {
    color: #000000 !important;
}
.content .navbar .dropdown-item:hover {
    color: #fe0000!important;
    background: #ffffff !important;
}
.content .navbar .dropdown-item:hover h6 {
    color: #000000 !important;
}

.fw-normal:hover {
    color: #000000 !important;
}
.navbar-expand .navbar-nav .dropdown-menu {
    background: #e40000d4 !important;
}
.sidebar {
    background: #fe0000 !important;
}
canvas {
    background: #ffffff !important;
    color: #000000 !important;
}
.table>tbody {
    background-color: #ffffff !important;
    color: #000000 !important;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th {
    color: #ffffff !important;
}
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
    color: #000000 !important;
}
.bootstrap-datetimepicker-widget .table thead tr {
    color: #ffffff !important;
}
a {
    color: #000000 !important;
    font-weight: bolder !important;
}
a:hover {
    color: #ffffff !important;
}
.content {
    background-image: url(../img/bg.png) !important;
}
.table>thead {
    color: #ffffff !important;
    font-weight: bolder !important;
    background: #000000 !important;
    margin-top: 2px;
}
.btn {
    color: #ffffff !important;
}
.modulo {
    border-radius: 5px !important;
    background: #fe0000e0;
    border: solid 2px #ffffff;
}
.form-text {
    margin-top: 0.25rem;
    font-size: .875em;
    color: #ffffff;
}
.form-control {
    background: #ffffff !important;
    color: #242424 !important;
}
.form-select {
    background: #ffffff !important;
    color: #242424 !important;
}
.form-check-input {
    background-color: #ffffff !important;
    color: #242424 !important;
}
.form-check-input:checked {
    background-color: #198754 !important;
    color: #ffffff !important;
}
.logo {
    max-width: 180px;
}
.logon {
    max-width: 50px;
}
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 33px;
    border-radius: 5px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #fe0000;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #fe0000;
    cursor: pointer;
  }
  p.clasificacion {
    position: relative;
    overflow: hidden;
    display: inline-block;
  }
  
  p.clasificacion input {
    position: absolute;
    top: -100px;
  }
  
  p.clasificacion label {
    float: right;
    color: #333;
    font-size: 100px;
  }
  
  p.clasificacion label:hover,
  p.clasificacion label:hover ~ label,
  p.clasificacion input:checked ~ label {
    color: #dd4;
  }
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #28a745;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #28a745;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  input:read-only {
    color: #000000!important; /* Cambia el color del texto */
    background-color: #ff8c8c!important; /* Cambia el color de fondo */
    /* Otros estilos que desees aplicar */
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
/* Round statistics */

.sRoundStats { max-width: 300px; margin: auto; display: inline-block; }
.sRoundStats ul li { float: left; margin-left: 0px; text-align: center; font-family: Arial, Helvetica, sans-serif; color: #ffffff; font-size: 9px; list-style-type: none; font-weight: bold; margin-right: 10px; padding-left: auto; }
.sRoundStats ul li:first-child { margin-left: 0; font-family: Arial, Helvetica, sans-serif; font-size: 9px;}
.sRoundStats ul li a.ok { background: url(../images/ok.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a.ok:hover { background: url(../images/okh.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a.pendiente { background: url(../images/pendiente.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a.pendiente:hover { background: url(../images/pendienteh.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a.guia { background: url(../images/guia.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a.guia:hover { background: url(../images/guiah.png) no-repeat 0 0; display: block; width: 38px; height: 38px; margin-top: 1px; background-position: center; }
.sRoundStats ul li a span { font-size: 12px; padding: 10px 2px 2px 2px; font-weight: bold; display: block; }
.sRoundStats ul li a span.roundZero { color: #fff; }
.sRoundStats ul li a span.roundPos { color: #fff;}
.sRoundStats ul li a span.roundNeg { color: #fff;}