@import url('https://fonts.googleapis.com/css?family=Montserrat|Montserrat+Alternates|Poppins&display=swap');

@font-face {
  font-family: "riojasalud";
  src: url(fonts/Riojana-Regular.ttf) format("truetype");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "riojasalud", sans-serif;
}

/*Para poner la foto de fondo de la pantalla: la foto, el tamaño y que no se repita la imagen*/
body {
  background: url(fondo.png);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

/* PARA EL NAVBAR DE TODAS LAS PANTALLAS */

header.main {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

header.main .logo {
  cursor: pointer;
}

header.main .logo img {
  margin-left: 20px;
  height: 50px;
  width: auto;
  transition: all 0.3s;
}

header.main .logo img:hover {
  transform: scale(1.2);
}

header.main .nav-links {
  list-style: none;
}

header.main .nav-links li {
  display: table;
  padding: 0 8px;
  align-items: center;
}

header.main .nav-links li:hover {
  transform: scale(1.1);
}

header.main .nav-links a {
  font-size: .8em;
  font-weight: 600;
  color: #069;
  text-decoration: none;
  text-align: center;
  display: table-cell;
  vertical-align: middle;
}

header.main .jupyter-btn img,
header .superset-btn img {
  height: 30px;
}

@media (min-width: 992px) {
  header.main .nav-links a {
    font-size: .65rem;
  }

  header.main .jupyter-btn img,
  header .superset-btn img {
    height: 25px;
  }
}

@media (min-width: 1028px) {
  header.main .nav-links a {
    font-size: .8rem;
  }
}

@media (min-width: 1200px) {
  header.main .nav-links a {
    font-size: 1rem;
  }
}



header.main .nav-links li a:hover {
  color: #069;
}

header.main .login-info {
  background-color: rgb(230, 230, 230);
  margin-left: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 100%;
}

header.main .login-btn button,
header .logout-btn button {
  font-weight: 700;
  color: #069;
  /*padding: 9px 25px;*/
  padding: 0.5rem 1.5rem;
  background: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

header.main .login-btn button:hover,
header .logout-btn button:hover {
  background-color: #e2f1f8;
  color: #ffbc0e;
}

header.main .login-username {
  font-weight: 700;
  color: #069;
  padding: 9px 25px;
}

/* PARA EL TEXTO DE BIENVENIDA A LA APP */

.texto h1, .texto h2 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font: 'arial';
  position: absolute;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

.texto h1 {
  font-size: 55px;
  top: 200px;
  background-color: rgba(0, 102, 153, .7);
}

.texto h2 {
  font-size: 30px;
  top: 400px;
  background-color: rgba(0, 102, 153, .4);
}

/* PARA FORMULARIO DE LOGIN */

.card {
  margin-top: 8rem;
}

.card-body {
  margin-top: 10px;
  margin-left: 30px;
}

.login-email-text {
  background-color: #2a8bdb;
  border-top-left-radius: 5px;
  color: white;

  border-left: 30px solid transparent;
  border-top: 15px solid transparent;
  border-bottom: 2px solid transparent;
}

.login-pwd-text {
  background-color: #2a8bdb;
  border-bottom-left-radius: 5px;
  color: white;

  border-left: 30px solid transparent;
  border-top: 15px solid transparent;
  border-bottom: 2px solid transparent;
}

.login-card {
  background-color: rgba(253, 253, 253, 0.7) !important;
}

.login-card input {
  background-color: #93b7d5;
  color: white;

  border-right: 1px solid transparent;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-left: 0px none;
}

.login-card input[type="text"],
.login-card input[type="password"] {
  font-size: 20px;
  width: 82%;
  padding: 10px;
  border: none;
  color: rgba(38, 126, 216, 0.6)
}

.login-card input#email {
  border-top-right-radius: 5px;
}

.login-card input#password {
  border-bottom-right-radius: 5px;
}

input#submit {
  background-color: #2a8bdb;
  border-radius: 5px;
}


/* PARA VER LOS DATOS DEL ARCHIVO CARGADO */

p.nodata {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2px;
  border: solid 2px rgba(38, 126, 216, 0.6);
  border-radius: 2px;
}

.viz-container {
  color: #000000;
  overflow: auto;
  max-height: 60vh;
  width: 500px;
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 2%;
  border: 1px transparent solid;
  padding: 0px !important;
}

.viz-container table {
  background-color: white;
  border: none;
  display: block;
  white-space: nowrap;
}

.viz-container table thead th {
  background-color: #ffffff;
}

