@charset "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Roboto');

:root {
  box-sizing: border-box;

  --primary: #5963ff;
  --hover-color: #52fded;
  --dark: #4233a8;
  --dark_menu:black; /*Fond menu */
  --toogle_menu:red; /*Fond menu */
  --light: white;
  --header-bg: var(--primary);
}
.mybanner{
  background-position-x: right;
  
  position: relative;
  width: 100%;
  margin-top: 3em;
  margin-bottom: 10px;
  padding-left: 1em;
  border: 1px solid #6d7673;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -moz-box-shadow: 0 0 10px #6d7673;
  -webkit-box-shadow: 0 0 10px #6d7673;
  box-shadow: 10px;
  z-index: 2;
}
.mybanner p{
  font-style: oblique;
  font-size: 1.2em;
}
body{
    margin: 0;
     padding: 0;
     font-family: 'Roboto', sans-serif;
     position: absolute;
  width: 100%;
  background: var(--light);
}
main{
    padding-left: 1em;
    padding-right: 1em;
    text-align: justify;
    top: 65px;
    position: absolute;
}
/* Menu principal */
  .menu, .submenu, .subsubmenu {
    list-style: none;
    margin: 0;
    padding: 0;
    
  }

  .menu > li {
    /* background: #3498db; */
    color: white;
    padding: 0 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
    background: transparent;
    /* position: absolute; */
    z-index: 100;
    line-height: 65px;
  }

  /* Sous-menus cachés par défaut */
  .submenu, .subsubmenu {
    display: none;
    background: var(--dark_menu);
    position: absolute;
    top: 80%;
    left: 30%;
    min-width: 180px;
    z-index: 10;
    line-height: 35px;
  }

  /* Sous-sous-menu positionné à droite du sous-menu */
  .subsubmenu {
    top: 80%;
    left: 30%;
    background:var(--dark_menu);
  }

  .submenu > li, .subsubmenu > li {
    /* padding: 10px 15px; */
    padding: 0px 10px;
    cursor: pointer;
    position: relative;
  }
  

  .submenu > li:hover, .subsubmenu > li:hover {
    background: var(--header-bg);
    line-height: 35px;
  }

  .has-submenu > li, .has-subsubmenu > li{
      padding: 0px 10px;
      line-height: 35px;
  }
  .has-submenu > span, .has-subsubmenu > span{
  padding-left: 20px;
  }

  /* Affichage au survol pour desktop */
  @media (hover: hover) and (pointer: fine) {
    .menu > li:hover > .submenu {
      display: block;
    }
    .submenu > li:hover > .subsubmenu {
      display: block;
    }
  }

  /* Icônes pour indiquer la présence de sous-menus */
  .has-submenu::after {
    content: " ▼";
    font-size: 0.7em;
  }
  .submenu > .has-subsubmenu::after {
    content: " ▶";
    float: right;
  }

  /* Styles pour menu mobile */
  @media (max-width: 768px) {
    .menu, .submenu, .subsubmenu {
      position: static;
      background: #3498db;
      width: 100%;
    }
    .submenu, .subsubmenu {
      display: none; /* cachés par défaut */
    }
    .submenu > li, .subsubmenu > li {
      background: #2980b9;
    }
    .submenu > li:hover, .subsubmenu > li:hover {
      background: #2980b9;
    }
  }
  
 .navigation {
     height:65px;
     background: linear-gradient(45deg, #4199fe, #74b4fe);
     position: absolute;
    z-index: 100;
}

.brand {
  position: absolute;
  background-image: url("../../i/new_logo.svg");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  height: 65px;
}
.brand p {
   font-size:0.8em;
   padding-left: 75px;
   color: white;
   padding-top: 1em;
}
 .brand a, .brand a:visited {
     color: #ffffff;
     text-decoration: none;
}
 .nav-container {
    /* max-width: 1000px; */
     margin: 0 auto;
}
 nav {
    float: left;
  padding-left: 10em;
}
 nav ul {
     list-style: none;
     margin: 0;
     padding: 0;
}
 nav ul li {
     float: left;
     position: relative;
}
 nav ul li a,nav ul li a:visited {
     display: block;
     padding: 0 20px;
     line-height: 65px;
     color: #fff;
     background: var(--dark_menu) ;
     text-decoration: none;
}
 nav ul li a{
     background: transparent;
     color: #FFF;
}
 nav ul li a:hover, nav ul li a:visited:hover {
     background: var(--header-bg);
     color: #ffffff;
}
 .navbar-dropdown li a{
     background: var(--dark_menu);
}
 nav ul li a:not(:only-child):after, nav ul li a:visited:not(:only-child):after {
     padding-left: 4px;
     content: ' \025BE';
}
 nav ul li ul li {
     min-width: 190px;
}
 nav ul li ul li a {
     /* padding: 15px;
     line-height: 20px; */
     line-height: 35px;
}
 .navbar-dropdown {
     position: absolute;
     display: none;
     z-index: 1;
     background: #fff;
     box-shadow: 0 0 35px 0 rgba(0,0,0,0.25);
}
section{
color:#555;
background: var(--light);
text-align:justify;
width: 100%;
/* margin:10px 20px; */
padding:0;
}
ol{
	padding:20px;
}
summary:before {
		content: counter(section) ". " ;
		}
details{
			counter-increment: section;
    }
summary{
			text-align: left;
			font-size: 16pt;
			font-weight: bold;
			counter-reset: subsection;
			cursor: pointer;
}

h1{
    font-size: 2em;
  margin-left: 0px;
}
h2:before {
    content: counter(section) "." counter(subsection) ". "
}
h2{
    counter-increment: subsection;
	counter-reset: subsubsection;
}
h3:before {
    content: counter(section) "." counter(subsection) "." counter(subsubsection) ". "
}
h3{
    counter-increment: subsubsection;
}
h5{
    font-size: 1.5em;
}

/* Mobile navigation */
 .nav-mobile {
     display: none;
     position: absolute;
     top: 0;
     right: 0;
    /* background: transparent; */
     height: 65px;
     width: 70px;
     background: var(--toogle_menu);
}
input[type="submit"],input[type="file"] {
  padding: 5px 15px;
  background: var(--primary);
  border: 0 none;
  cursor: pointer;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: white;

}
 @media only screen and (max-width: 800px) {
     .nav-mobile {
         display: block;
    }
     nav {
         width: 100%;
         padding: 65px 0 15px;
    }
     nav ul {
         display: none;
    }
     nav ul li {
         float: none;
    }
     nav ul li a {
         padding: 15px;
         line-height: 20px;
         background: var(--dark_menu);
    }
     nav ul li ul li a {
         padding-left: 30px;
    }
     .navbar-dropdown {
         position: static;
}
 @media screen and (min-width:800px) {
     .nav-list {
         display: block !important;
    }
}
 #navbar-toggle {
     position: absolute;
     left: 18px;
     top: 15px;
     cursor: pointer;
     padding: 10px 35px 16px 0px;
}
 #navbar-toggle span, #navbar-toggle span:before, #navbar-toggle span:after {
     cursor: pointer;
     border-radius: 1px;
     height: 3px;
     width: 30px;
     background: #ffffff;
     position: absolute;
     display: block;
     content: '';
     transition: all 300ms ease-in-out;
}
 #navbar-toggle span:before {
     top: -10px;
}
 #navbar-toggle span:after {
     bottom: -10px;
}
 #navbar-toggle.active span {
     background-color: transparent;
}
 #navbar-toggle.active span:before, #navbar-toggle.active span:after {
     top: 0;
}
 #navbar-toggle.active span:before {
     transform: rotate(45deg);
}
 #navbar-toggle.active span:after {
     transform: rotate(-45deg);
}
 