html {
  scroll-behavior: smooth;
}

footer {
  position: relative;
  width: 100%;
}

nav.navigation ul {
  padding-inline-start: 0px;
  padding-left: 0;
  padding-top: 10px;
}

#scrollUp {
  position: fixed;
  bottom : 10px;
  right: 50px;
  opacity: 0.5;
}

ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.menu{
  display: block;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.8em;
  font-weight: 400; 
  font-style: normal;
  word-spacing: normal;
  letter-spacing: normal;
  text-rendering: optimizeLegibility;
  line-height: 1.8em;
  color:#444;
  text-align: justify;
}

h1 {
  font-size: 2em;
  font-weight: 300;
  line-height: 8em;
  text-transform: uppercase;
  color: #BDBDBD;
}
h2 {
  font-size: 1.4em;
  font-weight: 400;
  line-height: 1em;
  margin-bottom: 0em;
}

p {
  font-size: 1.16em;
  line-height: 4em;
}

p svg {
  display: inline-block;
  vertical-align: middle;
}

a {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 100%;
  color: #333;
}

a:hover {
  text-decoration: none;
}


.codepen-style {
  padding: 2em 0 0 0;
}

.codepen-style h1 {
  font-family: 'Open Sans', sans-serif;
  font-size:3em; 
  font-weight: 300;
  color:#000;
  line-height:1.8em;
  text-transform: none;
}

.codepen-style h1 span {
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  color: red;
}

.codepen-style h2 {
  font-weight: 300;
  text-transform: none;
}

.codepen-style h2 a {
  font-weight: 700;
}

body {
  background: #f1f1f1;
}

.navigation {
  height: auto;
  width: 100%;
  display: block;
  box-shadow: #D4D4D4 -1px 1px, #D4D4D4 -2px 2px, #D4D4D4 -3px 3px, #D4D4D4 -4px 4px, #D4D4D4 -5px 5px, #D4D4D4 -6px 6px;
  transform: translate3d(4px, 0px, 0);
  background-color: #D4D4D4; 
}

.navigation li {
  width: 100%;
}

.navigation a {
  display: block;
  padding: 0.5em 0 0.5em 1em;
  margin: 0;
  line-height: 2em;
  font-weight: 400;
  color: #333;
  text-transform: uppercase;
}

.navigation a:hover {
  background-color: #666;
  color: #333;
  box-shadow: -1px 1px, -2px 2px, -3px 3px, -4px 4px;
  transform: translate3d(4px, -4px, 0);
  transition: .15s;
}

.navigation a > span:after {
  content: " /";
  padding-left: 0.2em;
}

.navigation li:nth-child(1) a {
  background-color: #00FF96;
}

.navigation li:nth-child(2) a {
  background-color: #CE2A01 ;
}

.navigation li:nth-child(3) a {
  background-color: #FF6524 ;
}

.navigation li:nth-child(4) a {
  background-color: #FFA300 ;
}

.navigation li:nth-child(5) a {
  background-color: #FFCD00 ; 
}

.navigation li:nth-child(6) a {
  background-color: #82F62B ; 
}

.navigation li:nth-child(7) a {
  background-color: #6FB3FF ; 
}

.navigation li:nth-child(8) a {
  background-color: #DBDCDC ; 
}

/*a rajouter*/

.navigation li:nth-child(1) a:hover,
.navigation li:nth-child(2) a:hover,
.navigation li:nth-child(3) a:hover,
.navigation li:nth-child(4) a:hover,
.navigation li:nth-child(5) a:hover,
.navigation li:nth-child(6) a:hover,
.navigation li:nth-child(7) a:hover,
.navigation li:nth-child(8) a:hover {
  background-color: #666;
}

.navigation svg {
  width: 30px;
  height: 1.5em;
  vertical-align: text-top;
}

svg {
  opacity:1;
  fill-opacity:1;
  fill-rule:nonzero;
  vertical-align: top;
  fill: #333;
}

.navigation a:hover svg {
  fill: #333;
}

.navigation span{
  display: inline-block;
  padding-left: 0.5em;
}

.home {
  fill: #00FF96; 
}

.about {
  fill: #CE2A01; 
}

.work {
  fill: #FF6524; 
}

.lab {
  fill: #FFA300; 
}

