/***********************************************************************
 * Style.css
 * @author   Margot Laurent
 * @date      2019-06-06
 */


html { height:100%; font-size:100%; background-color:#afafaf; overflow-y:scroll; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%}
body { display:block; margin:0; padding:0; overflow:hidden; color:#333; font-size:12px; background: url(../images/bg-body-home.jpg) no-repeat center 0; -webkit-background-size: cover; background-size: cover; }

/* Setup des liens */
a{ text-decoration:none; color:#333; }

/* Setup des liste */
ul { padding: 0; margin: 0; list-style: none; }


/* Header */
#header { overflow: hidden; min-height: 266px; padding: 23px 4% 0 4%; background: url(../images/bg-header.jpg) no-repeat 0 0 #afafaf; } 
#header .logo { display: block; float: left; }
#header #hamburger-content { margin-top: 41px; margin-left: 40px; float: left;}
#header #hamburger-content li a { color: #fff; text-transform: uppercase; font-size: 1.333em; font-family:"Barlow Bold", Arial,sans-serif;}
#header .nav:active { text-decoration: line-through; }
	#header #hamburger-content li { float: left; margin-right: 30px; }


/* Global */ 
.container-large { float: left; width: 100%; }
	.container-large .container-xs { width: 73%; margin: 0 auto; }
	
	
/* Container Présentation */
.container-large.presentation { background-color: rgb(250, 250, 250, 0.8); }
	.container-large.presentation .encart-title { display: inline-block; padding: 0 55px; margin-top: 40px; font-size: 1.625em; line-height: 52px; text-transform: uppercase; color: #ae191f; background-color: #fff; letter-spacing: 5px; font-family:"Barlow Bold", Arial,sans-serif; }
	.container-large.presentation .title { display: inline-block; width: 100%; margin-top: 34px; font-size: 4.688em; line-height: 52px; text-transform: uppercase; color: #2c2a30; font-family:"Barlow Bold", Arial,sans-serif; }
	.container-large.presentation .subtitle{ width: 91%; margin-top: 10px; border-right: 50px solid transparent; position: relative; }
	.container-large.presentation.categorie .subtitle{ width: 51%; }
	.container-large.presentation .subtitle:after{ content: ''; border-left: 42px solid transparent; border-right: 50px solid transparent;border-top: 131px solid #d03230; width: 0; height: 0; position: absolute; top: 0; right: -50px; }
	.container-large.presentation.categorie .subtitle:after{ border-top: 60px solid #d03230; }
		.container-large.presentation .subtitle span { display: block; padding: 12px 0 12px 29px; background-color: #d03230; font-size: 3.000em; line-height: 1em; color: #fff; font-family:"Barlow Bold", Arial,sans-serif; letter-spacing: 5px; }
	
	.container-large.presentation .text { display: inline-block; margin: 43px 0; font-size: 2.083em; line-height: 1.6em; color: #4a4c55; font-family:"Barlow Medium", Arial,sans-serif;}

	@media only screen and (max-width: 1830px) {
		.container-large.presentation .subtitle:after{ border: none; }
		.container-large.presentation .subtitle span { font-size: 2.000em;  }
		.container-large.presentation.categorie .subtitle { width: 91%; }
		.container-large.presentation .text { font-size: 1.8em; line-height: 1.4em; }
	}


/* Présentation centrale */
.container-large .container-xs.presentation { width: 1136px; }
.container-presentation { display: block; position: relative;width: 1136px; margin: 0 auto; height: 1000px; padding: 55px 0; }
	.container-presentation li { display: block; position: absolute; width: 310px; height: 469px; color: #fff; }
	.container-presentation li:nth-child(1) { top: 7%; left: 6%; background: url(../images/bg-paint1.png) no-repeat 0 0 ;}
	.container-presentation li:nth-child(2) { top: 8%; right: 4%; height: 525px; background: url(../images/bg-paint2.png) no-repeat 29px 0 ; color: #4a4c55;}
	.container-presentation li:nth-child(3) { top: 45%; left: 0; background: url(../images/bg-paint3.png) no-repeat 0 0 ; color: #4a4c55;}
	.container-presentation li:nth-child(4) { top: 44%; right: 2%; background: url(../images/bg-paint4.png) no-repeat 0 0 ;}
	.container-presentation li:nth-child(5) { top: 61%; left: 37%; height: 518px; background: url(../images/bg-paint5.png) no-repeat 0 0 ;}
	.container-presentation li:nth-child(6) { top: 20%; left: 35%; width: auto; height: auto; }
	.blog .container-presentation li:nth-child(1) { height: 518px; background: url(../images/bg-paint5.png) no-repeat 0 0 ; }
	.blog .container-presentation li:nth-child(2) { background-image: none; }

	.container-presentation li .title { display: inline-block; height: 39px; width: 256px; text-align: center; font-size: 24px; line-height: 41px; color: #ae191f; background-color: #fff; text-transform: uppercase; font-family:"Barlow Bold", Arial,sans-serif;}
	.container-presentation li:nth-child(1) .title { margin: 52px 0 0 54px; }
	.blog  .container-presentation li:nth-child(1) .title { margin: 52px 0 0 -7px }
	.container-presentation li:nth-child(2) .title { margin: 60px 0 0 0;}
	.container-presentation li:nth-child(3) .title { margin: 46px 0 0 17px;}
	.container-presentation li:nth-child(4) .title { margin: 38px 0 0 37px;}
	.container-presentation li:nth-child(5) .title { margin: 67px 0 0 7px;}

	.container-presentation li .text { display: inline-block; width: 218px; margin: 15px 0 0 58px; font-size: 19px; line-height: 1.1em; font-family:"Barlow Medium", Arial,sans-serif; }
	.blog .container-presentation li .text { font-size: 15px; margin: 9px 0 0 47px; }
	.container-presentation li:nth-child(3) .text { margin: 11px 0 0px 82px; }
	.container-presentation li:nth-child(4) .text { margin: 10px 0 0 47px; }
	.container-presentation li:nth-child(5) .text { margin: 21px 0 0 31px; }
		.container-presentation li a .text { color: #fff;  }
		.container-presentation li:nth-child(2) a .text, .container-presentation li:nth-child(3) a .text { color: #4a4c55;  }
		.blog  .container-presentation li .text a { color: #fff;  }
		
		.container-presentation li img { width: 90%; }

	@media only screen and (max-width: 1136px) {
		.container-large .container-xs.presentation { width: 100%; }
		.container-presentation { width: 100%; height: auto; padding: 55px 0; }
			.container-presentation li { position: relative; width: 310px; height: 311px!important; margin: 0 auto 20px auto; top: 0!important; left: 0!important; }
				.container-presentation li:nth-child(6) img { display: block; width: 300px; margin: 20px auto 20px auto; }
	}



/* Caroussel */
.container-large.caroussel { background-color: #e3e2e2; padding: 90px 0 20px 0; }
.container-large.caroussel .container-xs { text-align: center; width: 99%; }
	.container-large.caroussel .container-xs .container-last { display: inline-block; width: 417px; margin: 0 22px 60px 22px; text-align: left; }
		.container-large.caroussel .container-xs .container-last .title{ display: inline-block; height: 51px; width: 347px; text-align: center; font-size: 26px; line-height: 51px; color: #ae191f; background-color: #fff; text-transform: uppercase; font-family:"Barlow Bold", Arial,sans-serif; }
			.container-large.caroussel .container-xs .container-last img { display: block; margin: 38px 0 25px 0; }
		.container-large.caroussel .container-xs .container-last .subtitle{ display: inline-block; font-size: 25px; line-height: 1.1em; color: #ae191f; font-family:"Barlow Medium", Arial,sans-serif; }
		.container-large.caroussel .container-xs .container-last .text{ display: inline-block; padding-top: 10px; font-size: 18px; line-height: 1.1em; color: #4a4c55; font-family:"Barlow Medium", Arial,sans-serif; }

	@media only screen and (max-width: 580px) {
		.container-large.caroussel .container-xs { margin: 0; }
	}
	
/* Container Présentation catégorie */
.container-large.presentation.categorie { background-color: transparent; padding: 10px 0 80px 0; }

.container-large.caroussel.prof { padding: 0;}
.container-large.caroussel.prof .container-xs .container-last  { margin-top: 35px; border-right: 1px solid #4b4b4b;}
.container-large.caroussel.prof .container-xs .container-last:nth-child(3)  { border-right: none;}
.container-large.caroussel.prof .container-xs .container-last .title { margin-top: 0; text-align: left; text-decoration: underline; color: #d03230; font-size: 36px; font-family:"Barlow Bold", Arial,sans-serif; background-color: transparent; text-transform: none;}
.container-large.caroussel.prof .container-xs .container-last img { margin-top: 0;}
.container-large.caroussel.prof .container-xs .container-last .text { margin-top: 15px; padding-top: 0; font-size: 25px; line-height: 1.4em; }


/* Container Texte  */
.container-large.text { padding: 40px 0; }
.container-large.text { text-align: center; }
	.container-large.text .container-title { text-align: center; color: #4a4c55; font-size: 48px; padding-bottom: 40px; font-family:"Barlow Bold", Arial,sans-serif; }
	.container-large.text .container-explain { display: inline-block; padding: 15px 68px 30px 42px; margin: 0 15px 30px 15px; width: 523px; background-color: #f8f9fa; box-shadow: 1px 0 7px #a09f9f; }
		.container-large.text .container-explain .title { display: block; color: #8c0611; padding-left: 100px; font-size: 48px; line-height: 93px;font-style: italic; font-family:"Barlow Bold", Arial,sans-serif; border-bottom: 1px solid #8c0611; background: url(../images/icon-anticiper.png) no-repeat -20px -14px; margin-bottom: 18px;}
		.container-large.text .container-explain:nth-child(3) .title { background: url(../images/icon-adapter.png) no-repeat 0 0; }
		.container-large.text .container-explain:nth-child(4) .title { background: url(../images/icon-reagir.png) no-repeat 0 0; }
		.container-large.text .container-explain .subtitle { display: block; color: #4a4c55; font-size: 25px; font-style: italic; font-family:"Barlow Bold", Arial,sans-serif;}
		.container-large.text .container-explain .text { display: block; color: #4a4c55; font-size: 18px; font-style: italic; font-family:"Barlow Medium", Arial,sans-serif;}

	@media only screen and (max-width: 1815px) {
		.container-large.text .container-explain { width: 376px;  }
	}
	@media only screen and (max-width: 1405px) {
		.container-large.caroussel.prof .container-xs .container-last:nth-child(2)  { border-right: none;}
		.container-large.text .container-title { font-size: 38px; }
	}	
	@media only screen and (max-width: 930px) {
		.container-large.caroussel.prof .container-xs .container-last  { width: 80%; border-right: none;}
	}
	@media only screen and (max-width: 775px) {
		.container-large.text .container-explain { width: 80%; padding: 15px 5% 30px 5%;}
		.container-large.text .container-explain .title { font-size: 38px; line-height: 66px; padding-left: 0; background-image: none!important; }
	}	
	
/* Blog */
#container-blog { overflow: hidden; background: url(../images/bg-container-blog.jpg) no-repeat 0 0 #e2e2e2; }
#container-blog .container-large.presentation.blog { min-height: 577px; margin-bottom: 20px; background: url(../images/img-slide.jpg) no-repeat 0 0 #000; }
#container-blog .container-large.presentation.blog .encart-title { float: right; }
#container-blog .container-large.presentation.blog .title { text-align: right; color: #e92d2d; }
#container-blog .container-large.presentation.blog .text { float: right; width: 563px; color: #fff; line-height: 1.6em; text-align: right;}

#container-blog .blog .container-presentation { height: auto; overflow: hidden; min-height: 296px; }
#container-blog .blog .container-presentation li:nth-child(1) { left: 25%; }
#container-blog .blog .container-presentation li:nth-child(2) { right: 25%; top: 15%;}



/* Footer */
#footer { padding-bottom: 179px; background: url(../images/bg-footer.jpg) no-repeat 0 0 #21080a; border-top: 106px solid #afafaf; }
	
	#footer .container-contact { float: left; color: #fff; width: 430px; margin-top: 31px; }
		#footer .container-contact .title { float: left; margin-bottom: 24px; border-bottom: 2px solid #dd1e27; font-size: 60px; line-height: 1.1em; font-family:"Barlow SemiBold", Arial,sans-serif;}
		#footer .container-contact .address { float: left; letter-spacing: 3px;  font-size: 15px; line-height: 1.2em; font-family:"Barlow Regular", Arial,sans-serif;}
		#footer .container-contact .tel { float: left; width: 100%; letter-spacing: 3px; margin-bottom: 24px; text-transform: uppercase; font-size: 22px; line-height: 1.2em; font-family:"Barlow Bold", Arial,sans-serif;}
	
	#footer .social-media { float: right; margin-top: 2%; color: #fff; font-size: 30px; }
		#footer .social-media li { float: left; margin: 0 20px; }

	@media only screen and (max-width: 580px) {
		#footer .container-contact .address { font-size: 19px; }
	}

nav {
    display: inline-block;
    line-height: 48px;
    vertical-align: top;
}

#hamburger, #hamburger-content {
    display: inline;
}

#hamburger-button {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 30px;
    vertical-align: top;
    padding: 0;
    line-height: 47px;
    float: right;
    margin-right: 32px;
    color: #fff;
}

#hamburger-overlay {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(229, 229, 229, .4);
}

#hamburger-sidebar {
    display: none;
    position: fixed;
    width: 70%;
    z-index: 20;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #FFF;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .2s ease-out;
}
#hamburger-sidebar li {
    display: block;
    text-transform: uppercase; font-size: 1.333em; font-family:"Barlow Bold", Arial,sans-serif;
}

#hamburger-sidebar-body {
    padding: 16px 8px;
}
#hamburger-sidebar-body li:before {
    content: ' ';
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 4px;
    margin-right: 16px;
    width: 24px;
    height: 24px;
}
#hamburger-sidebar-body .button {
    margin-top: 16px;
    text-align: center;
    float: none;
    display: block;
    height: auto;
    line-height: inherit;
    padding: 10px;
}

@media screen and (max-width: 1024px) {
    #hamburger-content {
        display: none;
    }

    #hamburger-button, #hamburger-sidebar,
    .hamburger-activated #hamburger-overlay {
        display: block;
    }

    .hamburger-activated #hamburger-sidebar {
        transform: translateX(0);
    }

    #header { min-height: auto; }
    #footer .container-contact { width: auto; }
    #footer .social-media { float: left; margin-top: 11%; }
        #footer .social-media li:nth-child(1) { margin-left: 0; }
}