/* colors
burnt umber: #9C311F (background dark/navbar)
oxblood: #752418 (button navbar background)
dark slate gray: #1E4042 (tekst/elements dark)
antqiue white: #F1E5D4 (background light)
eggshell: #F7f4ea (elements light)
yellow: #FFD84D (under construction)
*/

body {
  font-family: 'Raleway';
  background-color: #f1e5d4;
  padding-top: 100px;
  color: #1e4042;
}

body.index {
  padding-top: 0px;
}

body.preload > *:not(#spinner) {
  visibility: hidden;
}

#spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0 deg);
  color: #9c311f;
}

#navbar-container {
  overflow: visible;
  position: static;
}

a {
  text-decoration: none;
}

.a-start {
  color: #1e4042;
  text-decoration: underline;
  text-decoration-color: #1e4042;
}

@media (hover: hover) and (pointer: fine) {
  .a-start:hover {
    font-weight: bold;
    cursor: pointer;
  }
}

.h3-link {
  text-align: center;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .h3-link:hover {
    color: #9c311f;
  }
}

h4 {
  margin-top: 16px;
}

input:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #1e4042 !important;
}

td {
  padding-right: 16px;
}

.border {
  border-color: #1e4042 !important;
  background-color: #f1e5d4 !important;
}

.btn-outline-primary {
  color: #f1e5d4;
  background-color: #9c311f;
  border: none;
  border-radius: 16px;
  padding: 4px 16px;
  margin: 4px;
  text-align: center;
}

.btn-outline-primary:hover {
  color: #f1e5d4;
  background-color: #9c311f;
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-primary:hover {
    color: #f1e5d4;
    background-color: #752418;
  }
}

.btn-outline-primary.active {
  color: #f1e5d4 !important;
  background-color: #752418 !important;
}

.btn-outline-primary:focus {
  color: #f1e5d4 !important;
  background-color: #752418 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #752418 !important;
}

/* Oude btn die gebruikt werd voor het inlogscherm

.btn-outline-primary:focus {
    color: #F1E5D4 !important;
    background-color: #1E4042 !important;
    border-color: #1E4042 !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px #1E4042 !important;
}

.btn-outline-primary {
    color: #1E4042;
    background-color: white;
    border-color: #1E4042;
}

@media (hover: hover) and (pointer: fine) {
    .btn-outline-primary:hover {
        color: white;
        background-color: #1E4042;
        border-color: #1E4042;
    }
}

*/

.btn-track {
  display: flex;
  justify-content: center;
  white-space: nowrap;
  gap: 8px;
  margin: 16px;
  flex-wrap: wrap;
}

