/*@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 {
  --meteoflow2-white: #FFFEFF;
  --meteoflow2-green: #00A443;
  --meteoflow2-dark: #00402A;
  --meteoflow2-brown: #615D5A;
  --meteoflow2-border: #D8CFC7;
  --meteoflow2-orange: #FF9C1A;
  --meteoflow2-orange-light: #FFF5EC;
}

#meteoflow2 {
  width: 100%;
  max-width: 980px;
  padding: 20px 16px;
  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(--meteoflow2-orange-light);
}

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

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

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

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

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

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

#meteoflow2 .meteoflow2_list {
  display: flex;
  flex-wrap: wrap;
}

#meteoflow2 .meteoflow2_item {
  width: calc(50% - 8px);
  border-radius: 15px;
  background-color: var(--meteoflow2-white);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
}

#meteoflow2 .meteoflow2_item:nth-of-type(1) {
  margin-right: auto;
  margin-bottom: 55px !important;
}

#meteoflow2 .meteoflow2_item:nth-of-type(2) {
  margin-bottom: 55px !important;
}

#meteoflow2 .meteoflow2_item:nth-of-type(3) {
  width: 100%;
  margin-bottom: 57px !important;
  padding-top: 20px;
  position: relative;
}

#meteoflow2 .meteoflow2_item:nth-of-type(3):before,
#meteoflow2 .meteoflow2_item:nth-of-type(3):after {
  content: '' !important;
  display: block !important;
  width: 140px;
  height: 51px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#meteoflow2 .meteoflow2_item:nth-of-type(3):before {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/meteoflow-2024-2/images/lineas-1-m.png');
  bottom: calc(100% + 6px);
}

#meteoflow2 .meteoflow2_item:nth-of-type(3):after {
  background-image: url('/wcorp/gc/prod/es_ES/estaticos/meteoflow-2024-2/images/lineas-2-m.png');
  top: calc(100% + 6px);
}

#meteoflow2 .meteoflow2_item:nth-of-type(4) {
  margin-right: auto;
}

#meteoflow2 .meteoflow2_item:nth-of-type(1) .meteoflow2_icon {
  max-width: 55px;
}

#meteoflow2 .meteoflow2_icon {
  max-width: 50px;
  margin: 0 auto 5px;
}

#meteoflow2 .meteoflow2_item:nth-of-type(3) .meteoflow2_icon {
  max-width: 175px;
}

#meteoflow2 .meteoflow2_item:nth-of-type(4) .meteoflow2_icon {
  max-width: 34px;
}

#meteoflow2 .meteoflow2_item:nth-of-type(5) .meteoflow2_icon {
  max-width: 60px;
}

#meteoflow2 .meteoflow2_subtitle {
  color: var(--meteoflow2-green) !important;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  margin-bottom: 3px;
}

#meteoflow2 .meteoflow2_text {
  color: var(--meteoflow2-dark) !important;
  font-size: 16px;
  line-height: 1.25;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  max-width: 108px;
  margin: auto auto 0;
}

#meteoflow2 .meteoflow2_item:nth-of-type(3) .meteoflow2_text {
  max-width: 203px;
}

#meteoflow2 .meteoflow2_item:nth-of-type(4) {
  height: auto;
  margin-bottom: auto !important;
}

@media (min-width: 700px) {

  #meteoflow2 {
    padding: 26px;
  }

  #meteoflow2 .meteoflow2_title {
    text-align: center;
    margin-bottom: 26px;
  }

  #meteoflow2 .meteoflow2_item {
    width: 100%;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(1) {
    max-width: 212px;
    display: flex;
    flex-direction: row;
    order: -5;
    margin-bottom: 16px !important;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(2) {
    max-width: 212px;
    display: flex;
    flex-direction: row;
    order: -2;
    margin-right: auto;
    margin-bottom: auto !important;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(3) {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    order: -3;
    margin-bottom: 16px !important;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(4) {
    max-width: 212px;
    display: flex;
    flex-direction: row;
    order: -4;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 16px !important;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(5) {
    max-width: 268px;
    display: flex;
    flex-direction: row;
    order: -1;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(3) .meteoflow2_text {
    max-width: 100%;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(3):before,
  #meteoflow2 .meteoflow2_item:nth-of-type(3):after {
    width: 40px;
    height: 232px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: auto;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(3):before {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/meteoflow-2024-2/images/lineas-1.png');
    right: 100%;
  }
  
  #meteoflow2 .meteoflow2_item:nth-of-type(3):after {
    background-image: url('/wcorp/gc/prod/es_ES/estaticos/meteoflow-2024-2/images/lineas-2.png');
    left: 100%;
  }

  #meteoflow2 .meteoflow2_text {
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
    max-width: 110px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(5) .meteoflow2_text {
    max-width: 140px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(3) .meteoflow2_icon {
    max-width: 196px;
    margin-bottom: 17px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(1) .meteoflow2_icon {
    max-width: 60px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(4) .meteoflow2_icon {
    max-width: 55px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(2) .meteoflow2_icon {
    max-width: 73px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(5) .meteoflow2_icon {
    max-width: 76px;
  }

  #meteoflow2 .meteoflow2_item:nth-of-type(1) picture {
    margin: auto;
  }

  #meteoflow2 .meteoflow2_list {
    max-width: 550px;
    margin: 0 auto;
  }
  
}
