


/* Header & Navigation */
.header__mobile-nav {
  .mnav--dark .mnav__overlay, .mnav--dark .mnav__popup {
    background: linear-gradient(160deg, #3A5A80 0%, #213348 100%);
  }
}

.header__buttons {
  .btn.btn--large {
    padding: 10px 25px;
  }
  .btn.btn--large.btn--outline {
    padding: calc(10px - 2px) calc(25px - 2px);
  } 
  .inline-items>:first-child {
    margin-inline-start: 1rem !important;
  }
}

.header--overlap {
  &:not(.header--sticky-active) {
    .nav__mega {
      background: linear-gradient(160deg,#3A5A80 0%,#213348 100%) !important;
      .nav__mega-item-regular-title, .nav__mega-header *, .mnav--dark .mnav__open {
        color: #fff !important;
      }
    }
  }
}

.header__nav {
  .nav--light .nav__link, .nav--light .nav__link:hover, .header__nav .nav--light .nav__mega-col ul a, .site-search--dark .site-search__open {
    color: #000;
  }
  .nav .nav__mega-active-link, .nav .nav__mega-item-regular-link:hover {
    background: transparent;
    transform: scale(1.1);
    transform-origin: center center;
    transition: all 0.2s ease-in-out;
  }
  .nav__list--level1>li {
    margin-inline-end: 0 !important;
    >a.nav__link {
      padding: 0 1rem;
      &:before {
        height: 2px;
        width: calc(100% - 1.6rem);
        left: 0.8rem;
        bottom: -3px;
      }
    }
  }
}

.nav__mega {
  border-radius: 0 0 12px 12px !important;
  .nav__mega-header {
    border-bottom: 1px solid #E1E7EB;
    padding-bottom: 15px;
    margin-bottom: 25px;
    :last-child {
      margin-bottom: 0;
    }
  }
  .nav__mega-column {
    margin-bottom: 0;
    .nav__mega-item-regular-contents {
      flex-direction: column;
      align-items: center;
      gap: 15px;
      .nav__mega-item-regular-icon {
        color: #F08108
      }
      .nav__mega-item-regular-text {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        .nav__mega-item-regular-title {
          color: #000;
        }
      }
    }
  }
}

.header--sticky-active {
  #header_search.site-search--dark .site-search__open, .header__mobile-nav .mnav__open {
      color: #000;
  }
}

#header_search.site-search--dark {
  .site-search__input {
    border-color: #F08108;
    &::placeholder {
      color: #bbb;
    }
  }
}
/* General styling -START- */

/* Layout */
.dnd-section > .row-fluid > .dnd-column {margin-inline-start: 0;}

.dnd-section > .row-fluid:has(.dnd-column:nth-child(2):last-child) {gap: 60px;}
.dnd-section > .row-fluid:has(.dnd-column:nth-child(3):last-child) {gap: 50px;}
.dnd-section > .row-fluid:has(.dnd-column:nth-child(4):last-child) {gap: 30px;}
.dnd-section > .row-fluid:has(.dnd-column:nth-child(5):last-child) {gap: 20px;}
.dnd-section > .row-fluid:has(.dnd-column:nth-child(6):last-child) {gap: 15px;}

@media (min-width: 1024px) {
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s6) {margin: 0 -30px;}
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s6) .col {padding: 0 30px;}

  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s4) {margin: 0 -25px;}
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s4) .col {padding: 0 25px;}

  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s3) {margin: 0 -15px;}
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s3) .col {padding: 0 15px;}

  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.eq5) {margin: 0 -10px;}
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.eq5) .col {padding: 0 10px;}

  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s2) {margin: 0 -7.5px;}
  .dnd-section > .row-fluid:has(.dnd-column:nth-child(1):last-child) .module__inner > .row:has(.col.s2) .col {padding: 0 7.5px;}
}

/* Hero sections / Above the fold */
#front-page-hero {
  overflow: hidden;
}

