/* Reset */
html{box-sizing:border-box;font-size:16px}*,*::before,*::after{box-sizing:inherit}body,h1,h2,h3,h4,h5,h6,p,ol,ul{margin:0;padding:0;font-weight:400}ol,ul{list-style:none}img{max-width:100%;height:auto}

/* Variables */
:root {
  --text: #212529;
  --page: #f7f7f7;
  --acct: #47d7ac;
  --acc2: #006ff5;
  --acc3: #28344a;
  --sans: 'Arial', sans-serif;
}

/* fonts */
@font-face {
  font-family: 'santalucia-icons';
  src:
    url('../fonts/santalucia-icons.woff') format('woff'),
    url('../fonts/santalucia-icons.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

/* Estilos generales */
html {
  padding: 0;
}
body {
  padding: 0;
  background-color: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-synthesis: none;
  font-weight: 400;
  width: 100%;
  font-variation-settings: 'wght' 400, 'wdth' 100;
  accent-color: var(--acct);
}
body.fixed-menu {
  padding-top: 4.5rem;
}
a {
  color: var(--acct);
  text-decoration: none;

  &:hover {
    color: var(--acct);
    text-decoration: none;
  }
}
strong {
  font-weight: 700;
  font-variation-settings: 'wght' 700;
}
/* input {
  appearance: none;
} */
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
}
textarea {
  resize: none;
}
fieldset {
  padding: 0;
  border: none;
}
.nobreak {
  white-space: nowrap;
}
.btn {
  display: block;
  margin: 1.875rem auto;
  max-width: calc(100% - 2.5rem);
  font-size: 1.125rem;
  text-align: center;
  line-height: 1;
  text-transform: uppercase;
  background-color: var(--acct);
  color: var(--acc3);
  padding: 1rem 2rem;
  border-radius: 2rem;
  border: 2px solid var(--acct);
  transition: all .15s ease-in-out;
  letter-spacing: .017rem;
  font-weight: 600;
  font-variation-settings: 'wgth' 600;
  cursor: pointer;
}
.btn:hover {
  background-color: var(--acc3);
  border-color: var(--acct);
  color: var(--acct);
}
.btn:active {
  background-color: #fff;
  color: var(--acct);
}
.btn:disabled, .btn.disabled {
  opacity: .5;
  pointer-events: none;
}
.btn-icon {
  white-space: nowrap;
}
.btn-icon::before {
  font-family: 'santalucia-icons' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.188rem;
  height: 1.188rem;
  font-size: 1rem;
  margin-right: .625rem;
  line-height: 1;
  color: inherit;
  vertical-align: text-top;
}
.btn-icon.email::before {
  content: '\e900';
}
.btn-icon.form::before {
  content: '\e901';
}
.btn-icon.tel::before {
  content: '\e902';
}
.btn-icon.ext::before {
  content: '\e903';
}
.btn-icon[download]::before {
  content: '\e904';
}
.btn-icon.link::before {
  content: '\e905';
}
.btn-icon-right::after {
  font-family: 'santalucia-icons' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 1.188rem;
  height: 1.188rem;
  font-size: 1rem;
  margin-left: .625rem;
  line-height: 1;
  color: inherit;
  vertical-align: text-top;
}
.btn-icon-right.send::after {
  content: '\e903';
}
.btn-icon-right.reset::after {
  content: '\e907';
}
.btn-back {
  max-width: 15.625rem;
  margin: 1rem auto 3rem;
}
/* Menu button */
.menu-btn {
  display: block;
  order: 100;
  margin-left: 10px;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  top: auto;
  right: auto;
  z-index: 15;
}
/* .fixed-menu .menu-btn {
  position: fixed;
}
.menu-btn.open {
  position: fixed;
} */
.menu-btn .menu-btn-el {
  display: block;
  position: absolute;
  width: 24px;
  height: 3px;
  background-color: var(--acc3);
  top: 50%;
  left: 50%;
  transform: translate(-12px,-50%);
  transition: all .25s ease-in-out;
  transform-origin: left center;
  pointer-events: none;
}
.menu-btn .menu-btn-el.top {
  transform: translate(-12px, -10px);
}
.menu-btn .menu-btn-el.bottom {
  transform: translate(-12px, 7px);
}
.menu-btn.open .menu-btn-el.top {
  transform: translate(-8px, -10px) rotate(45deg);
}
.menu-btn.open .menu-btn-el.middle {
  background-color: transparent;
}
.menu-btn.open .menu-btn-el.bottom {
  transform: translate(-8px, 7px) rotate(-45deg);
}
/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 4.5rem;
  padding: 1rem 1.25rem;
  background-color: #fff;
  z-index: 5;
  box-shadow: 0 .625rem .625rem #00000020;
}

