.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

.wrap {
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

/* Lavet af mbs@scannet.dk  */

@media (min-width: 768px) {
.responsive-right {
float: right
}
}

.m-product-brand-text{
    color: red;
}
.mm-panel_has-navbar .mm-navbar {
    padding: 0;
    display: flex;
}

.m-product-orderform-list > .row{
    display: flex;
    flex-wrap: wrap;
}

.m-product-orderform-data{
    height: 100%;
    display: flex;
    flex-direction: column;
}



.m-product-orderform-data > .row{
height: 100%;
}



.color-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  .color-toolbar__group {
    display: flex;
    align-items: center;
    padding-top: 13px;
    padding-bottom: 13px;
    gap: 10px;
    > svg, > span { opacity: .5; text-transform: uppercase; font-size: 12px;}
    .color-toolbar__btn-group {
      display: flex;
      align-items: center;
      .color-toolbar__btn {
        appearance: none;
        border: 1px solid #333;
        padding: 4px 7px;
        font-size: 11px;
        text-transform: uppercase;
        &.color-toolbar__btn-active {
          background: #333;
          color: white;
          pointer-events: none;
        }
        &:not(.color-toolbar__btn-active) {
          &:hover {
            background: #eaeaea;
          }
        }
        &:not(:first-child) {
          border-left: none;
        }
        &:last-child {
          border-radius: 0 20px 20px 0;
        }
        &:first-child {
          border-radius: 20px 0 0 20px;
        }
      }
    }
  }
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 5px;
  margin-bottom: 20px;
  &.compact {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1px;
  }
  .color-grid__cell {
    position: relative; 
    display: flex;
    justify-content: space-between;
    padding: 10px;
    transition: 50ms all ease-out;
    .color-grid.compact & {
        padding: 6px 6px 6px 10px;
    }
    .color-card__bg {
      inset: 0;
      position: absolute;
      box-shadow: -1px -2px 1px rgba(0,0,0,.12) inset;
      transition: all ease-out 100ms;
      
      .color-grid:not(.compact) & {
        border-radius: 2px;
      }
    }
    &.color-effect--metallic {
      .color-card__bg {
        &:after {
          content: " ";
          display: block;
          inset: 0;
          position: absolute;
          background: linear-gradient(50deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0.2) 33%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.1) 76%, rgba(0,0,0,0.16) 100%);
        }
      }
    }
    &.color-effect--transparent {
      .color-card__bg {
        &:after {
          content: " ";
          display: block;
          inset: 0;
          position: absolute;
          background-image: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
        }
      }
      .color-card__action {
        color: black;
      }
    }
    &.color-grid__skeleton-cell {
      height: 45px;
      background: linear-gradient(45deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,.3) 100%);
      background-size: 200% 200%;
      animation: gradientShift 5s ease-in-out infinite;
      &:hover {
        box-shadow: none;
        border-radius: 0;
      }
    }
    .color-card__text {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      font-size: 10px;
      line-height: 1em;
      text-transform: uppercase;
      z-index: 1;
      .color-card__title {
        opacity: 1;
      }
      .color-card__id {
        opacity: .6;
        .color-grid.compact & {
          display: none;
        }
      }
    }
    .color-card__action {
      display: flex;
      align-items: center;
      z-index: 1;
      gap: 10px;
      min-height: 24px;
      .color-status__text {
        font-size: 10px;
        line-height: 1em;
        text-transform: uppercase;
        color: currentcolor;
        .color-grid.compact & {
          display: none;
        }
      }
    }
  }
  .color-card__remind {
    font-size: 10px;
    line-height: 1em;
    text-transform: uppercase;
    appearance: none;
    color: currentcolor;
    text-decoration: underline;
    text-underline-position: below;
  }
  .color-quantity {
    display: flex;
    align-items: center;
    border-radius: 20px;
    position: relative;
    padding: 6px;
    gap: 6px;
    background: rgba(0,0,0,.3);
    box-shadow: 0 1px 1px #00000050;
    .light-color & {
      box-shadow: 0 1px 1px #ffffff50;
    }
    .color-quantity__btn {
      position: relative;
      height: 12px;
      width: 12px;
      display: block;
      padding: 0;
      background: none;
      border: none;
      &:hover {
        svg {
          stroke-width: 2;
        }
      }
      &:before {
        display: block;
        content: " ";
        inset: -5px;
        position: absolute;
        cursor: inherit;
      }
      &[disabled] {
        opacity: .3;
        cursor: default;
      }
      > svg {
        width: 100%;
        height: 100%;
        display: block;
        stroke-linecap: round;
      }
    }
    .color-quantity__value {
      font-size: 12px;
      line-height: 12px;
      color: currentcolor;
      display: block;
      width: 1.3em;
      text-align: center;
      cursor: default;
      user-select: none;
      background: none;
      border: none;
      .color-loading & {
        transition: all 200ms ease-in-out;
        opacity: 0;
      }
    }
    .color-effect--transparent.light-color & {
      background-color: rgba(0,0,0,.1) !important;
      .color-quantity__value, .color-quantity__btn {
        color: black !important;
      }
    }
  }
}

