/* CSS Document Webscrat */

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

h1 {
    font-family: Eurosti;
    font-size: 1.6em;
    font-weight: normal;
    color: #808181;
    margin: 10px 0px 0px 10px; 
}
h2{
    font-family: "Trebuchet MS", Helvetica, sans-serif;
        font-size: 1.2em;
    font-weight: normal;
    color: #808181;
    margin: 0px 0px 0px 10px;
}
h3{
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 1.3em;
    font-weight: normal;
    color: #737373;
}
p{
    text-align: justify;
    font-size: 1em;
    margin: 8px 0px;
}

body{
    font-family: Eurosti,Helvetica,sans-serif;
    color: #444;
    background-color: #fff;    
}

a:link, a:hover, a:visited {
    text-decoration: none;
    border: none;
}

#main {
    height: auto;
    margin: auto;
    min-height: 300px;
    width: 70%;
}
#content {
    min-height: 400px;
    margin: auto;
    border-left: 1px solid #8c8c8c;
    border-right: 1px solid #8c8c8c;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;        
}
header {
}
section {
    width:100%;
    padding: 10px;
}
#space_top {
    background: url(img/bg_header.png);
    height: 65px;
    border-radius: 5px 5px 0px 0px;    
}
#space_footer {
    background: url(img/bg_footer.png);
    height: 65px;
    border-radius: 0px 0px 5px 5px;     
}

nav, footer {
    background: url(img/map.png);
    height: 32px;
    text-align:center;
}
nav a {
    color: #ffffffcc;
    font-size: 0.95em;
    line-height: 33px;
    padding: 0 5px 0 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}
nav span {
    color: #ffffff;
    font-size: 15px;
    line-height: 33px;
    padding: 0 5px 0 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
}
nav ul {

	list-style: none;
  margin: 0%;
}
nav li {

	display: inline-block;
}  
.navmob {
    display: none;
}
#menu-icon {

	display: none;
	width: 26px;
	height: 25px;
	background: url(img/menu-icon.png) center;
  margin-top: 3px;

}

a:hover#menu-icon {

	background-color: #444;
	border-radius: 4px 4px 0 0;

}
.service {
    padding:10px;
    justify-content: flex-start;
    flex-wrap: wrap;  
}
.box {
    align-content: ;

}
.box:nth-child(1) {
    order: 1;
    width: 60%;
    max-height:100px;    
}
.box:nth-child(2) {
    order: 2;
    max-height: 100px;
    padding-top:4%;
}
.box:nth-child(3) {
    order: 3;
    width: 60%;
}
.box:nth-child(4) {
    order: 4;
    width: 36%;    
}
.box_service p{
    width:60%
    margin: 5px 0px;    
}
.box_service:nth-child(1) {
    order: 1;
    max-height:100px;
    width:60%    
}
.box_service:nth-child(2) {
    order: 2;
    max-height: 100px;
    padding-top:4%;
    margin-left:5%;
    width:60% 
}
.box_service:nth-child(3) {
    order: 3;
    width:60%
    padding-top: 3%;
    margin-left: 5%;
    
}
.box_service:nth-child(4) {
    order: 4;
    width:60%
    padding-top: 3%;
    margin-left: 5%;
    
}
.box_service:nth-child(5) {
    order: 5;
    width:60%
    padding-top: 3%;
    margin-left: 5%;    
}
footer a {
    color: #ffffffcc;
    font-size: 0.95em;
    line-height: 33px;
    padding: 0 5px 0 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}


@media all and (max-width: 1390px) {
h3 {
    margin: 2% 0%;
}
li {
    text-align:-webkit-left;
}
section {
    padding: 0%;
}
nav span {
    display: none;
}
.navmob {
    display: block;
    position: absolute;
    float:left;
    color: #ffffff;
    font-size: 0.65em;
    line-height: 33px;
    padding: 0 5px 0 0;
    margin-left:1%;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;    
}
	#menu-icon {

		display:inline-block;
    float: right;
    margin-right: 5%;

	}
	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 0px;
		background: #999;
		border: 3px solid #444;
		top: 85px;
    margin-left: 18%;
		width: 33%;
		border-radius: 10px 10px 10px 10px;
	}

	nav li {

		text-align: center;
		width: 100%;
		padding: 10px 0;
		margin: 0;
    color: #333;

	}

	nav:hover ul {

		display: block;

	}