.fixed-menu .header {
  position: fixed;
  top: 0;
  left: 0;
}

.containerLogo {
  flex: 1;
  width: 100%;
  height: 100%;
}

.header-link {
  display: flex;
  width: auto;
  height: 2.5rem;
  text-decoration: none;
  justify-content: start;
  align-items: center;
}
.header-link img {
  width: auto;
  max-width: 10rem;
  height: 100%;
}
.home .header-link {
  pointer-events: none;
}

.containerNav {
  display: flex;
  align-items: center;
}

.navMenu {
  flex: 1;
  padding: 4.5rem 1.25rem 1rem;
  position: fixed;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  top: 0;
  right: 0;
  left: -100%;
  background-color: #fffffff9;
  z-index: 10;
  transform: translateX(0%);
  transition: all .25s ease-in-out;
}

/* Menu */
.menu {
  padding: 4.5rem 1.25rem 1rem;
  position: fixed;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  top: 0;
  left: -100%;
  background-color: #fffffff9;
  z-index: 10;
  transform: translateX(0%);
  transition: all .25s ease-in-out;
}
.menu.open , .navMenu.open {
  transform: translateX(100%);
}
.menu-item {
  display: block;
  width: 100%;
  padding: 1.25rem .625rem;
  border-bottom: 1px solid #00000020;
  color: var(--acc3);
  letter-spacing: .015rem;
}
.menu-item:last-of-type {
  border-bottom: none;
}
.menu-item.selected {
  color: var(--acct);
  font-weight: 600;
  font-variation-settings: 'wgth' 600;
  pointer-events: none;
}
.wrap {
  margin: 0 auto;
  max-width: 48rem;
}
/* Main */
.main {
  width: 100%;
}
/* Hero */
.hero {
  min-height: 350px;
  padding: 1.25rem 2.5rem 2.188rem;
  background-color: var(--acc2);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero .wrap {
  text-align: center;
}
.hero-img {
  margin-bottom: .75rem;
}
.hero-title {
  text-align: center;
  font-size: 2.25rem;
  letter-spacing: .019rem;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-text {
  text-align: center;
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: .031rem;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
}
.hero .btn {
  display: inline-block;
  font-size: .813rem;
  text-transform: none;
  padding: .688rem 1.438rem;
  background-color: transparent;
  color: var(--acct);
  border-width: 1px;
  margin: 0 auto;
}
.hero .btn:hover {
  background-color: var(--acc3);
}
/* Videos */
.videos {
  padding: 1rem 1.25rem 2rem;
}
.videos-title {
  padding: 3.125rem 0;
  color: var(--acc3);
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
}
.video-container {
  background-color: #fff;
  padding: 1.25rem;
  margin: 0 0 1.25rem;
  box-shadow: 0 .625rem .625rem #00000010;
  border-radius: 3px;
  max-height: 5.375rem;
  overflow: hidden;
  transition: all .5s ease-in-out;
}
.video-container.show {
  max-height: 28.125rem;
}
.video-title {
  position: relative;
  padding-right: 1.438rem;
  box-sizing: border-box;
  color: var(--acc3);
  font-size: 1.125rem;
  line-height: 1.3;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  cursor: pointer;
}
.video-title::before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  right: 3px;
  width: 17px;
  height: 3px;
  background-color: var(--acc3);
  z-index: 2;
  pointer-events: none;
}
.video-title::after {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  right: 10px;
  width: 3px;
  height: 17px;
  background-color: var(--acc3);
  z-index: 3;
  pointer-events: none;
  opacity: 1;
}
.show .video-title {
  cursor: default;
}
.show .video-title::after {
  opacity: 0;
}
.video-iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 0;
  overflow: hidden;
  transition: all .25s ease-in-out;
}
.show .video-iframe {
  margin-top: 20px;
  max-height: 250px;
}
/* Contacto */
.contacto .hero-title {
  font-size: 1.625rem;
  letter-spacing: -0.024rem;
  line-height: 1.3;
}
.contacto-title {
  font-size: 1.25rem;
  margin: 3.125rem 1.875rem 0;
  text-align: center;
  line-height: 1.4;
  letter-spacing: .019rem;
}
.contacto-list {
  padding: 1.875rem .625rem;
}

