              /*******/
             /* Body*/
            /*******/

body{
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: 100%;
    font-family: roboto,glyphicons,fontawesome,cursive,serif,sans-serif;
}

img{
    max-width:100%;
}
              /**********/
             /* Police */
            /**********/

@font-face{
    font-family:'roboto';
        src:url('fonts/Roboto-Regular.ttf');      
}

@font-face{
    font-family:'fontawesome';
        src:url('fonts/fontawesome-webfont.tff'),
            url('fonts/fontawesome-webfont.woff'),
            url('fonts/fontawesome-webfont.svg'),
            url('fonts/fontawesome-webfont.eot');
}

@font-face{
    font-family:'glyphicons';
    src:url('fonts/glyphicons-halfongs-regular.ttf'),
        url('fonts/glyphicons-halfongs-regular.woff'),
        url('fonts/glyphicons-halfongs-regular.svg'),
        url('fonts/glyphicons-halfongs-regular.eot');
}


              /************/
             /* L'entête */
            /************/
/* header*/
header{
    z-index: 4;
    display: block;
    position: fixed;
    background-color: #FFFFFF;
    width: 100%;
    top: 0;
    margin:auto;
}
.wrap_center{
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin:0 auto;
}

/* Menu */
#menu ul{
    display: flex;
    flex-direction: row;
    list-style-type:none;
    margin: 0;
    padding: 0;
}
#menu li{
    font-size: 1.5em;
    width: auto;
    margin: 0px;
    padding: 0 10px;
}

.active_menu{
	border-top: 2px solid #5CADD3;
	text-decoration: none;
    color: black;
}
.active_menu:first-child{ /* Google Chrome : evite border top black*/
    border-top: 2px solid #5CADD3;
}
header a, header a:visited, header a:focus{
    display: block;
    border-top: 2px solid transparent;
    text-decoration: none;
    color: black;
    height: 97px;
    line-height: 95px;
}
header a:hover{
	border-top: 2px solid #5CADD3;
	text-decoration: none;
    color: black;
}



              /***********/
             /* Accueil */
            /***********/
#accueil{
    margin-top: 5%;
}
/************************* SlideShow ********************************/

#slide, #slideshow { /**correction décalage**/
    top: -100px;
    margin-bottom: -100px;
    padding-top: 100px; 
}

#slideshow { 
    position: relative;
    overflow: hidden; 
    width: 100%;
    height: 100%; 
}

#slide {
    display: flex; 
    position: relative;
    width: 200%; /* 2 images : 2*100 = 200% */
    left: 0;
    /* définition de l'animation */
    animation: slideshowAnimation 20s 9s infinite; 
}

@keyframes slideshowAnimation{
    0% { left: 0%;} 
    5% {left: -100%;} 
    50% {left:-100%;}
    55%{left:0%;} 
    100%{left:0%;}
}

#slide figure, #slide figure img {
    width: 100%;
    margin: 0 auto;
}

#slide figure figcaption {
    position: absolute; 
    color: #FFFFFF;
    width: 45%;
    top: 38%;
    padding-left: 3%;
}

/**Texte custom**/
#slide figcaption h1 {
    font-size: 2em;
    width: 45%;
}

.blue {
    color: #5CADD3; 
}

#slide figcaption p {
    font-size: 20px;
    margin: 0 auto;
}

input[type=button]{
    align-items: center;
    cursor:pointer;
    border: solid transparent;
    border-bottom: solid #398FB9;
    border-radius: 3px;
    background-color: #5CADD3;
    color: #FFFFFF;
    width: 120px;
    height: 40px;
 }
.infoslide{
    margin-top: 5%;
}

/**Boutons flèches slideshow**/
.button {
    background-color: rgba(0, 0, 0, 0.2);
    height: 70px;
    width: 35px;
}
#button_left, #button_right {
    z-index: 3;
    display: flex;
    align-items: center;
    position: absolute;
    width: 35px;
    height: 100%;
    top: 0;
    padding-top: 4%;
}
#button_left { left: 0;}
#button_right {right: 0;}

/**Flèche**/
#button_left .button {
    border-radius:  0 50px 50px 0;
}

#button_right .button {
    border-radius: 50px 0 0 50px;
}

/*chevrons*/
.chevron {
    position: relative;
    display: inline-block;
	border-style: solid; 
	border-width: 0.13em 0.13em 0 0; 
    color: #fff; 
    width: 13px;
    height: 13px;
    top: 40%;
}

.chevron.left {
    left: 10px; 
    transform: rotate(-135deg);
}

.chevron.right {
    right: -10px;
    transform: rotate(45deg);
}

#slideshow:target #slide {
    left: -100%; /* passage slide_2 */
    animation-play-state: paused; 
}

#slide:target #slideshow {
    left: 0; /* retour Slide_1 */
}

/**Timeline**/
#timeline_background {
	position:absolute;
	background-color: rgba(0,0,0,0.2); 
	width: 100%;
	height: 3px;
    left:0;
	bottom: 4px; 
    margin: 0 auto;
	content: " ";
}

#timeline {
	position: absolute;
	background: #5CADD3;
	width: 0;
	height: 3px;
	left: 0;
	bottom: 0; 
	animation: timeliner 10s infinite;

} 

@keyframes timeliner {
	0%{ width:0;}
    100%{width:100%}
}

/************************* Fin du SlideShow ********************************/


              /************/
             /* Services */
            /************/

#services{
    width: 100%;
    height: 100%;
    padding: 70px 0 70px 0;
}

#services p, .titre_section p{
    font-size : 0.8em;
}

/****** header services+projet *****/
.titre_section{
    display: inline;
    text-align: center;
}
.titre_section h1
{
    font-size: 2.7em;
}

