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

#generations {
    width: 100%;
    max-width: 980px;
    padding: 16px;
    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(--generations-border);
    background: var(--generations-white);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

#generations .swiper-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 72px;
    left: 10px;
}

#generations .swiper-button-prev,
#generations .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 8px;
}

#generations .swiper-button-prev {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/generacion-x-y-z/images/ico-prev.svg');
}

#generations .swiper-button-next {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/generacion-x-y-z/images/ico-next.svg');
}

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

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

#generations .generations_item {
    display: flex;
    flex-direction: column;
}

#generations .generations_title {
    color: var(--generations-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 600;
    text-align: left;
    margin-bottom: 24px;
}

#generations .generations_item {
  
}

#generations .generations_header {
    padding-top: 113px;
    padding-left: 20px;
    padding-bottom: 18px;
    position: relative;
}

#generations .generations_subtitle {
    color: var(--generations-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    margin-bottom: 8px;
}

#generations .generations_date {
    color: var(--generations-brown) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
}

#generations .generations_image {
    width: 50%;
    max-width: 110px;
    position: absolute;
    bottom: 0;
    right: 12px;
}

#generations .generations_item:nth-of-type(2) .generations_image {
    max-width: 133px;
}

#generations .generations_item:nth-of-type(3) .generations_image {
    max-width: 97px;
}

#generations .generations_list {
    padding: 16px 20px;
    border-radius: 15px;
    background-color: var(--generations-green-light);
}

#generations .generations_list li:not(:first-child) {
    margin-top: 11px;
    border-top: 1px solid var(--generations-dark);
    padding-top: 12px;
}

#generations .generations_subsubtitle {
    color: var(--generations-dark) !important;
    font-size: 16px;
    line-height: 1;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-align: left;
    margin-bottom: 8px;
}

#generations .generations_text {
    color: var(--generations-dark) !important;
    font-size: 14px;
    line-height: 1.42;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin-bottom: 0;
}

#generations .generations_button {
    display: none;
}

@media (min-width: 700px) {

    #generations {
        padding: 31px 31px 10px;
    }

    #generations:before {
        content: '';
        display: block;
        width: 100%;
        height: 19px;
        background-color: var(--generations-sand);
        position: absolute;
        bottom: 0;
        left: 0;
    }

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

    #generations .generations_button {
        display: block;
        width: 32px;
        min-width: 32px;
        height: 32px;
        min-height: 32px;
        display: block;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/generacion-x-y-z/images/ico-more.svg');
        cursor: pointer;
        text-align: left;
        text-indent: -9999px;
        overflow: hidden;
        margin: 8px auto 32px;
        transition: all 0.25s;
        transform: rotate(0deg);
    }

    #generations .generations_button:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/generacion-x-y-z/images/ico-more-hover.svg');
    }

    #generations .active .generations_button {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/generacion-x-y-z/images/ico-more-hover.svg');
        transform: rotate(45deg);
    }

    #generations .generations_title {
        font-size: 32px;
        line-height: 1.12;
    }

    #generations .generations_item:nth-of-type(2) .generations_image {
        max-width: 103px;
    }

    #generations .generations_item:nth-of-type(1) .generations_image {
        max-width: 80px;
    }
    
    #generations .generations_item:nth-of-type(3) .generations_image {
        max-width: 78px;
    }

    #generations .swiper-wrapper {
        height: 380px !important;
        align-items: flex-end;
        justify-content: space-between;
        transform: translate3d(0,0,0) !important;
    }

    #generations .generations_item {
        display: flex;
        flex-direction: row;
        max-width: 110px;
        height: 380px !important;
        transform: translate3d(0,0,0) !important;
        overflow: hidden;
        transition: all 1s;
    }

    #generations .generations_header {
        display: flex;
        flex-direction: column;
        padding: 0;
        min-width: 110px;
    }

    #generations .generations_subtitle {
        font-size: 18px;
        line-height: 1.22;
        text-align: center;
    }

    #generations .generations_date {
        font-size: 16px;
        line-height: 1.25;
        text-align: center;
    }

    #generations .generations_image {
        width: 100%;
        max-width: 80px;
        position: relative;
        bottom: auto;
        right: auto;
        margin: 0 auto;
    }

    #generations .generations_inner {
        margin-left: 20px;
        opacity: 0;
        min-width: 373px;
        width: 373px;
        max-width: 373px;
        transition: opacity 0.5s;
    }

    #generations.generations-2 .generations_item:nth-of-type(2) .generations_inner,
    #generations.generations-3 .generations_item:nth-of-type(3) .generations_inner {
        order: -1;
        margin-left: 0;
        margin-right: 20px;
    }

    #generations .generations_list li {
        position: relative;
        padding-left: 130px;
    }

    #generations .generations_subsubtitle {
        width: 110px;
        position: absolute;
        left: 0px;
        top: 0px;
        margin-bottom: 0;
    }

    #generations .generations_list li:not(:first-child) .generations_subsubtitle {
        top: 12px;
    }

    #generations.generations-1 .generations_item:nth-of-type(1),
    #generations.generations-2 .generations_item:nth-of-type(2),
    #generations.generations-3 .generations_item:nth-of-type(3) {
        max-width: 100%;
        justify-content: center;
    }

    #generations.generations-1 .generations_item:nth-of-type(1) .generations_inner,
    #generations.generations-2 .generations_item:nth-of-type(2) .generations_inner,
    #generations.generations-3 .generations_item:nth-of-type(3) .generations_inner {
        opacity: 1;
    }

    #generations.generations-1 .generations_item:nth-of-type(2),
    #generations.generations-1 .generations_item:nth-of-type(3) {
        transform: translate3d(200px,0,0) !important;
        opacity: 0;
    }

    #generations.generations-2 .generations_item:nth-of-type(1) {
        transform: translate3d(-130px,0,0) !important;
        opacity: 0;
    }

    #generations.generations-2 .generations_item:nth-of-type(2) {
        margin-left: auto;
        margin-right: 0;
        transform: translate3d(-130px,0,0) !important;
    }

    #generations.generations-3 .generations_item:nth-of-type(1) {
        transform: translate3d(-130px,0,0) !important;
        opacity: 0;
    }

    #generations.generations-3 .generations_item:nth-of-type(2) {
        transform: translate3d(-260px,0,0) !important;
        opacity: 0;
    }

    #generations.generations-3 .generations_item:nth-of-type(3) {
        margin-left: auto;
        margin-right: 0;
        transform: translate3d(-260px,0,0) !important;
    }
 
}
