/*   
Theme Name: Les Ernest
Theme URI: http://www.les-ernest.fr;
Description: Les Ernest | 15 minutes pour changer notre vision du monde
Author: Benoit Bohnke & Charles Villa
Version: 1
*/

@media screen {

* { margin: 0; padding: 0; }
body { background: white; font: 12px/1.4 'mn-ens', Monaco, monospace; min-width: 680px;}
.screen-reader-text { position: absolute; left: -9999px; top: -9999px; }
.clear { clear: both; }
.group:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .group, *:first-child+html .group { zoom: 1; } /* First selector = IE6, Second Selector = IE 7 */

@font-face {
    font-family: 'mn-ens';
    src: url('font/mn-webfont.eot');
    src: url('font/mn-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/mn-webfont.woff') format('woff'),
         url('font/mn-webfont.ttf') format('truetype'),
         url('font/mn-webfont.svg#mn') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'sg-ens';
    src: url('font/ernest-webfont.eot');
    src: url('font/ernest-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/ernest-webfont.woff') format('woff'),
         url('font/ernest-webfont.ttf') format('truetype'),
         url('font/ernest-webfont.svg#sg-ens') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Cachons la case à cocher */  
[type="checkbox"]:not(:checked),  
[type="checkbox"]:checked {  
  position: absolute;  
  left: -9999px;  
}  
   
/* on prépare le label */  
[type="checkbox"]:not(:checked) + label,  
[type="checkbox"]:checked + label {  
  position: relative;
  padding-left: 20px;
  cursor: pointer;
  text-transform: uppercase;

}  

input{
    font-family: 'mn-ens';
    font-size: 10px;
    padding: 3px;
    border: 1px solid;
    text-transform: uppercase;
}

input:focus {
    border: 1px solid red;
    -webkit-appearance: none;
    outline: none;
}

input:hover {
    border: 1px solid red;
    -webkit-appearance: none;
    outline: none;
}

/* Aspect des checkboxes */  
/* :before sert à créer la case à cocher */  
[type="checkbox"]:not(:checked) + label:before,  
[type="checkbox"]:checked + label:before {  
  content: '';  
  position: absolute;  
  left:0; top: 2px;  
  width: 9px; height: 9px; /* dim. de la case */  
  border: 1px solid #000000;  
  background: #f8f8f8;  
}  
   
/* Aspect général de la coche */  
[type="checkbox"]:not(:checked) + label:after,  
[type="checkbox"]:checked + label:after {  
  content: '✔';
  position: absolute;
  top: -3px;
  left: 2px;
  font-size: 15px;
}  
/* Aspect si "pas cochée" */  
[type="checkbox"]:not(:checked) + label:after {  
  opacity: 0; /* coche invisible */  
  transform: scale(0); /* mise à l'échelle à 0 */  
}  
/* Aspect si "cochée" */  
[type="checkbox"]:checked + label:after {  
  opacity: 1; /* coche opaque */  
  transform: scale(1); /* mise à l'échelle 1:1 */ 

}  

/* aspect désactivée */  
[type="checkbox"]:disabled:not(:checked) + label:before,  
[type="checkbox"]:disabled:checked + label:before {  
  box-shadow: none;  
  border-color: #bbb;  
  background-color: #ddd;  
}  

[type="checkbox"]:hover:not(:checked) + label:before,  
[type="checkbox"]:hover:checked + label:before {  
  box-shadow: none;  
  border-color: red;  
}  
/* styles de la coche (si cochée/désactivée) */  
[type="checkbox"]:disabled:checked + label:after {  
  color: #999;  
}  
/* on style aussi le label quand désactivé */  
[type="checkbox"]:disabled + label {  
  color: #aaa;  
}  

label:hover{
  color:red !important;
}
   
/* aspect au focus de l'élément */  
[type="checkbox"]:checked:focus + label:before,  
[type="checkbox"]:not(:checked):focus + label:before {  
  border: 1px solid black;  
}  

h1, h2, h3 { font-weight: normal; margin: 0 0 0px 0;}
h1 { 
  font-size: 43px;
  margin-bottom: 0px;
}
h2 { 
  font-family: "sg-ens";
  font-size: 23px;
  line-height: 25px;
}
h3 { 
  font-size:10px;
  color:red;
}

h3 u{
  text-decoration: none;
  border-bottom: 2px solid red;
}


p { margin: 0 0 10px 0; }

a { 
  color:rgb(0, 72, 86);
  text-decoration: none;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 10px;
}

}
a:hover { 
  color:red;
} 

blockquote { }
blockquote p { }

ul, ol { margin: 0 0 10px 0; }

hr {
  border-style: none;
  border-bottom: 2px solid #004856;
}

#login{
  text-align: center;
}

