* {
  box-sizing                    : border-box;
  margin                        : 0;
  padding                       : 0;
  font-style                    : normal;
  text-decoration               : none;
  list-style                    : none;
}

html {
  font-size                     : 62.5%;
  font-family                   : 'Roboto', sans-serif;

}

:root{
  --header-bg-color             : #93CDF5;
  --footer-bg-color             : #93CDF5;
  --h1-color                    : white;
  --theader-bg-color            : #999696;
  --border-thumbnail            : black;
}
ul{
  margin                        : 0;
  padding                       : 0;

}
li {
  margin                        : 0;
  padding                       : 0;

}

input,select,label,p,div,section,article,span,strong, i
{
  font-size                     : 1.6rem; 
  font-family                   : 'Roboto', sans-serif;
}

table
{
  width                         : 98%;
}



/*GLOBAL */

.hidden
{
  display                       : none;
}

.border
{
  border                        : 1px solid black;
}

.noborder
{
  border                        : none;
}


.borderright2pxwhite
{
  border-right                  : 2px solid white

}

.borderlightgrayradius5
{
  border                        : 1px solid lightgray;
  border-radius                 : 5px; 
}
.shadow
{
  -webkit-box-shadow          : 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
  -moz-box-shadow             : 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
  box-shadow                  : 0px 0px 8px 0px rgba(50, 50, 50, 0.75);
}
.displayblock
{
  display                     : block;
}

h3
{
  font-size                   : 2rem;
  border                      : 1px solid darkgray;
  padding                     : 10px;
  border-radius               : 10px;
  background-color            : rgba(240, 240, 240, 0.7);
  text-align                  : center;
  margin                      : auto;
  margin-bottom               : 5px;
  width                       : 98%;
}
.containercenterrow
{
  display                     : -webkit-box;
  display                     : -ms-flexbox;
  display                     : flex;
  -webkit-box-orient          : horizontal;
  -webkit-box-direction       : normal;
  -ms-flex-direction          : row;
  flex-direction              : row;
  -webkit-box-align           : start;
  -ms-flex-align              : start;
  align-items                 : start;
  -ms-flex-pack               : distribute;
  justify-content             : space-around;
  -webkit-box-align           : baseline;
  -ms-flex-align              : baseline;
  align-items                 : baseline;
}
.containercentercolumn
{
  font-size                   : 1.6rem;
  display                     : -webkit-box;
  display                     : -ms-flexbox;
  display                     : flex;
  -webkit-box-orient          : vertical;
  -webkit-box-direction       : normal;
  -ms-flex-direction          : column;
  flex-direction              : column;
  -webkit-box-align           : center;
  -ms-flex-align              : center;
  align-items                 : center;
  -webkit-box-pack            : center;
  -ms-flex-pack               : center;
  justify-content             : center;
}


.containercenter
{
  justify-content             : center;
}

.margin0
{
  margin                      : 0;
}
.margintop10
{
  margin-top                  : 10px;
}
.margintop20
{
  margin-top                  : 20px;
}

.margintop30
{
  margin-top                  : 30px;
}

.margintop50
{
  margin-top                  : 50px;
}

.margintop100
{
  margin-top                  : 100px;
}

.marginbottom10
{
  margin-bottom               : 10px;
}

.marginbottom30
{
  margin-bottom               : 30px;
}

.marginleft5
{
  margin-left                 : 5px;
}

.marginright5
{
  margin-right                : 5px;
}

.marginleftright5
{
  margin-left: 5px;
  margin-right: 5px;
}
.margintop20auto
{
  margin                      : 20px auto;
}

.marginauto
{
  margin                      : auto;
}


.padding5
{
  padding                     : 5px;
}

.padding30
{
  padding                     : 30px;
}

.paddingtop10
{
  padding-top                 : 10px; 
}
.paddingbottom5
{
  padding-bottom              : 5px 
}



.fontsize2
{
  font-size                   : 2rem;
}
.fontsize3
{
  font-size                   : 3rem;
}

.textleft
{
  text-align                  : left;   
}

.textcenter
{
  text-align                  : center;
}

.textlastcenter
{
  text-align-last             : center;
}

.textHCenter
{
  text-align                  : center
}
.textVCenter {
  vertical-align: middle;
}
.textsize16
{
  font-size                   : 1.6rem;
}
.textsize20
{
  font-size                   : 2.0rem;
}
.noinput
{
  border :none;
  background-color: transparent;
  color: black;
  font-size :1.6rem;
  text-align: center;

}

.flexspacearound
{
  display                     : -webkit-box;
  display                     : -ms-flexbox;
  display                     : flex;
  -ms-flex-pack               : distribute;
  justify-content             : space-around;
/* 
  align-items                 : center;
  width                       : 60%;
  margin                      : auto; */
}


.textVertical
{
  writing-mode                : vertical-rl; 
  text-orientation            : mixed;
  margin                      : 0;
  padding                     : 0;
  height                      : 8%;
  transform                   : rotate(200deg);
}

.width5
{
  width                       : 5%;  
}

.width15
{
  width                       : 15%;  
}

.width25
{
  width                       : 25%;  
}

.width47
{
  width                       : 47%;
}

.width50
{
  width                       : 50%;
}

