@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  background: linear-gradient(135deg, rgba(52, 123, 214, 1) 35%, rgba(42, 174, 242, 1) 100%);
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  min-height: 100vh;
  margin: 0px;
  padding: 0px;
}

/* Elementos Sidebar */
.background {
  background-color: #000;
  opacity: 0.5;
  height: 100%;
  width: 100%;
  overflow: auto;
  position: fixed;
  z-index: 998;
}

.sidebar {
  display: block;
  background-color: #1c4a87;
  height: 100%;
  margin: 0;
  overflow: auto;
  padding: 0;
  position: fixed;
  width: 240px;
  z-index: 999;
  /* Animación  */
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.collapse {
  left: -300px;
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.hide {
  display: none;
}

.sidebarBanner {
  padding: 20px;
}

.sidebarBanner img {
  max-width: 140px;
  height: auto;
}

.sidebar a {
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 5px;
  color: rgba(255, 255, 255, .8);
  cursor: pointer;
  display: block;
  font-size: 16px;
  margin: 0 15px;
  outline: none;
  padding: 8px 16px;
  text-decoration: none;
  transition: all .25s ease-in-out;
}

.sidebar a.active {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.sidebar a:hover:not(.active) {
  color: white;
}

/* contenido  */
.content {
  display: flex;
  height: auto;
  justify-content: center;
  margin-left: 200px;
  padding: 1px 16px;
}

/* Style the tab content */
.tabcontent {
  animation: fadeEffect 1s;
  display: none;
  margin: 30px auto;
  min-width: 300px;
  padding: 20px 0px;
}

.show {
  display: block;
}

.tabTitle {
  display: flex;
  justify-content: center;
}

.tabTitle h1 {
  margin: 10px;
  transition: all .25s ease-in-out;
  font-size: 1.8rem;
}

/* Style the Modal tab */
.tab {
  overflow: hidden;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  margin: 1px;
  min-width: 40px;
  background-color: #eee;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: #bbb;
  border-radius: 20px;
  font-size: 1.2rem;
  height: 40px;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #eeefff;

}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #D6E5FF;
  color: #478BFF;
}


.view-buttons{
  display: flex;
  justify-content: end;
}

/* Style the tab content */
.tabcontentModal {
  display: none;
  margin: 5px auto;
  padding: 2px 16px;
  overflow: auto;
  height: 70%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  color: #3c424f;
  animation: fadeEffect 1s;
  /* Fading effect takes 1 second */
}

.btn-copiar {
  margin: 1px;
  min-width: 40px;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 20px;
  font-family: inherit;
  font-size: 0.9rem;
  height: 40px;
  background-color: #478BFF;
  color: #fff;
  padding: 10px;

}
.btn-copiar:hover{
  background-color: #0043B8;

}

#tituloMsg {
  margin: 5px 0px;

}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999;
  /* Sit on top */
  left: 0;
  top: 0;
  min-width: auto;
  width: 100%;
  /* Full width */
  min-height: 100vh;
  /* Full height */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  overflow-y: auto;
  transition: all .2s ease-in-out;
}

/* Modal Content */
.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 650px;
  min-width: 150px;
  height: 80vh;
  padding: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  border-radius: 10px;
}

/* The Close Button */
.close {
  color: rgb(46, 175, 240);
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: 5px;
  width: 40px;
  height: 40px;
  text-align: center;
  vertical-align: center;
  border-radius: 20px;
  transition: all .25s ease-in-out;
}

.close:hover,
.close:focus {
  color: rgb(46, 175, 240);
  text-decoration: none;
  cursor: pointer;
  background-color: rgba(46, 175, 240, 0.2);
  transition: all .25s ease-in-out;
}

/* Modal Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  padding: 0px;
  margin: 0px;
  background-color: transparent;
  color: #3c424f;
  border-radius: 5px 5px 0px 0px;
}

/* Modal Body */
.modal-body {
  height: 80%;
}

.modal-footer{
  display: flex;
  justify-content: center;
}


/* Add Animation */
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

.topbar {
  padding: 0 14px;
  height: 64px;
  background-color: #1c4a87;
  width: 100%;
  display: none;
}

.topbarBanner {
  margin: auto 0;
  padding-left: 10px;
}

.topbarBanner img {
  max-width: 140px;
}

/* Customize the label (the container) */
.container {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  cursor: pointer;
  display: block;
  margin-bottom: 5px;
  padding-left: 30px;
  padding-top: 5px;
  position: relative;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 19px;
  width: 19px;
  background-color: none;
  border: solid;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  box-sizing: content-box;
  transition: all .25s ease-in-out;
}

.checkmark:hover {
  border-color: rgb(255, 255, 255);
}