@media screen and (min-width: 500px) {
  .color-grid__cell:hover {
    .color-card__bg {
      inset: -2px;
      border-radius: 4px;
    }
    z-index: 10;
  }
}

.color-modal {
  position: fixed; 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  overflow: hidden;
  max-width: 95%;
  max-height: 400px;
  border-radius: 13px;
  z-index: 99;
  transform: translate(0%, 0%);
  gap: 10px;
  transition: all ease-in-out 300ms;
  will-change: transform, height, width;
  &.color-modal--remind {
    align-items: flex-end;
    @media screen and (max-width: 500px) {
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-end;
      .color-remind-form {
        width: 100%;
      }
    } 
  }
  .color-card__bg {
    inset: 0;
    position: absolute;
  }
  &.animated-done {
    transition: all 300ms ease-in-out;
    transform: translate(-50%, -50%);
    padding: 30px;
    box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px !important;
  }
  &.color-effect--metallic {
    .color-card__bg {
      &:after {
        content: " ";
        display: block;
        inset: 0;
        position: absolute;
        background: linear-gradient(50deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0.2) 33%, rgba(0,0,0,0) 52%, rgba(0,0,0,0.1) 76%, rgba(0,0,0,0.16) 100%);
      }
    }
  }
  &.color-effect--transparent {
    .color-card__bg {
      &:after {
        content: " ";
        display: block;
        inset: 0;
        position: absolute;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
      }
    }
    .color-card__action {
      color: black;
    }
  }
  .color-card__text {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    line-height: 10px;
    text-transform: uppercase;
    z-index: 1;
    transition: all 300ms ease-in-out;
    .animated-done & {
      transition: all 300ms ease-in-out;
      font-size: 11px;
      line-height: 11px;
    }
    .color-card__title {
      opacity: 1;
    }
    .color-card__id {
      opacity: .6;
      transition: opacity 300ms ease-in-out;
      .color-grid.compact ~ .color-modal & {
        opacity: 0;
      }
      .color-grid.compact ~ .color-modal.animated-done & {
        opacity: 1;
      }
    }
  }
  .color-card__action {
    display: flex;
    align-items: center;
    z-index: 1;
    gap: 10px;
    .color-status__text {
      font-size: 10px;
      line-height: 1em;
      text-transform: uppercase;
      color: currentcolor;
      .animated-done & {
        transition: all 200ms ease-in-out;
        font-size: 10px;
      }
      .color-grid.compact ~ .color-modal & {
        opacity: 0;
      }
      .color-grid.compact ~ .color-modal.animated-done & {
        opacity: 1;
      }
    }
    .color-modal--remind & {
      flex-direction: column;
      align-items: flex-end;
    }
  }
  .color-card__remind {
    font-size: 10px;
    line-height: 1em;
    text-transform: uppercase;
    appearance: none;
    color: currentcolor;
    text-decoration: underline;
    text-underline-position: below;
    transition: all 300ms ease-in-out;
    .animated-done & {
      transition: all 300ms ease-in-out;
      font-size: 11px;
    }
    .color-modal--remind & {
      display: none;
    }
  }
  .color-quantity {
    display: flex;
    align-items: center;
    border-radius: 20px;
    position: relative;
    padding: 6px;
    gap: 6px;
    background: rgba(0,0,0,.3);
    box-shadow: 0 1px 1px #00000050;
    .light-color &, .color-effect--transparent & {
      box-shadow: 0 1px 1px #ffffff50;
    }
    .color-quantity__btn {
      position: relative;
      height: 12px;
      width: 12px;
      display: block;
      .animated-done & {
        height: 16px;
        width: 16px;
      }
      &:before {
        display: block;
        content: " ";
        inset: -5px;
        position: absolute;
        cursor: inherit;
      }
      &[disabled] {
        opacity: .3;
        cursor: default;
      }
      > svg {
        width: 100%;
        height: 100%;
        display: block;
        stroke-linecap: round;
      }
    }
    .color-quantity__value {
      font-size: 12px;
      line-height: 1em;
      color: currentcolor;
      display: block;
      width: 1.3em;
      text-align: center;
      cursor: default;
      user-select: none;
      transition: all 300ms ease-in-out;
      .animated-done & {
        transition: all 300ms ease-in-out;
        font-size: 15px;
      }
      .color-loading & {
        transition: all 200ms ease-in-out;
        opacity: 0;
      }
    }
    .color-effect--transparent.light-color & {
      box-shadow: 0 1px 1px #00000050;
      background-color: rgba(0,0,0,.1) !important;
      .color-quantity__value, .color-quantity__btn {
        color: black !important;
      }
    }
  }
}

