/*-----------------------------------------------*\

    $0 - VERTICAL
    $1 - DESKTOP
    $2 - TABLETTES
    $3 - PHABLETTES
    $4 - SMARPHONES

\*-----------------------------------------------*/



/*-----------------------------------------------*\
    $0 -- VERTICAL
\*-----------------------------------------------*/




/*-----------------------------------------------*\
    $1 -- DESKTOP (wide screens)
\*-----------------------------------------------*/

@media (min-width: 1026px) {
	#header .sub-menu{
		opacity: 0;
	}
}



@media (min-width: 768px) {
	.ref .seeMore {
		position: absolute;
	    left: 10px;
	    right: 10px;
	    bottom: 0;
	    width: auto;
	}
}



/*-----------------------------------------------*\
    $3 -- TABLETTES (paysage et plus petit)
\*-----------------------------------------------*/

@media (max-width: 1280px) {

	#header #toolbox {
		padding: 0 20px;
	}
	#header #toolbox .container {
		width: 100%;
	}
	#header #toolbox li {
		margin-right: 12px;
	}

	#header .newsletter {
		margin: 0 18px;
	}
	#header .rs {
		margin-right: 8px;
	}

	.lang-es #header .newsletter {
		margin: 0 12px;
	}
	.lang-es #header .rs {
		margin-right: 0;
	}
	.lang-es #header .logo img {
		width: 180px;
	}
	.lang-es #header .main-menu .menu > li {
		padding: 0 10px;
	}

    /***** Bandeau home *****/

    .bandeau {
      height: 250px;
    }

    .bandeau .bloc .container-bloc {
      padding-top: 145px;
    }

    .bandeau .bloc:nth-child(1) .container-bloc {
      padding-top: 106px;
    }

    .bandeau .bloc:nth-child(2) .container-bloc {
      top: -50px;
    }

    .bandeau .bloc:nth-child(3) .container-bloc {
      top: -75px;
    }

    .Slider .slide {
      width: 350px;
      margin-left: -165px;
    }

    .slide .accroche {
      font-size: 2em;
    }

    /* #header nav > ul > li ul {
      padding-left: 327px;
    } */

    .js-slider .img {
      width: 940px;
    }

	.Slider-page {
      height: 555px;
    }

	.ref{
        width: calc(100% / 3);
    }

}


@media (max-width: 1024px) {
	img.js-ImageFrame img{
      width:100%!important;
    }
}


/*-----------------------------------------------*\
    $3 -- PHABLETTES (ipad portrait)
\*-----------------------------------------------*/

