/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 22 avr. 2020, 17:42:52
    Author     : sdanhieux
*/
html {font-size: 87.5%;} /*14px*/

body {
  background-color: white;
  font-family: Times, Serif;
  font-weight: 400;
  line-height: 1.65;
  color: #333;
  max-width: 842px;
  margin: 55px auto;
  page: body;
}

body a {
  color: #131516;
}

h1, h2, h3, h4, h5 {
  margin: 2.75rem 0 1.05rem;
  font-weight: 800;
  line-height: 1;
}

h1 {font-size: 1.802em;}

h2 {font-size: 1.602em;}

h3 {font-size: 1.424em;}

h4 {font-size: 1.266em;}

h5 {font-size: 1.125em;}

small, .text_small {font-size: 0.889em;}
strong, .bold{font-weight: bold;}
/* html body */


@page {
  size: A4;
  font-family: Times, Serif;
  text-align: justify;
  color: #131516;
  prince-page-fill: prefer-balance;

  @bottom-center{
    border-top: thin black solid;
    content: counter(page);
  };

  /*@top-left-corner{
    content: element(logo);
    padding: 10px;
  };*/

}

@page body:right {
  @top-left {
    content: element(header);
    vertical-align: center;
    border-bottom: thin black solid;
    margin-bottom: 15px;
  }
}

@page body:left {
  @top-left {
    content: string(shorttitle);
    font-size: 12px;
    vertical-align: center;
    border-bottom: thin black solid;
    margin-bottom: 15px;
  }
}

/*#logo {position: running(logo);}*/
#logo{max-height: 32px;}
.topregion {position: running(header);}
.topregion #titreperiodique{font-style: italic;}
.shorttitle {display: none;string-set: shorttitle content();}

#autheurprem{padding-bottom: 10px;}
#auteur {padding-bottom: 10px;}
#auteur p{padding: 2px 0;}
#auteur p .nomprenom{font-weight: bold;}

#resume .resume_content{line-height: 1.5;}
div.keywords, #resume div.resume {padding-bottom: 10px;}
#resume .resume .resume_content {padding-left: 10px;}
#resume .keywords .bold {font-weight: bold;}

/* body */
section.content {
  /*break-before: page;*/
  /*counter-reset: page 1;*/
  prince-page-group: start;
  page: body;
  text-align: justify;
}

section.content h1 a,
section.content h2 a,
section.content h3 a,
section.content h4 a,
section.content h5 a,
section.content h6 a {
  text-decoration: none;
}
section.content ul li p {margin:0;}
section.content img {
  max-width: 595px;
  max-height: 900px;
  margin: 0px auto;
  padding: 25px 0;
  display: block;
}

section.content #texte .titreillustration,
section.content #texte .titreillustration span{font-weight: bold !important;}

/*section.content #texte .text img,*/
section.content #texte .titreillustration,
section.content #texte table,
section.content #texte p.legendeillustration{
  margin-top: 20px; 
  margin-bottom: 20px;
  padding-bottom: 15px;
}

section.content #texte table {
  border-collapse: collapse;
  width: 100%;
  page-break-inside: avoid;
}

section.content #texte table p{margin:0}

section.content #texte p.legendeillustration {
  display: block;
  text-align: center;
  color: #555;
}

section.content #texte p.legendeillustration::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 50%;
  padding-top: 20px;
  border-bottom: 1px solid #999;
}