.color-card__close-btn {
  appearance: none;
  position: absolute;
  padding: 8px;
  border-radius: 20px;
  right: 10px;
  top: 10px;
  color: inherit;
  display: none;
  .color-modal & {
    pointer-events: all;
  }
  svg {
    width: 24px;
    height: 24px;
    display: block;
  }
}

.color-quantity__spinner {
  transform-origin: center center;
  animation: spinning 1s linear infinite reverse;
  position: absolute;
  top: calc(50% - 6px);
  left: calc(50% - 6px);
  opacity: 0;
  transition: all 200ms ease-in-out;
  .color-loading & {
    opacity: 1;
  }
}

.color-remind-form {
  display: none;
  .color-modal--remind & {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }
  .color-remind-form__item {
    appearance: none;
    font-size: 12px;
    border: 0;
    padding: 5px 12px;
    height: 30px;
    border-radius: 4px;
    text-transform: uppercase;
    .remind-success &, .remind-loading & {
      display: none;
    }
    &:focus, &:hover {
      outline: 0;
      border: none;
    }
  }
  .color-remind-form__email {
    box-shadow: 0 1px 1px #00000030;
    color: black;
    min-width: 190px;
    flex-grow: 1;
    .light-color &, .color-effect--transparent.light-color & {
      box-shadow: 0 1px 1px #ffffff30;
      color: white;
    }
    &::placeholder {
      color: currentcolor;
    }
    &.remind-error {
      box-shadow: 0 0 0 2px #ff3333;
    }
  }
  .color-remind-form__submit {
    color: white;
    .light-color &, .color-effect--transparent.light-color & {
      color: black;
    }
  }
}

.color-remind-form__success-text, .color-remind-form__loading-text {
  font-size: 13px;
  line-height: 30px;
  display: none;
  width: 100%;
}
.color-remind-form__success-text {
  .remind-success & {
    display: block;
  }
}
.color-remind-form__loading-text {
  .remind-loading & {
    display: block;
  }
}

.anchor {
  position: absolute;
  display: block;
  height: 1px;
  margin-top: -140px;
}

.color-drop {
  display: block;
  width: 63px;
  height: 24px;
  border-radius: 20px;
  position: fixed;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}


.color-grid__overlay {
  position: fixed;
  inset: 0;
  background: #000000;
  opacity: .6;
  pointer-events: all;
  transition: all 300ms ease-out;
  cursor: zoom-out;
  display: block;
  height: 100vh;
  width: 100vw;
  z-index: 33;
}