.contact {
  fill: #FFCD00; 
}

.communaute {
  fill: #DBDCDC; 
}

.groupe {
  fill: #82F62B; 
}

.equip{
  fill: #6FB3FF; 
}

.box-filariane{
  display: none;
}

@media only screen and (min-width: 1024px) {

  .box-filariane{
    display:block;
    margin: 0;
    padding: 0;
    width: auto;
    margin-left: 10em;
    vertical-align: top;
  }
  
  .filariane{
    display: inline-block;
    color: #999;
    padding: 0.2em 1em;
    font-size: 11.5px;
    vertical-align: top;
    height: 22.6px;
    line-height: 20px;
    position: absolute;
  }
  
  .finfil {
    color: white;
  }
  
  .leftarrow{
    margin-left: -1.3em;
  }

  .navigation li:nth-child(1) a:hover,
  .navigation li:nth-child(2) a:hover,
  .navigation li:nth-child(3) a:hover,
  .navigation li:nth-child(4) a:hover,
  .navigation li:nth-child(5) a:hover,
  .navigation li:nth-child(6) a:hover,
  .navigation li:nth-child(7) a:hover,
  .navigation li:nth-child(8) a:hover {
    background-color: #666;
    width: 14em;
  }

  #scrollUp {
    right: 50px;
  }

  .box {
    margin-top: 2em;
    display: inline-block;
    width: 20%;
    text-align: center;
    border: 1px solid #333;
    padding: 0.2em;
    padding-bottom: 0.5em;
    margin-right: 0.5em;
  }

  .logo {
    margin-right :2em;
  }

  body {
    padding: 0em 0 0 4em;
  }

  .presentation,.body {
    margin-left: 10em;
    text-align: justify;
  }

  .body {
    margin-right: 5em;
  }

  footer div.body {
    margin-right: 0;
  }

  header {
    padding-bottom: 15em;
    padding-top: 1em;
  }

  article, section {
    margin: 0 auto;
    max-width: 670px;
    width: auto;
    display: block;
  }

  .navigation {
    transition-delay: 0s;
    transition-property: all;
    transition-timing-function: line;
    box-shadow: 0 0 2em black;
    transform: translate3d(0px, 0px, 0);
  }

  .navigation a:hover {
    transition-delay: 0s;
    transition-duration: 0.2s;
    transition-property: all;
    transition-timing-function: line;
    box-shadow: #303030 -1px 1px, #333 -2px 2px, #2E2E2E -3px 3px, #2B2B2B -4px 4px, #292929 -5px 5px, #262626 -6px 6px;
    transform: translate3d(6px, 0px, 0);
  }

  .navigation {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 4em;
    background-color: #222;
    z-index: 20;
  }

  .navigation:hover {
    position: fixed;
    width: 13em;
    box-shadow: 0 0 0.5em white ;
    z-index: 20;
  }

  .navigation ul {
    display: block;
  }

  .navigation li {
    display: block;
    margin-top: 0.5em;
  }

  .navigation a {
    padding: 0em 0.6em 0em 1em;
    color: #F1F1F1;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
  }

  .navigation li:nth-child(1) a,
  .navigation li:nth-child(2) a,
  .navigation li:nth-child(3) a,
  .navigation li:nth-child(4) a,
  .navigation li:nth-child(5) a,
  .navigation li:nth-child(6) a,
  .navigation li:nth-child(7) a,
  .navigation li:nth-child(8) a {
    background-color: transparent;
    width: 12em;
    padding-left: 5px;
  }
  
  .navigation a:hover {
    display: inline-block;
    padding: 0 0 0 1em;
    margin: 0;
    line-height: 2em;
    font-weight: 400;
    width: 6em; 
  }

  .navigation:hover a {
    display: inline-block;
    width: 11em;
    padding: 0em 0 0em 1em;
  }
  
  .navigation span {
    text-indent: -200px;
  }

  .navigation:hover span {
    display: inline-block;
    text-indent: 0;
  }
  
  .active {
    background-color: transparent;
  }
  
  .navigation a > span:after {
    color: #666;
  }
  
  .navigation a:hover > span:after {
    color: #333;
  }

  .navigation svg {
    width: 30px;
    height: 2em;
    vertical-align: top;
  }

  .navigation svg:hover {
    fill: #333;
  }

  .home {
    fill: #00FF96;
  }
  
  .about {
    fill: #CE2A01;
  }
  
  .work {
    fill: #FF6524;
  }
  
  .lab {
    fill: #FFA300;
  }
  
  .contact {
    fill: #FFCD00;
  }
  
  .communaute {
    fill: #DBDCDC;
  }
  
  .groupe {
    fill: #46CE01;
  }
  
  .equip{
    fill: #6FB3FF;
  }
 
  .menu {
    left: 0;
    position: fixed;
    height: auto;
    width: auto;
  }

  .menu {
    top: 0;
  } 

}

