@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 {
  --green: #61A60E;
  --grey: #D3D4D3;
  --grey-dark: #5F6971;
}

#onshore {
  border: 1px solid #D8CFC7;
  border-radius: 15px;
  max-width: 980px;
  width:100%;
  padding: 0 20px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
}

#onshore * {
  box-sizing: border-box;
}

#onshore .onshore_container {
  /*border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);*/
  padding: 45px 0 25px;
}

#onshore .onshore_title {
  color: #00A443 !important;
  font-family: 'IberPangeaText SmBold', sans-serif;
  font-style: normal;
  font-size: 32px;   
  line-height: 36px;
  text-align: left;
  max-width: 980px;
  margin: 0 auto;
	padding-left: 15px;
    padding-right: 15px;
}

/*#onshore .onshore_title:before{content: "...";
    transform: rotate(90deg);
    display: inline-block;
    margin-left: -10px;
    width: fit-content;
    color: green;}*/

/*#onshore .onshore_background {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-parque-eolico-terrestre/images/fondo.png');
  background-repeat: repeat;
  background-position: center;
  background-size: auto;
  margin-left: -20px;
  width: calc(100% + 40px);
}*/

#onshore .onshore_graph {
  overflow: hidden;
  width: 487px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#onshore .onshore_graph img {
  display: block;
  width: 100%;  
}

#onshore .onshore_point {
  position: absolute;
  text-decoration: none;
}

#onshore .onshore_point:before {
  content: '';
  display: block;
  width: 29px;
  height: 29px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-parque-eolico-terrestre/images/ico-+.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

#onshore .onshore_point:nth-of-type(1) {
  top: 26%;
  left: 19%;
}

#onshore .onshore_point:nth-of-type(2) {
  top: 75%;
  left: 36%;
}

#onshore .onshore_point:nth-of-type(3) {
  top: 24%;
  left: 48%;
}

#onshore .onshore_point:nth-of-type(4) {
  top: 4%;
  left: 65%;
}

#onshore .onshore_point:nth-of-type(5) {
  top: 42%;
  left: 73%;
}

#onshore .onshore_point span {
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 250px;
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-parque-eolico-terrestre/images/ico-x.svg');
  background-size: 28px 26px;
  background-position: calc(100% - 20px) 20px;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,1);
  
  padding: 24px 50px 30px 26px;
  text-align: left;
  color: #5f6971;
  font-family: 'IberPangeaText', sans-serif;
  font-style: normal;
  font-size: 18px;   
  line-height: 20px;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transition: all 0.25s;
  border:1px solid rgba(112, 111, 111, 0.60);
  border-radius: 15px;
}

#onshore .onshore_point.active span {
  opacity: 1;
  z-index: 1;
  pointer-events: all;
}

#onshore .onshore_point span strong {
  display: block;
  color: #00A443;
  font-family: 'IberPangeaText Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 22px;   
  line-height: 24px;
  letter-spacing: -0.67px;
  margin-bottom: 15px;
  padding-right: 20px;
}



@media (min-width: 700px) {

  #onshore .onshore_title {
    font-size: 32px;   
    line-height: 38px;
    letter-spacing: -1.22px;
    max-width: 980px;
	  margin: 0 auto;
  }

  #onshore .onshore_graph {
    width: 800px;
    margin-top: 50px;
  }

  #onshore .onshore_point:nth-of-type(4) {
    top: 8%;
  }
  
  #onshore .onshore_point span {
    position: absolute;
    top: -40px;
    left: 54px;
    transform: none;
    width: 285px;
    background-image: none;
  }

  #onshore .onshore_point:nth-of-type(3) span,
  #onshore .onshore_point:nth-of-type(4) span,
  #onshore .onshore_point:nth-of-type(5) span,
  #onshore .onshore_point:nth-of-type(6) span {
    left: auto;
    right: 54px;
  }

  #onshore .onshore_point span:after {
    content: '';
    display: block;
    width: 15px;
    height: 24px;
/*    background-image: url('/wcorp/gc/prod/es_ES/estaticos/ventajas-parque-eolico-terrestre/images/arrow.png');*/
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 30px;
    left: -15px;
  }

  #onshore .onshore_point:nth-of-type(3) span:after,
  #onshore .onshore_point:nth-of-type(4) span:after,
  #onshore .onshore_point:nth-of-type(5) span:after,
  #onshore .onshore_point:nth-of-type(6) span:after {
    transform: rotate(180deg);
    left: auto;
    right: -15px;
  }

  #onshore .onshore_point:hover span {
    opacity: 1;
    z-index: 1;
    pointer-events: all;
  }

}