.box:nth-child(1) {
    order: 1;
    width: 100%;
    max-height:100px;    
}
.box:nth-child(2) {
    order: 2;
    width: 100%;
    max-height: 100px;
    text-align:center;
    padding: 2.2%;
}
.box:nth-child(3) {
    order: 3;
    width: 100%;
}
.box:nth-child(4) {
    order: 4;
    width: 85%;
    padding: 0% 3%;
    margin:auto;    
    text-align:center;        
}
.bayleyssvg {
  display: block;
  width: 92%;
  margin: 0% 4%;
}
.analyticssvg {
    display: block;
    float: left;
    width: 95%;
    margin: 0% 2.5%;    
}
}

@media all and (max-width: 750px) {
body {
margin: 0%;
}
#main {
    width: 95%;
}
#space_top {
    display:none;   
}
	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 0px;
		background: #999;
		border: 3px solid #444;
		top: 30px;
    margin-left: 18%;
		width: 33%;
		border-radius: 10px 10px 10px 10px;
	}
}



.bayleyssvg {
  display: block;
  width: 92%;
}
.reclogo {
  fill: #5765b7;
  stroke: #5765b7;
  stroke-width: 0;
  animation: logo 6s linear;
}
.bayleys {
  fill: #737373;
  stroke: #737373;
  stroke-width: 0;
  animation: logo 6s linear;  
}



.analyticssvg {
  display: block;
  float: left;
  width: 95%;
}
.anals {
  fill: #795548;
  stroke: #795548;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.globe {
  fill: #03a9f4;
  stroke: #03a9f4;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.engrenage {
  fill: #5c5c5c;
  stroke: #5c5c5c;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.trajtirer {
  fill: #607d8b;
  stroke: #607d8b;
  stroke-width: 0;
  animation: logo 9s linear;  
} 
.ensemble {
  fill: #607d8b;
  stroke: #607d8b;
  stroke-width: 0;
  animation: logo 9s linear;  
} 
.nuage {
  fill: #969696;
  stroke: #969696;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.ampoule {
  fill: #ffeb3b;
  stroke: #ffeb3b;
  stroke-width: 0;
  animation: logo 9s linear;  
} 
.searchbar {
  fill: #673ab7;
  stroke: #673ab7;
  stroke-width: 0;
  animation: logo 9s linear;  
} 
.fusee {
  fill: #ff9800;
  stroke: #ff9800;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.ecran {
  fill: #3f51b5;
  stroke: #3f51b5;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.stath {
  fill: #4caf50;
  stroke: #4caf50;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.statb {
  fill: #f44336;
  stroke: #f44336;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.ecranblack {
  stroke-width: 0;
  animation: logo 9s linear;  
}
.cam1 {
  fill: #f44336;
  stroke: #f44336;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.cam2 {
  fill: #009688;
  stroke: #009688;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.cam3 {
  fill: #00bcd4;
  stroke: #00bcd4;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.cam4 {
  fill: #e91e63;
  stroke: #e91e63;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.cam5 {
  fill: #ffeb3b;
  stroke: #ffeb3b;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.loupe {
  fill: #4caf50;
  stroke: #4caf50;
  stroke-width: 0;
  animation: logo 9s linear;  
}
.avion {
  fill: #607d8b;
  stroke: #607d8b;
  stroke-width: 0;
  animation: logo 9s linear;  
}

@keyframes logo {
  0% {
    stroke-width: 1pt;
    stroke-dashoffset: 1200;
    fill-opacity: 0;
  }
  50% {
    fill-opacity: 0;
  }
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
    stroke-width: 0pt;
  }
}