#loading-layer{
  position:fixed;
  z-index:99999999;
  background: white;
  top:0;
  left:0;
  width:100%;
  height:100%;
  -webkit-transition-duration: 250ms;
     -moz-transition-duration: 250ms;
      -ms-transition-duration: 250ms;
       -o-transition-duration: 250ms;
          transition-duration: 250ms;
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
      -ms-transition-property:     -ms-transform, opacity;
       -o-transition-property:      -o-transform, opacity;
          transition-property:         transform, opacity;
    opacity:1;
  }

#loading{
    text-align: center;
    text-transform: uppercase;
    top:40%;
    position: relative;
    height:26px;
    width:100%;
    margin-top: -80px;
}

#header{
  position: relative;
  height: 173px;
  width: 100%;
  background-color: white;
  z-index: 99999999;
}

#logo{
  margin-bottom: 56px;
  margin-top: 20px;
}

  #header-wrap{
    margin:0 20px;
    border-bottom: 2px solid red;
    height: 100%;
  }

  #site-title {
    width: 250px;
    font-size: 10px;
    position: relative;
    margin-bottom: 7px;
  }

       #site-description {
          position: relative;
          left: 2%;
          top: 25px;
          width: 330px;
          float: left;
      } 

      #site-animation{  
        margin-bottom: 56px;
        margin-top: 18px;
        position: fixed;
        width: 210px;       
        z-index: 4;
        cursor:pointer;
      }

      #logo-ens{
        position: absolute;
        right: 40px;
        top: 67px;
      }


        #site-logo{
          float:left;
        }

        #site-logo img{
          width:70%;
          margin-top:25px;
          margin-left:;
        }

      .site-tagline {
          text-transform: uppercase;
          color: red;
          font-size: 11px;
      }

#nav-column{
  width:13.9999%;
  height:500px;
  position: fixed;
  top: 137px;
  margin: 0 20px;
  font-size: 11px;
}

::selection { background: white;}
::-moz-selection { background: white;}

p::selection { background: red; color:white;}
p::-moz-selection { background: white; color:white;}



#nav-wrapper{
  margin:10px;
}

 #nav-wrapper ul{
    margin-top:10px;
    list-style: none;
 }

 ul.categories-list li{
    margin:3px 0;
 }

 ul.categories-list li a{
    color:black;
    text-transform: uppercase;
 }


.blank-space{
  width:200px;
  height:200px;
}

#site-content {
  position: relative;
}

#page-wrap{
  right:0;
  width:86%;
  float:right;
  margin: 40px 10px 0px 10px; 
  padding-bottom: 30px;
}

.search-infos{
  height:0px;
  visibility: hidden;
  font-family: 'sg-ens';
  display: inline-block;
  margin-left: 10px;
  color: rgb(2, 0, 139);
  font-size: 1.3em;

}

.search-infos img#search-logo{
  margin-bottom: 10px;
}

.search-infos h3{
  font-family: 'mn-ens';
  display: inline-block;
}


.search-infos.visible{
  height: 160px;
  visibility: visible;
  margin-top: 10px;

}

@media screen and (max-width: 1306px) {
#page-wrap{
  width:84%;
  }

    .right-infos-wrapper h2, .post-title h2 {
      font-size: 22px !important;
      margin: 5px !important;
  } 
}
@media screen and (max-width: 1050px) {
  #page-wrap{
      width:80%;
    }

     .right-infos-wrapper h2, .post-title h2 {
      font-size: 20px !important;
      margin: 5px !important;
      line-height: 1.1em;
    } 

}
@media screen and (max-width: 880px) {
body{
  font-size:10px !important;
}

#page-wrap{
  width:75%;
  }

   .right-infos-wrapper h2, .post-title h2 {
    font-size: 20px !important;
    margin: 5px !important;
  } 
}


.grid-header{
    border-bottom: 2px solid red;
}



.post.edito {
  cursor:default !important;
  margin-bottom: 15px;
  float:left;
}

.front-video{
  float:left;
  margin-bottom: 0px;
  cursor: auto !important;
}

.post.front-video h2 {
  font-size: 24px;
  line-height: 1.1em;
}

.post-biography {
  position: relative;
  z-index: 99999999;
  visibility: hidden;
}