tr:nth-child(even) {
  background-color: #e2e2e2;
}

tr:nth-child(odd) {
  background-color: #c2d9eb;
}

th,
td {
  padding: 5px;
  text-align: center !important;
}

/* PARA LA SUBIDA DE ARCHIVOS */

.file-container {
  background-color: rgba(38, 126, 216, 0.6);
  color: #ffffff;
  height: 85%;
  width: 90%;
  margin-top: 2%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 2%;
  border: 1px transparent solid;
}

.file-space {
  height: 80%;
  padding-top: 5%;
  margin-top: 5%;
  margin-bottom: 5%;
  padding-bottom: 5%;
  border: 3px #ffffff double;
}

.file-space .slogan {
  font-size: 24px;
}

.file-space input {
  size: 200;
}

input#file {
  background-color: #2a8bdb;
  border-radius: 20px;
  color: white;
  padding: 16px 32px;
  margin: 4px 2px;
  margin-bottom: 20px;
}

input#submit {
  background-color: #2a8bdb;
  border-radius: 5px;
  border-color: transparent;
  color: white;
  padding: 2px 4px;
  margin: 4px 2px;
  margin-bottom: 20px;
}

/* PARA LA SECCION DE ADMINISTRACIÓN PARA LAS DIFERENTES OPCIONES */

header.admin {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10%;
  border-top: 2px solid #069;
}

header.admin .nav-links {
  list-style: none;
  margin: 0px;
}


header.admin .nav-links li:hover {
  transform: scale(1.1);
}

header.admin .nav-links a {
  font-size: 700;
  font-weight: 600;
  color: #069;
  text-decoration: none;
}

header.admin .nav-links li a:hover {
  color: #069;
}

header.admin .nav-links .admin button {
  margin-left: -50px;
  font-weight: 700;
  color: #069;
  padding: 9px 25px;
  background: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}

/* VISUALIZACIÓN DE USUARIOS Y POSIBILIDAD DE EDITARLOS */

.contenedor {
  width: 90%;
  height: 90%;
  margin-left: 5%;
  margin-right: 5%;
  border: 1px transparent solid;
}

.contenedor .caja1 {
  background-color: #069;
  width: 300px;
  height: 30px;
  float: left;
  margin-top: 7%;
  margin-left: 20%;
}

.contenedor .caja1 h1 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font-size: 20px;
  text-transform: uppercase;
}

.contenedor .caja2 {
  background-color: #069;
  width: 300px;
  height: 30px;
  float: left;
  margin-top: 7%;
}

.contenedor .caja2 h1 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font-size: 20px;
  text-transform: uppercase;
}

.contenedor .caja3 {
  background-color: #069;
  width: 300px;
  height: 30px;
  float: left;
  margin-top: 7%;
}

.contenedor .caja3 h1 {
  margin: 0;
  padding: 0;
  text-align: center;
  color: white;
  font-size: 20px;
  text-transform: uppercase;
}

.contenedor .caja1 .user-email {
  background-color: #ffffff;
  width: 300px;
  height: 100%;
  float: left;

}

.contenedor .caja1 .user-email li {
  display: inline-block;
  margin: 0;
  padding: 0 10px 0 0;
}

.contenedor .caja1 .user-email a {
  margin: 0;
  padding: 0;
  text-align: center;
  color: black;
  font-size: 20px;
}

.contenedor .caja2 .user-email {
  background-color: #ffffff;
  width: 300px;
  height: 100%;
  float: left;

}

.contenedor .caja2 .user-email li {
  display: inline-block;
  margin: 0;
  padding: 0 10px 0 0;
}

.contenedor .caja2 .user-email a {
  margin: 0;
  padding: 0;
  text-align: center;
  color: black;
  font-size: 20px;
}

.contenedor .caja3 .user-email {
  background-color: #ffffff;
  width: 300px;
  height: 100%;
  float: left;
}

.contenedor .caja3 .user-email li {
  display: inline-block;
  margin: 0;
  padding: 0 10px 0 0;
}

.contenedor .caja3 .user-email a {
  margin: 0;
  padding: 0;
  text-align: center;
  color: black;
  font-size: 20px;
}


/* ----- SECCION ADMIN USUARIO ----- */

/* VER DATOS USUARIO */

.card-datos-usuario {
  background: rgba(253, 253, 253, 0.85);
  padding: 3px;
  border-radius: 10px;
  box-shadow: 0 0 30px blue;
}

.card-datos-usuario {
  margin-top: 4%;
  margin-left: auto;
  margin-right: auto;
  width: 45%;
  border-radius: 2%;
}

