/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/*GENERAL*/

.clearfix {
	clear: both;
	overflow: hidden;
}

#main.agence {
	width: 100%;
	max-width: inherit;
	padding: 0 0 30px 0 !important;
}

#main.agence > div {
	max-width: 100%;
}

#main.agence h1 {
	font-size: 2.5em;
	text-align: center;
    line-height: 125%;
    font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
    font-weight: 800;
    padding: 10px 0;
    margin: 0;
}

#main.agence h2 {
	font-size: 3em;
    line-height: 125%;
    font-family: 'Montserrat', sans-serif;
	font-style: italic;
    font-weight: 800;
    padding: 10px 0;
    margin: 0;
}

#main.agence #agence-bloc-3 h2 {
	color: #51ebdf;
    padding: 10px 20px;
}

#main.agence h3 {
	font-size: 1.8em;
	color: #1c7685;
    line-height: 125%;
    font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
    font-weight: 800;
    padding: 10px 0;
    margin: 0;
}

#main.agence #agence-bloc-3 h3 {
	font-size: 1.5em;
	color: #51ebdf;
}

#main.agence p {
    font-size: 1.2em;
    font-weight: 800;
    line-height: 150%;
    margin: 10px 0;
}

/*CONTENT*/

#agence-bloc-1 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#agence-bloc-1 > div:first-of-type {
	width: calc(50% + 50px);
	min-height: 480px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	/*background-image: url(/wp-content/uploads/2019/12/Site-Brief-Trait-3px.png);*/
    background-repeat: no-repeat;
    background-size: 3px 100%;
    background-position: 34.8% bottom;
}

#agence-bloc-1 > div:last-of-type {
	width: calc(50% + 50px);
	min-height: 480px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
	/*background-image: url(/wp-content/uploads/2019/12/Site-Brief-Trait-3px.png);*/
    background-repeat: no-repeat;
    background-position: 50% 0%;
    background-size: 3px 50px;
    padding: 50px 30px;
}

#agence-bloc-1 > div:last-of-type > div {
    width: 100%;
    max-width: 550px;
}

#main.agence h1 span,
#agence-bloc-1 p:last-of-type {
	color: #1c7685;
}

#agence-bloc-2 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}

#agence-bloc-2 > div {
	width: 100%;
    max-width: 1600px;
    /*background-image: url(/wp-content/uploads/2019/12/Site-Brief-Trait-3px.png);*/
    background-repeat: no-repeat;
    background-position: 10% 0%;
    background-size: 3px 50px;
    padding: 30px;
}

#agence-bloc-2 > div > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#agence-bloc-2 > div > ul > li {
	float: left;
	width: calc( 100% / 3);
	padding: 20px;
}

#agence-bloc-2 ul ul {
	padding: 0 0 0 20px;
	margin: 0;
}

#agence-bloc-3 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	background-image: url(/wp-content/uploads/2020/06/img_page_agence.png);
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

#agence-bloc-3 > div {
	position: relative;
	width: 100%;
    max-width: 1600px;
    /*background-image: url(/wp-content/uploads/2019/12/Site-Brief-Trait-3px.png);*/
    background-repeat: no-repeat;
    background-position: 10% 0%;
    background-size: 3px 50px;
    padding: 30px;
}

#agence-bloc-3 > div > img {
	position: absolute;
    width: 100%;
    max-width: 800px;
    top: 0;
    right: 0;
}

#main.agence #agence-bloc-3 > div > p {
	width: 100%;
	max-width: 50%;
	color: white;
    padding: 10px 20px;
}

#agence-bloc-3 > div > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#agence-bloc-3 > div > ul > li {
	float: left;
	width: calc( 100% / 6);
	min-height: 300px;
	color: white;
	font-size: 1.2em;
    font-weight: 800;
    line-height: 150%;
	padding: 20px;
}

#agence-bloc-3 ul ul {
	padding: 0 0 0 20px !important;
}

#agence-bloc-4 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	    -ms-flex-direction: column;
	        flex-direction: column;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	position: relative;
}

#agence-bloc-4 > div {
    width: 100%;
    max-width: 1600px;
    /*background-image: url(/wp-content/uploads/2019/12/Site-Brief-Trait-3px.png);*/
    background-repeat: no-repeat;
    background-position: 10% 0%;
    background-size: 3px 50px;
    padding: 30px 30px 10px 30px;
}

#agence-bloc-4 > ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
}

#agence-bloc-4 li:first-of-type {
    width: 50%;
	padding: 30px 10px 0 0px;
}

