@charset "UTF-8";
@font-face {
  font-family: 'Oxygen';
  src: url("../contrib/Oxygen/Oxygen-Regular.ttf");
  font-weight: normal;
  font-style: normal;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Oxygen';
  outline: none;
}

html {
  height: 100%;
  color: #333;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #FFF;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
}

a {
  text-decoration: none;
  color: #df8a11;
  transition: text-shadow 0.5s;
}

img {
  max-width: 100%;
}

nav > ul {
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 640px) {
  body {
    flex-flow: column;
  }
}

.disabled {
  cursor: not-allowed !important;
  background-color: #c7b293 !important;
}

button, .button {
  background-color: #df8a11;
  cursor: pointer;
  padding: 0.5em 1em;
  border: none;
  border-radius: 15px;
  color: white;
  transition: background-color 0.5s;
  font-size: 1em;
  font-weight: bold;
  margin: 5px 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-height: 40px !important;
}

button:disabled, .button:disabled {
  background: #ddd !important;
  pointer-events: none;
  cursor: not-allowed;
}

button i, .button i {
  vertical-align: middle;
  margin: 0 0.5em;
}

button:hover, .button:hover {
  background-color: #FCCD76;
  color: white !important;
}

button[type=button], .button[type=button] {
  border-radius: 0;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
}

button[type=button] + button, .button[type=button] + button {
  border-left: none;
  transition: background-color 0.5s;
}

button[type=button]:first-child, .button[type=button]:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

button[type=button]:last-child, .button[type=button]:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

button[type=button]:hover, .button[type=button]:hover {
  background-color: #eaeaea;
}

button[type=button]:active, button[type=button].toggled, .button[type=button]:active, .button[type=button].toggled {
  background-color: #ddd;
}

form p {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}

form p label {
  -webkit-flex: 0 1 35%;
  -moz-flex: 0 1 35%;
  -ms-flex: 0 1 35%;
  -o-flex: 0 1 35%;
  flex: 0 1 35%;
  min-width: 35%;
  display: inline-block;
  font-weight: bold;
  padding-right: 0.5em;
}

form p input, form p .button, form p textarea {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  display: inline-block;
}

