/* POLICES */

@font-face {
    font-family: "BebasNeue";
    src: url('../font/BebasNeue/BebasNeue.otf');
    src: url('../font/BebasNeue/BebasNeue.woff');
    src: url('../font/BebasNeue/BebasNeue.woff2');
}

/*---------------*/
/* COULEURS      */
/*
Gris : #E8E8E8
Rouge vif : #C7362F
Rouge foncé : #8E1B21
*/

html{
    margin: 0;
    padding: 0;
    height: 100%;
}
body{
    margin: 0;
    padding: 0;
    height: 100%;
    background: #fff;
}

a {
    color: #fff;
    text-decoration: underline;
}

p {
    font-family: 'roboto', sans-serif;
    margin:0;
}

/*-------TEXTES------*/


h1{
    color: #C7362F;
    font-size: 2.5em;
    margin: 0;
    text-align: left;
    font-family: 'roboto',sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    padding-left: 5%;
    
}
h2{
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 20px;
    color:#C7362F;
    text-align: left;
    font-family: 'roboto',sans-serif;
    padding-left: 5%;
}

h3{
    font-weight: 500;
    font-size: 1em;
    font-family: 'roboto',sans-serif;
}
@media screen and (max-width: 1100px){
    h1{
        font-size: 2.2em;
    }
    h2{
        font-size: 1.5em;
    }
    h3{
        font-size: 0.9em;
    }
}


/*----FORMULAIRES----*/


form{
    max-width: 1200px;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
    width: 60%;
}

@media screen and (max-width: 800px){
    form{
        width:100%;
}
}

input, textarea{
    border: 1px solid #C7362F;
    padding: 10px;
    font-family: 'Roboto', arial;
    font-size: 1.3em;
    color: #C7362F;
    box-sizing: border-box;
    background: none;
    width: 100%;
    -webkit-appearance: none;
    transition: all 0.3s;
}

input[type='submit']:hover{
    background: #C7362F;
    color: #fff;
    cursor: pointer;
}
@media screen and (max-width: 800px){
    input, textarea{
        font-size: 1em;
        padding: 10px;
        margin: 10px 0px;
    }
    input[type='submit']{
        width: 100%;
    }
}


/*------NAV-----*/


#nav{
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    z-index: 100;
    text-align: right;
    background-color: #E8E8E8;
}
@media screen and (max-width: 1100px){
    #nav{
        display: none;
    }
}
#nav ul{
    margin: 0;
    padding: 0;
    display: inline-block;
}
#nav ul li{
    margin: 0;
    padding: 0;
    display: inline-block;
}
#nav ul li a{
    padding: 20px;
    height: auto;
    padding-top: 50px;
    padding-right: 30px;  
    display: inline-block;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'roboto', sans-serif;
    color: #C7362F;
    font-weight: 500;
    text-transform: uppercase;
    box-sizing: border-box;
    transition: all 0.3s;   
}

#nav ul li a:hover{
    color: #8E1B21;
}
#nav img {
    text-align: left;
    display: inline-block;
    float:left;
    width: 200px;
    padding-top: 15px;
}
#nav_mobile{
    position: fixed;
    height: auto;
    width: 100%;
    top: 0;
    z-index: 100;
    display:none;
    background-color: #E8E8E8;
    text-align: right;
}

#nav_mobile a{
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    display: inline-block;
    font-size: 2.2em;
}

#menu_mobile{
    background-color: black;
    padding: 40px 0 0 0;
    
}
#menu_mobile ul{
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
}
#menu_mobile li{
    display: inline-block;
    width: 100%;
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    border-top: 1px solid rgba(255,255,255,0.1);
}
#menu_mobile li:first-child{
    border: none;
}
#menu_mobile li a{
    color: white;
    font-family: 'roboto', arial;
    font-size: 8vw;
    text-transform: uppercase;
}
#menu_mobile:target{
    transform: scale(1);
    opacity: 1;
    transition: opacity 0.3s;
}