.width95
{
  width                       : 95%;
}
.pointer
{
  cursor                      : pointer;  
}
/* code CSS pour les couleurs générique texte */
.textred {
  color                       : red;
}
.textgray {
  color: darkgray;
}
.textgreen {
  color                       : green;
}
.underscore
{
  text-decoration             :underline solid; 
  
}

.blink
{
  color                       :red; 
  animation                   : colorblinkblack 2s infinite;
}


@keyframes colorblinkblack
{ 
  0% { }
  50% { color:black; } 
}

/*********************************************/

/* Code CSS pour les couleurs générique de fond*/
.blinkgreen
{
  background-color            :rgb(121,255,5); 
  animation                   : blinkbgblack 2s infinite;
}
@keyframes blinkbgblack { 
0% { }
50% { background-color:lightgreen; } 
}
.blinkred
{
  /* background-color            :red; */
  animation                   : blinkbgred 2s infinite;
}
@keyframes blinkbgred { 
0% { }
50% { background-color:rgba(255, 0, 0, 0.376); } 
}
.bgtransparent
{
  background-color            : transparent;
}

.bgblue
{
  background-color            : rgba(147,205,205,0.5);
}
.bgred
{
  background-color            : red;
}
.bgwhitesmoke
{
  background-color: whitesmoke;
}




/* ****************** Gestion div upload******************************* */
.buttonupload
{
	position                    : absolute;
	width	                      : 0;
	z-index                     : -1;
	border                      : none;
}
#filedragcontainer
{
	display                     : block;
	font-weight                 : bold;
	text-align                  : center;
	padding                     : 1em 0;
	margin                      : 1em 0;
	color                       : #555;
	border                      : 2px dashed #555;
	border-radius               : 7px;
	cursor                      : default;
}

.hover
{
	/* color: #f00;
	border-color: #f00; */
	border-style                : solid;
	box-shadow                  : inset 0 3px 4px #888;
}

.wrapper 
{
  display: grid;
  /* grid-template-columns: repeat(2, 1fr); */
  grid-template-columns: 5% 60% 31%;
  grid-gap: 10px;
  grid-auto-rows: minmax(50px, auto);
}
.status
{
  grid-column                 : 1;
  align-self: center;
}

.filename
{
  grid-column                 : 2;
  align-self: center;
}
.progressbarfile
{
	grid-column                 : 3;
	height                      : 50%;
	align-self                  : center;
}


.wrapper .status p
{
	padding-left                : 5px;
}

.progressbarzr {
	display                     : inline-block;
	width                       : 190px;
	height                      : 20px;
	padding                     : 15px 0 0 0;
	margin                      : 0;
	background                  : none;
	border                      : 0;
	border-radius               : 15px;
	text-align                  : left;
	position                    : relative;
	font-family                 : Arial, Helvetica, sans-serif;
	font-size                   : 0.8em;
}
.progressbarzr::-webkit-progress-bar {
	height                      : 20px;
	width                       : 150px;
	margin                      : 0 auto;
	background-color            : #CCC;
	border-radius               : 15px;
	box-shadow                  : 0px 0px 6px #777 inset;
}
.progressbarzr::-webkit-progress-value {
	display                     : inline-block;
	float                       : left;
	height                      : 20px;
	margin                      : 0px -10px 0 0;
	background                  : #F70;
	border-radius               : 15px;
	box-shadow                  : 0px 0px 6px #777 inset;
}
.progressbarzr:after {
	margin                      : -26px 0 0 -7px;
	padding                     : 0;
	display                     : inline-block;
	float                       : left;
	content                     : attr(value) '%';
}
/* ************************************************************** */














/*********************************************/

 /* bouton servant affichage des tri pour les tableau */

 .containerarrow
{ 
  display                     : flex;
  align-items                 : center;
  justify-content             : center;

}

.containerarrow div
{
  display                     : flex;
  flex-direction              : column;
  margin-left                 : 10px;
}

.flecheDesc {
  width                       : 0; 
  /* height: 0; 
  float:right;*/
  margin-bottom               : 10px;
  border-left                 : 5px solid transparent;
  border-right                : 5px solid transparent;
  border-bottom               : 5px solid black;
  cursor                      : pointer;
}
.flecheAsc {
  width                       : 0; 
  /* height: 0;
  float:right;
  margin: 10px; */
  border-left                 : 5px solid transparent;
  border-right                : 5px solid transparent;
  border-top                  : 5px solid black;
  cursor                      : pointer;
}
.flecheDescSelect {
  
  border-bottom               : 5px solid red;
}
.flecheAscSelect {
  border-top                  : 5px solid red;
}
/* ********************************************************** */




