@import url("https://use.typekit.net/wsh0pey.css");

* {
  font-family: "lft-etica", sans-serif !important;
  box-sizing: border-box
}


body {
  background-color: #fff;
  margin: 0;
  padding: 0;
}
h1, h2 {
  font-weight: 600
}
h3 {
  margin-top: 0
}
a {
  text-decoration: none
}
img {
  max-width: 100%;
  vertical-align: middle;
  border-style: none;
}


header {
  background: #009fdf;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}
.container {
  padding: 0;
  border-radius: 0;
}
header .logo {
  padding: 15px 90px;
}
header .logo img {
  max-width: 110px;
}
header #idioma {
  margin: 0;
  padding: 0 90px 0 0;
  justify-content: flex-end;
  justify-items: flex-end;
  display: flex;
  height: 30px;
  align-items: center;
  width: 100%;
  max-width: 100%;
}
header #idioma .form-field {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 10px;
  align-items: center;
  justify-content: flex-end;
}
header #idioma .form-field label {
  color: #fff;
  margin: 0
}
header #idioma select {
  padding: 3px 6px;
  font-size: 13px
}

.hero {
  background: #86D3FF;
  padding: 5vw
}
.hero .container {
  display: grid;
  grid-template-columns: 40% minmax(0, 60%);
  grid-gap: 50px
}
.texto {
   display: block
}

form {
  margin: 50px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px
}
.checkbox input[type="checkbox"] {
  background-color: #FFFFFF;
  height: 16px;
  width: 16px;
  display: block;
  padding: 0 0 0 0;
  margin: 0;
  background-position: 0 0;
  cursor: pointer;
  position: relative;
  top: 20px;
  left: 0px;
  appearance: none;
}
input[type="text"],
input[type="email"],
input[type="number"],
select {
  width: 100%;
  border-radius: 0;
  border: 1px solid #ccc;
  padding: 10px;
  outline: none;
  font-size: 16px

}
.form-field:not(.checkbox) label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #666
}
.form-field.required label::after {
  content: '*';
  display: inline-block;
  margin-left: 3px
}
.checkbox label {
  position: relative;
  padding-left: 25px;
  padding-right: 30px;
  margin-bottom: 0;
  cursor: pointer;
  display: inline-block;
}
.checkbox label::before {
  content: "";
  border: solid 1px #DCDCDC;
  background-color: #FFFFFF;
  height: 16px;
  width: 16px;
  display: inline-block;
  padding: 0 0 0 0;
  margin: 0;
  background-position: 0 0;
  cursor: pointer;
  position: absolute;
  top: 2px;
  left: 0;
}
input[type="checkbox"]:checked + label::after {
    content: "";
    background: white;
    height: 16px;
    width: 16px;
    display: inline-block;
    padding: 0 0 0 0;
    margin: 0;
    background-position: 0 0;
    cursor: pointer;
    position: absolute;
    top: 7px;
    left: -5px;
    border: none;
    background: url(https://www.uic.es/themes/custom/uic_theme/imgs/checked.svg) no-repeat;
}
span.options {
  display: flex
}
span.options label {
  font-size: 16px;
  color: #000;
  margin-right: 10px
}

.commercials {
  margin-top: 20px;
  text-align: center;
}
.success-message {
  text-align: center;
  color: #28a745;
  font-weight: bold;
  margin: 20px 0;
}
.error-message {
  text-align: center;
  color: #dc3545;
  font-weight: bold;
  margin: 20px 0;
}
.avisolegal {
  text-align: center;
  grid-column: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center
}
.avisolegal label {
  margin: 0 0 0 10px
}
.avisolegal a {
  color: #009FDF;
}
.avisolegal a:hover {
  text-decoration: underline
}
.button {
  text-align: center;
  margin-top: 20px;
  grid-column: 1 / 3;
}
button, a.button {
  background-color: #3279B3;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  text-decoration: none;
  font-weight: 600;
  max-width: max-content;
  margin-top: 30px
}
button:hover, a.button:hover {
  background-color: #000 
}


.confirmacion,
#bajaevento {
  margin: 50px auto;
  max-width: 800px;
  width: 90vw;
  text-align: center;
  display: block;
}
.texto {
  font-size: 18px;
  line-height: 1.3
}


