@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Bold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-BoldItalic.woff2') format('woff2');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'IberPangea';
  src: url('/o/iberdrola-corporativo-theme/fonts/iberpangea/IberPangea-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

:root {
  --sprocess-green: #00A443;
  --sprocess-forest: #00402A;
  --sprocess-sand: #FFF5EC;
  --sprocess-grey: #615D5A;
  --sprocess-orange: #FF9C1A;
  --sprocess-border: #D8CFC7;
}

#sprocess {
  width: 100%;
  max-width: 362px;
  margin: 20px auto;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  background: var(--sprocess-sand);
  padding: 41px 34px 41px 31px;
  font-family: 'IberPangea'; 
  display: flex;
  flex-direction: column; 
  overflow: hidden;
}

#sprocess * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'IberPangea' !important;
}

#sprocess .sprocess_title {
  color: var(--sprocess-green) !important;
  font-family: Inter;
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -1px;
  text-align: left;
  margin-bottom: 54px;
}

#sprocess .sprocess_media {
  display: block;
  width: 367px;
  margin-left: auto;
  margin-right: -54px;
  margin-bottom: 59px;
}

#sprocess .sprocess_list {
  list-style: none;
  margin: 0;
  padding: 0;
}

#sprocess .sprocess_item {
  list-style: none;
  width: 100%;
  max-width: 296px;
  margin: 0 auto 42px;
}

#sprocess .sprocess_item:last-child {
  margin-bottom: 24px;
}

#sprocess .sprocess_icon {
  display: block;
  background: var(--sprocess-green);
  padding: 17px 21px 20px;
  display: flex;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

#sprocess .sprocess_item:nth-of-type(even) .sprocess_icon {
  background-color: var(--sprocess-orange);
}

#sprocess .sprocess_icon strong {
  color: white;
  font-size: 45px;
  line-height: 1;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.5px;
  text-align: left;
  margin-right: 32px;
  margin-top: auto;
  border-bottom: 1px solid white;
  padding-bottom: 5px;
}

#sprocess .sprocess_item p {
  padding: 16px 22px 27px 21px;
  text-align: left;
  margin: 0;
  color: var(--sprocess-grey);
  font-size: 16px;
  line-height: 19px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: -0.5px;
  background-color: white;
  border: 1px solid var(--sprocess-border);
  border-top: none;
  border-radius: 0 0 10px 10px;
}

#sprocess .sprocess_item p strong {
  font-weight: 500;
}

#sprocess .sprocess_note {
  color: var(--sprocess-grey);
  font-size: 14px;
  line-height: 18px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: -0.5px;
  text-align: left;
  max-width: 296px;
  margin: 0 auto;
}

@media (min-width: 728px) {

  #sprocess {
    max-width: 975px;
    padding: 36px 45px;
  }

  #sprocess .sprocess_title {
    margin-bottom: 31px;
  }

  #sprocess .sprocess_media {
    margin-bottom: 26px;
    margin-right: -66px;
  }

  #sprocess .sprocess_list {
    display: flex;
    flex-wrap: wrap;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/proceso-seleccion/images/bg-dots.svg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 75px auto;
  }

  #sprocess .sprocess_item {
    width: 47%;
    max-width: 411px;
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 54px;
  }

  #sprocess .sprocess_item:nth-of-type(odd) {
    transform: translateY(-148px);
    margin-left: 0;
  }

  #sprocess .sprocess_item:nth-of-type(even) {
    flex-direction: row;
    margin-right: 0;
  }

  #sprocess .sprocess_item:last-child {
    margin-bottom: 0;
  }

  #sprocess .sprocess_icon {
    min-width: 159px;
    border-radius: 0 10px 10px 0;
    flex-direction: column;
    padding: 12px 23px 37px;
  }

  #sprocess .sprocess_item:nth-of-type(even) .sprocess_icon {
    border-radius: 10px 0 0 10px;
    padding-top: 7px;
  }

  #sprocess .sprocess_icon strong {
    width: 72px;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: auto;
    margin-top: 0;
    padding-bottom: 9px;
  }

  #sprocess .sprocess_item:nth-of-type(even) .sprocess_icon strong {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
  }

  #sprocess .sprocess_icon img {
    max-width: 69px;
    margin-left: auto;
    margin-right: 0;
    margin-top: auto;
    margin-bottom: 0;
  }

  #sprocess .sprocess_item:nth-of-type(even) .sprocess_icon img {
    margin-left: 0;
    margin-right: auto;
  }

  #sprocess .sprocess_item p {
    min-width: 60%;
    padding: 32px 17px 14px 27px;
    min-height: 233px;
    border-top: 1px solid var(--sprocess-border);
    border-right: none;
    border-radius: 10px 0 0 10px;
  }

  #sprocess .sprocess_item:nth-of-type(even) p {
    border-radius: 0 10px 10px 0;
    border-right: 1px solid var(--sprocess-border);
    border-left: none;
  }

  #sprocess .sprocess_item:last-child .sprocess_icon img {
    min-width: 96px;
  }

  #sprocess .sprocess_note {
    margin-left: 0;
    width: 47%;
    max-width: 407px;
    transform: translateY(-80px);
    margin-bottom: -50px;
  }
  
}

@media (min-width: 980px) {

  #sprocess .sprocess_item:last-child p,
  #sprocess .sprocess_item:last-child .sprocess_icon {
    max-height: 233px;
  }

  #sprocess .sprocess_media {
    margin-right: -46px;
  }

}
