@charset "UTF-8";
@font-face {
  font-family: "monomaniac";
  src: url("../fonts/monomaniac.woff2") format("woff2"), url("../fonts/monomaniac.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "quicksand";
  src: url("../fonts/quicksand-regular.woff2") format("woff2"), url("../fonts/quicksand-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "quicksand";
  src: url("../fonts/quicksand-bold.woff2") format("woff2"), url("../fonts/quicksand-bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "azeret";
  src: url("../fonts/azeret.woff2") format("woff2"), url("../fonts/azeret.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  color: #474747;
  background-color: #ffffff;
  font-family: "quicksand", sans-serif;
  cursor: default;
}

h1 {
  font-size: 3rem;
  margin: 0 0 1rem 0;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

button, a.button, input[type=submit] {
  border-radius: 8px;
  text-decoration: none;
  user-select: none;
  display: block;
  border: 4px solid #474747;
  padding: 0.5rem;
  font-weight: bold;
  background-color: transparent;
}
button:disabled, a.button:disabled, input[type=submit]:disabled {
  border-color: #cccccc;
  color: #cccccc;
}
button:not(:disabled):hover, a.button:not(:disabled):hover, input[type=submit]:not(:disabled):hover {
  background-color: #474747;
  color: #ffffff;
  cursor: pointer;
}

a {
  color: inherit;
}

p {
  margin: 1rem 0;
}
p.no_margin {
  margin: 0;
}
p.warning {
  background-color: #fa9c93;
  border: 1px solid #f87062;
  padding: 1rem 1rem 1rem 4rem;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Im00MC0xMjAgNDQwLTc2MCA0NDAgNzYwSDQwWm0xMDQtNjBoNjcyTDQ4MC03NjAgMTQ0LTE4MFptMzQwLjE3NS01N3ExMi44MjUgMCAyMS4zMjUtOC42NzUgOC41LTguNjc2IDguNS0yMS41IDAtMTIuODI1LTguNjc1LTIxLjMyNS04LjY3Ni04LjUtMjEuNS04LjUtMTIuODI1IDAtMjEuMzI1IDguNjc1LTguNSA4LjY3Ni04LjUgMjEuNSAwIDEyLjgyNSA4LjY3NSAyMS4zMjUgOC42NzYgOC41IDIxLjUgOC41Wk00NTQtMzQ4aDYwdi0yMjRoLTYwdjIyNFptMjYtMTIyWiIvPjwvc3ZnPg==);
  background-repeat: no-repeat;
  background-position-x: 5px;
  background-position-y: center;
  font-weight: bold;
}

.nobreak {
  white-space: nowrap;
}

ul.errorlist {
  color: #f87062;
  font-weight: bold;
  list-style-type: none;
  padding-left: inherit;
}

form > div {
  margin-bottom: 1rem;
}
form label, form legend {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
}
form textarea {
  max-width: 100%;
  min-width: 50%;
  font-family: sans-serif;
}
form input[type=text], form input[type=date], form input[type=datetime-local], form input[type=password], form input[type=email], form textarea {
  padding: 10px;
}
form fieldset {
  background-color: #ffffff;
  padding: 10px;
  width: fit-content;
  border: 1px solid #cccccc;
  position: relative;
  right: 2px;
}
form .helptext {
  font-size: 0.8rem;
  color: #666;
}
form .helptext ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
form .errorlist {
  font-size: 0.8rem;
}
form img.captcha {
  display: block;
}

@keyframes "fade" {
  0% {
    opacity: 1;
    height: initial;
  }
  20% {
    opacity: 1;
    height: initial;
  }
  80% {
    opacity: 1;
    height: initial;
  }
  99% {
    opacity: 0;
    height: initial;
  }
  100% {
    height: 0;
  }
}
#messages {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  animation: fade ease-in-out 5s forwards;
}
#messages .message {
  padding: 2rem;
  font-weight: bold;
  margin-top: 1rem;
}
#messages .message.success {
  background-color: #a7c957;
  color: #334014;
}
#messages .message.info {
  background-color: #e9c46a;
  color: #765811;
}
#messages .message.warning {
  background-color: #f4a261;
  color: #803e09;
}
#messages .message.error {
  background-color: #f87062;
  color: #881206;
}

div.alert {
  padding: 1rem 1rem 1rem 3rem;
  background-repeat: no-repeat;
  background-size: 2rem;
  background-position-y: center;
  background-position-x: 0.5rem;
}
div.alert.warning {
  background-color: #fbdac0;
  color: #803e09;
  background-image: url("../img/warning.png");
}
div.alert.error {
  background-color: #fcc9c4;
  color: #881206;
  background-image: url("../img/error.png");
}
div.alert.info {
  background-color: #f6e7c3;
  color: #765811;
  background-image: url("../img/info.png");
}
div.alert.success {
  background-color: #cfe2a4;
  color: #334014;
  background-image: url("../img/success.png");
}

nav {
  background-color: #a7c957;
}
nav a {
  text-decoration: none;
}
nav #nav-inside {
  max-width: 1270px;
  min-height: 3rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}