/* When the checkbox is checked, add a blue background */
.container input:checked~.checkmark {
  background-color: white;
  transition: all .25s ease-in-out;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  transition: color 250ms cubic-bezier(.4, .0, .23, 1);
}

/* Show the checkmark when checked */
.container input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #347bd6;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkBarrido {
  max-height: 50px;
  overflow: hidden;
  /* Set our transitions up. */
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  transition: max-height 0.5s;
}

.checkBarrido:disabled {
  opacity: 50%;
}

.btnAnalizar {
  background-image: linear-gradient(to right, #347bd6 0%, #2aaef2 51%, #347bd6 100%);
  background-size: 200% auto;
  border: solid;
  border-width: 2px;
  border-radius: 30px;
  color: white;
  display: block;
  /* background-color: transparent;   */
  height: 50px;
  width: 100%;
  font-size: 16px;
  margin-top: 10px;
  /* transition: all .25s ease-in-out; */
  transition: 0.5s;
}

.btnAnalizar:hover {
  cursor: pointer;
  transition: all .25s ease-in-out;
  background-position: right center;
}

.btnAnalizar:focus {
  outline: none !important;
}

.modulo_datos {
  margin: auto;
  width: 300px;
  font-size: 16px;
}

.container-input-edad{
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
.container-input-edad label{
  font-size: 0.9rem;
  color:#ffffffdd;

}

.input-edad{
  display: block;
  width: 80px !important;
  text-align: right;
  padding: 10px;
  margin-bottom: 20px !important;
}

.contenedor-edad{
  text-align: center;
  background-color: #ffffff33;
  height: 50px;
  border-radius: 10px;
  padding: 10px;
  font-size: 1.5rem;
  margin-top: 10px;
}


/*Botones genéricos*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type="number"], input[type="text"], select {
  background-color: #fff;
  border: none;
  border-radius: 5px;
  color: #3c424f;
  font-size: 16px;
  height: 40px;
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 10px;
  transition: all .25s ease-in-out;
  outline: 0px;
  width: 100%;
}

input[type="number"]:disabled {
  opacity: 0.7;
}

input[type="number"]:invalid {
  background-color: rgba(255, 180, 180, 1);
  transition: all .25s ease-in-out;
}

input[type="number"]:focus, select:focus {
  background-color: #fff;
  transition: all .25s ease-in-out;
  outline: 0px;
}

.input_subpruebas {
  max-height: 0;
  overflow: hidden;
  /* Set our transitions up. */
  -webkit-transition: max-height 0.5s;
  -moz-transition: max-height 0.5s;
  transition: max-height 0.5s;
}

.btnAnalizar:hover .input_subpruebas {
  /* On hover, set the max-height to something large. In this case there's an obvious limit. */
  max-height: 230px;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media screen and (max-width: 700px) {
  .topbar {
    display: flex;
  }

  .sidebarBanner {
    display: none;
  }

  div.content {
    margin-left: 0;
  }

  .tabcontent {
    margin-top: 0px;
  }
}

@media screen and (max-width: 200px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

/* Botón hamburguesa */
.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
  margin: auto 0;
}

.menu:focus {
  outline: none !important;
}

.line {
  fill: none;
  stroke: #fff;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}

.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}

.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}

.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

/* tabla */
.tablaDefault {
  font-size: 11px;
  border-collapse: collapse;
  width: 100%;
  white-space: nowrap;
}

.tablaDefault td, .tablaDefault th {
  padding: 8px;
  text-align: center;
}

.tablaDefault tr:nth-child(odd) {
  background-color: #D6E5FF;
}

.tablaDefault th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #478BFF;
  color: white;
}

/* animations */
.slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes slideInLeft {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  0% {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.slideInRight {
  -webkit-animation-name: slideInRight;
  animation-name: slideInRight;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

@-webkit-keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    visibility: visible;
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  z-index: 9999999;
  visibility: hidden;
  /* Hidden by default. Visible on click */
  min-width: 250px;
  /* Set a default minimum width */
  margin-left: -125px;
  /* Divide value of min-width by 2 */
  background-color: #00163d;
  /* Black background color */
  color: #fff;
  /* White text color */
  text-align: center;
  /* Centered text */
  border-radius: 30px;
  /* Rounded borders */
  padding: 16px;
  /* Padding */
  position: fixed;
  /* Sit on top of the screen */
  left: 50%;
  /* Center the snackbar */
  bottom: 30px;
  /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible;
  /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
 However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadeinSnack 0.25s, fadeoutSnack 0.25s 2s;
  animation: fadeinSnack 0.25s, fadeoutSnack 0.25s 2s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadeinSnack {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeinSnack {
  from {
    bottom: 0;
    opacity: 0;
  }

  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeoutSnack {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeoutSnack {
  from {
    bottom: 30px;
    opacity: 1;
  }

  to {
    bottom: 0;
    opacity: 0;
  }
}
