@import url('https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Roboto&display=swap');


button , canvas , img.banner , #editor h1.title , p.caption , #formulaire, .help{
  display:none;
}
p, li, ul{
  break-inside: avoid;
  font-size: 3mm;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'Roboto', sans-serif;
  /*width: 210mm;*/
}

button {
  display:none;
}

ul{
  margin-left:0;
  padding-left:0;
}
li{
  margin-left:6mm;
  padding-left:0;
}





h1,
h2,
h3 {
  /*font-family: 'Chelsea Market', cursive;*/
  margin: 0;
  padding: 0;
  font-size: 3.6mm;
}



.caps {
  text-transform: capitalize;
}

/*.page {
  border: 4px solid #000;
  color: #000;
  column-count: 3;
  padding: 20px;
  margin-bottom: 20px;
  height:240mm;
  break-inside:avoid;
}*/

#regles{
  color: #000;
  column-count: 2;
  /*break-inside:avoid;*/
  orphans: 2;
  widows: 2;
}

#regles p{    
  margin: 0mm 0 2mm 0;
}
#regles h2{ 
  margin-bottom: 3mm;
  margin-top: 5mm;
}

h2, h3 {
  break-after: avoid;
}


#regles .schema_single_card , .card-wrapper { 
  width: 48mm;
  height: 70mm;
}

@media print and (orientation: portrait) {
  #regles{
    column-count: 2;
  }
  #recipe .schema_single_card , #recipe .card-wrapper {    
    width: 56mm;
    height: 86mm;
  }

}
@media print and (orientation: landscape) {
  #regles{
    column-count: 3;
  }
  #recipe .schema_single_card , #recipe .card-wrapper { 
    width: 52mm;
    height: 78mm;
  }
}

#regles h1,
#regles h2,
#regles h3 {
  color: #000;
}

.result p {
  display: none;
}

.sum {
  margin-top: 40px;
}

.sum p {
  margin-top: 20px;
  font-size: 10pt;
  font-style: italic;
  margin-top: 0;
}


@keyframes levitate {
  from {
    margin-top: 1vw;
  }

  to {
    margin-top: 0vw;
  }
}

#schema_pioche {
  margin-bottom: 2mm;
}

.schema_carte {
  border: 1mm solid black;
  border-radius: 1.2mm;
  margin: 1mm auto;
  background:white;
  width: 6mm;
  height: 8mm;
}

.schema_banc .schema_carte ,  .schema_rss_banc .schema_carte {
  display:inline-block;
}

.schema_banc ,  .schema_rss_banc {
  border: 1mm dashed black;
  border-radius: 1.2mm;
  margin: 1mm;
  padding-bottom: 1mm;
}

.schema_main {
  border-radius: 1.2mm;
  margin: 1mm;
}

.schema_blank_space{
  height: 2mm;
}

.schema_cell {
  display: table-cell;
  vertical-align: middle;
  text-align:center;
}
.schema_cell_flex {
  display: table-cell;
  vertical-align: middle;
  padding: 1mm;
  width: 0;
}

#schema_jeu {
  width: 100%;
  max-height: 400px;
  display: table;
  margin: 4mm 0;
  break-inside: avoid;
  margin-bottom: 6mm;
}

.schema_main_carte{
  display: inline-block;
    max-width: 4mm;
    width: 2mm;
}
.schema_caption{
  position: absolute;
    opacity: 0.2;
    text-transform: uppercase;
    font-size: 8pt;
  line-height: 8pt;
}
.schema_pioche_visible {
  width: 17mm;
  padding: 1mm;
}
.schema_pioche_visible .schema_carte{
  display: inline-block;
  margin-bottom: 0;
  margin-top: 0;
}

.schema_carte.r1 {transform:rotate(-16deg);}
.schema_carte.r2 {transform:rotate(-8deg);}
.schema_carte.r3 {transform:rotate(-2deg);}
.schema_carte.r4 {transform:rotate(2deg);}
.schema_carte.r5 {transform:rotate(8deg);}
.schema_carte.r6 {transform:rotate(16deg);}

.schema_carte_trophe{
  float:right;
}

span.rappel{
  font-size: 7pt;
  display: block;
}
span.rappel:before{
  content:"(";
  margin-right:4px;
}
span.rappel:after{
  content:")";
  margin-left:4px;
}
p.exemple {
  font-size: 10pt;
  opacity: 0.4;
}
.schema_single_card .hp{
  position: absolute;
  right: 0;
  margin: 24px 20px;
  font-size: 24pt;
  font-weight: bold;
  text-decoration: underline 3px;
  top: 0;
}


