/*

Theme Name: X – Child Theme
Theme URI: http://theme.co/x/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to X in this child theme.
Version: 1.0.0
Template: x

*/

body{
	font-family: 'WorkSansRegular', sans-serif;
}

/********	
 * FONT *
 *******/

@font-face {
	font-family: WorkSansLight;
	src: url(/wp-content/uploads/2019/08/WorkSans-Light.ttf);
	font-weight: normal;
}
@font-face {
	font-family: WorkSansRegular;
	src: url(/wp-content/uploads/2019/08/WorkSans-Regular.ttf);
	font-weight: normal;
}
@font-face {
	font-family: WorkSansMedium;
	src: url(/wp-content/uploads/2019/08/WorkSans-Medium.ttf);
	font-weight: normal;
}
@font-face {
	font-family: WorkSansSemiBold;
	src: url(/wp-content/uploads/2019/08/WorkSans-SemiBold.ttf);
	font-weight: normal;
}
@font-face {
	font-family: WorkSansBold;
	src: url(/wp-content/uploads/2019/08/WorkSans-Bold.ttf);
	font-weight: normal;
}
@font-face {
	font-family: KalamRegular;
	src: url(/wp-content/uploads/2019/08/Kalam-Regular.ttf);
	font-weight: normal;
}
@font-face {
	font-family: KalamBold;
	src: url(/wp-content/uploads/2019/08/Kalam-Bold.ttf);
	font-weight: normal;
}

/**********
 * GLOBAL *
 **********/
.x-btn.x-btn-global{
	font-family: 'WorkSansSemiBold', sans-serif;
}
.x-navbar{
  background-color: transparent;
  border: none;
}
.masthead.masthead-inline{
  position: absolute;
  width: 100%;
}
.x-navbar .x-nav > li > a{
  /* text-shadow: 0.5px 0.5px 0.5px #313131; */
}
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a{
	box-shadow: none !important;
}
.x-navbar .x-nav > li > a:hover span:before, .x-navbar .desktop .x-nav > .x-active > a span:before, .x-navbar .desktop .x-nav > .current-menu-item > a span:before{
	content: "";
	border-top: 2px solid rgb(214,43,2);
	position: relative;
	top: -5px;
	display: block;
}
.clic-to-bottom{top:73%!important;}
.clic-to-bottom:not(.slider) {
	transform: translateX(-50%);
}
.clic-to-bottom i {
	font-size: 40px !important;
}
.prel {
	position: relative !important;
}

.x-navbar {
    background-color: rgba(255,255,255,1) !important;
	width: 100% !important;
	-webkit-box-shadow: 0px 5px 20px -10px rgba(49,49,49,1);
	-moz-box-shadow: 0px 5px 20px -10px rgba(49,49,49,1);
	box-shadow: 0px 5px 20px -10px rgba(49,49,49,1);
}
#menu-menu li:last-child > a{
	cursor: default;
}

.accueil-main-slider-slide{
	height: 350px !important;
}
#menu-menu .menu-item:last-child > a{
	padding-top: 19px;
}
#menu-menu .menu-item:last-child > a span:before{
	border: none;
}
.component-main-background {
	position: relative;
	width: 100%;
	height: auto;
}

/**************
 * Modification titre slider *
 *************/

.component-main-background .component-main-page-title {
	position: absolute;
	left: 50%;
	top: 50%;
	box-sizing: border-box;
	transform: translate(-50%,-50%);
	font-family: 'KalamBold';
	font-weight: 400;
}

.component-main-page-title h1 {
    font-size: 50px;
}


/**************
 * COMPONENTS *
 *************/

/* SUBTITLE */
.component-main-text .component-main-sub-title h2:after,
.component-main-text .component-main-sub-title h3:after{
	content: "";
	height: 3px;
	width: 40px;
	margin: 8px 0;
	background-color: #d73727;
	display: block;
}

.title_subline{
	text-align: left !important;
}