/* caractéristique pour tout la balise button */
button
{
  display                     : block;
  margin                      : 16px auto 0px;
  padding                     : 5px;
  border-radius               : 5px;
  background                  : rgb(169, 169, 169);
  background                  : -moz-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : -webkit-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : linear-gradient(to bottom, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  filter                      : progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#ffffff', GradientType=0);
}
button:hover{
  cursor                      : pointer;
}
.button
{
    display                   : flex;
    flex-direction            : row;
    justify-content           : center;
    align-items               : center;
}
.button div
{
  color                       :black;
  display                     : block;
  margin                      : 16px auto 0px;
  padding                     : 8px 6px 8px 6px;
  border-bottom               : 2px solid darkgray;
  border-right                : 2px solid darkgray;
  border-radius               : 5px;
  background                  : rgb(169, 169, 169);
  background                  : -moz-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : -webkit-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : linear-gradient(to bottom, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  filter                      : progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#ffffff', GradientType=0);
}
.button div a
{
  text-decoration             :none;
  color                       :black;
  text-align                  : center;
}

/** ************************ Gestion des infobulle ************************/
    .tooltip {
      position: absolute;
    }

    .tooltip>div:first-of-type {
      position: inherit;
      margin: 10px auto 0px;
      padding: 20px;
      width: 200px;
      text-align: center;
      font: 1.6em sans-serif;
      text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
      border: 2px solid lightgray;
      transform: rotate(45deg);
      /* left: 96px; */
      left: -17px;
      top: -4px;
      /* margin-left: -5px; */
      width: 0px;
      height: 9px;
      border-right: none;
      z-index: 1;
      border-bottom: none;
      background-color: beige;
    }

    .tooltip>div {
      border: 1px solid lightgray;
      height: 3em;
      width: 12em;
      top: 8px;
      /* left: 21px; */
      left: -92px;
      position: inherit;
      z-index: 3;
      background-color: beige;
      padding: 5px;
      border-radius: 5px;

      -webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
      -moz-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
      box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);

      display: flex;
      justify-content: center;
      align-items: center;
    }

    .tooltip>div div {
      background: beige;
      z-index: 1;
      width: 17px;
      height: 2px;
      top: -1px;
      position: inherit;
      left: 86px;
      border-radius: 0px;
    }
/** ******************** Fin de Gestion des infobulle ************************/


/**************************Bouton navigation page pdf **********************/
.containersticky
{
    /* width: 100%; */
    display: contents;
}
.positonsticky
{
  background-color: rgba(250,250,250,0.5);
  
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    /* width: 30%;
    z-index: 1; */
}



/************************fin Bouton navigation page pdf ********************/

/************************* Gestion des div wait  *************************/
/**************** sert lors des requete de sauvegarde  *******************/
.updatePresence {
    position: fixed;
    display: flex;
    justify-content: center;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0px;
    z-index: 1;
    overflow: hidden;
    background-color: rgba(250, 250, 250, 0.9);
    transition: all .5s ease;
    align-items: center;
  /* position: fixed;
  display: block;
  top: 0;
  right: 0;
  bottom: 100%;
  left: 0;
  z-index: 1;
  overflow: hidden;

  background-color: rgba(250, 250, 250, 0.9); */
  /* transition: all .5s ease; */
}

.updateWait {
      position: absolute;
    /* background-color: white; */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255,255,255,0);

  /* position: absolute; */
  /* display: block;
        top: 38%;
        left: 56%;
        bottom: 100%; */
  /* background-color: white; */
  /* transform: translate(-50%, -50%);
        font-family: cursive;
        font-size: 1.6rem; */
}

.updateWait p {
  text-align: center;
  font-family: cursive;
  font-size: 1.6rem;
}

.wait {
  animation-name: cssAnimation;
  animation-duration: 3s;
  animation-direction: reverse;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}



.css_animation {
  -webkit-animation: cssAnimation 0s 15 ease-in-out;
  -moz-animation: cssAnimation 0s 15 ease-in-out;
  -o-animation: cssAnimation 0s 15 ease-in-out;
}

@-webkit-keyframes cssAnimation {
  from {
    -webkit-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
  }

  to {
    -webkit-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
  }
}

@-moz-keyframes cssAnimation {
  from {
    -webkit-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
  }

  to {
    -webkit-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
  }
}

@-o-keyframes cssAnimation {
  from {
    -webkit-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(360deg) scale(1) skew(0deg) translate(0px);
  }

  to {
    -webkit-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -moz-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
    -o-transform: rotate(4deg) scale(1) skew(0deg) translate(0px);
  }
}
/********************* fin de Gestion des div wait  ***********************/








/* ****************************************************** */

/* Balises et class appelés à plusieurs endroits dans la page */

/* font-family: 'Indie Flower', cursive;
  font-family: 'Shadows Into Light', cursive;
  font-family: 'Gloria Hallelujah', cursive; */

/* HEADER */

h1,
h2,
h3,
h4,
h5,
h6 
{
  font-family                 : cursive;
}


header {
  background-color            : var(--header-bg-color);
  position                    : -webkit-sticky;
  position                    : sticky;
  top                         : 0px;
  margin                      : auto;
  z-index                     : 1;
}

.entete {
  background-color            : var(--header-bg-color);
  
}

.titre {
  text-align                  : center;
  color                       : var(--h1-color);
  margin                      : 0;
}

.titre a {
  font-family                 : cursive;
  font-size                   : 5rem;
  font-weight                 : normal;
  text-decoration             : none;
  color                       : var(--h1-color);
}

.titre p {
  font-family                 : cursive;
  font-size                   : 2rem;
  text-decoration             : none;
  color                       : var(--h1-color);
  padding-bottom              : 10px;
  font-weight                 : normal;
}

