/**
* Template Name: NiceAdmin
* Updated: May 30 2023 with Bootstrap v5.3.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: #f6f9ff;
  color: #444444;
}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

.inframemax{
  position:fixed; 
  top:32px !important; 
  left:0 !important; 
  bottom:0px !important; 
  right:0; 
  height: 90vh;        /* Viewport-relative units */
    width: 100vw; 
}

.fondologin{
  background-color: #fff;
  background-image: url(/assets/img/p-1.png);
  background-size: cover;
  background-position: center center;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  #main {
      padding: 1px;
      padding-top: 3px;
  }
  .card-body {
    padding: 0 7px 2px 7px !important;
  }
}

.alert{
    padding: 3px;
    font-size: 14px;
}

.card {
  margin-bottom: 16px;
    background-color: #fff;
    border: 1px solid #eceff5 !important;
}

.btn-table{
  padding: 2px 4px !important;
}

.fila2tabla th{
  border: 1px solid #fff;
  text-align: center;
}
.bordeblancotabla{
  border: 1px solid #fff;
  text-align: center;
}

.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #0b51b7;
  --bs-btn-border-color: #0b51b7;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #09459c;
  --bs-btn-hover-border-color: #094192;
  --bs-btn-focus-shadow-rgb: 48, 107, 194;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #094192;
  --bs-btn-active-border-color: #083d89;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: #0b51b7;
  --bs-btn-disabled-border-color: #0b51b7;
}
.btn {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 0.4rem;
  --bs-btn-font-size: 0.8125rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  

}

.btn-primary:hover {
  color: #fff;
  background-color: #09459c;
  border-color: #094152;
}
.barra_card_buttom .btn{
    padding: 4px 6px;
}
/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #012970;
}

.ml-2{
  margin-left: 2px;
}
.ml-4{
  margin-left: 15px;
}

.card span.label{
  font-size: 14px;
  color: #899bbd;
  font-weight: 400;
}

