:root {
  --couleur-fond: #aaaaaa;
  --couleur-emphase-text: #9c4dcc;
  --couleur-accent-hover: #6a1b9a;
  --couleur-accent: #38006b;
}

html {
  box-sizing: border-box;
  font-size:62.5%;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  outline: none
}

body {
	display: block;
	min-height: 100vh;
	font-family: raisonnedemibold, sans-serif;
	font-size: 1.5rem;
	color: rgb(1,1,1);
	background-color: #F0F0F3;
	margin: 60px auto;
	border-radius: 10px;
	text-align: justify;
	line-height: 2rem;
  max-width: 1200px
}
/* style du footer */
footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: repeat(5, auto);
	grid-template-areas: "realisation programmation" "hebergement programmation" "reference programmation" "probleme probleme" "online online";
	width: 100%;
	background-color: white;
	text-align: justify;
	font-size: 1.25rem;
	box-shadow: 0px 0px 10px 0px #65656580;
	padding: 10px;
	margin-top: 15px;
	z-index: 0;
	grid-column-gap: 30px;
	grid-row-gap: 10px;
}
footer * {
  margin: 0;
}
.real{
  grid-area: realisation
}
.prog{
  grid-area: programmation
}
.heber{
  grid-area: hebergement
}
.ref{
  grid-area: reference
}
.online{
  grid-area: online;
  text-align: center;
}
.probleme{
  grid-area: probleme;
  text-align: center;
}

/* autres style generaux */
.siecle {
  font-variant:small-caps;
}

.couleur {
  color: var(--couleur-accent);
}

a {
  text-decoration: none;
  color: var(--couleur-emphase-text);
  cursor: pointer;
}

a.disabled {
  color: red;
}

b {
  text-decoration: none;
  color: var(--couleur-accent);
  cursor: text;
  font-weight: 700;
  font-style: normal;
}

/* style general pour les tableaux*/

th,table, tr, td {
  border: thin solid ;
  border-collapse: collapse;
  padding:5px;
  text-align: left;
}
table {
  overflow-x: auto;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length{
  margin-bottom: 10px;
}

th {
  background-color: var(--couleur-accent);
  color: white;
  font-weight: bold;
  position: sticky;
  top: 36px;
  border: none;
}
@media screen and (max-width: 1224px) {
  th{
    top: 48px;
  }
}
@media screen and (max-width: 769px) {
  th{
    top: 0;
  }
}

/*autres styles generaux*/

h1 {
  line-height: 25px;
  margin: 0;
  padding: 0;
  padding-top: 10px;
  /*font-size: 3rem;
  text-transform: uppercase;*/
}


h2 {
  font-size: 2rem;
  font-style: normal;
  font-weight:bold;
  color: var(--couleur-emphase-text);
  margin: 5px 0px 5px;
}

/* les sélecteurs "target" sont utilisés pour éviter que les ancres (h2 à h4) ne soient masquées par la barre de menu en position fixed */

h2:target {
  padding-top: 50px;
  margin-top: -50px;
}


h3 {
  font-size: 1.6rem;
  color: var(--couleur-emphase-text);
  margin: 5px;
}

h3:target {
  padding-top: 50px;
  margin-top: -50px;
}

h4 {
  font-size: 1.5rem;
  /*text-decoration: underline;*/
  padding-left: 2em;
  color: var(--couleur-emphase-text);
  margin: 5px;
}
h4:target {
  padding-top: 50px;
  margin-top: -50px;
}
i {
  font-family: times;
}
code {
  text-transform: capitalize;
  font-family: inherit;
  font-weight: 400;
}
button,
input[type=button],
input[type=submit],
input[type=text],
input[type=search],
select,
.paginate_button {
  border-radius: 3px;
  border: solid 1px lightgray;
  background: 0;
  padding: 1px 15px;
}
select optgroup{
  background: #EAEAEA;
}
input[type=text]{
  padding: 3px 15px;
}
button:hover,
input[type=button]:hover,
input[type=submit]:hover,
input[type=text]:hover,
input[type=search]:hover,
select:hover  {
  border-bottom: solid 2px lightgray;
  padding-bottom: 0px;
}
input[type=text]:hover{
  padding-bottom: 2px
}
/* Styles des éléments du "header"*/
@media all and (min-width : 769px) {
  header {
    position:fixed;
  }
}
header {
  background: var(--couleur-accent);
  margin:0 0 0 0;
  top: 0;
  left: 0;
  right: 0;
  height:auto;
  z-index: 1000;
}

.hr_pointilles_gris
{
  border-top: 1px dashed grey ;
  margin-bottom:50px;
  margin-left:50px;
  margin-right:50px;
}

main {
  background: rgba(255,255,255,0.97);
  text-align:justify;
}


/* Styles du cartouche en haut de chaque page */

.cartouche {
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 50px;
  background-color: white;
  box-shadow: 0px 5px 10px 0px #65656580;
  font-style:italic;
}

.cartouche a {
  text-decoration: none;
  color: var(--couleur-accent);
  font-size: 2rem;
  font-weight:bold;
  font-style:normal;
  line-height:25px;
  padding-top:10px;
}

.cartouche h1 {
  font-style: normal;
  color: var(--couleur-accent);
  /*text-transform: uppercase;*/
}

#contenu {
  padding:20px;
  margin-bottom: 15px;
}