form p input:last-of-type, form p .button:last-of-type, form p textarea:last-of-type {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

form p input:first-of-type, form p .button:first-of-type, form p textarea:first-of-type {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

form p input + input, form p .button + input, form p textarea + input {
  border-left: none;
}

form p label + input {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

form p button, form p .button {
  padding: 0.25em 0.5em;
  border-radius: 0;
}

form img {
  border-radius: 15px;
  box-shadow: darkgray 3px 3px 10px;
}

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

form ul li {
  display: -webkit-flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  padding: 0;
}

form ul li:hover {
  background-color: #eee;
}

form ul label {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 0.5em;
  display: block;
  cursor: pointer;
  border-radius: 5px;
}

form ul input[type=checkbox], form ul input[type=radio] {
  width: auto;
  text-align: center;
  vertical-align: middle;
  margin: 0 0.5em;
}

form ul input[type=radio] {
  margin-left: 1em;
}

form ul input[type=radio] + label {
  margin-left: 0;
}

input, textarea {
  padding: 0.25em 0.5em;
  border: 1px solid #ccc;
  background-color: #eee;
  width: 100%;
  border-radius: 15px;
}

input[type=checkbox], textarea[type=checkbox] {
  text-align: start;
}

input:focus, textarea:focus {
  border-color: #FCCD76;
}

select {
  padding: 0.25em 0.5em;
  border-radius: 15px;
  height: 30px;
}

@supports (-moz-appearance: none) {
  select {
    background: transparent url("data:image/gif;base64,R0lGODlhBgAGAKEDAFVVVX9/f9TU1CgmNyH5BAEKAAMALAAAAAAGAAYAAAIODA4hCDKWxlhNvmCnGwUAOw==") right center no-repeat !important;
    background-position: calc(100% - 5px) center !important;
  }
}

legend {
  padding: 1em;
  margin: 0 0 0 2em;
  font-size: 0.95em;
}

fieldset {
  border: none;
  border-top: 1px solid #ccc;
  padding: 1em 0;
  margin: 1em 0;
}

.red_button {
  background-color: #e55;
  color: white;
}

.red_button:hover {
  background-color: #e99;
  color: white;
}

.errorlist {
  background-color: #e55;
  font-weight: bold;
  color: white;
  list-style: none;
  padding: 1em;
  margin-bottom: 0;
}

.errorlist li:hover {
  background-color: #e55;
}

.errorlist + p {
  background-color: #e99;
  margin-top: 0;
  color: white;
  padding: 1em;
}

.errorlist + p input {
  background-color: #F9C3C3;
  border-color: #CF8383;
}

.errorlist + p input:focus {
  border-color: red;
}

@media screen and (max-width: 768px) {
  form select {
    width: 100%;
  }
  form input, form textarea {
    width: 100%;
  }
  form p {
    -webkit-flex-flow: column;
    -moz-flex-flow: column;
    -ms-flex-flow: column;
    -o-flex-flow: column;
    flex-flow: column;
  }
  form p label, form p input {
    width: 100%;
    margin: 0.25em 0;
  }
  form p input {
    padding: 0.25em 0.5em;
    border-radius: 3px;
  }
  form p input + input {
    border-left: 1px solid #ccc;
  }
  form p input, form p .button, form p label, form p textarea {
    -webkit-flex: 1 1 auto;
    -moz-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -o-flex: 1 1 auto;
    flex: 1 1 auto;
    display: block;
    border-radius: 3px;
  }
  form p input:last-child, form p .button:last-child, form p label:last-child, form p textarea:last-child {
    border-radius: 15px;
  }
  form p input + input, form p .button + input, form p label + input, form p textarea + input {
    border-left: 1px solid #ccc;
  }
  form p label + input, form p label + textarea {
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
  }
  form p button, form p .button {
    padding: 0.25em 0.5em;
    border-radius: 3px;
    width: 100%;
    margin: 0.25em 0;
  }
}

@media screen and (max-width: 640px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

table:not(.rd-days) {
  width: 100%;
  border-collapse: collapse;
}

table:not(.rd-days) thead {
  background-color: white;
}

table:not(.rd-days) thead th {
  padding: 0.5em 1em;
  text-align: left;
}

table:not(.rd-days) tbody tr {
  background-color: #eee;
  transition: background-color 0.25s;
}

table:not(.rd-days) tbody tr:nth-child(2n) {
  background-color: #f5f5f5;
}

table:not(.rd-days) tbody tr:hover {
  background-color: #dfdfdf;
}

table:not(.rd-days) tbody td {
  padding: 1em;
}

table:not(.rd-days) tbody td:first-child {
  padding-left: 1em;
}

table:not(.rd-days) tbody td:last-child {
  padding-right: 1em;
}

table:not(.rd-days) .action_cell {
  text-align: right;
}

table:not(.rd-days) .action_cell a {
  padding: 0 1em;
  color: white;
  background-color: #FCCD76;
  margin: 0;
  display: inline-block;
  border-radius: 0;
}

table:not(.rd-days) .action_cell a:first-child {
  border-radius: 3px 0 0 3px;
}

table:not(.rd-days) .action_cell a:last-child {
  border-radius: 0 3px 3px 0;
}

.w100 {
  width: 100%;
}

.flex_container {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
}

.flex_container.center_vertical {
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}

.flex_container.start {
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  -ms-align-items: flex-start;
  -o-align-items: flex-start;
  align-items: flex-start;
}

.right {
  text-align: right;
}

.flex {
  -webkit-flex: 0 1 auto;
  -moz-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  -o-flex: 0 1 auto;
  flex: 0 1 auto;
}

.flex.expand {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.flex.expand30 {
  -webkit-flex: 0 1 30%;
  -moz-flex: 0 1 30%;
  -ms-flex: 0 1 30%;
  -o-flex: 0 1 30%;
  flex: 0 1 30%;
  min-width: 30%;
}

.flex.expand50 {
  -webkit-flex: 0 1 50%;
  -moz-flex: 0 1 50%;
  -ms-flex: 0 1 50%;
  -o-flex: 0 1 50%;
  flex: 0 1 50%;
  min-width: 50%;
}

.spinner {
  margin: 2em auto;
  padding: 2em;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  animation-duration: 0.5s;
  animation-name: spin;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  border-top: 3px solid #bbb;
  border-right: 3px solid transparent;
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}

.expand {
  width: 100%;
  display: block;
}

.bg_grey {
  background-color: #bbb;
}

.error {
  background-color: #E06060;
  color: white;
  padding: 1em;
}

.red {
  color: #E06060;
}

.green {
  color: #60A060;
}

.yellow {
  background-color: #FCCD76;
  color: white;
}

.blue {
  background-color: #6BD;
  color: white;
}

.hidden {
  display: none;
}

.markdown h1, .markdown h2, .markdown h3, .markdown h4, .markdown h5, .markdown h6 {
  color: #aaa;
}

.markdown h1 {
  font-size: 2em;
}

.bold {
  font-weight: bold;
}

.toolbar {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: flex-end;
  -moz-justify-content: flex-end;
  -ms-justify-content: flex-end;
  -o-justify-content: flex-end;
  justify-content: flex-end;
  text-align: right;
  margin-bottom: 1em;
}

.toolbar select {
  border-radius: 50px;
  margin: 0 2em;
}

.toolbar a {
  display: block;
  border-radius: 0;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
  padding: 1em 1.25em;
  margin: 0;
}

.toolbar a + a {
  border-left: none;
  transition: background-color 0.25s;
}

.toolbar a:first-of-type {
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}

.toolbar a:last-of-type {
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}

.toolbar a:hover {
  background-color: #eaeaea;
}

.toolbar a:active, .toolbar a.toggled {
  background-color: #ddd;
}

.float_right {
  float: right;
}

.pagination {
  width: 100%;
  text-align: center;
  margin: 2em 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}

.pagination .page {
  display: block;
  border-radius: 0;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
  padding: 1em 1.25em;
  margin: 0;
}

.pagination .page + .page {
  border-left: none;
  transition: background-color 0.25s;
}

.pagination .page:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.pagination .page:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.pagination .page:hover {
  background-color: #eaeaea;
}

.pagination .page:active, .pagination .page.toggled {
  background-color: #ddd;
}

.announce header {
  border-bottom: 1px solid #eee;
}

.announce header h2 {
  color: #bbb;
  font-size: 1em;
}

.announce .details {
  text-align: center;
}

.announce .details + .details div {
  border-top: none;
}

.announce .details div {
  -webkit-flex: 1 1 50%;
  -moz-flex: 1 1 50%;
  -ms-flex: 1 1 50%;
  -o-flex: 1 1 50%;
  flex: 1 1 50%;
  border: 1px solid #eee;
  padding: 1em;
}

.announce .details div + div {
  border-left: none;
}

.announce .details p {
  text-align: center;
  margin: 0;
}

.announce .details p:first-child {
  font-size: 1.5em;
  font-weight: bold;
  color: orange;
}

.subtitle {
  display: block;
  color: grey;
  font-size: 0.4em;
}

@media screen and (max-width: 640px) {
  .flex_container {
    display: block;
  }
  .announce div {
    border: none !important;
  }
}

#main_container {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-order: 2;
  -moz-order: 2;
  -ms-order: 2;
  -o-order: 2;
  order: 2;
  margin-left: 300px;
}

.retracted #main_container {
  max-width: calc(100% - 300px - 50px);
}

.retracted #note {
  display: none;
}

.retracted #note_container {
  font-size: 0.7em;
}

#main_div {
  margin: 2.5em;
}

#main_header h1 {
  border-bottom: 2px solid #df8a11;
  padding: 0 0 0.5em 0;
  margin: 1em 0;
  color: #686868;
}

#main_header nav {
  margin: 1em 0 2em 0;
}

#main_header nav ul {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  width: 100%;
}

#main_header li {
  -webkit-flex: 1 1 100%;
  -moz-flex: 1 1 100%;
  -ms-flex: 1 1 100%;
  -o-flex: 1 1 100%;
  flex: 1 1 100%;
  -webkit-align-self: stretch;
  -moz-align-self: stretch;
  -ms-align-self: stretch;
  -o-align-self: stretch;
  align-self: stretch;
}

