

.kontaktskjema {
  background-color: #E4E4E4;
  color: #000;
  font-family: 'FKDisplay', Helvetica, Arial, sans-serif;
  width: 640px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 40px 24px;
  text-align: left;
  box-sizing: border-box;

  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
}
@media only screen and (min-width: 768px) {
  .kontaktskjema {
    padding: 48px 56px 40px;
  }
}

.kontaktTitle {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #000;
  margin: 0;
}

.kontaktIntro {
  font-size: 16px;
  line-height: 1.5;
  color: #282828;
  margin: 16px 0 0;
  max-width: 40ch;
}

.kontaktForm {
  margin-top: 32px;
}

.kontaktField {
  display: block;
  margin-bottom: 16px;
}

.kontaktSrOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.kontaktField input::placeholder,
.kontaktField textarea::placeholder {
  color: #8F8F8F;
  opacity: 1;
}

.kontaktField input,
.kontaktField textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: transparent;
  border: none;
  border-bottom: 1px solid #b7b7b7;
  border-radius: 0;
  padding: 8px 0;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.kontaktField textarea {
  resize: none;
  min-height: 72px;
}

.kontaktField input:focus,
.kontaktField textarea:focus {
  outline: none;
  border-bottom-color: #000;
}

.kontaktField input.kontaktInvalid,
.kontaktField textarea.kontaktInvalid {
  border-bottom-color: #282828;
}

.kontaktHoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.kontaktActions {
  margin-top: 32px;
}

.kontaktSend {
  background-color: #fff;
  color: #000;
  font-family: 'FKDisplay', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  border: none;
  border-radius: 0;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  filter: drop-shadow(0 4px 8px rgba(0, 2, 71, .1));
  padding: 12px 40px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.kontaktSend:hover {
  background-color: #000;
  color: #fff;
}

.kontaktSend[disabled] {
  cursor: default;
  color: #8F8F8F;
  background-color: #fff;
}

.kontaktStatus {
  font-size: 16px;
  line-height: 1.5;
  color: #282828;
  margin: 16px 0 0;
  min-height: 24px;
}

.kontaktDone .kontaktForm,
.kontaktDone .kontaktIntro {
  display: none;
}

.kontaktReceipt {
  display: none;
  font-size: 16px;
  line-height: 1.5;
  color: #282828;
  margin: 24px 0 0;
  max-width: 40ch;
}

.kontaktDone .kontaktReceipt {
  display: block;
}

.lity-content .kontaktskjema {
  max-height: 90vh;
  overflow-y: auto;
}

.lity,
.lity-wrap {
  z-index: 10010;
}
.lity-close {
  z-index: 10014;
}

.lity {
  background: rgba(0, 0, 0, .8);
}

@media (max-width: 418px) {
  .lity-wrap {
    top: 0;
    text-align: center;
  }
  .lity-wrap::before {
    width: auto;
    height: 100%;
    margin-right: -0.25em;
  }
}

.lity-wrap {
  font-size: 0;
}
.lity-container {
  font-size: 16px;
}

.lity-close,
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
  width: 22px;
  height: 22px;
  right: 16px;
  top: 16px;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.lity-close::before,
.lity-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: #000;
}

.lity-close::before {
  transform: rotate(45deg);
}

.lity-close::after {
  transform: rotate(-45deg);
}

@media only screen and (min-width: 768px) {
  .lity-close,
  .lity-close:hover,
  .lity-close:focus,
  .lity-close:active,
  .lity-close:visited {
    width: 32px;
    height: 32px;
    right: 24px;
    top: 24px;
  }
}

@keyframes kontaktKryssInn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lity .lity-close {
  animation: kontaktKryssInn 0.35s ease 0.25s both;
}

.lity.lity-closed .lity-close {
  animation: none;
  opacity: 0;
}

.promoPopup:not(.lity-hide) {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
}

.promoMedia {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000;
}

.promoVideo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promoText {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px;
}

.promoCta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 32px;
  text-decoration: none;
}

@media only screen and (min-width: 768px) {
  .promoPopup:not(.lity-hide) {
    width: 880px;
    grid-template-columns: 1fr 1fr;
    padding: 0;
  }

  .promoMedia {
    aspect-ratio: 3 / 4;
  }
  .promoText {
    padding: 48px 56px 48px;
  }
}

.lity-content .promoPopup {
  overflow: hidden;
}

@media only screen and (max-width: 767px) {
  .lity:has(.promoPopup) .lity-close::before,
  .lity:has(.promoPopup) .lity-close::after {
    background: #fff;
  }
}

.promoPill {
  position: fixed;
  z-index: 999;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 0;
  border: none;
  border-radius: 0;

  background-color: #282828;
  color: #fff;
  font-family: 'FKDisplay', Helvetica, Arial, sans-serif;
  font-size: 16px;
  cursor: pointer;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px),
    calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px);
  filter: drop-shadow(0 4px 8px rgba(0, 2, 71, .1));
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}

.promoPill[hidden] {
  display: none;
}

.promoPill.is-synlig {
  opacity: 1;
  visibility: visible;
  transition: opacity .4s ease;
}

body.merke-open .promoPill {
  visibility: hidden;
}

.promoPillVindu {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 100%;
  margin: 0 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.promoPillSpor {
  display: inline-flex;
  animation: promoRull 14s linear infinite;
}

.promoPillSpor span {
  padding-right: 24px;
}

@keyframes promoRull {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.promoPill:hover .promoPillSpor {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .promoPillSpor {
    animation: none;
  }
}

.promoLyd {
  position: absolute;
  left: 16px;
  bottom: 16px;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.promoLyd[hidden] {
  display: none;
}

.promoLyd svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.promoLyd path {
  vector-effect: non-scaling-stroke;
}

.promoLyd .promoLydAv,
.promoLyd.er-dempet .promoLydPaa {
  display: none;
}

.promoLyd.er-dempet .promoLydAv {
  display: inline;
}

@media only screen and (min-width: 768px) {
  .promoLyd {
    left: 24px;
    bottom: 24px;
    width: 32px;
    height: 32px;
  }
}