nav #nav-inside img {
  height: 1.5rem;
  filter: invert(19%) sepia(0%) saturate(1345%) hue-rotate(170deg) brightness(94%) contrast(69%);
}
nav #nav-inside #left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
}
nav #nav-inside #left a.current {
  font-weight: bold;
}
nav #nav-inside #right {
  display: flex;
  align-items: center;
}

#auth {
  background-color: #474747;
  color: #ffffff;
}
#auth a {
  text-decoration: none;
}
#auth #auth-inside {
  max-width: 1270px;
  margin: 0 auto;
  line-height: 2rem;
  display: flex;
  gap: 5px;
  padding: 0 20px;
}

main {
  max-width: 1270px;
  min-height: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #f7f8f9;
}

#filters {
  margin: 40px auto;
  padding: 10px 0;
  background-color: #f7f8f9;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
}
#filters.sticky {
  position: sticky;
  top: 0;
}
#filters .filter {
  user-select: none;
  border: 4px solid;
  padding: 0.5rem;
  font-weight: bold;
  cursor: pointer;
}
#filters .filter[data-enabled="1"] {
  border-color: #a7c957;
  color: #a7c957;
}
#filters .filter[data-enabled="0"] {
  border-color: #474747;
  color: #474747;
}
#filters .filter[data-enabled="0"][data-useless="1"] {
  border-color: #cccccc;
  color: #cccccc;
}

table {
  border-collapse: collapse;
}
table td {
  padding: 5px;
}
table.precise {
  background-color: #ffffff;
  margin: 1rem 0;
}
table.precise td, table.precise th {
  padding: 0.5rem;
  border: 1px solid #cccccc;
}

.hint {
  font-style: italic;
  margin-bottom: 1rem;
}

li {
  line-height: 200%;
}

.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  cursor: pointer;
}

.disabled {
  filter: opacity(40%);
  cursor: not-allowed;
}

.heading_select {
  font-size: 1.5rem;
  background-color: inherit;
  border: 1px solid #cccccc;
}

.nag {
  background-color: #cfe2a4;
  padding: 1rem;
  font-size: 1.4rem;
}

.bigtext {
  font-size: 2rem;
  line-height: 200%;
}

#place_cards {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
#place_cards a {
  text-decoration: none;
}
#place_cards .place_card {
  background-color: white;
  width: 300px;
  height: 200px;
  border: 4px solid #474747;
  display: flex;
  flex-direction: column;
}
#place_cards .place_card.open {
  border: 4px solid #a7c957;
}
#place_cards .place_card > a {
  display: contents;
}
#place_cards .place_card .head {
  padding: 5px;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#place_cards .place_card .tags {
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}
#place_cards .place_card .tags .tag {
  padding: 3px 6px;
  border-radius: 3px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
}
#place_cards .place_card .tags .tag:hover {
  box-shadow: inset 0 0 100px 100px rgba(255, 255, 255, 0.5);
}
#place_cards .place_card .body {
  padding: 0 5px;
  flex-grow: 1;
}
#place_cards .place_card .body .pill {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  margin-right: 5px;
}
#place_cards .place_card .body .pill.positive {
  background-color: #a7c957;
}
#place_cards .place_card .body .pill.negative {
  background-color: #f87062;
}

#detail #tags {
  margin-left: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 7.5px;
}
#detail #tags .tag {
  padding: 4.5px 7.5px;
  border-radius: 4.5px;
  font-size: 1.2rem;
}
#detail #timetables-flex {
  display: flex;
  column-gap: 5rem;
  flex-wrap: wrap;
}
#detail #timetables-flex .timetable.ro td {
  padding: 0.5rem 0;
}
#detail #timetables-flex .timetable.ro td:nth-of-type(2) {
  font-family: "azeret", monospace;
  letter-spacing: -1px;
  padding: 0.5rem;
}
#detail #timetables-flex .timetable.ro td .current {
  color: #a7c957;
}
#detail #timetables-flex .timetable.ro td:nth-of-type(3) {
  width: 1rem;
}
#detail #timetables-flex .timetable.rw {
  background-color: #ffffff;
  width: 344px;
  border: 1px solid #cccccc;
  margin-bottom: 1rem;
  white-space: nowrap;
}
#detail #timetables-flex .timetable.rw h3 {
  margin: 1rem;
}
#detail #timetables-flex .timetable.rw td {
  padding: 10px 5px;
}
#detail #timetables-flex .timetable.rw td:last-child {
  width: 100%;
}
#detail #timetables-flex .timetable.rw tr {
  height: 60px;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
#detail #timetables-flex .timetable.rw tr:last-child {
  border: none;
}
#detail #timetables-flex .timetable.rw input {
  margin: 0;
  font-family: "azeret", monospace;
  width: 72px;
  display: inline;
}
#detail #timetables-flex .timetable.rw div {
  margin-bottom: 5px;
}
#detail #timetables-flex .timetable.rw div:last-child {
  margin-bottom: 0;
}
#detail #timetables-flex .timetable.rw details:not([open]) summary::after {
  content: " (cliquer pour déplier)";
}
#detail #timetables-flex .timetable.rw details[open] summary {
  pointer-events: none;
}

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