/* Somente uma cópia do timeline da copa */
:root {
  --white: #ffffff;
  --black: #000000;
  --blue:#000000; /*0288d1*/
  --gray:#ebebeb;
  --box-shadow1:0px 0px 18px 2px rgba(10, 55, 90, 0.15);
}

.estadio {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.estadio>* {
	white-space: nowrap;
	overflow: ellipsis;
}
.estadio>*:empty {
	display: none;
}
.estadio>*:not(:first-child)::before {
	content: "\00a0-\00a0";
}
.estadio-name {
	font-weight: bold;
}
.estadio-city {
	color: #444;
}

.timeline {
  padding: 50px 0;
  position: relative;
  /* display: flex; */
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: auto;
}

.timeline .row {
	align-items: start;
}

.timeline-mascote-bola-logo {
	display: flex;
	align-items: stretch;
	justify-content: start;
	flex-wrap: wrap;
}
.timeline-mascote-bola-logo>* {
	flex-basis: 25%;
	flex-shrink: 1;
	flex-grow: 1;
	min-width: 100px;
}
.timeline-mascote-bola-logo.timeline-3-2>* {
	flex-basis: 30%;
}
.timeline-mascote-bola-logo img {
	max-width: calc(100% - 2em);
	margin-top: 0.5em;
	width: 100px;
}
.timeline .timeline-sub {
	font-size: 0.8em;
	margin-bottom: 0.5em;
}
.timeline-artilheiros img {
	max-width: calc(100% - 2em);
	width: 100px;
}
.timeline .col-2, .timeline .col-5, .timeline .col-10, .timeline .col-sm-1 {
  position: relative;
  min-height: 1px;
}
.timeline .escudo-30 {
  width: 30px;
}
.timeline .escudo-50 {
  width: 50px;
}
.timeline .line-height-25 {
  line-height: 25px;
}
.timeline .text-light {
  color: #f8f9fa !important;
}
.timeline-nodes {
  padding-bottom: 25px;
  position: relative;
}
.timeline-nodes:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline h3, .timeline p {
  padding: 5px 15px;
}
.timeline h3{
  background: var(--blue);
  margin: 0px;
	border-radius: 10px 10px 0 0;
}
.timeline p, .timeline time {
  color: var(--blue)
}
.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  border-left: 2px dotted #999;
  height: 100%;
  z-index: 1;
  transform: translateX(-50%);
}
.timeline .timeline-title.title-big {
	background-color: #999;
	color: white;
}
.timeline .timeline-title {
	background-color: #efefef;
	text-align: center;
	font-size: 1.1em;
	padding: 0.2em;
}
.timeline .timeline-title img {
	vertical-align: text-bottom;
}
.timeline .timeline-artilheiros {
	display: flex;
	flex-wrap: wrap;
	text-align: center;
}
.timeline .timeline-artilheiros>* {
	flex-basis: 30%;
	min-width: 100px;
	flex-shrink: 1;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.timeline .timeline-artilheiros-detail {
	display: flex;
	align-items: center;
}
.timeline .timeline-description {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.1em;
	padding: 0.5em;
	line-height: 1.2;
}
.timeline .timeline-agrupado { 
  align-self: self-start;
}
.timeline .justify-content-md-around {
  -ms-flex-pack: distribute!important;
  justify-content: space-around !important;
}
.timeline .text-md-center {
  text-align: center !important;
}
.timeline .col-md-5 {
  -ms-flex: 0 0 41.666667%;
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
}
.timeline .timeline-content {
  border: 1px solid var(--blue);
  position: relative;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0px 3px 25px 0px rgba(10, 55, 90, 0.2);
  padding: 0px;
  text-align: center;
}
.timeline-nodes:nth-child(odd) h3,
.timeline-nodes:nth-child(odd) p {
  /*text-align: right;*/
}
.timeline-nodes:nth-child(odd) .timeline-date {
  /*text-align: left;*/
}
.timeline-nodes:nth-child(even) .timeline-date {
  /*text-align: right;*/
}
.timeline-nodes:nth-child(odd) .timeline-content::after {
  content: "";
  position: absolute;
  top: 2em;
  left: 100%;
  width: 0;
  border-left: 10px solid var(--blue);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.timeline-nodes:nth-child(even) .timeline-content::after {
  content: "";
  position: absolute;
  top: 2em;
  right: 100%;
  width: 0;
  border-right: 10px solid var(--blue);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.timeline-image {
	position: relative;
	z-index: 3;
	height: 120px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.timeline-image::before {
  content: "";
  width: 80px;
  /* height: 80px; */
  height: 120px;
  /*width: 120px;*/
  /*height: 120px;*/
  border: 1px solid var(--blue);
  border-radius: 1em;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background-color: #f0f0f0;
  z-index: 0;


}
.timeline-image img {
  position: relative;
  z-index: 4;
}

.timeline-image .img-fluid {
  display: flex;
  flex-direction: column;
  min-height: 0;
  object-fit: contain;
  max-height: 50%;
}

.timeline::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
}

/*small device style*/

@media (max-width: 767px) {
  .timeline .col-md-5 {
    -ms-flex: 0 0 95.666667%;
    flex: 0 0 95.666667%;
    max-width: 95.666667%;
  }
  .timeline-nodes:nth-child(even) {
    flex-direction: row;
  }
  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 4%;
    width: 0;
    height: 100%;
    z-index: 1;
    transform: translateX(-50%);
  }
  .timeline p {
    font-size: 14px;
  }
  .timeline .order-md-1 {
    -ms-flex-order: 1;
    order: 1;
  }
  .timeline-image {
    position: absolute;
    left: 0%;
    top: 60px;
    /*transform: translateX(-50%;);*/
  }
  .timeline-nodes:nth-child(odd) .timeline-content::after {
    content: "";
    position: absolute;
    top: 2em;
    left: auto;
    right: 100%;
    width: 0;
    border-left: 0;
    border-right: 10px solid var(--blue);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .timeline-nodes:nth-child(even) .timeline-content::after {
    content: "";
    position: absolute;
    top: 2em;
    right: 100%;
    width: 0;
    border-right: 10px solid var(--blue);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }
  .timeline-nodes:nth-child(even) .timeline-date {
    text-align: left;
  }
  .timeline-image::before {
    width: 40px;
    height: 155px;
    left: -10px;
  }
  .justify-content-md-around {
    -ms-flex-pack: distribute!important;
    justify-content: space-around !important;
  }

  .timeline-image .img-fluid {
    width: 30px;
    height: 30px;
    left: -25px;
  }
  
}

/*extra small device style */
@media (max-width: 575px) {
  .timeline::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 30px;
  }
  
  .timeline-image::before {
    left: -2px;
  }

  .timeline-image .img-fluid {
    left: -15px;
  }
}

