@font-face {
  font-family: 'Dialog Light';
  font-weight: normal;
  font-style: normal;
  src: url('fonts/dialog_light_regular-webfont.woff2') format('woff2'),
       url('fonts/dialog_light_regular-webfont.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Dialog';
  font-weight: bold;
  font-style: normal;
  src: url('fonts/dialog_bold-webfont.woff2') format('woff2'),
       url('fonts/dialog_bold-webfont.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Dialog';
  font-weight: normal;
  font-style: normal;
  src: url('fonts/dialog_regular-webfont.woff2') format('woff2'),
       url('fonts/dialog_regular-webfont.woff') format('woff');
  font-display: swap;
}

:root {
  --green: #61A60E;
  --green-bg: #F1F7E9;
  --black: #38424A;
  --grey: #D3D4D3;
}

#history {
  background-color: #ffffff;
  border:1px solid #D8CFC7;
  border-radius:15px;
  padding: 30px 0px 40px;
  width: calc(100% - 20px);
  max-width: 745px;
  margin: 20px auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
}

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

#history h2 {
  font-family: 'IberPangeaText Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 35px;   
  line-height: 35px;
  text-align: center;
  margin: 0 0 22px;
}
.contenidoInterior ul>li:before {
		  color: transparent !important;}

#history ul {
  list-style: none !important;
  margin: 0;
  padding: 0;
  position: relative;
}

#history ul:before {
  content: ''!important;
  display: block !important;
  width: 53px;
  height: 105px;
  background-image: url('../images/history-rocket.svg');
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto 34px;
}

#history ul:after {
  content: ''!important;
  display: block !important;
  width: 1px;
  height: calc(100% - 160px);
  background-color: #D8CFC7;
  position: absolute;
  top: 105px;
  left: 50%;
}

#history ul li {
  color: #615D5A;
  font-family: 'IberPangeaText', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 20px;  
  width: 50%;
  padding: 20px 18px 3px 20px;
  text-align: right;
  position: relative;
}

#history ul li:before {
  content: ''!important;
  display: block;
  width: 16px;
  height: 16px;
  background-image: url('../images/history-dot.svg');
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  position: absolute;
  top: 25px;
  right: -8px;
  z-index: 1;
}

#history ul li:nth-child(even) {
  margin-left: 50%;
  text-align: left;
  padding-right: 0;
}

#history ul li:nth-of-type(4) {
  padding-top: 16px;
  padding-right: 20px;
}

#history ul li:nth-of-type(5) {
  padding-top: 3px;
}

#history ul li:nth-of-type(6) {
  width: 110px;
}

#history ul li:nth-child(even):before {
  right: auto;
  left: 15px;
}

#history ul li strong {
  display: block;
  margin-top: 0;
  margin-bottom: 1px;
  color: #00A443;
  font-family: 'IberPangea Bold', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 30px;
  line-height: 30px;
}


@media (min-width: 746px) {

  #history {
    padding: 27px 8px;
    padding-bottom:60px;
    text-align: left;
  }

  #history h2 {
    color:#00a443 !important;
    font-size: 32px; 
    text-align: left;
    margin-bottom: 13px;  
    margin-left:20px;
  }

  #history ul {
    display: flex;
    flex-direction: row-reverse;
    padding-right: 120px;
    padding-top: 100px;
    padding-bottom: 120px;
  }

  #history ul:before {
    transform: rotate(90deg);
    position: absolute;
    right: 35px;
    top: 50%;
    margin-top: -53px;
  }

  #history ul:after {
    width: calc(100% - 173px);
    height: 1px;
    top: 50%;
    left: 60px;
    margin-top: -1px;
  }

  #history ul li {
    text-align: center;
    margin: auto auto;
    width: 150px;
  }

  #history ul li:nth-of-type(1) {
    width: 150px;
    position: absolute;
    top: 0;
    right: 95px;
  }

  #history ul li:nth-of-type(2) {
    width: 220px;
    position: absolute;
    top: 110px;
    right: 164px;
  }

  #history ul li:nth-of-type(3) {
    width: 210px;
    position: absolute;
    top: 0;
    right: 282px;
  }

  #history ul li:nth-of-type(4) {
    width: 180px;
    position: absolute;
    top: 110px;
    right: 392px;
  }

  #history ul li:nth-of-type(5) {
    width: 182px;
    position: absolute;
    top: 0;
    right: 485px;
    padding-top: 20px;
  }

  #history ul li:nth-of-type(6) {
    width: 130px;
    position: absolute;
    top: 110px;
    right: auto;
    left: 0px;
    padding-right: 20px;
  }

  #history ul li:nth-child(even) {
    margin-left: 0;
    text-align: center;
    padding-top: 17px;
  }

  #history ul li:nth-child(odd) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #history ul li:nth-child(odd) strong {
    order: 1;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  #history ul li:before {
    bottom: -9px;
    top: auto;
    right: auto;
    left: 50%;
    transform: translateX(100%);
  }
  
  #history ul li:nth-child(even):before {
    bottom: auto;
    top: -9px;
    right: auto;
    left: 48%;
  }
  
}

@media (min-width: 1170px) {

  #history {
    max-width: 980px;
  }

  #history ul li:nth-of-type(2) {
    right: 200px;
    padding: 17px 20px 3px 20px;

  }

  #history ul li:nth-of-type(3) {
    right: 340px;
  }

  #history ul li:nth-of-type(4) {
    width: 200px;
    right: 500px;
  }

  #history ul li:nth-of-type(5) {
    right: 650px;
  }

  #history ul li:nth-of-type(6) {
   
    left: 20px;
  }

  #history ul li:nth-child(even) {
    margin-left: 0;
    text-align: center;
    padding-top: 17px;
  }

  #history ul li:nth-child(odd) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #history ul li:nth-child(odd) strong {
    order: 1;
    margin-top: 5px;
    margin-bottom: 10px;
  }

  
  #history ul li:before {
    transform: none;
    left: 47%;
  }
  
}