@font-face {
  font-family: "HELVETICANEUELTSTD";
  src: url('../fonts/OpenSans-Regular.ttf');
}

body {
  margin: 0;
  font-family: "HELVETICANEUELTSTD";
  /* font-size: 17px; */
  padding-top: 0px;
  font-size: calc(var(--font-size) * 1em)
}

:root {
  --main-line-color: #808080;
  /*Cambiar color al estilo principal  : Color lineas formulario y otras lineas*/
  --main-title-question-color: #00261c; /* color de las preguntas */
  --secondary-title-question-color: #3ab1fafc;
  --third-title-question-color: #8c8c8cfc;
  /* color de las preguntas */
  --main-color: #007857; /*Cambiar color al estilo principal : color principal botones, lineas finas...*/
  --secondary-color: #007857; /*Cambiar color al estilo principal : color secundario botones, lineas finas...*/
  /*Cambiar color al estilo principal : color principal botones, lineas gruesas...*/
  --font-size: 1;
  --main-color-shadow: rgb(0, 125, 91);
  --main-color-input-shadow: rgba(19, 93, 139, 0.441);
}

a {
  color: rgb(19, 23, 77);
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}

/* ---------------
cabecra
-------------*/
.header_first_div {
  height: 0px;
  background: #fefefe;
}
/* color linea inferior cabecera */
.header_last_div {
  height: 10px;
  background: var(--secondary-color);
}

.header_second_div {
  margin: 0px auto 0;
  text-align: center;
  color: #336ab4;
  background-color: #336ab4;

}

.features-boxed {
  background: rgb(237, 236, 236);
}

.box {
  height: 443.594px;
}

.div-titulo {
  border: 1px solid rgb(176, 176, 176);
  border-radius: 1px;
  margin-right: 0px;
  margin-left: 0px;
  margin-bottom: 0px;
  margin-top: 10px;
  padding-top: 2px;
  padding-bottom: 0px;
}

.div-pregunta {
  background: #f7f7f7;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 2px;
  border: 1px solid rgb(222, 218, 218);
}

.div_formulario {
  background: rgb(253, 253, 253);
  margin-top: 16px;
  padding: 10px 30px 10px 30px;
  border-color: var(--main-line-color);
  border-radius: 3px;
}

.boton_final {
  width: 100%;
  border-radius: 0px;
  border-style: solid;
  font-size: 25px;
  color: #ffffff;
  font-weight: bold;
}
/*------------------
cajas e iconos internos.
--------------------*/
.features-boxed .item .icon {
  font-size: 60px;
  color: var(--secondary-color);
  margin-top: 20px;
  margin-bottom: 35px;
}

/*------------------
titulos y textos
--------------------*/
.titulo_bloque {
  color: #777777;
  font-size: 16px;
  border-bottom: 1px solid rgb(205, 205, 205);
  margin-top: 25px;
}
.titulo_movil{
  color: var( --main-line-color);
  vertical-align: middle;
  text-align: center;
  border-bottom: 1px solid rgb(205, 205, 205);
  font-weight: bolder;
  font-size: 3.8em;
  margin-left:25px;
  margin-top: 25px;
  margin-right: 15px;
  opacity: 0.8;
}

.txt_size_08 {
  font-size: 0.8em;
  font-weight: normal;
  color: #777777;
}

.txt_small13 {
  font-size: 13px;
  font-weight: normal;
}

.txt_suave_small8 {
  font-size: 8px;
  font-weight: normal;
  color: #bebebe;
}

.txt_suave_small11 {
  font-size: 11px;
  font-weight: normal;
  color: #bebebe;
}

.txt_cabecera {
  font-size: 34px;
  color: #777777;

}
/*estilo para el color de las preguntas */
.text-titulo-pregunta {
  color: var(--main-title-question-color);
  font-size: calc(var(--font-size) * 1.2em);
    /* font-size: 18px; */
    /* font-weight: bold; */
    overflow-wrap:  keep-all;
    word-wrap: keep-all;
   
}