#main_header li:last-child a {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  border-right-width: 2px;
  text-align: right;
}

#main_header li:first-child a {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  border-left-width: 2px;
  text-align: left;
}

#main_header a {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: transparent;
  color: #df8a11;
  padding: 0.5em 1em;
  margin: 0 0.5em 0 0;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.25s;
  justify-content: center;
  align-content: center;
  border: solid #df8a11;
  border-width: 2px 0 2px 0;
}

#main_header a.selected, #main_header a:hover {
  background-color: #df8a11;
  color: white;
}

#main_header main {
  color: #555;
}

@media screen and (max-width: 1280px) {
  #main_container {
    margin-left: 200px;
  }
}

@media screen and (max-width: 768px) {
  #main_div {
    margin: 1.25em !important;
  }
  #main_header nav ul {
    display: block;
  }
  #main_header nav ul li {
    display: block;
  }
  #main_header nav ul li a {
    border-radius: 0;
    text-align: left;
    border-width: 0 2px 0 2px;
  }
  #main_header nav ul li:first-child a {
    border-radius: 18px 18px 0 0;
    border-top-width: 2px;
  }
  #main_header nav ul li:last-child a {
    border-radius: 0 0 18px 18px;
    border-bottom-width: 2px;
    text-align: left;
  }
  #main_header nav ul li:first-child:last-child a {
    border-radius: 3px;
  }
}

@media screen and (max-width: 640px) {
  #main_container {
    max-width: 100%;
    -webkit-flex: 1 1 auto;
    -moz-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -o-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-order: 3;
    -moz-order: 3;
    -ms-order: 3;
    -o-order: 3;
    order: 3;
    margin-left: 0;
    margin-top: 70px;
  }
  .retracted #main_container {
    max-width: 100%;
  }
}

#nav_container {
  width: 300px;
  height: 100%;
  -webkit-flex: 0 1 300px;
  -moz-flex: 0 1 300px;
  -ms-flex: 0 1 300px;
  -o-flex: 0 1 300px;
  flex: 0 1 300px;
  -webkit-order: 1;
  -moz-order: 1;
  -ms-order: 1;
  -o-order: 1;
  order: 1;
  background-color: #333;
  padding: 0 1.2em;
  display: block;
  color: white;
  position: fixed;
  scrollbar-width: none;
  -webkit-overflow-style: none;
  -moz-overflow-style: none;
  -ms-overflow-style: none;
  -o-overflow-style: none;
  overflow-style: none;
  z-index: 5;
  overflow-y: scroll;
}

#nav_container::-webkit-scrollbar {
  display: none;
}

#nav_container header {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  height: auto;
}

#nav_container header div {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
  margin-top: 1em;
}

#nav_container main form {
  margin: 2.2em 0;
}

#nav_container main form div {
  position: relative;
  height: 2em;
  font-size: 15px;
}

#nav_container main form i {
  font-size: 1.2em;
  color: white;
  margin: 0 0.5em;
  text-shadow: 0 0 10px transparent;
  transition: color 0.5s, text-shadow;
}

#nav_container main form input {
  font-size: 15px;
  display: block;
  background-color: #555;
  border: none;
  border-radius: 15px;
  margin: 0.5em 0;
  padding: 0.5em 1em 0.5em 1.75em;
  width: 100%;
  color: #CCC;
  transition: background-color 0.25s;
}

#nav_container main form input:focus {
  background-color: #444;
}

#nav_container main form input:focus + i {
  color: orange;
  text-shadow: 0 0 10px orange;
}

#nav_container main form button {
  width: 100%;
  font-size: 1em;
}

#nav_container main nav a:hover, #nav_container main nav a.selected {
  background-color: #2a2a2a;
  transition: background-color 0.5s;
}

.site_nav a {
  color: white;
  display: block;
  padding: 0.75em 1em;
  border-radius: 18px;
  margin: 5px 0;
  background-color: transparent;
  transition: background-color 0.5s;
}

#logo {
  max-width: 200px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.avatar {
  width: 60px;
  height: 60px;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  -ms-border-radius: 60px;
  -o-border-radius: 60px;
  border-radius: 60px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  -ms-background-clip: padding-box;
  -o-background-clip: padding-box;
  background-clip: padding-box;
  margin: 0 auto;
  float: left;
  background-size: cover;
  background-position: center center;
  display: block;
}

.login {
  width: 100%;
}

.login h1 {
  width: 100%;
  margin-top: 2em;
  margin-bottom: 0;
}

#username {
  color: white;
  display: none;
}

.user {
  vertical-align: middle;
  height: 66px;
  background-color: #2a2a2a;
  border-radius: 30px;
  margin-top: 30px;
  display: table;
  border: solid 3px #2a2a2a;
  overflow: hidden;
}

.user h1 {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
  color: white;
  width: 100%;
  font-size: 100%;
  margin: 0;
  padding-left: 10px;
}

.user_nav {
  display: inline;
  padding: 0;
  margin: 0;
  text-align: center;
}

.user_nav ul {
  padding: 0;
  margin: 0;
  border-bottom: solid 3px #2a2a2a;
  border-radius: 5px;
}

.user_nav ul li {
  display: inline;
}

.user_nav ul li a {
  display: inline-block;
  color: white;
  padding: 0.75em 1em;
  border-radius: 36px;
  margin: 5px 0;
  background-color: transparent;
  transition: background-color 0.5s;
}

#menuToggle .checkbox {
  display: none;
}

@media screen and (max-width: 1280px) {
  #nav_container {
    width: 200px;
    -webkit-flex: 0 1 200px;
    -moz-flex: 0 1 200px;
    -ms-flex: 0 1 200px;
    -o-flex: 0 1 200px;
    flex: 0 1 200px;
    padding: 0.75em;
  }
  #nav_container #logo {
    padding: 0 15px;
  }
  #nav_container header {
    -webkit-flex-flow: column;
    -moz-flex-flow: column;
    -ms-flex-flow: column;
    -o-flex-flow: column;
    flex-flow: column;
    text-align: center;
  }
  #nav_container header nav ul li {
    display: inline-block;
  }
}