@media (max-width: 991px) {
  .card-datos-usuario {
    width: 70%;
  }
}

.datos-usuario {
  width: 100%;
  padding: 15px;
}

.card-datos-usuario h1 {
  text-align: center;
  color: #1a2537;
}

.card-datos-usuario h1 span {
  text-align: center;
  color: #069;
}

.card-datos-usuario .viz-activo .col-9 {
  margin-left: 10px;
}

.card-datos-usuario .edit-activo .col-2 {
  margin-left: 20px;
}

h1 {
  text-align: center;
  color: #1a2537;
  font-size: 40px;
}

input[type="text"],
input[type="password"] {
  background-color: rgba(253, 253, 253, 0.7);

  border: none;
}

.input-contenedor {
  margin-left: 2% !important;
  margin-right: 2% !important;
  margin-bottom: 15px;
  border: 1px solid #aaa;
}

.big-contenedor {
  margin-left: 2% !important;
  margin-right: 2% !important;
  margin-bottom: 15px;
}

.small-contenedor {
  border: 1px solid #aaa;
}


p {
  text-align: center;
}

.link {
  text-decoration: none;
  color: #1a2537;
  font-weight: 600;
}

.link:hover {
  color: cadetblue;
}


/* CREAR USUARIO */

.icon {
  text-align: center;
  color: #999;
}

.button {
  border: none;
  width: 100%;
  color: white;
  font-size: 20px;
  background: #1a2537;
  padding: 15px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background: cadetblue;
}


@media(min-width:768px) {
  .formularioCrearUsuario {
    margin: auto;
    width: 450px;
    height: 620px;
    margin-top: 33px;
    border-radius: 2%;
  }
}

/* PARA VER LOS USUARIOS */

.viz-users {
  color: #000000;
  height: 60vh;
  overflow: auto;
  width: 920px;
  margin-top: 4%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2%;
  border: 1px transparent solid;
}

.viz-users table {
  background-color: white;
  text-align: left;
}

.viz-users table thead th {
  background-color: #ffffff;
  border-bottom: solid 5px #000000;
}

.viz-users table tr td a {
  color: black;
}

/*PARA LA TABLA DE PERMISOS*/

.viz-permisos {
  color: #000000;
  overflow: auto;
  width: 35% !important;
  height: 60vh;
  margin-top: 4%;
  margin-left: 30%;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px transparent solid;
}

.viz-enviar {
  text-align: center;
}

.viz-permisos>.cabecera {
  background-color: #ffffff;
  font-weight: 700;
  border-bottom: solid 5px #000000;
  text-align: center;
  padding: 5px;
}

.viz-permisos>.user-row {
  font-size: 18px;
  padding: 5px;
}

.viz-permisos>.user-row.odd {
  background-color: rgb(194, 217, 235, 0.8);
}

.viz-permisos>.user-row.even {
  background-color: rgb(226, 226, 226, 0.8);
}

.viz-permisos table {
  background-color: white;
  text-align: left;
}

.viz-permisos table thead th {
  background-color: #ffffff;
  border-bottom: solid 5px #000000;
}

.viz-permisos table tr td li {
  color: black;
}

/*PARA EL FAQ*/

#faq {
  margin-top: 3%;
  margin-left: 10%;
  margin-right: 10%;
}


#faq button {
  width: 100%;
  border-radius: 0px;
  border-bottom: white solid 1px;
  padding-top: .7rem;
  padding-bottom: .7rem;
}

#faq button > p{
  margin: 0px;
}

#faq .answer {
  background-color: white;
  width: 100%;
  border-radius: 1px;
  padding: 2%;
}

.popup {
  position: absolute !important;
  bottom: 0;
  right: 0;
  border-radius: 6px;
  border: solid 2px rgb(0, 121, 0) !important;
  background: rgb(126, 214, 126) !important;
  overflow: hidden;
  max-width: 450px !important;
  max-height: 150px;
  margin-right: 30px !important;
  margin-bottom: 30px !important;
  z-index: 200;
}

.popup.error {
  border: none !important;
  background: rgb(255, 22, 22, .6) !important;
  color: white;
}

.popup.warning {
  border: none !important;
  background: rgba(255, 255, 88, .6) !important;
  color: white;
}

.popup.info {
  border: none !important;
  background: rgba(43, 160, 71, .6) !important;
  color: white;
}

.popup > div {
  margin: 10px;
}

.popup > button {
  align-self: end;
  margin: 0px;
}