﻿@font-face {
    font-family: 'Calibri';
    src: url('../font/calibri-font-family/calibri-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Calibri';
    src: url('../font/calibri-font-family/calibri-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Calibri';
    src: url('../font/calibri-font-family/calibri-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Calibri';
    src: url('../font/calibri-font-family/calibri-bold-italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

/* Aplicar Calibri a todo el sitio */
body {
    font-family: 'Calibri', sans-serif !important;
}


.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
    background: white;
}

.container-form {
    border: 1px solid #80808047;
    border-radius: 5px;
    margin-top: 20px;
    background: white;
}
.nav-link {                  
    color: #3e3ef7 !important;
    text-decoration: underline;
}
.user {
    padding: 0.29rem 0.6rem;
    margin-right: 4px;
    font-size: 25px;
}
.btn .caret {
    margin-left: 0.5em;
    border-top: 0.4em solid;
    border-right: 0.4em solid transparent;
    border-left: 0.4em solid transparent;
    display: inline-block;
    vertical-align: middle;
}
.dropdown-item {
    line-height: 1.8;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    word-wrap: normal;
}
span {
    color: #033429 !important;
    /*font-size: 14px !important;*/
}

.mfp-wrap {
    z-index: 1060 !important;
}
.mfp-bg {
    z-index: 1052 !important;
}

.toggle-false-content .card-body{
    background-color: transparent !important;
}

 

#accordionExample{
    padding-left: 0px !important;
    padding-right: 0px !important;
}
             

#sidebar ul.menu-categories ul.submenu > li.active 
{

    background-color: transparent !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle { 
     padding:  initial !important;  
}

.table tbody tr td { 
    font-size: 12px !important;
}

thead {
    background-color: #bce9ff !important;
    text-transform: uppercase;
    color: black;
}

.btn-pnipa-primary {
    background-color: #fbbd00 !important;
    color: #262626;
}
.btn-pnipa-primary:hover { 
    color: white;
}

h4{
    display: initial !important;
}

.badge { 
    color: white !important;
}


.dropdown-header > span{
    font-weight: bold !important;
}



/*
*
* Comments
*/
.comment-classic {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e9ee;
}

    .comment-classic > * + * {
        margin-left: 20px;
    }

.comment-classic-figure {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.comment-classic-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
    border-radius: 50%;
    max-width: none;
}

@supports (object-fit: cover) {
    .comment-classic-image {
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: none;
        object-fit: cover;
        object-position: center center;
    }
}

.comment-classic-main {
    flex-grow: 1;
}

.comment-classic-name {
    color: #080808;
    font-weight: 600;
}

.comment-classic-text {
    color: #29293a;
}

.comment-classic-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .comment-classic-meta time {
        color: #74757f;
        font-size: 11px;
    }

.comment-classic-reply {
    font-size: 16px;
    line-height: 1;
    color: #aeb1be;
}
         

* + .comment-classic-text {
    margin-top: 8px;
}

* + .comment-classic-meta {
    margin-top: 5px;
}

@media (min-width: 576px) {
    .comment-classic > * + * {
        margin-left: 25px;
    }

    .comment-classic-reply {
        font-size: 13px;
    }
}

.comment-classic-group .comment-classic-group {
    margin-left: 25px;
}

.comment-classic-group * + .comment-classic-group {
    margin-top: 30px;
}

* + .comment-classic-group {
    margin-top: 50px;
}

.comment-classic-group + .comment-classic-group {
    margin-top: 30px;
}

@media (min-width: 768px) {
    .comment-classic-group .comment-classic-group {
        margin-left: 75px;
    }
}
ul, ol {
    list-style-type: none;
    padding: 0;
    margin: 0;
}



.input_file {
    visibility: collapse;
    height: 0px;
    width: 0px;
}


textarea.form-input {
    height: 150px;
    min-height: 48px;
    max-height: 255px;
    resize: vertical;
}

.form-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 19px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #29293a;
    background-color: #fff;
    background-image: none;
    border-radius: 6px;
    -webkit-appearance: none;
    transition: .3s ease-in-out;
    border: 1px solid #c5c6cd;
}



/*tooltip*/

.tooltip {
    position: relative;
    display: inline-block;
    opacity: 1 !important;
    width: 15px !important;
    height: 15px !important;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 180px;
        background-color: #fff;
        color: #000;
        text-align: center;
        border-radius: 6px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -90px;
        opacity: 0;
        transition: opacity 0.3s;
        box-shadow: 0 2px 4px rgb(0 0 0 / 10%), 0 8px 16px rgb(0 0 0 / 10%);
    }

        .tooltip .tooltiptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
    }

/*FIN tooltip*/




.table tbody tr td {
    font-size: 12px !important;
}

.table > thead {
    border-top: 1px solid #e0e6ed;
    border-bottom: 1px solid #e0e6ed;
}

thead {
    background-color: #F2F2F2 !important;
    text-transform: uppercase;
    color: black;
}

.table thead th {
    border-bottom: none !important;
    border-bottom-width: initial !important;
    border-bottom-style: none !important;
    border-bottom-color: initial !important;
}


.page-link {
    margin-right: 5px;
    border-radius: 50%;
    padding: 8px 12px;                    
    border: none;
    color: #888ea8;
}

    .page-link:focus {
        box-shadow: none;
    }

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 3px 0;
}

.page-item.disabled .page-link {
    background-color: #fff !important;
}

    .page-item.disabled .page-link svg {
        color: #acb0c3;
    }

.page-item:first-child .page-link, .page-item:last-child .page-link {
    border-radius: 50%;
    padding: 5px 9px;
}

    .page-item:first-child .page-link svg, .page-item:last-child .page-link svg {
        width: 17px;
    }

.page-item.active .page-link {
    background-color: #1b55e2;
}

#alter_pagination_next a, #alter_pagination_previous a {
    border-radius: 50%;
    padding: 5px 9px;
}

    #alter_pagination_next a svg, #alter_pagination_previous a svg {
        width: 17px;
    }
