/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  font-family: "Google Sans", Roboto, Arial, sans-serif;
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.5;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

.app-view {
  height: 100vh;
  width: 100vw;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.menu-onglets {
  width: 100%;
  height: 5%;
}

.panneau-principal {
  height: 95%;
  width: 100%;
}

/* vue mensuelle */
.panneau-mois {
  height: 100%;
  width: 100%;
}

.navigation-mois {
  display: flex;
  flex-direction: row;
}

.label-mois {
  width: 400px;
}

.navigation-mois button {
  border: none;
  width: 50px;
  height: 30px;
  margin: 10px;
  padding: 0px;
  background-color: black;
  color: white;
}

.menu-missions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  height: 40px;
  margin-bottom: 1%;
}

.menu-missions div {
  width: 8%;
  margin: 2px;
  padding: 3px;
  text-align: center;
  user-select: none;
  font-size: 0.6em;
  font-weight: bold;
}
.grille-mensuelle {
  height: 100%;
  width: 100%;
  border: 1px solid #ccc;
}

.entete-grille-mensuelle {
  height: 5%;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.entete-grille-mensuelle div {
  width: calc(100% / 7);
  border: 0.5px solid #ccc;
  text-align: center;
  font-weight: bold;
}

.corps-grille-mensuelle {
  height: 87%;
  width: 100%;
}

.cellule-jour {
  float: left;
  height: calc(100% / 6);
  width: calc(100% / 7);
  border: 0.5px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  user-select: none;
}

.quantieme {
  order: 1;
  font-size: 0.8em;
  padding:2px;
}

.label-evenement {
  width: 100%;
  height: 1.5em;
  font-size: 0.8em;
  padding-left: 5px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 0px;
  user-select: none;
}

.dialogue-evenement {
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: white;
  width:66%;
}

.dialogue-evenement .entete {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

.dialogue-evenement .entete button {
  border: none;
  outline: none;
  width: 30px;
  height: 30px;
}

.dialogue-evenement .entete button:focus {
  border: none;
  outline: none;
}

.dialogue-evenement form {
  margin: 10px;
  display: flex;
  flex-direction: column;
}

.dialogue-evenement label {
  display: flex;
  flex-direction: column;
}

.panneau-annee {
  height: 100%;
  width: 100%;
  background-color: darkorange;
}

.panneau-admin {
  height: 100%;
  width: 100%;
  background-color: gold;
}