@media screen and (max-width: 1100px){
    #nav_mobile{
        display: block;
    }
}

div.logo {
    position: relative;
    display: inline-block;
    width:200px;
    height:80px;
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    float: left;
    margin-left: 1%;
    margin-top: 10px;
}

@media screen and (max-width: 1100px){
    div.logo{
        display: none;
    }
}

div.logo_petit {
    position: relative;
    display: inline-block;
    width:100px;
    height:50px;
    background-image: url(../img/logo_petit.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    float: left;
    margin-left: 1%;
}

div.logo a, div.logo_petit a{
    display: block;
    width: 100%;
    height: 100%;
}

i.fa.fa-bars {
    color: #C7362F;
    transition: all 0.3s;
}

i.fa.fa-bars:hover {
    transform: scale(1.1);
}

/*------POPUP-----*/


.popup{
    background-color: rgba(0,0,0,0.95);
    height: 100%;
    width: 100%;
    margin: 0;
    margin-top:50px;
    position: fixed;
    top:0;
    left:0;
    z-index: 200;
    text-align: center;
    color: white;
    padding: 30px;
    box-sizing: border-box;
    transform: scale(0);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s;
}

@media screen and (max-width: 800px){
    .popup{
        padding: 10px;
    }
}
.popup.forced{
    transform: scale(1);
    opacity: 1;
    transition: opacity 0.3s; 
}

.popup p{
    color: white;
    opacity: 0.8;
}
.popup hr{
    max-width: 800px;
}
@media screen and (max-width: 800px){
    .popup{
        background-color: black;
    }
}

.popup .close{
    color: white;
    display: inline-block;
    position: fixed;
    top: 10px;
    right: 10px;
    height: 30px;
    width: 30px;
    box-sizing: border-box;
    background-image: url(../img/close.png);
    background-size: contain;
    transform: scale(1);
    transition: all 0.3s;
}

.popup .close:hover{
    transform: scale(1.1);
}


/*-----------------*/
/*-----INDEX-------*/
/*-----------------*/


section{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    display: block;
    text-align: left;
    box-sizing: border-box;
    padding-top: 140px;
}

section#slideshow {
    overflow: hidden;
    text-align: center;
}

@media screen and (max-width: 1100px){
    section{
        height: 100%;
        padding-top: 70px;
    }
}

p.index {
    position: relative;
    width: 50%;
    padding: 50px;
    margin: auto;
    margin-top: 7%;
    font-family: 'roboto', sans-serif;
    letter-spacing: 0.3em;
    font-size: 1em;
    color: #fff;
    text-shadow: 0 0 3px #333;
    text-align: center;
}

@media screen and (max-width: 580px){
    p.index{
        padding: 20px;
        width: auto;
        font-size: 0.9em;
        letter-spacing: 0.2em;
    }
}

i.fa.fa-play-circle-o {
    font-size: 8em;
    padding-bottom: 50px;
    transition: all 0.3s;
}

i.fa.fa-play-circle-o:hover {
    transform: scale(1.2);
    cursor:pointer;
}


/*-----------------*/
/*-----SOCIETE-----*/
/*-----------------*/


section#societe {
    text-align: left;
}

div.description {
    position: relative;
    padding-left:5%;
    padding-right: 5%;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 25px;
    box-sizing: border-box;
    overflow: auto;
}

p.p1 {
    float:left;
}

p.p2 {
    float:right;
}

p.p1, p.p2 {
    width: 45%;
    display: inline-block;
    padding: 30px;
    padding-left:0;
    padding-right: 0;
    box-sizing: border-box;
    text-align: justify;
    margin: 0;
}

@media screen and (max-width: 1100px){
    p.p1, p.p2{
        width:100%;
        display: block;
        padding:10px;
    }
}