@media (max-width: 1025px) {
	#header .logo img {
      width: 160px;
      margin-top: 23px;
    }

    #btnMenu{
        display: block;
    }

    #header .secondMenu .menu{
        display: none;
    }

    /***** Menu mobile *****/

	#header .main-menu .menu,
	#header .main-menu .main-menu-inner {
		width: 100%;
		margin-top: 0;
		height: inherit;
		overflow: hidden;
	}
    #header .main-menu .main-menu-inner {
      display: none;
      border-top: 1px solid #5B5959;
      padding: 20px 0;
      background: #292726;
      z-index: 100;
      position: absolute;
	  top: 0;
      left: 0;
    }
	#header .main-menu .menu + .menu {
		margin: 10px 0;
		padding: 10px 0;
		border-top: 1px solid #383838;
    	border-bottom: 1px solid #383838;
	}

    #header .main-menu.expanded .main-menu-inner,
	#header .main-menu.expanded .lang {
      display: block;
    }

    #header .main-menu .sub-menu {
      /* display: none; */
	  position: relative;
	  height: auto;
	  background: 0;
	  box-shadow: none;
    }
    #header .main-menu .sub-menu-inner {
		margin: 0 6%;
		padding: 0;
		border-color: rgba(255,255,255,0.3);
      background: 0;
    }

	#header .main-menu .submenu-shown > a {
		color: #fff;
	}
	#header .sub-menu li {
		padding-left: 20px;
		padding-right: 20px;
		border-color: rgba(255,255,255,0.15);
	}
	#header .sub-menu li:last-child {
		border-bottom: 1px solid rgba(255,255,255,0.3);
	}
	#header .sub-menu a {
		color: #888;
	}

    #header .main-menu li {
        display: block;
        float: none;
        text-align: left;
    }

    #header .main-menu .menu > li > a {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        padding: 0 6%;
        color: #5B5959;
    }

    #header .main-menu .menu > li > a:hover,
    #header .main-menu .menu > li > a:active,
    #header .main-menu .menu > li.current_page_item > a,
    #header .main-menu .menu > li.current-menu-ancestor > a {
      color: #fff;
    }

    #header .main-menu .menu > li > a:hover,
    #header .main-menu .menu > li > a:active{
        background: #5B5959;
    }

    #header .main-menu .menu > li > a:before,
    #header .main-menu .menu > li > a:after {
      content: none;
    }

    #header .main-menu {
      height: inherit;
    }

	#header .lang{
	  border-left: 1px solid #777;
	}



    /***** Bandeau home *****/

    /* .menu-secondaire{
        position: absolute;
        max-height: 0;
        padding-top: 50px;
        width: 100%;
        margin-top: 123px;
        top: 0;
        left: 0;
        background: #fff;
        overflow: hidden;
        z-index: 5;
        border-top: 1px solid #e2e2e2;
    }

    .menu-secondaire:hover{
        z-index: 50;
    }

    .menu-secondaire.isSubOpen{
        max-height: 200px;
        z-index: 100;
    }

    .menu-secondaire.isSubOpen li a.active{
        background-color: #eee !important;
    }

    .menu-secondaire li {
        display: block;
        padding: 0;
        border: none;
    }

    .menu-secondaire li a{
        display: block;
        width: 100%;
        padding: 0 10%;
        height: 50px;
        line-height: 50px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        transition: none;
        -webkit-transition: none;
    }

    .menu-secondaire li a:hover,
    .menu-secondaire li a:active{
        background-color: #eee !important;
    }

    .menu-secondaire li a:before{
        content: none;
    }

    .menu-secondaire li a.active {
        position: absolute;
        top: 0;
        border: none;
        height: 50px;
        line-height: 50px;
        background: url(../img/arrow-down.png) no-repeat 94% center;
    }

	.menu-secondaire .sub-menu{
		display: none;
	}

	.menu-secondaire .container{
		padding: 0 !important;
	} */
}


@media (max-width: 992px) {

    .footer-menu .col-md-6{
        margin-bottom: 30px;
    }

    #footer .newsletter {
      display: inline-block;
      text-align: inherit !important;
    }

    .newsletter label{
        display: block !important;
        margin-bottom: 10px;
    }

    #footer .newsletter input[type="email"]{
        margin-left: 0;
    }

    .contact-bloc{
       margin-bottom: 30px;
    }

    .partenaire-bloc{
        margin: 40px 0;
    }

	.actualiteFull .menu-secondaire {
		float: right;
	}

    .ref,
	.actualiteListe .ref {
        width: 50%;
    }
	.actualiteListe .highlight .img {
		flex-basis: calc(50% - 10px);
	}
	.actualiteListe .highlight-content {
		padding-left: 20px;
		padding-right: 0;
	}
	.actualiteListe .highlight .seeMore {
		left: 20px;
		right: 0;
	}
	.actualiteCat {
		margin-bottom: 30px;
	}
	.actualiteCat ul {
		padding-left: 10px;
		padding-right: 10px;
	}

    .slice .image{
        margin-bottom: 30px;
    }

    .Slider-page {
      height: 403px;
    }

    .references {
      margin-top: 40px;
      padding-left: 0;
      border-left: none;
    }


    /***** Bandeau home *****/

    .bandeau {
      height: 180px;
    }

    .bandeau .bloc .container-bloc {
      padding-top: 145px;
    }

    .bandeau .bloc:nth-child(1) .container-bloc {
      padding-top: 75px;
    }

    .bandeau .bloc:nth-child(2) .container-bloc {
      top: -81px;
    }

    .bandeau .bloc:nth-child(3) .container-bloc {
      top: -100px;
    }

    .bandeau .title{
        font-size: 1.8em;
    }


    /***** Slider home *****/
    .Slider{
		min-height:500px!important;
		height: 500px;
	}
    .Slider .slide {
      width: 380px;
      margin-left: -180px;
    }

    .Slider .contenu {
      width: 60%;
    }

    .Slider .images {
      width: 40%;
    }

