@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 {
  --battery-white: #FFFEFF;
  --battery-green: #00A443;
  --battery-green-light: #5BD38C;
  --battery-dark: #00402A;
  --battery-black: #3A3735;
  --battery-brown: #615D5A;
  --battery-brown-light: #89837E;
  --battery-border: #D8CFC7;
  --battery-sand: #FFF5EC;
}

#battery {
    width: 100%;
    max-width: 980px;
    padding: 30px 16px;
    margin: 20px auto;
    text-align: left;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background-color: var(--battery-sand);
}

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

#battery h2,
#battery h3,
#battery h4 {
    margin-top: 0 !important;
}

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

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

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

#battery .battery_title {
    color: var(--battery-green) !important;
    font-size: 32px;
    line-height: 1.125;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    text-wrap: balance;
    margin-bottom: 22px;
}

#battery .battery_title strong {
    font-weight: 600;
}

#battery .battery_menu {
    position: relative;
    width: 100%;
    max-width: 248px;
    margin: 0 auto 22px 0;
}

#battery .battery_menu_selected {
    display: flex;
    min-height: 50px;
    align-items: center;
    border-radius: 30px;
    background: var(--battery-green);
    padding: 12px 71px 12px 20px;
    color: var(--battery-white) !important;
    font-size: 16px;
    line-height: 1.14;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    position: relative;
    cursor: pointer;
    z-index: 2;
    transition: all 1s ease-in-out;
}

#battery .battery_menu.active .battery_menu_selected {
    border-radius: 30px 30px 30px 0;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

#battery .battery_menu_selected:after {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background-color: var(--battery-white);
    position: absolute;
    top: 0;
    right: 51px;
}

#battery .battery_menu_selected:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--battery-white);
    border-right: 1.5px solid var(--battery-white);
    transform: rotate(135deg);
    position: absolute;
    top: 18px;
    right: 23px;
    transition: all 0.5s;
}

#battery .battery_menu.active .battery_menu_selected:before {
    transform: rotate(-45deg);
    top: 24px;
}

#battery .battery_menu_list {
    position: absolute;
    top: 100%;
    left: 0;
    width: calc(100% - 51px);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

#battery .battery_menu.active .battery_menu_list {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
}

#battery .battery_menu_item {
    border-right: 1px solid var(--battery-green);
    border-bottom: 1px solid var(--battery-green);
    border-left: 1px solid var(--battery-green);
    background: var(--battery-white);
    display: block;
    padding: 15px 18px;
    color: var(--battery-dark) !important;
    margin-bottom: 0 !important;
    font-size: 16px;
    line-height: 1.14;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    transition: all 0.5s;
    cursor: pointer;
}

#battery .battery_menu_item:last-child {
    border-radius: 0 0 15px 15px;
}

#battery .battery_content {
    display: none;
    border-radius: 15px;
    border: 1px solid var(--battery-dark);
    background: var(--battery-white);
    overflow: hidden;
    margin-bottom: 22px;
}

#battery .battery_content.active {
    display: block;
}

#battery .battery_content_media {
    max-width: 264px;
    margin: 0 auto 12px;
}

#battery .battery_content_image {
    display: block;
    width: 100%;
}

#battery .battery_content_text {
    color: var(--battery-brown) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    margin: 0 22px 19px;
}

#battery .battery_content_text:last-child {
    margin-bottom: 15px;
}

#battery .battery_note {
    color: var(--battery-brown-light);
    font-size: 14px;
    line-height: 1.28;
    font-style: italic;
    font-weight: 400;
    text-align: left;
}

