* { padding:0; margin:0; border:0;font-size:1em;  }

@font-face {font-family:"Oswald" ; src:local("Oswald-Regular.ttf"), url("Oswald-Regular.ttf");}
@font-face {font-family:"Source Sans Pro" ; src:local("SourceSansPro-Regular.ttf"), url("SourceSansPro-Regular.ttf");}
@font-face {font-family:"Source Serif Pro" ; src:local("SourceSerifPro-Regular.ttf"), url("SourceSerifPro-Regular.ttf");}
@font-face {font-family:"Cursive" ; src:local("BethEllen-Regular.ttf"), url("BethEllen-Regular.ttf");}



/*color*/
.perspective {color: #F30;}
.problematique {color: #0FF;}

.invisible, .invisible table, .invisible tbody, .invisible tr, .invisible td {border:0;}
.invisible td p {margin:0 1em;}



/*font-family*/
body, textarea { font-family:"Source Sans Pro", sans-serif; }
h1,h2,h3,h4,h5,h6  { font-family:"Oswald", sans-serif; }
.extrait .texte p, .extrait .texte li { font-family:"Source Serif Pro", serif; }
.reference,.chapeau,.cadre,.prive,.note,.intertitre { font-family:"Source Sans Pro", sans-serif!important; }
blockquote, blockquote p, .quote p { font-family:"Source Serif Pro", serif!important; }
.cursive *:not(.reference) {font-family: "Cursive"!important;
font-size:1em;line-height: 1.5;}
p,li {line-height: 1.5;}

/*font-style*/
blockquote,em { font-style : italic; }
blockquote .romain { font-style : normal!important; }
h1,h2,h3,h4,h5,h6 {text-transform: uppercase;}


/*font-weight*/
caption,thead,tfoot,dt { font-weight:bold; }
caption,thead td,th,tfoot,.socle { font-weight: bold;}
h1,h2,h3,h4,h5,h6 {font-weight: normal;}

h1,h2,h3,h4,h5,h6 {letter-spacing: 0.1em;}



/*table*/
table { border-collapse : collapse; table-layout : fixed; }
td,th { border-collapse : collapse; vertical-align : top; }




/*list-style*/
ul li { list-style : none; }
ul li:before {content: "- ";}
.qcm li { list-style : none; }
.qcm li:before { content:"☐ " }
#toc li:before {content: "";}
#toc ul li {margin: .4em 0;}
.test li:before { content:"" }
ol li {list-style : decimal inside;}
.etiquettes {overflow: hidden;}
.etiquettes li {float: left;padding: .2em .8em;margin:.2em .4em;}
.etiquettes li:before {content: "";}

/*.qcm p {display: list-item;list-style-type: decimal;list-style-position: inside;}*/
h4 { counter-reset: qcmcount;}
.qcm p:before { content: counter(qcmcount) ". "; counter-increment: qcmcount;}
.aeration p {margin:.4em 0;}


.prive:before {content: "> ";}
/*definition*/
dl { vertical-align:bottom; }
dt:after { content:" : "; }

.associations, .associations * {border:0;}
.associations tr td:first-child p:after {content:" ○"}
.associations tr td:last-child p:before {content:"○ "} {}


/*float and clear*/
.seance,.fiche,.bandeau,.consigne,.extrait,.explication,dt { clear:both; }
.seance h4,.fiche h2 { float:left;}
.marge {float:left;clear:left;}
.texte {clear:none;overflow: hidden;}
.seance h4,.fiche h2 { overflow:visible;}
.explication .texte {overflow:hidden;}
dt { float:left; }
.marge h4 { float:none;}
.seance h2 {float:left;}

.cache {display: none;}



/*font-sizes*/
h1,.seance h3 { font-size:3.2em; }
h2,h4,h5,h6 { font-size : 1.1em; }
.reference,.note { font-size:0.8em; }
sup { font-size:0.6em; }

/*text-indent*/
ul li,.bandeau table p,dt { text-indent:0; }
.bandeau p, .extrait .texte p,.explication .texte p,blockquote,td p { text-indent : 1em; }
.poesie p { text-indent:0!important; }
dd { text-indent:0.1em;}

/*width*/
.seance h4,.marge,.fiche h2 { width:18.5%; }
table,img { width:100%; }
.marge h4 { width:98%; }
textarea { width:100%; height: 8em;}

/*margins*/


.seance h4,.fiche h2 {margin:.4em 0;}
h5, h6 {margin:.2em 0 .2em 0;}
.cadre { margin : .4em 0;clear: both;}

.marge { margin : .4em 0; }
.texte { margin:.4em 0 .4em 20%; }


table {margin:0.2em 0;}
.seance h3 { margin:0 0 0 20%; }
.fiche h4 { margin-left : 2.4em; }
ul li {margin:0.1em 0.1em 0.1em 2em; }
ol li {margin:0.1em 0.1em 0.1em 2em; }
ul ul li {margin:0.1em 0.1em 0.1em 4em; }
ul ul ul li {margin:0.1em 0.1em 0.1em 6em; }
blockquote p {margin:0.1em 0.1em 0.1em 2.6em; }
.bandeau h1, .bandeau p,.bandeau ul { margin:0 0 0 20%; }
h1 {margin-bottom: 0.4em;}
.bandeau ul li {margin:0 0.4em;}
dd, td blockquote { margin : 0.1em;}
hr {margin:1em;}

/*padding*/
caption,thead,tfoot,th,td { padding:.4em .6em; }
div[class="cadre"]  { padding:.6em; }
.texte {padding: 0.2em 0 0 1em;}
h4 {padding:0.4em 0;}
.bandeau {padding:1.2em 0 1em 0;}
.bandeau h2 {padding:1.4em 0;}
.bandeau ul {padding:0.2em 0 0 0;}
.bandeau ul li { padding : 0 0.2em;}

.puzzle3,.puzzle4 {display: flex;flex-direction: row;flex-wrap:wrap;align-content:stretch;}
.puzzle3 p { min-width: 150px;min-height: 150px;width:28%;padding:.6em;margin: .4em;text-indent: 0;font-variant: small-caps;text-align: center;font-size: 1em}
.puzzle4 p { min-width: 100px;min-height: 100px;width:20%;padding:.4em;margin: .4em;text-indent: 0;font-variant: small-caps;text-align: center;font-size: 1.2em}

.colonnes { -webkit-column-count: 3;column-count:3;}
.colonne {break-inside: avoid-column;}
 .colonne p, .colonne .cadre,.colonne img {margin:0 .6em;}


@media screen and (max-width: 720px) {
 .colonnes {  -webkit-column-count: 2;column-count:2}

}
@media screen and (max-width: 480px) {
 .colonnes {  -webkit-column-count: 1;column-count:1}

}

/**
.colonnes { display: flex;flex-flow: row wrap;}
   .colonne { flex:1; border-left: 1px dotted #666;min-width: 280px;}
  .colonne:first-child {border:0;}
  .colonne p, .colonne h4 {margin:0 .6em;}
**/


/*line-height*/
dl { line-height:1; }


/*text-align*/
p,li,dt,dd,blockquote,.marge p { text-align:justify; }
h1,.seance h2,.seance h3, .seance h4,.seance h5,table,th p,.marge h4,
.problematique { text-align : center; }
h3,h4,.fiche h4,.fiche h5,h6, td p { text-align:left; }
.reference,.date,.signature,.prive { text-align:right!important; }
.exergue {margin:2em 0 2em 50%!important;}

/*height*/
/*.galerie img { max-height:200px;}*/

.genealogie ul {margin:0 0 0 15%;}
.genealogie li {margin:0.4em;text-align:left;display: block;}
.genealogie li:before {content: "↳ ";}
.genealogie > li:before {content: "";}


tr, td {page-break-inside: avoid;}



.bandeau h2 {width:20%;text-align: center;}


/*.bandeau h4,.bandeau ul {display:none;}*/
/*.extrait .texte p:first-of-type:not(.chapeau):first-letter {font-size: 3em;float:left;}*/

.cartes {border-collapse: separate;}
table[class="cartes"] {border:0;}
.cartes tr, .cartes td {vertical-align: middle;}
.cartes {border-spacing: .4em;}
.cartes {text-align: center; font-variant: small-caps;}
.cartes p {margin: .5em;}

.didascalie {text-align: center;margin: 0.6em 0 -0.2em 0;font-style: italic;}
.didascalie span {font-variant: small-caps;font-style: normal;}

.conteneur {display: flex;flex-direction: row;flex-wrap:wrap;
align-content:flex-start;}

.conteneur > div {flex:1;}
/*SMS*/

 .sms p {position:relative;border:3px solid #666;
   border-radius:.5em;margin:0;padding:.8em;
   text-indent: 1em;}

 .sms .question {float: left;width: 44%;clear: both;margin-top: -2em;}

 .sms .reponse {float: right;width: 44%;margin-top: 4em;}

 .sms .question:before,.sms .reponse:before {content:"";position:absolute;bottom:-20px;
  display:block;width:0;border-color:#666 transparent;border-style:solid;
  border-width:20px 20px 0;}

 .sms .question:after,.sms .reponse:after {content:"";position:absolute;bottom:-15px;
  display:block;width:0;border-color:#222 transparent;border-style:solid;
  border-width:20px 20px 0}

 .sms .question:before,.sms .question:after {left:40px;}

 .sms .reponse:before,.sms .reponse:after {right:40px;}
 .frise {margin:2em 0;}

 .frise, .frise thead, .frise thead tr, .frise thead td, .frise tfoot, .frise tfoot tr, .frise tfoot td {border: 0;}
 .frise thead td,  .frise tfoot td {padding : 0;text-align: center;border-left: 1px solid #bbb;}
.frise thead td:first-child,  .frise tfoot td:first-child {border: 0;}
.frise tbody td {height: 2em;}

.scenario {padding:1em;}
 .scenario p {font-family: monospace;margin-bottom: .4em}
 .scenario .reference {font-family: monospace!important;font-size: 1em;margin-bottom: .4em}

.entete td {padding:2em 0;}

iframe {border:0;position:absolute;left:0;top:0;width:100%;height:100%}


ul.tree {margin-left: 2em;}

ul.tree ul {
    list-style: none;
     margin: 0;
     padding: 0;
   }
   ul.tree ul {
     margin-left: 30px;
   }
   ul.tree li {
     margin: 0;
     padding: 0 10px;
     line-height: 20px;
     color: #fff;
     font-weight: bold;
     border-left:1px solid #fff;

   }
   ul.tree li:last-child {
       border-left:none;
   }
   ul.tree li:before {
      position:relative;
      top:-0.2em;
      height:1em;
      width:12px;
      color:white;
      border-bottom:1px solid #fff;
      content:"";
      display:inline-block;
      left:-10px;
   }
   ul.tree li:last-child:before {
      border-left:1px solid #fff;
   }

   .echelle td p {text-align: center;}
   .echelle  hr {border-style: dashed;}
   
 .decoupage {clear: none;margin:0 0 4em 0;position: relative;}
   .decoupage li{list-style-type: lower-alpha!important;border:1px dashed #fff;padding:1em;
    display: list-item;list-style-position: inside;float: left;margin: 0!important}
    
        .carte { position: relative; display: inline-block; max-width: 100%; }
.carte img { width: 100%; display: block; height: auto;}

.point {  position: absolute;  transform: translate(-50%, -100%); font-size: 1em; line-height: 1;
  text-decoration: none;z-index: 1;  cursor: pointer;opacity: 0;}
  
  .point:hover, .point:focus { z-index: 10; }


.carte:hover .point,
.carte:focus-within .point {
  opacity: 1;
}
   