/*@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 {
  --dskills-white: #FFFEFF;
  --dskills-green: #00A443;
  --dskills-green-light: #5BD38C;
  --dskills-dark: #00402A;
  --dskills-black: #3A3735;
  --dskills-brown: #615D5A;
  --dskills-border: #D8CFC7;
  --dskills-orange: #FF9C1A;
  --dskills-sand: #FFF5EC;
  --dskills-blue: #0DA9FF;
  --dskills-yellow: #FFCD52;
}

#dskills {
    width: 100%;
    max-width: 980px;
    padding: 24px 16px 14px;
    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(--dskills-sand);
}

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

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

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

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

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

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

#dskills .dskills_title strong {
    font-weight: 600;
}

#dskills .dskills_accordion {
    border-radius: 15px;
    background: var(--dskills-white);
    margin-bottom: 10px;
}

#dskills .dskills_accordion_header {
    padding: 16px;
    display: flex;
    overflow: hidden;
    text-decoration: none;
}

#dskills .dskills_accordion_header:after {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/competencias-digitales/images/ico-mas.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: all 0.5s;
}

#dskills .dskills_accordion.active .dskills_accordion_header:after {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/competencias-digitales/images/ico-mas-hover.svg');
    transform: rotate(45deg);
}

#dskills .dskills_accordion_number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: var(--dskills-orange);
    border-radius: 100%;
    color: var(--dskills-white) !important;
    font-size: 18px;
    line-height: 1.07;
    font-style: normal;
    font-weight: 600;
    text-align: center;
    margin-right: 8px;
}

#dskills .dskills_accordion_title {
    color: var(--dskills-green) !important;
    font-size: 18px;
    line-height: 1.22;
    font-style: normal;
    font-weight: 500;
    text-align: left;
    width: calc(100% - 88px);
    margin: auto auto auto 0px;
}

#dskills .dskills_accordion_content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    padding-left: 16px;
    padding-right: 16px;
}

#dskills .dskills_accordion.active .dskills_accordion_content {
    max-height: 1000px;
    transition: max-height 1s ease-in-out;
    overflow: visible;
}

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

#dskills .dskills_accordion_text strong {
    font-weight: 600;
}

#dskills .dskills_accordion_image {
    max-width: 108px;
    margin: 0 auto 16px;
}

@media (min-width: 700px) {

    #dskills {
        padding: 32px;
    }

    #dskills .dskills_accordion_header:hover:after {
        background-image: url('/wcorp/gc/prod/es_ES/estaticos/competencias-digitales/images/ico-mas-hover.svg');
    }

    #dskills .dskills_accordion_content {
        display: flex;
    }

    #dskills .dskills_accordion_text {
        max-width: 313px;
    }

    #dskills .dskills_accordion_image {
        margin-top: 0px;
        margin-right: 40px;
        transition: all 0.5s;
    }

    #dskills .dskills_accordion.active .dskills_accordion_image {
        margin-top: -48px;
    }

}