@media (min-width: 700px) {

    #battery {
        padding: 25px 32px;
    }

    #battery .battery_title {
        margin-bottom: 24px;
    }

    #battery .battery_wrapper {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-bottom: 19px;
        min-height: 417px;
    }

    #battery .battery_menu_selected {
        display: none;
    }

    #battery .battery_menu {
        margin: 0;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: calc(100% - 287px);
        max-width: calc(100% - 287px);
    }

    #battery .battery_menu_list {
        max-height: 1000px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        top: 0;
        left: 0;
        width: 100%;
        height: calc(100% - 58px);
        overflow: visible;
    }

    #battery .battery_menu_item,
    #battery .battery_menu_item:last-child {
        border-radius: 15px;
        border: 1px solid var(--battery-dark);
        background: var(--battery-white);
        padding: 17px 14px;
        color: var(--battery-green) !important;
        font-size: 18px;
        line-height: 1.22;
        font-style: normal;
        font-weight: 500;
        text-align: left;
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/bateria-iones/images/ico-mas.svg');
        background-repeat: no-repeat;
        background-position: calc(100% - 14px) center;
        background-size: 32px auto;
        transition: none;
    }

    #battery .battery_menu_item:hover {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/bateria-iones/images/ico-mas-hover.svg');
    }

    #battery .battery_menu_item.active {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/bateria-iones/images/ico-mas-active.svg');
        background-position: calc(100% - 7px) center;
        background-size: 46px auto;
    }

    #battery .battery_content {
        max-width: 262px;
        border-radius: 15px;
        border: 1px solid var(--battery-dark);
        background: var(--battery-white);
        overflow: hidden;
        margin-left: auto;
        margin-bottom: 0;
        height: 417px;
        overflow: hidden;
    }

    #battery .battery_content-0 {
        padding: 26.932px 49px 38px 51.576px;
    }

    #battery .battery_content-0 img {
        transform: translateX(-1px);
    }

    #battery .battery_content_texts {
        position: absolute;
        background-color: var(--battery-white);
        border: 1px solid var(--battery-dark);
        border-top: none;
        padding: 11px 14px 4px;
        border-radius: 0 0 15px 15px;
        left: 0px;
        width: calc(100% - 287px);
    }

    #battery .battery_content-1 .battery_content_texts {
        top: 46px;
    }

    #battery .battery_content-2 .battery_content_texts {
        top: 166px;
    }

    #battery .battery_content-3 .battery_content_texts {
        top: 285px;
    }

    #battery .battery_content-4 .battery_content_texts {
        top: 286px;
        height: 130px;
    }

    #battery .battery_content_text {
        margin-left: 0;
        margin-right: 0;
    }

    #battery .battery_menu_item {
        position: absolute;
        left: 0;
        width: 100%;
    }

    #battery .battery_menu_item:nth-of-type(1) {
        top: 0;
    }

    #battery .battery_menu_item:nth-of-type(2) {
        top: 33.33%;
    }

    #battery .battery_menu_item:nth-of-type(3) {
        top: 66.66%;
    }

    #battery .battery_menu_item:nth-of-type(4) {
        top: 100%;
    }

    #battery .battery_menu_item:nth-of-type(4).active {
        transform: translateY(-120px);
    }

    #battery.battery-1 .battery_menu_item:nth-of-type(2),
    #battery.battery-1 .battery_menu_item:nth-of-type(3),
    #battery.battery-1 .battery_menu_item:nth-of-type(4),
    #battery.battery-2 .battery_menu_item:nth-of-type(1),
    #battery.battery-2 .battery_menu_item:nth-of-type(3),
    #battery.battery-2 .battery_menu_item:nth-of-type(4),
    #battery.battery-3 .battery_menu_item:nth-of-type(1),
    #battery.battery-3 .battery_menu_item:nth-of-type(2),
    #battery.battery-3 .battery_menu_item:nth-of-type(4),
    #battery.battery-4 .battery_menu_item:nth-of-type(1),
    #battery.battery-4 .battery_menu_item:nth-of-type(2),
    #battery.battery-4 .battery_menu_item:nth-of-type(3) {
        display: none;
    }

}

@media (max-width: 699px) {
    #battery .battery_content-0 {
        display: none !important;
    }
}