/*
Copyright 2021 Banco Interamericano de Desarrollo (https://www.iadb.org/).

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

.choice {
  margin-top: 2rem;
}

.choice-container {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  width: 100%;
  font-size: 1.4rem;
  border: 0.1rem solid rgb(86, 165, 235, 0.25);
  background-color: white;
}

.choice-container:hover {
  cursor: pointer;
  box-shadow: 0 0.4rem 1.4rem 0 rgba(0, 154, 222, 0.5);
  transform: translateY(-0.1rem);
  transition: transform 150ms;
}

.choice-prefix {
  font-weight: bold;
  padding: 1.5rem 2.5rem;
  background-color: var(--bid-gray);
  color: white;
  margin: 0;
  min-width: 6rem;
  height: 100%;
}

.choice-text {
  padding: 1rem;
  width: 100%;
  margin: 0;
}

#progressText{
  color: white;
}

#pregunta{
  color: white;
}

#pregunta ul, #pregunta ol {
  margin-left: 1.5rem;
}

.nivel-agrupacion-titulo {
  color: white;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}

#btnArbol{
  color: white;
}

.selected {
  background-color: var(--bid-cyan);
  color: white;
}

@media (max-width:1000px) {
  #hud {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .choice-container {
    font-size: 1.2rem;
  }
}

@media (max-width:799px) {
  .flex-botones-paginado {
    display: flex;
    flex-direction: column;

    align-items: center;
  }

  .anterior {
    text-decoration: underline;
    text-decoration-color: var(--bid-cyan);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    color: var(--bid-blue);
    font-size: 1rem;
    font-weight: bold;
    color: var(--bid-cyan);
    margin-top: 1rem;
  }

  .siguiente {
    text-decoration: underline;
    text-decoration-color: var(--bid-cyan);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    color: var(--bid-blue);
    font-size: 1rem;
    font-weight: bold;
    color: var(--bid-cyan);
    margin-top: 1rem;
  }
}

.seleccion-idioma__contenedor {
  display: flex;
  justify-content: flex-end;
}

@media (min-width:800px) {
  .flex-botones-paginado {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .anterior {
    text-decoration: underline;
    text-decoration-color: var(--bid-cyan);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    color: var(--bid-cyan);
    font-size: 1.2rem;
    font-weight: bold;

    display: inline-block;

    margin-right: 2rem;
  }

  .siguiente {
    text-decoration: underline;
    text-decoration-color: var(--bid-cyan);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    text-transform: uppercase;
    color: var(--bid-cyan);
    font-size: 1.2rem;
    font-weight: bold;

    display: inline-block;

    margin-left: 2rem;
  }

  .home {
    float: right;
    width: 8rem;

    margin-top: 2rem;

    text-transform: uppercase;
    font-weight: bold;

    background-color: var(--bid-cyan);
    color: white;
  }
}

#progressBar {
  background-color: white;
  margin-top: 1rem;
}

#progressBarFull {
  height: 3.4rem;
  background-color: var(--bid-cyan);
  width: 0%;
}

/* LOADER */
#loader {
  border: 1.6rem solid white;
  border-radius: 50%;
  border-top: 1.6rem solid var(--bid-gray);
  width: 12rem;
  height: 12rem;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.terminosYCondicionesDialog {
  position: fixed !important;
  width: auto !important;
  max-width: 90%;
  height: auto !important;
  padding: 20px !important;
  background-color: white !important;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
  z-index: 101 !important;
  overflow-y: auto !important;
  word-wrap: break-word;
  max-height: 80vh;
}

#terminosYCondiciones {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  overflow-y: auto;
  word-wrap: break-word;
  white-space: normal;
}

#textoTerminosYCondiciones {
  text-align: center;
}

.siguiente.not-active {
  opacity: 0.35;
  color: var(--bid-gray);
  text-decoration-color: var(--bid-gray);
}

.respuesta-requerida-texto {
  color: white;
  font-size: 0.9rem;
  font-style: italic;
  opacity: 0.85;
  text-align: center;
  margin-top: 0.5rem;
}

.pregunta-container {
  display: flex;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.preguntaTitulo-container {
  margin-right: 20px;
  width: auto;
}

.checkbox-container {
  width: fit-content;
  display: flex;
  margin-left: auto;
  margin-right: 15px;
  align-items: center;
  flex-shrink: 0;
    
  border-style: solid;
  border-radius: 10px;
  border-color: white;
  border-width: 2px;

  height: min-content;
  padding-right: 7px;
  padding-top: 4px;
  padding-bottom: 9px;
}

.preguntaAplica-texto {
  color: white;
  margin-left: 10px;
  margin-bottom: 0px;
}

.checkbox {
  margin-bottom: 0px;
  width: 25px;
  height: 25px;
  margin-top: 5px;
  margin-left: 5px;
}

@media (max-width: 1300px) {
  .pregunta-container {
    flex-direction: column;
  }

  .preguntaTitulo-container {
    width: 100%;
  }

  .checkbox-container {
    width: fit-content;
    justify-content: start;
    margin-top: 1rem;
    margin-right: 0px;
    margin-left: 0px;
  }

  .checkbox {
    width: 20px;
    height: 20px;
    margin-left: 5px;
  }
}