@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 {
  --trends-green: #00A443;
  --trends-brown: #615D5A;
  --trends-black: #000000;
  --trends-orange-light: #FFF5EC;
  --trends-white: #FFFEFF;
  --trends-green-dark: #00402A;
}

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

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

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

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

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

#trends .trends_title {
  color: var(--trends-green) !important;
  font-size: 24px;
  line-height: 1.12;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px;
}

#trends .trends_title strong {
  display: block;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
}

#trends .trends_list {
  counter-reset: my-counter;
  border-left: 1px solid var(--trends-green-dark);
  margin-left: 14px;
  position: relative;
  max-width: 370px;
  margin: 0 auto;
}

#trends .trends_list:before,
#trends .trends_list:after {
  content: '' !important;
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--trends-orange-light);
  position: absolute;
  top: 0;
  left: -15px;
}

#trends .trends_list:after {
  top: auto;
  bottom: 0;
  height: 130px;
  z-index: 0;
}

#trends .trends_list_item {
  counter-increment: my-counter;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  padding-left: 44px;
}

#trends .trends_list_item:after {
  content: '' !important;
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--trends-green-dark);
  position: absolute;
  top: 30px;
  left: 15px;
}

#trends .trends_list_item:before {
  content: counter(my-counter) !important;
  display: block;
  width: 32px;
  height: 32px;
  background-color: var(--trends-green-dark);
  border-radius: 100%;
  position: absolute;
  top: 15px;
  left: -16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trends-white) !important;
  font-size: 24px !important;
  line-height: 1;
  font-weight: 500;
  z-index: 1;
  margin: 0 !important;
}

#trends .trends_list_icon {
  max-width: 66px;
  margin-bottom: 3px;
}

#trends .trends_list_text {
  color: var(--trends-brown);
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  font-weight: 300;
}

#trends .trends_list_text strong {
  color: var(--trends-green-dark);
  font-size: 21px;
  line-height: 1;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}


@media (min-width: 746px) {

  #trends {
    max-width: 746px;
    padding: 27px 32px 50px;
    position: relative;
  }

  #trends .trends_title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 33px;
  }

  #trends .trends_list {
    max-width: 100%;
    margin-left: 20px;
  }

  #trends .trends_list:after {
    height: 30px;
  }

  #trends .trends_list_item {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-left: 63px;
    margin-bottom: 5px;
  }

  #trends .trends_list_item:after {
    width: 50px;
    top: 40px;
  }

  #trends .trends_list_item:before {
    top: 25px;
  }

  #trends .trends_list_text {
    padding-left: 62px;
    position: relative;
  }

  #trends .trends_list_text:before {
    content: '' !important;
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--trends-green-dark);
    position: absolute;
    top: 50%;
    left: -1px;
    transform: translateY(-50%);
  }

  #trends .trends_list_icon {
    max-width: 83px;
    margin-bottom: 0;
  }

}

@media (min-width: 960px) {

  #trends {
    max-width: 980px;
    padding-top: 30px;
    padding-bottom: 80px;
  }

  #trends .trends_title {
    margin-bottom: 8px;
  }

  #trends .trends_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    border: none;
    background-image: linear-gradient(90deg, transparent, transparent 50%, var(--trends-green-dark) 50%, transparent calc(50% + 1.5px));
  }

  #trends .trends_list:after,
  #trends .trends_list:before {
    left: 50%;
    transform: translateX(-50%);
  }

  #trends .trends_list_item {
    width: 50%;
    margin-bottom: -20px;
    align-items: flex-start;
    height: 93px;
  }

  #trends .trends_list_item:nth-of-type(odd) {
    margin-left: 50%;
  }

  #trends .trends_list_item:nth-of-type(even) {
    flex-direction: row-reverse;
    padding-left: 0;
    padding-right: 63px;
  }

  #trends .trends_list_item:nth-of-type(even):before {
    left: auto;
    right: -16px;
  }

  #trends .trends_list_item:nth-of-type(even):after {
    left: auto;
    right: 15px;
  }

  #trends .trends_list_text {
    padding-top: 27px;
  }

  #trends .trends_list_item:nth-of-type(odd) .trends_list_text {
    padding-left: 32px;
  }

  #trends .trends_list_item:nth-of-type(even) .trends_list_text {
    padding-left: 0;
    padding-right: 32px;
    text-align: right;
  }

  #trends .trends_list_text:before {
    width: 18px;
    top: 40px;
  }

  #trends .trends_list_item:nth-of-type(even) .trends_list_text:before {
    left: auto;
    right: 0;
  }

  /**/

  #column-2 #trends {
    max-width: 746px;
  }

  #column-2 #trends .trends_list_item:after {
    width: 20px;
  }

  #column-2 #trends .trends_list_item {
    padding-left: 33px;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even) {
    padding-left: 0;
    padding-right: 33px;
  }

}

@media (min-width: 960px) and (max-width: 1168px) {
  
  #column-2 #trends .trends_title {
    margin-bottom: 30px;
  }

  #column-2 #trends .trends_list {
    display: block;
    border-left: 1px solid var(--trends-green-dark);
    background-image: none;
    margin-left: 16px;
  }

  #column-2 #trends .trends_list:after,
  #column-2 #trends .trends_list:before {
    left: -15px;
    transform: none;
    height: 46px;
  }

  #column-2 #trends .trends_list_item {
    padding-left: 33px;
    width: 100%;
    margin-left: 0;
    margin-bottom: 10px;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even) {
    flex-direction: row;
    padding-left: 33px;
    padding-right: 0;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even):before {
    left: -16px;
    right: auto;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even):after {
    left: 15px;
    right: auto;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even) .trends_list_text {
    padding-left: 32px;
    padding-right: 0;
    text-align: left;
  }

  #column-2 #trends .trends_list_item:nth-of-type(even) .trends_list_text:before {
    left: -1px;
    right: auto;
  } 

}

@media (max-width: 440px) {
  #trends .trends_list {
    margin-left: 15px;
  }
}