h2
{
  font-size                   : 3rem;
  text-align                  : center;
  margin-top                  : 30px;
  margin-bottom               : 30px;
}
/* MAIN */

/* Ce qui concerne le corps du site */



.logout {
  text-align                  : left;
}


main 
{
  background-color            :  white;
  margin                      : auto;
}


body{
  margin-bottom               : 80px;
 
}


.noselectordate
{
    display: none;
    -webkit-appearance: none;
}

.error {
  margin                      : 1% 1%;
  /* margin: 2em 0; */
  padding                     : 0.5em 1em;
  font-size                   : 1.6rem;
  text-align                  : center;
  background-color            : rgba(255, 102, 51, 0.8);
  border                      : 2px solid #FF3300;
  border-radius               : 6px;
  color                       : white;
  left                        : 10%;
  right                       : 10%;
  position: absolute;
}

.infoasterix
{
text-align                    : center;
}




/* gestion de l'affichage de la navigation sur plusieurs page */

.navpage
{
  display                     : flex;
  flex-direction              : row;
  flex-wrap                   : nowrap;
  font-size                   : 1.3rem;
  margin-left                 : 10px;
  margin-bottom               : 10px;
}
.navpage li a
{
  margin-right                : 5px;
  border                      : 1px solid lightgrey;
  border-radius               : 5px;
  padding                     : 4px;
}

.navpage p
{
  /* font-size                     : 2.5rem  */
}

.navpage li a
{
  color                        : darkgrey;
}

.navpage .currentpage    
{
    margin-right                : 5px;
  border                      : 1px solid lightgrey;
  border-radius               : 5px;
  padding                     : 4px;
  position                    : relative;
  top                         : -10px;
-webkit-box-shadow            : 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow               : 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
box-shadow                    : 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
}

.navpage li span
{
  color                       : black;
  margin-bottom               : 8px;
}


/* Fin navigation sur plusieurs page */


/* ************** Page validateweek ************** */
.datevalidationday
{
  display                     : none;
}

/* ************* fin Page validateweek *********** */

.pagenotfound{
  height                      : 20em; /* hauteur du parent */
  line-height                 : 20em; /* hauteur de ligne (identique) */
  white-space                 : nowrap; /* interdiction de passer à la ligne */
}

/* diet */
.pricediet {
  position: absolute;
  left: -300%;
  width: 15%;
}
#bodydiet tr>td>span:hover+.pricediet {
  left: 160px;
}

.centerformlogin
{
  margin-top                  : 25vh;
  /* transform: translateY(-78%); */
  display                     : flex;
  align-items                 : center;
  justify-content             : center;
}

#formschoolyear {

  font-size                   : 1.6rem;
  display                     : flex;
  flex-direction              : column;
  align-items                 : center;
  /* justify-content: flex-start; */
}


.formLogin
{
  font-size                   : 1.6rem;
  display                     : flex;
  flex-direction              : column;
  align-items                 : center;
  width                       : 45%;
}

 .formLogin fieldset{
  display                     : flex;
  justify-content             : center;
  flex-direction              : column;
  border-radius               : 10px;
  border                      : 1px solid black;
  padding                     : 20px 0px;
  width: 100%;
}

.formLogin legend {
  margin                      : 0px 15px;
  padding                     : 0 5px;
}
.formLogin label{
  display                     : flex;
  flex-direction              : row;
  justify-content             : center;
}
.formLogin label input,
.formlogin>fieldset>div>div>input{
  margin-left                 : 6px;
  width                       : 100% ;
}
.formLogin label:last-of-type{
  margin-top                  : 10px;
}

