/***************************************************************************************************/
/* TITRES */

.h1{
	font-family: var(--font-2);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}
.h2{
	color: var(--color-3);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}
.h3{
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
}
.h4{
	font-size: 20px;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 1024px) {

	.h1{
		font-size: 36px;
	}
	.h2{
		font-size: 26px;
	}
	.h3{
		font-size: 20px;
	}
	.h4{
		font-size: 18px;
	}

}

/***************************************************************************************************/
/* COLORED */

.colored{
	color: var(--color-3);
}

/***************************************************************************************************/
/* TEXTE RTE */

.ckeditor, .rte{
	width: 100%;

	& iframe{
		width: 100% !important;
	}
	& div[data-oembed-url] > div{
		max-width: 100% !important;
	}
	& img{
		width: 100% !important;
		height: auto !important;
	}
	:is(ul, ol){
		text-align: left;
	}
	& .h2:not(:first-child){
		margin-top: 20px;
	}
}

/***************************************************************************************************/
/* IMAGES */

picture{
	position: relative;

	&[data-lg-id]{
		cursor: pointer;
	}

	& img{
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		position: absolute;
		left: 0;
		top: 0;
		z-index: 1;
	}
	&[data-mode="cover"] img{
		object-fit: cover;
	}
	&[data-mode="contain"] img{
		object-fit: scale-down;
		position: static;
	}
	& .zoom, & .video{
		--size: 36px;

		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		width: var(--size);
		height: var(--size);
		background: var(--color-3);
		color: var(--color-2);
		font-size: 18px;
		position: absolute;
		left: calc(50% - (var(--size) / 2));
		top: calc(50% - (var(--size) / 2));
		transition: opacity .2s ease-in-out;
	}
	& .zoom{
		opacity: 0;
		z-index: 3;
	}
	& .video{
		z-index: 2;
	}
	& .copyright{
		float: left;
		text-shadow: 0 0 5px #000000;
		padding: 10px;
		color: var(--color-2);
		font-size: 14px;
		font-weight: bold;
		position: absolute;
		right: 0;
		bottom: 0;
		z-index: 4;
		cursor: default;
		opacity: 0.7;
	}
}
picture:hover {
	& .zoom{
		opacity: 1;
	}
}

/***************************************************************************************************/
/* BOUTON */

.button{
	width: fit-content;
	height: 40px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	border: 1px solid var(--color-3);
	color: var(--color-3);
	cursor: pointer;

    transition: all .2s ease-in-out;

	&:hover{
		background: var(--color-3);
		color: var(--color-2);
	}
}
	.button-icon{
		font-size: 14px;
	}
	.button-label{
		font-size: 16px;
		font-weight: 400;
    	text-transform: uppercase;

		transition: color .2s ease-in-out;
	}

/***************************************************************************************************/
/* PDF */

.pdf{
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 15px;
	width: 100%;
	position: relative;
}
	.pdf_content{
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 15px;
		width: 100%;
		position: relative;
		z-index: 2;

		&::after{
			flex-grow: 1;
			content: "";
			height: 1px;
			background: rgba(44, 54, 72, 0.2);
		}
	}
		.pdf_label{
			color: var(--color-3);
			font-size: 16px;
			text-align: left;
		}
	.pdf_icon{
		flex-shrink: 0;
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		height: 36px;
		width: 36px;
		border: 1px solid var(--color-3);
		color: var(--color-3);
		font-size: 18px;
		position: relative;
		z-index: 2;
		transition: all .3s ease-in-out;
	}

.pdf:hover{
	& .pdf_icon{
		background: var(--color-3);
		color: var(--color-2);
	}
}

/***************************************************************************************************/
/* CITATION */

blockquote,
.indent{
	margin: 10px 0 10px 10px;
	padding: 5px 0 5px 15px;
	border-left: 1px solid var(--color-3);
	font-family: inherit;
	font-style: normal;
}

/***************************************************************************************************/
/* TABLEAU */

.table-wrapper{
	width: 100%;
	overflow-x: auto;
}
	table:not(.table-condensed){
		min-width: 100%;
		width: auto !important;
		background: transparent;
		border-collapse: collapse;
		border: 0;
		text-align: left;
		line-height: 20px;

		& tr{
			&:not(:last-child) {
				border-bottom: 1px solid rgba(0, 0, 0, 0.2);
			}
			&:first-child > *{
				border-top: 0;
			}
			&:last-child > *{
				border-bottom: 0;
			}
		}

		& th{
			padding: 15px;
			background: var(--color-3);
			color: var(--color-2);
			border: 0;
			font-size: 14px;
			font-weight: 500;
			vertical-align: top;
		}

		& td{
			padding: 15px;
			color: var(--color-1);
			border: 0;
			font-size: 14px;
			vertical-align: top;
		}
	}
	table.table-striped{
		& tr:nth-child(odd){
			background: var(--color-3-lighter);
		}
		& tr:not(:last-child) {
			border-bottom: none;
		}
	}

@media (max-width: 1024px) {

	table:not(.table-mobile-stacked){
		min-width: 768px;
	}

	table.table-mobile-stacked{
		& tr{
			display: flex;
			flex-direction: column;
		}
		& th{
			text-align: center !important;
		}
		& td{
			width: 100% !important;
			padding-top: 7px;
			padding-bottom: 7px;
			text-align: center !important;
		}
		& th + td,
		& td:first-child{
			padding-top: 15px;
		}
		& td:last-child{
			padding-bottom: 15px;
		}
	}

}

/***************************************************************************************************/
/* LOCALES */

.locales{
	width: 50px;
	height: 100%;
	position: relative;
}
    .locales-selected{
    	display: flex;
    	flex-direction: row;
    	align-items: center;
    	justify-content: center;
    	height: 100%;
    	cursor: pointer;
    }
        .locales-selected-label{
        	margin-right: 5px;
        	color: var(--color-2);
        	font-size: 16px;
        	text-transform: uppercase;
        }
        .locales-selected-arrow{
        	margin-top: 2px;
        	color: var(--color-2);
        	font-size: 8px;
            transition: transform .2s ease-in-out;
        }
        .header_locales.active .locales-selected-arrow{
            transform: scaleY(-1);
        }
    .locales-select{
    	display: none;
    	width: calc(100% + 20px);
    	background: var(--color-3);
    	position: absolute;
    	top: 100%;
    	left: -10px;
    }
        .locales-select-option{
        	display: block;
            width: 100%;
        	padding: 10px;
        	color: var(--color-2);
        	font-size: 16px;
        	text-transform: uppercase;
        	text-align: center;
            transition: background .2s ease-in-out;
        }
        .locales-select-option:hover{
            background: var(--color-3);
        }