.frontpage-hero-cards .feature-card:hover {
  background: #213348;
  box-shadow: 4px 8px 6px -2px rgba(33, 51, 72, 1) !important;
  transform: scale(1.03) translateY(-7px);
  transform-origin: center;
}
/*
.frontpage-hero-cards .feature-card:hover h2 {
  color: #000;
  transition: .2s ease-in-out;
}
*/

/* Buttons */
.btn.btn--large, .form--btn-large .hs-button {
  padding: 10px 40px;
}
.btn.btn--large.btn--outline {
  padding: calc(10px - 2px) calc(40px - 2px);
}
.btn.btn--white-accent.btn--outline {
  border-color: #F08108;
  color: #fff;
}
.btn.btn--white-accent.btn--outline:hover {
  border: 2px solid #F08108;
  background: #F08108;
  color: #fff;
}

.hs-web-interactive-inline a, .hs-cta-wrapper a {
  align-items: center;
  -ms-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  font-family: Roboto, sans-serif;
  font-style: normal;
  font-weight: 500;
  justify-content: center;
  line-height: 1.5;
  outline: none;
  overflow: hidden;
  position: relative;
  text-align: center;
  text-decoration: none;
  transform: scale(1);
  transition: box-shadow, background-image, background-color, transform;
  transition-duration: .1s;
  transition-timing-function: ease-in-out;
  -webkit-user-select: none;
  user-select: none;
  vertical-align: middle;
  border-radius: 999px;
  font-size: 1rem;
  padding: 10px 40px;
  background: #f08108;
  color: #fff;
  &:hover {
    text-decoration: none;
    transform: scale(1.07);
  }
}

.btn--outline.btn--accent {
  color: #000;
}

/* Custom box shadow */
.custom-shadow, .img--shadow, .nav__mega, .search-box__input, .drop-down__btn, .tags-list__list, .drop-down__list, .blog-search__results-wrapper, .go-card--shadow, .timeline__box {
  box-shadow: 4px 8px 6px -2px rgba(33, 51, 72, 0.10) !important;
}

/* XL icons */
.icon--extra-large {
  .icon__glyph {
    font-size: 4.5rem;
    height: 4.5rem;
    line-height: 4.5rem;
    width: 4.5rem;
    max-width: 100px;
    max-height: 50px;
  }
}

/* Forms */
.module--form.hero-form {
  .form--box-white {
    padding: 60px 40px 30px;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    box-shadow: none;
  }
}

.module--form {
  .form--light:not(.form--box-light) {
    #hs-pwd-widget-password, .hs-input {
      background-color: #E1E7EB;
      box-shadow: none;
    }
    #hs-pwd-widget-password:focus, .hs-input:focus {
      border-color: #f08108;
      box-shadow: 0 0 0 4px rgba(240, 129, 8, .15), inset 0 0 0 1px #f08108;
    }
  }
  @media (min-width: 768px) and (max-width: 900px) {
    .hs-form-field {
      width: 100% !important;
    }
  }
}

/* General styling -END- */

/* Modules -START- */
/* Section Extra Settings */
.dnd-section.custom-minh {
  align-items: center;
  display: flex;
  justify-content: center;
}

.dnd-section.custom-minh>* {
    width: 100%;
}

