body {
	color: #1e2e32;
	font-family: Arial, sans-serif;
	font-size: 0.9em;
	font-weight: normal;
	margin: 0;
	padding: 0;
}

header h1, header h2, section p, footer p {
   margin: 0;
}
header, footer, section {
   overflow: auto;
}
header, footer, section {
   padding: 1px;
}

section h2 {
	font-size: 2.5em;
	padding: 80px 0 20px 0;
	clear: both;
	color: #d35400; /*#1e2e32;*/
	text-align: center;
	text-transform: uppercase;
	font-family: 'Fredericka the Great', cursive;
}
span, em {
	font-weight: bold;
}
blockquote {
	font-size: 1.2em;
	font-family: Times;
	font-style: italic;
}
section#portfolio, section#parcours, section#formation, section#philosophie, section#contact , section#offre {
	padding: 0 4% 40px 4%;
	clear: both;
}
section#portfolio {
	background: url("/graphics/motifs/polygonesbw.jpg");
}

/*************** Page 1 - Accueil *********************/
section#accueil {
	height: 100vh;
	overflow: hidden;
	background-color: #d35400;
	text-align: center;
	background: url("/graphics/ParIci1300c.jpg") no-repeat center fixed;
}
.photoID {
	padding: 0;
}
.photoID  img{
	margin: 6vh 0 2vh 0;
	padding: 0px;
	border: 8px solid white;
	border-radius: 0;
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#chapeau {
	margin:0;
	padding:20px;
	color: white;
}
#chapeau h1 {
	color: white;
	font-size: 3.5em;
	line-height: 100%;
	font-family: 'Fredericka the Great', cursive;
}
#chapeau #accroche {
	color: white;
	font-size: 2.5em;
	font-weight: bold;
	margin-top: 3vh;
}
#since {
	font-size: 2em;
	font-weight: bold;
	margin-top:3vh;
	margin-bottom: 6vh;
	padding: 3px 10px 3px 10px;
	color: white;
}
#since span{
	padding: 2px;
	margin: 0 1px 0 0;
	display:inline-block;
	width: 1em;
	background-color: black;
	font-family: 'Orbitron', sans-serif;
}
div#iconesmetiers {
	margin: auto;
	height: 100px;
}
div#iconesmetiers img {
	display: inline;
	margin: 10px;
	width: 60px;
	transform: all 0.5s ease-in-out; 
}
div#iconesmetiers img:hover {
	width:70px;
	margin: 5px;
}

#topnav {
	clear: both;
    border: 1px solid #dedede;
    border-radius: 4px;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055) inset;
    margin: auto;
	text-align: center;
	width:60%;
	transition: all 0.5s ease-in-out;
	background: white;
}
#topnav.fixed{
	position:fixed;
	top:0;
	left:20%;
	width:60%;
	z-index:1000;
	background:#f5f5f5;
}
nav ul {
    margin: 0;
    padding: 0;
}
nav ul li {
	display: inline-block;
	list-style-type: none;
}
nav > ul > li > a {
	color: #444;
	display: block;
	line-height: 56px;
	padding: 0 15px;
	text-decoration: none;
}
nav a:hover {
	color: #d35400;
}
/**************** fin de page 1 **************/

/**************** Section Offre de services  *********/
section#offre {
	height: 100vh;
	background-color: #f5f5f5;
}
section#offre .introduction {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	margin: 20px;
}
section#offre article {
	float: left;
	width: 18%;
	min-width: 200px;
	min-height: 420px;
	margin: 1%;
	background-color: #f5f5f5;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}
section#offre h3 {
	min-height: 40px;
}
section#offre figure {
	text-align: center;
}
section#offre p {
	margin: 10px;
}
section#offre figure img {
	filter: invert(100%); 
    -webkit-filter:invert(100%);
}

/**************** Section Philosophie  *********/
section#philosophie {
	/*height: 100vh;*/
	background-color: #f5f5f5;
}
section#philosophie p {
	padding: 10px;
}
section#philosophie .colonne {
	max-width: 740px;
	float: left;
	margin: 0 auto 0 auto;
	padding: 0 20px 0 20px;
	text-align: justify;
}
section#philosophie #colonne1 {
}
section#philosophie aside {
	text-align: center;
	font-size: 1.3em;
	color: #d35400;
	padding: 20px 20% 20px 20%;
	clear: both;
	/*width: 75%;
	margin: auto;*/
}

/**************** Section Portfolio **************/

/**************** Filtres *****************/
.filters {
	border: 1px solid #dedede;
    border-radius: 4px;
    margin: 5px;
    padding: 5px;
	font-size: 1em;
	background-color: #e67e22;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055) inset;
	background: #dedede;
	}
.filters div{
    margin: 0px;
    padding: 3px;
	}
.filters p{
	display:inline;
	font-weight: bold;
	}
