body{
    overflow-x: hidden;
    background-color: black;
}

.bg-white{
    background-color: white;
}

a, a:hover{
    color: black;
    text-decoration: none;
}

p{
    font-family: 'helvetica', sans-serif;   
}

li{
    list-style-type: none;
}

/* HEADER */
.header{
    margin-top: 1em; /* Espace noir */
}

h1.title{
font-family: 'Josefin Sans', sans-serif;
font-weight: 400;
}

h1.title a{
   color: grey !important; 
}

div.banner{
    margin-top: 2.5em; /* Espacement blanc au-dessus du logo */
}

img.logo{
    margin: 0 auto; /*Center*/
    width: 200px;
}

@media (max-width: 400px) {
    img.logo{
        width: 175px;
    }
}

/* ISOTOPE */
.portfolioContainer
{
    width: 100%; 
    
    /* Center the content */
    display: block;
    margin-left: auto;
    margin-right: auto;  
}

.isotope-item{
    display: inline-block; /* utile? */
}

.istope-hidden.isotope-item{
    pointer-events:none;
}

.isotope,
.isotope .isotope-item{
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope{
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    transition-property: height, width;
}
.isotope .isotope-item{
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    transition-property: transform, opacity;
}

/* FILTRE */
.saturate{
    filter: saturate(45%);
    -webkit-filter: saturate(45%);
    -moz-filter: saturate(45%);
    -o-filter: saturate(45%);
    -ms-filter: saturate(45%);
     margin-bottom: 3em;
}

/* PUBLICATIONS */

/*Test hover effect*/



/**/

.publications{ 
    margin-bottom: 3em;
}
   
/* PUBLICATION POST sur INDEX ou CATEGORY */
.post-publication{
    /*padding-right : 1em;*/
    border-bottom: black solid 0.1em;
}



@media (min-width: 320px) { 
    .post-publication img{
    max-width: 15em;
    }
}

@media (min-width: 480px) { 
    .post-publication img{
    max-width: 23.5em;
    }
}

@media (min-width: 768px) { 
    .post-publication img{
    max-width: 21em;
    }
}

@media (min-width: 992px) { 
    .post-publication img{
    max-width: 19em;
    }
}

/* Repousser la sidebar-right sur petits écrans d'ordinateur */
@media (min-width: 1024px) and (max-width: 1199px){ 
    .publications {
    /*margin-right: 3.5em;*/
    margin-right: 5em;
    }
}

@media (min-width: 1200px) { 
    .post-publication img{
    max-width: 22.5em;
    }
}

/* Repousser la sidebar-right sur petits écrans d'ordinateur */
@media (min-width: 1200px) and (max-width: 1599px){ 
    .publications {
    /*margin-right: 1.5em;*/
    margin-right: 3em;
    }
}

@media (min-width: 1366px) { /* Dimension du 15'' */
    .post-publication img{
    max-width: 25em;
    }
}

.img-center{
    /* Centrer les images au sein de l'article '*/
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    /*Hover effect in
    opacity: 1.0;
    transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -webkit-transition: opacity 1s ease-in-out;  */
}

/*Hover effect out
.img-hover:hover{
	 opacity: .6;
	 transition: opacity .55s ease-in-out;
	 -moz-transition: opacity .55s ease-in-out;
	 -webkit-transition: opacity .55s ease-in-out;	 
} */

.text-content img{
	/* Centrer les images au sein de l'article '*/
    display: block;
    margin-left: auto;
    margin-right: auto;

}

h2.title_article{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;      
}

div.excerpt p{
     text-align: justify;
}

/* SINGLE POST */
.publication-single{
    margin: auto;
    padding-left: 50px;
    padding-right: 50px;
}

@media (max-width: 480px){
    .publication-single{
	    padding-right: 0px;
	    padding-left: 0px;
    }
}

/* Repousser la sidebar-right sur petits écrans d'ordinateur */
@media (min-width: 1023px) and (max-width: 1199px){ 
    .publication-single {
    margin-right: 5em;
    }
}

/* Repousser la sidebar-right sur petits écrans d'ordinateur */
@media (min-width: 1200px) and (max-width: 1599px){ 
    .publication-single {
    margin-right: 1.5em;
    }
}
  
h2.title_single{
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 300;
    font-size: 3em;
}

/*.catchIndex{
    max-width: 325px;
    height: auto;
    
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    margin-bottom: 3em;
}*/


/*.publication-single img{
    display: block;
    margin-left: auto;
    margin-right: auto
}*/

.content{
    text-align: justify;
    margin-bottom: 3em; /* A voir pour enlever, enlever les margins sur social et mots-clefs */
}

/* A laisser !!! */
.content a img{
    
    filter: saturate(45%);
    -webkit-filter: saturate(45%);
    -moz-filter: saturate(45%);
    -o-filter: saturate(45%);
    -ms-filter: saturate(45%);
    
    display: block;
    margin-left: auto;
    margin-right: auto;
    
    width: 64em;
    
    max-width: 100%;
    height : auto;
   
    margin-bottom: 3em;
}

/* La lettrine en vert */
/*.text-content blockquote:first-child p:first-child:first-letter*/
.text-content blockquote:nth-of-type(1) p:nth-of-type(1)::first-letter,
.text-content blockquote:nth-of-type(1) p:nth-of-type(1):first-letter /* IE 8 and down */{ 
    font-size: 500%;
    float: left;
    color: #81B49F;
    padding-right: 0.1em;
    line-height: 1.1em;
}

/* Premier paragraphe en vert */
/*.text-content blockquote:first-child p:first-child*/
.text-content blockquote:nth-of-type(1) p:nth-of-type(1){
    color: #589482;
    margin-bottom: 3em;
}  

/* Autres paragraphes */
.content p{
    color: #303030;   
}

.content a{
    color: #81B49F;
}

/* AUTEUR */
p.auteur{
    margin-top: -0.85em;   
}

img.mini-punaise{
    width: 8px;
    display: inline-block;
}

/* SOCIAL MEDIA */
div.social-button-container{
    margin-top: -2em;
}

.social-fb, .social-twitter{
    display: inline-block;
    float: right;
}

.social-fb{
    padding-bottom: 2em;
}

.social-twitter{
    margin-right: 0.5em;
}

/* MOTS CLEFS */
.tag{
    margin-top: -4em;
}

.tag h4{
    color: #81B49F;
}

.single-tags, .single-tags a, .tag h4{
    display: inline-block;
}

/* MAILCHIMP */
div.mailchimp{
	margin-top: -2em;
}

.mailchimp h4{
	color: #81B49F;	
	display: inline-block;
}

.mailchimp input[type="submit"]{
	background-color: #81B49F;	
	color: white;	
	border: none;
}

/* COMMENTAIRES */
.comments-template h4{
    color: #81B49F;
}

.comments-template textarea, .comments-template input{
    width: 99%;
}

.comments-template input[type='submit']{
    background-color: #81B49F;
    color: white;
    width: 12%;
    padding: 0.25em;
    border: none;
}

@media (max-width: 550px){
    .comments-template input[type='submit']{
        width: 100%;
    }
}

/* RELATED POST */
.relatedposts{
    margin-top: 2em;
    margin-bottom: 5em;
}

.relatedposts h4{
    color: #81B49F;
    margin-bottom: 1.5em;
}

.relatedthumb p, 
.relatedthumb p img {
    display: inline-block;
}

.relatedthumb p.title-related-post{
    margin-top: -3em;
}

/* Social sidebar | Right */
div.sidebar-contact{
    position: fixed;
    top: 0;
    right: 0;
    border-left : black 2px solid;
    height: 100%;
    width: 2.5em;
} 

.sidebar-social img{
    width: 20px;
    position: fixed;
    right: 0.35em;
}

/* Icone Social SideBar (droite) */
.sidebar-social a{
    position: fixed;
    top: 9.5em;
    right: 0.60em;
    color: #81B49F;
    font-size: 1.25em;
}  

.sidebar-social img.rss{  
    top: 5em;    
}

.sidebar-social img.twitter{
    top: 3em;    
}

.sidebar-social img.facebook{
    top: 1em;
}

.sidebar-social img.contact{
    width: 25px;
    position: fixed;
    right: 0.25em;
}

.sidebar-social #don{
	color: #81B49F;
	top: 11.5em;
	position: fixed;
	margin-left: -0.65em;
}

