@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 {
  --treeprogram-white: #FFFEFF;
  --treeprogram-green: #00A443;
  --treeprogram-green-light: #DCEBE1;
  --treeprogram-dark: #00402A;
  --treeprogram-black: #3A3735;
  --treeprogram-brown: #615D5A;
  --treeprogram-border: #D8CFC7;
  --treeprogram-orange: #FF9C1A;
  --treeprogram-sand: #FFF5EC;
}

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

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

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

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

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

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


#treeprogram .swiper-autoheight,
#treeprogram .swiper-autoheight .swiper-slide {
  height: auto
}

#treeprogram .swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform,height
}

#treeprogram .swiper-fade.swiper-free-mode .swiper-slide {
  transition-timing-function: ease-out
}

#treeprogram .swiper-fade .swiper-slide {
  pointer-events: none;
  transition-property: opacity
}

#treeprogram .swiper-fade .swiper-slide .swiper-slide {
  pointer-events: none
}

#treeprogram .swiper-fade .swiper-slide-active,
#treeprogram .swiper-fade .swiper-slide-active .swiper-slide-active {
  pointer-events: auto
}

#treeprogram .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

#treeprogram .swiper-android .swiper-slide,
#treeprogram .swiper-wrapper {
  transform: translate3d(0px,0,0);
}

#treeprogram .swiper-pointer-events {
  touch-action: pan-y;
}

#treeprogram .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  position: relative;
  transition-property: transform;
}

#treeprogram .swiper-slide-invisible-blank {
  visibility: hidden;
}

#treeprogram .swiper-css-mode>.swiper-wrapper {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#treeprogram .swiper-css-mode>.swiper-wrapper::-webkit-scrollbar {
  display: none;
}

#treeprogram .swiper-horizontal.swiper-css-mode>.swiper-wrapper {
  scroll-snap-type: x mandatory;
}

#treeprogram .swiper-button-lock {
  display: none;
}

#treeprogram .swiper-slide {
  overflow: hidden;
}

#treeprogram .swiper-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
  max-width: 194px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#treeprogram .swiper-button-prev,
#treeprogram .swiper-button-next {
  width: 32px;
  height: 32px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  text-align: left;
  text-indent: -9999px;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin: 0;
}

#treeprogram .swiper-button-prev {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-prev.svg');
  margin-right: auto;
}

#treeprogram .swiper-button-next {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-next.svg');
}

#treeprogram .swiper-button-prev.swiper-button-disabled,
#treeprogram .swiper-button-next.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

#treeprogram .treeprogram_swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

#treeprogram .treeprogram_header {
    display: flex;
    padding: 16px 16px 1px;
}

#treeprogram .treeprogram_title {
  color: var(--treeprogram-green) !important;
  font-size: 30px;
  line-height: 1.13;
  font-style: normal;
  font-weight: 600;
  text-align: left;
  text-wrap: balance;
  width: calc(100% - 158px);
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

#treeprogram .treeprogram_logo {
    max-width: 48px;
}

#treeprogram .treeprogram_block {
    display: flex;
    flex-direction: column;
    padding: 25px 16px 24px;
    border-radius: 15px;
}

#treeprogram .treeprogram_block-green {
    background-color: var(--treeprogram-green-light);
}

#treeprogram .treeprogram_block-sand {
    background-color: var(--treeprogram-sand);
}

#treeprogram .treeprogram_subtitle {
    display: flex;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--treeprogram-dark);
    color: var(--treeprogram-dark);
    font-size: 21px;
    line-height: 1.14;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
}

#treeprogram .treeprogram_subtitle img {
    display: block;
    max-width: 25px;
    margin-right: 16px;
    margin-left: 4px;
}

#treeprogram .treeprogram_column {
    margin-bottom: 24px;
}

#treeprogram .treeprogram_column:last-child {
    margin-bottom: 0;
}

#treeprogram .treeprogram_column img {
    max-width: 142px;
    margin: 0 auto 8px;
}

#treeprogram .treeprogram_column p {
    color: var(--treeprogram-brown);
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 0;
}

#treeprogram .treeprogram_column p strong {
    font-weight: 600;
}

#treeprogram .treeprogram_item {
    padding-top: 5px;
    padding-bottom: 12px;
}

#treeprogram .treeprogram_item img {
    display: block;
    width: 100%;
    max-width: 79px;
    margin: 0 auto 8px;
}