.schema_single_card .rss{
  width: 16px;
  height: 16px;
  border-width: 2px;
  line-height: 14pt;
}
.rss.rules{
  width: 2mm;
  height: 2mm;
  margin: -1px 1px;
  line-height: 2mm;
  border-width: 0.4mm;
}
.example .rss.rules{
  width: 10px;
  height: 10px;
  margin: -1px 1px;
  line-height: 8pt;
  border-width: 1px;
}
.rss{
  display: inline-block;
  border-radius: 50%;
  text-align: left;
  border-style: solid;
  font-family: Arial, Helvetica, sans-serif;
}
.rss_type_a:after{
  content:"✼";
}
.rss_type_b:after{
  content:"✧";
}
.rss_type_c:after{
  content:"✶";
}
.rss_type_d:after{
  content:"✱";
}
.rss_type:after{
  position: absolute;
}
.schema_single_card .rss_type:after{
  margin-left: 1px;
margin-top: -1px;
font-size: 16pt;
}
.rss_type.rules:after{         
  margin-left: 1px;
  margin-top: -2px;
  font-size: 10pt;
}
.example .rss_type.rules:after{   
  margin-left: 1.1px;
  font-size: 9pt;
  margin-top: -0.2px;
}
#regles .rss_empty{
  opacity: 0.2;
}


.schema_single_card{
  border: 1.5mm solid;
  border-radius: 4mm;
  display: table;
  position: relative;
  box-sizing: border-box;
  margin: auto;
  break-inside: avoid;
  background-color: #fff;
  padding: 2mm;
}
#regles .schema_single_card{
  margin-top: 10mm ;
  margin-bottom: 10mm ;
}

.schema_single_card .hp{
  position: absolute;
  right: 0;
  margin: 2.3mm 3.4mm;
  font-size: 7mm;
  font-weight: bold;
  text-decoration: underline 0.5mm;
  top: 0;
  line-height: 8mm;
}


.schema_single_card .rss{
  width: 3.2mm;
  height: 3.2mm;
  border-width: 0.5mm;
  line-height: 5.4mm;
}
.rss.rules{
  width: 2mm;
height: 2mm;
line-height: 8pt;
border-width: 0.4mm;
}
.example .rss.rules{
  width: 1.5mm;
height: 1.5mm;
line-height: 5pt;
border-width: 0.3mm;
}
.rss{
  display: inline-block;
  border-radius: 50%;
  text-align: left;
  border-style: solid;
  font-family: Arial, Helvetica, sans-serif;
}
.rss_type:after{
  position: absolute;
}
.schema_single_card .rss_type:after{    
  margin-left: 0.3mm;
  margin-top: -1.1mm;
  font-size: 10pt;
}
.rss_type.rules:after{  
  margin-left: 0.2mm;
  margin-top: -0.3mm;
  font-size: 6pt;
}
.example .rss_type.rules:after{   
  margin-left: 0.1mm;
  margin-top: -0.1mm;
  font-size: 4.5pt;
}
.rss_fill{
  border-color: #000;
  background-color: #fff;
  color:#000;
}
.rss_no_type:before{    
  color: #000;
  content: "●";
  position: absolute;
  margin-top: -1.6mm;
  font-size: 6.5mm;
  margin-left: -0.7mm;
}
#regles .rss_empty{
  opacity: 0.2;
}
#formulaire .rss_empty{
  opacity: 0.2;
}
.schema_single_card .dgt p{    
  font-size: 4mm;
  padding-right: 1mm;
  margin: 0;
  font-style: normal;
  text-align: right;
}
.schema_single_card .cout.cout_action{
  padding-left: 0.6mm;
  height: 6mm;
}
.schema_single_card .def p, .schema_single_card .tck p{    
  font-size: 7mm;
  padding: 2mm 1.4mm 2.4mm 1.4mm;
  margin: 0;
  font-style: normal;
}
.schema_single_card .def p {
  text-align: left;

}
 .schema_single_card .tck p{    
  text-align: right;
}

#relges .schema_single_card .def p{  
  opacity: 0.2;
}

.schema_single_card .tck p{  
  text-decoration: underline 0.5mm;
}

.schema_single_card .lvl_evolution{
  text-transform: uppercase;
  font-style: italic;
  margin: 0;
  font-size: 3.6mm;
  text-align: left;
  line-height: 4mm;
  opacity: 0.2;
}

.schema_single_card .lvl_evolution_tip{
  font-size: 2.8mm;
  position: absolute;
  width: max-content;
  margin-left: 1.6mm;
  line-height: 3.2mm;
}