.table > thead > tr > th {
    color: #000;
    font-size: 12px;
}
.table tbody tr td {
    color: #212529 !important;
    padding: 5px;
}

table.dataTable {
    border-collapse: collapse !important;
    margin-top: 0px !important;
}

input {
    /*border: 0 !important;
    outline: 0;
    background: transparent;
    border-bottom: 1px solid #8080803d !important;    
    border-radius: 0px !important;
     border: 1px solid #8080803d !important; */
}


#sidebar ul.menu-categories li.menu:first-child { 
    margin-bottom: 0px !important;
}

    #sidebar ul.menu-categories li.menu:first-child > a {
        border-radius: 0px !important;
        margin-bottom: 0px !important;
        background-color: transparent !important;
    }    
/*    #sidebar ul.menu-categories li.menu:first-child > .dropdown-toggle[aria-expanded="true"] i {     
        font-size: 11px;  
    }*/

        #sidebar ul.menu-categories li.menu:first-child > .dropdown-toggle i {
        padding: 6px !important;
    }


.sidebar-theme {
    position: fixed;
    height: 100%;
    background: #57595b !important;
    border-right: 0px solid #e9ecef;
    box-shadow: 1px 1px 20px -2px rgb(22 30 42 / 16%);
    transition: all .24s ease-in-out;
}

#sidebar ul.menu-categories ul.submenu > li a:hover {
    color: white !important;
}

#sidebar ul.menu-categories ul.submenu > li a {
    color: white !important;
    font-size: 0.12in !important;
}


#content {                 
    margin-left: 250px;
}

li > a > div > span {
    color: #fff !important;
    font-size: 0.12in !important;
}
li > a > div > i {
    color: #fff !important;
}


#sidebar ul.menu-categories li.menu > .dropdown-toggle[aria-expanded="true"] i {
    background-color: transparent !important;  
}



#sidebar ul.menu-categories ul.submenu > li.active {
    background-color: transparent !important;
}

nav > ul > li {
    border-bottom: 1px  solid #d9d9d93d !important;
}
.submenu {
    background-color: transparent;
}

