* {
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  padding: 90px 20px 0;
}

h1,
h2 {
  width: 100%;
  text-align: center;
  margin: 5px auto 10px;
}

.centrar{
  margin-top: 15px;
  text-align: center;
}

.fichaindexhtml{
  font-size: 18px;
  margin: 20px 15% 15px;
}

.header {
  background-color: #658599;
  height: 80px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  max-width: 992px;
}

.logo-size {
  height: 80px;
}

.nav-link {
  color: white;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  margin-right: 40px;
  list-style: none;
}

.nav-menu-item {
  font-size: 18px;
  margin: 0 10px;
  line-height: 80px;
  text-transform: uppercase;
  width: max-content;
}

.nav-menu-link {
  padding: 8px 12px;
  border-radius: 3px;
}

.nav-menu-link:hover,
.nav-menu-link_active {
  background-color: #034574;
  transition: 0.5s;
}

/* TOGGLE */
.nav-toggle {
  color: white;
  background: none;
  border: none;
  font-size: 25px;
  padding: 0 20px;
  line-height: 60px;
  cursor: pointer;
  width: max-content;
  display: none;
}

/* Estilos para el submenú */
.dropdown {
  position: sticky;
  font-size: 18px;
  margin: 0 10px;
  line-height: 80px;
  text-transform: uppercase;
  width: max-content;
}

.dropdown-content {
  display: none;
  /*position: absolute;*/
  /*z-index: 1;*/
  background-color: #658599;
  min-width: 160px;

  /*font-size: 18px;
  font-weight: bold;*/
  line-height: 20px;
  /*text-transform: uppercase;
  width: max-content;*/
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  /*margin:auto;*/
}

.dropdown-content a:hover {
  background-color: #658599;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropbtn {
  color: white;
  text-decoration: none;
}

.select-css {
  display: block;
  font-size: 16px;
  font-family: 'Arial', sans-serif;
  color: #444;
  line-height: 1.3;
  padding: 0.4em 1.4em 0.3em 0.8em;
  width: 400px;
  max-width: 100%;
  box-sizing: border-box;
  margin: auto;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgb(0 0 0 / 3%);
  border-radius: 0.3em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E), linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}

form input{
  font-size: 22px;
  text-align: center;
}

form input[type="submit"] {
  font-size: 18px;
  font-weight: bolder;
  padding: 10px;
  border: 1px solid #000;
  border-radius: 5px;
  color: #fff;
  background-color: #658599;
  margin: 10px auto 10px;
  display: flex;
  justify-content: center;
}

form input[type="submit"]:hover {
  cursor: pointer;
}

.golpes{
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.aviso_tarjeta{
  text-align: center;
  margin: 15px auto;
}

hr {
  display: flex;
  width: 100%;
  margin-top: 0.5em;
  margin-bottom: 0.8em;
  /*margin-left: -5em;*/
 /* margin-right: -5em;*/
}

.tipo1 {
  font-size: 14pt;
  text-align: center;
  margin: 15px;
}

.tipo3 {
  font-size: 10pt;
  text-align: center;
  margin: 10px;
}

.table1 {
  text-align: left;
  padding: 0.3em;
  margin: auto;
}

.titulo-tabla{
  width:100%;
  text-align: center;
  margin: auto;
  padding: 10px 0;
}

.td-item-left {
  text-align: left;
}

.td-item-center {
  text-align: center;
}

.tarjetas2 {
  margin: auto;
  border-collapse: collapse;
}

.tarjetas2 td {
  border: 2px solid gray;
  padding: 10px;
  text-align: center;
}

.tablahcp{
  font-size: 14px;
  margin: 20px auto;
  border-collapse: collapse;
}

.tablahcp th{
  background-color: #53616E;
  color: #E0E0E0;
  padding: 5px;
  border: 1px solid #000;
  /*flechas blancas*/
  cursor: pointer;
  /*No funciona bien position en responsive*/
  /*position: relative;*/
}

.tablahcp td {
  border: 1px solid gray;
  padding: 10px;
}

/*--------------ESTILOS FLECHAS BLANCAS EN CABECERAS TABLAS--------------*/
.tablahcp arrow-up,
.tablahcparrow-down {
  font-size: 12px;
}

.tablahcp arrow-up.active,
.tablahcparrow-down.active {
  opacity: 1;
}

.tablahcp tr:nth-child(even) td {
  background-color: #E1F0FA;
}

.tablahcp tr:nth-child(odd) td {
  background-color: #ffffff;
}

no-sortable thead th {
  pointer-events: none;
}
no-sortable .ui-icon {
  display: none;
}

#tblTarjeta  thead th {
  pointer-events: none;
}
#tblTarjeta .ui-icon {
  display: none;
}

/************ MOBILE *****************/
@media (max-width: 840px) {
  body {
    padding-top: 70px;
  }

  .header {
    height: 60px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    margin: 0;
    background-color: #2c3e50;
    position: fixed;
    top: 60px;
    width: 100%;
    padding: 20px 0;

    height: calc(100% - 60px);
    overflow-y: auto;

    left: 100%;
    transition: left 0.3s;
  }

  .nav-menu-item {
    line-height: 70px;
  }

  .nav-menu-link:hover,
  .nav-menu-link_active {
    background: none;
    color: #83c5f7;
  }

  .nav-toggle {
    display: block;
    margin-top: -20px;
  }

  .nav-menu_visible {
    left: 0;
  }

  .nav-toggle:focus:not(:focus-visible) {
    outline: none;
  }
}

/*********FIN MOBILE *****************/


.formpass {
  width: 300px;
  padding: 16px;
  border-radius: 10px;
  margin: auto;
  margin-top: 40px;
  background-color: #ccc;
}

.formpass label {
  width: 100%;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  margin-top: 10px;
}

.formpass input[type="text"],
.formpass input[type="password"] {
  width: 180px;
  border: 1px solid #f6f6f6;
  border-radius: 3px;
  background-color: #f6f6f6;
  display: block;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/*.formpass input[type="submit"] {
  font-size: 18px;
  font-weight: bolder;
  width: 60%;
  margin-top: 15px;
  border: 1px solid #000;
  border-radius: 5px;
  display: block;
  color: #fff;
  background-color: #658599;
  margin-left: auto;
  margin-right: auto;
  float: none;
}