@media screen and (max-width: 640px) {
  #nav_container {
    -webkit-flex: 1 1 auto;
    -moz-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -o-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-order: 1;
    -moz-order: 1;
    -ms-order: 1;
    -o-order: 1;
    order: 1;
    height: 70px;
    position: fixed;
    width: 100%;
    margin: 0;
    padding-top: 0;
  }
  #nav_container header {
    margin: 0;
    padding: 0;
  }
  #menuToggle {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 28px;
    left: 20px;
    cursor: pointer;
    z-index: 2;
  }
  #menuToggle .menu {
    display: flex;
    width: 29px;
    height: 2px;
    margin-bottom: 5px;
    margin-left: 5px;
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 3px;
    transform-origin: 5px 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  }
  #menuToggle .menu:first-child {
    transform-origin: 0 0;
  }
  #menuToggle .menu:nth-last-child(2) {
    transform-origin: 0 100%;
  }
  #menuToggle .checkbox {
    display: flex;
    height: 70px;
    width: 100px;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
  }
  #menuToggle .checkbox:checked ~ main {
    transform: none;
    box-shadow: 5px 10px 10px #2a2a2a;
    z-index: 2;
  }
  #menuToggle main {
    border-top: 2px solid #2a2a2a;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 5px;
    position: fixed;
    width: 95%;
    max-width: 300px;
    height: calc(100% - 70px);
    margin-left: -25px;
    top: 70px;
    padding: 20px;
    padding-top: 10px;
    background-color: #333;
    box-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -ms-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    font-smoothing: antialiased;
    transform-origin: 0 0;
    transform: translate(-100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
    overflow-y: scroll;
    scrollbar-width: none;
    -webkit-overflow-style: none;
    -moz-overflow-style: none;
    -ms-overflow-style: none;
    -o-overflow-style: none;
    overflow-style: none;
  }
  #menuToggle main::-webkit-scrollbar {
    display: none;
  }
  .checkbox:checked ~ .menu {
    opacity: 1;
    transform: rotate(45deg) translate(-3px, -1px);
    background: white;
  }
  .checkbox:checked ~ .menu:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }
  .checkbox:checked ~ .menu:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }
  .site_nav {
    padding-bottom: 0;
  }
  #logo {
    max-width: 80px;
    margin-top: -5px;
    padding: 0 !important;
  }
}

#user_container {
  min-width: 225px;
  -webkit-flex: 0 1 225px;
  -moz-flex: 0 1 225px;
  -ms-flex: 0 1 225px;
  -o-flex: 0 1 225px;
  flex: 0 1 225px;
  -webkit-order: 3;
  -moz-order: 3;
  -ms-order: 3;
  -o-order: 3;
  order: 3;
  background-color: #f2f2f2;
  padding: 1em;
  border: 3px solid #f2f2f2;
}

#user_container .displayed_on_retracted {
  display: none;
}

#user_container .hidden_on_retracted {
  display: block;
}

#user_container #toggle_user_container {
  text-align: center;
  background-color: #e2e2e2;
  color: #bbb;
  margin: -1em;
  padding: 0.5emF;
  transition: background-color 0.25s, color 0.25s;
  cursor: pointer;
  position: fixed;
  width: 225px;
}

#user_container #toggle_user_container:hover {
  background-color: #d2d2d2;
  color: white;
}

#user_container header {
  margin-top: 3em;
}

#user_container header h1 {
  font-size: 1em;
  margin: 0.75em 0;
}

#user_container header h1 i {
  color: #bbb;
}

#user_container header input, #user_container header label {
  display: block;
  width: 100%;
  margin: 0.5em 0;
}

#user_container header label {
  padding: 0.25em 0;
}

#user_container header input {
  background-color: #fff;
  border: 1px solid #dfdfdf;
  padding: 0.4em 0.6em;
}

#user_container header button {
  background-color: #FCCD76;
  width: 100%;
  border-radius: 3px;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  margin: 0.75em 0;
  transition: background-color 0.25s;
  color: white;
}

#user_container header button i {
  padding: 0 1em;
  vertical-align: middle;
}

#user_container header button:hover {
  background-color: #FFC458;
}

#user_container header img {
  display: block;
  border-radius: 5px;
  width: 100%;
  margin: 1em auto;
}

#user_container header nav a {
  display: block;
  padding: 0.25em 0;
  background-color: #fccd76;
  margin: 0.4em 0;
  color: white;
  border-radius: 4px;
  padding: 0.5em;
  transition: background-color 0.25s;
}

#user_container header nav a:hover {
  background-color: #ffc458;
}

#user_container header nav i {
  border-radius: 2em;
  text-align: center;
  color: white;
}

.retracted #user_container {
  -webkit-flex: 0 1 50px;
  -moz-flex: 0 1 50px;
  -ms-flex: 0 1 50px;
  -o-flex: 0 1 50px;
  flex: 0 1 50px;
  min-width: 50px;
  padding: 0.5em;
}

.retracted #user_container header img {
  width: 100%;
  border-radius: 2px;
}

.retracted #user_container nav a {
  text-align: center;
}

.retracted #user_container nav a span {
  display: none;
}

.retracted #user_container #username {
  display: none;
}

.retracted #user_container #toggle_user_container {
  width: 50px;
  margin: -0.5em;
}

.retracted #user_container .hidden_on_retracted {
  display: none;
}

.retracted #user_container .displayed_on_retracted {
  display: block;
}

@media screen and (max-width: 640px) {
  #toggle_user_container {
    display: none;
  }
  .retracted #user_container {
    -webkit-flex: 1 1 auto;
    -moz-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    -o-flex: 1 1 auto;
    flex: 1 1 auto;
    -webkit-order: 2;
    -moz-order: 2;
    -ms-order: 2;
    -o-order: 2;
    order: 2;
  }
  .retracted #user_container header {
    margin: 1em 2em;
  }
  .retracted #user_container header img {
    display: none;
  }
  .retracted #user_container ul {
    display: -webkit-flex;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-justify-content: space-around;
    -moz-justify-content: space-around;
    -ms-justify-content: space-around;
    -o-justify-content: space-around;
    justify-content: space-around;
  }
  .retracted #user_container ul a {
    padding: 1em 2em;
  }
}

.userlist {
  padding: 0;
  list-style: none;
}

