/*- Screen Sizes*/
/*import fonts*/

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}



.wrapper {
  margin: 3.125em auto;
  padding: 1em 40px 1em 0px;
  max-width: 1000px;
}

.wrapper h1 {
  color: #007cd8;
  text-align: right;
  font-size:16px!important;
  margin-right: 10px;
  direction: rtl;
  line-height: 2px !important;
}

/* - &:nth-child(1) {
			 grid-area: entry1;
		 }
   - useful timesaver if there is a lengthy list
*/
.timeline {
	font-size: 14px;
	-webkit-transition: all .4s ease;
	transition: all .4s ease;
	position: relative;
	counter-reset: section;
}
.timeline:before {
  content: "";
  width: 2px;
  height: 100%;
  background: #007cd8;
  position: absolute;
  top: 0;
  left: 59.9em;
  border-radius: 40px 40px;
}

.timeline--entry {
  position: relative;
  background-color: #dc6363;
}
.timeline--entry__title {
  color: white;
  background-color: #ffffff;
  /* font-family: "Oswald", Georgia, Cambria, "Times New Roman", Times, serif; */
  font-weight: 300;
  font-size: 1rem;
  border: 2px solid #ffffff;
}
.timeline--entry__title:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  position: absolute;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  right: 0em;
  /* border-right: 10px solid #007cd8; */
}
.timeline--entry__detail {
  background-color: #ffffff;
  padding: 1em;
  margin: 0;
}
.timeline--entry:before {
  content: "";
  color: #007cd8;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
	margin-top: 7px;
  background-color: #007cd8;
  border: .2em solid white;
  border-radius: 50%;
  position: absolute;
  counter-increment: section;
  content: counter(section);
  /* text-shadow: 0 1px 0 #424242; */
  right: -3.6em;
}

@supports (display: grid) {
  @media (max-width: 10px) {
    .timeline {
      display: grid;
      grid-gap: 4.75em;
      grid-template-areas: ".  entry1" "entry2  ." ". entry3" "entry4 ." ". entry5";
		
    }
    .timeline:before {
      left: 49.5%;
    }

    .timeline--entry:nth-child(1) {
      grid-area: entry1;
    }
    .timeline--entry:nth-child(2) {
      grid-area: entry2;
    }
    .timeline--entry:nth-child(3) {
      grid-area: entry3;
    }
    .timeline--entry:nth-child(4) {
      grid-area: entry4;
    }
    .timeline--entry:nth-child(5) {
      grid-area: entry5;
    }
    .timeline--entry:nth-of-type(odd):before {
      left: -3.8em;
    }
    .timeline--entry:nth-of-type(even):not(:nth-of-type(odd)) .timeline--entry__title:before {
      left: 100%;
      border-left: 10px solid #ec407a;
      border-right: 0;
    }
    .timeline--entry:nth-of-type(even):before {
      left: 103%;
    }
  }
}