.post-biography-wrapper {
  position: absolute;
  background: white;
  margin-left: -27px;
  z-index: 9999999;
  margin-top: -28px;
  width: 170px;
  text-align: left;
  border: solid 2px red;
  padding: 25px;
  color: red;
  font-size: 10px;
  cursor: pointer;
  line-height: 15px;
}

.post-to-load .post-biography-wrapper{
  margin-top: -13px !important;
   width: 260px;
}

.post.playMode{
  cursor: auto !important;
}

.post.edito .post-wrapper {
  width: 80%;
  text-align: left;
}

.post.edito .entry{
  text-align: left;
  font-size: 14px;
  opacity:1;
}

.post.edito h2{
  font-size:23px;
  line-height:25px;
}

.post { 
	width:19.999%;
  text-align:center;
}


.post:hover{
  cursor: pointer;
}

.post:hover .entry{
  opacity: 1;
}



/*.post-img-wrapper img{
  position: absolute;
  top:0px;
  width: 100%;
}

.post-img-wrapper .img-black-overlay{
  position: absolute;
  top:0px;
  background-color: black;
}*/

  .tweet .tweet-wrapper, .credits .credits-wrapper{
    margin:10px;
  }

  .credits h3{
    color:#004856 !important;
  }

  .credits h3 u{
    border-color: #004856 !important;
  }

  .hashtag-insert .tweet {
    font-size: 12px;
    line-height: 1.4em;
}

  .tweet .tweet-wrapper a{
    word-wrap: break-word;
  }

  .tweet .tweet-wrapper div{
    text-align: center;
    font-size: 14px;
    background-color: red;
    color:white;
  }

  .tweet .tweet-wrapper li{
        list-style: none;
  }

  .tweet .tweet-wrapper .user img{
       display: none;
  }

    .tweet .tweet-wrapper .user{
       font-size:10px;
       margin-bottom: 3px;
  }

  .tweet .tweet-wrapper p.tweet {
      margin-top: 6px;
      padding: 20px 20px 0px 20px;
  }

  .tweet .tweet-wrapper .timePosted {
    color:white;
    font-size:10px;
  }


  .tweet .tweet-wrapper .interact {
    padding: 10px;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase; 
  }

  .tweet .tweet-wrapper .interact a{
    color:#004856;
    padding: 0 0.5em;
  }

 .tweet .tweet-wrapper a {
    color:white;
  }

 .tweet .tweet-wrapper a:hover {
    color:red;
  }

  .credits-wrapper .credits-content{
    margin-top: 8px;
    padding: 20px 20px 20px 20px;
/*    background-color:#004856;
*/    color:#004856;
    border:2px solid #004856;
    font-size:10px;
    text-transform: uppercase;

  }


	.post .post-wrapper{
		margin:10px;
	}

  .video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,  
.video-wrapper object,  
.video-wrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

  .post-infos.wrapper{
    position: relative;
  }

    .post-img-wrapper{
    position: relative;
    top: 0px;
    display: inline-block;
    }

      .img-black-overlay{
        height: 97%;
        width: 100%;
        background: black;
        position: absolute;
        z-index: 1;
        opacity: 0.2;
        margin: 0;
        display: inline;
        padding: 0;
      }


    .post-infos-wrapper div {
      text-transform: uppercase;
      font-size: 10px;
      margin-bottom:5px;
    }

       .post-author {
          float:left;
          border-bottom: 2px solid red;
          text-transform: uppercase;
          font-size:10px;
      }      

       .post-launch {
          float:right;
          color:#02008b !important;
      }  

      .post-categories a {
        font-size: 10px;
      }

      .post-categories a:hover {
        color:red !important;
      }

       .post-content {
          margin-bottom:20px;
      }      

		.post img{ 
			width:100%;
		}

    .post img.fish{
      width:50% !important;
    }

    .post h2{
      margin:10px 0;
    }

    .post-launch {
/*      margin: 15px 0px;
*/      text-transform: uppercase;
      color: red;
      font-size: 10px;
    }

      .post-loading {
      margin: 15px 0px;
      text-transform: uppercase;
      color: red;
      font-size: 10px;
      display: none;
    }  

      .post-loading img{
        height: 12px;
        width: 12px;
        float: right;
      }

.post-to-load, .loaded-post{
  margin-bottom:20px;
}

.post-to-load .entry{
  text-align: left;
  color: red;
}

.infos-wrapper{
  text-align:left;
  color:red;
  margin-top:15px;
  border-bottom: 2px solid #004856;
  padding-bottom: 22px;
  overflow:hidden;
}



.right-infos-wrapper{
  position:relative;
  width:33.333%;
  float:left;
  word-wrap: break-word;
}