.component-title-h2{
 	display: table;
 	margin: 0 auto;
 	position: relative;
	border: 2px solid #d73727;
}
.component-title-h2-pad{
 	padding: 25px 0;
  	width: 35em;
}
.component-title-h2 h2{
  padding: 0;
  margin: 0;
  font-family: 'KalamRegular';
  text-transform: uppercase;
  color: #d73727;
}
.component-title-h2 h3{
  background-color: #FFFFFF;
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 85%;
  font-size: 1.3em;
  text-transform: uppercase;
  margin: 0 auto;
  padding: 0;
  font-family: 'WorkSansRegular';
}


/* ACTU LIST - GLOBAL */
.accueil-actu-list-group{
	display: flex; 
	justify-content: space-between;
	flex-wrap: wrap;
}

/* ACTU LIST - ITEM - HEAD */
.accueil-actu-list-item{
	flex: 0 0 50%;
}
.accueil-actu-list-item-pad{
	padding: 25px;
}
.accueil-actu-list-item-background{
	height: 350px;
	margin-bottom: 30px;
}
.accueil-actu-list-item-content-head{
	display: flex;
	align-items: center;
	padding-bottom: 20px;
}
.accueil-actu-list-item-content-head-date{
	background-color: #d73727;
	border-radius: 45px;
	width: 90px;
	height: 90px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.accueil-actu-list-item-content-head-date strong{
	color: #FFFFFF;
	font-size: 1.2em;
	font-family: 'WorkSansBold', sans-serif;
	line-height: 100%;
}
.accueil-actu-list-item-content-head-title{
	padding-left: 25px;
}
.accueil-actu-list-item-content-head-title h2{
	line-height: 100%;
	color: #000000;
	padding: 0;
	text-transform: none;
	font-family: 'WorkSansRegular', sans-serif;
	margin: 0;
	font-size: 1.7em;
}
.accueil-actu-list-item-content-head-title hr{
	margin: 8px 0;
	width: 40px;
	background-color: #d73727;
	height: 3px;
}

/* ACTU LIST - ITEM - BODY */
.accueil-actu-list-item-content-body-text p{
	color: #000000;
	letter-spacing: 0.5px;
	line-height: 130%;
	font-family: 'WorkSansRegular', sans-serif;
	font-size: 1.1em;
}
.accueil-actu-list-item-content-body-button{
	padding: 10px 0;
}
.accueil-actu-list-item-content-body-button a{
	display: flex;
	justify-content: flex-end;
	align-items: center;
	font-family: 'WorkSansMedium';
	font-size: 1.2em;
}
.accueil-actu-list-item-content-body-button a strong{
	padding-right: 8px;
	color: #b7b7b7;
	letter-spacing: 0.5px;
}
.accueil-actu-list-item-content-body-button a i{
	color: #b7b7b7;
	font-family: "FontAwesome";
	font-weight: 900;
}


/* MÉTIERS LIST - GLOBAL */
.component-metiers-list-group{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

/* MÉTIERS LIST - ITEM */
.component-metiers-list-item{
	flex: 0 0 33.3333333%;
	position: relative;
}
.component-metiers-list-item:hover span{
	animation-delay:  0s;
	animation-duration: 0.7s;
	animation-name: flipInX;
}
.component-metiers-list-item:hover .component-metiers-list-item-picto img{
	animation-delay:  0s;
	animation-duration: 0.6s;
	animation-name: fadeIn;
}
.component-metiers-list-item-background{
	height: 250px;
	display: flex;
	margin: 30px;
}
.component-metiers-list-item img{
	width: auto;
}

/* MÉTIERS LIST - ITEM PICTO */
.component-metiers-list-item-picto{
	background-color: #FFFFFF;
	height: 80px;
	width: 80px;
	border-radius: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 3%;
	top: 3%;
}
.component-metiers-list-item-picto img{
	width: auto;
	margin: auto;
	display: block;
}
.component-metiers-list-item-picto-background{
	/* background-color: #d73727; */
	height: 70px;
	width: 70px;
	border-radius: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/* MÉTIERS LIST - ITEM INFOS */
.component-metiers-list-item-infos{
	display: flex;
	justify-content: flex-end;
	align-self: flex-end;
	width: 100%;
}
.component-metiers-list-item-infos-background{
	background-color: rgba(0,0,0,0.4);
	width: 90%;
}
.component-metiers-list-item-infos-background span{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.component-metiers-list-item-infos h2{
	font-family: 'WorkSansMedium';
	font-size: 1.5em;
	line-height: 100%;
	padding: 25px 20px;
	text-align: left;
	color: #FFFFFF;
	text-transform: uppercase;
	margin: 0;
	letter-spacing: 0.5px;
}
.component-metiers-list-item-infos img{
	width: 40px;
	height: 40px;
	max-height: 40px;
	max-width: 40px;
	margin-right: 15px;
	display: inline-block;
}

.nos-metiers-top-background{
	height: 500px;
}

.left-menu-detail-metier .menu-item img{width: 40px;}


.certification-bloc-infos-picto img{
	display: table;
	margin: 15px auto;
}
.certification-list .certification-bloc-infos .certification-bloc-infos-text h3{
	font-family: "WorkSansSemiBold";
	font-size: 1.5em;
}
.certification-bloc-infos-text ul{
	color: #000000;
	font-family: "WorkSansLight";
	font-size: 1.2em;
}
.certification-bloc-infos-text ul li i{
	color: #d73727;
	font-size: 0.5em;
	padding-right: 3px;
}


/* MODULE - LISTE RECRUTEMENT */
.module-recrutement-list{
	display: flex; 
	justify-content: space-between;
	flex-direction: column;
}
.module-recrutement-list-item{
	border-bottom: 3px solid #c2c2c2;
	padding: 50px 0;
	display: flex;
	justify-content: space-between
}
.module-recrutement-list-item-title{
	flex: 0 0 25%;
}
.module-recrutement-list-item-title h2{
	font-family: 'WorkSansSemiBold';
	font-weight: normal;
	color: #313131;
	text-transform: uppercase;
	font-size: 1.7em;
	line-height: 100%;
	padding: 0 15px;
	margin: 0;
}
.module-recrutement-list-item-place{
	flex: 0 0 20%;
}
.module-recrutement-list-item-place h3{
	font-family: 'WorkSansLight';
	color: #d73727;
	text-transform: uppercase;
	font-size: 1.5em;
	line-height: 100%;
	padding: 0 15px;
	font-weight: normal;
	margin: 0;
}
.module-recrutement-list-item-text{
	font-family: 'WorkSansLight';
	color: #313131;
	flex: 0 0 35%;
	font-size: 1.2em;
	font-weight: normal;
}
.module-recrutement-list-item-text p{
	margin: 0;
	padding: 0 15px;
	line-height: 150%;
}
.module-recrutement-list-item-button{
	flex: 0 0 20%;
	cursor: pointer;
}
.module-recrutement-list-item-button a{
	font-family: 'WorkSansMedium';
	font-weight: normal;
	text-align: right;
	text-transform: uppercase;
	font-size: 1.2em;
	background-color: transparent;
	color: #d73727;
	border: 2px solid #d73727;
	border-radius: 5px;
	padding: 10px;
	margin: 0 0 0 auto;
	display: table;
}
.module-recrutement-list-item-button:hover a{
	animation: flipInX .8s forwards;
	color: inherit;
}
.entry-featured{display:none;}
.entry-date{display:none;}
.entry-title{display:none;}

.detail-recrutement-infos h1{
	font-size: 1.8em;
	font-family: 'WorkSansSemiBold';
	letter-spacing: 0.5px;
	margin: 0;
}
.detail-recrutement-infos .detail-recrutement-infos-place h2{
	font-size: 1.5em;
	font-family: 'WorkSansMedium';
	color: #d73727;
	margin: 5px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.detail-recrutement-infos .detail-recrutement-infos-date h2{
	font-size: 1.3em;
	font-family: 'WorkSansRegular';
	margin: 10px 0 0 0;
	color: #acacac;
	letter-spacing: 0.5px;
}
.checkbox-group label{
	margin-top: 15px;
}
.checkbox-group span{
	display: block;
}
.checkbox-group span input{
	padding: 0;
	margin: 0 0 15px 0;
}
.switch_box.box_4{
	margin: 15px 0 5px 0;;
}
.switch_box.box_4 .input_wrapper,
.switch_box.box_4 p{
	display: inline-block;
}

.article-select-link{
	display: flex;
	justify-content: space-between;
}
.article-select-link a{
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 1.2em;
	font-family: 'WorkSansMedium';
	background-color: #d73727;
	border-radius: 5px;
	padding: 2px 15px;
	display: block;
}
.article-select-link a:hover{
	color: #FFFFFF;
}
.article-previous, .article-next{
	display: table;
	cursor: pointer;
}
.article-previous{margin-right: auto;}
.article-next{margin-left: auto;}
.article-previous:hover a, .article-next:hover a{
	animation: flipInX .8s forwards;
}
.w-line{width:10%!important;}

/* CONTACT */
.wpcf7-response-output{
	border: 2px solid #d73727;
	color: #d73727;
	font-family: 'WorkSansMedium';
	margin: 1.5em 0 1.5em 0 !important;
}
.wpcf7-not-valid-tip{
	color: #d73727;
}


/* CUSTOM STYLE FOR WP POSTS */
.post .content {
	display: block;
	max-width: 1044px;
	margin: 15px auto;
} 

.post .content p {
	font-family: "Work Sans",sans-serif;
	font-size: 1.1em;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(0,0,0,1);
}

/***********
* TABLETTE PAYSAGE
*/
@media screen and (max-width: 1024px)
{
	.component-metiers-list-item{flex: 0 0 50%;}
	.component-main-page-title h1 {font-size: 45px;}
}

@media screen and (max-width: 980px)
{
	.x-btn-navbar{color: #d73727 !important;}
	.x-btn-navbar:hover{color: #000000 !important;}
	
}

/***********
* TABLETTE PORTRAIT
*/
@media screen and (max-width: 880px)
{
	.component-metiers-list-item{flex: 0 0 100%;}
	.accueil-actu-list-group{flex-wrap: wrap;}
	.accueil-actu-list-item{flex: 1 1 100%;}
	.module-recrutement-list-item{flex-direction: column; justify-content: flex-start;}
	.module-recrutement-list-item-title,.module-recrutement-list-item-place,.module-recrutement-list-item-text,.module-recrutement-list-item-button{flex: 0 0 100%; margin: 10px 0;}
	.module-recrutement-list-item-button{align-self: center; margin: 25px 0 0 0;}
	.accueil-actu-list-item-pad{padding: 25px 0;}
	.x-column.x-sm {float: none; width: 100%; margin-right: 0;}
}


/***********
* TABLETTE PORTRAIT
*/
@media screen and (max-width: 768px)
{
	.component-metiers-list-item{flex: 0 0 100%;}
	.accueil-actu-list-group{flex-wrap: wrap;}
	.accueil-actu-list-item{flex: 1 1 100%;}
	.module-recrutement-list-item{flex-direction: column; justify-content: flex-start;}
	.module-recrutement-list-item-title,.module-recrutement-list-item-place,.module-recrutement-list-item-text,.module-recrutement-list-item-button{flex: 0 0 100%; margin: 10px 0;}
	.module-recrutement-list-item-button{align-self: center; margin: 25px 0 0 0;}
	.accueil-actu-list-item-pad{padding: 25px 0;}
	.accueil-actu-list-item-content-head,.accueil-actu-list-item-content-body{padding: 0 25px 25px 25px;}
	.component-main-page-title h1 {font-size: 30px; display: flex;
justify-content: center;}
}

/***********
* MOBILE PORTRAIT
*/
@media screen and (max-width: 640px)
{
	.e636-2.x-container{width: 60% !important;}
	.e636-13 .x-container{display: flex; flex-direction: column; align-items: center; justify-content: center;}
	.e636-13 .x-container .x-column{width: auto;}
}