.btn-gradient-warning {
    background-image: linear-gradient(-20deg,#00afa1 0%, #06eddbf5 100%) !important;
}               

.swal2-modal .swal2-confirm.swal2-styled {
    background-image: linear-gradient(-20deg,#00afa1 0%, #06eddbf5 100%) !important;
}


.cabecera-login {
    position: absolute;
    top: 0px;
    background-color: #fff;
}

.cabecera-login-logo {
    margin-left: 10px;
    margin-top: 10px;
}

.cabecera-login-titulo {
    width: 100%;
    height: 0;
    border-bottom: 70px solid #12a79d;
    border-left: 70px solid transparent;
    background-color: #fff;
    color: white;
}

.cabecera-login-titulo-div {
    padding: 5px;
    padding-top: 25px;
    font-size: 18px;
}
     


@media screen and (max-width: 860px) {
    .cabecera-login-titulo-div {
        font-size: 15px;
    }
}


@media screen and (max-width: 992px) {

    .cabecera-login-titulo-div {
        font-size: 18px;
    }

    .cabecera-login-titulo {
        border-bottom: 107px solid #12a79d;
        border-left: 107px solid transparent;
    }

    .form-login {
        margin-top: 30px !important;
    }
}





@media screen and (max-width: 771px) {



    .cabecera-login-titulo {
        border-bottom: 30px solid #12a79d;
        border-left: 30px solid transparent;
        margin-top: 10px !important;
    }

    .cabecera-login-titulo-div {
        padding-top: 5px !important;
    }

    .cabecera-login-subtitulo {
        text-align: center !important;
    }

    .form-login {
        margin-top: 10px !important;
    }
}


@media screen and (max-width: 500px) {


    .cabecera-login-titulo-div {
        text-align: center !important;
        font-size: 13px;
    }

    .form-login {
        margin-top: 110px !important;
    }

    .cabecera-login-subtitulo {
        margin-top: 10px;
    }

    .cabecera-login-logo-contenedor {
        text-align: center;
    }
}


legend {
    padding: 10px !important;
    font-size: 1rem;
    color: white;
    margin:-1px;
}
fieldset {                 
    border-width: 0.5px;
    border-style: double;
    border-image: initial;
}

.legend-busqueda {
    background-color: #f38d58;
}

.fieldset-busqueda {
    border-color: #f38d58;
}


.legend-listado {             
    background-color: #02aea2;
}

.fieldset-listado {
    border-color: #02aea2;
}
  

    header > h6{
        color: #000;
    }

.form-control {
    color: #000000 !important;    
}

.comment-classic-main{
    width: 80% !important;
}

.note-toolbar > .note-btn-group i + .note-icon-caret {        
    margin-right: 0px !important;
}
.note-toolbar > .note-btn-group {
    margin-top: 7px !important;
    margin-right: 0px !important;
    margin-left: 0 !important;
}

.position-relative {
    position: relative;
}

.img-fluid {
    display: block;
    max-width: 100%;
    height: auto;
}

.btn-edit-image {
    position: absolute;
    top: 5px;
    right: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    padding: 0;
}

    .btn-edit-image i {
        font-size: 14px;
        color: #555;
    }

    .btn-edit-image:hover {
        background-color: #f0f0f0;
        border-color: #aaa;
    }


    .mp-15{
        margin-top: 15px !important;
    }

.form-control {
    font-size: 1rem !important;
    color: #495057;
    background: #ffffff;
    border: 1px solid #ced4da !important;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
    appearance: none;
    border-radius: 3px !important;
    background-color: #fdfdfd !important;
}

    .form-control:hover {
        outline: 0 none;
        outline-offset: 0;
        border-color: #57595b !important;
    }

    .form-control:focus {
        outline: 0 none;
        outline-offset: 0;
        border-color: #57595b !important;
    }



.custom-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    height: 365px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .custom-card .card-header {
        height: 200px;
        background-color: #f8f9fa;
        position: relative;
    }

        .custom-card .card-header img {
            object-fit: cover;
            height: 100%;
            width: 100%;
        }

.btn-edit,
.btn-options {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
}

    .btn-edit:hover,
    .btn-options:hover {
        background: rgba(255, 255, 255, 1);
    }

.card-body {
    padding: 15px;
}

    .card-body p {
        font-size: 12px;
        margin-bottom: 5px;
        color: #69707d;
    }

        .card-body p strong {
            font-weight: 600;
        }

.card-header:first-child {
    border-radius: 10px;
}

.dropdown-toggle::after {                 
    content: none;           
}


.titulo {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

/* Estilos para el Skeleton */
.skeleton {
    background-color: #f2f2f2;
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    background: #e0e0e0;
    animation: shimmer 2.5s infinite;
}

.skeleton-btn {
    width: 25px;
    height: 25px;
    background: #e0e0e0;
    border-radius: 50%;
    animation: shimmer 2.5s infinite;
}

.skeleton-badge {
    width: 60px;
    height: 20px;
    background: #e0e0e0;
    margin-bottom: 10px;
    animation: shimmer 2.5s infinite;
}

.skeleton-text {
    height: 20px;
    background: #e0e0e0;
    margin-bottom: 8px;
    animation: shimmer 2.5s infinite;
}

.skeleton-title {
    width: 80%;
}

.skeleton-date, .skeleton-user, .skeleton-views {
    width: 60%;
}

/* Animación shimmer */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton-text, .skeleton-btn, .skeleton-img, .skeleton-badge {
    background: linear-gradient(90deg, #e0e0e0 25%, #cfcfcf 50%, #e0e0e0 75%);
    background-size: 200% 100%;
}
/* Estilos para el Skeleton */
.skeleton-img, .skeleton-btn, .skeleton-badge, .skeleton-text {
    animation: shimmer 3.5s infinite; /* Cambio el tiempo aquí a 3.5 segundos */
}

/* Animación shimmer */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}


.select2-container .select2-selection--single .select2-selection__rendered {  
    padding: 2px !important;
    padding-right: 20px !important;
}
.select2-container {
    margin-bottom: 0px !important;
}



.switch-container {
    display: inline-flex;
    align-items: center;
    /*font-family: Arial, sans-serif;*/
}

.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 20px;
    margin-right: 8px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

    .slider-switch:before {
        position: absolute;
        content: "";
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: 0.4s;
        border-radius: 50%;
    }

input:checked + .slider-switch {
    background-color: #fbc02d; /* Color amarillo */
}

    input:checked + .slider-switch:before {
        transform: translateX(14px);
    }

.label-text {
    color: #333;
    font-size: 14px;
}

.image-frame {
    display: inline-block;
    padding: 24px;
    background-color: #f3f3f3;
    border: 1px dashed #AFB0B2;
    border-radius: 5px;
}

    .image-frame img {
        display: block;
        max-width: 100%; /* Asegura que la imagen sea responsive */
        border-radius: 5px; /* Bordes redondeados para la imagen */
        object-fit: cover;
        object-position: center;
        width: 100%;
        height: 570px;
    }




.breadcrumb-pasos-container {
    /*font-family: Arial, sans-serif;*/
}

.breadcrumb-pasos {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .breadcrumb-pasos li {
        background-color: #f7e7c6;
        font-weight: 700;
        font-size: 12px;
        clip-path: polygon(95% 0, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%);
        padding: 3px 14px;
        cursor: pointer;
        color: black;
        margin-right: 10px;
    }

        .breadcrumb-pasos li a {
            text-decoration: none;
            color: inherit;
        }

        .breadcrumb-pasos li.active {
            background-color: #f3f3f3; /* Color gris claro */
            color: #000;
            pointer-events: none;
        }

        .breadcrumb-pasos li + li {
            margin-left: -10px; /* Solapa las flechas */
        }

.form-control {
    /*font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol;*/
    font-size: 1rem !important;
    color: #495057 !important;
    background: #ffffff;
    padding: .5rem;
    border: 1px solid #ced4da !important;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
    appearance: none;
    border-radius: 3px !important;
    height: 30px;
    padding: 2px 10px !important;
}

#sidebar .theme-brand {
    background-color: transparent !important;
    border-bottom: 0px !important;
}

.sidebar-theme {      
    background: black !important;        
}

#sidebar ul.menu-categories li.menu:first-child ul.submenu > li a {
    padding: 8px 12px 12px 7px;
    margin-right: 10px;
    border-radius: 10px;
}

#sidebar ul.menu-categories ul.submenu > li.active a {
    background-color: #fbbd00;
    color: black !important;
    height: 35px;
}



#sidebar ul.menu-categories ul.submenu > li.active a{
    font-weight:inherit !important;
}