.section-bg__overlay--gradient {
  background: linear-gradient(156deg, #3A5A80 15%, rgba(33, 51, 72, 0.4) 100%);
}

.apply_bg_to_row {
  position: relative;
  border-radius: 25px;
  overflow: hidden;
}

.hide-overflow {
  overflow: hidden;
}

/* Feature cards */
@media (min-width: 768px) {
  .frontpage-hero-cards.module--feature-card .feature-card {
    padding: calc(25px * 2) 25px;
  }

  .module--feature-card .feature-card {
    padding: calc(25px * 1.5) 25px;
  }
}

/* Section Intro */
.section-intro__overline {
  color: #f08108;
}

/* Logos */
.logos .splide img {
  max-width: 130px;
  max-height: 55px;
  object-fit: contain;
  @media (max-width: 1139px) {
    max-width: 100px;
    max-height: 45px;
  }
  @media (max-width: 767px) {
    max-width: 90px;
    max-height: 40px;
  }
}

.splide__arrows button.splide__arrow--prev svg {
  transform: unset;
}

.splide__arrows .splide__arrow:hover {
  transform: translateY(-50%) scale(1) !important;
}

/* Listing */
.listing {
  .listing-filter__button {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .drop-down__btn {
    padding: 15px 20px;
  }
  .drop-down__list {
    border-radius: 12px;
    padding: 20px;
    margin-top: .56rem;
    border: 1px solid #F08108;
    .drop-down__option {
      background-color: transparent;
      padding-left: 10px;
      padding-right: 10px;
      border-radius: 6px;
      transition: all .2s ease-in-out;
      &.drop-down__option--nonitem {
        padding-top: .56rem;
      }
      &:hover {
        background-color: rgb(240, 129, 8, 0.5);
      }
      &.drop-down__option--active {
        background-color: #F08108 !important;
        color: #fff !important;
      }
    }
  }
  .listing__filter-group--btn {
    .btn--accent.btn--outline {
      border: 2px solid #f08108;
      &:hover {
        background: unset;
        color: unset;
      }
    }
  }
  .search-box__input {
    background-color: #e1e7eb;
    padding-bottom: 15px;
    padding-top: 15px;
    padding-inline-start: 20px;
  }
  .search-box__btn {
    right: 20px;
  }
  .listing__no-results-msg {
    text-align: center;
    max-width: 1024px;
    margin: 45px auto;
  }
}

/* Quote */
.quote .quote__icon .icon {
  color: transparent;
  background: transparent;
  box-shadow: none;
}

.quote .quote__icon .icon .icon__glyph {
  height: 3rem;
  width: 4rem;
}

.quote .quote__icon .icon svg {
  stroke: #f08108;
  stroke-width: 1.2rem;
}

.quote__quote .important-text {
  font-family: Lato, sans-serif;
  font-style: normal;
  font-weight: 700;
}

.quote--dark .quote__card .compact-card, .quote--dark .quote__card .compact-card h5 {
  color: #fff;
}

.quote--light .important-text {
  color: #000;
}

.quote .quote__card .compact-card {
  background: transparent;
  box-shadow: none;
  opacity: 0.7;
}

.quote .quote__card .compact-card .compact-card__txt {
  text-align: unset;
}

/* Numbers */
.numbers {
  .numbers__number {
    -webkit-text-stroke: 1px #f08108;
    color: transparent;
    font-family: Lato, sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
  }
}

/* Image */
.module--image {
  @media (min-width: 768px) {
    &.rotate-image-right {
      transform-origin: center;
      transform: rotate(15deg);
    }
    &.rotate-image-left {
      transform-origin: center;
      transform: rotate(-15deg);
    }
    &.oversized-image-right img {
      transform-origin: left center;
      transform: scale(1.5);
    }
    &.oversized-image-left img {
      transform-origin: right center;
      transform: scale(1.5);
    }
  }
}

/* Go cards */
.go-card {
  border: 1px solid #E1E7EB;
}

/* Timeline */
.timeline {
  .timeline__bar {
    top: 0;
    bottom: 0;
  }
  .timeline__item {
    .timeline__dot {
      height: 20px;
      margin-left: -10px;
      margin-top: -10px;
      padding: 0px;
      width: 20px;
      border: 1px solid #f08108;
      &:before {
        display: none;
      }
    }
    .timeline__box {
      border: 1px solid #f08108;
      &:after {
        border-radius: 0;
        right: -16px;
        border-style: solid;
        border-color: #f08108;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 0;
        border-left-width: 0;
      }
      .timeline__content {
        align-items: center;
        display: flex;
        gap: 25px;
        @media (max-width: 1139px) {
          flex-wrap: wrap;
        }
        @media (max-width: 767px) {
          flex-wrap: nowrap;
        }
        @media (max-width: 450px) {
          flex-wrap: wrap;
        }
        .timeline__text {
          width: 100%;
          @media (max-width: 1139px) {
            order: 2;
          }
        }
        .numbers {
          @media (max-width: 1139px) {
            order: 1;
          }
          .numbers__number {
            font-size: 4.5rem;
            color: #f08108;
            -webkit-text-stroke: 0px transparent;
            margin-bottom: 0;
          }
        }
      }
    }
    &.timeline__item--right .timeline__box:after {
      right: 0;
      left: -16px;
      border-bottom-width: 1px;
      border-left-width: 1px;
      border-top-width: 0;
      border-right-width: 0;
    }
  }
}

/* Contact box */
.module--contact-box.module--text-center {
  .contact-box__icons, .contact-box__text {
    padding-inline-start: 0;
  }
}

.contact-box__item {
  transition: all 0.2s ease-in-out;
  &:hover {
    transform: scale(1.03) translateY(-7px);
    transform-origin: center;
  }
}

.normalize-large-text .large-text {
  h3 {
    font-size: 1.4rem;
  }
  p {
    font-size: 1.2rem;
  }
}

/* Team card */
.module--team-card, .listing {
  .team-card {
    padding: 0 !important;
    overflow: hidden;
    text-align: left !important;
    .team-card__icons, .team-card .team-card__img+.team-card__txt {
      margin-top: 15px;
    }
    .team-card__txt, .team-card .team-card__contact-info, .team-card .team-card__icons {
      padding: 0;
    }
    .team-card__img {
      height: auto;
      width: 100%;
      aspect-ratio: 3 / 2;
      object-fit: cover;
      border-radius: 12px;
    }
    .team-card__txt {
      padding-top: 5px;
      .team-card__title {
        font-size: 1.2rem;
        line-height: 1.56rem;
        font-weight: 600;
      }
      .team-card__desc, .team-card__contact-info a {
        font-size: 0.9rem;
      }
    }
    .team-card__contact-info {
      margin-top: 15px;
      a {
        font-size: 0.9rem;
        display: block;
        position: relative;
        z-index: 1;
      }
    }
    .team-card__icons {
      padding-bottom: 30px;
      .team-card__icon {
        background: transparent;
        width: auto;
        height: auto;
        box-shadow: none;
      }
    }
  }
}

/* Rich Text */
.module--rtext {
  .rtext.txt--dark {
    .rtext__more-btn {
      border: none;
      background: none;
      &:hover {
        background: hsla(0, 0%, 100%, 0.1);
      }
    }
  }
  .rtext.txt--light {
    .rtext__more-btn {
      border: none;
      background: none;
    }
  }
}

/* Modules -END- */

/* Blog listing -START- */
.hs-blog-listing {
  .blog-toolbar-1 {
    padding-top: 90px;
    padding-bottom: 15px;
    background: transparent;
    .drop-down__btn {
      padding: 15px 20px;
    }
    .drop-down__list {
      border-radius: 12px;
      padding: 20px;
      margin-top: .56rem;
      border: 1px solid #F08108;
      .drop-down__option {
        background-color: transparent;
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 6px;
        transition: all .2s ease-in-out;
        &.drop-down__option--nonitem {
          padding-top: .56rem;
        }
        &:hover {
          background-color: rgb(240, 129, 8, 0.5);
        }
        &.drop-down__option--active {
          background-color: #F08108 !important;
          color: #fff !important;
        }
      }
    }
    .search-box__input {
      background-color: #e1e7eb;
      padding-top: 15px;
      padding-bottom: 15px;
      padding-inline-start: 20px;
      &:focus, &:active {
        border: 1px solid #f08108;
      }
    }
    .blog-search--done .search-box__input, .blog-search--searching .search-box__input {
      border: 1px solid #f08108;
    }
    .search-box__btn {
      right: 20px;
    }
    .blog-search__results-wrapper {
      border: 1px solid #f08108;
    }
  }
  .blog-author {
    padding-bottom: 0;
    padding-top: 90px;
  }
}

.blog-card {
  border: 1px solid #E1E7EB;
  .blog-card__img {
    position: relative;
    img {
      height: 275px;
      object-fit: cover;
    }
    .blog-card__tags {
      position: absolute;
      top: 20px;
      left: 20px;
      .badge {
        border-radius: 999px;
        padding: 3px 10px;
        font-weight: 400;
        box-shadow: 2px 4px 3px -2px rgba(33, 51, 72, 0.15);
      }
    }
  }
  .case-logo img {
    max-height: 40px;
    max-width: 175px;
    width: auto;
    margin-bottom: 15px;
  }
  .blog-card__body {
    padding: 20px 20px 25px;
    .blog-card__info {
      justify-content: space-between;
      .blog-card__date {
        margin-inline-end: 0;
        padding-inline-end: 0;
        position: relative;
        &:after {
          display: none;
        }
      }
      .blog-card__readmore {
        display: flex;
        font-weight: 500;
        color: #f08108;
        svg {
          width: 12px;
          margin-left: 5px;
          fill: #f08108;
        }
      }
    }
  }
  &.cases {
    .blog-card__info {
      border-top: none;
      padding-top: 0;
    }
  }
}

.blog-pagination {
  .blog-pagination__item--number {
    background: transparent;
    border: 1px solid #f08108;
    font-size: 1rem;
  }
  .blog-pagination__item--active, .blog-pagination__item--active:hover {
    background: #f08108;
    color: #fff;
  }
}
/* Blog listing -END- */

/* Blog posts -START */
.blog-hero-1 {
  min-height: 70vh;
  @media (min-width: 768px) {
    .blog-hero-1__contents {
      width: 66.66667%;
    }
  }
  .blog-hero-1__overlay {
    background: linear-gradient(156deg, #3A5A80 15%, rgba(33, 51, 72, 0.4) 100%);
  }
  .section-intro__overline a {
    color: #F08108;
  }
  .blog-hero-1__tags {
    .blog-hero-1__tag {
      margin-bottom: 0;
      border-radius: 999px;
      padding: 3px 10px;
      font-weight: 400;
      box-shadow: 2px 4px 3px -2px rgba(33, 51, 72, 0.15);
      &.badge--white {
        color: #000;
      }
    }
    .blog-hero-1__tags-list {
      margin-bottom: 0;
      .tags-list__btn:hover {
        color: #000;
      }
    }
    .tags-list__list {
      width: auto;
      top: 125%;
      right: unset;
      left: 0;
      border: 1px solid #F08108;
    }
  }

  @media (min-width: 767px) {
    .blog-hero-1__tags.add_seperator {
      margin-inline-end: .83rem;
      padding-inline-end: calc(.83rem + 1px);
      position: relative;
      &:after {
        border-radius: 1px;
        content: "";
        display: block;
        height: .89rem;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        background: #fff;
      }
    }
  }
}

.blog-body-1 {
  .blog-body-1__content {
    .module {
      padding: 25px 0 50px;
    }
    .module--quote {
      .col {
        padding: 0;
      }
      .quote {
        padding: 0;
      }
    }
  }
  .module--sharing {
    .icon--light.icon--outline {
      color: #f08108;
      border-color: #f08108;
    }
  }
  .blog-body-1__case-logo img {
    max-height: 70px;
    width: auto;
    margin-bottom: 20px;
  }
}
/* Blog posts -END- */

/* Specific Sections/Pages -START- */
/* CTA section */
#cta-section {
  .section-bg__media {
    background-size: 65%;
    background-position: 20% 20% !important;
    @media (max-width: 767px) {
    background-size: 200%;
    background-position: 50% 20% !important;
    }
  }
  .apply_bg_to_row {
    .dnd-column.span6:first-child {
      padding: 100px;
      padding-right: 0;
      @media (max-width: 1024px) {
        padding: 50px;
        padding-right: 0;
      }
      @media (max-width: 767px) {
        padding: 50px 25px !important;
      }
    }
    .dnd-column.span6:last-child {
      position: relative;
      -webkit-mask-image: url(https://27219982.fs1.hubspotusercontent-eu1.net/hubfs/27219982/Website%202025/circle-mask.svg);
      mask-image: url(https://27219982.fs1.hubspotusercontent-eu1.net/hubfs/27219982/Website%202025/circle-mask.svg);
      mask-size: 120%;
      mask-repeat: no-repeat;
      mask-position: 75px 50% !important;
      @media (max-width: 1200px) {
        mask-position: 35px 50% !important;
      }
      @media (max-width: 820px) {
        mask-position: 0 50% !important;
        mask-size: 140%;
      }
      @media (max-width: 767px) {
        min-height: 500px;
        mask-position: 50% 10px !important;
        mask-size: 175%;
      }
      .module--image img {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        @media (max-width: 767px) {
          left: 0;
          width: 100%;
        }
      }
    }
  }
}

/* BYG Product page - HubDB dynamic page */
#produkt-dokumentation {
  .feature-card {
    padding: 0;
    background: none;
    box-shadow: none !important;
    .feature-card__image {
      max-width: 150px;
      box-shadow: 4px 8px 6px -2px rgba(33, 51, 72, 0.10) !important;
    }
    .btn--medium {
      padding: 8px 20px;
    }
  }
}
.product-body {
  .dynamic-layout-fix {
    justify-content: center;
    flex-wrap: wrap;
    > *:nth-child(4n - 3) {
      margin-inline-start: 0;
    }
  }
}

@media (max-width: 500px) {
  .product-page-hero .product-hero > .row-fluid {
    flex-direction: column-reverse;
  }
}
/* Specific Sections/Pages -END- */

/* Footer -START- */
.above-footer {
  .dnd-section {
    padding-top: 3rem;
    padding-bottom: 0;
    .module:last-child {
      padding-bottom: 3rem;
      border-bottom: 1px solid #fff;
    }
    .module--logos {
      img {
        filter: contrast(0%) brightness(200%);
      }
    }
  }
}

.footer {
  p, a, li, td, div {
    font-size: 14px !important;
  }
  .footer__section--main {
    padding: 4rem 0;
    .footer__company {
      @media (min-width: 600px) {
        flex-direction: row;
        gap: 50px;
      }
      @media (max-width: 1139px) {
        justify-content: center;
      }
      table {
        table-layout: auto !important;
        border: none !important;
        td {
          vertical-align: baseline;
          padding: 6px 0 !important;
          width: auto !important;
        }
      }
    }
    .footer__nav {
      .sm-s12 {
        @media (min-width: 600px) {
          width: 33.33333333333333%;
        }
      }
    }
  }
  .footer__section--bottom {
    padding-bottom: 3rem;
    .footer__copyright-and-links {
      border-top: none;
      padding-top: 0;
      >.row {
        justify-content: space-between;
      }
    }
    .footer__links ul {
      justify-content: flex-start;
      li {
        margin: 0 0.5rem;
        &:first-child {
          margin-left: 0;
        }
      }
      @media (max-width: 460px) {
        li {
          margin: 0 0.2rem;
          font-size: 12px !important;
          a {
            font-size: 12px !important;
          }
        }
      }
    }
    .footer__icons {
      margin-bottom: 0;
      .inline-items {
        justify-content: flex-end;
        @media (max-width: 767px) {
          flex-direction: row-reverse;
          margin-top: 25px;
        }
      }
      .icon__glyph {
        height: 1.5rem;
        width: 100%;
      }
      a:last-child .icon__glyph {
        height: 2rem;
      }
    }
  }
}

/* LP Footer */
.hs-landing-page .footer {
  .module--footer_icons {
    margin-bottom: 25px;
  }
}
}

/* Footer -END- */