/* Documentación */
.documentacion-title {
  font-size: 1.5rem;
  letter-spacing: .019rem;
  line-height: 1.3;
  text-align: center;
  margin: 3.75rem 1.875rem 2.5rem;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
}

/* Forms */
.contacto-form {
  background-color: #fff;
  border-radius: .625rem;
  margin: 0 auto;
}
.form-wrap {
  padding: 1.875rem 1.25rem .625rem;
}
.form-legend.contacto {
  width: 100%;
  border-radius: .625rem .625rem 0 0;
  background-color: var(--acc3);
  text-align: center;
  color: var(--acct);
  font-size: 1.375rem;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  padding: .625rem;
}
.form-legend {
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: 'wght' 500;
  padding: .625rem 0 1.25rem 0;
}
.form-elem {
  margin-bottom: 1.25rem;
}
.form-elem.consent {
  display: flex;
  flex-wrap: wrap;
}
.form-elem.action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0;
}
.form-label {
  display: block;
  color: var(--acc3);
  margin-bottom: .313rem;
  font-weight: 600;
  font-variation-settings: 'wght' 600;
}
.form-label.consent {
  color: #999;
  font-weight: 400;
  font-variation-settings: 'wght' 400;
  margin-bottom: 0;
  width: calc(100% - 2.75rem);
  cursor: pointer;
}
.form-input {
  width: 100%;
  padding: .625rem .75rem;
  border: 1px solid #ccc;
  border-radius: .375rem;
  font-size: 1rem;
  box-sizing: border-box;
  height: 2.75rem;
  color: #000;
}
.form-input:focus {
  outline: none;
}
.error.form-input {
  border-color: #f00;
}
.form-input:user-invalid {
  border-color: #f00;
}
.form-input:user-valid {
  border-color: #0c0;
}
.error + .form-label {
  color: #f99;
}
textarea.form-input {
  height: auto;
}
.consent .form-input {
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  margin: 0 .5rem 0 0;
}
.form-legal {
  color: var(--acc3);
  font-size: .875rem;
  line-height: 1.5;
  margin: 0 .625rem 1.875rem .125rem;
  cursor: pointer;
}
.form-legal summary {
  margin-bottom: .75rem;
  font-size: 1rem;
  line-height: 1;
}
.form-error {
  font-size: .75rem;
  color: #e00;
  padding: .375rem .375rem 0;
  max-height: 0;
  overflow: hidden;
  transition: all .25s ease-in-out;
}
.form-error.show {
  max-height: 6.25rem;
}

.consent .form-error {
  padding-left: 1.75rem;
  box-sizing: border-box;
  width: 100%;
}
/* Thank You Page */
.form-title {
  font-size: 1.25rem;
  margin: 3.125rem 1.875rem 0;
  text-align: center;
  line-height: 1.4;
  letter-spacing: .019rem;
  font-weight: 700;
  font-variation-settings: 'wght' 700;
}
.form-text {
  margin: 1.5rem auto 2rem;
  max-width: 75%;
  text-align: center;
  font-size: 1rem;
}
.form-btn {
  width: calc(100% - 20px);
  margin: 10px 10px 20px;
}

