/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --- ajout des polices ---*/
@font-face{
    font-family : "Roboto";
    src : url('./fonts/Roboto-Black.ttf');
}
@font-face{
    font-family : "RobotoBold";
    src : url('./fonts/Roboto-Bold.ttf');
}
@font-face{
    font-family : "RobotoThin";
    src : url('./fonts/Roboto-Thin.ttf');
}

@font-face {
  font-family: 'FontAwsome';
  src: url('./fonts/fontawsome-webfont.eot');
  src: url('./fonts/fontawsome-webfont.woff') format('woff'),
  src: url('./fonts/fontawsome-webfont.ttf') format('truetype'),
  src: url('./fonts/fontawsome-webfont.otf') format('otf'),
  src: url('./fonts/fontawsome-webfont.svg') format('svg');
}

/* ---keframes du slider--- */
@keyframes sliding {
  0% { left: 0%; }
  25% { left: 0%; }
  50% { left: -100%; }
  75% { left: -100%; }
  100% { left: - 200%; }
}

/* ---style globaux --- */
body
{
	font-family: "Roboto", sans-serif;
}

h3
{
	font-family: "RobotoBold", sans-serif;
	font-size: 1.6em;
	margin: 0 0 2% 0;
}

h2
{
	font-size: 2.1em;
	font-family: "RobotoBold", sans-serif;
	text-align: center;
	margin: 2%;
}

h1
{
	font-family: "RobotoBold", sans-serif;
	font-size: 3.5em;
}

.agencyname
{
	color: #62a8d0;
}

p
{
	font-size: 0.9em;
}

/* ---navigation--- */
nav
{
	z-index: 2;
	position: fixed;
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	box-shadow: 0 5px 10px black;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.7);
}

nav img
{
	margin: 5% 0 5% 0;
}

.mainmenu
{
	display: flex;
	flex-direction: row;
	list-style: none;
}

.mainmenu-item
{
	margin: 0 15% 0 0;
	padding: 31px 0 0 0;
}

.mainmenu-item a
{
	text-decoration: none;
	font-family: "RobotoBold", sans-serif;
	color: #000;
}

.mainmenu-item a:hover
{
	border-top: 4px solid #62a8d0;
	padding: 25px 0 30px 0;
}

.activemenu
{
	text-decoration: none;
	font-family: "RobotoBold", sans-serif;
	color: #000;
	border-top: 4px solid #62a8d0;
	margin: 0 15% 0 0;
	padding: 27px 0 0 0;
}

.activemenu a
{
	text-decoration: none;
	font-family: "RobotoBold", sans-serif;
	color: #000;
}

/* ---slider--- */
#slider
{
	position: relative;
	overflow: hidden;
	width: 100%;
	box-shadow: 0px 25px 25px #999999;
	padding-top: 6%;
}

.innerslider
{
	position: relative;
	width: 500%;
	margin: 0;
	padding: 0;
	font-size: 0;
	left: 0;
	text-align: left;
	animation: 13s sliding infinite;
}

.innerslider img
{
	width: 20%;
	height: auto;
	color: #fff;
	font-size: 1.5em;
}

.fa-chevron-left
{
	position: absolute;
	top: 50%;
	left: 0;
	color: #fff;
	font-size: 1.8em;
	border-bottom-right-radius: 50px;
    border-top-right-radius: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 20px 20px 5px;
}

.fa-chevron-right
{
	position: absolute;
	top: 50%;
	right: 0;
	color: #fff;
	font-size: 1.8em;
	border-bottom-left-radius: 50px;
    border-top-left-radius: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 5px 20px 20px;
}

.fa-chevron-left:hover, .fa-chevron-right:hover
{
	font-size: 2em;
}

.slidertext
{
	position: absolute;
	top: 32%;
	left: 10%;
	color: #fff;
	width: 50%;
}

.slidertext a
{
	position: absolute;
	margin: 5% 0 0 0;
	background-color: #62a8d0;
	padding: 2%;
	border-bottom: 3px solid #4c88aa;
	border-radius: 5px; 
	font-family: "RobotoBold", sans-serif;
	font-size: 1.2em;
	color: #fff;
	text-decoration: none;;
}

.slidertext p
{
	font-size: 1.2em;
}

.webagencytitre
{
	color: #62a8d0;
}

.boutonslider
{
	background-color: #62a8d0;
	padding: 2%;
	margin: 3% 0 0 0;
	border-bottom: 3px solid #4c88aa;
	border-radius: 5px; 
	font-family: "RobotoBold", sans-serif;
	color: #fff;
	width: 100px;
	font-size: 2em;
}

.boutonslider a, .boutonslider
{
	text-decoration: none;
}

.barrebleue
{
	position: absolute;
	bottom: 0;
	width: 0%;
	background-color: #62a8d0;
	height: 1%;
	animation: animationbarre 13s ease infinite;

}

