/* Navbar */

nav.navbar {
  box-shadow: 0px 8px 20px -10px rgba(0, 0, 0, 0.2);
}

.navbar-center {
  flex-grow: 1;
  text-align: center;
}

.navbar-start {
  justify-content: center;
}

.navbar>a {
  color: #000;
  text-decoration: none;
}

.column a,
.card-content a {
  color: #A51E24;
  text-decoration: underline;
}

img.logo {
  height: 52px;
  max-height: none;
  margin: 15px 0 15px 10px;
}


a.clickfield {
  text-decoration: none !important;
}

a.black_button {
  background-color: #a51e24;
  color: white !important;
  text-decoration: none !important;
  border-radius: 10px;
  padding: 0.4em 0.8em;
  font-weight: bold;
  margin: 10px 0 10px 0;
  display: block;
  width: fit-content;
}

.black_button:hover {
  box-shadow: 0px 0px 10px 0px rgba(186, 186, 186, 1);
}

/* Navbar Burger Menu */

.navbar-menu.is-active {
  text-align: center;
}

.navbar-menu.is-active div.navbar-dropdown .navbar-item {
  text-align: center;
  width: 100%;
}

.navbar-menu.is-active .buttons {
  display: block;
}

@media screen and (max-width: 768px) {
  .navbar-item {
    text-align: left;
  }

  .navbar-menu.is-active div.navbar-dropdown .navbar-item {
    text-align: left;

  }
}

/* Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 10px;
}

.image-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.image-grid img:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
}

.image-grid img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.image-grid img:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.image-grid img:nth-child(4) {
  grid-column: 4 / span 6;
  grid-row: 1;
}

.image-grid img:nth-child(5) {
  grid-column: 1;
  grid-row: 2;
}

.image-grid img:nth-child(6) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

.image-grid img:nth-child(7) {
  grid-column: 4 / span 6;
  grid-row: 2;
}




h1,
h2,
h3,
h4,
h5,
h6,
h7,
p.card-header-title {
  font-family: 'Baloo Bhai 2';
  font-stretch: 125%;
  /* font-style: italic; */
  color: #a51e24;
}

.title {
  color: #a51e24;
  font-size: 3em;
  font-weight: 600;
}

footer h2 {
  color: #fff;
}

h1 {
  font-size: 3em;
  font-weight: 600;
  line-height: 100%;
}

h3 {
  font-size: 1.3em;
}

.small {
  font-size: 0.85em;
}

body {
  /* background-color: #F8F7F4; */
  background-color: #FFFFFF;
  min-height: 100vh;
}

div.card-content>p {
  margin-bottom: 7px;
}

div.niceparagraphs>p {
  margin-bottom: 7px;
}

footer.footer {
  background-color: #000000;
  color: #fff;
  font-size: 14px;
}

footer.footer strong {
  color: #fff;
}

footer.footer a {
  color: #fff;
  text-decoration: underline;
}

.main {
  min-height: 60vh;
}

a.no-underlined {
  text-decoration: none !important;
}

a.no-underlined:hover {
  text-decoration: underline !important;
}

.is-black {
  color: #000 !important;
}

figure.cover {
  width: 200px;
  height: 150px;
  overflow: hidden;
}

figure.cover img {
  width: auto;
  height: 150px;
  border-radius: 20px;
}

.cover-1 {
  margin-top: 30px;
}

.cover-2 {
  margin-top: 0px;
}

.cover-3 {
  margin-top: 30px;
}

.navbar-item {
  font-weight: bold;
  /* font-style: italic; */
  font-size: 0.9em;

}

div.navbar-dropdown .navbar-item {
  text-align: left;
  width: 100%;
}

.navbar-burger {
  color: black;
}

figure.gallery {
  height: 250px;
  border-radius: 30px;
  overflow: hidden;
  display: inline-block;
}

figure.gallery img {
  width: auto;
  height: 250px;
  border-radius: 20px;
}

.image img {
  display: block;
}

.footer .faded {
  color: #acacac;
}

.footer h2 {
  font-size: 2.2em;
  font-weight: bold;
}

.card-header {
  box-shadow: none;
}

div.card-bg {
  position: relative;
  overflow: hidden;
  height: 250px;
  height: 100%;
  background-size: cover;
  background-position: center;
}

div.card-bg .card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
}

div.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;

}

.hero {
  color: #fff;
  padding: 20px;
}



a.clickfield {
  display: block;
  color: #000;
  border: 1px solid #a0a0a0;
  border-radius: 5px;
}

a.clickfield:hover {
  background-color: #f0f0f0;
}

.navbar-link:not(.is-arrowless)::after {
  border-color: #808080;
  inset-inline-end: 1.125em;
  margin-top: -.375em;
}


.mb-8 {
  margin-bottom: 2em !important;
}

.mb-10 {
  margin-bottom: 4em !important;
}

.mt-8 {
  margin-top: 2em !important;
}

.mt-10 {
  margin-top: 4em !important;
}


.my-8 {
  margin-top: 2em !important;
  margin-bottom: 2em !important;
}

.my-10 {
  margin-top: 4em !important;
  margin-bottom: 4em !important;
}


ol {
  padding: 15px 25px 25px 25px;
}

ol li {
  margin-bottom: 10px;
}



.jm-hero {
  position: relative;
  left: 150px;
  margin-top: 80px;
  display: block;
  padding: 50px 0 50px 0;
  background-position: center;
  background-size: cover;
}

.jm-hero-drop {
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 20px -10px rgba(0, 0, 0, 0.4);
  display: block;
  position: relative;
  left: -150px;
  top: 0px;
  margin: 0px 0 0 0;
  height: 100%;
  background-color: #FFFFFFB0;
  padding: 50px;
  width: 50%
}

.video {
  padding: 50px;
}

@media screen and (max-width: 768px) {
  .jm-hero {
    left: initial;
    padding: 0px;
    margin-top: 0px;
  }

  .jm-hero-drop {
    width: 100%;
    left: initial;
  }

  .video {
    padding: 0;
  }

  body {
    font-size: 15px;
    /* Reduce font size for smaller screens */
    margin: 10px;
    padding: 10px;
  }

  .title.is-1,
  h1 {
    font-size: 2em;
  }


  img.logo {
    height: 32px;
    max-height: none;
    margin: 15px 0 15px 10px;
  }

  .is-grouped {
    flex-wrap: wrap;
  }
}


/* Preview-boksen */
.preview-box {
  max-width: 150px;
  max-height: 190px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-color: hsl(221, 14%, calc(86% + 0%));
  border-style: var(--bulma-file-name-border-style);
  border-width: var(--bulma-file-name-border-width);
  border-radius: var(--bulma-file-radius);
  background-color: #FFFFFFB0;
}

/* Preview-billedet */
.preview-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  padding: 10px;
}


.card {
    --bulma-card-shadow: 0 0 4px 0px #00000020;
    --bulma-card-header-padding: 0.75rem 1.0rem;
    --bulma-card-content-padding: 0.25rem 1.0rem 0.75rem 1.0rem;
}

.fixed-img {
  height: 250px;       /* lock height */
  width: 100%;         /* take full container width */
  object-fit: cover;   /* crop instead of squish */
  object-position: center; /* keep center part visible */
}

.button.is-jm {
    background-color: #a51e24 !important;
    color:#fff !important;
}

.button.is-jm2 {
    background-color: #fff !important;
    color:#000 !important;
    border-color: #000 !important;
}

