/*** Estilos endesa - Login... registro... **/
/** 1. Generales:  */
/** 2. Layout: l-;  */
/** 3. Componente: c-;  */
/** 4. Paginas: p- */

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

/** 1. Generales */

body

p.error {
  color: var(--color-error);
  font-size: 1.4rem;
  font-weight: bold;
}

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

/** 4. Paginas */

.p-registro--acceso {
  background: transparent url('../images/bkg_acceso.jpg') no-repeat fixed right 0;
  -webkit-background-size: cover;
  background-size: cover;
  position: relative;
}

.p-registro--acceso .l-page__content {
  padding-top: 0;
}

.p-registro__top {
  -webkit-box-align: center;
  -ms-flex-align: center;
    align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row;
    flex-flow: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
    justify-content: space-between;
  overflow: hidden;
  padding: 2rem 0 4rem;
  width: 100%;
}


.p-registro__top a {
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
}

.p-registro__top a:hover {
  color: #fff;
  text-decoration: underline;
}

.p-registro__top img {
  max-width: 12rem;
  width: 100%;
}

@media screen and (min-width: 991px){
  .p-registro__top img {
    max-width: 17.2rem;
  }
}

.p-registro__pre--top {
  padding: 2rem 2rem 4rem;
}

.p-registro__content {
  overflow: hidden;
  width: 100%;
}

.p-registro__content h1 {
  color: #fff;
  font-size: 36px;
  margin: 0 0 4rem;
  max-width: 70rem;
  padding-left: 5rem;
  position: relative;
  width: 100%;
}

.p-registro__content h1::before {
  background-color: #fff;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 2rem;
}

.p-registro__content > h2 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 3rem;
}

@media screen and (min-width: 991px){
  .p-registro__content h1 {
    font-size: 50px;
  }
}

.p-registro--acceso .l-page__titular {display: none;}

.p-registro__content--center {
  justify-content: center;
}

.p-registro__box {
  padding: 3rem;
  width: 100%;
}
.p-registro__box:last-child {margin-bottom: 0;}
.p-registro__box h3, .p-registro__box h4 {text-align: left;}
.p-registro__box h3 {color: #FFF;font-size: 3rem;margin-bottom: 0.8rem;text-transform: uppercase;}
.p-registro__box h4 {color: #FFF;font-size: 2rem;margin-bottom: 4rem;}
.p-registro__box--detail h3 {margin-bottom: 1.5rem;}
.p-registro__box--detail h3 i {margin-right: 0.625rem;}
.p-registro__box--detail p {text-align: center;}

.p-registro__error {
  border: 1px solid var(--color-error);
  background-color: var(--color-bkg);
  font-weight: bold;
  margin: 0 auto 3rem;
  max-width: 40rem;
  padding: 1.2rem;
  text-align: center;
  width: 100%;
}

.p-registro__error p {
  color: var(--color-error);
}

.p-registro__error p:last-child {
  margin-bottom: 0;
}

.p-registro__success {
  border: 1px solid var(--color-success);
  background-color: var(--color-bkg);
  font-weight: bold;
  margin-bottom: 2rem;
  padding: 1.2rem;
  text-align: center;
}
.p-registro__success p {
  color: var(--color-success);
}
.p-registro__success p:last-child {
  margin-bottom: 0;
}

.p-registro .p-registro__content {margin-top: 2.25rem;}

.p-registro select {
  font-size: 1.4rem;
  width: 100%;
}

.p-registro__login {
  padding: calc(4vh) 0;
}

.p-registro__login h2,
.p-registro__login h3 {
  color: #fff;
  line-height: 1.2;
  margin: 0 0 2rem;
  max-width: 70rem;
  padding: 0;
  width: 100%;
}

.p-registro__login > form {
  margin: 0;
  max-width: 40rem;
  width: 100%;
}

.p-registro__login h2 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 4rem;
}

.p-registro__login h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 4rem;
  max-width: 55rem;
}

.p-registro--preregistro .p-registro__login h3 {
  margin-bottom: 0;
}

.p-registro__login > p {
  color: #fff;
  margin: 0 0 1.5rem;
  max-width: 40rem;
  width: 100%;
}

