@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 {
  --tamega-green: #00A443;
  --tamega-white: #FFFEFF;
  --tamega-forest: #00402A;
  --tamega-real-black: #000000;
  --tamega-black: #3A3735;
  --tamega-orange-light: #FFF5EC;
  --tamega-grey: #615D5A;
  --tamega-border: #D8CFC7;
  --tamega-sunset: #FF9C1A;
  --tamega-sand: #FFF5EC;
}

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

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

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

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

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

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

#tamega .tamega_title {
    color: var(--tamega-green) !important;
    font-size: 30px;
    line-height: 1.13;
    font-style: normal;
    font-weight: 400;
    text-wrap: balance;
    text-decoration: none;
    width: 100%;
    display: block;
    margin-bottom: 40px;
}

#tamega .tamega_title strong {
    font-weight: 600;
}

#tamega .tamega_wrapper {
    width: 100%;
    max-width: 259px;
    margin: 0 auto 26px;
    position: relative;
}

#tamega .tamega_accordion.active {
    margin-bottom: 12px;
}

#tamega .tamega_accordion_link {
    display: flex;
    align-items: center;
    padding: 10px 10px 8px;
    border-radius: 30px;
    background: var(--tamega-white);
    border: 1px solid var(--tamega-green);
    text-decoration: none;
    position: relative;
}

#tamega .tamega_accordion.active .tamega_accordion_link {
    background-color: var(--tamega-green);
}

#tamega .tamega_accordion_link:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid var(--tamega-green);
    border-right: 1.5px solid var(--tamega-green);
    transform: rotate(135deg) translateY(-50%);
    position: absolute;
    right: 18px;
    top: 25%;
}

#tamega .tamega_accordion.active .tamega_accordion_link:before {
    border-top: 1.5px solid var(--tamega-white);
    border-right: 1.5px solid var(--tamega-white);
    transform: rotate(-45deg) translateY(-50%);
    top: 50%;
    right: 12px;
}

#tamega .tamega_accordion_title {
    color: var(--tamega-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    text-wrap: balance;
}

#tamega .tamega_accordion.active .tamega_accordion_title {
    color: var(--tamega-white) !important;
}

#tamega .tamega_accordion.active .tamega_accordion_number {
    background-color: var(--tamega-white);
    color: var(--tamega-green);
}

#tamega .tamega_accordion_number {
    display: flex;
    width: 32px;
    min-width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: var(--tamega-green);
    color: var(--tamega-white);
    text-align: center;
    font-size: 18px;
    line-height: 1;
    font-style: normal;
    font-weight: 600;
    margin-right: 12px;
}

#tamega .tamega_list {
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    background: var(--tamega-sand);
    text-decoration: none;
    padding: 0 12px;
    margin-top: 12px;
}

#tamega .tamega_accordion.active .tamega_list {
    max-height: 1000px;
    transition: max-height 0.75s ease-in-out;
}

#tamega .tamega_list_title {
    color: var(--tamega-green) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 600;
    text-align: left;
    margin-top: 12px;
    margin-bottom: 20px !important;
}

#tamega .tamega_list_item {
    color: var(--tamega-grey) !important;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    text-wrap: balance;
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px !important;
}

#tamega .tamega_list_item:last-child {
    margin-bottom: 12px !important;
}

#tamega .tamega_list_item:after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background-color: var(--tamega-grey);
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 11px;
}

#tamega .tamega_image {
    display: block;
    width: 100%;
    max-width: 255px;
    margin: 0 auto 36px;
}

#tamega .tamega_wrapper {
    
}

#tamega .tamega_info {
    border-radius: 15px;
    border: 1px solid var(--tamega-border);
    background: var(--tamega-white);
    padding: 12px;
}

#tamega .tamega_info_title {
    display: block;
    width: 100%;
    margin-bottom: 24px !important;
    color: var(--tamega-forest) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
}

#tamega .tamega_info_item {
    color: var(--tamega-grey);
    font-size: 16px;
    line-height: 1.5;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    padding-right: 10px;
    margin-bottom: 10px !important;
    padding-left: 24px;
    position: relative;
}

#tamega .tamega_info_item:last-child {
    margin-bottom: 0 !important;
}

#tamega .tamega_info_item:after {
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 100%;
    background-color: var(--tamega-black);
    position: absolute;
    top: 11px;
    left: 10px;
}

#tamega .tamega_info_item strong {
    font-weight: 600;
}

#tamega .tamega_media {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 40px;
}

#tamega .tamega_label-1,
#tamega .tamega_label-2 {
    color: var(--tamega-sunset) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 400;
    text-align: left;
    position: absolute;
    left: 0;
}

#tamega .tamega_label-1 {
    top: 0;
}

#tamega .tamega_label-2 {
    bottom: 0;
}

#tamega .tamega_label-3,
#tamega .tamega_label-4 {
    color: var(--tamega-forest) !important;
    font-size: 16px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 600;
    text-align: left;
    position: absolute;
    right: 0;
}

#tamega .tamega_label-3 {
    top: 40px;
    right: 30px;
}

#tamega .tamega_label-4 {
    bottom: 25px;
}

#tamega .tamega_list_title span,
#tamega .tamega_list_title strong {
    display: none;
}

#tamega .tamega_media_image-mobile {
    display: block;
}

#tamega .tamega_media_image-desktop {
    display: none;
}