.sidebar-social #viewed{
	color: #81B49F;
	top: 13.5em;
	position: fixed;
	margin-left: -0.8em;
}

/* Social sidebar | Search form | Right */
.sidebar-contact .search-form {
	position: fixed; /* au lieu de absolue */
        right: 1.15em;
	top: 8em;
}

.sidebar-contact .search-field {
	background-color: transparent;
	background-image: url(images/search.png);    
	background-position: 98% 0%;
	background-repeat: no-repeat;
        
	background-size: 1.8em 1.8em; /* Taille de l'icône */
	border: none;
	cursor: pointer;
	height: 3em;
        
        margin: 1em -0.75em 0 0;
        padding: 0 0 0 3em;
        
        /* Effet toogle */
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
}

.sidebar-contact .search-field:focus {
	background-color: #fff;
	border: 0.2em solid #c3c0ab;
	cursor: text;
	outline: 0;
        
        /* Pour agrandir l'espace de recherche */
	width: 70em;
        height: 20em;
}

/* Social sidebar | Footer */
.sidebar-contact-footer{
   margin-top: 2em;
   margin-bottom: 2em;
}

.sidebar-contact-footer img{
    display: inline-block;
}

.sidebar-contact-footer img.rss, .sidebar-contact-footer img.twitter,.sidebar-contact-footer img.facebook, .sidebar-contact-footer img.contact{
     width: 25px;
     padding: 1px;
}