.Nuevo {
    background: #fbbd00;
    color: #3f3f3f;
}


.parsley-required, .parsley-type, .parsley-filetype, .parsley-fechaFinMayor, .parsley-minlength, .parsley-maxlength, .parsley-fechafinMayor, .parsley-errors-list, .parsley-equalto {
    color: red;
    font-size: 12px;
}
    
.swal2-popup .swal2-styled.swal2-confirm {
    background: #0bc2cb !important;
    border-radius: 5px !important;
}

.swal2-popup #swal2-content {
    text-align: center !important;
    color: #8f8f8f !important;
}





                 

/* Toolbar buttons */
.note-toolbar .btn {
    background-color: #fcfcfc !important;
    border: none;
    color: #010101;
    border-radius: 6px;
    padding: 8px 12px;
    margin: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .note-toolbar .btn:hover {
        background-color: #0056b3;
        color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/* Dropdown menus */
.note-dropdown-menu {
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .note-dropdown-menu .note-btn-group .btn {
        background-color: #f8f9fa; /* Light gray */
        color: #333;
        border: none;
        border-radius: 4px;
        padding: 8px 12px;
        transition: all 0.2s ease;
    }

        .note-dropdown-menu .note-btn-group .btn:hover {
            background-color: #e2e6ea; /* Slightly darker gray */
        }

/* Toolbar groups */
.note-toolbar {
    background-color: #f8f9fa; /* Light gray toolbar */
    border-bottom: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    padding: 8px;
}

/* Text area styling */
.note-editable {
    border: 1px solid #ddd;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: none;
}}

/* Placeholder styling */
.note-placeholder {
    color: #888;
    font-style: italic;
}

/* Focus state */
.note-editable:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.5);
}

