/*
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: 12px;}  /*12px*/

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

body a {
  color: #131516;
}

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

h1 {font-size: 1.383em;}
h2 {font-size: 1.296em;}
h3 {font-size: 1.215em;}
h4 {font-size: 1.138em;}
h5 {font-size: 1.067em;}
p {margin-bottom: 1.15rem;}

small, .text_small {font-size: 0.937em;}
strong, .bold{font-weight: bold;}
.text-center {text-align: center !important;}
.text-justify {text-align: justify !important;}
/* html body */


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

  @bottom-center{
    margin-top: 15px;
    border-top: thin black solid;
    content: string(articleid)"/"counter(page);
    font-size: 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();}
.articleid {display: none;string-set: articleid content();}


#autheurprem{padding-bottom: 10px;}
#auteur {padding-bottom: 10px;margin: 0 20px;}
#auteur p{padding: 2px 0; margin:0; line-height: initial;}
#auteur .nomprenom{padding: 2px 0; margin:0; line-height: initial;}
#auteur div.affiliation{font-size: 10px;display: inline;}
#auteur p.description:first-child {display: inline;}
#auteur p.description:not(:first-child) {padding-left: 20px;}

#resume {margin: 0 20px;}
#resume .resume_content{line-height: 1.5;}
#resume .resume_content p.resume {display: inline;}
div.keywords, #resume div.resume {padding-bottom: 10px;}
/*#resume .resume .resume_content {padding-left: 10px;}*/
#resume .keywords .bold {font-weight: bold;}

/* body */
/* section.content */
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;
}

.bodergreen{
  border: 1px solid green;
}

/*section.content #texte */
section.content #texte {text-align: justify;}
section.content #texte .figure,
section.content #texte .tableau{
  page-break-inside: avoid;
  margin: 20px auto;
  padding-bottom: 15px;
}

section.content #texte .figure p,
section.content #texte .tableau p{margin-bottom: 1rem;}
section.content #texte .figure img {padding: 0;}
section.content #texte .titreillustration,
section.content #texte .titreillustration span{font-weight: bold !important;}
section.content #texte table{
  /*margin-top: 20px; 
  margin-bottom: 20px;*/
  margin: 20px auto;
  padding-top: 15px;
  padding-bottom: 15px;
  text-align: left;
  border-collapse: collapse;
  width: 100%;
  page-break-inside: avoid;
  font-size: 90%;
}
section.content #texte table td{border:1px solid #aaa;vertical-align:top;padding: 2px 3px;}
section.content #texte table p{margin:0}

section.content #texte p.titreillustration{font-weight: bold;}
section.content #texte p.legendeillustration {
  display: block;
  font-size: smaller;
  color: #555;
}

section.footer{padding-top:25px;}