div.ban {
    position:relative;
    width: 100%;
    height: 300px;
    background-color: #969696;
    background-image: url('../img/AP1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

div.block {
    width: 24%;
    padding: 10px;
    box-sizing: border-box;
    display: inline-block;
    text-align: center;
    color: #fff;
}

i.fa.fa-lightbulb-o, i.fa.fa-handshake-o, i.fa.fa-cog, i.fa.fa-file-text-o{
    font-size: 8em;
}

@media screen and (max-width: 800px){
    div.ban{
        height: 500px;
    }
    div.block {
        width: 48%;
        vertical-align: top;
}
    div.block img{
        width:100px;
    }
    i.fa.fa-lightbulb-o, i.fa.fa-handshake-o, i.fa.fa-cog, i.fa.fa-file-text-o{
    font-size: 5em;
}
}

div.block p{
    font-size: 3em;
    margin: 0;
    padding: 0;
    font-weight: 700;
    margin-top: 20px;
    
}

span.ban {
    font-size: 0.4em;
    margin: 0;
    padding: 0;
    font-weight: 300;
    text-transform: uppercase;
    width: 100%;
    display: block;
}

div.fondateurs {
    position: relative;
    padding-left:5%;
    padding-right: 5%;
    width: 100%;
    height: 300px;
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
    box-sizing: border-box;
}

div.fondateur1{
    float: left;
}

div.fondateur2 {
    float:right;
}

div.fondateur1, div.fondateur2 {
    position: relative;
    width: 45%;
    height:100%;
    display: inline-block;
    text-align: justify;
    margin: 0;
    background-color: #e6d1d1;
    color: #C7362F;
    border-radius: 5px;
}

div.fondateur1 p, div.fondateur2 p {
    padding: 30px;
    box-sizing: border-box;
    width: 50%;
    text-align: left ;
    float: left;
}

div.pp1 {
    background-image: url('../img/F2.jpg');
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.pp2 {
    background-image: url('../img/F1.jpg');
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

div.pp1, div.pp2 {
    position: relative;
    float:right;
    width:50%;
    height:100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
}

@media screen and (max-width: 1100px){
    div.fondateur1, div.fondateur2 {
        width: 100%;
        display: block;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 800px){
    div.fondateur1 p, div.fondateur2 p {
        padding: 10px;
        box-sizing: border-box;
        width: 100%;
        float: inherit;
    }
    div.pp1, div.pp2 {
        width: 100%;
        height:70%;
        float: inherit;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
    }
}

div.partenaires{
    position: relative;
    width:100%;
    height: auto;
    text-align: center;
    margin-top:50px;
}

img.partenaire {
    max-height: 130px;
    max-width: 130px;
    padding-left: 4%;
    padding-right: 4%;
    padding-bottom: 2%;
    display: inline-block;
}

@media screen and (max-width: 800px){
    img.partenaire {
        max-height: 90px;
        max-width: 90px;
    }
}

div.ban2 {
    position:relative;
    width: 100%;
    height: 300px;
    background-color: #969696;
    background-image: url('../img/AP2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
}

div.citation {
    position: relative;
    width: 100%;
    height:auto;
    padding-top: 10px;
    padding-bottom:70px;
    box-sizing: border-box;
    text-align: center;
}

div.citation p {
    font-size: 3em;
    color: #000;
    font-style: italic;
}

div.citation p span {
    color: #C7362F;
}

i.fa.fa-quote-left{
    padding-right: 20px;
    font-size: 0.5em;
    vertical-align: top;
}

i.fa.fa-quote-right{
    padding-left: 20px;
    font-size: 0.5em;
    vertical-align: top;
}

/*-----------------*/
/*---COMPETENCES---*/
/*-----------------*/

div.comp1 {
    position:relative;
    float:left;
    box-sizing: border-box;
    display: block;
    padding-bottom: 50px;
}

div.comp1 ul {
    list-style: square;
    line-height: 1.5em;
    margin-left: 25px;
    width: 48%;
}

div.comp1 p {
    width: 50%;
}

div.comp1 p, div.comp1 ul {
    padding: 30px;
    padding-left: 5%;
    text-align: justify;
    font-family: 'roboto', sans-serif;
    box-sizing: border-box;
}

div.comp2 {
    position: absolute;
    right:0;
    width: 40%;
    height: auto;
    box-sizing: border-box;
    display: block;
    padding-bottom: 50px;
}

div.comp2 img {
    width: 85%;
    max-width: 420px;
    border-radius: 5px;
}

div.comp2 address{
    padding: 30px;
    padding-left:5%;
}

@media screen and (max-width: 800px){
    div.comp1, div.comp2 {
        width: 100%;
        height: auto;
        overflow: auto;
        display: block;
        float: inherit;
        position: relative;
        
    }
    div.comp2 {
        text-align: center;
    }
    div.comp1 p {
        width: 100%;
}
    div.comp1 ul{
        width: 80%;
    }
}

div#gallerie {
    width: 100%;
    height: auto;
    position: relative;
    clear: both;
    overflow: hidden;
    text-align: center;
}


/*-----------------*/
/*------MOYENS-----*/
/*-----------------*/


div.ban3, div.ban4, div.ban5 {
    position:relative;
    width: 100%;
    height: 300px;
    display: block;
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: #969696;
    background-repeat: no-repeat;
    background-size: cover;
}

div.ban3{
    background-image: url('../img/AP3.jpg');
    background-position: bottom;
}

div.ban4{
    background-image: url('../img/AP4.jpg');
    background-position: center;
}

div.ban5{
    background-image: url('../img/AP5.jpg');
    background-position: center;
}


/*-----------------*/
/*-----CONTACT-----*/
/*-----------------*/


section#contact div.comp1{
    width: 100%;
}

section#contact a{
    color: #000;
}

.notif{
    padding: 20px;
    margin-left: 5%;
    box-sizing: border-box;
    border: 1px solid #333;
    width: 50%;
    border-radius: 5px;
    text-align: center;
}

.notif i{
    font-size: 2em;
}

.notif span{
    font-size: 2em;
    font-family: 'roboto';
}

@media screen and (max-width: 800px){
    .notif {
        width: 90%;
        padding: 5px;
        box-sizing: border-box;
        margin-right: 5%;
    }
    .notif i {
        font-size: 1.2em;
}
    .notif span{
        font-size: 1.2em;
        font-family: 'roboto';
    }
}

.succes{
    color: forestgreen;
}
.echec{
    color: darkred;
}
#contact label{
    display: none;
}

section#contact iframe {
    width: 100%;
    height: auto;
    min-height: 330px;
    padding-left:5%;
    padding-right: 5%;
    box-sizing: border-box;
}


/*-----------------*/
/*-----FOOTER-----*/
/*-----------------*/


footer{
    box-sizing: border-box;
    position:fixed;
    bottom: 0;
    width: 100%;
    padding: 5px;
    padding-left: 20px;
    z-index: 100;
    background-color: #C7362F;
    color: #fff;
    font-size: 0.6em;
    text-align: left;
    font-family: 'Roboto', Arial;
}

footer span{
    float: right;
    padding-right: 20px;
    cursor:pointer;
    box-sizing: border-box;
}

footer a{
    text-decoration: none;
}

@media screen and (max-width: 1100px){
    footer {
        text-align: center;
        padding-left:10px;
        font-size: 0.5em;
    }
    footer span{
        display: none;
    }
}


/*-----------------*/
/*-MENTIONSLEGALES-*/
/*-----------------*/


section#mentions_legales {
    text-align: left;
    padding-bottom: 50px;
    text-align: justify;
}

section#mentions_legales p, section#mentions_legales h3 {
    padding-left: 5%;
    padding-right: 5%;
}

section#mentions_legales a {
    color: black;
}

p.end {
    padding-bottom: 70px;
}

/*-----------------*/
/*-----ERREURS-----*/
/*-----------------*/


section#erreur{
    text-align: center;
    padding: 20px;
    margin-top:15%;
    
}