.contenu {
  background-color: white;
  box-shadow: 0px 5px 10px 0px #65656580;
  padding:20px;
}

.sommaire {
  font-weight:bold;
}

.titre {
  font-size: 1.6rem;
}

.titre_partie {
  margin-left: 2%;
}

.titre_sous_partie {
  margin-left: 4%;
  font-size: 1.4rem;
}

.paragraphe_en_retrait {
  margin-left: 5%;
}

.tableau {
  margin: 3% 5% 3% 5%;
  text-align: center;
}

.table {
  width: 100%;
  height: 100%;
}

.table_5ligne {
  float: left;
  margin: 10px;
  width: 230px;
}
.illustration {
  margin: 3% 5% 3% 5%;
  text-align: center;
}

.image {
  width: 100%;
  height: 100%;
}

.legende {
  font-size: 1.4rem;
  text-align: center;
  font-style: italic;
}

.notes {
  font-size: 1.4rem;
  text-align:justify;
  line-height: 1.5rem;
}

.input {
  width:200px;
}

.notice_precedente {
  font-weight: bold ;
}

.notice_suivante {
  font-weight: bold ;
}

.entite_carte_survol {
  display:none;
}

.entite_carte_survol:hover {
  cursor:help;
  display;inline;
}

/*acceuil*/
.AC_titre {
  font-size: 2em;
}
/*article*/
.article {
  text-align: justify;
  text-indent:0;
}

.colonne {
  column-count: 2;
}



/* CSS Document */
.menu {
  width: 100vw;
}

.bouton_connexion {
  position: absolute;
  right: 20px;
  display: block;
  padding: 0;
  color: #FFF;
  font-size: 1.35rem;
}

.toggle,
[id^=drop] {
  display: none;
  text-transform: uppercase;
}

/* Giving a background-color to the nav container. */
nav {
  position: relative;
  z-index: 1000;
  margin:0;
  padding: 0;
  background-color: var(--couleur-accent);
  text-align:left;
}

nav * {
  text-transform: uppercase;
}

/* Since we'll have the "ul li" "float:left"
* we need to add a clear after the container. */

nav:after {
  content:"";
  display:table;
  clear:both;
}

/* Removing padding, margin and "list-style" from the "ul",
* and adding "position:relative" */
nav ul {
  float: left;
  padding:0;
  margin:0;
  list-style: none;
  position: relative;
}

/* Positioning the navigation items inline */
nav ul li {
  margin: 0px;
  display:inline-block;
  float: left;
  background-color: var(--couleur-accent);
}

/* Styling the links */
nav a {
  display:block;
  padding:8px 8px;
  color:#FFF;
  font-size:1.35rem;
  text-decoration:none;
}


nav ul li ul li:hover { background: var(--couleur-accent-hover) }

/* Background color change on Hover */
nav a:hover {
  background-color: var(--couleur-accent-hover);
}


