/***************************** ARTICLE ENTIER ***************************************/
.corps {margin-top:1em;}

.col-gauche .bloc {
  padding: 1.5em 0;
  border-radius: 4px;
}
.bloc.article {
  padding-bottom: 0;
}
.col-gauche .bloc > * {
  padding-right: 1.2em;
  padding-left: 1.2em;
}
.col-gauche .bloc .texteencadre-spip {
  margin-left: -1.2em;
  margin-right: -1.2em;
}
.surtitre {
  margin-bottom:0.5em;
}
.titrage h1 {
  margin: 0;
}
.titrage .soustitre {
  margin: 0.5em 0 0;
}
.titrage .metas {
  margin-top: 1em;
  position: relative;
}
.titrage .photo-auteur {
  float: left;
  margin-right: 0.5em;
}
.titrage .auteur {
  position: absolute;
  top: 0px;
  left: 80px;
}
.titrage .date {
  position: absolute;
  top: 25px;
  left: 80px;
}
.titrage .date.sans_auteur {
  top: -0.5em;
  left: 0;
}
.titrage .date.sans_date {
  display: none;
}
@media (min-width:900px) {
  .titrage .date.sans_auteur {
    top: -0.7em;
  }
}
.titrage .tags {
  margin-top:0.5em;
}
.titrage .tags a {
  /*float:left;*/
}
.stats-reseaux {
  border-top: solid 2px #eee;
  margin-bottom: 1.5em;
  margin-top: 0.5em;
}
.stats-reseaux .stat {
  border-radius: 0 0 4px 4px;
  /*border: 2px solid #eee;*/
  border-top: 0;
  margin: 0 0.5em;
  text-align: center;
}
.stats-reseaux .stat:first-child {
  margin-left: 0;
}
.stats-reseaux .stat:last-child {
  margin-right: 0;
}
.stats-reseaux .visites, .stats-reseaux .commentaires, .stats-reseaux .lechiffre {
  padding: 0.3em 0.4em;
}
.stats-reseaux .stat .quoi {
  font-size: 0.85em;
}
.stats-reseaux .stat .chiffre, .stats-reseaux .partagez {
  font-weight: bold;
  font-size: 1.2em;
}
.stats-reseaux .partagez {
  line-height: 2.2;
  margin-left: 0.5em;
}
.stats-reseaux .lechiffre, .stats-reseaux .partager {
  display: inline-block;
  vertical-align: middle;
}
.partager {
  padding: 0.35em 0.5em 0.35em 0;
}
.partager .fb, .partager .tw, .partager .fb a, .partager .tw a {
  width: 2.6em;
  display: inline-block;
  vertical-align: middle;
}
.partager .fb, .partager .tw {
  margin-left: 0.5em;
}
.partager .fb a:before, .partager .tw a:before {
  content:"";
  display:block;
  padding-bottom:100%;
}
.texte {
  margin:1.5em 0;
}
.texte::after {
    content: "";
    display: block;
    clear: both;
}
.contenu {
  padding-bottom: 1px;
}
.corps .section {
  margin: 2em 0;
}

/***************** Sommaire (surcharge de header.css inclu par le couteau suisse) *********************/

div.cs_sommaire {
  float: none;
  margin: 0 0 1.3em;
  border: none;
  border-radius: 2px;
  max-height: inherit;
}
div.cs_sommaire_inner {
  margin: 0 0.2em;
}
div.cs_sommaire_avec_fond {
  background-image: none;
  padding-bottom: 0;
}
div.cs_sommaire_titre_avec_fond {
  background-image: url("/2016/design/moins.svg");
  background-position: left 8px center;
  background-size: 0.888em auto;
  margin-left: 0;
  border-bottom: solid 1px rgba(255,255,255,0.4);
}
div.cs_sommaire_titre_avec_fond.cs_sommaire_replie {
  background-image: url("/2016/design/plus.svg");
  border-bottom: none;
}
div.cs_sommaire_titre_avec_fond.cs_done {
  padding: 0.4em 0;
}
.cs_sommaire_corps {
  padding-bottom: 0.2em;
  padding-top: .5em;
}
div.cs_sommaire_corps > ul > li {
  margin-bottom: 0.3em;
}
a.sommaire_ancre {
  float: right;
}
div.cs_sommaire ul {
  margin-top: 0;
}
.cs_sommaire li, .cs_sommaire li ul li:first-child {
  margin-top: 0;
}
.cs_sommaire li ul {
  margin-bottom: .5em;
}