/* Footer */
.footer {
  padding: 1rem 1.25rem;
  background-color: var(--acc3);
  color: #fff;
  font-size: .813rem;
  line-height: 1.4;
  text-align: center;
}
.footer-legal {
  padding: 1rem 0 0;
}
.footer-legal-item {
  display: inline-block;
  line-height: 1;
  margin: 0 0 .5rem 0;
  padding: 0 .5rem 0 .25rem;
  border-right: 1px solid #fff;
}

.footer-legal-item:last-of-type {
  border-right: none;
}

/* popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: #000000c0;
  z-index: 100;
  opacity: 0;
  transition: all .25s ease-in-out;
}
.popup.show {
  opacity: 1;
}
.popup-cont {
  margin: 4.375rem 1.25rem 3.125rem;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  height: calc(100% - 7.5rem);
}
.popup-close {
  position: absolute;
  top: .938rem;
  right: .938rem;
  font-size: 0;
  color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.438rem;
  height: 2.438rem;
  border-radius: 50%;
}
.popup-close::before {
  content: '\2715';
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  color: white;
  font-size: 1.438rem;
  font-weight: normal;
  line-height: 1;
  width: 1.063rem;
  height: 1.063rem;
}

/* Titulo Mas Texto */
.section-title {
  margin: 70px 0px;
}
.container {
  max-width: 540px;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  font-family: 'Arial', sans-serif;
}
.section-title__wrapper {
  text-align: center !important;
  margin-bottom: 3rem !important;
}
.section-title__title {
  margin-bottom: 10px;
}
.h2 {
  font-size: 2.875rem;
  line-height: 58px;
  color: var(--acc3);
  font-weight: 600;
}
.insite-edit div {
    font-size: 1rem;
    line-height: 24px;
}

/* Componente WysiWyg */

.main-wysiwyg {
  margin: 80px auto;
}
.main-wysiwyg p {
  margin-bottom: 10px;
  text-align: justify;
}
.main-wysiwyg ul {
  padding-left: 45px;
}
.main-wysiwyg ul p {
  margin-bottom: 10px;
  text-align: justify;
}
.main-wysiwyg ul li {
  position: relative;
  margin-bottom: 20px;
  line-height: 22px;
}
.main-wysiwyg ul li:before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--acct);
  left: -45px;
  top: 8px;
}
.main-wysiwyg ol {
  padding-left: 35px;
}
.main-wysiwyg ol li {
  margin-bottom: 15px;
  line-height: 22px;
}
.main-wysiwyg a {
  margin-top: 20px;
}
.main-wysiwyg a:hover, .main-wysiwyg a:focus, .main-wysiwyg a:active {
  text-decoration: none;
  color: var(--acct);
  background: var(--acc3);
  border: 2px solid var(--acct);
  box-shadow: none;
}

.main-wysiwyg a {
  padding: 8px 30px;
  color: var(--acc3); /*blueDark*/
  background: var(--acct); /*green*/
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 19px;
  border-radius: 20px;
  display: inline-block;
  border: 2px solid var(--acct); /*green*/
  cursor: pointer;
  font-family: "Open Sans Semibold";
  min-width: 165px;
  text-align: center;
}

.titleImagenTexto {
  font-size: 2.5rem;
  line-height: 52px;
  font-weight: 300;
  margin-bottom: 0.5rem;
  text-align: center;
}

#containerImgAvu {
  text-align: center;
}

#containerImgAvu img {
  width: 100%;
}

.legalFormMsg {
  font-size: 0.75rem;
}

.idiomaName {
  font-weight: 500;
  font-size: 1rem;
}

