/*personalizadas*/
:root{
  --main-color:#0c537c;
  --secundary-color:#2393c3;
}
/*fin personalizadas*/
.fila-top{
  margin-top: -4em;
}
.chosen-container-single .chosen-single{
  height: 30px !important;
}

@media only screen and (max-width: 575px){
  .fila-top{
      margin-top: 0;
  }
}

.inp{
  transform: rotate(270deg);
  transform-origin: 170px 120px;
  margin: 0px;
  width: 300px;
}

.fac{
    border: 0;
    background: none;
    width: 100%;
    font-size: 14px;   
    margin: 0px;
    padding: 0px;
}
.consecutivo{
    border: 0;
    background: none;
    width: 100%;
    font-size: 20px;  
    color: brown; 
    margin: 0px;
    padding: 0px;
}

.modal-lg {
  max-width: 80%;
}
.padre{
    position:relative;
  }
  
  .hijo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto; 
  }


  .modal-sm {
    max-width: 50%;
}
.modal-md {
  max-width: 90%;
}

.table-bg {
  max-width: 120%;
}


.parpadea {

  animation-name: parpadeo;
  animation-duration:0.7s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes parpadeo {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}



/*clases generales*/

.overflow-y-auto{
  overflow-y: auto;
  overflow-x: hidden;
}
.overflow-x-auto{
  overflow-x: auto;
  overflow-y: hidden;
}

.tabla-hfijo tbody {
  display:block;
}
.tabla-hfijo thead,.tabla-hfijo tbody tr {
  display:table;
  width:100%;
  table-layout:fixed;
}
.tabla-hfijo thead {
  width: calc( 100% - 10px )
}

.table-striped>tbody>tr:nth-child(odd){
  background-color: #e8f6ff;
}
.table-striped>tbody>tr:nth-child(even){
  background-color: #f5fbfd;
}
.table-striped>tbody>tr:hover{
  background-color:#0c537ccb !important;
  color: #fff;
}

.btn-primary{
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.btn-secondary{
  color: #fff;
  background-color: var(--secundary-color);
  border-color: var(--secundary-color);
}

.nav-link.active{
  background-color: var(--main-color) !important;
  color:#fff !important;
}
span a{
  color: var(--main-color);
}

/*fin clases generales*/

body{
  height: 100vh;
  background-color:rgb(247, 247, 255);
}

/* menu inicio*/
.m-inicio{
  text-align: center;
  font-size:3ex;
  transition: all 200ms ease-out;
  overflow: hidden;
  padding:0px 5px 0 5px;
  border-radius: 10px;
  background-color: var(--main-color);
}
.m-inicio:hover{
  box-shadow: 0px 0px 6px 3px rgba(0,0,0,0.30);
  background-color:#2393c3;
}
a .m-inicio{
  color:white;
}
a .m-inicio:hover{
  color:white;
}

.enlace-m-inicio:hover{
  text-decoration: none;
}

.m-inicio i{
  transition: transform 0.2s ease-out;
  transform: translateY(-130%);
}

.m-inicio:hover i{
  transform: translateY(30%);
}
.m-inicio p{
  transition: transform 0.2s ease-out;
  transform: translateY(-40%);
}
.m-inicio:hover p{
  transform: translateY(20%);
  box-shadow: 0px -3px 5px -2px rgba(0,0,0,0.3);
}

.grid-menurapido{
  justify-content: center;
  background-color: #2393c346;
  padding: 0.3rem;
  border-radius:10px;
  display:grid;
  gap: 0.3rem;
  grid-template-columns: repeat(auto-fit,minmax(max-content,15rem));
}

/* fin menu inicio*/

.grid-rips{
  justify-content: center;
  display:grid;
  gap: 0.2rem;
  grid-template-columns: repeat(auto-fit,minmax(max-content,7.5rem));
}
/* checkboxes customizados*/
.custom-checkbox {
  padding: 0;
}

label.custom-checkbox{
  margin: 8px;
}

.custom-checkbox .fa-toggle-on,
.custom-checkbox .fa-toggle-off {
    font-size: 1.5rem;
    /*this icon is relatively small*/
}
.custom-checkbox span {
    font-size: 1.3rem;
    /*this icon is relatively small*/
}

.custom-checkbox input[type=checkbox] {
    visibility: collapse;
    width: 0px;
    margin-left: -0.25em;
}

    .custom-checkbox input[type=checkbox] ~ .custom-check-on {
        display: none;
    }

    .custom-checkbox input[type=checkbox]:checked ~ .custom-check-on {
        display: inline;
    }

    .custom-checkbox input[type=checkbox]:checked ~ .custom-check-off {
        display: none;
    }

    .custom-checkbox input[type=checkbox]:disabled ~ * {
        color: #b6b4b4;
    }

    .custom-checkbox input[type=checkbox].error ~ .custom-check-on,
    .custom-checkbox input[type=checkbox].error ~ .custom-check-off {
        border: solid 2px red;
    }

.custom-checkbox i.btn {
    overflow: hidden;
    color: transparent;
    position: relative;
    display: inline-block;
    width: 3em;
    padding: 0;
    font-style: normal;
}

.custom-checkbox .btn:after {
    content: "";
    font-style: normal;
    border: 7px solid white;
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 5px;
}

.custom-checkbox .custom-check-on.btn:after {
    right: -4px;
}

.custom-checkbox .custom-check-off.btn:after {
    left: -4px;
}

.custom-checkbox .custom-check-on.btn:before {
    content: "On";
    color: white;
    margin-left: -10px;
}

.custom-checkbox .custom-check-off.btn:before {
    content: "Off";
    color: #333;
    margin-right: -15px;
}

.custom-checkbox input[type=checkbox]:checked ~ .btn.custom-check-on {
    display: inline-block;
}
/* fin checkboxes customizados*/


/*barra de scroll*/
.barra-scroll::-webkit-scrollbar {
  -webkit-appearance: none;
}
.barra-scroll::-webkit-scrollbar:vertical {
  width:10px;
}
.barra-scroll::-webkit-scrollbar-button:increment,.barra-scroll::-webkit-scrollbar-button {
  display: none;
} 
.barra-scroll::-webkit-scrollbar:horizontal {
  height: 10px;
}
.barra-scroll::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
  border-radius: 10px;
  border: 1px solid rgba(155, 155, 155, 0.747);
}
.barra-scroll::-webkit-scrollbar-track {
  border-radius: 10px;  
  background-color: #2494c42f;
}
/*fin barra scroll*/

/*login*/

#fondo_login{
  background-image: url("/img/fondo_login.jpg");
}