.image_services{
        margin: 0 auto;
}

.circle{
    position: relative;
    border-radius: 50%;
    background-color: #5CADD3;
    border:3px solid #FFFFFF;
    height: 20px;
    width: 20px;  
    margin:20px auto;
}

.circle:after, .circle:before{ 
    content:"";
    display:block; 
    position:absolute;
    height:1px;
    background:#EDEDED;
    width:100px;
    top:0;
    bottom:0;
    margin:auto 0;
}

.circle:after{
    right:-105px;
}

.circle:before{
    left:-105px;
}

/* icones*/
.rounded{ /* + cercle autour de l'icones */
    display:flex;
    position:relative;
    border-radius:50%;
    border:1px solid #EDEDED;
    align-items: center;
    justify-content: center;  
    color: #5CADD3;
    height:55px;
    width:55px;
}
.rounded:after{ /* rond sur la droite */
    display:block;
    content:"";
    position:absolute;
    border-radius:50%;
    background:#5CADD3;
    top:0;
    right:-8px;
    bottom:0;
    margin:auto 0;
    height:15px;
    width:15px;
}

/* liste des services */
.ligne_services{
    display: flex;
    flex-direction:row;
    justify-content: space-between;
    align-items: center;
}
.ligne_services :first-child{
    margin-right: 15px;
}

#article_services{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

#contener_services{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    margin-top: 40px;
}


              /***********/
             /* Projets */
            /***********/

#projets{
    background-color: #F5F5F5;
    width: 100%;
    height: 100%;
    padding-bottom: 30px;
    padding-top: 70px;
}

/* menu*/
.menu_projets{
    display: flex;
    justify-content: center;
    width: 50%;
    height: 100%;
    margin: 0 auto;
}

.menu_projets ul{
    display: flex;
    flex-direction: row;
    list-style-type: none;
    height: 100%;
    padding: 0;
}
.menu_projets li{
    display: flex;
    justify-content: space-between;
    text-align: center;
    white-space:nowrap;
    position: relative;
    background-color: #E5E5E5;
	border-bottom: 3px solid transparent;
    border-radius: 3px;
    font-size: 1.5em;
    height: 100%;
    width: 100%;
    padding: 10px 20px 10px 20px;
}
.menu_projets li:hover {
	color: #FFFFFF;
	background-color: #5CADD3;
	border-bottom: 3px solid #398FB9;
    cursor: pointer;
}
.menu_projets li:hover:after{
	position: absolute;
    content:"";
    display:block;
    border:8px solid transparent;
    border-top:8px solid #398FB9;
    height:0;
    width:0;
    bottom:-19px; 
    left:0;
    right:0;
    margin:0 auto;
}
.menu_projets i:hover{
    opacity: 1;
}
.active_projets:first-child{
    color: #FFFFFF;
	background-color: #5CADD3;
	border-bottom: 3px solid #398FB9;
}
.active_projets:first-child:after{
	position: absolute;
    content:"";
    display:block;
    border:8px solid transparent;
    border-top:8px solid #398FB9;
    height:0;
    width:0;
    bottom:-19px; 
    left:0;
    right:0;
    margin:0 auto;
}
/* gallery projets*/
#portfolio{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px;
}
.image_portfolio{
    display: block;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    width: 24%;
    margin-bottom: 50px;
}
.image_portfolio img{
    width: 100%;
}

.item_portfolio{ 
    transition: all 0.4s ease;
    text-align: left;
    position: absolute;
    background: rgba(0,0,0,0.5);
    color: #FFFFFF;
    opacity: 0;
    width: 100%;
    bottom: -30%;
    left: 0;
    margin: 0px;
    padding: 10px 10px;
}
.iconeOeil {
	border: 2px solid #FFFFFF;
	border-radius: 50%;
	position: absolute;
	background-color: #5CADD3;
	color: #FFFFFF;
	left: 80%;
	bottom: 80%;
	padding: 10px;
}
.image_portfolio:hover .item_portfolio{
    cursor:pointer;
    opacity: 1;
    bottom: 5px;
}


              /***********/
             /* Contact */
            /***********/
#contact{
    position: relative;
    width: 100%;
    height: 100px;
}

/*map*/
#map iframe{
    border: none;
    width: 100%;
    height: 700px;
}

#map{
	width: 100%;
	height: 700px;
}
#fond_map{
    z-index: 2;
    position: absolute;
    background-color: rgba(90, 194, 217, 0.3);
    width: 100%;
    height: 700px;
}

/* Formulaire */
#formulaire{
    z-index: 3;
    position: absolute;
    background-color: rgba(255,255,255,0.8);
    color: #000000;
    width: 350px;
    height: 600px;
    top: 50%;
    right:20%;
    padding-left: 20px;
}
#contact h1{
    font-size : 2em;
}
#contact h2, #contact p{
    font-size : 1em;
    color: #878787;
}
.effet_point{
    border-bottom: dotted;
}
 #case_formulaire{
    display: flex;
    flex-direction: column;
}

#name, #email, #subject,#message{
font-family: roboto,arial, serif,sans-serif;
    border: solid 1px #E9E9E9;
    border-radius: 3px;
    width: 310px;
    height: 40px;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 0 10px; 
    box-sizing: border-box;
}
#message{ 
    height: 170px;
    padding:10px;
}
input[type=submit]{
    align-items: center;
    cursor:pointer;
    border: solid transparent;
    border-bottom: solid #398FB9;
    border-radius: 3px;
    background-color: #5CADD3;
    color: #FFFFFF;
    width: 120px;
    height: 35px;
 }

/************************* FIN DU CODE ******************************/