.right-infos-wrapper .post-launch {
  margin-right: 15px;
}

.right-infos-wrapper .post-author {
font-size: 10px;
}

.right-infos-wrapper h2{
  text-align: center;
  color: red;
  font-size: 24px;
  margin: 0 30px;
}

.left-infos-wrapper{
  position:relative;
  width:66.6666%;
  float:left;
}

.left-infos-wrapper .options-wrapper{
  font-size:11px;
  color:red;
}

.options-wrapper h3{
  margin-top:7px;
}

#newsletter-link{
  line-height: 13px;
}


*/
.entry {
  opacity: 0.6;
 }
.entry a { }
.entry a:hover { }

pre { }
code, tt { }

#meta { }
.postmetadata { }

#sidebar { }

.navgation { }
   .next-posts { }
   .prev-posts { }

#searchform { }
	#s { }
	#searchsubmt { }
	
ol.commentlist { list-style: none; }
ol.commentlist li { }
ol.commentlist li.alt { }
ol.commentlist li.bypostauthor { }
ol.commentlist li.byuser { }
ol.commentlist li.comment-author-admin { }
ol.commentlist li.comment { border-bottom: 1px dotted #666; padding: 10px; }
ol.commentlist li.comment div.comment-author { }
ol.commentlist li.comment div.vcard { }
ol.commentlist li.comment div.vcard cite.fn { font-style: normal; }
ol.commentlist li.comment div.vcard cite.fn a.url { }
ol.commentlist li.comment div.vcard img.avatar { float:right; margin: 0 0 10px 10px; }
ol.commentlist li.comment div.vcard img.avatar-32 { }
ol.commentlist li.comment div.vcard img.photo { }
ol.commentlist li.comment div.vcard span.says { }
ol.commentlist li.comment div.commentmetadata { }
ol.commentlist li.comment div.comment-meta { font-size: 10px; }
ol.commentlist li.comment div.comment-meta a { color: #ccc; }
ol.commentlist li.comment p { }
ol.commentlist li.comment ul { }
ol.commentlist li.comment div.reply { font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { list-style: none; margin: 10px 0 0; }
ol.commentlist li.comment ul.children li { }
ol.commentlist li.comment ul.children li.alt { }
ol.commentlist li.comment ul.children li.bypostauthor { }
ol.commentlist li.comment ul.children li.byuser { }
ol.commentlist li.comment ul.children li.comment { }
ol.commentlist li.comment ul.children li.comment-author-admin { }
ol.commentlist li.comment ul.children li.depth-2 { border-left: 5px solid #555; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-3 { border-left: 5px solid #999; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-4 { border-left: 5px solid #bbb; margin: 0 0 10px 10px; }
ol.commentlist li.comment ul.children li.depth-5 { }
ol.commentlist li.comment ul.children li.odd { }
ol.commentlist li.even { background: #fff; }
ol.commentlist li.odd { background: #f6f6f6; }
ol.commentlist li.parent { border-left: 5px solid #111; }
ol.commentlist li.thread-alt { }
ol.commentlist li.thread-even { }
ol.commentlist li.thread-odd { }

form { }
input[type=text] { }
textarea { }


} /* END screen media */


@media print {

.do-not-print { display: none; }
#comments { page-break-before: always; }

body { width: 100% !important; margin: 0 !important; padding: 0 !important; line-height: 1.4; word-spacing: 1.1pt; letter-spacing: 0.2pt; font-family: Garamond,"Times New Roman", serif; color: #000; background: none; font-size: 12pt; }
h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1 { font-size: 19pt; }
h2 { font-size:17pt; }
h3 { font-size:15pt; }
h4,h5,h6 { font-size:12pt; }
code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em; }
img { display: block; margin: 1em 0; }
a img { border: none; }
table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th, td { padding: 4px 10px 4px 0; }
caption { background: #fff; margin-bottom: 2em; text-align: left; }
thead { display: table-header-group; }
tr { page-break-inside: avoid; } 
a { text-decoration: none; color: black; }
	
} /* END print media */

/**** Isotope Filtering ****/

.isotope-item {
  z-index: 2;
/*  margin-bottom: 10px;
*/}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
  -webkit-transition-delay: 0s;
     -moz-transition-delay: 0s;
      -ms-transition-delay: 0s;
       -o-transition-delay: 0s;
          transition-delay: 0s;
}

.isotope {

}

.isotope .isotope-item {

}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
      -ms-transition-duration: 0s;
       -o-transition-duration: 0s;
          transition-duration: 0s;
}

