* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

body {
    margin: auto;    
    font-size: 16px;
    font-weight: 300;
    color: #535353;    
    overflow-x: hidden;
    text-align: justify;
}

nav {
    /*display: flex;*/
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: #333;
    overflow-y: auto;
    z-index: 101;
    transform: translateX(320px);
    transition: transform 0.5s ease-in-out;
    box-sizing: border-box;
    padding: 70px 0 0 15px;
}
nav ul li {list-style: none;}
nav ul li a {
    padding: 8px 15px;
    color: #fff;
    background: #666;
    display: flex;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out
}
nav ul li ul li a {background: #444}
nav ul li ul li a:hover {background: #555}
nav ul li ul {margin-left: 20px}
.fond-vert {background: #b5cd15}
.fond-rose {background: #db2573}
.fond-orange {background: #f1892a}

a {text-decoration: none;}

#wrapper {
    position: relative;
    width: 100%;
    min-height: 100%;        
    z-index: 2;
    transition: transform 0.5s ease-in-out;  
    height: 100%  
}

#wrapper:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.menuouvert #wrapper {position: fixed; transform: translateX(-320px);} /* le fixed pose problème au click */
.menuouvert #wrapper:before {opacity: 1; visibility: visible;}

.conteneur {max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative;}

.btn1,.btn2,.btn3 {
    border: 1px solid #fff;
    color: #fff;
    padding: 15px 90px;
    font-size: 20px;
    font-weight: 400;
    margin: 10px;
    transition: 0.2s all ease-in-out;
    display: inline-block;
    text-align: center;
}
.btn1:hover {background: #fff; border:1px solid #fff; color: #b5cb34;}
.btn2:hover {background: #db2573; border:3px solid #db2573; color: #fff;}


/* ============== MENU ================= */
.menu {
    display: flex;
    position: fixed;
    width: 100%;
    background: #fff;
    z-index: 99;
    top: 0;    
    box-shadow: 0px 0px 7px rgba(0,0,0,0.2);
    height: 69px
}
.menu li {list-style: none; display: flex;}
.menu-lien {
    position: relative;        
    padding: 20px 30px;
    color: #535353;
    text-decoration: none;
    font-size: 2.1em;
    border-left: 1px #e6e6e6 solid;
}
.menu-lien:after {
    content: "";
    position: absolute;
    background: transparent;
    height: 0;
    left: 0;
    top: 0;
    right: 0;
    transition: all .2s ease 0s;
}
.lien-gris:hover:after,.lien-gris.active:after {background: #909090; height: 100%;}
.lien-vert:hover:after,.lien-vert.active:after {background: #b5cb34; height: 100%;}
.lien-rose:hover:after,.lien-rose.active:after {background: #db2674; height: 100%;}
.lien-orange:hover:after,.lien-orange.active:after {background: #f1892a; height: 100%;}
/*.lien-jaune:hover:after {background: #e8e21e; height: 100%;}
.lien-bleu:hover:after {background: #1fb6bc; height: 100%;}*/

.menu-lien span {
    display: block;
    font-size: .65em;
    position: relative;
    z-index: 2;
    transition: all .2s ease 0s;
}
.menu-lien:hover span,.menu .active span {color:#fff;}


/* sous menu */
.sousmenu1,.sousmenu2 {
    position: absolute;
    background: #fff;
    border: 4px #f0f0f0 solid;
    top: 69px;    
    padding: 20px;
    font-size: 20px;
    display: flex;
    flex-flow: column;
    line-height: 35px;
    min-width: 300px;
    visibility: hidden;    
}
.sousmenu1 a,.sousmenu2 a {font-size: 18px; color: #535353}
.sousmenu1 a:hover,.sousmenu1 a.active {color: #b5cb34; font-weight: 400}
.sousmenu2 a:hover,.sousmenu2 a.active {color: #f1892a; font-weight: 400}

.block {visibility: visible;}

/* MENU RESPONSIVE */
.troisBarres {
    cursor: pointer;
    width: 45px;
    height: 35px;
    position: fixed;
    right: 14px;
    top:17px;
    z-index: 99; 
    visibility: hidden;
}

.troisBarres * {transition-duration: 0.2s;}

.troisBarres span {
    display: block;
    position: relative;
    top: 15px;
    width: 35px;
    height: 7px;
    background-color: #555;
        border-radius: 1px;
}

.troisBarres span:before {
    display: block;
    content: "";
    position: relative;
    top: -11px;
    width: 35px;
    height: 7px;
    background-color: #555;
    transition: 0.2s ease-out;
    border-radius: 1px;
}

.troisBarres span:after {
    display: block;
    content: "";
    position: relative;
    top: 4px;
    width: 35px;
    height: 7px;
    background-color: #555;
    transition: 0.2s ease-out;
    border-radius: 1px;
}

/* flèche bas slider */
#accueil-flechebas {
  background:rgba(255,255,255,0.07) url('../img/fleche-bas1.png') no-repeat center 27px;
  background-size: 39px 18px;
  position: absolute;   
  left:50%; 
  bottom: 20px;
  margin-left: -39px; 
  width: 65px; 
  height: 65px;   
  border-radius: 65px;   
  z-index: 98;
  display: block;
  transition: 0.2s all ease-in-out;
  -webkit-animation: bounce 1.2s linear infinite;
  -moz-animation   : bounce 1.2s linear infinite;
  -o-animation     : bounce 1.2s linear infinite;
  animation        : bounce 1.2s linear infinite;
}
#accueil-flechebas:hover {background:rgba(255,255,255,0.1) url('../img/fleche-bas1.png') no-repeat center 27px; background-size: 39px 18px; bottom: 25px}

@-moz-keyframes bounce{
from{bottom:20px;}
10%{bottom:21px;}
20%{bottom:23px;}
30%{bottom:27px;}
40%{bottom:33px;}
50%{bottom:40px;}
60%{bottom:33px;}
70%{bottom:27px;}
80%{bottom:23px;}
90%{bottom:22px;}
to{bottom:20px;}
}
@-webkit-keyframes bounce{
from{bottom:20px;}
10%{bottom:21px;}
20%{bottom:23px;}
30%{bottom:27px;}
40%{bottom:33px;}
50%{bottom:40px;}
60%{bottom:33px;}
70%{bottom:27px;}
80%{bottom:23px;}
90%{bottom:22px;}
to{bottom:20px;}
}
@-o-keyframes bounce{
from{bottom:20px;}
10%{bottom:21px;}
20%{bottom:23px;}
30%{bottom:27px;}
40%{bottom:33px;}
50%{bottom:40px;}
60%{bottom:33px;}
70%{bottom:27px;}
80%{bottom:23px;}
90%{bottom:22px;}
to{bottom:20px;}
}

#retour-top {
    background: rgba(0, 0, 0, 0.3) url(../img/retour-top.png) no-repeat center center;    
    display: block;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index:4;
    color: #fff;
    border-radius: 4px;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease-out;
}
#retour-top:hover {background: rgba(0, 0, 0, 0.5) url(../img/retour-top.png) no-repeat center center;}

.logo {height: 39px; align-self: center; margin: 4px 50px 10px 15px;}
.logo img {width: 182px;}
#ferme {width: 50px; height: 50px; position: absolute; cursor: pointer; right: 15px; top: 10px;}
#ferme span {
    width: 35px;
    height: 5px;
    background: #fff;
    display: block;
    border-radius: 1px;
    position: absolute;
    top: 22px;
    left: 8px;
    transform: rotate(-45deg);
}
#ferme span:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(85deg);
    background: #fff;
    width: 35px;
    height: 5px;
}

footer {display: flex; justify-content: space-between; background: #f4f4f4; margin-top: 60px}
footer div {position: relative; flex-grow: 1;}
footer .adresse {padding: 40px 40px 40px 60px; flex-grow: 1;}
footer p {
    margin: 10px 0 0 15px;
    background: url(../img/ico_pins.png) no-repeat;
    padding: 2px 0 0 27px;
    background-position: 0 0px;
    min-height: 28px;
}
.footer-liens {
    display: flex;
    flex-flow: column;
    margin: 10px 0 0 43px;
    font-size: 15px;
    line-height: 24px
}
.footer-liens a {color: #535353; font-weight: 400}
.footer-liens a:hover {color: #b5cd15}

.bande-rose {
    box-sizing: border-box;
    background: #db2674; 
    color: #fff;      
    bottom: 0; 
    width: 100%;  
    text-align: 
    right; 
    padding: 5px 13px 5px 0;
}
.bande-rose span {background: url('../img/ico_tel.png') no-repeat; padding-left: 35px; background-position: 0 10px; font-size: 30px; margin-left: 30px; display: inline-block;}
.bande-rose a {
    background: url(../img/ico_mail.png) no-repeat;
    padding-left: 42px;
    background-position: 0px 8px;
    font-size: 30px;    
    color: #fff;
    text-transform: uppercase;
    background-size: 26px;
}
.map {width: 50%; border: none; height: 400px; position:relative; border-left:1px #e2e2e2 solid;}


/* ACCUEIL */
.accueil-slider .bx-wrapper {
    box-shadow: none!important; 
    border: none!important; 
    background: #af9797!important; 
    height: 100%!important;
    margin-bottom: 0!important;
}
.accueil-slider .bx-wrapper:before,.page-slider .bx-wrapper:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 2;
}
.accueil-slider div:nth-child(1) {background: url('../img/slider/1.jpg'); background-size:cover; width: 100%; height: 100vh}
.accueil-slider div:nth-child(2) {background: url('../img/slider/2.jpg'); background-size:cover; width: 100%; height: 100vh}
.accueil-slider div:nth-child(3) {background: url('../img/slider/3.jpg'); background-size:cover; width: 100%; height: 100vh}
.accueil-slider div:nth-child(4) {background: url('../img/slider/4.jpg'); background-size:cover; width: 100%; height: 100vh}
.accueil-slider div:nth-child(5) {background: url('../img/slider/5.jpg'); background-size:cover; width: 100%; height: 100vh}
.accueil-slider div:nth-child(6) {background: url('../img/slider/6.jpg'); background-size:cover; width: 100%; height: 100vh}

/* Slider PAGE */
.page-slider div:nth-child(1) {background: url('../img/slider/1.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider div:nth-child(2) {background: url('../img/slider/2.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider div:nth-child(3) {background: url('../img/slider/3.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider div:nth-child(4) {background: url('../img/slider/4.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider div:nth-child(5) {background: url('../img/slider/5.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider div:nth-child(6) {background: url('../img/slider/6.jpg'); background-size:cover; width: 100%; height: 300px}
.page-slider .bx-wrapper {
    box-shadow: none!important; 
    border: none!important; 
    background: #af9797!important; 
    height: 300px!important;
    margin-bottom: 0!important;
}
.titre {width: 100%; height: 300px; display: flex; position: absolute; z-index: 98; background: url(../img/bonhomme.png) no-repeat; background-position: 90% 100%;}
.titre h1 {margin: auto; color: #fff; text-align: center; text-shadow: 1px 1px 10px rgba(0,0,0,0.5); font-size: 5vw;  margin-top: 110px; font-weight: bold}

.accueil-titre {width: 100%; height: 100%; position: absolute; z-index: 98}
.accueil-titre h1 {color: #fff; text-align: center; text-shadow: 1px 1px 10px rgba(0,0,0,0.5); font-size: 6vw; margin-top: 50vh; transform: translateY(-50%); font-weight: bold}
.accueil-bonhomme {width: 768px; height: 768px; max-width: 100%; position: absolute; top:-350px; left: -350px; z-index: 3}

.accueil {padding: 50px 0 0 0; background: url('../img/bonhomme_fond.gif') no-repeat; background-position: right 30px}

.missions {text-align: center;}
.mission-top {            
    display: flex;
    justify-content: center;    
    margin: 0 auto 30px auto;    
    box-sizing: border-box;
}
.mission-top img {height: 250px}
.mission-top div {flex-flow: column; text-align: left;}
.mission-top h2 {margin: 70px 20px 0px 0px; font-size: 50px; font-weight: 100;}
.mission-top b {font-size: 22px}
.missions-encarts {
    display: flex;
    flex-flow: row wrap;
}
.missions-encarts div {
    display: flex; 
    flex-flow: column;    
    background: rgba(255,255,255,0.6);;    
    border: 3px #f0f0f0 solid;
    flex-grow: 1;
    margin: 0 10px 10px 10px;
}
.missions-encarts div h3 {background: #f1892a; color: #fff; padding: 20px}
.missions-encarts div div {padding: 20px 40px; border: none;}
.missions-encarts div div a {color: #535353; margin-bottom: 10px}
.missions-encarts div div a:hover {color:#b5cd15;}
.missions-encarts div div span {font-size: 12px}
.missions .btn2 {margin: 70px 0}

/* qui sommes nous */
.quisommesnous {
    background: #b5cb34;
    padding: 50px 0;
    color: #fff;
    line-height: 28px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
    margin:60px 0 550px 0;
}
.quisommesnous h2 {font-size: 40px; text-transform: uppercase; margin-bottom: 30px; text-shadow: 1px 1px 5px rgba(0,0,0,0.2)}
.quisommesnous span:nth-child(1) {
    position: absolute;
    top: 84px;
    left: -138px;
    transform: rotate(-90deg);
    letter-spacing: 4px;
}
.quisommesnous p {margin-bottom: 20px}
.quisommesnous ul {margin:0 0 20px 30px}
.quisommesnous img {position: absolute; left: 50%; margin-left: -470.5px; max-width: 100%; transition: all 0.5s ease-in-out}

.partenaires {margin-top: 60px}
.partenaires h2 {font-size:40px;}
.partenaires-logo {display: flex; flex-flow: wrap; justify-content: center; margin: 30px 0}
.partenaires a {padding: 10px; border: 1px #f0f0f0 solid; margin: 10px; position: relative;}
.partenaires-accueil {margin-top: 630px}

.partenaires a:after {
    content: "";
    position: absolute;
    background: transparent;       
    height: 0;
    left: 0;
    top: 0;
    right: 0;
    transition: all .2s ease 0s;
}
.partenaires span {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 3;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .2s ease 0s;
    color: #fff;
    font-weight: 400;
    text-align: center;    
    padding: 0 20px;
    box-sizing: border-box;
}
.partenaires a:hover:after {background: #db2674; height: 100%; border: 1px #db2674 solid; padding: 0 20px}
.partenaires a:hover span {opacity: 1}


/* PAGES */
.page h2,.page-vert h2 {
    background: #f1892a url('../img/fleche_bas2.png') no-repeat; 
    background-position: right 50%; 
    color: #fff; 
    padding: 5px 60px 5px 15px; 
    margin: 40px 0 20px 0; 
    border-top-left-radius: 5px; 
    border-bottom-right-radius: 5px; 
    cursor: pointer;
}
.page h3,.page-vert h3 {color: #f1892a; font-size: 25px; margin: 0 0 15px 20px;}
.page h4 {margin-left: 20px;}
.page ul {margin: 10px 0 15px 50px;}
.page p {margin: 0px 0 15px 20px}
.page em {font-size: 12px}
.no-ico {background-image: none!important; cursor: auto!important;}

.page-vert h3 {color: #b5cb34;}
.page-vert h2 {background: #b5cb34 url('../img/fleche_bas2.png') no-repeat; background-position: right 50%; }
.page2 {margin:50px 0;}

/* Orientation */
#plateforme,#passorient1,#passorient2,#bouger,#prepa-emploi,#passrelles,#accompagnement,#preparer-parcours,#ateliers,#prestations,#validation,#clea {display: none;}

/* ============ RESPONSIVE ============= */
@media (max-width: 1305px) {
  .menu li:nth-child(5) {display: none}    
}

@media (max-width: 1085px) {
  .menu li:nth-child(2) {display: none}
  .menu li:nth-child(3) {display: none}
  .menu li:nth-child(4) {display: none}
  .menu li:nth-child(5) {display: none}
  .menu li:nth-child(6) {display: none}
  .troisBarres {visibility: visible;}
  .mission-top {width: 100%}
}
@media (max-width: 980px) {
    .quisommesnous img {left: 0; margin-left: 0}
}
@media (max-width: 800px) {
    footer iframe {display: none;}
    .accueil-titre h1 {font-size: 10vw}
    .quisommesnous h2 {line-height: 45px}
    .quisommesnous {margin-bottom: 0; padding-bottom: 0}
    .quisommesnous img {position: relative; bottom:-10px; }
    .partenaires-accueil {margin-top: 30px;}
}