/*********** Bloc suite du parcours pédagogique ***********/

.col-gauche .bloc-parcours {
  padding-top:1.2em;
  padding-bottom:1.2em;
  border-radius: 0 0 4px 4px;
  margin-bottom: 0;
}

.bloc-parcours .suivant {
  display:block;
  background-image:url("/2016/design/fleche-n.svg");
  background-position:left center;
  padding:0 0 0 1.5em;
  margin: 0.8em 0 0.5em 0;
}

.bloc-parcours img {
  float:left;
  width:4em;
  margin-right:1em;
}
.bloc-parcours h3 {
  display:block;
  margin-left:5em;
}


/****  Bloc Sommaire Parcours pédagogique ****/

.bloc.sommaire-parcours {
  padding:0 0 0.8em 0;
}
.sommaire-parcours .entete, .sommaire-parcours .sommaire {
  padding-left:1.5em;
  padding-right:1.5em;
}
.sommaire-parcours h2.taille-moyen {
  margin-bottom:0;
}
.sommaire-parcours .entete {
  padding-top:1em;
  padding-bottom:0.6em;
  border-radius: 4px 4px 0 0;
}
.sommaire-parcours img {width:100%;margin-bottom:0.5em;}
.sommaire-parcours .sommaire a {
  display:block;
  border-top:1px solid;
 padding-top:0.4em;
  margin-top:0.4em;
}
.sommaire-parcours .sommaire a:first-child {
  border-top:none;
}


/*****   Bloc Formulaire en bas d'article ***/

.bloc.formulaire {
  padding-top: 2em;
  padding-bottom: 2em;
}


@media (min-width:900px){
  .titrage .date {
    width:14em;
  }
  .titrage .tags {
    margin-top:0;
    width:calc(100% - 18em);
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .titrage .tags a {
    margin-right:0;
    margin-left:0.5em;
  }
}


/*****   Bloc commentaires ***/

.col-gauche .bloc > .ajax-id-commentaires {
  padding-right: 0;
  padding-left: 0;
}
.ajax-id-commentaires {
  min-width: 100%;
}
.article .ajax-id-commentaires .commentaires {
  padding: 1em 1.2em;

}
.commentaires .blocs_titre {
  padding-left: 28px;
  background-image: url("/2016/design/moins.svg");
  background-position: left center;
  background-size: 0.888em auto;
}
.commentaires .blocs_titre.blocs_replie {
  background-image: url("/2016/design/plus.svg");
}

ul.comments-ul {
  list-style: none;
}
.comments-thread {
  padding: 0.5em 0;
}

.comments-thread > .comments-ul {
  margin-bottom: 0;
}
/* chaque fil de discussion */
.comments-thread > .comments-ul > .comment-li {
  -o-box-shadow: 0 0 4px 0 rgba(0,0,0,0.12);
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.12);
  filter:progid:DXImageTransform.Microsoft.Shadow(color=rgba(0,0,0,12), Direction=134, Strength=2);
  background-color: #FFF;
  border-radius: 4px;
  margin-top: 2em;
}
.comments-thread > .comments-ul > .comment-li:first-child {
  margin-top: 0;
}
.comments img {
  width: auto;
}
.comments .comments-list {}
.comments .comments-list .comment-li {}

.comment {
  padding: 1em 1em 1.5em;
  position: relative;
  overflow: hidden;
}
.comment .comment-meta {
  margin-top: 0;
  padding-left: 50px;
  position: relative;
  min-height: calc(40px + 1.2em);
  padding-bottom: 1em;
  border-bottom: #e6e6e6 solid 2px;
  margin-bottom: 1em;
  display: flex;
  align-items: center;
}
.comment .comment-meta a.permalink {
  position: absolute;
  top: 0.7em;
  right: 0.7em;
  padding: 0;
  font-size: 1.5em;
  text-align: right;
  text-decoration: none;
  line-height: 1;
}
.comment .comment-meta a.permalink.in-reply-to {
  right: 1.5em;
  top: .83em;
}
abbr[title].dtreviewed {
  text-decoration: none;
  border: none;
  margin-left: .4em;
}
.comment img.avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
}
.comment .comment-content {
}