/* Resize handles */
.note-resize {
    background-color: #ddd;
    border-radius: 50%;
    height: 8px;
    width: 8px;
    transition: background-color 0.3s ease;
}

    .note-resize:hover {
        background-color: #007bff;
    }

/* Modal styling */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}


.note-editor.note-frame {
    border: 0px solid #e9ecef !important;  
}

.note-editor .note-toolbar {
    background-color: #ffffff !important;
}




/* Estilo del ícono de carga */
.loading-icon {
    border: 2px solid #f3f3f3; /* Color de fondo del círculo */
    border-top: 2px solid #1E71B8; /* Color del borde superior */
    border-radius: 50%; /* Hace que sea circular */
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite; /* Animación de giro */
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}





.slidercaptcha {
    margin: 0 auto;
    width: 100%;
    /*height: 300px;*/
    border-radius: 4px;
    margin-top: 0;
}

    .slidercaptcha canvas:first-child {
        border-radius: 5px;
        border: 1px solid #e6e8eb;
    }

 

.sliderbg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background-color: #f7f9fa;
    height: 40px;
    border-radius: 2px;
    border: 1px solid #e6e8eb;
}

.sliderContainer_active .slider {
    top: -1px;
    border: 1px solid #1991FA;
}

.sliderContainer_active .sliderMask {
    border-width: 1px 0 1px 1px;
}

.sliderContainer_success .slider {
    top: -1px;
    border: 1px solid #02c076;
    background-color: #02c076 !important;
    color: #fff;
}

.sliderContainer_success .sliderMask {
    border: 1px solid #52CCBA;
    border-width: 1px 0 1px 1px;
    background-color: #D2F4EF;
}

.sliderContainer_success .sliderIcon:before {
    content: "\f00c";
}

.sliderContainer_fail .slider {
    top: -1px;
    border: 1px solid #f35c59;
    background-color: #f35c59;
    color: #fff;
}

.sliderContainer_fail .sliderMask {
    border: 1px solid #f35c59;
    background-color: #f7dcdd;
    border-width: 1px 0 1px 1px;
}

.sliderContainer_fail .sliderIcon:before {
    content: "\f00d";
}

