.updates-page__filter-wrapper {
  position: fixed;
  width: 100%;
  z-index: 1;
}
#updates-page__filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
#updates-page__filter > div {
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  padding: 5px 20px;
  border-radius: 78px;
}
#updates-page__filter > div.selected {
  font-weight: 700;
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

#updates-page__items {
  padding-top: 90px;
}
#updates-page__items > section .container {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}
#updates-page__items > section:first-of-type {
  background-color: var(--color-primary);
  color: var(--color-white);
}

#updates-page__items > section:nth-child(even) {
  background: var(--color-light-gray);
}

#updates-page__items > section .header {
  position: relative;
}

#updates-page__items > section .header > span {
  font-weight: 400;
  position: absolute;
  color: var(--color-primary);
  font-size: 14px;
  text-transform: uppercase;
  right: 20px;
  top: 0px;
}
#updates-page__items > section:first-of-type .header > span {
  color: var(--color-secondary);
}

#updates-page__items > section .header .version {
  font-size: 14px;
  font-weight: 300;
}

#updates-page__items > section .header h2 {
  margin: 0;
  margin-top: 5px;
  font-size: 28px;
  line-height: 29px;
  font-weight: 700;
}

#updates-page__items > section .header .tags-wrapper {
  margin-top: 10px;
}

#updates-page__items > section .header .tags-wrapper span {
  height: 24px;
  width: 24px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
}
#updates-page__items > section .header .tags-wrapper span.web {
  background-image: url('https://file.trainerize.com/assets/tz/common-assets/icons/update-web.svg');
}
#updates-page__items > section .header .tags-wrapper span.android {
  background-image: url('https://file.trainerize.com/assets/tz/common-assets/icons/update-android.svg');

}
#updates-page__items > section .header .tags-wrapper span.ios {
  background-image: url('https://file.trainerize.com/assets/tz/common-assets/icons/update-ios.svg');
}

#updates-page__items > section p.description {
  font-size: 16px;
  line-height: 22px;
  font-weight: 300;
  margin-top: 26px;
  margin-bottom: 0;
}

#updates-page__items > section .details {
  margin-top: 24px;
}

#updates-page__items > section .details h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

#updates-page__items > section .details ul {
  margin-top: 16px;
  margin-bottom: 0;
  padding-left: 26px;
}

#updates-page__items > section .details ul li {
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
}

#updates-page__items > section .read-more {
  display: block;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  background-color: var(--color-secondary);
  border-radius: 5px;
  height: 48px;
  width: 100%;
  line-height: 48px;
  text-align: center;
  margin-top: 15px;
}

#updates-page__items > section .read-more:hover {
  text-decoration: none;
  background-color: var(--color-secondary-hover);
}


@media only screen and (min-width: 768px) {
  #updates-page__filter {
    align-items: center;
  }
  #updates-page__filter > div {
    padding: 5px 25px;
  }

  #updates-page__items > section .container {
    padding-left: 44px;
  }

  #updates-page__items > section .container::before {
    content: '';
    background-color: var(--color-secondary);
    height: 17px;
    width: 17px;
    border-radius: 50%;
    display: block;
    position: absolute;
    top: 70px;
    left: 0px;
  }

  #updates-page__items > section .container::after {
    content: '';
    background-color: var(--color-secondary);
    width: 1px;
    top: 0;
    bottom: 0;
    left: 8px;
    display: block;
    position: absolute;
  }

  #updates-page__items > section:first-of-type .container::after {
    top: 75px;
  }

  #updates-page__items > section:last-of-type .container::after {
    height: 75px;
  }

  #updates-page__items > section:only-of-type .container::after {
    height: 0px;
  }

  #updates-page__items > section .header h2 {
    font-size: 32px;
    line-height: 32px;
    max-width: 80%;
  }

  #updates-page__items > section p.description {
    font-size: 18px;
    line-height: 24px;
  }

  #updates-page__items > section .read-more {
    height: 34px;
    width: 120px;
    line-height: 34px;
    margin-left: auto;
    margin-top: 26px;  
  }
}

@media only screen and (min-width: 1200px) {
  #updates-page__filter {
    justify-content: flex-start;
  }
  #updates-page__filter > div {
    font-size: 18px;
    padding: 5px 30px;
  }

  #updates-page__items > section .container {
    padding-left: 68px;
    padding-top: 70px;
    padding-bottom: 50px;
  }

  #updates-page__items > section .container::before {
    height: 25px;
    width: 25px;
    top: 107px;
  }

  #updates-page__items > section .container::after {
    left: 12px;
  }

  #updates-page__items > section:first-of-type .container::after {
    top: 120px;
  }

  #updates-page__items > section:last-of-type .container::after {
    height: 120px;
  }

  #updates-page__items > section:only-of-type .container::after {
    height: 0px;
  }

  #updates-page__items > section:only-of-type {
    border-bottom: 1px solid rgba(255,255,255, 0.5);
  }

  #updates-page__items > section .header .version {
    font-size: 16px;
  }

  #updates-page__items > section .header h2 {
    font-size: 42px;
    line-height: 50px;
  }

  #updates-page__items > section p.description {
    font-size: 20px;
    line-height: 22px;
  }

  #updates-page__items > section .header > span {
    font-size: 16px;
  }

  #updates-page__items > section .details ul li {
    font-size: 16px;
    line-height: 22px;
  }
}