@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: rgb(184, 184, 184);
}

* {
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

p.info {
  color: white;
  font-size: 1.4em;
  background-color: rgb(128, 128, 128);
  padding: 5px 20px;
  border-radius: 10px;
}

strong {
  font-size: inherit;
  font-weight: bold;  
}

h2, h3 {
  text-transform: uppercase;
  color: rgb(69, 69, 69);
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

h5 {
  font-size: 1.2em;
  margin: 10px 5px;
  text-align: center;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
}

main {
  padding-top: 170px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.content {
  padding: 40px;
  width: 80%;
  height: 100%;
}

#logo {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  background-color: white;
  border-bottom: 5px solid rgb(11, 101, 174);
}

#logo h1 {
  font-size: 2em;
  color: rgb(11, 101, 174);
  padding: 10px;
}

#logo img {
  width: 100px;
  height: auto;
  margin: 10px;
}

nav#mainMenu ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  background-color: rgb(69, 69, 69);
  margin: 0;
}

nav#mainMenu li {
  list-style: none;
  padding: 0px;
  margin: 10px;
  background-color: rgb(128, 128, 128);
  color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

nav#mainMenu li a {
  text-decoration: none;
  color: inherit;
  font-size: 1.2em;
  padding: 5px 40px;
}

nav#mainMenu li:hover {
  background-color: white;
  color: rgb(128, 128, 128);
}

table {
  border-collapse: collapse;
  border: 6px solid rgb(246, 160, 29);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}

th, td {
  border: 3px solid rgb(246, 160, 29);
  padding: 8px;
  background-color: rgb(69, 69, 69);
  color: white;
  text-align: center;
}

td {
  background-color: rgb(128, 128, 128);
  color: white;
  font-size: 1.2em;
}

th {
  font-size: 1.4em;
  font-weight: 100;
}

table a {
  text-decoration: none;
  font-size: 1.2em;
  padding: 3px 5px;
  margin: 10px;
  background-color: white;
  color: rgb(128, 128, 128);
  border-radius: 10px;
}

table a:hover {
  background-color: rgb(69, 69, 69);
  color: inherit;
}

ul.logs, ul.admin_ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.logs li {
  padding: 10px 15px;
  border-radius: 5px;
  display: inline-block;
}

ul.admin_ul {
  display: inline-block;
  background-color: rgb(128, 128, 128);
  padding: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

ul.admin_ul li {
  margin-left: 15px;
}

ul.admin_ul li a::before {
  content: '- ';
}

ul.admin_ul li a {
  color:white;
  text-decoration: none;
}

ul.admin_ul li a:hover {
  text-decoration: underline;
}

li.danger {
  background-color: red;
  color: white;
}

li.success {
  background-color: green;
  color: white;
}

.pts_chgts {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
}

.pt_chargement {
  border: 10px solid rgb(246, 160, 29);
  background-color: rgb(69, 69, 69);
  color: white;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.data-chgt {
  border: 10px solid rgb(11, 101, 174);
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: rgb(69, 69, 69);
  color: white;
}

.edit-process {
  border: 10px solid rgb(128, 128, 128);
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
  display: inline-block;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  background-color: rgb(69, 69, 69);
  color: white;
}

.horaire {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.instructions h6 {
  margin: 0;
}

.instructions {
  margin-top: 25px;
  background-color: rgb(184, 184, 184);
  color: black;
  padding: 10px;
}

.form_group {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 5px;
  margin-bottom: 10px;
}

.form_group input {
  width: auto;
  text-align: center;
}

.form_group label {
  padding: 5px 5px;
}

.form_group textarea {
  width: 300px;
  height: 150px;
}

.form_group input[type=submit] {
  width: 100%;
}

.form_group input[type=submit] {
  background-color: rgb(128, 128, 128);
  color: white;
  border: 0;
  padding: 10px;
  font-size: 1.2em;
  cursor: pointer;
}

td div.form_group input[type=submit] {
  background-color: rgb(69, 69, 69);
}

.form_group input[type=submit]:hover {
  background-color: white;
  color: rgb(128, 128, 128);
}

.info {
  display: inline-block;
  background-color: rgb(128, 128, 128);
  color: white;
  border: 0;
  padding: 10px;
  font-size: 1.2em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 10px;
  margin: 10px;
}

section.traction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

fieldset {
  display: flex;
  flex-direction: column;
}

a.jsLink {
  text-decoration: none;
  color: white;
}

a.jsLink:hover {
  text-decoration: underline;
}

/* Mobile */
@media(max-width: 767px) {
    header {
        display: flex;
        flex-direction: column;
        position: static;
        height: auto;
    }

    main {
      padding: 10px;
    }

    nav#mainMenu ul {
        display: flex;
        flex-direction: column;
    }

    .content {
        width: 90%;
        margin: 0;
        padding: 5px;
    }

    .pt_chargement, .data-chgt {
      width: 100%;
    }

    ul.admin_ul {
      width: 100%;
    }
}