.formLogin button{
  display                     : block;
  margin                      : 16px auto 0px;
  padding                     : 5px;
  border-radius               : 5px;
  background                  : rgb(169, 169, 169);
  background                  : -moz-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : -webkit-linear-gradient(top, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  background                  : linear-gradient(to bottom, rgba(169, 169, 169, 1) 0%, rgba(190, 190, 190, 1) 25%, rgba(212, 212, 212, 1) 50%, rgba(233, 233, 233, 1) 75%, rgba(255, 255, 255, 1) 100%);
  filter                      : progid:DXImageTransform.Microsoft.gradient(startColorstr='#a9a9a9', endColorstr='#ffffff', GradientType=0);
  
}

/*************************** Gestion de la  page organization ***************************/


.organization100
{
  background-color            : whitesmoke;
  list-style-type             : none;
  padding                     : 0;
  border-radius               : 3px;
  width                       : 100%;
  margin-bottom               : 15px;
  border                      : 1px solid lightgray;
  border-radius               : 5px;
}
.organization55 {
  background-color            : whitesmoke;
  list-style-type             : none;
  padding                     : 0;
  border-radius               : 3px;
  width                       : 47%;
  margin-bottom               : 15px;
  border                      : 1px solid lightgray;
  border-radius               : 5px;
}
.organization100 legend,
.organization55 legend {
  font-size                   : 1.9rem;
  margin                      : 0 1em;
  padding                     : 0 0.5em;
}

.rib {
  border-top                  : 1px dotted black;
}

.rib h3 {
  font-size                   : 2rem;
  padding-top                 : 10px;
}

.rib small {
  font-size                   : 1.2rem;
  margin                      : 10px 80px;
}

.rib>div {
  display                     : flex;
  flex-direction              : column;
  align-items                 : flex-start;

}

.rib div:last-of-type 
{
  width                       : 100%;
}


.rib>div fieldset {
  margin-top                : 13px;
}

.rib_infobank {
  background-color          : whitesmoke;
  padding                   : 0.5em;
  border                    : 1px solid lightgray;
  border-radius             : 5px;
}

.rib_infobank table td {
  text-align                : center;
  border                    : 2px solid lightgray;
  padding                   : 0.5em;
  background-color          : white;
}

.rib_infobank table td label input {
  text-align                  : center;
  border                      : none;
  background-color            : white;
  width                       : 5em;
}

.rib_infobank table td label input:last-of-type {
  text-align                  : center;
  border                      : none;
  background-color            : white;
  width                       : 8em;
}

.rib_bic,
.rib_iban {
  background-color            : whitesmoke;
  padding                     : 0.5em;
  border                      : 1px solid lightgrey;
  border-radius               : 5px;
}

.rib legend {
  font-size                   : 1.2rem;
}

.form-rowiban {
  margin                      : 0;
  padding                     : 0;
}

.rib_iban label {
  margin-left                 : -0.4em;
}

.rib_iban label:first-of-type {
  margin-left                 : 0;
}

.form-rowbic 
{
  margin                        : 0;
  padding                       : 0;
}

.rib_bic label {
  margin-left                   : -0.4em;
}

.rib_bic label:first-of-type {
  margin-left                   : 0;
}

.form-rowbic input {
  padding                       : .5em;
  width                         : 2em;

}

.text-row{
  background-color: white;
  display: block;
  margin: 10px 10px 0 10px;
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid darkgray;
}

.form-row {
  display                       : flex;
  justify-content               : flex-start;
  padding                       : .5em;

}



.form-row1 {

  padding                       : .5em;
  width                         : 5em;
}

.form-rowiban>input,
.form-row>input {
  padding                       : .5em;
  width                         : 4em;
  text-align                    : center;
}

.form-row>input,
.form-row>select {
  flex                          : 1;
  border                        : none;
  border-bottom                 : 1px solid darkgray;
}

.form-row>input,
.form-row>button,
.form-row>select {
  padding                       : .5em;
}

.form-row>button {
  background                    : gray;
  color                         : white;
  border                        : 0;
}
.form-row>span
{
  cursor                        : pointer; 
  background-color              : white;
  color                         : darkgray;
  padding-top                   : 10px;
  padding-right                 : 6px;
  border-bottom                 : 1px solid darkgray;
  font-size                     : 1.6rem;
}

.adressbank {
  display                       : flex;
  flex-direction                : column;
  background-color              : whitesmoke;
  border                        : 1px solid lightgray;
  border-radius                 : 5px;
  padding                       : 0.6em 0.4em;
  margin-left                   : 50px;
  width                         : 40%;
}

.adressbank>label input {
  padding                       : 0.5em;
  margin-bottom                 : 0.4em;
  border                        : none;
  border-bottom                 : 1px solid darkgray;
  width                         : 100%;
}

/***************************** Fin de la page orgzanisation *****************************/

.form1
{
    width                     : 98%;
    display                   : flex;
    flex-direction            : column;
    justify-content           : center;
    align-items               : center;
}

#menbership
{
  width                       : 98%;
  margin                      : auto;    
}

#bodynewmenbership tr td:first-of-type,
#bodynewmenbership tr td:nth-of-type(2)
{
  width                       : 20%;
}
#bodynewmenbership tr td:nth-of-type(3)
{
  width                       : 33%;
}
#bodynewmenbership tr td:last-of-type
{
  width: 5%;
}

#bodynewmenbership tr td input[type=text]
{
  width: 100%;
}





#formschoolyear{
  margin-bottom               : 30px;
}

#choicesschoolyear,#editschoolYear
{
  display                     : flex;
  flex-direction              : row;
  align-items                 : baseline;
  flex-wrap                   : nowrap;
  justify-content             : space-around;
}
#editschoolYear label,#editschoolYear div
{
  display                     :block;
  padding-right               :3px;
}


/* ************************************************** */
/* Gestion de l'affichage du RGPD contenu dans la page adhérents */
.cgurgpd
{
  color                       : #93CDF5;
}


#boxcgurgpd
{
  margin                      : auto;
  border                      : 1px solid lightgray;
  border-radius               : 5px; 
  padding                     : 29px;
  margin-top                  : 20px;
  text-align                  : justify;
  background-color            : whitesmoke; 
}

.cgu >ul
{
  font-size: 1.6rem;
  padding-left: 5px;
  font-style: italic;
}

/* Fin de l'affichage du RGPD dans la page adhérent */

.newPassword
{
  display                     :block;
  font-size                   : 1.6rem;
  text-align                  : center
}


.progressbar {
    position                  : fixed;
    display                   : block;
    top                       : 0;
    right                     : 0;
    bottom                    : 0;
    left                      : 0;
    z-index                   : 1;
    overflow                  : hidden;
    background-color          :rgba(250, 250, 250, 0.7);
   
}