.color-grid__overlay[aria-hidden=true] {
  visibility: hidden;
  opacity: 0;
}


@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes spinning {
  from {
    transform: rotate(0deg);
  }
  from {
    transform: rotate(359deg);
  }
}

.color-grid__cell,
.m-product-orderform-before-discount {
    color: #fff;
}
.color-grid__cell svg {
    stroke: #fff
}


.color-grid__cell[data-variantid="6276"],
.color-grid__cell[data-variantid="6277"],
.color-grid__cell[data-variantid="6483"],
.color-grid__cell[data-variantid="5523"],
.color-grid__cell[data-variantid="5565"],
.color-grid__cell[data-variantid="5571"],
.color-grid__cell[data-variantid="5561"],
.color-grid__cell[data-variantid="5590"],
.color-grid__cell[data-variantid="5154"],
.color-grid__cell[data-variantid="6275"],
.color-grid__cell[data-variantid="4729"],
.color-grid__cell[data-variantid="5551"],
.color-grid__cell[data-variantid="5568"],
.color-grid__cell[data-variantid="5522"],
.color-grid__cell[data-variantid="5521"],
.color-grid__cell[data-variantid="5524"],
.color-grid__cell[data-variantid="351"],
.color-grid__cell[data-variantid="373"],
.color-grid__cell[data-variantid="391"],
.color-grid__cell[data-variantid="772"],
.color-grid__cell[data-variantid="773"],
.color-grid__cell[data-variantid="774"],
.color-grid__cell[data-variantid="775"],
.color-grid__cell[data-variantid="776"],
.color-grid__cell[data-variantid="780"],
.color-grid__cell[data-variantid="782"],
.color-grid__cell[data-variantid="783"],
.color-grid__cell[data-variantid="786"],
.color-grid__cell[data-variantid="1677"],
.color-grid__cell[data-variantid="1679"],
.color-grid__cell[data-variantid="2092"],
.color-grid__cell[data-variantid="4307"],
.color-grid__cell[data-variantid="4434"],
.color-grid__cell[data-variantid="4727"],
.color-grid__cell[data-variantid="4728"],
.color-grid__cell[data-variantid="4737"],
.color-grid__cell[data-variantid="5110"],
.color-grid__cell[data-variantid="5111"],
.color-grid__cell[data-variantid="5371"],
.color-grid__cell[data-variantid="5379"],
.color-grid__cell[data-variantid="5428"],
.color-grid__cell[data-variantid="5451"],
.color-grid__cell[data-variantid="5452"],
.color-grid__cell[data-variantid="5454"],
.color-grid__cell[data-variantid="5481"],
.color-grid__cell[data-variantid="5495"],
.color-grid__cell[data-variantid="5501"],
.color-grid__cell[data-variantid="5757"],
.color-grid__cell[data-variantid="5645"],
.color-grid__cell[data-variantid="5660"],
.color-grid__cell[data-variantid="5700"],
.color-grid__cell[data-variantid="5737"],
.color-grid__cell[data-variantid="5708"],
.color-grid__cell[data-variantid="5751"],
.color-grid__cell[data-variantid="5743"],
.color-grid__cell[data-variantid="5628"],
.color-grid__cell[data-variantid="5683"],
.color-grid__cell[data-variantid="5684"],
.color-grid__cell[data-variantid="5622"],
.color-grid__cell[data-variantid="5685"],
.color-grid__cell[data-variantid="5714"],
.color-grid__cell[data-variantid="5756"],
.color-grid__cell[data-variantid="5781"],
.color-grid__cell[data-variantid="5699"],
.color-grid__cell[data-variantid="5815"],
.color-grid__cell[data-variantid="5839"],
.color-grid__cell[data-variantid="5840"],
.color-grid__cell[data-variantid="5841"],
.color-grid__cell[data-variantid="5843"],
.color-grid__cell[data-variantid="5852"],
.color-grid__cell[data-variantid="5853"],
.color-grid__cell[data-variantid="5863"],
.color-grid__cell[data-variantid="5864"],
.color-grid__cell[data-variantid="5922"],
.color-grid__cell[data-variantid="5924"],
.color-grid__cell[data-variantid="6343"],
.color-grid__cell[data-variantid="6363"],
.color-grid__cell[data-variantid="6423"],
.color-grid__cell[data-variantid="6424"],
.color-grid__cell[data-variantid="6425"],
.color-grid__cell[data-variantid="6426"],
.color-grid__cell[data-variantid="6427"],
.color-grid__cell[data-variantid="6428"],
.color-grid__cell[data-variantid="6429"],
.color-grid__cell[data-variantid="6430"],
.color-grid__cell[data-variantid="6529"],
.color-grid__cell[data-variantid="6583"],
.color-grid__cell[data-variantid="6585"],
.color-grid__cell[data-variantid="6881"],
.color-grid__cell[data-variantid="6963"],
.color-grid__cell[data-variantid="7003"],
.color-grid__cell[data-variantid="7191"],
.color-grid__cell[data-variantid="7181"],
.color-grid__cell[data-variantid="7184"],
.color-grid__cell[data-variantid="7193"],
.color-grid__cell[data-variantid="7197"],
.color-grid__cell[data-variantid="7204"],
.color-grid__cell[data-variantid="7205"],
.color-grid__cell[data-variantid="7260"],
.color-grid__cell[data-variantid="7261"],
.color-grid__cell[data-variantid="7262"],
.color-grid__cell[data-variantid="7267"],
.color-grid__cell[data-variantid="7270"],
.color-grid__cell[data-variantid="7280"],
.color-grid__cell[data-variantid="7286"],
.color-grid__cell[data-variantid="7295"],
.color-grid__cell.cell-black {
    color: #000;
    .m-product-orderform-before-discount {
        color: #585858;
    }
    svg {
        stroke: #000;
    }
}