#regles .schema_single_card .lvl_evolution{
  opacity: 0.2;
}

.schema_single_card .textBlock{
  width: 100%;
  text-align: center;
  padding: 0mm 1mm;
  box-sizing: border-box;
}

.schema_single_card .card_description , .schema_single_card .specialcard_description {
  text-align: center;
  margin: auto;
  font-size: 2.6mm;
  line-height: 3.2mm;
}

.schema_single_card img{
  max-width: 100%;
  max-height: 100%;
}
.schema_card_head{
  display: table-row;
}
.schema_single_card .image_wrapper{
  padding: 0 ;
  display: table-cell;
  vertical-align: middle;
  padding: 0 4mm;
}
.schema_single_card .wrapper{
  display: table;
  width: 100%;
}
.schema_single_card .col_a{
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  width: 0%;
}
.schema_single_card .col_b{
  vertical-align: middle;
  display: table-cell;
  text-align: center;
  width: 100%;
}
.schema_single_card .col_c{
  text-align: right;
  width: 0%;
  display: table-cell;
  vertical-align: middle;
}
.schema_single_card .schema_card_footer .col_c{
 height: 6mm;
}
.grey img{
  filter: grayscale(1);
  opacity:0.45;
}

.schema_single_card  .specialcard_cost {
  text-align: center;
}
.schema_card_body{    
  display: table-cell;
  height: 100%;
  vertical-align: middle;
  height: 100%;
  text-align: center;
}

.rss_ctg {
  display: table-cell;
  vertical-align: middle;
}
.rss_ctg_img{
padding: 0 2mm;
}
.schema_card_body .wrapper{
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  width: 100%;
  height: 100%;
}
.schema_card_footer{
  display: table-row;
}

input#regles_supp{
  width:100%;
}


span.example{
  margin-top: 4px;
  font-size: 7pt;
  display: block;
  font-style: italic;
}
span.example:before{
  content:"Ex :";
  margin-right:4px;
}


.schema_caption#schema_caption_pioche{
  margin-left: 8mm;
  margin-top: 2mm;
  transform: rotate(-7deg);
}
.schema_caption#schema_caption_pioche2{
  margin-left: 1mm;
  margin-top: -7mm;
  transform: rotate(12deg);
}
.schema_caption#schema_caption_pioche_face_visible{
  margin-left: 18mm;
  margin-top: 19mm;
  transform: rotate(-6deg);
}

.schema_caption#schema_caption_defausse{
  margin-left: 8mm;
  margin-top: 3mm;
  transform: rotate(3deg);
}
.schema_caption#schema_caption_defausse2{
  margin-left: 18mm;
  margin-top: 9mm;
  transform: rotate(7deg);
}
.schema_caption#schema_caption_carte_principale{
  margin-left: 7mm;
  margin-top: -5mm;
  transform: rotate(-23deg);
}
.schema_caption#schema_caption_banc{
  margin-left: -8mm;
  margin-top: -8mm;
  transform: rotate(15deg);
}
.schema_caption#schema_caption_main{
  margin-left: 1mm;
  margin-top: 0mm;
  transform: rotate(9deg);
}
.schema_caption#schema_caption_trophee{
  margin-left: -3mm;
  margin-top: 10mm;
  transform: rotate(-10deg);
}
.schema_caption#schema_caption_carte_zone{
  margin-left: -1mm;
  margin-top: -11mm;
  transform: rotate(5deg);
  text-align: center;
}

.schema_caption#schema_caption_niveau_evolution{    
  margin-left: -26mm;
  margin-top: -5mm;
  transform: rotate(6deg);
}

.schema_caption#schema_caption_cout{
margin-left: -47px;margin-top: -96px;transform: rotate(-1deg);
}

.schema_caption#schema_caption_cout2{
  margin-left: 12mm;
  margin-top: -16mm;
  transform: rotate(2deg);
}
.schema_caption#schema_caption_cout3{
  margin-left: -17mm;
  margin-top: -1mm;
  transform: rotate(6deg);
}

.schema_caption#schema_caption_point_de_vie{
  margin-left: 42mm;
  margin-top: 0mm;
  transform: rotate(-4deg);
  left: 0;
}
.schema_caption#schema_caption_degats{
  margin-left: 15mm;
  margin-top: -4mm;
  transform: rotate(3deg);
}
.schema_caption#schema_caption_degats2{
  margin-left: -23mm;
  margin-top: 3mm;
  transform: rotate(-6deg);
}
.schema_caption#schema_caption_effet_special{
  margin-left: -21mm;
  margin-top: -4mm;
  transform: rotate(-6deg);
}
.schema_caption#schema_caption_defense{    
  margin-left: 29mm;
  margin-top: -6mm;
  transform: rotate(3deg);
}
.schema_caption#schema_caption_ressource_banc{    
  margin-left: -12mm;
  margin-top: 3mm;