.progressbar .updateWait {
    position                  : absolute;
    display                   : flex;
    flex-direction            : column;
    align-items               : center;
    justify-content           : center;
    top                       : 50%;
    left                      : 50%;
    bottom                    : 100%;
    background-color          : white;
    transform                 : translate(-50%, -50%);
    font-size                 : 3rem;
}


#formschoolyear form
{
    display                   : flex;
    flex-direction            : row;
    flex-wrap                 : nowrap;
}

#formschoolyear form #selectschoolyear>div,
#formschoolyear form #newschoolyear>div
{
  border                      : 1px solid darkgray;
  padding                     : 20px;
  border-radius               : 10px;
  background-color            : rgba(240,240,240,0.7);
}


#holiday
{
  width                       : 50%;
  margin                      : 0;
}
#exception
{
  width                       : 40%;
  margin                      : 0;
}

.tablelpb
{
  font-size                   : 1.6rem;
  width                       : 95%;
  /* margin                      : auto; */
  border-radius               : 5px; 
}

.tablelpb caption
{
  font-size                   : 2rem;
  border                      : 1px solid darkgray;
  padding                     : 10px;
  border-radius               : 10px;
  background-color            : rgba(240,240,240,0.7);
  text-align                  : center;
  margin-bottom               : 5px
}
.tablelpb thead tr th 
{
  background-color            : var(--theader-bg-color);
  padding                     : 3px; 
  text-align                  : center;
  
}
.tablelpb tbody tr td 
{

  padding                     : 3px; 
  text-align                  : center;
 
}

/* donne un angle arrondi au tableau */
.headlpb>tr:first-of-type>th:first-of-type
{
  border-top-left-radius      :  10px;
}
.headlpb>tr:first-of-type>th:last-of-type
{
  border-top-right-radius     :  10px;
}

.bodylpb>tr:last-of-type>td:first-of-type
{
  border-bottom-left-radius   : 10px;
}
.bodylpb>tr:last-of-type>td:last-of-type
{
  border-bottom-right-radius  : 10px;
}

/* ************************************ */
.bodylpb tr:nth-of-type(even)
{
  background-color            : lightgrey;
}
.bodylpb tr:nth-of-type(odd),
.bodylpb tr:first-of-type
{
  background-color            : rgb(239,239,239);
}


.bodylpb tr:nth-of-type(even):hover
{
  background-color: darkgrey;

}

.bodylpb tr:nth-of-type(odd):hover,
.bodylpb tr:first-of-type:hover
{
  background-color            : darkgrey;
}

.inputschool
{
  text-align                  : center;
  border                      : none;
  background-color            : rgba(255,255,255,0);
  font-size                   : 1.5rem;
  color                       : black;
}
.tablelpb tfoot tr td 
{
  text-align                  : center;
}
.tablelpb tfoot tr td span 
{
  padding                     : 0 48%;
}
.edit span {
  cursor                      : pointer;
}
.edit span:hover {
  cursor                      : pointer;
  color                       : blue;
}
.edit span:active {
  cursor                      : pointer;
  color                       : red;
}

.tablelpb .inputschooledit
{
  border-bottom               : 1px black dotted;  
  text-align                  : center;
  background-color            : rgba(255,255,255,0);
  font-size                   : 1.5rem;
  color                       : black;
}
/* *********************************************** */
.flexrowspacearound
{
    display                   : flex;
    flex-direction            : row;
    flex-wrap                 : nowrap;
    justify-content           : space-around;
}
 /* ******************************************** */

 #formmanagecantineday
 {
    /* display                   : flex;
    flex-direction            : column;
    justify-content           : center;
    align-items               : center; */
   
 }

 #formmanagecantineday fieldset
 {
    border                    : 1px solid darkgray;
    border-radius             : 5px;
    padding                   :10px;
    margin                    :5% 10px 5% 10px;
 }
#formmanagecantineday fieldset legend,
.dayvalidate
 {
   font-size                  :2rem;
   text-align                 : center;
   padding-left               : 5px;
   padding-right              : 5px;
   /* width: 77%; */

 }
#formmanagecantineday>div {
  /* display                     : flex; */
  /* align-items                 : center; */
  /* justify-content             : center;
  flex-direction              : row;
  flex-wrap                   : wrap; */
}
#managecantinedayactive, #managecantinedaydisabled
{
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  flex-wrap: wrap;

}
.dayvalidate
{    
    display                   : flex;
    flex-direction            : row;
    align-content             : center;
    justify-content           : space-evenly;
    flex-wrap                 : wrap;

}
.dayvalidate #headschool tr th
{
  font-size                   : 1.6rem;
}

.weektypical select,
.dayvalidate .bodylpb .rowclass td label select
{
  padding-bottom              : 2px;

}
.historydatevalidationweek
{
  width                       : 35%;
}
.historydatevalidationweek thead
{
  font-size                   : 1.7rem;
}

.weektypical input,
.weektypical select,
.historydatevalidationweek td label input,
.historydatevalidationweek td label select,
#formpenality input

{
  border                      : none;
  background-color            : rgba(255,255,255,0);
  border-bottom               : 1px black dotted;
}


#dayvalidate select.dayvalidate
{
/*   
  width: 55%;
  padding-bottom: 2px; */
}


/* ************************************************ */
/* cache le desiggn par defaut des radio et checkbox */
/* ************************************************ */
.newchekboxzr {
  position: absolute;
  position: inherit;
}

