/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/open-sans-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v29-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/open-sans-v29-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v29-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v29-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v29-latin-500.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v29-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v29-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/open-sans-v29-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v29-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v29-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v29-latin-600.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v29-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v29-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/open-sans-v29-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/open-sans-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/open-sans-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/open-sans-v29-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/open-sans-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/open-sans-v29-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

@font-face {
  font-family: 'Patria';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Patria_Regular.otf'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/Patria_Regular.otf'); /* Legacy iOS */
}

@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSans-Regular.ttf'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/NotoSans-Regular.ttf') format('truetype'); /* Legacy iOS */
}

@font-face {
  font-family: 'Noto Sans Bold';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSans-Bold.ttf'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/NotoSans-Bold.ttf') format('truetype'); /* Legacy iOS */
}

body{
  display: block !important;
  /*font-family: Arial, Helvetica, sans-serif;*/
  font-family: 'Open Sans', sans-serif !important;
}

h1, h2 {
    font-weight: 500 !important;
    text-align: center;
  }

aside{
  width:18%;
  height: auto;
  background-color: #611232;
  /* Esto lo mantendra en su sitio */
  position: fixed;
  top: 0;
  left: 0;
}

table {
   width: 90%;
   border: 0.05px solid #000;
  }

pre {
  white-space: pre-wrap !important;
  word-break: break-all !important;
  padding: 0px !important;
  }

p{
  font-size: 18px;
}

.uldist{
  font-size: 18px; 
} 
  
#resultado {
  background-color: #611232;
  color: white;
  font-weight: bold;
  }
  
#resultado.ok {
  background-color: #58A76A;
  }

.container-login {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  /*padding: 15px;*/
  background-color: #611232;
}

.container-per {
  display: flex;
  justify-content: center; /* Centrado horizontal */
  align-items: center;    /* Centrado vertical */
  margin-top: 10px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  margin-bottom: 10px !important;
}

.formlogin {
  width: 30%;
  height: auto;
  border: 3px solid #f1f1f1;
  background-color: #FFF;
  border-radius: 10px;
  margin: 10px 0 10px 0;
  }

.formloginrep {
  width: 30%;
  height: auto;
  background-color: #FFF;
  border-radius: 10px;
  margin: auto;
  }

.imgcontainer {
  text-align: center;
  margin: 16px 0 16px 0;
}

.avatar {
  width: 50%;
  border-radius: 0%;
}

.avatar2 {
  width: 50%;
  border-radius: 0%;
}


label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    margin-top: 5px;
}

input.log {
        text-transform: uppercase;
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        border-radius: 10px;
        background-color: #FFFFFF;
}

input.logini {
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        border-radius: 10px;
        background-color: #FFFFFF;
}

input.fecha {
        width: 50%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        border-radius: 10px;
        background-color: #FFFFFF;
}

input.submit {
  background-color: #611232;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
}

select.log {
        text-transform: uppercase;
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        border-radius: 10px;
        background-color: #FFFFFF;
}

.curp {
  background-color: #117C29;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
}

.curp:hover {
  opacity: 0.8;
}

button.login {
  background-color: #611232;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
}

button.login:hover {
  opacity: 0.8;
}

button.loginok {
  background-color: #611232;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 8px 8px;
  margin: 2px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
}

button.loginok:hover {
  opacity: 0.8;
}

button.loginper {
  background-color: #611232;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: 8px;
  border: none;
  cursor: pointer;
  width: 30%;
  border-radius: 10px;
}

button.loginper:hover {
  opacity: 0.8;
}

button.logindistubi {
  background-color: #611232;
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  padding: 14px 20px;
  margin: 8px;
  border: none;
  cursor: pointer;
  width: 40%;
  border-radius: 10px;
}

button.logindistubi:hover {
  opacity: 0.8;
}

.swal-text:first-child {
    margin-top: 35px;
}

.swal-text {
  font-size: 16px;
  font-weight: 600;
  color: rgb(0 0 0);
}

.swal-footer {
  text-align: center;
}

.swal-button {
  padding: 7px 19px;
  border-radius: 2px;
  background-color: #611232;
  font-size: 12px;
  border: 1px solid #611232;
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
}

.swal-button:not([disabled]):hover {
  background-color: #611232;  
}

.swal-button:active {
  background-color: #611232;  
}

.hide {
  display: none;
}

.novisto {
  display: none;
}

.visto {
  display: block;
}  

.muestra {
  display: inline;
  text-decoration: underline;
}

.unmuestra {
  display: none;
}

.selu {
  display:inline;
}