#form_log{
  padding-left: 10%;
  padding-right: 10%;
  align-self: center;
}
#row_login{
  backdrop-filter: blur(5px);
  background-color: rgba(240, 248, 255, 0.849);
}

#caja_derecha{
  min-height: 100vh;
  display: flex;
  -webkit-box-shadow: 0px 0px 19px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 19px 2px rgba(0, 0, 0, 0.3);
  background-color:white;
}
/*fin login*/


/*cabecera*/

.navbar{
  background-color:var(--main-color);
}
.navbar a{
  color: #fff;
}

.dropdown-menu{
  background-color:rgb(123, 166, 190);
}

.navbar-toggler{
  color: #fff;
}
/*fin cabecera*/

/*menu lateral*/

#menulateral-toggler{
  color:white;
  font-size: 30px;
  cursor: pointer;
}
#menulateral-toggler:hover{
  color:rgb(60, 156, 235);
}

#menulateral{
  position: fixed;
  height:fit-content;
  width:200px;
  margin-top:50px;
  background-color: var(--main-color);
  z-index:100;
  display: flex;
  left:-190px;
  transition: all 0.2s linear;
}
#menulateral:hover{
  left:0;
}

#menulateral.activar{
  left:0;
}

#menulateral ul a{
  color:white;
  font-size: 1.3em;
  padding-left: 30px;
}
#menulateral ul{
  width:100%;
  
}
#menulateral ul li{
  width: 100%;
  transition: 0.5s;
  border-bottom: 1px white solid;
}
#menulateral ul li:hover{
  background-color:#1a618a;
}

#menulateral ul li div a{
  transition: 0.5s;
}
#menulateral ul li div a:hover{
  background-color:#1a618a;
}
/*fin menu lateral*/

/*formularios*/

.titulo-carta{
  color:#ffffff;
}

.header-carta{
  background: rgb(12,83,124);
background: linear-gradient(90deg, rgba(12,83,124,1) 63%, rgba(36,148,196,1) 100%);
}

input.form-control:read-only {
  background-color: #fff;
}
/*fin formularios*/

/*pdfs*/
hr.divisor{
  margin: 5px 0;
  padding: 0;
  border-width: 3px;
  background-color: rgb(88, 88, 88);
}
.contPDF{
  font-family: Arial, Helvetica, sans-serif;
  background-color:white;
  /* min-width:800px;
  max-width:800px; */
}
.datosPDF{
  font-size: 14px;
  text-transform: uppercase;
  
}
.cuerpoPDF{
  font-size: 16px;
}
.lineafirma{
  margin: 0;
  padding: 0;
  border-width: 2px;
  background-color: rgb(0, 0, 0);
}

@media print{
  .oculto-impresion, .oculto-impresion *{
    display: none !important;
  }
  body{
    background-color: #fff !important;
  }

}
/*fin pdfs*/

/* dibujo citas */
#lienzoCita {
  border: 2px dotted #CCCCCC;
  border-radius: 5px;  
  background-size: 500px 400px;
}
/* fin dibujo citas */

.imgEditorResize {
  width: auto;
  max-width:100%;
  max-height: 1000px;
}

.videoStreamCon{
  height: 50vh;
  width: 100%;
}

/*
firmas
*/
#containerFirma {
  border-color: black;
  border-radius: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*
fin firmas
*/


tbody.pendiente {
  position: relative;
}

tbody.pendiente::after {
  content: "PENDIENTE   PENDIENTE   PENDIENTE   ";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-45deg);
  font-size: 40px;
  font-weight: 700;
  color: rgba(0,0,0,.12);
  white-space: pre-wrap;
}


.chosen-container{
  width:100%!important;
} 