@media only screen and (min-height: 1920px) {
  
  .navigation:hover {
    width: 8.592em;
  }
  
  .navigation a {
    font-size: 0.9em;
    padding: 0.8em 0.8259em 0.8em 1em;
  }

}

.user {
  display: none
}

@media only screen and (min-width: 750px) {
  
  .user {
    display: inline-block;
    text-transform: none;
    color: #999;
    position:absolute;
    top: 4em;
    right: 20em;
    text-align: right;
  }

}

@media only screen and (min-width: 1024px) {
  
  .user {
    display: inline-block;
    text-transform: none;
    color: #999;
    position:absolute;
    top: 4em;
    text-align: right;
  }
  
  .apropos {
    position: fixed;
    bottom: 2em;
  }

}

.social {
  position: relative;
  background-color: rgba(0,0,0,0.4);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; 
  overflow: hidden;
  margin: auto;
  margin-top: 10px;
} 

.social img {
  z-index: 2;
  width: 20px;
  height: 20px;
}

.fond_twi, .fond_disc, .fond_tip {
  top: -30px;
  z-index: 1;
  display: block;
  height: 30px;
  width: 30px;
  position: absolute;
  transition: 0.5s;
}

.fond_twi {
  background-color: #55ACEE;
}

.fond_tip {
  background-color: #d64758;
}

.fond_disc {
  background-color: #7790E1;
}

.social:hover .fond_tip {
  top: 0;
}

.social:hover .fond_twi {
  top: 0;
}

.social:hover .fond_disc {
  top: 0;
}

/*---------------- NOTIFICATIONS ----------------*/

.nonvue {
  background-color: #444;
}

button.notif:hover svg {
  background-color: #333;
}

button.notif {
  background: none;
  border: none;
  -webkit-appearance:none;
  outline:none;
  cursor: pointer;
}

.notification-box {
  color: #f1f1f1;
  min-height: 50px;
  background-color: #333;
  border: solid 1.3px #222;
  z-index: 20;
  position: absolute;
  width: 280px;
  margin-top: 10px;
  margin-left: -200px;
  max-height: 300px;
  overflow: auto;
}

.bull {
  position: absolute;
  margin-top: -6px;
  margin-left: 18px;
  color: #222;
}

.onenotif {
  width: 100%;
}

.onenotif:hover {
  background-color: rgba(0,0,0,0.2);
}

.symbolnotif , .corpsnotif {
  display: inline-block;
  vertical-align: middle;
}

.symbolnotif {
  width: 40px;
  text-align: left;
}

.corpsnotif {
  width: 200px;
  text-align: left;
}

.titrenotif {
  text-transform: uppercase;
}

.messagenotif {
  font-size: 0.95em;
  color: #d6d6d6;
  width: 90%;
  text-align: justify;
  line-height: 16px;
  margin-top: 5px;
}

.supprimernotif , #supprimernotif {
  display: none;
}

.liennotif{
  color: #f1f1f1;
  font-size: 1em;
}

.notification-box::-webkit-scrollbar {
  width: 10px;
}

.notification-box::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
     
 .notification-box::-webkit-scrollbar-thumb {
  background: #999; 
  border-radius: 10px;
}

.notification-box::-webkit-scrollbar-thumb:hover {
  background: #666; 
}

