@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 {
  --goals-border: #D8CFC7;
  --goals-white: #FFFEFF;
  --goals-black: #00402A;
  --goals-green: #00A443;
  --goals-orange: #FF9C1A;
  --goals-blue: #0DA9FF;
}

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

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

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

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

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

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

#goals .goals_title {
  color: var(--goals-green) !important;
  font-size: 30px;
  line-height: 1.26;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  width: 100%;
  margin: 0 auto 8px 0;
}

#goals .goals_description {
  color: var(--goals-black) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 300;
  text-align: left;
  margin: 0 auto 26px 0;
}

#goals .goals_graph {
  position: relative;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/objetivos-circular/images/bg.svg');
  background-size: 265px auto;
  background-repeat: no-repeat;
  background-position: 35px top;
  width: 100%;
  max-width: 290px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  height: 365px;
}

#goals .goals_graph_title {
  transform: translate(25px,-29px);
}

#goals .goals_graph_title img {
  max-width: 42px;
  margin: 0 auto 5px;
}

#goals .goals_graph_title span {
  display: block;
  color: var(--goals-green);
  font-size: 24px;
  line-height: 0.9;
  font-style: normal;
  font-weight: 300;
  text-align: center;
}

#goals .goals_graph_title strong {
  font-weight: 500;
  display: block;
}

#goals .goals_graph_item {
  display: block;
  text-decoration: none;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s;
}

#goals.viewport .goals_graph_item {
  opacity: 1;
  visibility: visible;
}

#goals .goals_graph_item-green {
  top: 2%;
  right: -1%;
}

#goals .goals_graph_item-orange {
  bottom: -1%;
  right: 9%;
  transition-delay: 0.2s;
}

#goals .goals_graph_item-blue {
  left: -2%;
  top: 28%;
  transition-delay: 0.4s;
}

#goals .goals_graph_item:after {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--goals-white);
  font-size: 20px;
  border-radius: 100%;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/objetivos-circular/images/ico-plus.svg');
  background-size: 11px auto;
  background-position: center;
  background-repeat: no-repeat;
  width: 27px;
  height: 27px;
  margin: 12px auto 0;
}

#goals .goals_graph_item-blue:after {
  transform: translate(50px, -10px);
}

#goals .goals_graph_item strong {
  display: flex;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  color: var(--goals-white);
  font-size: 14px;
  line-height: 1;
  font-style: normal;
  font-weight: 500;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transition: transform 0.25s;
}

#goals .goals_graph_item:hover strong {
  transform: scale(1.1);
}

#goals .goals_graph_item-green strong,
#goals .goals_graph_item-green:after {
  background-color: var(--goals-green);
}

#goals .goals_graph_item-orange strong,
#goals .goals_graph_item-orange:after {
  background-color: var(--goals-orange);
}

#goals .goals_graph_item-blue strong,
#goals .goals_graph_item-blue:after {
  background-color: var(--goals-blue);
}

#goals .goals_modal {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  border-radius: 10px;
  border: 1px solid var(--goals-border);
  background-color: var(--goals-white);
  padding: 16px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}

#goals .goals_modal.active {
  opacity: 1;
  visibility: visible;
}

#goals .goals_modal_close {
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 16px;
  right: 16px;
}

#goals .goals_modal_text {
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  margin: 0 auto 10px 0;
}

#goals .goals_modal-green .goals_modal_text {
  color: var(--goals-green);
}

#goals .goals_modal-orange .goals_modal_text {
  color: var(--goals-orange);
}

#goals .goals_modal-blue .goals_modal_text {
  color: var(--goals-blue);
}

#goals .goals_modal_list {

}

#goals .goals_modal_list_item {
  color: var(--goals-black) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: left;
  margin: 0 auto 8px 0;
  padding-left: 24px;
  position: relative;
}

#goals .goals_modal_list_item:after {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 100%;
  background-color: var(--goals-black);
  position: absolute;
  top: 9px;
  left: 10px;
}

@media (min-width: 760px) {

  #goals {
    padding: 23px 32px 50px;
  }

  #goals .goals_graph {
    max-width: 646px;
    height: 630px;
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/objetivos-circular/images/bg-t.svg');
    background-size: 571px auto;
    background-position: 60px center;
  }

  #goals .goals_graph_item strong {
    width: 120px;
    height: 120px;
    font-size: 16px;
  }

  #goals .goals_graph_item-green {
    right: 17%;
  }

  #goals .goals_graph_item-orange {
    right: 16%;
  }

  #goals .goals_graph_item-orange:after {
    margin: 0;
    position: absolute;
    right: calc(100% + 15px);
    top: 50%;
    transform: translateY(-50%);
  }

  #goals .goals_graph_item-blue {
    top: 45%;
  }

  #goals .goals_graph_item-blue:after {
    margin: 0 auto;
    position: absolute;
    top: -30px;
  }

  #goals .goals_graph_title {
    transform: translate(10px, -10px);
  }

  #goals .goals_graph_title img {
    max-width: 72px;
    margin-bottom: 23px;
  }

  #goals .goals_graph_title span {
    font-size: 48px;
  }

  #goals .goals_modal_text {
    font-size: 20px;
  }

  #goals .goals_modal-green {
    max-width: 315px;
    right: 2%;
    left: auto;
    transform: none;
    top: 29%;
    z-index: 1;
  }

  #goals .goals_modal-orange {
    max-width: 265px;
    transform: none;
    bottom: -4%;
    right: 43%;
    top: auto;
    left: auto;
  }

  #goals .goals_modal-blue {
    max-width: 310px;
    transform: none;
    top: 0%;
    left: 5%;
  }

}

@media (min-width: 980px) {
  
  #goals .goals_graph {
    transform: translateX(-40px);
  }

  #goals .goals_modal-green {
    right: -20%;
  }

  #goals .goals_modal-blue {
    left: -16%;
  }

  #column-2 #goals .goals_graph {
    transform: none;
  }

  #column-2 #goals .goals_modal-green {
    right: 2%;
  }

  #column-2 #goals .goals_modal-blue {
    left: 5%;
  }

}

@media (min-width: 960px) and (max-width: 1120px) {

  #column-2 #goals .goals_graph {
    background-position: 44px center;
    background-size: 455px auto;
    max-width: 500px;
  }

  #column-2 #goals .goals_graph_item-green {
    right: 12%;
    top: 6%;
  }

  #column-2 #goals .goals_modal-green {
    right: 0%;
    top: 34%;
  }

  #column-2 #goals .goals_graph_item-orange {
    right: 6%;
    bottom: 7%;
  }

  #column-2 #goals .goals_modal-orange {
    bottom: 1%;
  }

  #column-2 #goals .goals_modal-blue {
    top: -2%;
    left: -1%;
  }

}


@media (max-width: 356px) {

  #goals .goals_graph {
    max-width: 256px;
    background-size: 255px auto;
    background-position: 11px 6px;
  }

}
