*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
}

.timeline-em-img{
	float: left;
	width: 18%;
	margin-right: 2%;
}

.timeline-em{
	float: left;
	color: #555;
	text-align: center;
	width: 100%;
	font-size: 100%;
	line-height: 1.75em;
	padding-top: 5px;
	padding-bottom: 10px;
}

.timeline-em2{
	width: 70%;
	float: left;
	color: #FFF;
}

/* .section SECTION*/

.sections {
	padding: 50px 0;
  display: block;
  height: 100vh;
}

.section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section h1 {
  font-size: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
}


/* TIMELINE*/

.timeline {
	white-space: nowrap;
	overflow-x: hidden;
  
}

.timeline ol {
  font-size: 0;
  width: 100vw;
  /*padding: 320px 0 80px;*/
  transition: all 1s;
}

.timeline ol li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 420px;
  height: 1px;
  background: #333;
}

.timeline ol li:last-child {
  width: 280px;
}

.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #c0a179;
}

.timeline ol li div {
	position: absolute;
	left: calc(100% + 7px);
	width: 780px;
	font-size: 1rem;
	white-space: normal;
	color: #FFF;
	background: ;
	float: left;
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}

.timeline ol li div::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.timeline ol li:nth-child(odd) div {
  top: -16px;
  transform: translateY(-100%);
}

.timeline ol li:nth-child(odd) div::before {
	top: 100%;
	border-top-width: 0px;
	border-right-width: 1px;
	border-bottom-width: 0px;
	border-left-width: 0;
	border-top-color: #c0a179;
	border-right-color: #c0a179;
	border-bottom-color: #000000;
	border-left-color: #c0a179;
	height: 20px;
}

.timeline ol li:nth-child(even) div {
  top: calc(100% + 16px);
}

.timeline ol li:nth-child(even) div::before {
	top: -13px;
	border-top-width: 0px;
	border-right-width: 0;
	border-bottom-width: 0;
	border-left-width: 1px;
	border-top-color: transparent;
	border-right-color: transparent;
	border-bottom-color: transparent;
	border-left-color: #c0a179;
	height: 20px;
}

.timeline time {
	display: block;
	font-size: 200%;
	color: #c0a179;
	font-family: "Times New Roman", Times, serif;
	line-height: 1.75em;
}


/* TIMELINE ARROWS*/

.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline .disabled {
  opacity: .5;
}

.timeline .arrows img {
  width: 45px;
  height: 45px;
}


/* GENERAL MEDIA QUERIES*/
@media screen and (max-width: 1199.98px) {
.timeline {
	white-space: nowrap;
	overflow: hidden;
	/*height: 82vw;  */
}

	
  .timeline ol,
  .timeline ol li {
    width: auto; 
  }
  
  .timeline ol {
    padding: 0;
    transform: none !important;
  }
  
  .timeline ol li {
    display: block;
    height: auto;
    background: transparent;
  }
  
  .timeline ol li:first-child {
    margin-top: 25px;
  }
  
  .timeline ol li:not(:first-child) {
    margin-left: auto;
  }
  
  .timeline ol li div {
	width: 100%;
	height: auto !important;
	margin: 0 auto 25px;
	background-color: #e4e4e4;
  }
  
  .timeline ol li div {
    position: static;
  }
  
  .timeline ol li:nth-child(odd) div {
    transform: none;
  }
  
  .timeline ol li:nth-child(odd) div::before,
  .timeline ol li:nth-child(even) div::before {
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	height: 25px;
	border-left-width: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: solid;
	border-left-color: #999;
  }
  
  .timeline ol li:last-child,
  .timeline ol li:nth-last-child(2) div::before,
  .timeline ol li:not(:last-child)::after,
  .timeline .arrows {
    display: none;
  }
  
.timeline-em-img{
	float: left;
	width: 19%;
	margin-right: 1%;
	overflow-y: hidden;
}

}



