/* Issu de ressources/css/matribu.css (tools/convertit_css.py), simplifié pour Bootstrap 6 : maintenu à la main */
@layer site {

.main-title {
	color: #4e4e4e;
	font-weight: 600;
	font-size: 4em;
	margin-bottom: .3em;
  font-family: "Dosis";
}

 .timeline {
	  position: relative;
	  width: auto;
	  margin: 0 auto;
	  margin-top: 5em;
	  padding-bottom: 2em;
	  padding-left: 0;
	  padding-top: 20px;
	}

	.timeline:before {
	  position: absolute;
	  left: 50%;
	  top: 0;
	  content: ' ';
	  display: block;
	  width: 4px;
	  height: 100%;
	  margin-left: -3px;
	  background: #d7e4ed;
	  z-index: 5;
	}

	.dir-l, .dir-r {
		position: relative;
		width: 40%;
		padding: 1.5em 1em;
		background: #fff;
		margin-top: 0;
		margin-bottom: 1.5em;
	}

	.timeline h3 {
		font-size: 1.6em;
	  color: #4B878D;
	  margin-top: 0;
	  font-family: "Dosis";
	}
	.timeline h3:not(:empty) {
		border-bottom: 1px solid;
	}

.timeline p {
  letter-spacing: .5px;
  font-size: 1.5em;
  line-height: 1.5em;
  margin: .5em;
  margin-top: 1.5em;
  font-family: "Dosis";
}

.timeline-icon {
	position: absolute;
	top: 1em;
	width: 2.5em;
	height: 2.5em;
	right: 0;
	border-radius: 50%;
	z-index: 10;
}

.timeline a {
	color: #38666a;
	margin-left: .3em;
}

	.dir-l { float: left; }

	.dir-l:before {
		content: "";
	  display: inline-block;
	  vertical-align: middle;
	  width: 0;
	  height: 0;
	  position: absolute;
	  right: -.95em;
	  top: 1em;
		border-top: 17px solid transparent;
		border-bottom: 17px solid transparent;
		border-left: 15px solid #fff;
	}

	.dir-r { float: right; }

	.dir-r:before {
		content: "";
	  display: inline-block;
	  vertical-align: middle;
	  width: 0;
	  height: 0;
	  position: absolute;
	  left: -.9em;
	  top: 1em;
		border-top: 17px solid transparent;
		border-bottom: 17px solid transparent;
		border-right: 15px solid #fff;
	}

	.timeline-icon {
		position: absolute;
		top: 0.4em;
		width: 60px;
		height: 60px;
		left: 50%;
		margin-left: -30px;
		box-shadow:  0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0), 0 0 0 5px rgba(0, 0, 0, 0.15);
	}

	.timeline-blocks {
		display: block;
		height: auto;
		padding: 1em 0px;
		position: relative;
		overflow: hidden;
		border-bottom: 1px solid #d7e4ed;
    margin: 1em 0;
	}
	ul.timeline li.timeline-blocks:last-child {
		border-bottom:0;
	}

	.timeline figure.timeline-icon img {
		border-radius: 50%;
    width: 100%;
	}

	.timeline a {
		color: #38666a;
		margin-left: .3em;
	}

	.timeline-blocks .date-l, .timeline-blocks .date-r {
		position: absolute;
		top: 25px;
		right: 58%;
		font-size: 1.2em;
		color: #fc00ae;
		font-style: italic;
		font-weight: lighter;
		border: 1px solid;
		background: #ffe3f6;
		padding: 1px 5px;
	}

	.timeline-blocks .date-r { left:calc(50% + 40px); right: auto;}

	.timeline-blocks a:hover { color: #4B878D; }

.matribu .guest-review .comment-container .comment-content p {
    line-height: 1.5em;
}
.matribu .guest-review .author > a {
    max-width: 74px;
    max-height: 74px;
    width: 80%;
    height: auto;
    margin: 0% 10%;
}
.matribu .guest-review .author, .matribu .guest-review .comment-container {
	padding-top:10px;
	padding-bottom:10px;
}
.matribu .guest-review .author .name {
    line-height: 1.3em;
}
@media (max-width:600px) {
	.timeline:before {
	    content:"";
	    left: 5%;
	}
	.timeline .timeline-blocks .timeline-icon {
		left: 0%;
		width: 10%;
		height: 10vw;
		margin-left: 0;
	}
	.timeline .timeline-blocks .date-r, .timeline .timeline-blocks .date-l {
	right: auto;
	top: 4vw;
	left: calc(10% + 10px);
	}
	.timeline .timeline-blocks .dir-r, .timeline .timeline-blocks .dir-l {
	float: none;
	margin-left: 5%;
	width: 95%;
	margin-top: 35px;
	}
	.timeline .timeline-blocks .dir-r+.dir-l, .timeline .timeline-blocks .dir-l+.dir-r {
		margin-top:0;
	}

}

}
