@charset "UTF-8";

/**
 * Long Read - Bloc encadré
 */

/* ----------------------------------------------------------
  Layout
---------------------------------------------------------- */

.cc-block--encadre--0 {
    background-color: #eae6f8;
    color: #0f1015;
}

.cc-block--encadre--1 {
    background-color: #0f1015;
    color: #ffffff;
    border-bottom: 1px solid #cfbca6;
}

.block--encadre {
	background-color: transparent;	
}

.block--encadre__title {
	display: flex;
	justify-content: space-between;
	align-items: center;
    line-height: 1.3;
}

.block--encadre__title .field-title {
	padding-right: 20px;
}

.cross {
	position: relative;
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 70px;
	border: 1px solid #0f1015;
	font-size: 0;
	transform: rotate(0deg);
	transform-origin: center;
	transition: all 0.4s;
}

.cc-block--encadre--1 .cross {
	border-color: #cfbca6;
}

.is-open .cross {
	transform: rotate(45deg);
}

.cross:before,
.cross:after {
	content: "";
	display: block;
	background-color: #0f1015;
	position: absolute;
}


.cc-block--encadre--1 .cross:before,
.cc-block--encadre--1 .cross:after {
    background-color: #ffffff;
}

.cross:before {
	width: 40px;
	height: 1px;
	top: 50%;
	left: 10px;	
}

.cross:after {
	height: 40px;
	width: 1px;
	top: 10px;
	left: 50%;
}

.block--encadre:not(.is-open) .block--encadre__content p {
	margin: 0;
}


.block--encadre__content {
	font-family: Arial, sans-serif;
}

.block--encadre__content>div .field-credit {
	margin:10px 0;
}

@media screen and (min-width: 768px) {
	.block--encadre__title {
		font-size: 2rem;
		letter-spacing: 5px;
	    padding-right: 5px;
	}
	.cc-block--encadre {
		padding: 0 70px;
	}
	.block--encadre__content {
		display: flex;
		flex-wrap: wrap;
	    visibility: visible;
	    margin-top: 67px;
	    -webkit-transition: all 0.3s ease;
	    transition: all 0.3s ease;
	}
	.block--encadre__content>div:first-child {
		display: flex;
	}
	.block--encadre__content>div:first-child p {
		margin-top: 0;
	}
	.field-credit-container {
		flex-direction: column;
		width: 100%;
	}
	.block--encadre__content>div .field-credit {
		font-size: 1.5rem;
    	font-weight: 500;
    	margin: 25px 0;
		display: flex;
		justify-content: space-between;
	}
	.block--encadre__content .field-content.encadre-image-top {
		width: 30%;
	}
	.block--encadre__content .field-content.longread-text {
		display: flex;
		width: 50%;
    	margin-right: 9.375%;
    	margin-left: 9.375%;
	}
	.block--encadre__content .field-content.longread-text>div {
		margin: auto 0;
	}
	.block--encadre__content .field-content.encadre-image-bottom {
		width: 50%;
		margin-top: 100px;
	}
	.block--encadre__content .field-content.encadre-image-bottom:nth-child(odd) {
		padding-left: 3.125%;
	}
	.block--encadre__content .field-content.encadre-image-bottom:nth-child(even) {
		padding-right: 3.125%;
	}
}

@media screen and (max-width: 769px) {
	.block--encadre__content {
		margin-top: 35px;
	}
	.field-second-image {
		display: none;
	}
	.cross {
		width: 30px;
		height: 30px;
	}
	.cross:before {
		width: 20px;
		left: 4px;
	}
	.cross:after {
		height: 20px;
		top: 4px;
	}
	.block--encadre__content>div:first-child {
		display: flex;
		flex-direction: column-reverse;
	}
	.block--encadre__content-credits>div:first-child {
		flex-direction: column;
	}
	.block--encadre__content .field-content.encadre-image-bottom {
		margin-top: 30px;
	}
}