@keyframes animationbarre {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

/* ---section services--- */
#services
{
	top: 5%;
	margin: 5% 0 0 0;
}

.iconeseparateur
{
	width: 50px;
	margin: 0;
}

.separateur
{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: 2%;
}

.fa-circle
{
	color: #62a8d0;
	padding: 5px;
	background-color: #fff;
	border-radius: 50%;
}

.intro
{
	margin: 0 30% 0 30%;
	text-align: center;
}

.service_globale
{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.imagemac
{
	margin: 3% 0 3% 13%;
}

.imagemac img
{
	width: 120%;
}

.services_colonne
{
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	margin: 100px 0 55px 220px;
}

.services_blocs
{
	width: 65%;
	display: flex;
	flex-direction: row;
	margin: 15px 0 0 0;

}

.services_innerblocs
{
	margin: 4% 0 0 3%;
}

.fa-chart-line, .fa-chart-pie, .fa-cubes
{
	color: #62a8d0;
	padding: 5px 10px;
}

.icones_services
{
	position: relative;
	border: 1px solid grey;
	border-radius: 50%;
	height: 35px;
	width: 35px;
	padding: 15px 12px 4px 8px;
	margin: 5% 0 0 0;
}

.circleservices
{
	position: absolute;
	top: 15px;
	right: -9px;
}

/* ---section projets--- */
#projets
{	
	padding-top: 3%;
	background-color: #f5f5f5;
}

.projetsmenu
{
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	margin: 5%;
}

.projetsmenu li
{
	position: relative;
	padding: 15px 2% 15px 2%;
	background-color: #a5a5a5;
	font-family: "RobotoBold", sans-serif;
	color: #fff;
}

.projetsmenu li:nth-child(1)
{
	border-radius: 5px 0 0 5px;
	background-color: #62a8d0;
	border-bottom: 3px solid #4c88aa;
}

.projetsmenu li:nth-child(4)
{
	border-radius: 0 5px 5px 0;
}

.projetsmenu li:hover
{
	background-color: #62a8d0;
	border-bottom: 3px solid #4c88aa;
}

.projetsmenu li:hover .triangle
{
	opacity: 1;
}

.triangleactive
{
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 7.5px 0 7.5px;
	border-color: #4c88aa transparent transparent transparent;
}

.triangle
{
	opacity: 0;
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 15px 7.5px 0 7.5px;
	border-color: #4c88aa transparent transparent transparent;
}

.contentrows
{
	padding-bottom: 5%;
	margin: 3% 5% 0 10%;
	display: flex;
	flex-wrap: wrap;
}

.contentrows div
{
	display: flex;
	flex-direction: row;
	margin: 10px 0 10px 0;
	padding: 0;
	width: 25%;
}

.contentrows img
{
	width: 80%;
}

figure
{
	position: relative;
}


figcaption
{
	position: absolute;
	bottom: 0;
	width: 80%;
	height: 45%;
	font-family: "RobotoBold", sans-serif;
	color: #fff;
	text-align: left;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;

}

figcaption:hover
{
	opacity: 1;
}

figcaption h4
{
	font-size: 1.5em;
	padding: 3% 0 0 3%;
}

figcaption p
{
	font-size: 1em;
	padding: 0 0 0 3%;
}

.fa-eye
{
	position: absolute;
	bottom: 70%;
	right: 8%;
	border: 1px solid #fff;
	border-radius: 50%;
	padding: 6%;
	background-color: #62a8d0;
}

figure .activeportfoliomenu
{
	opacity: 1;
}

/* ---pieds de page--- */
#contact
{
	position: relative;
}

form
{
	position: relative;
	z-index: 1;
	background-color: rgba(255, 255, 255, 0.7);
	border: 1px solid #62a8d0;
	border-radius: 3px;
	width: 330px;
	height: 535px;
	padding: 30px 40px 50px 30px;
}

form a
{
	position: absolute;
	background-color: #62a8d0;
	padding: 3%;
	border-bottom: 3px solid #4c88aa;
	border-radius: 5px; 
	font-family: "RobotoBold", sans-serif;
	font-size: 1.2em;
	color: #fff;
	margin: 5% 0 0 0;
	text-decoration: none;
}

.formposition
{
	position: absolute;
	top: 10%;
	right: 5%;
}

input, textarea
{
	width: 100%;
	height: 30px;
	border-radius: 3px;
	margin: 5% 1% 1% 1%;
	padding: 2% 0 1% 4%;
}

textarea
{
	padding: 2% 0 0 3%;
}

iframe
{
	width: 100%;
}

.iframecontent
{	
	background-color: #62a8d0;
}

.copyright
{
	text-align: center;
	background-color: #62a8d0;
	color: #fff;
	padding: 1%;
	font-family: "RobotoBold", sans-serif;
	font-size: 0.8em;
	border-bottom: 5px solid #4c88aa;
}







/* ---ajout des mÃŠdias queries pour le responsive--- */

@media screen and (max-width:767px){
	body
	{
		font-size: 0.9em;
	}

	h2
	{
		font-size: 1.8em;
	}

	h3
	{
		font-size: 1.5em;
	}

	.intro
	{
		width: 90%;
		margin: 5%;
	}

	#services
	{
		margin: 10% 0 0 0;
	}

	nav
	{
		display: flex;
		flex-wrap: wrap;
		margin: 0;
	}

	.mainmenu
	{
		display: flex;
		flex-wrap: wrap;
		margin: 10px 0 10px 0;
		border-top: 1px solid #62a8d0;
		border-bottom: 1px solid #62a8d0;
	}

	.fa-chevron-left
	{	
		position: absolute;
		width: 5px;
		height: 5px;
		top: 40%;
		left: 0;
		font-size: 0.5em;
	}

	.fa-chevron-right
	{
		position: absolute;
		width: 5px;
		height: 5px;
		top: 40%;
		right: 0;
		font-size: 0.5em;
	}

	.mainmenu li
	{
		padding: 10px;
		justify-content: center;
		align-items: center;
	}

	.mainmenu a:hover
	{
		border: none;
		color: #62a8d0;
	}

	#slider
	{
		padding-top: 14%;
	}

	.slidertext
	{
		font-size: 0.4em;
		top: 45%;
		left: 10%;
		width: 70%;
	}

	.slidertext a
	{
		margin: 0 0 0 45%;
	}


	.service_globale
	{
		display: flex;
		flex-wrap: wrap;
		margin: 0 0 5% 0;
		width: auto;
	}

	.imagemac
	{
		margin: 2% 0 2% 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		width: 85%;
	}

	.imagemac img
	{
		width: 90%;
		margin: auto;
	}

	.services_colonne
	{
		width: 98%;
		margin: 0;
	}


	.services_blocs
	{
		width: 100%;
	}

	.contentrows
	{
		display: flex;
		flex-wrap: wrap;
		margin: 5% 0 2% 4%;
		padding: 0 0 0 8%;
		width: 80%;
	}

	.contentrows div
	{
		width: 50%;
	}

	.contentrows img
	{
		width: 95%;
	}

	figcaption
	{
		width: 95%;
		bottom: 0;
		font-size: 0.6em;
	}

	figcaption h4
	{
		font-size: 0.9em;
		text-align: center;
	}

	figcaption p
	{
		font-size: 0.7em;
		text-align: center;
	}

	.fa-eye, .oeilbleu .fas
	{
		display: none;
	}

	#contact
	{
		display: flex;
		flex-direction: column;
	}

	.formposition
	{
		margin: 0 2% 0 0;
	}

	form
	{
		height: 100%;
		width: 75%;
		font-size: 0.9em;
	}

	form a
	{
		margin: 5px 0 0 0;
	}	
}

@media screen and (min-width:768px) and (max-width:992px){
	.slidertext
	{
		font-size: 0.9em;
		top: 25%;
		left: 10%;
		width: 85%;
	}



	nav
	{
		display: flex;
		flex-wrap: wrap;
		margin: 0;
	}

	.mainmenu
	{
		display: flex;
		flex-wrap: wrap;
		margin: 3% 0 3% 0;
		border-top: 1px solid #62a8d0;
		border-bottom: 1px solid #62a8d0;
	}

	.mainmenu li
	{
		padding: 3%;
		justify-content: center;
		align-items: center;
	}

	.mainmenu a:hover
	{
		border: none;
		color: #62a8d0;
	}

	#slider
	{
		padding-top: 13%;
	}

	.slidertext
	{
		padding-top: 10%;
	}

	.slidertext a
	{
		margin: 2% 0 0 0;
	}

	.intro
	{
		margin: 0 10% 0 10%;
		text-align: center;
	}

	.service_globale
	{
		display: flex;
		flex-wrap: wrap;
		margin: 3% 3% 3% 10%;
	}

	.imagemac
	{
		margin: 0;
	}

	.imagemac img
	{
		width: 85%;
	}

	.services_blocs
	{
		width: 95%;
		margin: 10px 0 0 0;
	}

	.services_colonne
	{
		margin: 0;
	}

	.fa-eye, .oeilbleu .fas
	{
		display: none;
	}

	figcaption h4
	{
		font-size: 0.7em;
		padding: 2% 0 0 2%;
		text-align: center;
	}

	figcaption p
	{
		font-size: 0.5em;
		padding: 0 0 0 2%;
		text-align: center;
	}

	.contentrows
	{
		margin: 0 0 0 5%;
	}

}

@media screen and (min-width:993px) and (max-width:1200px){
	.slidertext
	{
		font-size: 0.6em;
		top: 25%;
		left: 10%;
		width: 50%;
	}



	.intro
	{
		width: 65%;
		margin: auto;
	}

	.service_globale
	{
		display: flex;
		margin: 1%;
		width: 100%;
	}

	.services_colonne
	{
		margin: 90px 0 5px 90px ;
	}

	.services_blocs
	{
		width: 85%;
		margin: auto;
		padding: 8px 0 0 0;
	}

	.imagemac
	{
		width: 50%;
	}

	.imagemac img
	{
		width: 100%;
		margin: auto;
	}

	figcaption h4
	{
		font-size: 1em;
		padding: 3% 0 0 3%;
	}

	figcaption p
	{
		font-size: 0.7em;
		padding: 0 0 0 3%;
	}

	.fa-eye
	{
		border: 1px solid #fff;
		border-radius: 50%;
		padding: 4px;
		background-color: #62a8d0;
	}
}

@media screen and (max-width:1920px){

}