@import url('https://fonts.googleapis.com/css?family=Advent+Pro|Exo|Quicksand');

/**** FONT ****/
@font-face {
    font-family: 'genericaregular';
    src: url('fonts/generica-webfont.woff2') format('woff2'),
         url('fonts/generica-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'genericabold';
    src: url('fonts/generica_bold-webfont.woff2') format('woff2'),
         url('fonts/generica_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

p, h1, h2, h3, h4, h5, h6, h7, a, input{
	font-family: 'Quicksand', sans-serif;
}

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family:Quicksand;
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

.cacher{
	display:none;
}

.clear{
	clear:both;
	width:100%;
}

img.logo_home{
	width:150px;
	margin-top:10px;
}


/*************** HOME ******************/

h1{
	margin-top:80px;
	float:left;
	width:95%;
	margin-left:5%;
	color:#456878;
	margin-bottom:0px;
}

p.result {
    float: left;
    width: 95%;
    margin-left: 5%;
    font-weight: bold;
    color: #aaa;
    font-size: 18px;
}

p.result span {
	color:#456878;
}

nav{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:60px;
	background:#2f3238;
	transition:1s;
}

nav ul{
	list-style:none;
	margin:0;
}
nav ul.menu{
		display:block;
	}

nav ul li{
	float:left;
	width:15%;
	text-align:center;
	height:60px;
	color:#fff;
	text-decoration:none;
	line-height:3;
	transition:1s;
	cursor:pointer;
}

nav ul li:hover{
	background:#456878;
	transition:1s;
	font-size:18px;
	line-height:2.8;
}

nav ul li.first{
	margin-left:5%;
}

nav ul li a{
	color:#fff;
	text-decoration:none;
}

form.search{
	position:fixed;
	top:60px;
	width:100%;
	height:50px;
	background:#456878;
}

form .cont_text{
	float:left;
	width:80%;
}

form .cont_submit{
	float:left;
	width:20%;
}


form.search input[type='text']{
	width:calc(90% - 40px);
	float:left;
	margin-left:10%;
	border:0;
	margin-top:10px;
	height:30px;
	padding:0px 20px;
}

form.search input[type='submit']{
	float:left;
	width:60%;
	margin-left:10%;
	border:0;
	color:#fff;
	background:#2f3238;
	margin-top:10px;
	height:30px;
	cursor:pointer;
}

.col70{
	float:left;
	width:70%;
	margin-left:5%;
}

.col30{
	float:left;
	width:30%;
	margin-left:5%;
}

.col20{
	float:left;
	width:calc(20% - 1px);
	border-left:1px solid #456878;
}

.article{
	float:left;
	margin-top:60px;
}

.article img{
	width:50%;
	float:left;
}

.article .quoi{
	float:left;
	width:50%;
}

.article .quoi h2{
	color:#456878;
	float:left;
	width:calc(100% - 40px);
	text-align:left;
	margin:0;
	margin-left:20px;
	font-size:20px;
}

.article .quoi p.ctg{
	color:#fff;
	padding:5px 20px;
	background:#456878;
	float:left;
	text-align:center;
	margin:0;
	margin-left:20px;
	margin-bottom:5px;
	font-size:14px;
	border-radius:15px;
}

.article .quoi p.date {
    color: #aaa;
    float: left;
    width: calc(100% - 40px);
    text-align: left;
    margin: 0;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 13px;
}

.article .quoi span.description p, .article .quoi span.description h1, .article .quoi span.description h2, .article .quoi span.description h3, .article .quoi span.description h4, .article .quoi span.description h5, .article .quoi span.description h6, .article .quoi span.description h7{
	float:left;
	width:calc(100% - 40px);
	color:#2f3238;
	margin:0;
	margin-left:20px;
	text-align:justify;
	font-size:14px;
	font-weight:normal;
}

.article .quoi span.description img{
	display:none;
}

.article .quoi a.go_article{
	color:#fff;
	padding:10px 0px;
	background:#2f3238;
	float:left;
	text-align:center;
	text-decoration:none;
	margin-left:20px;
	margin-top:20px;
	width:calc(100% - 40px);
	transition:1s;
	border-radius:35px;
}

.article .quoi a.go_article:hover{
	background:#456878;
	transition:1s;
}

.about{
	float:left;
	width:100%;
}

.about h3{
	float:left;
	width:calc(100% - 40px);
	color:#456878;
	margin:0;
	margin-left:20px;
}

.about p{
	color:#2f3238;
	margin:0;
	margin-left:20px;
	width:calc(100% - 40px);	
}

.side_bar{
    position: fixed;
    right: 5%;
    top: 150px;
}

h3.far_away{
	margin-top:20px;
}

form.newsletter input[type='email']{
	border:1px solid #456878;
	float:left;
	margin-left:20px;
	width:calc(50% - 52px);
	padding:5px 5px;	
	font-family:Quicksand;
	font-size: 13px
}

form.newsletter input[type='submit']{
	border:none;
	float:left;
	margin-left:20px;
	width:calc(50% - 40px);	
	color:#fff;
	background:#2f3238;
	font-family:Quicksand;
	padding:10px 0px;
	margin-top:10px;
	cursor:pointer;
	transition:1s;
	border-radius:35px;
}

form.newsletter input[type='submit']:hover{
	background:#456878;
	transition:1s;
}

footer{
	background:#2f3238;
	float:left;
	width:100%;
	margin-top:60px;
	padding-top:20px;
	padding-bottom:20px;
}

footer a.fb{
	float:left;
	margin-left:5%;
	color:#fff;
	text-decoration:none;
}

footer a.fb img{
	width:25px;
	float:left;
}

footer a.fb span{
	margin-top:3px;
	margin-left:5px;
	float:left;
}

footer a.right{
	float:right;
	color:#fff;
}

footer a.last{
	margin-right:5%;
	padding-left:20px;
}

footer a.separ{
	border-right:1px solid #fff;
	padding-right:20px;
}

/* menuSix */
.menuSix{
	float:right;
  width: 35px;
  height: 30px;
  margin: 10px 10px;
  position: relative;
  cursor: pointer;
  display: none;
}
.menuSix span{
  background-color:#FFF;
  position: absolute;
  border-radius: 2px;
  transition: .3s cubic-bezier(.8, .5, .2, 1.4);
  width:100%;
  height: 4px;
}
.menuSix span:nth-child(1){
  top:0px;
  left: 0px;
}
.menuSix span:nth-child(2){
  top:13px;
  left: 0px;
}
.menuSix span:nth-child(3){
  bottom:0px;
  left: 0px;
}
.menuSix:not(.clickMenuSix):hover span:nth-child(1){
  transform:  scaleY(1.2);
  left: -5px;
}
.menuSix:not(.clickMenuSix):hover span:nth-child(2){
  transform: rotate(5deg) scaleY(1.1);
}
.menuSix:not(.clickMenuSix):hover span:nth-child(3){
  transform:  scaleY(1.2);
  left: 5px;
}
.clickMenuSix span:nth-child(1){
  transform: rotate(45deg) scaleX(0.7);
  top: 13PX;
  left: -8px;

}
.clickMenuSix span:nth-child(2){
  transform: scale(0);
  transition-duration: 50ms


}
.clickMenuSix span:nth-child(3){
  transform: rotate(-45deg) scaleX(0.7);
  top: 13PX;
  left: 7px;
}

/*******************ARTICLE****************/
article {
    width: 50%;
    margin-left: 15%;
}

article p{
	line-height:1.5;
}

article img{
	float:left;
	width:100%;
}
.author {
    width: calc(50% - 11px);
	border-left:1px solid #456878;
    margin-left: 15%;
	padding-left:10px;
	margin-top: 40px;
	margin-bottom: 40px;
}

.author .name{
	font-weight:bold;
	margin-bottom:0;
}
.author .poste{
	margin-top:0;
	margin-bottom:0;
	color:#aaa;
}
.author .description{
	color:#888;
	margin-top:5px;
	font-size:13px;
}
.tags{
	float:left;
	width:calc(100% - 40px);
	margin-left:20px;
	margin-top:20px;
}

.about .tags h3{
	margin-left:0;
	color:#456878;
	margin-bottom:5px;
}

.about .tags p.tags {
    margin-left: 0;
    font-size: 12px;
    float: left;
    width: auto;
    margin-right: 5px;
    transition: 0.5s;
    background: #456878;
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 5px;
    border-radius: 15px;
}

.about .tags p.tags:hover{
	cursor:pointer;
	background:#2f3238;
	font-size:14px;
	transition:0.5s;
	font-weight:bold;
}

h1.title_article {
    margin-bottom: 20px;
    width: 80%;
    margin-left: 15%;
}

p.ctg_article{
	background:#456878;
	padding:10px 0px;
	color:#fff;
	float:left;
	top:135px;
	position:fixed;
	left:0;
	text-align:center;
	width:4.5%;
}

p.another{
	color:#456878;
	float:left;
	font-size:20px;
	margin-left:5%;
	margin-bottom:0px;
	font-weight:bold;
}

.col_another .article{
	margin-top:20px;
}

/************/
p.success_form,p.error_form{
	float:left;
	width:calc(100% - 20px);
	padding: 5px 10px;
	color:#fff;
	text-align:center;
	font-size: 13px;
	margin-top:10px;
}
p.success_form{
	background:#55af38;
}
p.error_form{
	background:#d50d1b;
}

/******************** RESPONSIVE *************/
@media (max-width: 1400px) {
	.col30 {
		width: 35%;
		margin-left: 2.5%;
	}
	.side_bar {
		right: 2.5%;
	}
	.article .quoi h2 {
		font-size: 15px;
	}
	.article .quoi span.description p, .article .quoi p.ctg {
		font-size: 13px;
	}
	.about p {
		font-size:13px;
	}
	.article .quoi a.go_article{
		padding:5px 0px;
		font-size:14px;
	}
	form.newsletter input[type="submit"] {
		padding: 5px 0px;
		width: calc(100% - 40px);
	}
	form.newsletter input[type="email"] {
		width: calc(100% - 52px);
	}
	
	p.ctg_article{
		font-size:12px;
	}
}
@media (max-width: 1200px) {
	.col30 {
		width: 70%;
		margin-left: 2.5%;
	}
	.article .quoi h2 {
		font-size: 18px;
	}
	.article .quoi span.description p, .article .quoi p.ctg {
		font-size: 14px;
	}
	.article .quoi a.go_article{
		padding:10px 0px;
		font-size:16px;
	}
	form.newsletter input[type="submit"] {
		padding: 10px 0px;
	}
	p.ctg_article {
		position: static;
		float: left;
		margin-top: 0px;
		width: 200px;
		margin-left: 5%;

	}
}
@media (max-width: 870px) {
	.article img {
		width: 100%;
		float: left;
	}
	.side_bar {
		right: 0;
	}
	.col20 {
		width: calc(25% - 1px);
	}
	.article .quoi {
		width: 100%;
	}
	.article .quoi h2, .article .quoi p.ctg, .article .quoi span.description p, .article .quoi p.date, .article .quoi a.go_article{
		margin-left:0px;
		width: 100%;
	}
	.article .quoi p.ctg{
		width:50%;
	}
	.article .quoi h2{
		font-size:20px;
		margin-top:5px;
	}
	footer a {
		font-size:12px;
	}
	footer a.fb span, footer a.separ, footer a.last {
		margin-top:5px;
	}
	footer a.separ{
		padding-right:5px;
	}
	footer a.last{
		padding-left:5px;
	}
	
}
@media (max-width: 700px) {
	.side_bar {
		position: static;
		width: 80%;
		border: 0;
		border-top: 1px solid #456878;
		margin-top: 60px;
		padding-top: 20px;
		margin-left: 10%;
	}
	.col30 {
		width: 95%;
		margin-left: 2.5%;
	}
	article 
	{
		width: 95%;
		margin-left: 2.5%;
	}
	.author {
		width: calc(95% - 11px);
		margin-left: 2.5%;
	}
}

@media (max-width: 600px) {
	footer a.fb img {
		margin-left: calc(50% - 12.5px);
		margin-right: calc(50% - 12.5px);
	}
	footer a.fb {
		width:100%;
		text-align:center;
		margin-left:0;
	}
	footer a.fb span {
		width:100%;
		margin-left:0;
		font-size:14px;
	}
	footer a.last {
		width: 100%;
		padding: 0;
		text-align: center;
		margin: 0;
		font-size: 12px;
		margin-top: 5px;
	}
	
	footer a.separ {
		width: 100%;
		padding: 0;
		text-align: center;
		margin: 0;
		font-size: 12px;
		margin-top: 5px;
		border:0;
	}
	.menuSix{
		display: inline-block;
	}
	nav ul.menu{
		display:none;
	}
	nav ul li.first{
		margin-left:0;
	}
	nav ul {
		position:fixed;
		top:60px;
		z-index:100;
		left:0;
		width:100%;
		height:100%;
		overflow-y:scroll;
		background:#2f3238;
		padding-left:0;
	}
	nav ul li{
		width:100%;
		margin-left:0;
		margin-right:0;
	}
}