.comment-texte > span, .comment-texte > span p:first-child {margin-top: 0;}
.comment-texte > span p:last-child {margin-bottom:0;}
.comments .comment-form {}
.comments-ul .comments-ul li {
  border-top: solid 4px #e6e6e6;
  position: relative;
}
.comments-ul .comments-ul li::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 46px;
  border-width: 0 18px 18px;
  border-style: solid;
  border-color: #e6e6e6 transparent;
  display: block;
  width: 0;
}
.comments-ul .comments-ul li::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 52px;
  border-width: 0 12px 12px;
  border-style: solid;
  border-color: #fff transparent;
  display: block;
  width: 0;
}
.comment-reply {
  margin: 1em 0 0;
}
.comment-reply a {
  padding: 0.5em;
  text-align: center;
  border-top: solid 4px #666;
  position: relative;
  background-color: #FFEEC0;
  font-weight: bold;
  color: #666;
  display: block;
}
.comment-reply a:hover {
  background-color: #fecc00;
  color: #222;
}
.comment-reply a::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 46px;
  border-width: 18px 18px 0;
  border-style: solid;
  border-color: #666 transparent;
  display: block;
  width: 0;
}
.comment-reply a::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 52px;
  border-width: 12px 12px 0;
  border-style: solid;
  border-color: #fff transparent;
  display: block;
  width: 0;
}

@media (min-width:600px){
  .comment {
    padding-left: 4.7em;
  }
  .comment .comment-meta {
    position: static;
    padding-left: 0;
    min-height: inherit;
    
  }
  .comment img.avatar {
    position: absolute;
    top: 1em;
    left: 1em;
    width: 40px;
    height: 40px;
  }

}
@media (min-width:768px){
  .ajax-id-commentaires {
    min-width: 68%;
  }
  .comments-thread {
    padding: 1em 0;
  }
  /*.comment-reply a {
    padding: 0.5em 0.5em 0.5em 240px;
    text-align: left;
  }*/
  .comments-ul .comments-ul li::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 46px;
    border-width: 0 20px 20px;
    border-style: solid;
    border-color: #e6e6e6 transparent;
    display: block;
    width: 0;
  }
  .comments-ul .comments-ul li::after {
    content: "";
    position: absolute;
    top: -13px;
    left: 51px;
    border-width: 0 15px 15px;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
  }
  .comment-reply a::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 46px;
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: #666 transparent;
    display: block;
    width: 0;
  }
  .comment-reply a::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 51px;
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #fff transparent;
    display: block;
    width: 0;
  }

}
@media (min-width:900px){
  .comments-thread {
    padding: 2em 0;
  }
  .comment {
    padding-left: 4.3em;
  }
}
@media (min-width:1100px){
  .ajax-id-commentaires {
    min-width: calc(100% - 17.666em);
  }

}


/*** Formulaire réponse commentaires ***/

.blocs_destination > h2 {
  margin-top: 1em;
}
.formulaire_forum {
  padding: 0 0.5em 1em;
}
.formulaire_forum ul {
  list-style: none;
}
.formulaire_forum fieldset {
  padding: 0;
  border: none;
  margin: 1em 0 0;
}
.formulaire_forum fieldset:last-child {
  margin-bottom: 0;
}
.formulaire_forum fieldset > legend {
  display: none;
}
.formulaire_forum .moderation_info {
  color: #1073b6;
  margin-bottom: 1em;
}
.formulaire_forum .gravatar_info_forum {
  color: #666;
  font-style: italic;
  margin-bottom: 0;
}
.formulaire_forum .saisie_texte_info, .formulaire_forum .session_qui {
  margin: 1em 0;
}
.formulaire_forum .saisie_texte_info {
  color: #666;
  margin-top: 0;
}
.formulaire_forum .moderation_info p {
  margin-bottom: 0;
  margin-top: 0;
}
.formulaire_forum .saisie_qui {
  margin-top: 1em;
}
.formulaire_forum .session_qui p {
  margin: 0;
}
.formulaire_forum .saisie_qui .editer {
  position: relative;
  margin: 0;
  width: 100%;
}
.formulaire_forum .saisie_qui .editer label {
  position: absolute;
  left: 0.7em;
  top: 1.25em;
  font-size: 1.2em;
  line-height: 1.2;
  color: #acacac;
  transition: 0.2s all ease-in-out;
  pointer-events: none;
}
.formulaire_forum .saisie_qui .editer input:focus + label, .formulaire_forum .saisie_qui .editer label.active {
  left: 0.2em;
  top: 0;
  font-size: 0.8em;
  color: #0497B6;
}