#treeprogram .treeprogram_item:nth-of-type(2) img {
    max-width: 98px;
}

#treeprogram .treeprogram_item:nth-of-type(3) img {
    max-width: 190px;
}

#treeprogram .treeprogram_item_year {
    color: var(--treeprogram-dark);
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    margin: 0 auto 13px;
    display: block;
}

#treeprogram .treeprogram_item_text {
    color: var(--treeprogram-brown);
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    text-wrap: balance;
    max-width: 150px;
    margin: 0 auto 8px;
}

#treeprogram .treeprogram_item_text:nth-of-type(1):after {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    margin: 6px auto 8px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-flecha.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

#treeprogram .treeprogram_legend {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
    border-radius: 15px;
    background: var(--treeprogram-white);
    width: 100%;
}

#treeprogram .treeprogram_legend li {
    color: var(--treeprogram-brown);
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

#treeprogram .treeprogram_legend li:last-child {
    margin-bottom: 0;
}

#treeprogram .treeprogram_legend li img {
    max-width: 8px;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
}

#treeprogram .treeprogram_legend li:nth-of-type(2) img {
    max-width: 29px;
}

#treeprogram .treeprogram_legend li strong {
    color: var(--treeprogram-green);
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    display: inline-block;
    vertical-align: middle;
}

#treeprogram .treeprogram_media {
    position: relative;
    width: 100%;
    max-width: 258px;
    margin: 0 auto;
}

#treeprogram .treeprogram_media_img {
    display: block;
}

#treeprogram .treeprogram_media_img-1,
#treeprogram .treeprogram_media_img-2,
#treeprogram .treeprogram_media_img-3 {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
}

#treeprogram.treeprogramModal1 .treeprogram_media_img-1,
#treeprogram.treeprogramModal2 .treeprogram_media_img-2,
#treeprogram.treeprogramModal3 .treeprogram_media_img-3 {
    opacity: 1;
    visibility: visible;
}

#treeprogram .treeprogram_media_link {
    display: block;
    width: 32px;
    height: 32px;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-mas.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;
    z-index: 9;
}

#treeprogram .treeprogram_media_link-1 {
    top: 5%;
    left: 43%;
}

#treeprogram .treeprogram_media_link-2 {
    top: 33%;
    right: 0%;
}

#treeprogram .treeprogram_media_link-3 {
    top: 29%;
    left: -1%;
}

#treeprogram .treeprogram_modal {
    border-radius: 15px;
    border: 1px solid var(--treeprogram-border);
    background: var(--treeprogram-white);
    padding: 24px 16px 16px;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    max-width: 258px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s;
}

#treeprogram .treeprogram_modal.active {
    opacity: 1;
    visibility: visible;
    z-index: 9;
}

#treeprogram .treeprogram_modal_close {
    position: absolute;
    right: 8px;
    top: 10px;
    width: 24px;
    height: 24px;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-cerrar.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#treeprogram .treeprogram_modal_title {
    color: var(--treeprogram-green);
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    text-wrap: balance;
    margin-bottom: 8px;
}

#treeprogram .treeprogram_modal_text {
    color: var(--treeprogram-brown);
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
}

#treeprogram .treeprogram_modal_text strong {
    font-weight: 600;
}

#treeprogram .treeprogram_block_logo {
    display: block;
    width: 100%;
    max-width: 113px;
    margin: 0 auto 24px;
}

#treeprogram .treeprogram_block_logo:nth-of-type(2) {
    max-width: 194px;
}

#treeprogram .treeprogram_block_logo:nth-of-type(3) {
    max-width: 157px;
}

#treeprogram .treeprogram_note {
    color: var(--treeprogram-brown);
    font-size: 14px;
    line-height: 1.28;
    font-style: italic;
    font-weight: 400;
    text-align: left;
    width: 100%;
    margin-bottom: 8px;
}

#treeprogram .treeprogram_note:last-child {
    margin-bottom: 0;
}