/*    .js-slider .images img {
      left: -160%;
    }
    */
    .Slider .nav-controls {
      width: 60%;
    }

    .js-slider .img {
      width: 720px;
    }

/*    .js-slider .images img {
      left: -100%;
    }*/

/*    .home .js-slider .images img {
      left: -160%;
    }*/

    .filtres .bold{
        display: none;
    }

	.Cookies{
		font-size: 13px;
		height: 53px;
	}
	.nav-controls a{
		width:60px;
	}
/*	.page-template-tpl-home .Slider .contenu{
		width:50%;
	}
	.page-template-tpl-home .Slider .images{
		width:50%;
	}
	.page-template-tpl-home .js-slider .img{
		width:384px!important;
	}*/
	.page-template-tpl-home .Slider .slide{
		width:350px;
		font-size:0.9em;
	}
	.Slider .nav-controls{
		width:50%;
	}

	/* Actualités */
	.Actus .actu:nth-child(odd) .textes{
        float: right !important;
    }

    .Actus .actu:nth-child(even) .textes{
        float: left !important;
    }

    .Actus .actu:nth-child(odd) .textes:before{
        left: 0 !important;
        margin-left: -16px !important;
        border-width: 30px 32px 30px 0 !important;
        border-color: transparent #ffffff transparent transparent !important;
    }

    .Actus .actu:nth-child(odd):hover .textes:before{
        margin-left: -24px !important;
    }

}




/*-----------------------------------------------*\
    $4 -- SMARTPHONE
\*-----------------------------------------------*/


