/*----------------------*/
/*généralités*/
/*----------------------*/

/*modification de certaines variables de couleur*/
/*body{
    --color-highlight-on-target:lightgrey !important;
    --color-sidebar-item-background--hover:#3EBEE6 !important;
    --color-sidebar-item-expander-background--hover : #3EBEE6 !important;
    --color-table-border : #132B3D !important;
    --color-sidebar-link-text--top-level : #132B3D !important;
    --color-sidebar-link-text:#132B3D !important;
    --color-toc-item-text--active:#132B3D !important;
    --color-toc-item-text : #132B3D !important;
    --font-size--small: 80%;
    --font-size--small--2: 80%;
    --font-size--small--3: 80%;
    --font-size--small--4: 80%;
    
}*/

/*  police*/
body{
    font-family: 'Open Sans', sans-serif;
}

div.main{
    width:80%;
}

/*les scroll bar des menus */
div.sidebar-scroll {
    scrollbar-width: auto ;
}
div.toc-scroll{
    scrollbar-width: auto ;
}

/*----------------------*/
/*gestion de la partie TOC*/
/*----------------------*/
aside.sidebar-drawer{
    width:20%;
}

div.sidebar-container{
    width:100%;
}

/*zone de recherche*/

form.sidebar-search-container{
    background-color : transparent !important;
    border : 1px solid var(--color-sidebar-search-border);
    border-radius: 15px;
    margin-left : 15px;
    margin-right:20px;
}

input.sidebar-search{
    border:none !important;
    font-weight: bold;
}

/*les menus*/

a.current {
    background : inherit;
}

/*----------------------*/
/*gestion de la partie sommaire (toc droite) */
/*----------------------*/
aside.toc-drawer{
    padding:0;
    width:20%;
    padding-right:0px;
    border-left : 1px solid var(--color-sidebar-background-border);
    background-color: var(--color-sidebar-background);
}

div.toc-title-container{
    padding-top : 40px;
    padding-bottom:40px;
}

span.toc-title{
    font-size: inherit;
}

span.sidebar-brand-text{
    text-align: center;

}

/*Gestion du toc-tree sur la droite de la page*/
/*22/02/2023 BMR : améliorations graphique */


li.scroll-current > a.reference{
    color : #3EBEE6 !important;
    font-weight: normal;
}
li.scroll-current {
    color : #3EBEE6 !important;
    font-weight: normal;
}

div.toc-tree a.reference:hover{
    /*font-weight:bold;*/
    color : #3EBEE6 !important;
}

div.toc-tree {
    border:none !important;
}

div.toc-tree * {
    padding-left:0px !important;
}

div.toc-tree > ul > li > ul > li::before {
    content : "■ " ;
    color : #3EBEE6 !important;
    font-size: 1em !important;
}

div.toc-tree > ul > li > ul > li::before {
    content : "■ " ;
    color : #3EBEE6 !important;
    font-size: 1em !important;
}

div.toc-tree > ul > li > ul > li > ul > li::before {
    content : "■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1em !important;
}

div.toc-tree > ul > li > ul > li > ul > li > ul > li::before {
    content : "■ ■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1em !important;
}

div.toc-tree > ul > li > ul > li > ul > li > ul > li > ul > li::before {
    content : "■ ■ ■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1em !important;
}


/*----------------------*/
/*gestion du pied de page*/
/*----------------------*/

/*on masque totalement les previous et next*/
div.related-pages{
    display: none !important;
}

/*----------------------*/
/*gestion des articles. */
/*----------------------*/

div.content{
    width: inherit;
    padding:2em 2em 0;
}

article{
    line-height: 1.25;
}


div.content  h1{
    font-size : 2em;
    margin : 20px 20px 20px 0;
    text-transform: uppercase;
}

div.content h2 {
    font-style : normal;
    margin : 20px 20px 20px 0;
    line-height: 1.2;
    font-size: 1.7em;
}

div.content h2::before{
    content : "■ " ;
    color : #3EBEE6 !important;
    font-size: 1.7rem !important;
  }