/* Media queries */
@media only screen and (min-width: 992px) {
  body.fixed-menu {
    padding-top: 6rem;
  }
  .menu-btn, .fixed-menu .menu-btn {
    display: none;
  }
  .header {
    height: 6rem;
  }
  .header-link {
    width: fit-content;
    height: 4rem;
    max-width: 25%;
  }
  .menu {
    padding: 0;
    position: absolute;
    width: auto;
    height: auto;
    min-height: auto;
    top: 2.25rem;
    left: auto;
    right: calc(50% - 24rem);
    background-color: transparent;
    z-index: 10;
    transform: none;
    transition: none;
  }

  .fixed-menu .menu {
    position: fixed;
  }
  .fixed-menu .navMenu {
    position: relative;
    padding: 0;
    left: auto;
    width: auto;
    height: auto;
    min-height: auto;
  }

  .menu.open, .navMenu.open {
    transform: translateX(0%);
  }

  .menu-item {
    display: inline-block;
    width: auto;
    border-bottom: none;
    padding: 0 0 0 2.5rem;
  }
  .fixed-menu .header {
    position: fixed;
  }
  .hero {
    margin: 0;
  }
  .hero .wrap {
    max-width: 50%;
  }
  .hero-img {
    margin-bottom: 1.5rem;
  }
  .videos {
    padding: 1rem 1.25rem 3rem;
  }
  .videos-title {
    font-size: 1.75rem;
  }
  .video-title {
    font-size: 1.5rem;
  }
  .video-title::before {
    top: 14px;
    right: 7px;
  }
  .video-title::after {
    top: 7px;
    right: 14px;
  }
  .show .video-iframe {
    max-height: 650px;
  }
  .contacto .hero {
    justify-content: flex-start;
  }
  .contacto .hero .wrap {
    margin: 0;
  }
  .contacto .hero-title {
    font-size: 2rem;
  }
  .contacto-title {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
    font-variation-settings: 'wght' 500;
    font-size: 1.5rem;
  }
  .contacto-list {
    display: flex;
    justify-content: center;
  }
  .contacto-item {
    width: 33.33%;
  }
  .documentacion-title {
    font-size: 2.125rem;
    margin: 5rem 1.25rem 3.125rem;
  }
  .contacto-form {
    max-width: 60rem;
  }
  .form-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .form-elem {
    width: 100%;
  }
  .form-elem.col2 {
    width: calc(50% - 1.25rem);
  }
  .form-elem.col3 {
    width: calc(33.33% - 1.25rem);
  }
  .form-btn {
    width: auto;
    margin: 10px;
  }
  .container {
    max-width: 720px;
  }

  .titleImagenTexto {
    text-align: left;
  }
}

@media only screen and (min-width: 1200px) {
  .wrap {
    max-width: 75rem;
  }
  .video-js {
    max-width: 75rem;
  }
  .video-container.show {
    max-height: 46.875rem;
  }
  .video-title {
    padding-right: 1.938rem;
  }

  .menu {
    right: calc(50% - 600px);
  }
  .footer .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-legal {
    padding: 0;
  }
  .footer-legal-item {
    margin: 0;
  }
  .container {
    max-width: 1140px;
  }
}

.dropdown.dropdown-lang {
  padding: 10px;
  margin-left: 1.875rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #FFFFFF;
  box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.4);
  padding: 0;
  min-width: 100%;
}	

.dropdown-menu.open {
  display: flex;
  flex-direction: column;
}

.dropdown-item {
  font-family: 'Open Sans', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 24px;
  color: #096EDC;
  padding: 16px 32px;

  &:hover {
    background-color: #006FF5;
    color: #FFFFFF;
  }

  /* &:last-child {
    background-color: #28344A;
    color: #FFFFFF;
    border-radius: 0 0 40px 0;
    padding: 16px 32px;

    &:hover {
      background-color: #006FF5;
    }
  } */
}

.dropdown-lang .dropdown-toggle {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  background-color: transparent;
  border: none;
  padding: 0;
  
  &:focus {
    color: var(--acc3);
  }
}