/* Hide Dropdowns by Default
* and giving it a position of absolute */
nav ul ul {
  display: none;
  position: absolute;
  /* has to be the same number as the "line-height" of "nav a" */
  top: auto;
}
nav ul ul ul{
  left: 170px;
  top:0;
}

/* Display Dropdowns on Hover */
nav ul li:hover > ul {
  display:inherit;
}

/* Fisrt Tier Dropdown */
nav ul ul li {
  width:170px;
  float:none;
  display:list-item;
  position: relative;
}

/* Second, Third and more Tiers
* We move the 2nd and 3rd etc tier dropdowns to the left
* by the amount of the width of the first tier.
*/
nav ul ul ul li {
  position: relative;
  /* has to be the same number as the "width" of "nav ul ul li" */
}


/* Change ' +' in order to change the Dropdown symbol */
li > a:after { content:  ' '; }
li > a:only-child:after { content: ''; }


/* Media Queries
--------------------------------------------- */

@media all and (max-width : 780px) {

  main {
    padding-top:5px;
  }

  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }

  nav {
    margin: 0;
  }

  /* cache le menu de navigation par défaut */
  .toggle + a,
  .menu {
    display: none;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* style des items du menu */
  .toggle {
    display: block;
    background-color: var(--couleur-accent);
    padding:14px 20px;
    color:#FFF;
    font-size:17px;
    text-decoration:none;
    border:none;
  }

  .toggle:hover {
    background-color: var(--couleur-accent-hover);
  }

  /* affiche les sous menus au click sur l'item parent */
  [id^=drop]:checked + ul {
    display: block;
  }

  /* lageur des items a 100% du viewport */
  nav ul li {
    display: block;
    width: 100%;
  }

  nav ul ul .toggle,
  nav ul ul a {
    padding: 0 40px;
  }

  nav ul ul ul a {
    padding: 0 80px;
  }

  nav a:hover,
  nav ul ul ul a {
    background-color: var(--couleur-accent-hover);
  }

  nav ul li ul li .toggle,
  nav ul ul a,
  nav ul ul ul a{
    padding:14px 20px;
    color:#FFF;
    font-size:17px;
  }


  nav ul li ul li .toggle,
  nav ul ul a {
    background-color: var(--couleur-accent-hover);
  }

  /* Hide Dropdowns by Default */
  nav ul ul {
    float: none;
    position:static;
    color: #ffffff;
    /* has to be the same number as the "line-height" of "nav a" */
  }

  /* Hide menus on hover */
  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }

  /* Fisrt Tier Dropdown */
  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul ul li {
    position: static;
    /* has to be the same number as the "width" of "nav ul ul li" */

  }

  .bouton_connexion {
    position: initial;
    display: block;
    right: 0;
    padding: 0;
    color: #FFF;
    font-size: 1.35rem;
  }

  .connexion {
    position: initial;
    display: block;
    right: 0;
    padding: 0;
    color: #FFF;
    font-size: 1.35rem;
  }
}

@media all and (max-width : 330px) {
  nav ul li {
    display:block;
    width: 94%;
  }
}

/*style relatif a la page sources*/
.S_table {
  width: 100%;
  max-width: 500px;
}
.S_table tbody {
  width: 100%;
}
.S_coteTitre {
  min-width: 400px;
}
.S_FIB {
  width: 20%;
}
.S_date {
  width: 20%;
}
.S_nom {
  width: 45%;
}
.S_CAC {
  width: 20%;
}
ul.tirets {
  list-style: none;
  padding: 0;
}
ul.tirets > li {
  padding-left: 15px;
  padding-top: 3px;
}
ul.tirets > li::before {
  display: inline-block;
  content: "-";
  width: 15px;
  margin-left: -15px;
}
p.disclaimer {
  border-left: solid 5px #d32f2f;
  background: #d32f2f99;
  color: white;
  text-transform: uppercase;
  padding: 5px 15px;
  font-weight: bold;
}
.nom {
  text-transform: uppercase;
}
.fiche_lien{
  cursor: pointer;
  text-decoration: none;
  color: var(--couleur-accent);
  font-size: 1.5rem;
  font-weight:bold;
  font-style:normal;
  border: none;
  background-color:white;
  vertical-align: middle;
}
