/* https://jsonformatter.org/scss-to-css#google_vignette */
#pagina {
  #espaciomenurutas,
  #espaciomenunuevaruta,
  #espaciodiseno {
    .menuruta {
      box-shadow: 10px 10px 10px rgb(109, 135, 135); /*4px 4px 2px rgb(109,135,135);*/
      padding: 5px;
      background-color: cadetblue;
      border-radius: 8px;
      margin-top: 16px;

      padding: 8px;
      color: white;
      width: 78px;
      a {
        padding: 8px;
        color: white;
        display: inline-block;
        width: 100%;
      }
    }
    .menuruta.active {
      box-shadow: 1px 1px 1px rgb(109, 135, 135);
      margin-left: 15px;
      a {
        color: yellow;
      }
    }
    .menuruta[rutaDestino="R0000"] {
      background-color: #03038c;
    }
    .menuruta[rutaDestino="R0001"] {
      background-color: #832de8;
    }
    .menuruta[rutaDestino="R0002"] {
      background-color: #f9414b;
    }
    .menuruta[rutaDestino="R0003"] {
      background-color: #0167ff;
    }
    .menuruta[rutaDestino="R0004"] {
      background-color: #ef7b1b;
    }
    .menuruta[rutaDestino="R0005"] {
      background-color: #9e005d;
    }
    .menuruta[rutaDestino="R0006"] {
      background-color: #03038c;
    }
    .menuruta[rutaDestino="R0007"] {
      background-color: #c9a277;
    }

    .menuruta {
      background-color: #05c4ba;
    }
  }

  .ruta {
    display: inline-block !important;
  }

  .ruta:not(.active) {
    display: none !important;
  }

  .paso.active {
    box-shadow: 1px 1px 1px rgb(109, 135, 135);
    outline-style: inset;
    outline-width: 8px;
    outline-color: darkturquoise;
  }

  .paso {
    position: absolute;
    top: 120px;
    left: 60px;

    padding: 5px;
    box-shadow: 4px 4px 2px rgb(109, 135, 135);
  }

  .pregunta {
    width: 400px;
    height: 200px;
    background-color: rgb(192, 248, 248);
    display: flex;
    flex-direction: column;

    .cabecera {
      height: 32px;

      .arrastre {
        position: absolute;
        width: 100%;
        line-height: 32px;
        font-weight: bold;

        top: 0px;
        left: 0px;

        background-color: aqua;
        cursor: move;
        text-align: center;
      }
    }

    .cuerpo-wrapper {
      flex-grow: 1;
      margin: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;

      margin: 0 8px 8px 8px;
      overflow: auto;
    }

    .cuerpo {
      text-align: center;
    }

    .respuestas {
      position: absolute;
      left: 0;
      height: 36px;

      display: flex;

      .respuesta {
        background-color: aqua;
        padding: 8px;
        border-radius: 8px;
        cursor: grab;
        box-shadow: 4px 4px 2px rgb(109, 135, 135);
      }
    }
    .respuestas.horizontal {
      width: 100%;
      bottom: -48px;

      flex-direction: row;
      justify-content: space-evenly;
    }
    .respuestas.vertical {
      bottom: -40px;

      flex-direction: column;
      justify-content: space-evenly;
      .respuesta {
        margin-top: 8px;
      }
    }
    .respuestas.vertical.masdistancia {
      .respuesta {
        margin-bottom: 32px;
      }
    }
  }

  .resultadoruta.arrastre {
    position: absolute;
    line-height: 32px;
    font-weight: bold;

    top: 0px;
    left: 0px;

    cursor: move;
    text-align: center;
  }

  .resultado {
    box-shadow: 4px 4px 2px rgb(109, 135, 135);
    padding: 5px;
    background-color: cadetblue;
    border-radius: 8px;
    margin-top: 16px;

    padding: 8px;
    color: white;
    a {
      padding: 8px;
      color: white;
      display: inline-block;
      width: 100%;
    }
  }
  .resultado.active {
    box-shadow: 1px 1px 1px rgb(109, 135, 135);
    a {
      color: yellow;
    }
  }
  .resultado.tiene-eecc {
    background-color: green;
  }
  .resultado.tiene-tt {
    background-color: darkblue;
  }

  .resultado.pendiente {
    background-color: deeppink;
  }

  .anotacion {
    width: 400px;
    height: 200px;
    background-color: rgb(197, 243, 154);
    display: flex;
    flex-direction: column;
    z-index: 1;

    box-shadow: 0px 0px 0px rgb(109, 135, 135);
    border: solid 1px green;

    .cuerpo-wrapper {
      flex-grow: 1;
      margin: auto;
      display: flex;
      flex-direction: column;
      justify-content: center;

      margin: 0 8px 8px 8px;
    }

    .cuerpo {
      text-align: center;
    }
  }
  .anotacion.pendiente {
    background-color: deeppink;
    color: white;
  }

  .dropable {
    outline-width: 5px;
    outline-style: solid;
    outline-color: rgb(51, 247, 25);
  }

  .dropable:hover {
    outline-color: yellow;
  }

  .uiform-zona .form {
    min-height: 5rem;
    padding: 10px;
    display: flex;
    flex-direction: column;
    input,
    textarea {
      color: white;
      min-height: 5rem;
    }
  }

  .formPREGUNTA {
    .respwrapper {
      display: flex;
      flex-direction: row;
    }
    label {
      color: white;
      span {
        padding-left: 25px !important;
        padding-right: 10px;
      }
      span:before {
        border-color: white !important;
      }
    }
  }
}