div.content h3 {
    font-style : normal;
    line-height: 1.5;
    font-size: 1.5em;
}

div.content h3::before{
    content : "■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1.5rem !important;
  }


  div.content h4::before{
    content : "■ ■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1.2rem !important;
  }


  div.content h5::before{
    content : "■ ■ ■ ■ " ;
    color : #3EBEE6 !important;
    font-size: 1.2rem !important;
  }
  
  th{
	  top:0;
	  position: sticky;
  }

  /* thead{
    top:0;
    position: sticky;
} */

table.docutils td{
    border : 1px solid !important;
}

 /* div.content p{
    text-align : justify;
    text-indent : 0px !important;
    padding : 0 !important; 
  }*/
  /*Modification pour ne pas justifier les tableaux */
  section > p{
    text-align : justify;
    text-indent : 0px !important;
    padding : 0 !important; 
  }

  div.content p {
    font-size: 90%;
  }

  blockquote {
    text-align : justify;
  }


div.content  i, div.content em {
	font-size : 100%;
}


div.content ul, div.content ol, div.content li{
  margin : 10px 10px 5px 20px !important;
  text-align : left;
  text-indent : 0px;
  padding : 0;
}

div.content blockquote{
    margin : 10px 0px 10px 0px;
    padding : 5px 30px 5px 30px;
    background : var(--color-brand-content);
    -moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

div.content ul>li{
    list-style: square;
}

/*gestion du bouton "back to top"*/
a.back-to-top{
    background-color: #3EBEE6;
    
}
a.back-to-top > *{
    color : #132B3D;
}

/*gestion des tableaux */
div.content table, div.content thead{
    border : 1px solid var(--color-table-border);
}

table.docutils{
    box-shadow: none;
}

/*Gestion des span nolink pour les mots artis.net*/
span.artisnolink > a {
    font-style: bold !important;
    cursor: default !important;
    pointer-events: none !important;        
    text-decoration: none !important;
    color: var(--color-code-foreground);
}

/*Gestion du texte des tableaux*/
/*BMR le 22/02/2023 : suppression de l'alignement automatique à gauche pour laisser le choix au rédacteur du .md. */
table.docutils  p {
 font-size: 0.8em !important;
 /*text-align: left;*/
}

/*Gestion des balises Details*/
summary{
 cursor:pointer;

}

/*Gestion des onglets */
div.sd-tab-content{
    box-shadow: none;
    border-style: solid;
    border-width: 0.15em;
    border-color:var(--color-brand-content);
    padding-top:0;
    padding-bottom:0;
    border-bottom-left-radius:10px;
    border-bottom-right-radius:10px;
    border-top:none;
    border-bottom:none;
    border-right:none;
}

div.sd-tab-set > input:checked + label {
    
    border-bottom: none;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    border-style: solid;
    border-width: 0.15em;
}

/*Gestion des détails - dropdowns*/

details{
    border-style:solid !important;
    border-width: 0.15em !important;
    box-shadow: none !important;
    border-color:var(--color-brand-content) !important;
    padding-left:0px;
    border-top:none !important;
    border-right:none !important;
    border-bottom:none !important;
    background-color: transparent !important;
}

summary{
    border-style:solid !important;
    border-width: 0.15em !important;
    box-shadow: none !important;
    border-color:var(--color-brand-content) !important;
    padding-left:0px;
    border-top:none !important;
    border-right:none !important;
    border-bottom:none !important;
    background-color: transparent !important;
}

details.sd-dropdown > summary{
    background-color: transparent;
    box-shadow: none;
}

article img{
    transition: transform .1s;
}

img.nozoom:hover{
    -ms-transform: scale(1); /* IE 9 */
    -webkit-transform: scale(1); /* Safari 3-8 */
    transform: scale(1);
    position:static;
    z-index:inherit;
}

article img:hover{
    -ms-transform: scale(1.5); /* IE 9 */
    -webkit-transform: scale(1.5); /* Safari 3-8 */
    transform: scale(1.5);
    position:relative;
    z-index:1000;
}