.card span.texto {
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.nota_perdida{
  background-color: #F9D7D4;
  color: red !important;    
  font-weight: 450 !important;
}

.estilocampo{
  background-color: #eaf2ff;
  color: #004085;
  font-weight: bold;
}
.nomasignatura a{
    font-size: 16px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}
.nomagrado a{
    font-size: 18px;
    font-weight: 500;
    color: #012970;
    font-family: "Poppins", sans-serif;
}
.altofijomodal{
  height: 600px;
  overflow-y: auto;
}
/* estilo del cuadro que sale en el link al poner el mouse */
.cnotas a:hover::after {
  content: attr(data); /* Muestra el texto del atributo title */
  position: absolute; /* Coloca el cuadro emergente en una posición absoluta */
  background-color: rgba(0, 0, 0, 0.8); /* Fondo negro semi-transparente */
  color: white; /* Texto blanco */
  padding: 4px 8px; /* Espacio alrededor del texto */
  border-radius: 4px; /* Borde redondeado */
  z-index: 1; /* Asegura que el cuadro emergente esté por encima de otros elementos */
  font-size: 12px; /* Tamaño de fuente */
}
a.nomagrado:hover {
  text-decoration: underline; /* Subraya el texto */
  color: red; /* Cambia el color del texto a rojo */
}
.nomdocente a{
  font-size: 15px;
  color: #1c1c1d;
  font-weight: 500;
}

.ag-theme-alpine {
  /* Changes the color of the grid text */
    --ag-foreground-color: rgb(14, 68, 145) !important;
    /* Changes the color of the grid background */
    --ag-background-color: rgb(241, 247, 255) !important;
    /* Changes the header color of the top row */
    --ag-header-background-color: rgb(228, 237, 250) !important;
    /* Changes the hover color of the row*/
    --ag-row-hover-color: rgb(216, 226, 255) !important;
}

/* fondo del header de la tabla */
.table.table-striped thead tr{
  background: linear-gradient(90deg, #f4f4f4, #445996 0, #0d59c1 81%) !important;
  color: #fff;
  text-align: left;
  font-weight: 700;
}
/* borde inferior de la tabla */
.table.table-striped tbody tr:last-of-type {
  border-bottom: 2px solid #0d59c1;
}
.table.table-striped thead th{
  height: 33px;
  background: none !important; /* rgb(25,118,210); */
  color: white; /* Cambia el color del texto si es necesario para que sea legible */
  padding: .5rem;
}
.table>:not(caption)>*>* {
  padding: .1rem .5rem
}
.table-striped tbody tr td{
    font-family: 'Roboto';
    font-size: 15px;
    height: 10px;
}
.table-striped thead th:first-child {
  border-top-left-radius: 10px; /* Ajusta el valor según sea necesario */
  
}

.table-striped thead th:last-child {
  border-top-right-radius: 10px; /* Ajusta el valor según sea necesario */
}
/* cambiar el color del hover de la tabla*/
.table-hover tbody tr:hover td {
  background: rgba(114, 170, 253, 0.5);
}

.card .card-header{
  height: 33px;
   background: rgb(25,118,210);
   background: linear-gradient(90deg, rgba(25,118,210,1) 60%, rgba(138,184,228,1) 100%);
   color: #fff;
   padding: 5px;
   font-weight: bold;
   font-family: 'Roboto';
   font-size: 16px;
}
.icono_tabla{
    cursor: pointer;
    margin-left: 5px;
    margin-right: 5px;
}
.icono_tabla:hover{
    border: 1px solid #eceff5 !important;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*** estilos modal **/

.modal-header{ 
  height: 33px;
   background: rgb(25,118,210);
   background: linear-gradient(90deg, rgba(25,118,210,1) 60%, rgba(138,184,228,1) 100%);
}
.modal-title{
   font-weight: bold;
   color: #fff;
}

.modal-title{
  font-size: 1.09rem;
}

.modal-body span.label {
    font-size: 14px;
    font-weight: bold;
}
.login .label{
  font-family: 'Roboto';
  font-size: 14px;
   font-weight: bold;
}
.btn-primary {
  background-color: #0b51b7 !important;
  
}
/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #444444;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f6f9ff;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #eaedf1;
    border-left: 1px solid #eaedf1;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #fff3cd;
  border-color: #fff3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* serar flotante */
.search-flotante{
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.list-group-item{
  font-family: 'Roboto';
  font-size: 14px;
}
.gradosearch{
   font-weight: bold;
   font-size: 12px;
   color: #012970;
}

/* Search Results Dropdown */
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  z-index: 9999;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.search-results-dropdown::-webkit-scrollbar {
  width: 4px;
}
.search-results-dropdown::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  font-family: 'Roboto', sans-serif;
}

.search-result-item:hover {
  background: #f1f5f9;
}

.search-result-item:active {
  background: #e2e8f0;
}

.search-result-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-result-avatar.avatar-m {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.search-result-avatar.avatar-f {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #be185d;
}

.search-result-name {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 500;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-grado {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0d47a1;
  background: #eff6ff;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  border: 1px solid #dbeafe;
  flex-shrink: 0;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
  border-color: #ebeef4;
  background-color: #fff;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #012970;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

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

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

/* Accordion */
.accordion-item {
  border: 1px solid #ebeef4;
}

.accordion-button:focus {
  outline: 0;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: #012970;
  background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
  padding: 15px 0;
  background: none;
  border: 0;
}

.accordion-flush .accordion-button:not(.collapsed) {
  box-shadow: none;
  color: #4154f1;
}

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #899bbd;
  font-weight: 600;
}

.breadcrumb a {
  color: #899bbd;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #899bbd;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #ebeef4;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  font-family: "Roboto", sans-serif;
  letter-spacing: -0.3px;
}

.auth-header-box {
  background-color: #232a3e;
}

.auth-header-box .fw-semibold {
  font-weight: 500 !important;
}
.auth-header-box .font-18 {
  font-size: 18px !important;
}
.auth-header-box .text-white {
  --bs-text-opacity: 1;
  color: rgba((255,255,255),1) !important;
}

.auth-header-box .text-muted {
  --bs-text-opacity: 1;
  color: #7081b9 !important;
  font-size: .8125rem;
}

.font-13 {
  font-size: 13px !important;
}

.header {
  transition: all 0.5s;
  z-index: 997;
  height: 60px;
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  background-color: #fff;
  padding-left: 20px;
  border-bottom: 1px solid #f1f5f9;
}

/* ------ botones redondos  */
.btnround {
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 5px;
  background-color: #007bff; /* Cambia el color según tus necesidades */
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.inputmodificado{
   border: #dc3545 1px solid;
}

.btnround:hover {
  background-color: #0056b3; /* Color al pasar el mouse */
  transform: translateY(-2px);
}

.btnround:focus {
  outline: none;
}
/* ------ botones  */

.header .toggle-sidebar-btn {
  padding: 6px 8px;
  margin-left: 8px;
  cursor: pointer;
  color: #475569;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.header .toggle-sidebar-btn:hover {
  background-color: #f1f5f9;
  color: #0d47a1;
}

.header .search-bar {
  min-width: 320px;
  padding: 0 16px;
}
.titulo{
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 1.3em;
  color: #3c4858;
}
/** estilos para los grados del home */
.titulo_grado{
     display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1;
    overflow: hidden;
    user-select: none;
    color: rgb(255, 255, 255);
    margin-top: -7px;
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: rgba(0, 0, 0, 0.14) 0px 4px 20px 0px, rgba(0, 172, 193, 0.4) 0px 7px 10px -5px !important;
}
.num_grado{
    font-family: Roboto, Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.334;
    letter-spacing: 0em;
    color: rgba(0, 0, 0, 0.87);
    text-align: right;
}
.sub_titulo_grado{
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.43;
  letter-spacing: 0.01071em;
  color: rgb(153, 153, 153);
  display: block;
  text-align: right;
}
.list-asignaturas button{
  padding: 6px;

}
.list-asignaturas button:hover{
    font-weight: bold;
}
.list-asignaturas  .list-group-item {
  border-radius: 2px;
  margin-bottom: 2px;
} 
.txt_asignatura{
  font-size:  15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}
.cardGradoTitle {
  word-wrap: break-word;
  color: #3c4858;
  font-family: Roboto, Helvetica, Arial, sans-serif;
  font-size: .875rem;
  font-weight: 300;
  margin-bottom: 3px;
  margin-top: 0;
  min-height: auto;
  text-decoration: none;
}
.campo-error{
    color: #dc3545;
    font-size: small;
    margin-left: 15px;    
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
      --bs-modal-width: 900px; /* Cambiar el ancho del modal a 900px */
  }
}

.col-md-0 {
  flex: 0 0 auto;
  width: 2.33333333%;
}

.titulo_grado_naranja{
  background-color: rgb(255, 87, 34);  
}
.titulo_grado_verde{
  background-color: rgb(76, 175, 80);
}
.titulo_grado_fuxia{
  background-color: rgb(233, 30, 99);  
}
.texto_verde{
  color: rgb(76, 175, 80);
}
.texto_fuxia{
  color: rgb(233, 30, 99);
}
.card-grado .progress{
  width: 100%;
  height: 6px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
  position: relative;
}

.header .search-form input {
  border: 0;
  font-size: 13px;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 14px 8px 36px;
  border-radius: 10px;
  transition: all 0.25s ease;
  width: 100%;
}

.header .search-form input::placeholder {
  color: #94a3b8;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.08);
  border-color: #93c5fd;
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #64748b;
}

/* Header Info Bar - Sede y Año */
.header-info-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.header-sede-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1e40af;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #bfdbfe;
  white-space: nowrap;
}

.header-sede-badge svg {
  opacity: 0.7;
}

.header-anio-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #166534;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

.header-anio-badge svg {
  opacity: 0.7;
}

.header-cambiar-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #64748b;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.header-cambiar-btn:hover {
  background: #f8fafc;
  color: #0d47a1;
  border-color: #93c5fd;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #012970;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #012970;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .notifications .notification-item:hover {
  background-color: #f6f9ff;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #444444;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #919191;
}

.header-nav .messages .message-item:hover {
  background-color: #f6f9ff;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #444444;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #f6f9ff;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  bottom: 0;
  width: 260px;
  z-index: 996;
  transition: all 0.3s;
  padding: 10px 8px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
  box-shadow: 4px 0 24px rgba(1, 41, 112, 0.15);
  background: linear-gradient(180deg, #0d47a1 0%, #0a3d8f 50%, #083378 100%);
}

@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
  width: 4px;
  height: 8px;
  background-color: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 4px;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

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

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-nav .nav-heading {
  font-size: 11px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin: 10px 0 5px 15px;
  letter-spacing: 0.5px;
}

.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: #fff;
  transition: all 0.2s ease;
  background: rgba(255,255,255,0.15);
  padding: 11px 14px;
  border-radius: 10px;
  line-height: 1.125rem;
  margin-bottom: 2px;
  text-decoration: none;
}

.sidebar-nav .nav-link svg {
  opacity: 0.85;
  transition: all 0.2s ease;
}

.sidebar-nav .nav-link i {
  font-size: 16px;
  margin-right: 10px;
  color: #fff;
}

.sidebar-nav .nav-link.collapsed {
  color: rgba(255,255,255,0.85);
  background: transparent;
}

.sidebar-nav .nav-link.collapsed svg {
  opacity: 0.6;
}

.sidebar-nav .nav-link.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sidebar-nav .nav-link.active svg {
  opacity: 1;
}

.sidebar-nav .nav-link.collapsed i {
  color: rgba(255,255,255,0.7);
}

.sidebar-nav .nav-link:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-nav .nav-link:hover svg {
  opacity: 1;
}

.sidebar-nav .nav-link:hover i {
  color: #fff;
}

.sidebar-nav .nav-link .sidebar-chevron {
  margin-left: auto;
  margin-right: 0;
  opacity: 0.5;
  transition: transform 0.25s ease;
}

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;
}

.sidebar-nav .nav-link:not(.collapsed) .sidebar-chevron {
  transform: rotate(180deg);
  opacity: 0.8;
}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 4px 0 4px 0;
  margin: 0 0 2px 0;
  list-style: none;
  background: rgba(0,0,0,0.1);
  border-radius: 0 0 10px 10px;
}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  padding: 9px 14px 9px 20px;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin: 1px 6px;
  text-decoration: none;
}