.filters button {
	padding: 0 1ex 0 0;
	font:13px Arial;
	background: linear-gradient(to bottom, #ffa84c 0%,#ff7b0d 100%);
	color:white;
	border-radius:2px;
	border:1px; /*solid orange;*/
}
.filters button:before {
	float: left;
	width: 1em;
	padding: 0 0.4em 0 0.4em;
	margin-right:0.4em;
	text-align: center;
	/*pointer-events: none;*/
  	content: "\2714";
	color: #7d3200;
	background:#d35400;
}
.filters button:hover{
	color:#d35400;
	/*border : 1px dashed #d35400;*/
	background: white;
	}	
.filters button:focus{
	color:#d35400;
	background: lightblue;
	}	
.filters button:focus:before {
	color: #ffa84c;
}

/**************** Switch **************/

.switchbox {
	border: 1px solid #dedede;
    border-radius: 4px;
    margin: 5px;
    padding: 5px;
	font-size: 1em;
	background-color: #e67e22;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.055) inset;
	background: #dedede;
}
.switchbox p{
	display:inline;
	font-weight: bold;
	}
.switch {
  display: inline-block;
  font-size: 1em; /* Adjust this to size */
  height: 1em;
  width: 2em;
  background: #BDB9A6;
  border-radius: 1em;
  margin: auto;
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch div {
  height: 1em;
  width: 1em;
  border-radius: 1em;
  background: #d35400;
  box-shadow: 0 0.1em 0.3em rgba(0,0,0,0.3);
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
          transition: all 300ms;
}
.switch input:checked + div {
  -webkit-transform: translate3d(100%, 0, 0);
     -moz-transform: translate3d(100%, 0, 0);
          transform: translate3d(100%, 0, 0);
}

/**************** Fonctionnement des articles ****************/
#portfolio article {
	padding: 0px;
	margin: 5px;
	float: left;
	background: white;
    border: 1px solid #dedede;
    border-radius: 4px;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.055);
	overflow: hidden;
	width: 380px;
	height: 250px;
	transition: width 0.4s;
}
#portfolio figure.couv-projet {
	float: left;
	margin: 0;
	height: 250px;
	position: relative;
	overflow: hidden;
	display: block;
	transition: margin-right 0.2s ease-in-out;
}
#portfolio article.expanded figure.couv-projet {
	margin-right: 20px;
}
#portfolio figcaption{
	position: absolute;
	bottom: 0px;
	padding: 10px 10px 10px 20px;
	margin: 0;
	background-color: white;
	color: #010101;
	opacity:0.8;
	width: 350px;
	box-shadow: 0 -1px 2px 0 grey;
}
#portfolio article .contenu { 
	padding: 20px;
}
#portfolio article.expanded {
	/*clear: both;*/
	width: 99%;
	/*height: auto;*/
	overflow-y: auto;
}

/***************** Boîtes Focus **************/

.focus {
	float: right;
	width: 30%;
	color: white;
	background-color: #d35400;
	padding: 0px 20px 10px 20px;
	margin: 10px 0px 10px 10px;
	box-shadow: 0 -1px 2px 0 grey;
}
.focus p {
	padding-bottom: 10px; 
}
/***************** Petits détails indépendants du fonctionnement des articles **************/
#portfolio article img {
	margin: 0;
	padding: 0;
}
#portfolio article p, #portfolio figcaption  button { 
	margin: 10px;
}
article figure.couv-projet img {
	transition: transform 0.2s ease-out;
}
article:hover .couv-projet img {
	transform: scale(1.1);
}
article figure.couv-projet h3 {
	font-size:1.2em;
	font-weight: bold;
	margin: 10px;
}
#portfolio figcaption p.date-projet{
	position: absolute;
	top: 0;
	left:0;
	margin:0;
	padding: 4px 0 4px 0;
	font-size:0.9em;
	font-weight: bold;
	background-color: #d35400;
	color: black;
	writing-mode: sideways-lr;
	opacity:1;
}
#portfolio article button.readmorebutton {
	font:bold 13px Arial;
	font-size: 2em;
	background:none;
	color:#d35400;
	border: none;
	position: absolute;
	bottom: 0px;
	right: -10px;
	/*opacity: 0;*/
	transition: all 0.2s;
}
#portfolio article:hover button.readmorebutton {
	opacity: 1;
	font-size: 3em;
	/*right: 2px;*/
}
#portfolio article button.readmorebutton:before {
	content: "+";
}
#portfolio article.expanded button.readmorebutton:before {
	content: "-";
}
#portfolio article ul {
	list-style: inside;
}

/********** Autres ************/
section#contact {
	height: 100vh;
	overflow: hidden;
	text-align: center;
}
section#contact p {
	margin: 10px;
}
footer {
	background-color: #d35400;
	padding: 50px;
	color: white;
	text-align: center;
}