.p-registro__login .c-form {
  padding: 0;
  max-width: 69rem;
  margin: 0;
}

.p-registro__login .c-form form {
  margin: 0 auto;
  max-width: 69rem;
  overflow: hidden;
  width: 100%;
}

.p-registro__access {
    border-top: 0 none;
    margin-top: 1rem;
    overflow: hidden;
    padding: 0 0 1.5rem;
    width: 100%;
}

.p-access__content {
  margin: 0;
  max-width: 70rem;
  width: 100%;
}

.p-access__content .c-btn--back {
  color: #fff;
}

.p-access__content .c-btn--back::before {
  border-color: #fff;
}

.p-access__content .c-btn--back:hover {text-decoration: underline;}

.p-registro__access h2 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0 0 0.5rem;
  text-shadow: 0 0 1.6rem rgba(0,0,0,0.35);
}

.p-registro__access h3 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0 0 1.5rem;
  text-shadow: 0 0 1.6rem rgba(0,0,0,0.35);
}

.p-registro .c-btn--border {
  background-color: #fff;
}

.p-registro .c-btn--border:hover {
  background-color: var(--color-primary);
}

@media screen and (min-width: 480px){
  .c-tabs__description{
    padding: 2rem;
  }
}

@media (min-width: 768px) {

  /*** 4.1 p-registro-- flex **/

  [class*="p-registro--"] .l-container,
  [class*="p-registro--"] .l-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    flex: 1;
  }

  .p-registro--crear .l-container,
  .p-registro--reset .l-container {
    height: auto;
  }

  [class*="p-registro--"] .l-page__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    padding-bottom: 7.2rem;
    flex: 1;
    flex-flow: column;
  }

  [class*="p-registro--"] .l-page__content > .l-page__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    height: 100%;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-bottom: 7.2rem;
    flex: 1;
  }

  [class*="p-registro--"] .p-registro__top {
    margin-bottom: auto;
  }
  [class*="p-registro--"] .p-registro__login {
    margin-bottom: auto;
  }

  [class*="p-registro--"] .l-container .l-page {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    /* max-width: 50%; */
  }

  .p-registro__box {
    margin-bottom: 0;
    width: 48.5%;
  }

  .p-registro__box:first-child {
    border-right: 1px solid #e5e5e5;
  }

  .p-registro__box--total {width: 100%;}
  .p-registro--acceso .l-page__content {
      padding: 0 0 2rem;
      text-align: left;
      width: 100%;
  }
  .p-registro__top a .p-registro__logo--image {display: block; height: auto;width: 100%;}
}

/*** PRE Registro **/

.p-registro__form {
  background-color: #fff;
  box-shadow: 0 0 1.6rem rgba(0,0,0,0.35);
  padding: 4rem;
}

.p-registro__form h3 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.p-registro--pre .p-registro__form {
  max-width: 69rem;
}


/** Formulario compra */

.p-catalogo--confirmacion {
  background-color: var(--color-bkg);
}

.p-catalogo--confirmacion .c-top__image {
  max-width: 25rem;
}

.p-catalogo--confirmacion .l-page__content {
  padding: 1rem 0 2rem;
}

/** Reset */

.p-registro--confirmar .p-registro__box {padding: 0;}
.p-registro--confirmar .p-registro__box:first-child {
  border-right: 0 none;
}

.p-registro--confirmar .p-registro__box label {display: none;}

.p-registro--confirmar .c-form__button {text-align: center;}

.p-registro--confirmar .c-form__button .c-btn--border {
  left: 0;
  position: absolute;
  top: 0;
}

@media (min-width: 768px) {
  .p-registro--confirmar .c-form__button {text-align: center;}
}

/** Footer */

.l-footer > .l-page__container {
  max-width: 120rem;
  width: 94%;
}

.c-footer li a {
  color: #fff;
}

.p-registro--preregistro .c-footer li a {
  color: var(--color-primary);
}

.c-footer li::before {
  background-color: #fff;
}

.p-registro--preregistro .c-footer li::before {
  background-color: var(--color-primary);
}