/******** FOOTER ******/
footer {
   min-height: 50px;
   display: block
}
footer .ccontainer-fluid {
  padding: 66px 75px 35px;
  display: grid;
  grid-template-columns: 30% 70%
}
footer .logo img {
  width: 100%;
  max-width: 290px;
}
footer .footer-social {
  text-align: right
}
footer .footer-social {
  flex: 0 0 100%;
  max-width: 100%;
}
footer .footer-social > div {
    display: inline-block;
}
body footer .footer-social > div img {
    padding: 5px 10px;
}
footer .footer-social > div > a > img:nth-last-child(1) {
    display: none;
}
footer .footer-social > div > a:hover > img:nth-child(1) {
    display: none;
}
body footer .footer-social > div > a:hover > img:nth-last-child(1) {
    display: inline-block;
}
.lower-footer .container {
  background: #dcdcdc;
  padding: 37px 75px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: 0;
  margin-left: 0;
  align-items: center;
}
.lower-footer .col-xxl-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.lower-footer .col-xxl-5 {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
.lower-footer .col-xxl-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.lower-footer p {
  font-weight: 300;
  font-size: 16px;
}
.lower-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lower-footer ul li {
    display: inline-block;
    width: auto !important;
    padding: 0;
}
.lower-footer ul li a {
    font-size: 16px;
    line-height: 18px;
      border-right: 1px solid #707070;
    font-weight: 300;
  padding: 0 10px 0 5px;
  color: #000
}
.lower-footer ul a:hover {
    color: #2192CE;
    text-decoration: none;
}
.lower-footer ul li:nth-last-child(1) a {
    border-right: 0 !important;
}
.lower-footer .col-xxl-3 ul {
  text-align: right !important
}
.lower-footer .col-xxl-3 ul li a {
  color: #2A6493;
    border-right: 1px solid #2A6493;
    font-weight: 600;
}
.lower-footer .col-xxl-3 ul li a:hover {
  color: #2A6493;
  text-decoration: underline
}

/* Spinner Styles */
.loader {
  width: 60px;
  aspect-ratio: 1;
  --_g: no-repeat radial-gradient(farthest-side, #009fdf 90%, #0000);
  background: var(--_g), var(--_g), var(--_g);
  background-size: 25% 25%;
  animation: l17 1s infinite;
  margin: 0 auto;
}

@keyframes l17 {
  0% { background-position: 0% -100%, 50% -100%, 100% -100% }
  16.67% { background-position: 0% 50%, 50% -100%, 100% -100% }
  33.33% { background-position: 0% 50%, 50% 50%, 100% -100% }
  45%, 55% { background-position: 0% 50%, 50% 50%, 100% 50% }
  66.67% { background-position: 0% 200%, 50% 50%, 100% 50% }
  83.33% { background-position: 0% 200%, 50% 200%, 100% 50% }
  100% { background-position: 0% 200%, 50% 200%, 100% 200% }
}

/* Loading state */
.loading-container {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 300px;
}
.loading-text {
  margin-top: 20px;
  color: #00416b;
  font-size: 18px;
}
.form-container-alert {
  display: none;
  justify-content: center;
  align-items: center;
  height: 100%;
  max-width: 736px;
  margin: 0 auto;
  padding: 40px 20px 56px 20px;
  background-color: white;
  text-align: center;
}


@media (max-width: 580px) {
   header .logo {
      padding: 15px 5vw;
      text-align: left;
   }
   header .logo img {
      width: 100px
   }
   header #idioma {
    padding-right: 5vw
  }
   .hero .container {
     display: flex;
     flex-direction: column;
     grid-gap: 10px;
   }
    #formContainer {
      width: 90vw;
      margin: 0 auto;
   }
  #formContainer form {
    display: flex;
    flex-direction: column;
  }
  footer {
      margin-top: 0;
      border-top: 1px solid #D1D1D1;
      padding: 14px 0 0;
  }
  footer .ccontainer-fluid {
    padding: 0;
    display: block;
  }
  footer .ccontainer-fluid .logo img {
    max-width: 50%;
    margin-left: 5vw
  }
  footer .footer-social {
    border-top: 1px solid #D1D1D1;
    display: block;
    padding: 14px calc(5vw - 10px);
    margin-top: 14px;
    text-align: left;
  }
  .lower-footer .container {
    padding: 25px 15px 20px;
    display: grid;
    text-align: center
  }
  .lower-footer .container div {
    width: 100%;
    max-width: 100%;
  }
  body .order-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  body .order-2 {
    -ms-flex-order: 2;
    order: 2;
  }
  body .order-3 {
    -ms-flex-order: 3;
    order: 3;
  }
  body .lower-footer .col-xxl-3 ul {
    text-align: center !important
  }
  .lower-footer ul li a,
  .lower-footer ul li a {
        font-size: 14px;
        line-height: 16px;
    }
  .lower-footer p {
        font-size: 16px !important;
        margin-top: 9px;
    }
  .lower-footer .col-xxl-5 ul a {
        font-size: 13px !important;
        line-height: 19px !important;
    }
}