.sliderContainer_active .sliderText, .sliderContainer_success .sliderText, .sliderContainer_fail .sliderText {
    display: none;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background .2s linear;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider:hover {
        background: #c93628;
        color: #fff;
        border-color: #c93628;
    }

        .slider:hover .sliderIcon {
            background-position: 0 -13px;
        }

.sliderText {
    position: relative;
}

.sliderIcon {
}


.block {
    position: absolute;
    left: 0;
    top: 0;
}

.slider:hover {
    background: #c93628;
    color: #fff;
    border-color: #c93628;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background .2s linear;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sliderMask {
    position: absolute;
    left: 0;
    top: 0;
    height: 40px;
    border: 0 solid #d1e9fe;
    background: #d1e9fe;
    border-radius: 2px;
}        


.sliderContainer {
    position: relative;
    text-align: center;
    line-height: 40px;
    background: #f7f9fa;
    color: #e72a20;
    border-radius: 2px;
    font-weight: bold;
    font-size: 12px;
}


.alert-danger {
    color: #ef4444;
    background-color: #fff;
    border-color: #e7515a;
    font-weight: bold;
}


.form-label {
    margin-bottom: 0px !important;
    margin-top: .5rem !important;
}


.btn-custom {
    float: right;
    margin-right: 15px;
    cursor: pointer;
    border: 1px solid rgb(227, 6, 19);
    padding: 5px;
    border-radius: 10px;
    color: #e20d16;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 20px;
    background-color:white !important;
}

    .btn-custom:hover {
        color: #e20d16;
    }



.loader {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3498db; /* Color principal */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;        
    margin-top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
}




.card-header-sortable {
    float: left;
    cursor: grab;
}

.move-icon {
    margin-right: 8px; /* Espacio entre el icono y el texto */
    cursor: grab;
}

.sortable-ghost {
    background-color: #f8f9fa; /* Color más claro cuando se arrastra */
}


.leaflet-control-zoom-in, .leaflet-control-zoom-out {
    background: #0000002e !important;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #d43a2f;
}


    .option-card label {
        margin-top: 8px;
        display: block;           
        font-weight: bold;
    }


.list-group-item {
    padding: 0.35rem;
    border: 0px;
}
.border-azul {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 16px;
    border: 1px solid #1E71B8;
    background-color: white;
    color: #1E71B8;
    font-size: 16px;
    font-weight: initial;
    border-radius: 6px;
    box-shadow: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

    .border-azul:hover {
        color: #1E71B8;
    }

.icon {
    width: 20px;
    height: 20px;
}


.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #ef4444 !important;   
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #ef44443d !important;
    color: black !important;
}

.select2-results__option{
    font-size: 12px;
    color:black;
}

.select2-selection__rendered {
    font-size: 12px !important;
    color: black !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {      
    top: 5px !important;       
}
.select2-selection__placeholder {
    color: #5c6369 !important;       
}
ul.pagination li a:hover:not(.active) {
    background-color: #fff;
    color: #8e8e8e;
}
.modal-footer {        
    border-top: 0px  ;       
}

.conteo-preguntas-respodidas {
    font-weight: initial;
    background-color: #1bcc0c !important;
    padding: 5px;
    border-radius: 5px;
    color: #fff !important;
    font-size: 12px;
}
.bg-rojo {
    background-color: #ee3623 !important;
}

.bg-verde {
    background-color: #1bcc0c !important;
}


/* Aplica estilos a todos los <small> que estén después de un <textarea> */
textarea + small {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    background: white;
    padding: 2px 5px;
    z-index: 1;
}

/* Ajusta los errores de Parsley para que no muevan el <small> */
textarea + .parsley-errors-list {
    position: absolute;
    bottom: -20px; /* Para que el error aparezca debajo del textarea */
    left: 0;
    font-size: 12px;
    color: red;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 5px;
}
    


 

.tooltip {
    margin-top: 8px !important; /* Separación del botón cuando está arriba */
    margin-bottom: 8px !important; /* Separación cuando está abajo */
    z-index: 9999 !important; /* Asegura que esté por encima de otros elementos */
}

/* Cambiar el tamaño y color del tooltip */
.tooltip-inner {
    font-size: 11px;
    background-color: white !important;
    color: black !important;
    border: 1px solid red !important;
    padding: 5px;           
    width: 150px; /* Permite que el tooltip se ajuste al contenido */
    max-width: 250px; /* Permite que el tooltip se ajuste al contenido */
    white-space: normal; /* Permite múltiples líneas */
}


/* Cambiar la flecha del tooltip */
.bs-tooltip-top .arrow::before {
    border-top-color: red !important; /* Cambiar color de la flecha */
}

.bs-tooltip-bottom .arrow::before {
    border-bottom-color: red !important;
}

.bs-tooltip-left .arrow::before {
    border-left-color: red !important;
}

.bs-tooltip-right .arrow::before {
    border-right-color: red !important;
}
.alert-warning {
    color: #a87e1b;
    background-color: #fff6db;
    border-color: #e9b02b;
    padding: 2px 15px;
    margin-top: 10px;
}
.nav-tabs .nav-link.disabled {
    color: #b0b0b0 !important; /* Gris claro */
    pointer-events: none; /* Evita clics */
    cursor: not-allowed; /* Cursor de no permitido */
}

.informacion-etapa {
    color: blue;
    text-decoration: underline;
}

.btn-maps {
    background-color: white !important;
    border: 1px solid #c8c8c8 !important;
    color: #686868 !important;
    padding: 5px;
}

.card-grafico {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}
.scroll-container {
    overflow-x: auto;
    white-space: nowrap;
}

.etapa-item {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: #1f2937;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0px 0px 0px 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.etapa-count {
    display: inline-block;
    background-color: #d97706;
    color: #ffffff;
    border-radius: 0px 18px 18px 0px;
    min-width: 40px;
    height: 20px;
    text-align: center;
    font-weight: bold;
    margin-left: 0.2rem;
    font-size: 0.8rem !important;
}

.flatpickr-monthSelect-month {     
    color: black !important;
    font-size: 12px !important;
    padding: 5px;
}


.dataTables_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 300px; /* o lo que necesites */
    position: relative;
}

    .dataTables_wrapper > div:last-child {
        margin-top: auto !important;
    }


.swiper {          
    width: 120px;
}
.progress-container {
    width: 100%;
    height: 10px; /* altura de la barra */
    display: flex;
    background-color: #2f2f2f; /* fondo oscuro (opcional) */
    border-radius: 2px;
    overflow: hidden;
}

/* Segmentos */
.progress {
    height: 100%;
}

    /* Colores */
    .progress.yellow {
        width: 30%; /* ajusta porcentaje */
        background: #dfca0a;
    }

    .progress.red {
        width: 40%; /* ajusta porcentaje */
        background-color: #c04332;
    }

.progress.green {
        width: 30%; /* ajusta porcentaje */
        background-color: #363328;
    }

.estudiante-topbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    min-height: 80px;
    padding: 8px 12px;
}