.userlist img {
  height: 100%;
  vertical-align: middle;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
}

.userlist li {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  color: #333;
  height: 50px;
  border-radius: 50px;
  border-bottom: solid 1px #eee;
}

.userlist li:hover {
  background-color: #f5f5f5;
}

.userlist li.hidden {
  display: none;
}

.userlist li div:nth-child(2) {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.userlist li div:last-child {
  padding: 0 0.5em;
}

.userlist li button {
  border-radius: 0;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
  font-weight: normal !important;
  margin: 0;
}

.userlist li button + button {
  border-left: none;
  transition: background-color 0.25s;
}

.userlist li button:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.userlist li button:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.userlist li button:hover {
  background-color: #eaeaea;
  color: black !important;
}

.userlist li button:active, .userlist li button.toggled {
  background-color: #ddd;
}

.picture_container, .icon_container {
  -webkit-flex: 0 1 50px;
  -moz-flex: 0 1 50px;
  -ms-flex: 0 1 50px;
  -o-flex: 0 1 50px;
  flex: 0 1 50px;
  width: 50px;
  height: 50px;
  min-width: 50px;
  max-width: 50px;
  margin: 0 1em 0 0;
  overflow: hidden;
  border-radius: 50px;
}

.icon_container {
  font-size: 2em;
  text-align: center;
  margin-right: 0;
}

#userlist input, #grouplist input, #eventlist input, #eventlist_old input, #polllist input {
  width: 100%;
  padding: 0.75em 1em;
  font-weight: bold;
  border-radius: 50px;
}

.userlist_right_button {
  margin-left: auto;
  margin-right: 5px;
}

