@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

/*PARA ACORDEON*/
.accordion-button{
  background-color: #0b5a4e;
  color: #e8e8e8;
}
.accordion-button:not(.collapsed){
  background-color: #188672;
  color: #e8e8e8;
}
#alert_docente{
  display: none;
  position: fixed;
  right: 60px;
  top: 40px;
  z-index: 1000;
}
#alertBimestre{
  display: none;
  position: fixed;
  right: 60px;
  top: 40px;
  z-index: 1000;
}
/*PARA ACORDEON*/

/*PARA REGISTRO DE NOTAS*/
#tablaNotasRegistro{
  font-size: 0.8rem;
  white-space: pre;
}
#tablaNotasRegistro input{
    width: 35px;
}
#tablaNotasRegistro input{
  font-size: 1rem;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}
#tablaNotasRegistro tr td{
  padding: 5px;
}
#loading-screen {
  background-color: rgba(25,25,25,0.7);
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 9999;
  margin-top: 0;
  top: 0;
  text-align: center;
  display: none;
}
#loading-screen img {
  width: 100px;
  height: 100px;
  position: relative;
  margin-top: -50px;
  margin-left: -50px;
  top: 50%;
}

#loading-screen span{
  color: white !important;
  position: relative;
  top: 40%;
  left: 3%;
}
/*PARA REGISTRO DE NOTAS*/
body {
  font-family: 'Montserrat', sans-serif;
}

nav {
  position: fixed;
  top: 0;
  bottom: 0;
  height: 100vh;
  left: 0;
  background: #005745;
  width: 90px;
  overflow-x: hidden;
  transition: width 0.2s linear;
  /* box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1); */
  transition: all 0.5s ease;
  z-index: 2;
}

nav ul li a {
  text-decoration: none;
}
nav ul {
  list-style: none;
  padding: 0;
}

.logo {
  text-align: center;
  display: flex;
  transition: all 0.5s ease;
  margin: 10px 0 0 10px;
}

.logo img {
  width: 45px;
  height: 45px;
}

.logo span {
  font-weight: bold;
  padding-left: 15px;
  font-size: 18px;
  color: white;
}

header a {
  position: relative;
  color: rgb(255, 255, 255);
  font-size: 14px;
  display: table;
  width: 300px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
  transition: 0.5s all;
}

.fa-solid {
  position: relative;
  width: 70px;
  height: 40px;
  top: 14px;
  font-size: 20px;
  text-align: center;
  color: white;
}

.fa-chevron-right {
  float: right;
  font-size: 1rem;
  transform: rotate(0deg) translateX(0px);
  transition: 0.5s all;
}

.activeI a > .fa-chevron-right {
  transform: rotate(90deg) translate(-13px, 15px);
  transition: 0.5s all;
}
.nav-item-custom {
  position: relative;
  top: 12px;
  margin-left: 10px;
}

a:hover {
  background-color: #004535;
  transition: 0.5s all;
  color: white;
}

nav ul li {
  position: relative;
}

nav ul li::after {
  content: "";
  display: block;
  width: 9px;
  height: 0;
  /*Inicialmenteestablecelaalturaen0*/background-color: white;
  position: absolute;
  left: 0;
  top: 0;
  transition: height 0.3s;
  border-radius: 0px 10px 10px 0px;
  /*Agregaunatransiciónalapropiedadheight*/-webkit-border-radius: 0px 5px 5px 0px;
  -moz-border-radius: 0px 10px 10px 0px;
  -ms-border-radius: 0px 10px 10px 0px;
  -o-border-radius: 0px 10px 10px 0px;
  -webkit-border-radius: 0px 10px 10px 0px;
}

nav ul li:hover::after {
  height: 100%;
}

nav ul .active::after{
  height: 100%;
}

.active a{
  background-color: #004535;
  transition: 0.5s all;
  color: white;
}

.logout a{
  transition: none;
  -webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  -o-transition: none;
}

.logout a:hover {
  background-color: #004535;
  transition: 2s ease-in-out;
  color: white;
  -webkit-transition: 2s ease-in-out;
  -moz-transition: 2s ease-in-out;
  -ms-transition: 2s ease-in-out;
  -o-transition: 2s ease-in-out;
}

nav:hover {
  width: 300px;
  transition: all 0.5s ease;
}

.logout {
  position: fixed;
  bottom: 0;
  background: #005745;
  width: 90px;
  border-top: 2px solid rgba(230, 229, 229, 0.2);
  margin: 0;
  padding: 0;
  height: 18%;
  transition: all 0.5s ease;
}

.logout a:hover{
  background-color: #005745;
}

.sp-logout {
  opacity: 0;
  /* position: absolute; */
}

.avatar{
  display: flex;
  align-items: center;
  width: 300px;
}

.user_name{
  color: white;
  display: none;
}
nav:hover a > .sp-logout{
  opacity: 1;
}
nav:hover a > li.user_name{
  display: block !important;
}
nav:hover li > .logout {
  width: 300px;
}
.final {
  margin-bottom: 150px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 7px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #525965;
  border: 0px none #ffffff;
  border-radius: 0px;
}
::-webkit-scrollbar-thumb:hover {
  background: #525965;
}
::-webkit-scrollbar-thumb:active {
  background: #525965;
}
::-webkit-scrollbar-track {
  background: transparent;
  border: 0px none #ffffff;
  border-radius: 50px;
}
::-webkit-scrollbar-track:hover {
  background: transparent;
}
::-webkit-scrollbar-track:active {
  background: transparent;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

.content {
  padding-left: 90px;
}

.sub-menu {
  background-color: #004535;
  display: none;
}

.sub-menu a {
  position: relative;
  color: white;
  font-size: 14px;
  display: table;
  width: 300px;
  padding: 10px;
  transition: 0.5s all;
  margin: 0;
}

.sub-menu .nav-item-custom {
  position: relative;
  top: 0px;
}

.sub-menu .nav-item-custom span {
  margin-top: 5px;
}

.sub-menu .fa-solid {
  position: relative;
  width: 70px;
  height: 40px;
  top: 14px;
  font-size: 20px;
  text-align: center;
  margin-right: 10px;
  color: white;
}
.sub-menu a:hover {
  background-color: #003529;
  transition: 0.5s all;
  color: white;
}

.fa-chevron-right {
  position: absolute;
  top: 15px;
  right: 0px;
}

.icono {
  position: relative;
}
.icono .fas {
  position: absolute;
  padding: 12px 17px;
  pointer-events: none;
  display: block;
  transition: all linear 0.5s;
}
.icono2 {
  position: relative;
}
.icono2 .fas {
  position: absolute;
  padding: 12px 17px;
  pointer-events: none;
  display: block;
  transition: all linear 0.5s;
}

.btn-ceg {
  background: #083f37;
  color: #fff;
  transition: all 0.5s ease;
}
.btn-ceg:hover {
  background: #0b5a4e;
  color: #fff;
  transition: all 0.5s ease;
}
.btn-ceg2 {
  background: #2ca880;
  color: #fff;
  transition: all 0.5s ease;
}
.btn-ceg2:hover {
  background: #37cc9d;
  color: #fff;
  transition: all 0.5s ease;
}
input[type="checkbox"] {
  position: relative;
  width: 40px;
  height: 20px;
  appearance: none;
  background-color: #c6c6c6;
  outline: none;
  border-radius: 20px;
  margin: 0px 5px;
  transition: 0.5s;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

input:checked[type="checkbox"] {
  background: #03a9f4;
}
input[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transition: 0.5s;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
input:checked[type="checkbox"]:before {
  left: 20px;
}

.logo:hover{
  background-color: #005745 !important;
}