/*Botones*/
.agregar {
  background-color: #086A87; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.agregar:disabled {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.buscarfecha {
  background-color: #611232; 
  border: none;
  color: white;
  padding: 8px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.modgrado {
  background-color: #081265; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.modgrado:disabled {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.marcar {
  background-color: #F5B50B; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.aumentar {
  background-color: #008F39; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.eliminar {
  background-color: #9D2449; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.qr {
  background-color: #611232; 
  border: none;
  color: white;
  padding: 5px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
}

.subir::-webkit-file-upload-button {
  display: none;
}

.subir::before {
  content: 'Examinar';
  background-color: #bc955b; 
  border: none;
  color: white;
  padding: 10px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 5px;
  outline: none;
}

/*Combo box*/
.sel-css {
 display: inline;
 font-size: 15px;
 font-family: 'Arial', sans-serif;
 font-weight: 200;
 color: #444;
 line-height: 1.3;
 padding: .4em 1.4em .3em .8em;
 width: 200px;
 max-width: 100%; 
 box-sizing: border-box;
 margin: 0;
 border: 1px solid #aaa;
 box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
 border-radius: .3em;
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 background-color: #fff;
 background-repeat: no-repeat, repeat;
 background-position: right .7em top 50%, 0 0;
 background-size: .65em auto, 100%;
}
.sel-css::-ms-expand {
 display: none;
}
.sel-css:hover {
 border-color: #888;
}
.sel-css:focus {
 border-color: #aaa;
 box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
 box-shadow: 0 0 0 3px -moz-mac-focusring;
 color: #222; 
 outline: none;
}
.sel-css option {
 font-weight:normal;
}

.sel-RIAE {
 display: inline;
 font-size: 15px;
 font-family: 'Arial', sans-serif;
 font-weight: 200;
 color: #444;
 line-height: 1.3;
 padding: .4em 1.4em .3em .8em;
 width: 100%;
 max-width: 100%; 
 box-sizing: border-box;
 margin: 0;
 border: 1px solid #aaa;
 box-shadow: 0 1px 0 1px rgba(0,0,0,.03);
 border-radius: .3em;
 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 background-color: #fff;
 background-repeat: no-repeat, repeat;
 background-position: right .7em top 50%, 0 0;
 background-size: .65em auto, 100%;
}
.sel-RIAE::-ms-expand {
 display: none;
}
.sel-RIAE:hover {
 border-color: #888;
}
.sel-RIAE:focus {
 border-color: #aaa;
 box-shadow: 0 0 1px 3px rgba(59, 153, 252, .7);
 box-shadow: 0 0 0 3px -moz-mac-focusring;
 color: #222; 
 outline: none;
}
.sel-RIAE option {
 font-weight:normal;
}



#logo {
  display:block;
  margin:auto;
}

#logobody {
  display:block;
  margin:auto;
}

.contenido {
  width: 80%;
  height: auto;
  background-color: #FFF;
  /* Esto equilibria lo del aside */
  position: relative;
  top: 0;
  left: 19%;

}

.container {
  width: auto !important;
  margin-top: 10px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
  margin-bottom: 10px !important;
}

/* Fixed sidenav, full height */
.sidenav {
  width:18%;
  height: 1000vh;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #611232;
  overflow-x: hidden;
  padding-top: 20px;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 15px;
  color: #ebebe0;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

#lleno{
  color: #666666;
}

#lleno2{
  color: #666666;
}

#lleno2:hover{
  color: #cc0000;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #FFF;
}

/* Add an active class to the active dropdown button */
.active {
  background-color: #611232;
  color: white;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #611232;
  padding-left: 8px;
}

.dropdown-container a {
  font-size: 15px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

.topnav {
  overflow: hidden;
  background-color: #611232;
}

.topnav a {
  float: left;
  display: none;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #611232;
  color: white;
}

.topnav .botontopnav {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 15px;
  color: #ebebe0;
  display: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.topnav .botoncontenido {
  display: none;
  background-color: #611232;
  padding-left: 8px;
}

.topnav .botoncontenido a {
  font-size: 15px;
}

.topnav .icon {
  display: none;
}


/* Some media queries for responsiveness */
@media screen and (max-width : 769px) {

  .modal-dialog {
    width: 600px !important;
    margin: 30px auto;
  }

  aside {display: none !important;
  }

.avatar2{
    width: 100%;
  }

  .topnav a.active {display: block;}
  .topnav a.icon {
    float: right;
    display: block;
  }

  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .botontopnav {
    display: block;
  }

  .contenido {
    width: 100%;
    left: 0;
  }

  .sel-css {
    margin: auto;
  }

  .formlogin {
    width: 80%;
  }

}