@media screen and (max-width: 900px) {
  .userlist li {
    display: block;
    height: auto;
    padding: 1em;
    text-align: center;
    box-shadow: lightgray 0px 2px 8px;
    margin-bottom: 15px;
    border-radius: 15px;
    border-bottom: 1px solid #ddd;
  }
  .userlist li div:nth-child(2) {
    display: inline-block;
    padding: 1em;
  }
  .userlist li .picture_container, .userlist li .icon_container {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.popup, .permission_popup, .selection_popup, .user_selection_popup, .customization_popup {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10;
  display: none;
  padding: 2em;
  animation-name: fadeIn;
  animation-duration: 0.5s;
}

.popup > div, .permission_popup > div, .selection_popup > div, .user_selection_popup > div, .customization_popup > div {
  background-color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  min-width: 100px;
  min-height: 100px;
  max-height: 100%;
  overflow: auto;
  border-radius: 18px;
}

.popup.pop, .pop.permission_popup, .pop.selection_popup, .pop.user_selection_popup, .pop.customization_popup {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  -o-justify-content: center;
  justify-content: center;
}

.popup header, .permission_popup header, .selection_popup header, .user_selection_popup header, .customization_popup header {
  background-color: white;
  border-bottom: 1px solid #e2e2e2;
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  padding: 0;
}

.popup header button, .permission_popup header button, .selection_popup header button, .user_selection_popup header button, .customization_popup header button {
  margin: 0;
  padding: 0.8em;
  background: none;
  border: none;
  color: #bbb;
  border-radius: 0 !important;
  font-size: 1.2em;
  background-color: white;
  box-shadow: none;
}

.popup header button:hover, .permission_popup header button:hover, .selection_popup header button:hover, .user_selection_popup header button:hover, .customization_popup header button:hover {
  color: red !important;
}

.popup header h1, .permission_popup header h1, .selection_popup header h1, .user_selection_popup header h1, .customization_popup header h1 {
  font-size: 1.2em;
  color: #aaa;
  margin: 0;
  padding: 0.8em;
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.popup main, .permission_popup main, .selection_popup main, .user_selection_popup main, .customization_popup main {
  padding: 1em;
  background-color: white;
  max-height: 100%;
}

.customization_popup main button {
  display: block;
  width: 100%;
  margin: 1em 0;
  border-radius: 18px;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
}

.customization_popup main button:hover {
  background-color: #eaeaea;
  color: #333 !important;
}

.customization_popup main button:active, .customization_popup main button.toggled {
  background-color: #ddd;
}

.customization_popup main button:disabled {
  background: #ddd !important;
  pointer-events: none;
  cursor: not-allowed;
  color: #777;
}

.customization_popup main input, .customization_popup main select {
  width: 100%;
  margin-bottom: 15px;
}

.selection_popup main button, .user_selection_popup main button {
  display: block;
  width: 100%;
  margin: 1em 0;
  border-radius: 18px;
  background-color: white;
  color: #333;
  border: 1px solid #bbb;
}

.selection_popup main button:hover, .user_selection_popup main button:hover {
  background-color: #eaeaea;
  color: #333 !important;
}

.selection_popup main button:active, .user_selection_popup main button:active, .selection_popup main button.toggled, .user_selection_popup main button.toggled {
  background-color: #ddd;
}

.selection_popup main button:disabled, .user_selection_popup main button:disabled {
  background: #ddd !important;
  pointer-events: none;
  cursor: not-allowed;
  color: #777;
}

.user_selection_popup input {
  width: 100%;
  padding: 0.5em;
}

.permission_popup input[type=checkbox] {
  width: auto;
  vertical-align: middle;
}

.permission_popup #grouplist {
  padding: 0;
  list-style: none;
}

.permission_popup #grouplist li {
  display: inline-block;
  padding: 0.5em;
  background-color: #EEE;
  margin: 0.2em;
  color: white;
  border-radius: 3px;
}

.diaporama_popup {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  padding: 2em;
  position: fixed;
  line-height: 100%;
  vertical-align: middle;
}

.diaporama_popup img {
  max-width: 100%;
  max-height: 100%;
}

.diaporama_popup > div {
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: absolute;
  top: calc(100% - 8em);
  background-color: transparent !important;
  border-radius: 3px;
  left: calc(50% - 250px/2);
  width: 18em;
  height: 5em;
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
}

.diaporama_popup.pop {
  display: block;
}

.diaporama_popup button {
  display: block;
  vertical-align: middle;
  text-shadow: 0px 0px 10px white;
  font-size: 2em;
  text-align: center;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: rgba(0, 0, 0, 0.25);
  border-width: 0;
  margin: 0;
}

.diaporama_popup button i {
  margin: 0;
  padding: 0;
}

.diaporama_popup button:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.event {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-flex-flow: row;
  -moz-flex-flow: row;
  -ms-flex-flow: row;
  -o-flex-flow: row;
  flex-flow: row;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  -o-align-items: stretch;
  align-items: stretch;
  margin-bottom: 2em;
}

.event div:nth-child(1) {
  -webkit-flex: 0 1 11.5em;
  -moz-flex: 0 1 11.5em;
  -ms-flex: 0 1 11.5em;
  -o-flex: 0 1 11.5em;
  flex: 0 1 11.5em;
  min-width: 11.5em;
  height: 11.5em;
  overflow: hidden;
}

.event div:nth-child(1) img {
  height: 180px;
  margin: auto;
  vertical-align: middle;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 30px;
}

.event div:nth-child(2) {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.event div:nth-child(2) main p {
  color: #888;
  text-align: justify;
  max-height: 4.1em;
  margin: 0;
  font-size: 1em;
  padding: 0.5em;
  overflow: hidden;
  line-height: 1.2;
}

.event div:nth-child(2) main a {
  color: #df8a11;
  padding: 0 0.5em;
}

.event div:nth-child(2) header h3 {
  border: none;
  padding: 0.25em 0.4em;
  margin: 0;
  font-size: 1.2em;
}

.event div:nth-child(2) header p {
  padding: 0 0.5em;
  color: #888;
  margin: 0;
  font-weight: bold;
}

.event div:nth-child(3) {
  -webkit-flex: 0 1 200px;
  -moz-flex: 0 1 200px;
  -ms-flex: 0 1 200px;
  -o-flex: 0 1 200px;
  flex: 0 1 200px;
  min-width: 200px;
  text-align: center;
  padding: 1em;
}

.event .inscription_count {
  font-size: 1.75em;
  padding: 0;
  font-size: bold;
  margin-bottom: 0;
}

.event .inscription_count + p {
  margin-top: 0;
}

.bg-red {
  background-color: #FBE1E1 !important;
}

.bg-red:hover {
  background-color: #F5C1C1 !important;
}

.bg-green {
  background-color: #C4ECC4 !important;
}

.bg-green:hover {
  background-color: #95EC95 !important;
}

.bg-blue {
  background-color: #9FD3F3 !important;
}

.bg-blue:hover {
  background-color: #7AB3D7 !important;
}

.bg-yellow {
  background-color: #FFE57E !important;
}

.bg-yellow:hover {
  background-color: #FACD63 !important;
}

@media screen and (max-width: 640px) {
  .event {
    display: block;
  }
}

.comment {
  border: 1px solid #ddd;
  padding: 1em;
  margin: 1em 0;
}

.comment header {
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  border-bottom: 1px solid #eee;
}

.comment header hgroup {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.comment header h4, .comment header h5 {
  margin: 0 0 0.5em 0;
}

.comment header h5 {
  color: #aaa;
}

.comment .profile_picture_container {
  -webkit-flex: 0 1 150px;
  -moz-flex: 0 1 150px;
  -ms-flex: 0 1 150px;
  -o-flex: 0 1 150px;
  flex: 0 1 150px;
  min-width: 150px;
  max-width: 150px;
}

.comment .profile_picture_container img {
  max-width: 100%;
  max-height: 100%;
}

.comment .status {
  border-radius: 3px;
  align-self: center;
  display: inline-block;
  padding: 0.5em 1em;
  font-weight: bold;
  margin: 0;
}

.comment span.status {
  background-color: #ddd;
  color: #8a8a8a;
  border: 2px solid #ddd;
}

.comment span.status.accepted {
  background-color: #CAE9C9;
  color: #62A47E;
  border: 2px solid #cae9c9;
}

.comment span.status.refused {
  background-color: #E6CDCD;
  color: #C87373;
  border: 2px solid #e6cdcd;
}

.comment a.status {
  color: #8a8a8a;
  border: 2px solid #ddd;
}

.comment a.status.accepted {
  color: #B1CEB0;
  border: 2px solid #B1CEB0;
}

.comment a.status.refused {
  color: #DEABAB;
  border: 2px solid #DEABAB;
}

.comment div:first-child {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.welcome {
  font-size: medium;
  color: #444;
  background: #f1e9dc;
  padding: 0;
  margin: 15px;
  padding: 10px;
  border-radius: 15px;
}

.news {
  margin: 1em 0 5em 0;
  width: 100%;
}

.news header {
  border-bottom: 1px solid #eee;
}

.news header h1 {
  font-size: 2em;
  color: #777;
  margin: 0;
}

.news header h2 {
  font-size: 1em;
  color: #bbb;
}

.news footer {
  border-top: 1px solid #eee;
  padding: 1em 0 0 0;
}

.news footer a {
  color: #bbb;
}

.news footer a:hover {
  color: #6BD;
}

.news img {
  max-width: 100%;
}

.notification {
  margin-bottom: 3em;
  border-bottom: 1px solid #eee;
}

.notification h1 {
  font-size: 1.2em;
  margin-bottom: 0;
}

.notification h2 {
  font-size: 0.8em;
  color: #aaa;
  -webkit-display: flex;
  -moz-display: flex;
  -ms-display: flex;
  -o-display: flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
}

.notification h2 span:first-child {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.notification h2 button {
  padding: 0;
  margin: 0;
  background-color: white;
  color: #888;
  text-align: right;
  font-size: 0.8em;
}

.notification h2 i {
  vertical-align: middle;
}

#new_notification {
  position: relative;
  color: orange;
  animation-name: notify_blink;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes notify_blink {
  0% {
    color: white;
    text-shadow: 0 0 10px #333;
  }
  50% {
    color: orange;
    text-shadow: 0 0 10px orange;
  }
  100% {
    color: white;
    text-shadow: 0 0 10px #333;
  }
}

.request_list {
  list-style: none;
  padding: 0;
}

.request_list span:last-child {
  margin-left: 0.5em;
}

@keyframes slideDown {
  from {
    height: 0;
  }
  to {
    height: auto;
  }
}

#messages {
  position: sticky;
  top: 0;
  z-index: 2;
  height: auto;
}

@media screen and (max-width: 640px) {
  #messages {
    top: 70px;
  }
}

.message {
  padding: 1em 2em;
  font-weight: bold;
  color: white;
  animation-delay: 0.2s;
  animation-timing-function: ease-out;
  animation-duration: 5s;
  animation-iteration-count: 1;
}

.message i {
  vertical-align: middle;
  font-size: 3em;
}

.message span {
  margin-left: 1em;
  vertical-align: middle;
}

.message.error {
  background-color: #E06060;
}

.message.error i {
  color: #FFABAB;
}

.message.warning {
  background-color: #FFC06E;
}

.message.warning i {
  color: #FEE5B3;
}

.message.success {
  background-color: #63C56B;
}

.message.success i {
  color: #A4EAA4;
}

.message.info {
  background-color: #FFC06E;
}

.message.info i {
  color: #FEE5B3;
}

.cal {
  color: #333;
  position: fixed;
  z-index: 1;
  background-color: white;
  padding: 0.5em;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.cal .cal_title {
  display: -webkit-flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  -o-align-items: center;
  align-items: center;
  text-align: center;
  padding: 0.5em 0 1em 0;
  border-bottom: 1px solid #eee;
}

.cal .cal_title span {
  -webkit-flex: 1 1 auto;
  -moz-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  -o-flex: 1 1 auto;
  flex: 1 1 auto;
}

.cal .cal_title input {
  -webkit-flex: 0 1 auto;
  -moz-flex: 0 1 auto;
  -ms-flex: 0 1 auto;
  -o-flex: 0 1 auto;
  flex: 0 1 auto;
  background-color: white;
  border: none;
  width: 4em;
  background-color: #f5f5f5;
  margin-right: 1em;
}

.cal a {
  font-weight: bold;
  text-decoration: none;
  font-size: 1em;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.cal td {
  padding: 0.75em;
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: monospace;
}

.cal td:hover {
  background-color: #EFEFEF;
  border-radius: 3px;
}

.cal td.selected {
  background-color: #FCCD76;
  border-radius: 3px;
  color: white;
  font-weight: bold;
}

.cal th {
  color: #aaa;
  text-align: center;
  padding: 1em 0;
}

.cal tr, .cal th {
  border: none;
}

.cal table {
  font-size: 1em;
  font-family: monospace;
}

.albums {
  margin-bottom: 2em;
  border: 1px solid #eaeaea;
  background-color: #f5f5f5;
  border-radius: 3px;
}

.album {
  border-radius: 3px;
  font-weight: bold;
}

.album:nth-child(2n) {
  background-color: #fafafa;
}

.album a {
  padding: 0.5em 0.5em;
  color: #555;
  display: block;
}

.album a:hover {
  background-color: #eee;
}

.photos {
  text-align: center;
}

.photo {
  display: inline-block;
}

.photo img {
  display: inline-block;
}

#note_container {
  text-align: center;
  font-weight: lighter;
  color: white;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 0 0 30px 30px;
  padding: 35px 5px 5px;
  margin-top: -30px;
  margin-bottom: 0;
  border: solid 3px #2a2a2a;
}

#quote {
  margin: 0;
  padding: 0.5em 5%;
  border-bottom: 1px dotted #df8a11;
}

#quote quote {
  font-style: italic;
  color: #444;
}

#quote .prof {
  color: #888;
  text-align: right;
}

#quote quote::before {
  content: "« ";
}

