/* stylesheet - default */

.fiches-latest
{
	margin: 32px 0;

	& > .title
	{
		color: inherit;
		font-family: 'Roboto', sans-serif;
		font-size: 150%;
		font-weight: 400;
		text-transform: uppercase;
		margin: 24px 0;
		padding: 8px 15px;
		background: rgba(0,0,0,0.06);
		border-left: 4px solid var(--site_color);
	}

	.structure-row
	{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		justify-content: center;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-direction: row;
		flex-direction: row;
	}

	.structure-justify-between
	{
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}

	.structure-justify-around
	{
		-ms-flex-pack: distribute;
		justify-content: space-around;
	}

	.structure-w-4
	{
		width: 296px;
		max-width: 100%;
		margin: 5px 1% 15px;
	}

	.structure-wrap
	{
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.fiche-thumb
	{
		background: white;
		border-radius: 8px 8px 0 0;
		box-shadow: 0 1px 8px #0002;

		.fiche-title
		{
			padding: 8px 15px;
			background: rgba(0,0,0,0.06);
			border-radius: 8px 8px 0 0;
			color: white;
			font-family: 'Roboto', sans-serif;
			font-size: 18px;
			font-weight: 400;
			text-align: center;
			text-transform: uppercase;
		}

		.fiche-wrap
		{
			padding: 15px 20px;

			.fiche-vignette
			{
				margin-bottom: 15px;
				text-align: center;

				img
				{
					max-width: 100%;
					height: auto;
				}
			}

			.fiche-content
			{
				margin-bottom: 20px;
				font-size: 16px;
			}

			.fiche-link
			{
				text-align: center;

				.readmore
				{
					background: var(--site_color);
					color: #fff;
					text-decoration: none;
					text-transform: uppercase;
					font-size: 18px;
					display: inline-block;
					padding: 0 10px;
					line-height: 28px;
				}
			}
		}
	}
}

.fiche-container
{
	.fiche-chapitre
	{
		h3
		{
			display: inline;
			padding: 8px;
			color: var(--site_color);
		}

		a:hover
		{
			text-decoration: none!important;
		}

		.icone-fleche-before:before
		{
			content: "\f359";
			font-family: "Font Awesome 6 Free";
			font-size: 20px;
			font-weight: 900;
		}

		.icone-fleche-after:before
		{
			content: "\f35a";
			font-family: "Font Awesome 6 Free";
			font-size: 20px;
			font-weight: 900;
		}

		.container-fiche-chapitre
		{
			margin-top: 16px;

			.structure-justify-between
			{
				display: flex;
				flex-direction: row;
				justify-content: space-between;
				gap: 32px;

				.fiche-col-1
				{
					.fiche-video, .fiche-audio
					{
						margin-bottom: 50px;
					}

					.fiche-pdf-chapitre, .fiche-pdf-fiche
					{
						margin-bottom: 15px;

						img
						{
							vertical-align: middle;
							margin-right: 10px;
							width: 35px;
							max-width: 100%;
							height: auto;
						}
					}
				}

				.fiche-col-2
				{
					flex-grow: 1;
					padding: 16px;
					background: white;
				}
			}
		}

		.fiche-separator
		{
			height: 1px;
			width: 100%;
			background: var(--site_color);
			margin: 30px 0 35px;
		}

		.titre-autre-chapitre
		{
			color: #e50069;
			font-size: 18px;
			text-transform: uppercase;
		}

		.structure-row
		{
			display: flex;
			flex-direction: row;
		}

		.structure-justify-around
		{
			justify-content: space-around;
		}

		.structure-wrap
		{
			flex-wrap: wrap;
		}

		.structure-w-4
		{
			width: 296px;
			max-width: 100%;
			margin: 5px 1% 15px;
		}

		.fiche-thumb
		{
			background: white;

			.fiche-title
			{
				background: #555;
				padding: 10px 5px;
				color: white;
				font-size: 18px;
				text-align: center;
				text-transform: uppercase;

				a
				{
					color: white;
					text-decoration: none;

					.fiche-counter
					{
						font-size: 15px;
					}
				}
			}

			.fiche-wrap
			{
				padding: 15px 20px;

				.fiche-content
				{
					margin-bottom: 20px;
					font-size: 16px;
				}

				.fiche-link
				{
					text-align: center;

					a.readmore
					{
						display: inline-block;
						padding: 0 10px;
						background: var(--site_color);
						color: white;
						text-decoration: none;
						text-transform: uppercase;
						font-size: 18px;
						line-height: 28px;
					}
				}
			}
		}
	}
}

@media screen and (max-width: 1024px)
{
	.container-fiche-chapitre
	{
		.structure-justify-between
		{
			flex-direction: column!important;
		}

		.fiche-col-1
		{
			.fiche-video
			{
				iframe
				{
					max-width: 90vw;
				}
			}
		}

		.fiche-col-2
		{
			.fiche-content
			{
				img
				{
					float: none!important;
					margin: 20px!important;
					width: 90%;
				}
			}
		}
	}
}