.estudiante-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding-left: 0;
}

.estudiante-brand-logo {
    width: 40px;
    height: 48px;
    object-fit: contain;
    flex: 0 0 auto;
}

.estudiante-brand-name {
    color: #38662b !important;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.estudiante-brand-separator {
    color: #0f3d34 !important;
    font-weight: 600;
}

.estudiante-brand-text {
    color: #0f3d34 !important;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.estudiante-user-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    padding-right: 0;
}

.estudiante-user-icon {
    color: #0f3d34 !important;
    font-size: 1rem !important;
    font-weight: 600;
    padding: 0;
    margin: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.estudiante-user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.estudiante-home {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.estudiante-home-title,
.estudiante-home-subtitle {
    color: #ffffff !important;
}

.estudiante-home-title {
    max-width: 1150px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.35;
    font-size: 2rem;
    font-weight: 400;
}

.estudiante-home-subtitle {
    font-weight: 700;
}

.estudiante-home-grid {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .estudiante-topbar {
        min-height: auto;
        padding: 10px 12px;
    }

    .estudiante-brand {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .estudiante-user-area {
        width: 100%;
        justify-content: center;
    }

    .estudiante-user {
        white-space: normal;
        text-align: center;
    }

    .estudiante-home {
        padding-top: 2rem;
    }

    .estudiante-home-title {
        font-size: 1.35rem;
    }
}

.navbar {                     
    border-bottom: 0rem solid #f4f4f4;                          
}



.card {                       
    border: 1px;
    border-radius: .25rem;
}

.admin-topbar {
    background: #ffffff;
    align-items: center;
    min-height: 60px;
}

.admin-brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 60px;
    padding-left: 18px;
}

.admin-brand-logo {
    width: 40px;
    height: 46px;
    margin-left: 30px;
}

.admin-brand-name,
.admin-brand-separator,
.admin-brand-text {
    margin: 0;
    color: #38662b !important;       
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.admin-brand-separator {
    color: #7c7c7c !important;
}

.admin-user-area {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 60px;
    padding-right: 18px;
}

.admin-user-header {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.estudiante-progress-wrap {
    padding: 0;
    margin: 0;
}

.estudiante-progress-wrap .progress-container {
    margin-top: 0;
}