#quote quote::after {
  content: " »";
}

.asso img {
  width: 100px;
  float: left;
  margin: 0 2em 1em 0;
}

.asso + .asso {
  border-top: 1px solid #FCCD76;
  padding-top: 2em;
  margin-top: 2em;
}

.asso h3 {
  margin: 0;
}

.asso .links a {
  display: block;
}

.asso_member img {
  width: 100px;
}

#percent {
  color: #df8a11;
  text-align: center;
  margin: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-weight: bold;
}

.product_list {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, auto));
  text-align: center;
}

.product_list .product_infos {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  padding: 5px 0;
}

.product_list .product_infos p {
  margin: 5px 0;
}

.product_list .product_container {
  border-radius: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product_list .product_container::after {
  content: "";
  border-radius: 15px;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product_list .product_container:hover {
  -webkit-transform: scale(1.5 1.5);
  transform: scale(1.03, 1.03);
}

.product_list .product_container:hover::after {
  opacity: 1;
}

.product_list .image_container {
  height: 200px;
  border-radius: 15px;
  background-size: cover;
  background-position: center center;
  box-shadow: lightgray 0 3px 5px;
}

.product_list .product_title {
  color: #df8a11;
  font-weight: bold;
  font-size: 1.2em;
}

.product_list .product_price {
  color: black;
}

.product_list .strikethrough {
  text-decoration: line-through;
  color: #771100;
}

.product_list .reduc {
  color: #006600;
}

.product_list .not_reduc {
  color: #776;
  font-style: italic;
}

.item-manage-list > article {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin: 10px 0;
  padding: 10px;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 15px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  justify-content: flex-end;
}

.item-manage-list h2 {
  font-size: 1em;
  flex: 1 1 auto;
  min-width: 180px;
}

.item-manage-list img {
  border-radius: 5px;
  margin: 0 10px;
  width: 3.5em;
  float: left;
}

.item-manage-list .hidden {
  background-color: #ddd;
}

.item-manage-list .numcommands {
  padding: 5px;
}

.item-manage-list .delivery_list {
  border: #df8a11 1px solid;
  background-color: white;
  color: #df8a11;
  align-content: center;
  padding: 8px;
  margin: 5px;
}

.item-manage-list .delivery_list:hover {
  background-color: #df8a11;
}

.delivery form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  margin-bottom: 5px;
}

.delivery form label {
  margin-right: 5px;
}

.delivery form select {
  margin-right: 15px;
}

.delivery form input {
  width: 24%;
  margin-right: 1%;
}

.delivery form input:last-child {
  marginright: 0;
}

.basket_table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

#basket_item_list {
  width: 100%;
  text-align: center;
}

#basket_item_list input[type="number"] {
  width: 50px;
}