#agence-bloc-4 li:first-of-type > div:nth-child(1) {
    float: left;
	width: 100%;
	margin: 0 0 20px 0;
}

#agence-bloc-4 li:first-of-type > div:nth-child(2) {
    float: left;
	width: 50%;
	padding: 0 10px 0 0;
}

#agence-bloc-4 li:first-of-type > div:nth-child(3) {
    float: left;
	width: 50%;
	padding: 0 0 0 10px;
}

#agence-bloc-4 li:last-of-type {
    width: 50%;
	padding: 0 0 0 10px;
	margin: -45px 0 0 0;
}

#agence-bloc-4 li:last-of-type > div:nth-child(odd) {
    float: left;
	width: 50%;
	padding: 0 10px 0 0;
	margin: 0 0 20px 0;
}

#agence-bloc-4 li:last-of-type > div:nth-child(even) {
    float: left;
	width: 50%;
	padding: 0 0 0 10px;
	margin: 0 0 20px 0;
}

#agence-bloc-4 > img {
	position: absolute;
    width: 100%;
}


/*RESPONSIVE*/

@media screen and (max-width: 1600px) {
	
	#agence-bloc-1 > div:last-of-type > div {
    	max-width: inherit;
	}
	
	#agence-bloc-3 > div > ul > li {
    	padding: 10px;
	}
}

@media screen and (max-width: 1300px) {
	
	#main.agence h1 {
    	font-size: 2em;
	}
	
	#main.agence h2 {
    	font-size: 2.5em;
	}
	
	#main.agence h3 {
    	font-size: 1.5em;
	}
	
	#agence-bloc-3 > div > img {
		display: none;
	}
	
	#main.agence #agence-bloc-3 > div > p {
		max-width: 100%;
	}
	
	#agence-bloc-3 {
    	background-image: url(/wp-content/uploads/2020/05/bg-expertises-bloc-2.png);
    	background-repeat: no-repeat;
    	background-size: 100% 100%;
	}
	
	#agence-bloc-3 > div > ul > li {
    	float: left;
		width: calc( 100% / 4);
		min-height: 250px;
	}
	
	#agence-bloc-3 > div > ul > li:nth-child(4),
	#agence-bloc-3 > div > ul > li:nth-child(5),
	#agence-bloc-3 > div > ul > li:nth-child(6),
	#agence-bloc-3 > div > ul > li:nth-child(10),
	#agence-bloc-3 > div > ul > li:nth-child(11),
	#agence-bloc-3 > div > ul > li:nth-child(12),
	#agence-bloc-3 > div > ul > li:nth-child(13){
    	display: none;
	}
}

@media screen and (max-width: 1024px) {
	
	#agence-bloc-3 > div > ul > li {
    	float: left;
		width: calc( 100% / 3);
	}
	
}

@media screen and (max-width: 768px) {
	
	#main.agence h1 {
    	text-align: left;
	}
	
	#agence-bloc-1 {
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
	}
	
	#agence-bloc-1 > div:first-of-type {
		width: 100%;
		min-height: 0;
		background-image: none;
	}
	
	#agence-bloc-1 > div:last-of-type {
		width: 100%;
		min-height: 0;
		background-image: none;
		padding: 30px;
	}
	
	#agence-bloc-2 > div {
    	width: 100%;
    	background-image: none;
    	padding: 30px;
	}
	
	#agence-bloc-2 > div > ul > li {
    	width: 100% !important;
		padding: 0;
	}
	
	#agence-bloc-3 > div {
    	background-image: none;
		padding: 50px 10px;
	}
	
	#agence-bloc-3 > div > ul > li {
    	float: left;
		width: calc( 100% / 2);
		padding: 20px;
	}
	
	#agence-bloc-4 > div {
    	background-image: none;
	}
	
	#agence-bloc-4 > ul {
    	-webkit-box-orient: vertical;
    	-webkit-box-direction: normal;
    	    -ms-flex-direction: column;
    	        flex-direction: column;
	}
	
	#agence-bloc-4 li:first-of-type {
    	width: 100%;
    	padding: 30px 0 0 0;
	}
	
	#agence-bloc-4 li:last-of-type {
    	width: 100%;
    	padding: 0;
    	margin: 20px 0;
	}
	
	#agence-bloc-4 > img {
		display: none;
	}
	
}

@media screen and (max-width: 500px) {
	
	#agence-bloc-3 > div > ul > li {
    	float: left;
		width: calc( 100% / 1);
		min-height: 0;
	}
	
}