@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

/* Nabvar siderbear */
:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #4723D9;
    --first-color-light: #AFA5D9;
    --white-color: #F7F6FB;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 1
}
 
*,
::before,
::after {
    box-sizing: border-box
}

body {
    position: relative;
    margin: var(--header-height) 0 0 0;
    padding: 0 1rem;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

a {
    text-decoration: none
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--first-color);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    position: relative;
    color: black;
    margin-bottom: 1.5rem;
    transition: .3s
}
 
.nav_link:hover {
    color: var(--white-color)
}

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.active {
    color: var(--white-color)
}

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color)
}

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    body {
        margin: calc(var(--header-height) + 1rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

    .header_img img {
        width: 45px
    }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }

    .show {
        width: calc(var(--nav-width) + 156px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 188px)
    }
}


/* Botones flotantes */

 .btn-flotante {
	font-size: 16px; /* Cambiar el tamaño de la tipografia */
	text-transform: uppercase; /* Texto en mayusculas */
	font-weight: bold; /* Fuente en negrita o bold */
	color:white; /* Color del texto */
	border-radius: 5px; /* Borde del boton */
	letter-spacing: 2px; /* Espacio entre letras */ /* Color de fondo */
	padding: 8px 15px; /* Relleno del boton */
	position: fixed;
	bottom: 1%;
	right: 12%;
	transition: all 300ms ease 0ms;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
	z-index: 99;
}
.btn-flotante:hover {
	background-color: #2c2fa5; /* Color de fondo al pasar el cursor */
	box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
	transform: translateY(-7px);
}
@media only screen and (max-width: 600px) {
 	.btn-flotante {
		font-size: 14px;
		padding: 12px 20px;
		bottom: 20px;
		right: 20px;
	}
} 

.btn-flotante1 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
    border-radius: 5px;
    letter-spacing: 2px;
    padding: 8px 15px;
    position: fixed;
    bottom: 1%;
    right: 1%;
    transition: all 300ms ease 0ms;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.btn-flotante1:hover {
    background-color: #2c2fa5;
    /* Color de fondo al pasar el cursor */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}

@media only screen and (max-width: 600px) {
    .btn-flotante1 {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 20px;
        right: 20px;
    }
}

/* Estilos generales */
td{
    color: black !important;
}

th{
    color: black !important;
    font-weight: normal !important;
}

label{
    color: black !important;
}

.card{
    background-color:white !important;
}

#cardbtn{
    background-color: white !important;
    height: 11% !important;
    width: 25% !important;
    margin-left: 75% !important;
    border: 0%;
    border-color: white;

}

.formu {
    font-weight: bold;
  }
  
  body {
    background-color: white;
  }
  
  h1 {
    color: white;
  }
  
  th {
    color: white;
  }
  
  
  .ML {
    color: black !important;
  }
  
  .hpunto {
    color: black !important;
  }
  
  .tableP {
    color: black !important;
  }
  
  .SPFecha {
    color: rgb(33, 37, 41) !important;
  }
  
  .active {
    color: white !important;
    font-weight: bold;
  }
  
  .div {
    background-color: red !important;
  }
  
  .span1 {
    color: red !important;
  }
  
  .box {
    height: 10% !important;
  }

/* CSS para la modal */
  .modal-dialog {
    position: relative;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    overflow: auto;
    overflow-y: auto;
  }


  .modal {
    position: fixed;
    top: 0px;
    right: 100px;
    bottom: 0;
    left: 30px;
    width: 100%;
    z-index: 1;
    overflow: auto;
    overflow-y: auto;
 }

/* La parte oscura del modal*/
.modal-backdrop {
    background-color: transparent !important;
 }

/*hover cards*/

#cardHome:hover {
    background-color: #2c2fa5;
    /* Color de fondo al pasar el cursor */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-7px);
}

#cardHome{
    background-color: white !important;
}


/* Tamaño del scroll */
.myModal::-webkit-scrollbar {
    width: 10px;
  
    height: 10px;
  }
  
   /* Estilos barra (thumb) de scroll */
  .myModal::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }
  
  .myModal::-webkit-scrollbar-thumb:active {
    background-color: #999999;
  }
  
  .myModal::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  }
  
   /* Estilos track de scroll */
  .myModal::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
  }
  
  .myModal::-webkit-scrollbar-track:hover, 
  .myModal::-webkit-scrollbar-track:active {
    background: #d4d4d4;
  }


  #plogin{
      width: 75%;
      margin-left: 13%;
  }