div.box-presentation {
  width:200px;
  height:200px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.box-presentation1 {
  width:200px;
  height:150px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.box-presentation2 {
  width:180px;
  height:200px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.box-presentation3 {
  width:220px;
  height:160px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}
div.box-presentation4 {
  width:220px;
  height:180px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.box-presentation5 {
  width:180px;
  height:220px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.box-presentation6 {
  width:150px;
  height:220px;
  text-align:center;
  display: inline-block;
  border: solid 1px #333;
  vertical-align: middle;
  margin: 0.5em;
}

div.haut {
  text-transform: uppercase;
  font-size: 1.1em;
  color: #333;
  font-weight: 400;
  margin-bottom: 0.5em;
}

div.box-description {
  height: 120px;
  margin: 0.5em;
}

div.box-description1 {
  height: 80px;
  margin: 0.5em;
}

div.box-description2 {
  height: 120px;
  margin: 0.5em;
}

div.box-description3 {
  height: 80px;
  margin: 0.5em;
}

div.box-description4 {
  height: 100px;
  margin: 0.5em;
}

div.box-description5 {
  height: 140px;
  margin: 0.5em;
}

div.box-description6 {
  height: 140px;
  margin: 0.5em;
}

div.box-icon {
  height: 50px;
}

div.box-contain {
  text-align: left;
  max-width: 1200px;
}

a.box-presentation {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

div.lien-page {
  width: 30px;
  height: 30px;
  margin: auto;
  padding: 0.5em;
}

div.lien-page img {
  margin-top: -5px;
  margin-left: -4px;
}
  

div.lien-page svg {
  vertical-align: middle;
}

div.lien-page:hover svg {
  fill:#999;
}

div.nightdaymode {
  position: absolute;
  display: inline-block;
  margin: 0;
  margin-left: -110px;
  margin-top: 10px;
}

#time {
  display: none;
}

#time + label {
  --i: 0;
  --j: calc(1 - var(--i));
  display: grid;
  overflow: hidden;
  padding: 0.5em;
  height: 2px;
  width: 20px;
  border-radius: 1em;
  background: hsl(0, 100%, calc(var(--j)*100%));
  color: transparent;
  user-select: none;
  transition: .3s;
  cursor: pointer;
  border: solid 1px #dcddde;
}

#time + label:before, #time + label:after {
  width: 13px;
  height: 13px;
  transition: inherit;
  content: "";
  margin-top: -10px;
}

#time + label:before {
  transform-origin: 20% 20%;
  transform: translate(calc(var(--i)*(100% + 0.25em))) scale(calc(1 - var(--i)*.7));
  background: #F09800;
  --poly: polygon(44.13371% 12.96169%, 50% 0%, 55.86629% 12.96169%, 59.70571% 13.77778%, 63.4388% 14.99073%, 67.02464% 16.58726%, 79.38926% 9.54915%, 76.5165% 23.4835%, 79.14297% 26.40049%, 81.45015% 29.57604%, 83.41274% 32.97536%, 97.55283% 34.54915%, 87.03831% 44.13371%, 87.44861% 48.0374%, 87.44861% 51.9626%, 87.03831% 55.86629%, 97.55283% 65.45085%, 83.41274% 67.02464%, 81.45015% 70.42396%, 79.14297% 73.59951%, 76.5165% 76.5165%, 79.38926% 90.45085%, 67.02464% 83.41274%, 63.4388% 85.00927%, 59.70571% 86.22222%, 55.86629% 87.03831%, 50% 100%, 44.13371% 87.03831%, 40.29429% 86.22222%, 36.5612% 85.00927%, 32.97536% 83.41274%, 20.61074% 90.45085%, 23.4835% 76.5165%, 20.85703% 73.59951%, 18.54985% 70.42396%, 16.58726% 67.02464%, 2.44717% 65.45085%, 12.96169% 55.86629%, 12.55139% 51.9626%, 12.55139% 48.0374%, 12.96169% 44.13371%, 2.44717% 34.54915%, 16.58726% 32.97536%, 18.54985% 29.57604%, 20.85703% 26.40049%, 23.4835% 23.4835%, 20.61074% 9.54915%, 32.97536% 16.58726%, 36.5612% 14.99073%, 40.29429% 13.77778%);
  -webkit-clip-path: var(--poly);
  clip-path: var(--poly);
  margin-top: -6px;
  margin-left: -3px;
}

#time + label:after {
  grid-column: 2;
  border-radius: 50%;
  transform: translatey(calc(var(--i)*(-100% - 0.5em)));
  background: radial-gradient(circle at 19% 19%, rgba(0, 0, 0, 0) 41%, #ffffff 43%);
  margin-left: 3px;
}

#time:checked + label {
  --i: 1;
  border: solid 1px #000000;
}

#time:checked + label:before {
  margin-left: -7px;
}

