/* Définition des polices personnalisées */

@font-face {
    font-family: 'fontawesomeregular';
    src: url('fonts/fontawesome-webfont.eot');
    src: url('fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/fontawesome-webfont.woff2') format('woff2'),
         url('fonts/fontawesome-webfont.woff') format('woff'),
         url('fonts/fontawesome-webfont.ttf') format('truetype'),
         url('fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'glyphiconshalflingsregular';
    src: url('fonts/glyphicons-halflings-regular.eot');
    src: url('fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/glyphicons-halflings-regular.woff2') format('woff2'),
         url('fonts/glyphicons-halflings-regular.woff') format('woff'),
         url('fonts/glyphicons-halflings-regular.ttf') format('truetype'),
         url('fonts/glyphicons-halflings-regular.svg#glyphiconshalflingsregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoregular';
    src: url('fonts/roboto-regular-webfont.eot');
    src: url('fonts/roboto-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('fonts/roboto-regular-webfont.woff') format('woff'),
         url('fonts/roboto-regular-webfont.ttf') format('truetype'),
         url('fonts/roboto-regular-webfont.svg#robotoregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotoblack';
    src: url('fonts/roboto-black-webfont.eot');
    src: url('fonts/roboto-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-black-webfont.woff2') format('woff2'),
         url('fonts/roboto-black-webfont.woff') format('woff'),
         url('fonts/roboto-black-webfont.ttf') format('truetype'),
         url('fonts/roboto-black-webfont.svg#robotoblack') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'robotobold';
    src: url('fonts/roboto-bold-webfont.eot');
    src: url('fonts/roboto-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('fonts/roboto-bold-webfont.woff') format('woff'),
         url('fonts/roboto-bold-webfont.ttf') format('truetype'),
         url('fonts/roboto-bold-webfont.svg#robotobold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Eléments principaux de la page */

body
{
    background-color: #fff;
    font-family: "fontawesomeregular", "glyphiconshalflingsregular", "robotoregular", "Arial", "Verdana", sans-serif;
}

*
{
    margin: 0;
    padding: 0;
    outline: none;
    list-style: none;
    text-decoration: none;
    font-style: normal;
    font-size: 1rem;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, .bloc-text span
{
    font-family: "robotobold", "robotoblack", "fontawesomeregular", "robotoregular", "Arial", "Verdana", sans-serif;
    font-size: 2.5rem;
}

h3
{
    font-family: "robotobold", "robotoblack", "fontawesomeregular", "robotoregular", "Arial", "Verdana", sans-serif;
    font-size: 2rem;
}

em
{
    font-weight: bold;
}

.bloc-text span
{
    color: #5cadd3;
}

#container
{
    width: auto;
    min-width: 992px;
    max-width: 1600px;
    margin: auto;
}

/* Hearder */

#top
{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    background-color: #fff;
    width: 100%;
    height: 80px;
    padding-bottom: 5px; 
    margin: auto;
    display: flex;    
    padding-top: 10px;
}

#logo img
{
    width: 280px;
    position: absolute;
    left: 11%;
}

/* Navigation */

nav ul
{
    display: flex;
    margin-top: 20px;
    position: absolute;
    right: 10%;
}

nav li
{
    margin-right: 15px;
}

nav a
{
    color: #181818;
    padding-top: 25px;
}

nav a:hover
{
    border-top: 2px solid #5cadd3;
}

nav label
{
    display: none;	
}

nav .fa-bars
{
    font-size: 2rem;
}

nav input
{
    display: none;
}

/* banniere */

#slider
{
    position: relative;
    margin-top: 80px;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

#slide
{
    position: absolute;
    top: 0;
    left: 0;
    width: 400%;
    height: 500px;
    display: flex;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
    -webkit-animation: 40s slider;
            animation: 40s slider;     /* enlever le / */
}

#slide img
{
    width: 105%;
    height: 550px;
    z-index: 0
}

@keyframes slider
{
    0% {
        left: 0;
    }
    12% {
        left: 0;
    }
    25% {
        left: -100%;
    }
    37% {
        left: -100%;
    }
    50% {
        left: -200%;
    }
    62% {
        left: -200%;
    }
    75% {
        left: -300%;
    }
    87% {
        left: -300%;
    }
}

.bloc-text
{
    position: absolute;
    bottom: 170px;
    margin-left: 3%;
    color: #fff;
    z-index: 3
}

.bloc-text a
{
    display: inline-block;
    margin-top: 15px;
    padding: 0 5px 0 5px;
    background-color: #5cadd3;
    border: 5px #5cadd3 solid;
    color: rgb(255, 255, 255);
}

.reseaux-sociaux i
{
	width: 40px;
	height: 40px;
	font-size: 2.5rem;
	margin: auto;
	z-index: 3;
	color: #fff;
}

.prev
{
    position: absolute;
    top: 45%;
    left: 0;
    cursor: pointer;
    border: none;
    width:30px;
    height:60px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    background-color: rgba(65, 66, 70, .5);
    z-index: 1
}

.next 
{
    position: absolute;
    top: 45%;
    right: 0;
    cursor: pointer;
    border: none;
    width:30px;
    height:60px;
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
    background-color: rgba(65, 66, 70, .5);
    z-index: 1
}

.fa-chevron-left, .fa-chevron-right
{
    color: #fff;
    z-index: 5;
}

/* initialisation */
#slider .next, #slider .prev, #scroll_slider_right 
{ 
    display: none; 
}
#slider .next1, #slider .prev1 
{ 
    display: block; 
}

progress
{
    position: absolute;
    top: 495px;
    width: 100%;
    height: 5px;
    border: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1
}

progress::-webkit-progress-bar
{
    background-color: rgba(0, 0, 0, 0.3);
}

progress::-moz-progress-bar
{
    background-color: #5cadd3;
}

progress[value]
{
	color: #5cadd3;
}

progress::-webkit-progress-value
{
    background-color: #5cadd3;
}

header hr
{   
    border: 0; 
    height: 80px; 
    background: #dfdfdf; 
    background-image: -webkit-gradient(linear, left bottom, left top, from(#dfdfdf), color-stop(#fff), to(#fff));
    background-image: -webkit-linear-gradient(bottom, #dfdfdf, #fff, #fff);
    background-image: -o-linear-gradient(bottom, #dfdfdf, #fff, #fff);
    background-image: linear-gradient(to top, #dfdfdf, #fff, #fff);
}

/* section en générale */


.titre h2, .titre p
{
    text-align: center;
}

.deco-fa-circle
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.trait-avant
{
    position: relative;
    right: 5px;
    width: 50px;
    height: 1px;
    color: #d7d7d7;
    background: #d7d7d7;
    opacity: 1;
}

.trait-apres
{
    position: relative;
    left: 5px;
    width: 50px;
    height: 1px;
    color: #d7d7d7;
    background: #d7d7d7;
    opacity: 1;
}

.fa-circle
{
    font-size: 0.6rem;
    color: #5cadd3;
    border: 1px solid #fff;
}

/* nos services */

#services
{
    width: 100%;
    margin-top: 20px;
}

aside img
{   
    width: 48%;
    margin-top: 5%;
}

aside
{
    position: relative;
    padding-left: 11%;
    padding-right: 11%;
    width: 100%;
    text-align: justify;
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    flex-wrap: wrap;
}

#services ul
{
    width: 50%;
    margin-top: 10%;
}

#services li
{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-bottom: 30px;
}

.text-icon
{
    margin-left: 30px;
}

.cercle
{
    width: 55px;
    border: 1px solid #d7d7d7;
    height: 55px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}
    
.dot
{
    display: flex;
    align-items: center;
    margin-top: -40px;
    margin-left: 16px;
}    
    
.icon .fa-chart-pie, .icon .fa-cubes, .icon .fa-chart-line
{
    padding-right: 8px;
    color: #5cadd3;
    font-size: 1.5rem;  
}

#services hr
{   
    border: 0; 
    height: 40px; 
    background: #dfdfdf; 
    background-image: -webkit-gradient(linear, left bottom, left top, from(#f5f5f5), color-stop(#fff), to(#fff));
    background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fff, #fff);
    background-image: -o-linear-gradient(bottom, #f5f5f5, #fff, #fff);
    background-image: linear-gradient(to top, #f5f5f5, #fff, #fff);
}

/* nos projets */

#projets
{
    width: 100%;
    background-color: #f5f5f5;
}

#projets #menu-portfolio
{
    display: flex;
    justify-content: center;
    margin: 3% 0 4% 0;
}

#menu-portfolio input
{
    display: none;
}

#menu-portfolio label i
{
    line-height: 0;
    color: #468cad;
    font-size: 1.5rem;
    opacity: 0;
    z-index: 0
}

#menu-portfolio label
{   
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #181818;
    background-color: #e5e5e5;
    cursor: pointer;
    z-index: 2
}

#menu-portfolio label:hover
{
    display: flex;
    height: 50px;
    color: #fff;
    background-color: #5cadd3;
    border-bottom: 3px solid #468cad;    
}

#menu-portfolio label:hover i
{
    opacity: 1 !important;
}

#works:checked ~ #works_btn, #creative:checked ~ #creative_btn, #corporate:checked ~ #corporate_btn, #portfolio:checked ~ #portfolio_btn
{
    display: flex;
    height: 50px;
    color: #fff;
    background-color: #5cadd3;
    border-bottom: 3px solid #468cad;
}

#works:checked ~ #works_btn i, #creative:checked ~ #creative_btn i, #corporate:checked ~ #corporate_btn i, #portfolio:checked ~ #portfolio_btn i
{
    opacity: 1 !important;
}

#container-portfolio
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
    width: 90%;
    padding-bottom: 30px;
}

#container-portfolio figure
{
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
    width: 25%;
    display: flex;
    flex-direction: column;
}

#container-portfolio figure img
{
    width: 100%;
    max-height: 200px;
    z-index: 0;
}

#container-portfolio figcaption 
{
    width: auto;
    margin-top: -80px;
    height: 80px;
    padding: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    font-size: 0.8rem;
    display: none;
    z-index: 1;
}

#container-portfolio figure:hover figcaption
{
    display: block;
}

.cercle-eye
{
    width: 35px;
    border: 2px solid #fff;
    background-color: #4590b1;
    height: 35px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
}

.fa-eye
{
    color: #fff;
    position: relative;
    right: 26px;
}


.deco-fa-eye
{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    left: 15px;
    bottom: 65px;
}

/* contact */

#contact
{
    width: 100%; 
    display: flex;
}

.maps
{
    height: 500px;
    width: 100%;
    background-color: #00aeef;
}

iframe
{
    width: 100%;
    height: 500px;  
    border: none;
    opacity: 0.85;
}

form
{
    position: absolute;
    right: 11%;
    width: 350px;
    margin-top: 1.5%;
    height: auto;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7); 
}

h3
{
    padding-bottom: 8px;
}


fieldset
{
    border: none;
}

fieldset p
{
    margin-top: 10px;
}

fieldset input
{
    width: 320px;
    height: 20px;
    padding-left: 5px;
}

fieldset textarea
{
    width: 320px;
    padding-left: 5px;
    padding-top: 5px;
}

fieldset input[type="submit"]
{
    width: auto;
    padding-right: 5px;
    height: 30px;
    background-color: #5cadd3;
    color: #fff;
    border: none;
    border-bottom: 2px solid #468cad;
    cursor: pointer;
}