.text-titulo-pregunta_black {
  color:#000000;
  font-size: calc(var(--font-size) * 1.2em);
    /* font-size: 18px; */
    /* font-weight: bold; */
    overflow-wrap:  keep-all;
    word-wrap: keep-all;
   
}
.text-titulo-pregunta_secondary { 
  color:var(--secondary-title-question-color);
  font-size: calc(var(--font-size) * 1.2em);
    /* font-size: 18px; */
     font-weight: bold; 
    overflow-wrap:  keep-all;
    word-wrap: keep-all;
   
}

.text-titulo-pregunta_third { 
  color:var(--third-title-question-color);
  font-size: calc(var(--font-size) * 1.2em);
    /* font-size: 18px; */
    font-weight: bold; 
    overflow-wrap:  keep-all;
    word-wrap: keep-all;
   
}

.text-subtitulo-pregunta { 
  color:var(--third-title-question-color);
  font-size: calc(var(--font-size) * 1em);
    /* font-size: 18px; */
    /* font-weight: bold;  */
    overflow-wrap:  keep-all;
    word-wrap: keep-all;
   
}

/* texto titulo respuestas */ 
.input-group-text2 {
  display: flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  /* font-size: 1rem; */
  /* font-weight: 400; */
  /* line-height: 1.5;
  color: #111; */
  text-align: center;
  /* white-space: nowrap; */
  background-color: #ffffff;
  /* border: 1px solid #bbc0c6; */
  border-radius: 0.45rem;
  border-bottom: 0.1rem solid;
}

.mayuscula {
  text-transform: uppercase;
}

.form_alert {
  padding: 4px 48px 16px 16px;
  padding-right: 51px;
  padding-bottom: 4px;
  padding-left: 51px;
  background: rgb(247, 247, 247);
  font-size: 14px;
}
/* ------------
avisos - alertas...
-------------*/
.barra-progreso{
  height: 20px;
  background: rgb(194,206,218);
}
.alert_button {
  color: #7d8285;
  background-color: #a7a7a7;
  height: 10px;
}

.form_container {
  padding-bottom: 33px;
}

.form_cabecera_titulo {
  color: var(--bs-gray-700);
  font-size: 25px;
}



/* Separators (hr) */
.bs-docs-separator {
  margin: 0px 0px 1px;
}

/* ESTILOS PARA LAS RESPUESTAS DE LAS PREGUNTAS SELECCIONADAS */

/* Etiquetas para entradas marcadas */
input:checked+label {
  color: var(--main-color);
  font-weight: bold;
}

/* color input seleccionados */
.form-check-input:checked {
  background-color: var(--main-color);
  border-color: var(--main-color);
}
/* bode input cuando toma el foco */
.form-control:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 0.2rem var(--main-color-input-shadow);
}
/*cambiamos estilo respuestas */
.form-check-label {
  color: #666666;
}

select option:focus {
  background-color: red !important;
  color: white!important;
}


/*-----------------
gestion de errores
------------------*/

#investigador label.error {
  margin-left: 1px;
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: #fca44cd8;
  padding: 5px 5px 5px 5px;
  border-radius: 3px;

}

#login label.error {
  margin-left: 1px;
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: #fca44cd8;
  padding: 5px 5px 5px 5px;
  border-radius: 3px;

}

#login2 label.error {
  margin-left: 1px;
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: #fca44cd8;
  padding: 5px 5px 5px 5px;
  border-radius: 3px;

}

#cambia label.error {
  margin-left: 1px;
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: #fca44cd8;
  padding: 5px 5px 5px 5px;
  border-radius: 3px;

}

/* #login2 label.error {
  margin-left: 10px;
  width: auto;
  display: inline;
  color: white;
  font-weight: bold;
  background-color: #db2c2c;
  padding: 3px 6px;
  border-radius: 3px;
  position: absolute;
} */

