#kit-media-header {
	position: relative;
	margin-bottom: 80px;
}

@media screen and (min-width: 1024px) {}

#kit-media-intro p {
	font-family: 'morlsemilight', sans-serif;
	line-height: 1.3;
	font-size: 2.5rem;
}

#kit-media-header h1,
#kit-media-intro {
	position: relative;
	z-index: 2;
}

#kit-media-header img {
	z-index: 0;
	top: -20%;
	left: 90%;
	height: 190%;
	width: auto;
}
/************************ BOUTONS GENERAUX ****************/

.page-kit-media .button-black:hover{
	background-color: var(--yellow);
	color: #000;
}




/************************ BLOCS GENERAUX ****************/


/* Background gradient */
.kit-media-bloc .section-bg {
	height: 100%;
	position: absolute;
	top: 0;
	width: 200%;
	left: 50%;
	transform: translateX(-50%);
	
}

.kit-media-bloc:nth-child(even) .section-bg {
	background: RGBA(255, 227, 0, 1);
	background: linear-gradient(180deg, rgba(255, 227, 0, 0.2) 0%, rgba(255, 255, 255, 1) 90%);
}

.kit-media-bloc:nth-child(odd) .section-bg {
	background: #000000;
background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(255, 255, 255, 1) 90%);
}


/* titre */
.kit-media-bloc-title {
	position: relative;
	z-index: 1;
}

.kit-media-bloc-title h2 {
	text-align: left;
	font-family: "morl_sansbold";
	border-bottom: 16px solid var(--yellow);
	margin-bottom: 0;
}


/* bloc de contenu */
.kit-media-bloc-content {
	position: relative;
	z-index: 1;
	padding: 40px 0;
	justify-content: space-between;
	align-items: start;
}

@media screen and (min-width: 1024px) {
	.kit-media-bloc-content{
		padding: 80px 0;;
	}
	
}

/* item media général (img, logo, boutons) *******/

.kit-media-item{
	display: flex;
	flex-direction: column;	
	justify-content: flex-start;
	align-items: center;
	gap: 2rem;
	max-width: 350px;
	margin: 0 auto 4rem;
}
.kit-media-item .img-container{
	height: 200px;
	width: 80%;
	position: relative;
	overflow: hidden;;
}
.kit-media-item .kit-media-img{
	max-height: 100%;
	max-width: 100%;
	min-height: auto;
	min-width: auto;
	
	/*background-size: contain;
	background-repeat: no-repeat;
	background-position: center;*/
	
}

.kit-media-item-logo {
	height: auto;
	aspect-ratio: 314 / 120;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.kit-media-item-logo img{
	max-height: 100%;
}
.kit-media-item-footer{
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 5px;
	width: 100%;
	position: relative;
	z-index: 2 /* vs kit-media-item-collapse;*/
}
.kit-media-item-footer > div:first-of-type{
	position: relative;
	background-color: var(--yellow);
	text-transform: uppercase;
	padding: 10px 0;
	font-size: 1.9rem;
	flex: 1;
	text-align: center;;
	font-family: 'morlmedium', serif;
}
.kit-media-item-footer.active{
	z-index: 4;
}
.kit-media-item-footer.active > div:first-of-type{
	background: #000;
	color: var(--yellow);
	flex: 1;

}
/* fleche sur item actif */
.kit-media-item-footer.active > div:first-of-type:after{
	content: '';
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
	

}

.kit-media-item-footer .collapse-btn{
	background-image: url(../img/picto_oeil.svg);
	background-color: var(--yellow);
}
.kit-media-item-footer.active .collapse-btn,
.kit-media-item-footer.active .collapse-btn:hover,
.kit-media-item-footer .collapse-btn:hover{
	background-image: url(../img/picto_oeil_hover.svg);
	background-color: #000;
}


.kit-media-item-footer a.button-download:after{
	display: none;
}
.kit-media-item-footer a.button-download{
	display: inline-block;
	padding: 0;
	background-image: url(../img/picto_download.svg);
	background-color: black;
}


.kit-media-item-footer a.button-download:hover{
	background-color: var(--yellow);
	background-image: url(../img/picto_download_hover.svg);
}

.kit-media-item-footer .collapse-btn,
.kit-media-item-footer a.button-download{
	padding: 0;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	aspect-ratio: 1/1;
	flex: 0.15;
	width: auto;
}
@media screen and (min-width: 992px) {
	.kit-media-item-footer .collapse-btn,
	.kit-media-item-footer a.button-download{
		flex: 0.2;
	}
}


/* item media detail (img, logo, boutons) */
.kit-media-detail-item{
	/*gap: 1rem;*/
	padding: 0 20px;
}

.kit-media-detail-item .kit-media-img {
	width: 100%;
}

.kit-media-detail-title,
.kit-media-detail-subtitle{
	text-align: left;
	width: 100%;
	
}

.kit-media-detail-title{
	font-family: 'morlmedium', serif;
	font-size:3rem;
	margin-bottom: 0;
}
.kit-media-detail-subtitle{
	font-size:2.5rem;
}

.kit-media-detail-buttons{
	width: 100%;
}

.kit-media-detail-buttons button{
	width: 100%;
	
}

.kit-media-detail-buttons .btn-detail-item-download{
	transition: none;;
	padding-bottom: 5px;
}
.kit-media-detail-buttons .btn-detail-item-download:after{
	content:'';
	display: block;
	height: 2em;
	aspect-ratio: 1;
	margin: 0 auto;
	background-image: url('../img/picto_download_hover.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom center;
	transition: none;
}

.kit-media-detail-buttons .btn-detail-item-download:hover:after{
	background-image: url('../img/picto_download.svg');
	transition: none;
}

.kit-media-detail-button-list{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	max-height: none;
	opacity: 1;
}

.kit-media-detail-button-list.closed{
	max-height: 0;
	overflow: hidden;
	opacity: 0;
}

/************************ BLOCS COLLAPSES ****************/
.kit-media-bloc-row {
	display: flex;
}

.kit-media-item-collapse {
	    align-self: start;
	position: relative;
	left: 0;
	z-index: 3; /* vs kit-media-item-footer;*/
	background: #FFF;
	overflow: hidden;
	transition: max-height 0.3s ease;
	max-height: none;
	margin-top: -2rem;
	-webkit-box-shadow: 7px 7px 10px rgba(0, 0, 0, 0.35);
	box-shadow: 7px 7px 10px 0 rgba(0, 0, 0, 0.35);
	opacity: 1;
	padding: 40px 20px;
	min-width: 100%;
	text-align: right; /* pour aligner le lien btn-more*/
}

.kit-media-item-collapse.closed {
	opacity: 0;
	max-height: 0;
	transition: max-height 0.3s ease;
	box-shadow: none;
	-webkit-box-shadow: none;
	padding: 0; /** pour être sûr que ça ne laisse pas un bloc invisible **/
}


@media screen and (min-width: 1024px) {
	.kit-media-item-collapse {
		min-width: 100%;
		align-self: flex-start;
	}
	
}

/************************ BLOC EDITIONS ****************/