html::-webkit-scrollbar {
  width: 13px;
}

html::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
     
html::-webkit-scrollbar-thumb {
  background: #999; 
  border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
  background: #666; 
}

input.checksynchro {
  margin: 10px;
  margin-bottom: -5px;
  position: relative;
  width: 45px;
  height: 15px;
  -webkit-appearance: none;
  background: linear-gradient(0deg, #333, #000);
  outline: none;
  border-radius: 20px;
  box-shadow: 0 0 0 1px #353535, 0 0 0 3px #666, inset 0 0 4px rgba(0,0,0,1);
  cursor: pointer;
}

input.checksynchro:checked {
  background: linear-gradient(0deg, #FF6524, #FF6524);
  box-shadow: 0 0 0 1px #353535, 0 0 0 3px #666, inset 0 0 4px rgba(0,0,0,1);
}

input.checksynchro:before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:25px;
  height:15px;
  background: linear-gradient(0deg, #000, #6b6b6b);
  border-radius: 20px;
  box-shadow: 0 0 0 1px #232323;
  transform: scale(.98,.96);
  transition:.5s;
}

input.checksynchro:checked:before {
  left:20px;
}

input.checksynchro:after{
  content:'';
  position:absolute;
  top:calc(50% - 2px);
  left:70px;
  width:4px;
  height:4px;
  background: linear-gradient(0deg, #6b6b6b, #000);
  border-radius: 50%;
  transition:.5s;
}

input.checksynchro:after {
  left:37px;
}

div.container div.push-right a.boutton {
  margin:auto;
  margin-top: 2em;
  margin-bottom: 2em;
  display: block;
  width: fit-content;
  height: fit-content;
}

div.container div.push-right a.boutton svg {
  margin-top: -4px;
  margin-bottom: -4px;
}

div.container div.push-right div.perso{
  display: inline-block;
  margin-left: 1em;
  margin-top: 0;
}

footer div.push-right{
  position: absolute;
  right: 10px;
  display: inline-block;
}

footer div.copy{
  display: inline-block;
  margin-bottom: 30px;
}

footer div.container{
  display: block;
}


.actionall {
  text-align: center;
  padding: 0.5em;
  border: 0.05em solid #333;
  margin-top: -1em;
  margin-left: auto;
  width: 20em;
  position: sticky;
  top: 20px;
  right: 20px;
  z-index: 10;
}


.affichearialabel[aria-label]:hover:after,
.affichearialabel[aria-label]:focus:after {
  content: "▲";
  position: absolute;
  bottom: -1.5em;
  left: 50%;
  transform: translateX(-50%); 
  font-size: 20px;
  color: #333;
  font-size: 1em;
}

.affichearialabel:hover:before,
.affichearialabel:focus:before {
  content: attr(aria-label);  
  position: absolute;
  bottom: -3em;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1; 
  white-space: nowrap;  
  padding-right: 1em;
  padding-left: 1em;
  background: #333;
  color: #999;
  border-radius: 4px;
  font-size: 0.9em;
}

.affichearialabel{
  font-size: 1.1em;
  line-height: inherit;
}

.affichearialabel:hover{
  filter: drop-shadow(-0px 0px 1px rgba(255,255,255,0.2));
  transition: 0.1s;
  position: relative;
  z-index: 20;
}

.iconepage{
  margin: 0;
  padding: 0;
  line-height: 0.5em;
  display: inline-block;
  vertical-align: middle;
}


.labelnotif:hover:before,
.labelnotif:focus:before {
  bottom: -2em;
}

.labelnotif[aria-label]:hover:after,
.labelnotif[aria-label]:focus:after {
  bottom: -0.7em;
}

div.boxpub , div.boxpub1 {
  width: 2-00px;
  position: absolute; 
  width: 150px;
  right: 20px;
  margin-top: 80px;
  display: none;
}

@media only screen and (min-width: 1550px) {
  div.boxpub{
    display:block;
  }
}

@media only screen and (min-width: 1200px) {
  div.boxpub1{
    display:block;
  }
}