 * {
  box-sizing: border-box;
}

.timelinebutton{
	padding: 0px;
	border:none;
  width:100%;
  cursor: pointer;
}

#ExtraTrainingButton{
	width:10rem;
	margin-top:1rem;
  padding-right:2rem;
  cursor: pointer;
}

.ExtraTrainingButtonSmall{
	margin-top:15px;
	padding: 0px;
	border:none;
  padding-left: 70px;
  padding-right: 25px;
  width:100%;
  cursor: pointer;
}

.close_extra_training_small{
  background-image: url(../images/close.svg);
  background-repeat: no-repeat;
  background-size: 30px 30px;
  background-position: right 2px top 2px;
  cursor: pointer;
}

.Extra_Training_Button_Shadow:hover{
	box-shadow: 7px 7px 4px  #202020 ;
}

.experiencebutton{
	padding: 0px;
	border:none;
	width:100%;
	color:white;
}

.timelinebutton:hover{
	padding: 0px;
	border:none;
	box-shadow: 7px 7px 4px  #202020 ;
}

.timelinebutton:hover>.content_link{
color:red;
}

.experiencebutton:hover{
	padding: 0px;
	border:none;
	box-shadow: 7px 7px 4px  #202020;
	color:blue;
}

.card{
	border:none;
	border-radius: 5px;
	padding: 0px;
}

.card-body{
  color: #fdebd0;
  padding: 5px 25px 5px 8px;
	text-align: left;
}

.cardR{
	background-color: rgb(34, 167, 240);
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: #1d225a;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline_container {
  padding: .3rem 25px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline_container::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  right: -6px;   /* Was 17px,  not sure what is going on here but this
  seems to control the left-right position of the circles. */
  background-color: #404040;
  border: 3px solid #1d225a;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  right: 15px;
  border: medium solid #202020;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #202020;
}

/* Add arrows to the right container (pointing left)    Change color for large screen with media query */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  left: 15px;
  border: medium solid #1d225a;
  border-width: 10px 10px 10px 0;
  border-color: transparent #1d225a transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -9px;   /*changed this from 16px don't really know what is going on */
}

/* The actual content */
.timeline_content_L {
  background-color: #202020;
  position: relative;
  border-radius: 5px;
}

.timeline_content_R {
  background-color: #1d225a;  /* rgb(47,79,79);  */
  position: relative;
  border-radius: 5px;
}

/* Media queries - Responsive timeline on screens less than 576px wide */
@media screen and (max-width: 576px) {
/* Place the timelime to the left */
  .timeline::after {
    left: 25px;
  }

/* Full-width containers */
  .timeline_container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .timeline_container::before {
    left: 60px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #202020 transparent transparent;
  }

 .right.timeline_container::before {
    border-color: transparent #1d225a transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 16px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }

}