transform: rotate(38deg);
}

.recipe_card{
  float: left;
}
.one_card{
  width: 3mm;
  break-inside: avoid;
}

.block_card{
  display:inline-block;
  margin-right:38mm;
  margin-bottom:1mm;
}
.block_rss img {
  max-width: 80%;
}
.rss_top{
float:left;
opacity: 0.2;
font-size: 8mm;
margin-top: -1.6mm;line-height: 8mm;
}
.schema_single_card .rss-categorie{
  text-transform: uppercase;
  font-style: italic;
  opacity: 0.2;
  margin: 0px 1mm;
}
.schema_single_card .bottom-categorie{    
  transform: rotate(180deg);
  margin-top: 4mm;
}
.rss_bottom{
  opacity: 0.2;
  font-size: 8mm;
  line-height: 6mm;
}
.rss_center{    
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-size: 20mm;
}
.schema_single_card h1 {    
  text-transform: uppercase;
  text-align: center;
  font-style: italic;
  font-size: 2.4mm;
  opacity: 0.2;
  margin-bottom: 2mm;
}
.schema_single_card p {
  text-align:center;
  font-size: 2.6mm;
  line-height: 3.2mm;
  margin: 0;
  margin-bottom: 2mm;
}
.action_description p{
  text-align: left;
}
.color_grey{
  color: #BBB;
}
#toolbar , .num_mult{
  display: none;
}
.toDraw .to_draw{
  visibility: hidden;
}
.to_draw{
  visibility: visible;
}

.one_card{
  /*margin-top: -1mm;*/
  width: auto;
  display:inline-block;
  background: #000;
}
.block_card{
  display:inline;
  margin:0;
}

/*.toCut .one_card:before{  
  border-top: 1px #000 solid;
  content: '';
  width: 46mm;
  display: block;
  position: absolute;
  margin-left: -3mm;
  border-bottom: 1px #000 solid;
  height: 59.7mm;
}

.toCut .one_card:after{ 
  border-left: 1px #000 solid;
  content: '';
  width: 39.7mm;
  display: block;
  position: absolute;
  margin-top: -63mm;
  border-right: 1px #000 solid;
  height: 66mm;
}*/
#recipe_card{
  margin-left: 0mm;
  margin-top: 0mm;
  line-height: 0;
}
.rounded .schema_single_card{
  border-radius: 5mm;
}
.schema_single_card{
  border-radius: 0mm;
}
.card_description p .arrow{    
  width: 2mm;
  position: relative;
  display: inline-block;
}
.card_description p .arrow:after{
  content: "▶︎";
margin-top: -2.7mm;
position: absolute;
margin-left: -0.7mm;
}
.num_mult{        
  display: none;
}

.rss_ctg_top{
  float: right;
  opacity: 0.2;
  font-size: 6mm;
  font-weight: bolder;
  margin-top: 0;
}

.rss_ctg_bottom{
  float: left;
  opacity: 0.2;
  font-size: 6mm;
  font-weight: bolder;
  margin-top: 1mm;
}

#recipe h3{
  color: #000;
  font-style: italic;
}
.schema_lines {
  margin-bottom: -2mm;
}

.schema_rss_banc {
  padding-bottom: 1mm;
}

.bouton-mult , .fixed-toolbar{
  display: none;
}

select{
  display: none;
}

.card-wrapper{
  overflow: hidden;
}



.hide_when_selected{
  /*display:block;*/
}

.select-selected , .select-items{
  display: none;
}
.custom-select{
  display: inline;
}
.action_description{
  text-align: left;
  font-size: 2.6mm;
  line-height: 3.2mm;
}
.char_action:not(:first-child) {
  border-top: 0.4mm #bbb dashed ;
  padding-top: 1.4mm;
  margin-top: 1.4mm;
}
.char_action{
  margin-bottom: 0.8mm;
}
.hidden{
  display:none !important;
}
.block_spec .schema_card_footer{
  display: table-row;
  height:16mm;
}
.rss.rss_fill.empty_fill::after {
  content: '●';
  position: absolute;
  font-size: 8mm;
  line-height: 2mm;
  margin-left: -0.8mm;
}