:root {
    --btn-bg-color: 42 43 42;
    --btn-bg-hover-color: 82 83 82;
    --btn-text-color: 255 255 255;
    --btn-bg-color-og: 42 43 42;
    --btn-text-color-og: 255 255 255;
    --btn-alt-bg-color: 255 255 255;
    --btn-alt-bg-alpha: 1.0;
    --btn-alt-text-color: 42 43 42;
    --btn-border-width: 2px;
    --btn-padding-y: 12px;
    --btn-border-radius: 28px;
    --btn-lg-border-radius: 50%;
    --btn-icon-border-radius: 50%;
}
.colorCircle {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: conic-gradient(from 180deg at 50% 50%, red, #f90 26.25deg, #ffe600 58.12deg, #9eff00 97.5deg, #24ff00 129.37deg, #0f6 150deg, #00ffc2 181.87deg, #00b3ff 217.5deg, #001aff 266.25deg, #8f00ff 309.38deg, #fa00ff 331.88deg, red 360deg);
    border: 1px solid #FFFFFF;
    box-shadow: inset 0 3px 3px #00000057;
    border-radius: 15px;
}
.btn.colorBtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    padding-left: 16px;
    gap: 4px;
    padding-right: 13px;
    border: 2px solid rgb(var(--btn-bg-color));
    outline-color: rgb(var(--btn-bg-color));
    outline-offset: 3px;
    background: rgb(var(--btn-bg-hover-color)) linear-gradient(104deg, rgb(var(--btn-bg-hover-color)) 60%, rgb(var(--btn-bg-color)) 60% 100%) no-repeat 100% 100%;
    background-size: 300% 100%;
    color: rgb(var(--btn-text-color));
    position: relative;
    max-width: 100%;
    padding: var(--btn-padding-y, 12px) 26px;
    transition: opacity .6s ease, color .6s ease, background-position .4s ease-out;
    border-radius: var(--btn-border-radius, 0);
    font-weight: 700;
    line-height: 1.2em;
    text-align: center;
    -webkit-appearance: none;
    appearance: none;
    word-break: break-word;
    text-transform: uppercase;
}
.colorBtn>span:last-of-type {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 10px;
}