@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;
}

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

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

:root {
  --esource-green: #00A443;
  --esource-white: #FFFFFF;
  --esource-black: #3A3735;
  --esource-yellow: #FFB536;
  --esource-dark: #00402A;
}

#esource {
  width: 100%;
  max-width: 980px;
  padding: 28px 20px 25px;
  margin: 0 auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  background-color: var(--esource-white);
}

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

#esource h2 {
  margin-top: 0 !important;
}

#esource ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#esource ul li:before {
  content: none !important;
  display: none !important;
}

#esource img {
  display: block;
  width: 100%;
}

#esource .esource_title {
  color: var(--esource-green) !important;
  font-size: 36px;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  margin: 0 auto 35px 0;
}

#esource .esource_kicker {
  color: var(--esource-dark) !important;
  font-size: 21px;
  line-height: 1;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  display: block;
  margin-bottom: 10px;
}

#esource .esource_list_item {
  margin-bottom: 18px;
}

#esource .esource_list_image {
  margin: 0 auto 18px;
}

#esource .esource_list_text {
  border: 1px solid var(--esource-yellow);
  border-radius: 10px;
  padding: 19px 34px 21px 19px;
  text-align: left;
  color: var(--esource-black);
  font-size: 16px;
  line-height: 20px;
  font-style: normal;
  font-weight: normal;
}

@media (min-width: 700px) {

  #esource {
    max-width: 764px;
    padding: 40px 45px 26px;
  }

  #esource .esource_title {
    margin-bottom: 45px;
  }

  #esource .esource_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  #esource .esource_list_item {
    width: calc(50% - 15px);
    margin-bottom: 45px;
  }

  #esource .esource_list_item:nth-of-type(4) {
    /* margin-top: -119px; */
    margin-top: -123px;
  }

  #esource .esource_list_item:nth-of-type(6) {
    margin-top: -30px;
  }

  #esource .esource_list_item:last-child {
    width: 100%;
    display: flex;
    margin-bottom: 0;
  }

  #esource .esource_list_image {
    margin-bottom: 24px;
  }

  #esource .esource_list_item:last-child .esource_list_image {
    margin-bottom: 0;
  }
  
  #esource .esource_list_text {
    padding: 26px 27px 30px 25px;
  }

  #esource .esource_list_item:last-child .esource_list_text {
    margin-top: auto;
    margin-left: 30px;
    margin-bottom: 26px;
  }

}

@media (min-width: 960px) {

  #esource {
    max-width: 980px;
    padding-left: 29px;
    padding-right: 29px;
  }

  #esource .esource_title {
    margin-bottom: 33px;
  }

  #esource .esource_list_item {
    width: calc(33.33% - 7px);
    max-width: 300px;
    margin-bottom: 130px;
  }

  #esource .esource_list_text {
    padding-bottom: 18px;
  }

  #esource .esource_list_item:last-child {
    margin-top: -115px;
    max-width: 613px;
  }

  #esource .esource_list_image {
    max-width: 300px;
  }

  #esource .esource_list_item:last-child .esource_list_text {
    margin-left: 10px;
    margin-bottom: 23px;
  }

  #esource .esource_list_item:nth-of-type(4) {
    margin-top: -114px;
  }

  /**/

  #column-2 #esource {
    padding-left: 40px;
    padding-right: 26px;
  }

  #column-2 #esource .esource_list_item {
    max-width: calc(50% - 15px);
    margin-bottom: 65px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(4) {
    margin-top: -61px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(6) {
    margin-top: -16px;
  }

  #column-2 #esource .esource_list_text {
    padding-bottom: 30px;
  }

  #column-2 #esource .esource_list_item:last-child {
    margin-top: 0;
    max-width: 100%;
  }

  #column-2 #esource .esource_list_image {
    max-width: 100%;
  }

  #column-2 #esource .esource_list_item:last-child .esource_list_text {
    margin-left: 30px;
    margin-bottom: 26px;
  }

}

@media (min-width: 1100px) {
  
  #column-2 #esource .esource_list_item {
    margin-bottom: 85px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(4) {
    margin-top: -77px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(6) {
    margin-top: -20px;
  }

}


@media (min-width: 1200px) {
  
  #column-2 #esource .esource_list_item {
    margin-bottom: 90px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(4) {
    margin-top: -84px;
  }

  #column-2 #esource .esource_list_item:nth-of-type(6) {
    margin-top: -22px;
  }
  
}