.newchekboxzr input {
  position: absolute;
  /* color:transparent; */
  z-index: -1;
}


.newchekboxzr label {
  position: relative;

}

.newchekboxzr input[type="checkbox"]+ label::before {
  content: '';
  position: absolute;
  top: 0px;
  bottom: 0;
  margin: auto;
  vertical-align:middle;
  width: 20px;
  height: 20px;
  /* background-color: #fff; */
  left: 0px;
  box-sizing: border-box;
  transition: border-color .2s;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
  border: 1px solid #aaa;
  background: #f8f8f8;
  border-radius: 3px;
}


.newchekboxzr input[type="radio"]+ label::before {
  content: '';
  position: absolute;
  top: 0px;
  bottom: 0;
  margin: auto;
  vertical-align:middle;
  width: 20px;
  height: 20px;
  /* background-color: #fff; */
  left: 0px;
  box-sizing: border-box;
  transition: border-color .2s;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
  border: 1px solid #aaa;
  background: #f8f8f8;
  border-radius: 100px;
}

.newchekboxzr input[type="radio"] + label::after {
  font-family: "Font Awesome 5 Free";
  position: inherit;
  content : '\f00d';
  left: 2px;
  top: 2px;
  font-weight: 900;
  color: transparent;
  transition: all color .2s;
  font-size: 2.2rem;
  margin-left : 2px;
  margin-right : 2px;
}

.newchekboxzr input[type="checkbox"] + label::after{
  position: inherit;
  content: '✔';
  left: 3px;
  top: 0px;
  color: transparent;
  /* transition: all color .2s; */
  font-size: 2rem;
  margin-left : 2px;
  margin-right : 2px;
}

.newchekboxzr input[type="checkbox"]:checked+label::after,
.newchekboxzr input[type="radio"]:checked+label::after {
  color: #09ad7e;
  transition: all color .2s;
}

.newchekboxzr input[type="checkbox"]:checked:disabled+label::after,
.newchekboxzr input[type="radio"]:checked:disabled+label::after {
  color: darkgray;
}

.newchekboxzr input[type="checkbox"]:not(:checked):disabled+label::before,
.newchekboxzr input[type="checkbox"]:checked:disabled+label::before,
.newchekboxzr input[type="radio"]:not(:checked):disabled+label::before,
.newchekboxzr input[type="radio"]:checked:disabled+label::before {
  /* background-color: lightgray;
  border: 1px solid lightgray; */
box-shadow: none;
border-color: #bbb;
background-color: #ddd;
}

.newchekboxzr input[type="checkbox"]:not(:disabled)+label:hover::before,
.newchekboxzr input[type="radio"]:not(:disabled)+label:hover::before {
  border: 1px dotted blue;
}




/* ************************************************************************************* */










/* *********************************************************************************** */



#formmanagecantineday [type="radio"],
#formmanagecantineday [type="checkbox"]
{
  display                     : none;
}

#formmanagecantineday label {
  font-size :2.5rem;
}

#formmanagecantineday [type="checkbox"]:not(:checked) + label,
#formmanagecantineday [type="checkbox"]:checked + label {
  position: relative; /* permet de positionner les pseudo-éléments */
  padding-left: 25px; /* fait un peu d'espace pour notre case à venir */
  cursor: pointer;    /* affiche un curseur adapté */
  margin: 10px;
}
/* Aspect des checkboxes */
/* :before sert à créer la case à cocher */
#formmanagecantineday [type="checkbox"]:not(:checked) + label:before,
#formmanagecantineday [type="checkbox"]:checked + label:before {
  content                     : '';
  position                    : absolute;
  left                        :0; top: 2px;
  width                       : 17px; height: 17px; /* dim. de la case */
  border                      : 1px solid #aaa;
  background                  : #f8f8f8;
  border-radius               : 3px; /* angles arrondis */
  box-shadow                  : inset 0 1px 3px rgba(0,0,0,.3) /* légère ombre interne */
}
 
/* Aspect général de la coche */
#formmanagecantineday [type="checkbox"]:not(:checked) + label:after,
#formmanagecantineday [type="checkbox"]:checked + label:after {
  content                     : '✔';
  position                    : absolute;
  top                         : 0; left: 2px;
  font-size                   : 2.53rem;
  color                       : #09ad7e;
  transition                  : all .2s; /* on prévoit une animation */
}
/* Aspect si "pas cochée" */
#formmanagecantineday [type="checkbox"]:not(:checked) + label:after {
  opacity                     : 0; /* coche invisible */
  transform                   : scale(0); /* mise à l'échelle à 0 */
}
/* Aspect si "cochée" */
#formmanagecantineday [type="checkbox"]:checked + label:after {
  opacity                     : 1; /* coche opaque */
  transform                   : scale(1); /* mise à l'échelle 1:1 */
}
/* aspect désactivée */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow                  : none;
  border-color                : #bbb;
  background-color            : #ddd;
}
/* styles de la coche (si cochée/désactivée) */
#formmanagecantineday [type="checkbox"]:disabled:checked + label:after {
  color                       : #999;
}
/* on style aussi le label quand désactivé */
[type="checkbox"]:disabled + label {
  color                       : #aaa;
}
 