#basket_item_list .product_img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#basket_item_list .product_name {
  color: #df8a11;
  font-size: 1.2em;
  padding-left: 15px;
}

#basket_item_list .options {
  padding: 5px 0;
}

#basket_item_list .options > p {
  align-self: start;
  margin: 5px 0;
}

#basket_item_list .product_link {
  display: block;
  vertical-align: middle;
  text-align: left;
  height: 75px;
}

#basket_item_list .img_wrapper {
  position: relative;
  vertical-align: middle;
  display: inline-block;
  height: 75px;
  width: 75px;
}

#basket_item_list .deletion {
  text-align: center;
}

#basket_item_list .deletion .trash {
  padding: 20px;
}

#basket_item_list .pointer {
  cursor: pointer;
}

#basket_item_list #buttonswrap {
  width: max-content;
  float: right;
  margin: 20px;
  display: block;
}

#basket_item_list .edit_button, #basket_item_list .payment_button {
  margin: 20px;
  display: block;
  font-size: inherit;
}

#basket_item_list .strikethrough {
  text-decoration: line-through;
}

#basket_item_list .red {
  color: #771100;
}

#basket_item_list input:read-only, #basket_item_list input:-moz-read-only {
  background: #ddd;
  pointer-events: none;
}

#basket_item_list a {
  cursor: default;
}

#basket_item_list a.disabled {
  background: #ddd;
  pointer-events: none;
  cursor: not-allowed;
}

.item-sell-list * {
  margin: 0;
}

.item-sell-list li {
  grid-column: 1/-1;
  grid-template-columns: 30% auto auto min-content;
  align-items: center;
}

@supports (grid-template-columns: subgrid) {
  .item-sell-list li {
    grid-template-columns: subgrid;
  }
}

@media screen and (max-width: 640px) {
  .item-sell-list {
    grid-row: 1/-1;
    grid-template-rows: auto auto auto auto;
    grid-template-columns: auto;
  }
  .item-sell-list li {
    margin-bottom: 15px;
  }
}

#overwrapper .order_info {
  max-width: 1000px;
}

#overwrapper .order {
  margin: 20px 0;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#overwrapper .general {
  padding: 5px;
  border: 1px solid #888;
  border-radius: 15px 15px 0 0;
  background: #eaeaea;
}

#overwrapper .general > div {
  display: inline-block;
}

#overwrapper .details_product {
  padding: 5px;
  border: 1px solid #888;
}

#overwrapper .details_product:last-child {
  border-radius: 0 0 15px 15px;
}

#overwrapper .image_container {
  position: relative;
  vertical-align: middle;
  display: inline-block;
  height: 180px;
  width: 180px;
  border: 1px solid #ddd;
  border-radius: 15px;
  margin-left: 15px;
}

@media screen and (max-width: 640px) {
  #overwrapper .image_container {
    width: 90px;
    height: 90px;
    margin-top: 15px;
  }
}

#overwrapper .product_img {
  padding-top: 10px;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

#overwrapper .product_image {
  display: inline-block;
  vertical-align: top;
}

#overwrapper .product_infos {
  display: inline-block;
  margin-left: 20px;
}

#overwrapper .state {
  float: right;
  margin: 0 15px;
}

#overwrapper .product_price {
  margin: 0 auto;
  padding-top: 10px;
  text-decoration: none;
}

#overwrapper .rejected {
  background: #d2b6b6;
}

#overwrapper .pending {
  background: #efd5a4;
}

#overwrapper .payed {
  background: #c7dacc;
}

#overwrapper .orderheader {
  width: 100%;
  display: flex;
  flex-direction: row;
}

#overwrapper .total {
  font-weight: bold;
}

#overwrapper .price_total {
  font-size: 1.4em;
  margin-left: 15px;
}

#overwrapper h2 {
  margin-left: 15px;
}

#overwrapper .product_title {
  font-size: 1.2em;
  margin-bottom: 0;
  font-weight: bold;
}

#overwrapper .strikethrough {
  text-decoration: line-through;
  color: #771100;
}

#overwrapper .reduc {
  color: #006600;
  margin: 0 5px;
}

#wrapper h1 {
  color: #df8a11;
}

#wrapper #gridwrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  grid-gap: 20px;
  justify-content: left;
  grid-template-columns: repeat(3, minmax(250px, auto));
  width: 100%;
}

#wrapper #addtobasket {
  border: 2px solid #FCCD76;
  border-radius: 15px;
  padding: 20px;
  height: fit-content;
  justify-self: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#wrapper .product_price {
  margin: 0 auto;
  padding-top: 10px;
  text-decoration: none;
}

#wrapper .price_number {
  font-size: .7em;
  color: #003300;
}

#wrapper .reduc {
  color: #006600;
}

#wrapper .currency {
  position: relative;
  top: -.5em;
  font-size: 12px;
}

#wrapper .image_container {
  width: 30%;
  min-width: 300px;
}

#wrapper .image_container_small {
  position: relative;
  vertical-align: middle;
  display: inline-block;
  height: 50px;
  width: 50px;
}

#wrapper #description {
  width: 100%;
  min-width: 300px;
}

@media screen and (max-width: 640px) {
  #wrapper .image_container {
    width: 100% !important;
    min-width: 100%;
  }
  #wrapper #description {
    width: 100%;
  }
  #wrapper #addtobasket {
    width: 100%;
  }
}

#wrapper hr {
  border: solid #FCCD76 1px;
  background-color: #FCCD76;
}

#wrapper .product_img {
  padding-top: 10px;
  max-height: 100%;
  max-width: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border: 15px;
}

#wrapper .strikethrough {
  text-decoration: line-through;
  color: #771100;
}

#wrapper #special > * {
  pointer-events: none;
  color: #ddd;
}

#wrapper .children_container {
  padding: 2px;
  list-style-type: none;
  margin: 10px 0;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#wrapper .children_container:hover {
  -webkit-transform: scale(1.5 1.5);
  transform: scale(1.03, 1.03);
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition-duration: 0.3s;
  transition-delay: 0.1s;
  transition-property: visibility, opacity;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
  transition-duration: 0.2s;
  transition-delay: 0.1s;
  transition-property: visibility, opacity;
}

/*# sourceMappingURL=base.css.map */