

/** 1. Generales */

body {
  background-color: var(--bkg);
}

p.error {
  color: var(--color-error);
  font-size: calc(14 / 16 * 1rem);
  font-weight: 600;
}

p.success {
  color: var(--color-success);
  font-size: calc(14 / 16 * 1rem);
  font-weight: 600;
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 2. Layout */

.l-page {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
    flex-grow: 1;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
    justify-content: flex-start;
  padding: 0;
  width: 100%;
}

.l-page__content {
  flex: 1;
  display: flex;
  flex-flow: column;
  align-items: stretch;
}

.l-page__content .l-page__container {
  padding: 2.5rem 0;
  justify-content: space-between;
  display: flex;
  flex-flow: column;
  flex: 1;
  gap: calc(25 / 16 * 1rem);
}

.l-footer .l-page__container {
  max-width: calc(1440 / 16 * 1rem);
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 3. Componentes */

.c-form {
  background-color: #fff;
  max-width: calc(450 / 16 * 1rem);
  padding: calc(40 / 16 * 1rem);
  width: 100%;
}

.c-form--register {
  max-width: calc(676 / 16 * 1rem);
}

.p-registro--register .p-registro__login--register {
  justify-content: center;
  width: 100%;
}

.p-registro--register .c-form--register {
  background-color: var(--font-color-quaternary);
  border-radius: calc(20 / 16 * 1rem);
  box-shadow: 0 0 calc(8 / 16 * 1rem) rgba(224, 98, 136, 0.35);
  margin: 0 auto;
  width: 100%;
}

.p-registro--register .c-form__content {
  padding: 0;
}

.c-form input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
}

.c-form__section--fecha [id="form_fechanacimiento"] {
  display: none;
}

.c-form h2 {
  color: var(--font-color-primary);
  font-family: var(--font-text-secondary);
  font-size: calc(30 / 16 * 1rem);
  font-weight: 300;
  margin: 0 0 calc(15 / 16 * 1rem);
}

.c-form__content {
  background-color: #fff;
  border-radius: 0;
  padding: calc(25 / 16 * 1rem) 0;
}

.c-form__scroll {
  height: calc(310 / 16 * 1rem);
  overflow: auto;
  overflow: overlay;
  width: 100%;
}

.c-form__scroll::-webkit-scrollbar {
  border-radius: calc(5 / 16 * 1rem);
  display: initial;
  height: calc(10 / 16 * 1rem);
  background-color: #efefef;
  width: calc(4 / 16 * 1rem);
}

.c-form__scroll:hover::-webkit-scrollbar {
  display: initial;
}

.c-form__scroll::-webkit-scrollbar-thumb {
  background-color: var(--color-secondary);
  -webkit-border-radius: calc(5 / 16 * 1rem);
  border-radius: calc(5 / 16 * 1rem);
}

.c-form__scroll .c-form__section,
.c-form__scroll .c-form__info,
.c-form__scroll .c-form__button,
.c-form__scroll .c-form__text {
  width: 98%;
}

.c-button__mobile {
  display: none;
}

.l-page--access {
  position: relative;
}

.p-registro--access .l-page__content {
  position: relative;
}

.p-registro__description.is-hidden {
  display: none;
}

.p-registro__login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  gap: calc(30 / 16 * 1rem);
  position: relative;
  z-index: 1;
  margin: auto;
  max-width: calc(560 / 16 * 1rem);
  width: 100%;
}

.p-registro__login--form-open {
  justify-content: center;
}

.p-registro--access #js-login-form {
  background-color: var(--font-color-quaternary);
  border-radius: calc(20 / 16 * 1rem);
  box-shadow: 0 0 calc(8 / 16 * 1rem) rgba(224, 98, 136, 0.35);
  box-sizing: border-box;
  display: none;
  margin: 0 auto;
  max-width: calc(380 / 16 * 1rem);
  padding: calc(40 / 16 * 1rem);
  position: relative;
  width: 100%;
}

.p-registro--access #js-login-form.show {
  display: block;
}

.p-registro--access #js-login-form .c-form__content {
  padding: calc(25 / 16 * 1rem) 0 0;
}

.p-registro--access .c-form__close {
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: calc(20 / 16 * 1rem);
  line-height: 1;
  position: absolute;
  right: calc(10 / 16 * 1rem);
  top: calc(10 / 16 * 1rem);
  z-index: 1;
}

@media (min-width: 991px) {
  .p-registro--access .l-page::before {
    display: none;
  }
}

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

/** 4. Paginas */

.p-registro h1 {
  color: var(--font-color-primary);
  font-size: calc(25 / 16 * 1rem);
  margin: 0 0 calc(25 / 16 * 1rem);
  position: relative;
  width: 100%;
}

.p-registro .c-form h1 {
  font-size: calc(30 / 16 * 1rem);
  margin: 0 0 calc(15 / 16 * 1rem);
}

.p-registro .c-form h2.c-form__subtitle,
.p-registro .c-form legend.c-form__subtitle {
  color: var(--font-color-primary);
  font-family: var(--font-text-secondary);
  font-size: calc(22 / 16 * 1rem);
  font-weight: 300;
  margin: calc(25 / 16 * 1rem) 0 calc(15 / 16 * 1rem);
  padding: 0;
  width: 100%;
}

.p-registro .c-form__fieldset {
  border: 0;
  margin: 0;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.p-registro__description {
  margin: 0 auto;
  max-width: calc(560 / 16 * 1rem);
  width: 100%;
}

.p-registro__description > p {
  color: var(--font-color-secondary);
  font-size: calc(16 / 16 * 1rem);
  margin-bottom: calc(25 / 16 * 1rem);
}

@media (min-width: 768px) {
  .p-registro h1 {
    font-size: calc(50 / 16 * 1rem);
  }
}

.p-registro__logo {
  margin: 0 auto;
  max-width: calc(560 / 16 * 1rem);
  width: 100%;
}

.p-registro__logo img {
  max-width: calc(240 / 16 * 1rem);
  width: 100%;
}

.p-registro__image {
  background: transparent url('../images/bkg.jpg') no-repeat scroll right bottom;
  background-size: cover;
  height: calc(270 / 16 * 1rem);
  width: 100%;
}

@media (min-width: 768px) {
  .p-registro__image {
    height: auto;
    width: calc(370 / 16 * 1rem);
  }
}

@media (min-width: 991px) {
  .p-registro__image {
    width: calc(560 / 16 * 1rem);
  }
}

@media (min-width: 1280px) {
  .p-registro__image {
    width: calc(670 / 16 * 1rem);
  }
}

@media (min-width: 1440px) {
  .p-registro__image {
    width: calc(870 / 16 * 1rem);
  }
}