#registro label.error:before {
  content: '';
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #db2c2c;
  border-left: 8px solid transparent;
  left: -16px;
  position: absolute;
  top: 5px;
}

#registro label.errorcc {
  margin-left: 1px;
  width: auto;
  color: white;
  font-weight: bold;
  background-color: #db2c2c;
  padding: 3px 6px;
  border-radius: 3px;
}

/*----------------
 TABLAS 
 -----------------*/
/* centrada */

.tablaC td {
  vertical-align: middle;
  /* border: 1px solid #dddddd;*/
  text-align: center;
}

.tablaC th {
  vertical-align: middle;
  /* border: 1px solid #dddddd;*/
  text-align: center;
}

.tablaC2 td {
  vertical-align: top;
  border: 1px solid #dddddd;
  text-align: left;
}

.box.final_cajas {
  height: 310.594px;
}

.final_pie {
  text-align: center;
  color: rgb(101, 101, 101);
  margin-top: 20px;
}

.final_pie_superior {
  height: 37px;
  background-color: var(--main-color);
}

.cabecera_brand {
  width: 600px;
  padding-bottom: 17px;
  padding-top: 1px;
}

/* ------------------------
Shadow
------------------------*/
.shadow-primary {
  -webkit-box-shadow: 0 0.5rem 1rem rgba(110, 0, 255, 0.15) !important;
  box-shadow: 0 0.5rem 1rem rgba(110, 0, 255, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 10px 55px 5px rgba(235, 235, 235, 0.635) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-none {
  box-shadow: none !important;
}


.hover-translate {
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

.hover-translate:hover {
  box-shadow: 0 10px 55px 5px var(--main-color-shadow) !important;
  background-color: #ffffff;
  -webkit-transform: translate3d(0, -20px, 0);
  -moz-transform: translate3d(0, -20px, 0);
  -ms-transform: translate3d(0, -20px, 0);
  -o-transform: translate3d(0, -20px, 0);
  transform: translate3d(0, -20px, 0);
}

a,
i,
.btn,
button,
img,
span,
.dropdown-item {
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  -o-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.btn-dark {
  background-color: #d32e6a;
  border-color: #d32e6a;
}

.btn-dark:hover {
  background-color: #f94f15;
  border-color: #f94f15;
}

.btn.focus,
.btn:focus {
  box-shadow: none;
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: none;
}

.show>.btn-outline-primary.dropdown-toggle:focus {
  box-shadow: none;
}

button:focus {
  outline: none;
}

.btn-block {
  display: block;
  width: 100%;
}

@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0px);
  }
}


/* ------------------------
    Scroll to Top
------------------------*/
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
  -webkit-transform: translate3d(0, 200%, 0);
  -ms-transform: translate3d(0, 200%, 0);
  transform: translate3d(0, 200%, 0);
}

.scroll-top a,
.scroll-top a:visited {
  font-size: 24px;
  color: #ffffff;
  background: var(--main-color);
  display: block;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 0.25rem;
  -webkit-box-shadow: 0 10px 55px 5px rgba(137, 173, 255, .15);
  -moz-box-shadow: 0 10px 55px 5px rgba(137, 173, 255, .15);
  box-shadow: 0 10px 55px 5px rgba(137, 173, 255, .15);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.scroll-top a:hover,
.scroll-top a:focus {
  color: var(--main-color);
  background: #7b7b7b;
}

.scroll-top.scroll-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.titulo_bloque_caja{
  background: #f8f8f8;
}

/* caja con scroll contrato */

.caja-scroll {
  width: 100%;
  height: 500px;
  overflow-y: scroll;
  }

  /*firma caja */

  .kbw-signature {
    width: 400px;
    height: 200px;
}

#firmapad canvas {
    width: 100% !important;
    height: auto;
}