@media (min-width:768px){
  .saisie_qui ul {
    display: -ms-flexbox; 
    display: -webkit-flex;
    display: flex;
    width: 100%;
  
    -webkit-align-items:flex-start;
    -ms-flex-align:start;
    -ms-grid-row-align:flex-start;
    align-items:flex-start;

    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .formulaire_forum .saisie_qui .editer.saisie_session_nom {
    width: 50%;
    padding-right: 2%;
  }
  .formulaire_forum .saisie_qui .editer.saisie_session_email {
    width: 50%;
    margin-top: 0;
  }
}

@media (min-width:768px){
  .formulaire_forum {
    padding: 0 1em 1.5em;
  }
}
@media (min-width:900px){
  .formulaire_forum {
    padding: 0 2em 2em;
  }
}

/* Boutons d'admin */
.modererforum {
  text-align: right;
}
.modererforum form {
  display: inline-block;

}


/***************************** ARTICLE INFO *****************************************/

.liste .article {
  position:relative;
}

.liste .article img {
  width:20%;
  max-width:8em;
  /*margin-right:1.3em;*/
  height:auto;
}
.liste .article .flex > div {
  width: 80%;
  padding-left: 1em;
}
.liste .article .cache-video {
  position:absolute;
  height:100%;
  width:20% !important;
  top:0;
  left:0;
  background:url("/2016/design/video_op.svg") no-repeat left top rgba(255,255,255,0.5);
  background-size:100% auto;
  z-index:10;
}
.liste .article {
  display: block;
  border-bottom: 1px solid;
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.liste .article:last-child {
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}

.liste .article .cercle {
  width:3em;
  height:3em;
  right:-1.5em;
  margin-top:1em;
}

@media (max-width:500px){
  .liste .article p {
    display:none;
  }
}


/***************************  Liste articles et flux *****************************/

.flux .cercle {display: none;}
.flux h3 {
  /*font-size: 0.833em;*/
  font-family: MuseoSlab;
  margin-bottom: 0;
}
.flux .article {
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}
.flux .liste-date, .partis-freres .date {
  font-size: 0.722em;
  display: block;
}

@media (min-width:900px){
  .col-gauche .flux .article {
      width:calc(50% - 1em);
      margin-right:2em;
  }
  .flux h3 {
    font-size: 0.833em;
  }
  .col-gauche .flux .article:nth-of-type(2n) {margin-right:0;}
}


/***************************** ARTICLE PARCOURS *************************************/

.article-parcours {
  position:relative;
  display:block;
  border-left:4px solid;
  margin-bottom:3em;
  width: 100%;
}

.article-parcours .apercu {
  z-index:0;
  display:block;
  width:100%;
  height: 0;
  padding-bottom:56%;
  overflow:hidden;
  margin:0;
  position:relative;
  border-radius: 0 2px 2px 0;
}

.article-parcours img {
  z-index:0;
  position:absolute;
  width:100%;
  height:auto;
  margin-left:0;
  margin-top:0;
  max-width:none !important;
  max-height:none;
  transition: width 0.3s, height 0.3s, margin-left 0.3s, margin-top 0.3s;
}

.article-parcours:hover img {
  margin-left:-5%;
  margin-top:-2%;
  width:110%;
}

.article-parcours .flex {
  z-index:5;
  position:absolute;
  width:95%;
  height:90%;
  top:0%;left:0%;
  align-items:space-between;
}
.article-parcours .count{
  border-radius: 2px 2px 5px 0;
  padding:0.2em 0.5em 0.1em 0.4em;
  position:relative;
 top:-0.6em;
  left:-4px;
}
.article-parcours .droite {width:100%;}
.article-parcours .droite .titre {
  max-width:90%;
  float:right; 
  padding:0.5em 0.3em;
  font-size: 1em;
  font-family: inherit;
}

@media (min-width:550px) and (max-width:767px){
  .article-parcours .flex {
    height: 100%;
  }
}
@media (min-width:550px) and (max-width:999px){
  .article-parcours {
    width:48%;
    margin-right:4%;
  }
  .article-parcours:nth-of-type(2n){margin-right:0;}
}

@media (min-width:1000px){
  .article-parcours {
    width:31%;
    margin-right:3%;
  }
  
  .article-parcours:nth-of-type(3n){margin-right:0;}
}


/***************************** ARTICLE VIDEO *************************************/


.article-video {
  position:relative;
  display:block;
  margin-bottom:1em;
  padding-bottom: 56.2%;
  width: 100%;
}
.liste .article-video {
  margin-bottom:3em;
  /*overflow: hidden;*/
}

.article-video .image {
  top: 0;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-bottom: 56%;
}

.article-video img {
  display: block;
  max-height: none;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
}
/*.article-video img {
  display:block;
  width:100%;
  height: auto;
  margin:0;
}*/

.article-video .cartouche {
  position:absolute;
  /*width:95%;
  height:90%;*/
  bottom:0;
  left:0;
  right: 0;
  background-color: rgba(0,0,0,0.4);
  /*align-items:space-between;*/
}
.article-video .titre {
  padding: .2em .5em;
}
.article-video .count {
  border-bottom-right-radius:4px;
  padding:0.2em 0.5em 0.2em 0.4em;
  position:absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  border-right: 1px solid;
  border-bottom: 1px solid;
}
.article-video .date {
  /*border-bottom-left-radius:4px;*/
  /*padding:0.2em 0.5em 0.2em 0.4em;*/
  position:absolute;
  bottom: -1.4em;
  right: 0;
  /*background: rgba(0,0,0,.5);*/
  /*background: rgba(254,204,0,.5);*/
  /*border-left-style: solid;
  border-left-width: 1px;
  border-bottom-style: solid;
  border-bottom-width: 1px;*/
  /*color: #222;*/
}
.article-video .lecture {
  position: absolute;
  right: 0;
  top: 0;
  width: 25%;
  background: url("/2016/design/fleche-d.svg") no-repeat center;
  filter: brightness(300%);
  background-size: 40%;
}
.article-video .lecture::before {
    content: "";
    display: block;
    padding-bottom: 100%;
}
.article-video .droite {width:100%;}
.article-video .droite .titre {
  max-width:90%;
  float:right; 
  padding:0.5em 0.3em;
}

@media (min-width:550px) and (max-width:999px){
  .article-video {
    width:48%;
    margin-right:4%;
  }
  .article-video:nth-of-type(2n) {
    margin-right:0px;
  }
}

@media (min-width:1000px){
  .liste .article-video {
    width:31%;
    margin-right:3%;
  }
  .article-video:nth-of-type(3n) {
    margin-right:0px;
  }
}


/******************************************************** ARTICLE DOC DE FOND ****************************************************************/
.docdefond {
  width:100%;
  margin-bottom:1em;
}
.docdefond .titre-conteneur {
  height:6.5em;
  position:relative;
}
.docdefond .titre {
	margin-bottom: 0;
  position:absolute;
  bottom:0;
}
.docdefond .date {
  float: right;
  margin-top: 0.3em;
}
.docdefond .categorie {
	margin-bottom: 0.7em;
	margin-top: 0.3em;
}
.docdefond .apercu {
	float: none;
	display: block;
	height: 0;
	padding-bottom: 56%;
	background-size: 100%;
  position:relative;
  overflow:hidden;
}
.docdefond .apercu img {
  width:100%;
  height:auto;
  margin-top:-10%;
  max-width:none;
  max-height:none;
  position:absolute;
  center:0;
  transition: width 0.3s, height 0.3s, margin-left 0.3s, margin-top 0.3s;
}

.docdefond:hover .apercu img {
	/*transform: scale(1.1,1.1);*/
  margin-left:-5%;
  margin-top:-15%;
	width: 110%;
}

@media (min-width:600px) and (max-width:999px){
  .docdefond {
    width:48.5%;
    margin-right:3%;
  }
  
  .docdefond:nth-of-type(2n) {
    margin-right:0;
  }
}
@media (min-width:1000px){
  .docdefond {
    width:31.3%;
    margin-right:3%;
  }
  
  .docdefond:nth-of-type(3n) {
    margin-right:0;
  }
}

/***************************** ARTICLE PAGE CADRE *************************************/

.page-cadre .bandeau-flash {
  margin-bottom: 0;
}
.page-cadre .banniere {
  position: relative;
  border-radius: 0 0 4px 4px;
  margin-bottom: 2em;
  z-index: -10;
}
.page-cadre .banniere img {
  border-radius: 0 0 4px 4px;
  width:100%;
}
.page-cadre .banniere h1 {
  position: absolute;
  margin-left: -9000px;
}
/*.page-cadre .col-gauche .bloc:first-child {
  padding-top: 0;
}*/
.page-cadre .corps .texte, .page-cadre .corps .texte > .texteencadre-spip:first-child, .page-cadre .corps .texte > .crayon-icones + .texteencadre-spip  {
  margin-top: -1.5em;
  border-radius: 4px 4px 0 0;
}