/* VARIABLES */
.gradiente-gris {
  background: #feffff;
  background: -moz-linear-gradient(top, #feffff 0%, #ddf1f9 50%, #a0d8ef 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #feffff), color-stop(50%, #ddf1f9), color-stop(100%, #a0d8ef));
  background: -webkit-linear-gradient(top, #feffff 0%, #ddf1f9 50%, #a0d8ef 100%);
  background: -o-linear-gradient(top, #feffff 0%, #ddf1f9 50%, #a0d8ef 100%);
  background: -ms-linear-gradient(top, #feffff 0%, #ddf1f9 50%, #a0d8ef 100%);
  background: linear-gradient(to bottom, #feffff 0%, #ddf1f9 50%, #a0d8ef 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#feffff', endColorstr='#a0d8ef', GradientType=0);
}
html,
body {
  background-color: #e6e5e4;
  color: #000;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.navbar-brand {
  background-image: url(../img/header.png);
  background-repeat: no-repeat;
  height: 69px;
  padding: 0px;
  padding-left: 75px;
  font-size: 32px;
  font-weight: bold;
  color: #999;
  line-height: 1em;
}
.navbar-brand span {
  font-size: 16px;
  font-weight: normal;
}
#ayuda {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  overflow: hidden;
}
#ayuda #contenedor-ayuda {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#ayuda #contenedor-ayuda > header {
  flex: 0 0 auto;
  padding: 6px 12px;
  box-sizing: border-box;
}
#ayuda #contenedor-ayuda > div {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
#ayuda #contenedor-ayuda #ubicaciones .departamentos {
  margin-top: 30px;
  list-style: none;
}
#ayuda #contenedor-ayuda #ubicaciones .departamentos li {
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-right: 0;
  margin-bottom: clamp(4px, 1.2vh, 27px);
}
#ayuda button:hover {
  cursor: pointer;
}
#ayuda #escudo {
  display: inline-block;
}
#ayuda .texto-tribunal {
  text-align: right;
}
#ayuda .tribunal {
  display: inline-block;
  font-size: 0.9em;
  color: #888;
}
#ayuda .paso {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  margin: 0;
}
#ayuda .paso h1 {
  margin: clamp(4px, 1.5vh, 40px) auto;
  color: #000;
  font-size: clamp(0.9rem, 2vw, 1.6em);
  text-align: center;
  line-height: 1.35;
}
#ayuda #paso-3 button.next {
  margin-left: 45px;
}
#ayuda .simulador {
  font-size: 0.9em;
  display: inline-block;
  color: #999;
  margin-top: clamp(4px, 1vh, 23px);
}
#ayuda h2 {
  font-size: clamp(0.9rem, 2vw, 1.6em);
  color: #000;
  width: 50%;
  margin: clamp(4px, 1.5vh, 30px) auto;
  line-height: 1.3em;
}
#ayuda .grafico {
  margin: 0 auto;
  display: block;
  flex: 0 1 auto;
  max-height: clamp(80px, 32vh, 320px);
  max-width: 90%;
  object-fit: contain;
}
#ayuda button {
  width: 300px;
  max-width: 90%;
  min-height: 60px;
  padding: 15px 30px;
  white-space: normal;
  height: auto;
  line-height: 1.4;
}
#ayuda #btn_goople_play button {
  background: transparent;
  border: 0;
}
#ayuda #btn_goople_play button img {
  height: 55px;
}
#bienvenido,
#agradecimiento {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
}
#bienvenido h1,
#agradecimiento h1 {
  font-size: clamp(0.9rem, 2vw, 1.6em);
  margin: clamp(4px, 1.5vh, 40px) auto;
}
#bienvenido h3,
#agradecimiento h3 {
  font-size: clamp(0.78rem, 2vw, 1.3em);
}
#logo-final {
  width: 15%;
  float: right;
  position: absolute;
  right: 5%;
  bottom: 20%;
}
header .row {
  display: flex;
  align-items: center;
}
#superior {
  display: flex;
  align-items: center;
  justify-content: center;
}
.texto-tribunal-centro {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.2em;
}
.texto-tribunal-derecha {
  display: flex;
  align-items: center;
  justify-content: center;
}
.simulador-guia {
  margin: 0;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
}
.logo_eleccion_izq {
  max-width: 100%;
  height: auto;
  max-height: 100px;
}
.logo_simulador {
  max-width: 100%;
  height: 100px;
  max-height: 60px;
}
#bienvenido #empezar {
  margin-bottom: 15px;
}
#bienvenido button,
#bienvenido a button {
  margin-bottom: 10px;
  width: 300px;
  min-height: 60px;
}
@media (max-width: 1024px) {
  .texto-tribunal {
    display: none;
  }
}
@media (max-width: 768px) {
  #ayuda .navbar-brand {
    background-size: 2em;
    font-size: 1.2em;
    padding-left: 2.5em;
    padding-top: 2vw;
    height: 3em;
  }
  #ayuda .texto-tribunal {
    display: none;
  }
  #ayuda #contenedor-ayuda {
    margin-top: 0px;
  }
  #ayuda #contenedor-ayuda #ubicaciones {
    margin-top: 40px;
    padding-left: 0px;
    padding-right: 0px;
  }
  #ayuda #contenedor-ayuda #ubicaciones .departamentos {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 0px;
  }
  #ayuda #contenedor-ayuda #ubicaciones .departamentos li {
    margin-bottom: 10px;
    margin-right: 0px;
    line-height: 2;
  }
  .departamentos .btn-lg {
    padding: 5px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
  }
}
@media (max-width: 320px) {
  #ayuda #paso-3 button {
    width: 132px;
    float: left;
    font-size: 0.9em;
  }
  #ayuda #paso-3 button.next {
    margin-left: 19px;
  }
}
@media (max-width: 400px), (max-height: 700px) and (max-width: 768px) {
  #ayuda .paso {
    gap: 2px;
    justify-content: space-evenly;
  }
  .grafico {
    max-height: 28vh;
  }
        h1 {
    margin: 2px auto;
    line-height: 1.2;
  }
  button {
    min-height: 44px;
    padding: 8px 20px;
  }
}
@media (max-width: 360px) {
  #ayuda .paso .grafico {
    max-height: 22hv;
  }
}
@media (max-height: 500px) {
  #ubicaciones h1 {
    margin: 4px auto;
  }
  #ubicaciones .departamentos {
    margin-top: 8px;
  }
  #ubicaciones .departamentos li {
    min-height: 36px;
    padding: 4px 8px;
    font-size: 0.78em;
    margin-bottom: 4px;
    line-height: 1.2;
  }
        #ayuda .paso h1 {
    margin: 2px auto;
    line-height: 1.15;
  }
  #ayuda .paso .grafico {
    min-height: 18vh;
  }
}