/* Social sidebar | Search form | Footer */
.sidebar-contact-footer .search-form {
    display: inline-block;
}

.sidebar-contact-footer .search-field {
	background-color: transparent;
	background-image: url(images/search-blanc.png);
	background-position: 0% 50%; /* Position de l'icône par rapport aux autres icônes */
	background-repeat: no-repeat;
        
	background-size: 2em 2em; /* Taille de l'icône */
	border: none;
	cursor: pointer;
	height: 2em;
        
        margin: 2em -0.75em 0 0;
        padding: 0 0 0 3em;
        
        /* Effet toogle */
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 0;
}

.sidebar-contact-footer .search-field:focus {
	background-color: #fff;
	border: 0.2em solid #c3c0ab;
	cursor: text;
	outline: 0;
        
        /* Pour agrandir l'espace de recherche */
	width: 10em;
        height: 2em;
        
        color: black;
        margin-right: 5em;
}


@media (max-width: 790px) {
    .sidebar-contact-footer .search-field {
        width: 5em;
        padding: 0 0.1em 0 0.1em;
        
        color: transparent;
    }  
    
    .sidebar-contact-footer .search-field:focus {
        width: 5em;
    }
}       

/* Power by Wolf Wild Web & Contact */
.list-footer1{
    margin-top: 2em;
}

/* Facebook, Twitter, Linkedin, Search*/
.list-footer2{
    margin-top: -6.5em;
}

@media (max-width: 790px) {
    .list-footer1{
        text-align: center;
    }
    
    .list-footer2{
        margin-top: -2em;
        text-align: center
    }    
}

/* Résultats de la recherche | search.php */
.search h3{
    color: #81B49F;
}

.search a{
    color: #81B49F;
}

.search a:hover{
    color: black;
}

.search > li{
    list-style: none;
}

/* Page don*/
/* Bouton don */

form#donation{
	margin-bottom: 2em;
}

input#don{
	display: inline;
	vertical-align: center;
	width: 8%;
}

/** Page viewed **/

.viewed{
	margin-bottom: 2.5em;
}

.viewed h3, .viewed a{
    color: #81B49F;
}

.viewed a:hover{
    color: black;
}

/* NAVIGATION PRINCIPALE */
.navbar-default{
    border-color:white; /* enlever default border */
    background-color: white; /* enlever default background */
    margin-top: -0.5em;
}

.navbar-default .navbar-nav > li > a{
   font-family: 'lato';
   color: #81B49F;  
   font-size: 1.20em;
   font-weight: bold; 
}

.navbar-default .navbar-nav > li > a:hover{
    color: grey;
}

@media only screen and (max-width : 992px) {
	
	.navbar-lpdli{
		margin: 0;
	}
	.navbar-nav > li > a{
		text-align: center;
	}	
}
      
/* Center the navbar */
.navbar .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

.navbar .navbar-collapse {
  text-align: center;
  /* Alignement des <li> */
  border: none;
}

@media (min-width: 768px) {
    .navbar .navbar-nav {
        display: inline-block;
        float: none;
        vertical-align: top;
    }

    .navbar .navbar-collapse {
        text-align: center;
        /* Alignement des <li> */
    }
}

/* PAGINATION */
.navigation{
	line-height: 3em;
}

.navigation a.page-numbers,
.navigation a.disabled {
	color: black;
	text-decoration:none;
}

.navigation a.page-numbers:hover, 
.navigation a.page-numbers.active{
        color: white;
        text-decoration: none;
}

.navigation a.page-numbers,
.navigation a.page-numbers:hover,
.navigation a.page-numbers.active,
.navigation a.page-numbers.disabled,
.navigation span.current{
	background-color: white;
    /*border: black 1px solid;*/
    
    /* Pour Chrome */
    border-width: 1px; 
    border-style:solid; 
    border-color:black;
    
	border-radius: 3px;
	cursor: pointer;
	/*padding: 12px;*/
	padding: 0.75em;
}  

.navigation a.page-numbers:hover,
.navigation a.page-numbers.active{
	background-color: #81B49F;
}

.navigation span.current{
	color: #81B49F;
}

@media (max-width: 768px){
    .navigation{ 
        display: block;
        margin-top: 2em;
        margin-bottom: 2em;
    }
}

/* FOOTER */
.footer{
    background-color: black;
}

.footer, .footer a{
    color: white;
}

.footer li{
    display: inline;
    list-style-type: none;
    margin-right: 2em;
}

.footer form{
    display: inline;
}