@media (max-width: 767px) {

    .container{
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #content {
      padding-bottom: 30px;
    }

    .pr68{
        padding-right: 0;
    }

    .pl20{
        padding-left: 0;
    }

    #toolbox{
        display: none;
    }

    .body form,
	.contact-formtitle {
        margin-top: 40px;
    }
	.body .gform_wrapper form {
		margin-top: 0;
	}

    .body form .btn,
    .body form .button{
        margin-bottom: 20px;
		width: 100%;
    }

    .wpcf7 .textarea {
      padding-left: 0;
      margin-top: 0;
    }
	.form-required {
	    margin: 0 0 30px;
	}

    .contact-bloc{
       margin-bottom: 0;
    }

    .menu-secondaire{
        margin-top: 0;
        margin-bottom: 50px;
    }

    .menu-secondaire a{
        padding: 0 6%;
    }

	.actualiteFull .menu-secondaire {
		float: none;
	}
	.jobFull .menu-secondaire {
		position: absolute;
		left: 0;
		width: 100%;
		bottom: 0;
		margin-bottom: 0;
	}
	.jobFull-inner {
		padding-bottom: 200px;
	}

    #footer{
		margin-top: 60px;
        text-align: center;
    }
	#footer:before{
	    top: -45px;
	    height: 45px;
	}

	#ariane {
		display: none;
	}

    .references{
        margin-top: 40px;
        padding-left: 0;
        border-left: none;
    }

    .ref,
	.actualiteListe .ref {
        width: 100%;
        padding: 0;
    }

	.actualiteListe .ref .title {
		font-size: 1.5rem;
	}
	.actualiteListe .highlight-inner {
		display: block;
		padding: 0;
		background: none;
	}
	.actualiteListe .highlight .img {
		margin-right: 0;
		margin-bottom: 15px;
	}
	.actualiteListe .highlight-content {
		padding-bottom: 0;
		padding-left: 0;
	}
	.actualiteListe .highlight .seeMore {
		left: 0;
		right: 0;
		min-width: 0;
	}
	.actualiteCat ul {
		padding-left: 0;
		padding-right: 0;
	}

    .Slider-page {
      height: 160px;
	  margin-top: -220px;
	}

	.Slider-page.js-slider .images img {
		left: inherit;
		right: inherit;
		top: inherit;
		bottom: inherit;
		min-height: inherit;
		min-width: 100%;
		width: 100%;
		height: auto;
	}

	.Slider-page.js-slider .images .img {
		width: 88vw;
	}

    .Slider-page .nav-controls {
        width: 150px;
        padding: 0 15px;
        height: 50px;
        line-height: 50px;
        bottom: -40px;
        left: 50%;
        margin-left: -90px;
        right: inherit;
    }

    .Slider-page .nav-controls .counter {
        border-bottom: none;
    }

    .Slider-page + .body {
      margin-top: 160px;
    }

    .js-slider .images .container {
        padding: 0 !important;
    }

	.titraille:not(.big) + .body{
	    margin-top: 90px;
	}

	.titraille.big {
    	padding: 55px 0 250px;
	}

	.titraille .title {
		font-size: 2.5rem;
	}
	.titraille .accroche {
		font-size: 1.5625rem;
	}
	.titraille .description {
		font-size: 1.125rem;
	}
	.titraille:after{
	    bottom: -45px;
	    height: 45px;
	}

    .popup {
      width: 100%;
      left: 0;
      margin-left: 0;
      padding: 40px 20px;
    }

    .call {
      position: absolute;
      bottom: 0;
      width: 100%;
      right: inherit;
      padding: 20px 0 80px;
      transform: none;
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
    }

    .call .container-call {
      transform: none;
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
    }

    .call .tel,
    .call .tel a{
      color: #e82929 !important;
    }

    /***** Bandeau home *****/

    .bandeau {
      height: inherit;
      overflow: visible;
      transform: none;
      -webkit-transform: none;
      -moz-transform: none;
      -ms-transform: none;
      -o-transform: none;
    }

    .bandeau .container{
        padding: 0 !important;
        transform: none;
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
    }

    .bandeau .bloc{
      display: table;
      width: 100%;
      height: 200px;
      vertical-align: middle;
    }

    .bandeau .bloc .container-bloc{
      position: relative;
      display: table-cell;
      vertical-align: middle;
      padding: 0 !important;
      height: 100%;
      top: 0 !important;
    }

    .bandeau .title{
        font-size: 1.8em;
    }

    /* .bandeau .bloc:nth-child(1){
      height: 115px;
    } */

    .bandeau .bloc .text {
      text-align: center;
    }

	.share-post li:first-child{
        display: inline-block;
    }


    /***** Actualites *****/

    #actualites {
      margin-top: 40px;
    }

    #actualites .filtres {
      display: none;
    }

    .Actus .actu {
        display: block;
    }

	.Actus .textes{
		font-size: 0.85em;
	}

	.Actus .textes .text{
		max-height: 82px;
		overflow: hidden;
	}

    .Actus .highlight .accroche {
      padding: 0;
    }

    .Actus .highlight {
      padding: 10px 20px 20px;
      -webkit-box-sizing: border-box;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
    }

    /***** Slider home *****/

    .Slider{
		min-height: inherit !important;
		max-height: inherit !important;
		height: inherit;
		padding-bottom: 5px;
    }

	.home .Slider .slide{
      width: 90%;
	  margin-top: 0 !important;
	  padding-bottom: 30px;
    }

    .Slider .slide {
      width: 88%;
      padding: 20px 6%;
      margin-left: 0;
      left: 0;
      top: 0;
      position: absolute;
      margin-top: 30px !important;
      top: 0 !important;
    }

    .Slider .contenu {
      width: 100%;
    }

    .Slider .images {
      display: none;
    }

    .slide .btn{
        width: 140px;
    }

    .Slider .nav-controls{
        width: 100%;
        font-size: 1.6em;
        bottom: 210px !important;
    }

	.Cookies{
		display: none;
	}
	.nav-controls a{
		width:20px;
	}

    .SliceHome {
        padding-top: 55px;
        font-size: 1.125rem;
    }
    .SliceHome-title {
        font-size: 3.125rem;
    }
    .SliceHome-subtitle {
        margin-bottom: 20px;
        font-size: 1rem;
    }

	.contactPush {
	    margin-top: 0;
	    padding: 60px 0 130px;
	}
	.contactPush-title {
	    font-size: 2.5rem;
	}

	.gfmc-column {
		width: 100% !important;
	}
	.gfmc-row-1-col-1-of-2,
	.gfmc-row-1-col-2-of-2 {
	    max-width: 100%;
		padding-right: 0;
		padding-left: 0;
	}
}