.btn-outline-secondary {
  color: #1e4042;
  background-color: #f7f4ea;
  border: none;
  border-radius: 16px;
  padding: 4px 16px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-outline-secondary:hover {
  color: #1e4042;
  background-color: #f7f4ea;
}
@media (hover: hover) and (pointer: fine) {
  .btn-outline-secondary:hover {
    color: #f7f4ea;
    background-color: #1e4042;
  }
}

.btn-outline-secondary.active {
  color: #f7f4ea;
  background-color: #1e4042;
}

.btn-outline-secondary:focus {
  color: #f7f4ea !important;
  background-color: #1e4042 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #1e4042 !important;
}

.btn-round {
  color: #1e4042;
  font-size: 18px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: #f7f4ea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex; /* centreert het icoon */
  align-items: center;
  justify-content: center;
}

.btn-round:hover {
  color: #1e4042;
  background-color: #f7f4ea;
}
@media (hover: hover) and (pointer: fine) {
  .btn-round:hover {
    color: #f7f4ea;
    background-color: #1e4042;
  }
}

.btn-round.active {
  color: #f7f4ea;
  background-color: #1e4042;
}

.btn-round:focus {
  color: #f7f4ea !important;
  background-color: #1e4042 !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #1e4042 !important;
}

.btn-round-new {
  color: #1e4042;
  width: 32px;
  height: 32px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  cursor: pointer;
  border: none;
  border-radius: 50%;
  background-color: #f7f4ea;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex; /* centreert het icoon */
  align-items: center;
  justify-content: center;
}

.btn-round-new:hover {
  color: #1e4042;
  background-color: #f7f4ea;
}
@media (hover: hover) and (pointer: fine) {
  .btn-round-new:hover {
    color: #f7f4ea;
    background-color: #9c311f;
  }
}

.btn-round-new.active {
  color: #f7f4ea;
  background-color: #9c311f;
}

.btn-round-new:focus {
  color: #f7f4ea !important;
  background-color: #9c311f !important;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #9c311f !important;
}

.container-fluid {
  padding: 0 !important;
}

.form-control {
  color: #1e4042 !important;
  border-color: #1e4042;
}

.form-control:focus {
  border-color: #1e4042;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #1e4042;
  outline: none;
}

.form-group {
  padding-bottom: 16px;
}

.navbar-light {
  /* font-family: 'Great Vibes'; */
  background-color: #9c311f;
  padding-bottom: 0;
  padding-top: 0;
}

.nav-pills .nav-link {
  padding: 0;
  padding-right: 16px;
}

.nav-pills .nav-link.active {
  background-color: #f1e5d4;
}

.row {
  margin-left: 0;
  margin-right: 0;
}

.material-icons-outlined {
  color: #1e4042;
}

.expword-click {
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-color: #9c311f;
}

@media (hover: hover) and (pointer: fine) {
  .expword-click:hover {
    color: #9c311f;
  }
}

.expword-click.active {
  color: #9c311f;
}

.expword-panel {
  display: none;
  padding: 8px 16px;
  margin: 8px 0px;
  background: #f7f4ea;
  border-radius: 8px;
}

.expword-panel.open {
  display: block;
}

.arrow-btn {
  background: none;
  border: none;
  color: #1e4042;
  cursor: pointer;
}

.content-carousel {
  gap: 16px;
  display: flex;
  align-items: center;
}

.content-track {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  align-items: stretch;
}

.content-track::-webkit-scrollbar {
  display: none;
}

.content-track-techniques {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.content-search {
  display: block;
  margin: 0 auto;
  color: #1e4042;
  background-color: #f7f4ea;
  border: none;
  border-radius: 16px;
  padding: 4px 16px;
  text-align: left;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.content-search:focus {
  border-color: #1e4042;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px #1e4042;
  outline: none;
}

.content-card {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 300px;
  padding: 16px 16px;
  background: #f7f4ea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.content-card h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
}

.badge-for-title {
  position: relative;
}

.card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #9c311f;
  color: #f1e5d4;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #9c311f;
}

.title-badge {
  position: relative;
  align-self: flex-start;
  right: -8px;
  background: #9c311f;
  color: #f1e5d4;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #9c311f;
}

.content-link {
  cursor: pointer;
  text-decoration-line: underline;
  text-decoration-color: #9c311f;
}

@media (hover: hover) and (pointer: fine) {
  .content-link:hover {
    color: #9c311f;
  }
}

.component-click {
  cursor: pointer;
}

.component-panel {
  display: none;
  padding: 8px 16px;
  margin: 8px 0px;
}

.component-panel.open {
  display: block;
}

#map-container {
  min-width: 100%;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* TODO: je ziet lijntjes op ipad tussen de landen, maak de stroke dezelfde kleur en heel dun om te voorkomen? */
.region path {
  fill: #f7f4ea;
  stroke: none !important;
  stroke-width: 0 !important;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .region:hover path {
    fill: #1e4042;
  }
}

.region.active path {
  fill: #1e4042;
  stroke: none !important;
  stroke-width: 0 !important;
}

.under-construction {
  top: 100px;
  width: 100%;
  background-color: #ffd84d;
  color: #1e4042;
  text-align: center;
  font-weight: 600;
  padding: 6px 0;
  font-size: 0.9rem;
}
