/* ------------------------- GLOB ------------------------------- */

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

a:hover {
  text-decoration: none;
  color: white;
}

body {
  font-size: 24px;
  background-color: black;
  /*
  background-image: url("/img/system\ logo.png");
  background-repeat: no-repeat;
  background-position: center 0.5em;
  background-size: 20em;
  */
  color: white;
}

#bg-image-container {
  position: fixed;
  z-index: -1000;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20em;
}

#bg-image-container img {
  width: inherit;
}

#main {
  margin: auto;
  margin-top: 12em;
  margin-bottom: 2em;
  max-width: 65em;
}

#main #content {
  background-color: rgb(31, 30, 30);
  padding: 2em 5em;
}

#main #foot {
  margin-top: 2em;
  font-size: 0.8em;
  text-align: center;
}

#nav.bg-dark {
  background-color: hwb(212 20% 75% / 0.952) !important;
}

@media (max-width: 1000px) { /* phone */
  #main #content {
    padding: 2em 0em;
  }

  ul.mobile-margin > li {
    margin-left: -1.7em !important;
  }
  ul.mobile-margin-sm > li {
    margin-left: -0.25em !important;
  }
}

@media (max-width: 800px) { /* phone */
  #main #content {
    padding: 2em 0;
  }
}

input.button {
  color: white;
  background-color: rgb(54, 53, 53);
  border-radius: 0.2em;
}

input.button:hover {
  background-color: rgb(85, 84, 84);
  cursor: pointer;
}

/* ------------------------- HOME ------------------------------- */

.post-thumbnail {
  display: block;
  background-color: rgb(54, 53, 53);
  margin-bottom: 0.5em;

  color: white;
  text-decoration: none;

  padding: 0.5em 2em;
}

.post-thumbnail:hover {
  background-color: rgb(85, 84, 84);
  margin-bottom: 0.5em;

  color: white;
  text-decoration: none;
}

.post-thumbnail .img-wrapper {
  width: 100%;
  max-width: 30em;
  margin: auto;
  margin-bottom: 1em;
}

.post-thumbnail .img-wrapper img {
  width: inherit;
}

.post-thumbnail h1 {
  font-weight: 1000;
}

.post-thumbnail .short-desc {
  font-size: 0.85em;
  text-align: justify;
  text-justify: inter-word;
}

.post-thumbnail .date {
  font-size: 0.6em;
  text-align: right;
}

@media (max-width: 1000px) { /* phone */
  .post-thumbnail {
    padding: 0 0.1em 0.1em 0.1em;
  }

  .post-thumbnail h1 {
    text-align: center;
  }
}

/* ----------------- GENERIC ----------*/

/* dashed ul */
ul.dashed {
  margin: 0;
  list-style-type: none;
}

ul.dashed > li {
  text-indent: -5px;
}

ul.dashed > li:before {
  content: "- ";
  text-indent: -5px;
}

/* download pdf */
.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 1em;
  background-color: #3f4041;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  cursor: pointer;
}

.download-btn:hover {
  background-color: #5c5e5f;
}

.download-btn .pdf-icon-container {
  width: 3em;
  background: grey;
  border-radius: 0.5em;
  padding: 0.15em 0.35em;
  margin-right: 1em;
}

.download-btn .pdf-icon {
  margin: auto;
  width: 90%;
}

@media (max-width: 1000px) { /* phone */
  .center-for-mobile {
    display: flex;
    justify-content: center;
  }
}

/* collapsible */
.collapsible {
  cursor: pointer;
  border: none;
  text-align: left;
  outline: none;
  background-color: inherit;
}

.collapsible:before {
  content: '►';
  font-weight: bold;
  margin-right: 0.2em;
  margin-left: 5px;
}

.collapsible-active:before {
  content: "▼";
  font-weight: bold;
  margin-right: 0.2em;
}

.collapsible-active:hover:before {
  content: "▼";
  font-weight: bold;
  margin-right: 0.2em;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.infographics-list {
  list-style-type: none
}

.infographic-img-wrapper img {
  width: 100%;
  height: auto;
}


/* ---------- LINKS ------------ */
.links-list-container h3 {
  font-size: 1.3em;
}

.links-list-container li {
  font-size: 1em;
}

.links-list-container li li {
  font-size: 0.75em;
}