/* aspect au focus de l'élément */
#formmanagecantineday[type="checkbox"]:checked:focus + label:before,
#formmanagecantineday[type="checkbox"]:not(:checked):focus + label:before {
  border                      : 1px dotted blue;
}

/* *Page HOME */
.homeuser {


    display                   : flex;
    flex-direction            : column;
    justify-content           : center;
    align-items               : center;
    /* width                     : 98%; */
    z-index: -1;
} 

.homeuser article
{
  padding-top :15px;
  border-bottom: 1px solid lightgray;
  /* width: 95%; */
}
.homeuser article>p
{
  margin-bottom :5px;
  /* padding :10px 25px 0px; */

}
.homeuser article>p
{
  text-align:center;
  font-size: 2rem;
}
/* *************************************************** */
/* FOOTER */
footer {
  position: fixed;
  height: 60px;
  bottom: 0;
  font-size : 1.6rem;
  text-align: center;
  background-color: var(--footer-bg-color);
  margin: auto;
  padding: 10px 0;
  width: 100vw;
}

/* gestion des grand écrans */
@media screen and (min-width: 992px) {
  
  
}


/* Gestion des ecrans de petite taille GSM tablette */
@media screen and (max-width: 992px) {



.formLogin 
{
    font-size: 1.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;

}  
/*  */
.datevalidationday
{
  display                     : initial;
}


.flexspacearound
{
  display                     : -webkit-box;
  display                     : -ms-flexbox;
  display                     : flex;
  -ms-flex-pack               : distribute;
  justify-content             : space-between;

  align-items                 : center;
  width                       : 60%;
  margin                      : auto;
}
 
#choicesschoolyear,#editschoolYear
{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  font-size: 2.5rem
}
#choicesschoolyear label,#editschoolYear label
{
  font-size: 3rem;
  text-align: left;
}
#choicesschoolyear div,#editschoolYear div
{
  font-size: 3rem;
  text-align: right;
  width: 100%;
}



/* 
.containercenterrow
{
  -webkit-box-orient          : vertical;
  -webkit-box-direction       : normal;
  -ms-flex-direction          : column;
  flex-direction              : column;
} */

#holiday, #exception,
#school, #classe,
#diet, #news
{
  width                       : 98%;
}
#school
{
  width                       : 95%;
}

#headschool th, #headdiet th,
#headholiday th, #headexception th,
#headclasse th, #headnews th,
#headschoolMealBySchool th,
#headchild th,
#summaryMeal th
{
  display                     : none;
  text-align                  : left;
  padding-left                : 22px;
}

.bodylpb tr
{

    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 10px 0;
    border-radius: 30px;
    margin-bottom: 10px
}

.bodylpb tr td:last-of-type
{
    text-align                : right;
    font-size                 : 3rem;
    padding-right             : 22px
}

.tablelpb tr td input,.tablelpb tr td select {
    text-align                : left;
    padding-left              : 22px;
    width                     : auto;
    font-size                 : 2rem;
 
}

#menbership,
#tabledaycanteen
{
  /* width                       : max-content; */
}
#menbership .flexspacearound,
#tabledaycanteen .flexspacearound
{
    display                   : flex;
    justify-content           : space-between;
    /* margin: 5px 30px; */
    padding                   : 0 5em;
    align-items               : center;
}

#menbership .flexspacearound .datevalidationday,
#tabledaycanteen .flexspacearound .datevalidationday
{
    margin-right              : 20px;
    font-size                 : 2rem;
}

#bodysummaryMeal tr td,
#bodyschoolMealBySchool tr td
{
  display                     : -webkit-box;
  display                     : -ms-flexbox;
  display                     : flex;
  -webkit-box-pack            : justify;
  -ms-flex-pack               : justify;
  justify-content             : space-between;
  margin                      : 0 20%;
}


.newchekboxzr label::before {
  content                     : '';
  position                    : absolute;
  top                         : 0px;
  bottom                      : 0;
  margin                      : auto;
  vertical-align              : middle;
  width                       : 40px;
  height                      : 40px;
  /* background-color: #fff; */
  left                        : 0px;
  box-sizing                  : border-box;
  transition                  : border-color .2s;
  box-shadow                  : inset 0 1px 3px rgba(0, 0, 0, .3);
  border                      : 1px solid #aaa;
  background                  : #f8f8f8;
  border-radius               : 3px;
}
  .newchekboxzr label::after {
    position                  : inherit;
    content                   : '✔';
    left                      : 3px;
    top                       : 0px;
    color                     : transparent;
    font-size                 : 4rem;
  }


  #headmenbership,
  #headtabledaycanteen,
  #headnewmenbership
  {
    display                     : none;
  }


  #addschool, #addclass, #addholiday
  {
    font-size                   : 3rem;
  }

  #bodynewmenbership tr td:first-of-type,
  #bodynewmenbership tr td:nth-of-type(2)
  {
    width                       : 100%;
  }
  #bodynewmenbership tr td:nth-of-type(3)
  {
    width                       : 100%;
  }
  #bodynewmenbership tr td:last-of-type
  {
    width                       : 100%;
  }



  i
  {
        font-size: 3rem;
  }

  footer
  {
    font-size                  : 1.2rem;
  }

}