
body {
  font-family: Tahoma, verdana, arial, helvetica, sans-serif;
  font-weight: normal;
  background:#fff;
  color: #000;
  margin:0;
}

.ico-deco {
    float:left;
    margin-right:1em;
    margin-bottom: 0.5em;
}

#logo,
main,
nav ul,
footer > *{
	max-width:800px;
	margin-left: auto;
	margin-right: auto;
}

header {
	border-top: 1px solid #454545;
	border-bottom: 1px solid #454545;
	background:#323232;
	color:#eee;
	padding-top: 15px;
    padding-bottom: 15px;
    min-height: 40px;
}

  #logo h1 {
      display:inline-block;
	  font-family:Times New Roman;
	  font-size:2.8em;
	  font-weight:500;
	  margin:0px ;
  }
  #logo img {
    vertical-align: bottom;
  }
  #logo p {
    display:inline-block;
	  margin:0;
	  padding-left:30px;
	  font-style:italic;
  }

nav {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  background:#244458;
  list-style:none;
  text-align:center;
    padding-left:0;
    padding-right:0;
}
  nav li {
	display:inline;
  }
  nav li a {
	text-align:center;
	color:#9ab2be;
	margin-right: 1px;
	text-decoration: none;
	padding: 5px 10px;
  }
  nav a:hover {
	  color:#fff;
  }

#content {
  background:white;
  margin-top:15px;
  margin-bottom:15px;
  min-height:500px;
}

  #content  a {
	color:#5E6F6E;
	text-decoration:underline;
  }
  #content  a:hover {
	text-decoration:none;
  }

dt {
  font-weight: bold;
  font-style: italic;
}

hr.clear {
  clear:both;
  border:0px ;
}
aside {
  width:200px;
  background:#eeeeee;
  float:left;
  color:#2f2f2f;
}
  aside p,
  aside h2 {
	padding-left:15px;
  }

main {
	background:white;
	/*margin-left: 0;*/
	min-height:300px;
	padding: 0 15px;
}
  main p, main li {
	color:#2f2f2f;
  }

  main li {
      margin:0.4em;
  }
main h1 {
  	color:#2f2f2f;
	font-size:1.7em;
	font-family:arial;
	padding:15px 5px;
	margin:0;
  border-bottom: 1px solid #454545;
}

main h2 {
	color:#330910;
	font-size:2em;
	font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
	padding:10px 5px;
	margin:15px 0;
}
main h3 {
  	color:#2f2f2f;
	font-size:1.1em;
	font-family:arial;
	padding:5px 5px;
	margin:0;
}
footer {
	background:#323232;
	color:#eee;
	margin: 10px auto 0 auto;
	text-align: center;
	clear:both;
	font-size:0.8em;
    padding:0.5em;
}
  footer p {
	padding-top:5px;
  }
  footer a {
	  color: #5E6F6E;
	  text-decoration: none;
  }
  footer a:hover {
	  color: #9ab2be;
	  text-decoration: underline;
  }

#footer-links {
  list-style-type:none;
  padding: 5px;
}

#footer-links li {
  display:inline; /*for old IE*/
  display:inline-block;
  padding:0 0.7em;
}



#nuage-tech {
  margin:1em auto 0 auto;
  padding:5px;
  width:70%;
  max-width: 500px;
  
}

#nuage-tech span {padding:0 3px;}
#nuage-tech em {font-size:1.2em; font-style:normal; font-weight: bold;padding:0 3px;}
#nuage-tech strong { font-size:1.4em;padding:0 3px;}

#home {
    text-align:center;
}
#home h2 {
    text-align:center;
}

#home p {
    font-size:1.4em;
}

.techno-details {
  padding:0.5em;
}
.techno-details:target,
.service-details:target
{
  border:3px solid #244458;
}

main h2,
.service-details h2,
.techno-details h2
{
    text-align:center;
    background-color:#D8D8D8;
}

a.anchor {
  display:none;
}

h2:hover a.anchor,
h3:hover a.anchor {
  display:inline;
}

#references,
#equipe,
#introtechnos,
#introservices
{
  display:-ms-flex;
  display:-webkit-flex;
  display:flex;
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap:wrap;
  -webkit-flex-wrap:wrap;
  flex-wrap:wrap;
}

#references > div,
#equipe > div,
#introtechnos > div,
#introservices > div
{
  -webkit-flex:1;
  -ms-flex:1;
  flex:1;
  background-color:white;
  margin:0.5em;
  padding:0.5em;
}
#references > div,
#equipe > div,
#introtechnos > div {
    min-width:15em;
}


#references > div h2,
#equipe > div h2
{
  font-size:1.5em;
}
#references > div h2 span {
  display:block;
  font-size:0.8em;
}
#references > div h2 img {
  vertical-align:top;
  float:left;
  margin:5px;
}

#introtechnos > div {
  min-width:120px;
  min-height: 120px;
  background-color: #D8D8D8;
  text-align:center;
  background-position: center center;
}

#introtechnos > div a {
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.67);
  display: inline-block;
  color: #273534;
}
#introtechnos > div span {
    display: inline-block;
    height:4em;
}
#introtechnos > div img {
    display: inline-block;
}


#introservices > div{
    /*min-width:120px;*/
    min-height: 4em;
    border: 0.5em solid #D8D8D8;
    background-color: rgb(243, 243, 243);
    text-align:center;
    background-position: center center;
}
#introservices > div a{
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: underline;
    display: inline-block;
    color: #273534;
}
#introservices > div span{
    display: inline-block;
    /*text-decoration: underline;*/
}

/*
#introdevops {
  background-image: url(servers.png);
}

#introdevweb {
  background-image: url(devweb.png);
}

#introdevsig {
  background-image: url(devsig.png);
}

#introdevmoz {
  background-image: url(devmoz.png);
}
*/

@media (max-width: 640px) {
    header {
        padding: 15px 20px;
    }
    aside {
        float:none;
        width:auto;
    }
    aside ul {
        text-align: right;
    }
    aside li {
        display:inline;
    }

    aside h2 {
        float:left;
    }
    aside p {
        
    }

    #main-content {
        margin-left:0;
    }
    nav li a {
        padding: 5px;
    }
    
    #nuage-tech {
      width:90%;
    }
    
}
@media (max-width: 420px) {
    #logo {
        text-align: center;
    }

    #logo p {
        padding-left: 0;
    }
    nav {
        text-align:center;
    }
    nav ul {
        margin-left:0;
        padding-left:0;
    }
}




@media (max-width: 320px) {

    #logo img {
        width:150px;
        height: 28px;
    }
    #logo p {
        font-size:0.8em;
    }
}