@media (min-width: 700px) {

    #tamega {
        padding: 35px 32px 30px;
    }

    #tamega .tamega_wrapper {
        max-width: 501px;
        margin-bottom: 0;
    }

    #tamega .tamega_image {
        max-width: 175px;
        margin-right: 0;
        margin-top: -87px;
        margin-bottom: 32px;
    }

    #tamega .tamega_title {
        font-size: 32px;
        line-height: 1.12;
        margin-bottom: 44px;
    }

    #tamega .tamega_label-3 {
        right: 170px;
    }

    #tamega .tamega_label-4 {
        bottom: auto;
        top: 122px;
        right: auto;
        left: 0;
    }

    #tamega .tamega_accordion_number {
        display: none;
    }

    #tamega .tamega_accordion {
        position: absolute;
        margin-bottom: 0;
    }

    #tamega .tamega_accordion-1 {
        max-width: 144px;
        top: 245px;
        left: 1px;
    }

    #tamega .tamega_accordion-2 {
        max-width: 110px;
        top: 250px;
        left: 250px;
    }

    #tamega .tamega_accordion-3 {
        max-width: 116px;
        top: 145px;
        right: 90px;
    }

    #tamega .tamega_info_title {
        margin-bottom: 6px !important;
    }

    #tamega .tamega_list {
        min-width: 343px;
    }

    #tamega .tamega_accordion-2 .tamega_list {
        transform: translateX(-116px);
    }

    #tamega .tamega_accordion-3 .tamega_list {
        transform: translateX(-137px);
    }

    #tamega .tamega_info_item {
        margin-bottom: 0px !important;
    }

    #tamega .tamega_list_title {
        color: var(--tamega-grey) !important;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 400;
        padding-left: 36px;
        margin-bottom: 20px !important;
        position: relative;
    }

    #tamega .tamega_list_title:after {
        content: '1';
        display: flex;
        width: 32px;
        min-width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        background-color: var(--tamega-green);
        color: var(--tamega-white);
        text-align: center;
        font-size: 18px;
        line-height: 1;
        font-style: normal;
        font-weight: 600;
        position: absolute;
        left: -2px;
        top: 10px;
    }

    #tamega .tamega_accordion-2 .tamega_list_title:after {
        content: '2';
    }

    #tamega .tamega_accordion-3 .tamega_list_title:after {
        content: '3';
    }

    #tamega .tamega_list_title span {
        display: inline;
    }

    #tamega .tamega_list_title strong {
        display: block;
        color: var(--tamega-green) !important;
        font-size: 24px;
        line-height: 0.91;
        font-style: normal;
        font-weight: 500;
        text-align: left;
        margin-top: 8px;
    }

}

@media (min-width: 1080px) {

    #tamega .tamega_wrapper {
        max-width: 688px;
        transform: translateX(-40px);
        z-index: 2;
    }

    #column-2 #tamega .tamega_wrapper {
        max-width: 501px;
        transform: translateX(0px);
    }

    #tamega .tamega_media_image-mobile {
        display: none;
    }
    
    #tamega .tamega_media_image-desktop {
        display: block;
    }

    #column-2 #tamega .tamega_media_image-mobile {
        display: block;
    }
    
    #column-2 #tamega .tamega_media_image-desktop {
        display: none;
    }

    #tamega .tamega_label-1 {
        top: 28px;
    }

    #column-2 #tamega .tamega_label-1 {
        top: 0;
    }

    #tamega .tamega_label-2 {
        bottom: 23px;
    }

    #column-2 #tamega .tamega_label-2 {
        bottom: 0px;
    }

    #tamega .tamega_label-4 {
        top: 168px;
    }

    #column-2 #tamega .tamega_label-4 {
        top: 122px;
    }

    #tamega .tamega_accordion-1 {
        left: 41px;
        z-index: 1;
    }

    #column-2 #tamega .tamega_accordion-1 {
        left: 1px;
    }

    #tamega .tamega_accordion-2 {
        top: 393px;
        left: 220px;
    }

    #column-2 #tamega .tamega_accordion-2 {
        top: 250px;
        left: 250px;
    }

    #tamega .tamega_accordion-3 {
        top: 108px;
        right: 80px;
    }

    #column-2 #tamega .tamega_accordion-3 {
        top: 145px;
        right: 90px;
    }

    #tamega .tamega_info {
        max-width: 682px;
    }

    #column-2 #tamega .tamega_info {
        max-width: 100%;
    }

    #tamega .tamega_media {
        margin-bottom: 16px;
    }

    #column-2 #tamega .tamega_media {
        margin-bottom: 40px;
    }

    #tamega .tamega_image {
        max-width: 192px;
        margin: 0;
        position: absolute;
        bottom: 86px;
        right: 37px;
    }

    #column-2 #tamega .tamega_image {
        max-width: 175px;
        margin-right: 0;
        margin-top: -87px;
        margin-bottom: 32px;
        margin-left: auto;
        position: relative;
        bottom: auto;
        right: auto;
    }

    #tamega .tamega_info_title {
        margin-bottom: 24px !important;
    }

    #column-2 #tamega .tamega_info_title {
        margin-bottom: 6px !important;
    }

    #tamega .tamega_info_item {
        width: calc(50% - 5px);
        float: left;
    }

    #tamega .tamega_info_item:nth-of-type(odd) {
        margin-right: 10px;
    }

    #tamega .tamega_accordion-2 .tamega_list {
        transform: translateX(0px);
    }

    #column-2 #tamega .tamega_accordion-2 .tamega_list {
        transform: translateX(-116px);
    }

    #tamega .tamega_accordion-3 .tamega_list {
        transform: translateX(-227px);
    }

    #column-2 #tamega .tamega_accordion-3 .tamega_list {
        transform: translateX(-137px);
    }
    
}