.sidebar-nav .nav-content a svg {
  opacity: 0.5;
}

.sidebar-nav .nav-content a i {
  font-size: 11px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.sidebar-nav .nav-content a:hover svg,
.sidebar-nav .nav-content a.active svg {
  opacity: 1;
}

.sidebar-nav .nav-content a.active i {
  background-color: transparent;
} 

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}
.filter-grados {
  position: absolute;
    right: 7px;
    bottom: 3px;
    font-size: x-large;
}
.dropdown-menu {
  z-index: 1000;
}

.barra_card_buttom{
  padding: 5px 5px;
  margin-left: 29px;
}

.card-grado .card-body {
  padding-bottom: 2px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

.dashboard .activo-card .card-icon {
  color: #1c33c6;
  background: #c4c9eb;
}
.dashboard .inactivo-card .card-icon {
  color: #ff1d65;
  background: #f2f2f2;
}

.badge-notas {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 0.5rem;
}

.badge-verde {
  background-color: #2eca6a;
  color: #fff;
}

.badge-amarillo {
  background-color: #ffc107;
  color: #000;
}

.badge-rojo {
  background-color: #dc3545;
  color: #fff;
}

@keyframes pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.columna-fecha {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  font-size: 11px;
  white-space: nowrap;
  min-width: 25px;
  padding: 8px 4px;
}

.asistencia-table th,
.asistencia-table td {
  border: 1px solid #dee2e6;
  vertical-align: middle;
}
.altofilaasis {
  height: 64px !important;
  vertical-align: middle; /* Opcional: centra el contenido */
}
.asistencia-scroll-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

/* Fijar las 2 primeras columnas */
.asistencia-table th.sticky-col,
.asistencia-table td.sticky-col {
  position: sticky;
  left: 0;
  background: white;
  z-index: 2;
  box-shadow: 2px 0 2px -1px rgba(0,0,0,0.1); /* efecto de borde */
}

.asistencia-table th.sticky-col + .sticky-col,
.asistencia-table td.sticky-col + .sticky-col {
  left: 50px; /* ajusta según ancho de columna anterior */
}

/* Evita que celdas se rompan */
.asistencia-table td, .asistencia-table th {
  white-space: nowrap;
}


.badge-verde.animar {
  animation: pop 0.4s ease-in-out;
}

.progress-material {
  height: 10px;
  border-radius: 20px;
  background-color: #e0e0e0;
  overflow: hidden;
}

.progress-material .progress-bar {
  transition: width 0.6s ease;
}

.bg-azulbar{
  background: linear-gradient(90deg, #42a5f5, #478ed1);
}
/** resalta el texto en tomar asistencia de la tabla */
.resaltadotbl{
   font-size: 15px;
}
/** perfil grafico */

.perfil-grafico {
  padding: 1rem;
}

.perfil-grafico .area-card {
  margin-bottom: 1.5rem;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #dee2e6;
}

.perfil-grafico .barra-container {
  margin: 4px 0;
}

.perfil-grafico .barra-label {
  font-size: 0.9rem;
  margin-bottom: 3px;
  color: #333;
}

.perfil-grafico .barra-externa {
  background-color: #e9ecef;
  border-radius: 5px;
  height: 22px;
  position: relative;
}

.perfil-grafico .barra-interna {
  height: 100%;
  border-radius: 5px;
  color: #fff;
  font-weight: bold;
  text-align: right;
  padding-right: 5px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: width 0.5s ease-in-out;
}

.perfil-grafico .barra-texto {
  font-size: 0.75rem;
}


/** perfil grafico */


.dashboard .activo-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .inactivo-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

/* lista modal persona */
.modal .post-item {
  display: flex;
  align-items: center; /* Alinea verticalmente los elementos */
}

.modal .profile-image {
  margin-right: 10px; /* Espacio entre la imagen y el nombre */
}

/* Ajusta según tus necesidades */
.modal .profile-info h5 {
  margin: 0; /* Elimina el margen del encabezado */
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #fff;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #012970;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #777777;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #f6f6fe;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #f6f6fe;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #fff;
  border-radius: 0.25rem;
  text-align: center;
  color: #012970;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #012970;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #012970;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #fff;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #012970;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #012970;
}