

.time{
	display: var(--timeDisplay, inline-flex);
	color: var(--dark-color);
  padding: var(--timePadding, .25rem 1.25rem .25rem);
  font-size: var(--timeFontSize, .75rem);
  font-weight: var(--timeFontWeight, 700);
  text-transform: var(--timeTextTransform, uppercase);
  color: var(--timeColor, currentColor);
}


.card{
	padding: 1px;
	margin-bottom: 0px;
}

.card__content{
}

.card{
  border-radius: var(--timelineCardBorderRadius, 2px);
  border-left: var(--timelineCardBorderLeftWidth, 3px) solid var(--timelineCardBorderLeftColor, var(--uiTimelineMainColor));
  box-shadow: var(--timelineCardBoxShadow, 0 1px 3px 0 rgba(0, 0, 0, .12), 0 1px 2px 0 rgba(0, 0, 0, .24));
  background-color: var(--timelineCardBackgroundColor, #fff);
}

.card__title{
  font-size: 12px;
	font-weight: 500;
	padding: 3px;
	background: var(--timelineMainColor);
	color: #fff;
	border-radius: 2px;
	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12);
}


.timeline{
  display: var(--timelineDisplay, grid);
  grid-row-gap: var(--timelineGroupsGap, .5rem);
}

/*
1. If timeline__year isn't displaed the gap between it and timeline__cards isn't displayed too
*/

.timeline__year{
  margin-bottom: .25rem; /* 1 */
	color: #fff;
	background-color: var(--timelineMainColor);
}

.timeline__cards{
  display: var(--timeloneCardsDisplay, grid);
  grid-row-gap: var(--timeloneCardsGap, .5rem);
}


/*
=====
SKIN
=====
*/

.timeline{
  --uiTimelineMainColor: var(--timelineMainColor, #222);
  --uiTimelineSecondaryColor: var(--timelineSecondaryColor, #fff);

  border-left: var(--timelineLineWidth, 3px) solid var(--timelineLineBackgroundColor, var(--uiTimelineMainColor));
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}

.timeline__year{
  --timePadding: var(--timelineYearPadding, .5rem 1.5rem);
  --timeColor: var(--uiTimelineSecondaryColor);
  --timeBackgroundColor: var(--uiTimelineMainColor);
  --timeFontWeight: var(--timelineYearFontWeight, bold);
}

.timeline__card{
  position: relative;
  margin-left: var(--timelineCardLineGap, 1rem);
	margin-right: 3px;
	/* margin: 0 0 0 0; */
}

/*
1. Stoping cut box shadow
*/

.timeline__cards{
  overflow: hidden;
  padding-top: .25rem; /* 1 */
  padding-bottom: .25rem; /* 1 */
}

.timeline__card::before{
  content: "";
  width: 100%;
  height: var(--timelineCardLineWidth, 2px);
  background-color: var(--timelineCardLineBackgroundColor, var(--uiTimelineMainColor));

  position: absolute;
  top: var(--timelineCardLineTop, 1rem);
  left: -50%;
  z-index: -1;
}

/*
=====
SETTINGS
=====
*/
/**/
.timeline{
  /* --timelineMainColor: #4557bb; */
	--timelineMainColor:  rgba(0, 116, 217, .9);
}


.timeline p{
  margin-top: 0;
  margin-bottom: 1px;
  line-height: 1.3em;
	font-size: 13px!important;
	padding: 2px 20px 13px 20px;
}

.timeline p:last-child{
  margin-bottom: 0;
}


.page{
	flex-basis: 50%;
	padding: 10px;
}


.substack{
  border:1px solid #EEE;
  background-color: #fff;
  width: 100%;
  max-width: 480px;
  height: 280px;
  margin: 1rem auto;
}


@media (max-width: 700px) {
	body{
		min-width:375px;
	}




}