@media (min-width: 700px) {

    #treeprogram .treeprogram_header {
        padding: 32px 32px 8px;
    }

    #treeprogram .treeprogram_title {
        font-size: 32px;
        width: calc(100% - 160px);
    }

    #treeprogram .treeprogram_logo {
        max-width: 140px;
    }

    #treeprogram .treeprogram_subtitle {
        font-size: 24px;
        line-height: 1.16;
    }

    #treeprogram .treeprogram_subtitle img {
        max-width: 30px;
    }

    #treeprogram .treeprogram_block {
        padding: 32px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #treeprogram .treeprogram_column {
        width: 50%;
        max-width: 235px;
        margin: 0 auto;
        padding-top: 20px;
    }

    #treeprogram .treeprogram_column img {
        max-width: 100%;
    }

    #treeprogram .treeprogram_media_link:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/programa-arboles/images/ico-mas-hover.svg');
    }    

    #treeprogram .treeprogram_legend {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 16px 20px;
        margin-top: 10px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #treeprogram .treeprogram_legend li {
        margin-top: auto;
        margin-bottom: auto;
        width: auto;
        max-width: none;
        white-space: nowrap;
    }

    #treeprogram .treeprogram_legend li:first-child {
        margin-right: auto;
    }

    #treeprogram .treeprogram_legend li img {
        width: 14px;
        max-width: 14px;
        margin-left: 8px;
        margin-right: 8px;
    }

    #treeprogram .treeprogram_legend li:nth-of-type(2) img {
        width: 48px;
        max-width: 48px;
    }

    #treeprogram .treeprogram_legend li strong {
        font-size: 32px;
    }

    #treeprogram .swiper-controls {
        display: none;
    }

    #treeprogram .treeprogram_swiper {
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    #treeprogram .treeprogram_swiper .swiper-wrapper {
        height: 100% !important;
        transform: translate3d(0px, 0px, 0px) !important;
        display: flex;
        flex-direction: row;
        width: 100% !important;
    }

    #treeprogram .treeprogram_item {
        width: 38.33% !important;
        margin: 0 auto !important;
        padding-top: 12px;
    }

    #treeprogram .treeprogram_item img {
        height: 130px;
        object-fit: contain;
        object-position: center top;
    }

    #treeprogram .treeprogram_item:nth-of-type(1) {
        max-width: 94px;
        margin-left: 0 !important;
    }

    #treeprogram .treeprogram_item:nth-of-type(2) {
        max-width: 125px;
    }

    #treeprogram .treeprogram_item:nth-of-type(3) {
        max-width: 200px;
        margin-right: 0 !important;
    }

    #treeprogram .treeprogram_item_text {
        max-width: 100%;
    }

    #treeprogram .treeprogram_item_text:nth-of-type(1):after {
        margin-top: 16px;
        margin-bottom: 14px;
    }

    #treeprogram .treeprogram_item:nth-of-type(1) img:nth-of-type(2) {
        max-width: 74px;
    }

    #treeprogram .treeprogram_item:nth-of-type(2) img:nth-of-type(1) {
        max-width: 97px;
    }

    #treeprogram .treeprogram_item:nth-of-type(2) img:nth-of-type(2) {
        max-width: 100%;
    }

    #treeprogram .treeprogram_item:nth-of-type(3) img:nth-of-type(1) {
        max-width: 190px;
    }

    #treeprogram .treeprogram_item:nth-of-type(3) img:nth-of-type(2) {
        max-width: 202px;
    }

    #treeprogram .treeprogram_block_logo {
        margin-top: auto;
        margin-bottom: auto;
    }

    #treeprogram .treeprogram_note:nth-of-type(1) {
        margin-top: 32px;
    }

    #treeprogram .treeprogram_block_logo:nth-of-type(1) {
        margin-left: 0;
    }

    #treeprogram .treeprogram_block_logo:nth-of-type(3) {
        margin-right: 0;
    }

    #treeprogram .treeprogram_media {
        max-width: 386px;
    }

    #treeprogram .treeprogram_modal#treeprogramModal1 {
        transform: none;
        top: 0;
        right: -55px;
        left: auto;
        max-width: 226px;
    }

    #treeprogram .treeprogram_media_link-2 {
        top: 47%;
        right: 4%;
    }

    #treeprogram .treeprogram_modal#treeprogramModal2 {
        transform: none;
        top: auto;
        bottom: 20px;
        right: -55px;
        left: auto;
        max-width: 267px;
    }

    #treeprogram .treeprogram_modal#treeprogramModal3 {
        transform: none;
        top: auto;
        bottom: 60px;
        left: -55px;
        right: auto;
        max-width: 267px;
    }

}

@media (min-width: 1169px) {

    

}