#app-buscador {
  display: flex;
  flex-direction: column;
  background-color: white; /*lightgray;*/
  padding: 8px;

  max-width: var(--buscador-ancho-max);
  margin: auto;
  .titulo {
    text-align: center;
    font-size: xx-large;
    display: flex;
    justify-content: space-evenly;
    #zonainfo {
      display: inline-block;
      align-content: center;
      color: var(--color-azul-marino);
    }
  }
  .pasos.collapsible {
    border: 0 !important;
    box-shadow: none;
  }
  .paso {
    background-color: white;
    width: 100%;
    margin-bottom: 16px;

    .cabecera {
      background-color: var(--color-azul-marino);
      color: white;
      line-height: 36px;
      .buscador-seleccionado {
        margin-left: 4px;
        display: none;
      }
    }
    .cabecera::before {
      content: "\25B6";
      margin-right: 1rem;
    }
    .cuerpo {
      margin-bottom: 8px;
      li span {
        font-weight: bold;
        color: var(--color-azul-marino);
      }
      li ul li {
        margin-left: 4em;
      }
    }
    .respuestas {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .respuesta.respuesta {
      margin: 8px;
    }
  }
  .paso:not(.active) .cabecera .buscador-seleccionado {
    margin-left: 1rem;

    text-decoration: none;
    color: #fff;
    background-color: #26a69a;
    text-align: center;
    letter-spacing: 0.5px;

    font-size: 14px;
    outline: 0;

    border: none;
    border-radius: 2px;
    display: inline-block;
    line-height: 36px;
    padding: 0 16px;
    text-transform: uppercase;
    vertical-align: middle;

    margin-left: auto;
    margin-top: auto;
    margin-bottom: auto;
    /*
    display: contents;
    font-weight: bold;
    background-color: var(--color-azul-intenso);
    */ /*
    display: inline-block;
    background-color: var(--color-azul-intenso);
    margin: auto;
    padding: 0 8px 0 8px;*/
  }
  .paso.active {
    box-shadow: 4px 4px 2px rgb(109, 135, 135);
    border: 1px solid var(--color-azul-marino);
    .cabecera::before {
      content: "\25BC";
      margin-right: 1rem;
    }
  }

  .resultado {
    border: 1px solid var(--color-azul-marino);
    padding: 16px;

    .titulo {
      line-height: 36px;
      margin-bottom: 16px;
    }
    .tablasinternas {
      q-margin-top: 64px;
      q-font-size: small;
      word-wrap: break-word;
      font-size: medium;
    }
    .acciones {
      display: flex;
      flex-direction: row;
      /*justify-content: end;*/
      .boton-copy-to {
        margin-top: 1em;
      }
    }
  }

  .resultado-ec {
    .titulo {
      text-align: left;
    }
    a {
      vertical-align: bottom;
      font-size: 8px;
    }
    .material-symbols-outlined {
      /*font-size: small;*/
      vertical-align: middle;
      /*margin-right: 2px;*/
    }
    .resultado-ec tr:nth-child(even) {
      border-bottom: 0;
    }
    .cuerpo.Close {
      color: lightgray;
      text-decoration: line-through;
      color: lightgray;
    }
    .info-centros {
      padding-left: 30px;
      .centro {
        list-style-type: disc;
        padding-top: 1em;
        .nombre,
        .acciones {
          display: inline-block;
        }
      }
      .centro.NO {
        color: lightgray;
        .nombre,
        .acciones {
          text-decoration: line-through;
          color: lightgray;
        }
      }
    }
    a.btncc {
      border-radius: 8px;
      height: 40px;
      width: 40px;
      padding: 4px 0 0 0;
    }
  }
}

#crea-chat {
  .qqqcabecera {
    background-color: var(--color-azul-marino);
    color: white;
    line-height: 36px;
  }
}
