/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Style
Generic Style
*/

/*/* DM Sans se sirve desde el tema: los @font-face van en layouts/base.html, junto al
 * preload y con la misma URL (aquí get_asset_url da la del CDN y el preload no
 * valdría). Fuente: Google Fonts v17, licencia SIL OFL 1.1 (fonts/OFL-DMSans.txt). */

/* Fallback de DM Sans: la fuente del sistema, ajustada a las medidas de DM Sans
   para que el cambio al cargar no mueva el texto (CLS).

   Por qué descriptores y no font-size-adjust: font-size-adjust iguala la altura
   de la x, y esa ya coincide (DM Sans 0,51; Arial 0,52; Roboto 0,53). Lo que
   difiere es el ancho: igualando la x, Arial queda un 5% más estrecha y Roboto
   un 7,5%, las líneas parten distinto y en /casos-de-exito/clinicas-tulaser el
   cambio daba CLS 0,14. Además font-size-adjust escala también DM Sans, así que
   no puede ensanchar solo la de reserva. size-adjust sí.

   Una familia por fuente del sistema, cada una con un tamaño por peso (anchos
   medidos con canvas sobre el texto de la página). Si el sistema no tiene la
   fuente, local() falla y el navegador pasa a la siguiente familia de la lista:
     - Arial: Windows, macOS, iOS. Liberation Sans tiene sus mismas medidas (Linux).
     - Roboto: Android.
   ascent/descent = métricas de DM Sans (99,2% y 31%) / size-adjust, para que la
   altura de línea sea la de DM Sans. */
@font-face {
  font-family: "DM Sans Fallback Arial";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans");
  font-weight: 100 449;
  size-adjust: 104.54%;
  ascent-override: 94.89%;
  descent-override: 29.65%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback Arial";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans");
  font-weight: 450 599;
  size-adjust: 106.54%;
  ascent-override: 93.11%;
  descent-override: 29.10%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback Arial";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold");
  font-weight: 600 900;
  size-adjust: 103.22%;
  ascent-override: 96.10%;
  descent-override: 30.03%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback Roboto";
  src: local("Roboto"), local("Roboto Regular"), local("Roboto-Regular");
  font-weight: 100 449;
  size-adjust: 104.93%;
  ascent-override: 94.54%;
  descent-override: 29.54%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback Roboto";
  src: local("Roboto Medium"), local("Roboto-Medium");
  font-weight: 450 599;
  size-adjust: 105.95%;
  ascent-override: 93.63%;
  descent-override: 29.26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "DM Sans Fallback Roboto";
  src: local("Roboto Bold"), local("Roboto-Bold");
  font-weight: 600 900;
  size-adjust: 109.63%;
  ascent-override: 90.48%;
  descent-override: 28.28%;
  line-gap-override: 0%;
}
/* Definicion de propiedades */
:root {
  --main-violeta: #6E5EE0;
  --main-morado: #3C1A75;
  --main-verde: #03E196;
  --main-bg: #F5F3F5;
  --main-gris: #5A5A5A;
  --fuente: "DM Sans", sans-serif;
}

/*GENERICAS*/
* {
  font-size: 16px;
  font-family: "DM Sans", "DM Sans Fallback Arial", "DM Sans Fallback Roboto", sans-serif !important;
}

body {
  background: #F5F3F5;
}

h1 {
  font-size: 44px;
  font-style: normal;
  font-weight: 700;
  line-height: 115.7%;
  color: #3C1A75 !important;
  margin-bottom: 26px !important;
}

h2 {
  color: #3C1A75;
  text-align: center;
  font-style: normal;
  font-size: 38px;
  font-weight: 700;
  line-height: 42.5px;
  margin-bottom: 65px;
}

h3 {
  font-size: 20px;
  color: #3C1A75;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 23px;
}

p {
  color: #3C1A75;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 29px !important;
}

.btn-morado {
  border-radius: 62px;
  background: #6E5EE0;
  padding: 14px 28px;
  border: 1px solid #6E5EE0;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  min-width: 98px;
  min-height: 24px;
  display: inline-block;
  text-align: center;
}
.btn-morado:hover {
  border: 1px solid #6E5EE0;
  color: #6E5EE0;
  background: #fff;
}

.btn-blanco {
  border-radius: 62px;
  border: 1px solid #6E5EE0;
  padding: 14px 28px;
  color: #6E5EE0;
  text-decoration: none;
}
.btn-blanco:hover {
  background: #6E5EE0;
  border: 1px solid #6E5EE0;
  color: #fff;
}

/* SASS */
.btn {
  border-radius: 45px;
}


@media(max-width: 380px){
  a.cta_button {
    display: inline-block;
    margin: 10px 0;
  }
}

form strong {
    color: #6e5ee0 !important;
    font-size: 12px !important;
    line-height: 12px !important;
}

form .hs-richtext, form .hs-richtext *, form .hs-richtext h1, form .hs-richtext h2, form .hs-richtext h3, form .hs-richtext h4, form .hs-richtext h5, form .hs-richtext h6, form .hs-richtext p {
    color: #6e5ee0 !important;
    font-size: 12px !important;
    line-height: 15px !important;
  
}

form .hs-richtext *, form .hs-richtext h1, form .hs-richtext h2, form .hs-richtext h3, form .hs-richtext h4, form .hs-richtext h5, form .hs-richtext h6, form .hs-richtext p {
    color: #6e5ee0 !important;
    font-size: 12px !important;
    line-height: 15px !important;

}

/*Hover de las sub páginas del menú de "Compañía".*/

.mega-menu .style4 .col-md-4 .sector-name:hover {
  text-decoration: underline !important;
  text-decoration-color: #6E5EE0 !important;
  text-underline-offset: 6px !important;
}

/*Hover de las sub páginas del menú de "Recursos".*/

.mega-menu .style3 .col-md-4 .sector-name:hover {
  text-decoration: underline !important;
  text-decoration-color: #6E5EE0 !important;
  text-underline-offset: 6px !important;
}

.sector-name:hover {
  text-decoration: underline !important;
  text-decoration-color: #6E5EE0 !important;
  text-underline-offset: 6px !important;
}

/*Hover de todas las subpáginas de Sectores y Productos*/
.hs-menu-item:hover {
  text-decoration: underline !important;
  text-decoration-color: #5E5E5D !important;
  text-underline-offset: 6px !important;
}

.box-title:hover {
  text-decoration: underline !important;
  text-decoration-color: #6E5EE0 !important;
  text-underline-offset: 6px !important;
}

.box-list li:hover {
  text-decoration: underline !important;
  text-decoration-color: #5E5E5D !important;
  text-underline-offset: 6px !important;
}

/*Maquetar correctamente las casillas de multiopción*/
.inputs-list li {
    padding:10px 0 !important;
}

.inputs-list li label {
     display:flex !important;
}

.inputs-list li label input {
     width:50px !important;
     margin-bottom:0 !important;
}

.webinar-form-container fieldset.form-columns-1 .input .inputs-list
.hs-input {
   width: auto !important;
   margin-right: 10px;
}

.legal-consent-container .hs-richtext {
    margin-top: 25px !important;
    margin-bottom: -10px !important;
}

.legal-consent-container .hs-form-booleancheckbox-display>span {
    margin-left: 5px !important;
}

/*Espaciado entre los dos CTAs del header*/

.cta-last {
  margin-left: 8px !important;
}

.cta-trial {
  margin-right: 8px !important;
}

.hs-button {
 text-align: center !important;
}*/