:root {
    --light-grey: #f6f6f6;
    --tags: #2f6fef;
    --highlight: #B1B695;
    --highlight-background: #cddee7;
    --node: #B1B695;
    --mof: #648DB3;
    --dna: #DA6C6C;
    --taxon: #BA487F;
    --black: rgb(33, 37, 41);
}

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

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
  
#footer {
    margin-top: auto;
}

#logos img {
    height: 40px;
}

h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

section h2 {
    margin-top: 0rem;
    margin-bottom: 2rem;
}

h1 {
    margin-top: 0rem;
    margin-bottom: 1rem;
}

code {
    color: var(--highlight);
    font-weight: bold;
}

a, .nav-link, .nav-link:hover {
    color: #000000;
}

#map {
    padding: 100px;
    background-color: var(--light-grey);
}

section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-dense {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-superdense {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.section-dark {
    background-color: var(--light-grey);
}

.section-verydark {
    background-color: var(--bs-gray-dark);
    color: #ffffff;
}

.section-highlight {
    background-color: var(--highlight-background);
    color: #000000;
}

.section-light {
    background-color: #ffffff;
}

.card {
    border-radius: 10px;
}

.section-light .card-img-top {
    background-color: var(--light-grey);
}

.section-dark .card {
    background-color: #ffffff;
    border: 0px;
}

.card-blank {
    background-color: transparent !important;
    border: 0px;
}

.card-blank .card-body {
    padding-left: 0;
    padding-right: 0;
}

.card-title a {
    text-decoration: none;
    color: #000000;
    font-size: 0.85em;
}

.card-img-top, .card-img-top img {
}

.section-light .card {
    background-color: var(--light-grey);
    border: 0px;
}

.tag {
    background-color: var(--tags);
    color: #ffffff;
    font-weight: normal;
    font-size: 0.9rem;
}

.tag-mof {
    background-color: var(--mof);
}

.tag-dna {
    background-color: var(--dna);
}

.tag-dna {
    background-color: var(--dna);
}

.tag-node {
    background-color: var(--node);
}

.btn, .btn:hover, .btn:focus, .btn:focus-visible, .btn:active, .btn:target, .btn:disabled {
    background-color: var(--tags) !important;
    color: #ffffff;
    font-weight: normal;
    padding: 0.375rem 0.75rem;
    min-width: 80px;
    text-align: center;
    border-color: var(--tags);
}

.btn-light, .btn-light:hover, .btn-light:focus, .btn-light:focus-visible, .btn-light:active, .btn-light:target, .btn-light:disabled {
    background-color: #ffffff !important;
    color: #000000;
    border: 1px solid #000000;
    font-weight: normal;
    padding: 0.375rem 0.75rem;
    min-width: 80px;
    text-align: center;
    opacity: 0.2;
}

.btn-light:hover, .btn-light:focus {
    opacity: 0.5;
    transition: all .8s ease-out;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    border-color: var(--tags);
}

.badge-download {
    color: var(--black);
    background-color: #fafafa;
    text-decoration: none;
    font-weight: normal;
}

.badge-mapper {
    color: var(--black);
    background-color: #eeeeee;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9rem;
}

.tagline {
    font-size: 1.3rem;
    margin-top: 1.2rem;
    margin-bottom: 1.7rem;
}

.intro {
    font-size: 1.4em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.container-post {
    max-width: 700px;
}

.contacts a {
    text-decoration: none;
}

.contact-role {
    color: var(--highlight)
}

.progress-bar {
    background-color: var(--highlight);
}

.map-container {
    position: relative;
}

.map-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 10px;
  font: 12px sans-serif;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  border-radius: 4px;
}

.map-legend div {
  display: flex;
  align-items: center;
  margin-bottom: 4px;
}

.map-legend span {
  display: inline-block;
  width: 20px;
  height: 12px;
  margin-right: 6px;
}

.map-click-message {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 10px;
  font: 12px sans-serif;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  border-radius: 4px;
}

.nodename {
    color: var(--highlight);
}

#map {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.table-nowrap-first th:first-child,
.table-nowrap-first td:first-child {
    white-space: nowrap;
}

.highlighter-rouge {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.highlighter-rouge .highlight {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.highlighter-rouge pre {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.highlighter-rouge code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
}

.highlighter-rouge .k, .highlighter-rouge .kd {
    color: #d73a49;
    font-weight: bold;
}

.highlighter-rouge .s, .highlighter-rouge .s1, .highlighter-rouge .s2 {
    color: #032f62;
}

.highlighter-rouge .c, .highlighter-rouge .c1 {
    color: #6a737d;
    font-style: italic;
}

.highlighter-rouge .nf, .highlighter-rouge .nx {
    color: #6f42c1;
}

.highlighter-rouge .o {
    color: #d73a49;
}

.highlighter-rouge .p {
    color: #24292e;
}

.highlighter-rouge .m, .highlighter-rouge .mi {
    color: #005cc5;
}

.highlighter-rouge .kc {
    color: #005cc5;
    font-weight: bold;
}

.highlighter-rouge .nb {
    color: #6f42c1;
}

.highlighter-rouge .nc {
    color: #6f42c1;
}

.highlighter-rouge .nv {
    color: #24292e;
}

.highlighter-rouge .no {
    color: #005cc5;
}

.highlighter-rouge .ss {
    color: #6f42c1;
}

.highlighter-rouge .err {
    color: #d73a49;
    background-color: #ffeef0;
}

#social a {
    margin-left: 5px;
    color: #ffffff;
    opacity: 0.7;
    text-decoration: none;
}

#newsletter {
    color: #ffffff;
    opacity: 0.7;
}