.separator-line {
  border-top: 0.1rem solid #ddd;
  margin: 4rem 0;
}

.separator {
  margin: 4rem 0;
}

.mui-check .wpcf7-form-control-wrap.problemet {
  display: block;
  width: 100%;
  max-width: 40rem;
}
.mui-check.short-radio .wpcf7-form-control-wrap {
  max-width: 22rem;
  min-width: unset;
}
.mui-check .wpcf7-list-item {
  display: block;
  margin: 0;
}
.mui-check .wpcf7-list-item:focus-within {
  outline: 0.2rem solid var(--vigiloSecondaryBlue);
  outline-offset: 0.2rem;
  border-radius: calc(var(--borderRadius) - 0.5rem);
}
.mui-check input[type=checkbox], .mui-check input[type=radio] {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  cursor: pointer;
}
.mui-check .wpcf7-list-item-label {
  --padding: 1.2rem;
  position: relative;
  display: block;
  color: var(--vigiloDarkBlue);
  font-size: var(--fontSize-Root);
  font-weight: 400;
  padding: var(--padding) 4rem var(--padding) 1.4rem;
  border-radius: 0.8rem;
  background-color: var(--checkboxUnactive);
  transition: background-color 0.2s ease;
  height: calc(100% - var(--padding) * 2);
  cursor: pointer;
  margin: 0;
}
.mui-check input[type=radio]:disabled + .wpcf7-list-item-label {
  opacity: 0.3;
  cursor: not-allowed;
}
.mui-check .wpcf7-list-item-label:hover {
  background-color: var(--checkboxHover);
}
.mui-check .wpcf7-list-item-label:after {
  position: absolute;
  font-family: var(--vigiloIcons);
  font-size: 1.8rem;
  color: #a4a4a4;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
}
.mui-check label > input[type=checkbox] + span:after {
  content: "Y";
}
.mui-check label > input[type=checkbox]:checked + span:after {
  content: "X";
}
.mui-check label > input[type=radio] + span:after {
  content: "8";
}
.mui-check label > input[type=radio]:checked + span:after {
  content: "7";
}
.mui-check label > input[type=checkbox]:checked + span:after, .mui-check label > input[type=radio]:checked + span:after {
  color: var(--vigiloSecondaryBlue);
}
.mui-check label > input[type=checkbox]:checked + span, .mui-check label > input[type=radio]:checked + span {
  background-color: var(--checkboxActive);
}

.mui-wrapper h4,
.mui-group h4,
.mui-check h4 {
  font-size: clamp(2rem, var(--fsClamp-scaler-p), 2.5rem);
  font-weight: bold;
  margin: 0 0 1.5rem 0;
}

.mui-group {
  width: 100%;
  max-width: 65rem;
  z-index: 1;
}
.mui-group h4.mui-group-title {
  margin: 0 0 2.5rem 0;
}
.mui-group h6 {
  font-size: 1.6rem;
  color: var(--textColor02);
  font-weight: normal;
  margin: -1.5rem 0 3rem 0;
}

.mui-narrow {
  width: 100%;
  max-width: 80rem;
  margin: auto;
}
.mui-narrow.narrower {
  max-width: 60rem;
}
.mui-narrow.narrowest {
  max-width: 50rem;
}
.mui-narrow .mui-group {
  max-width: none;
}

.mui-group.center {
  margin: auto;
}
.mui-group.double-check-row .wpcf7-form-control,
.mui-group .wpcf7-form-control {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.mui-group .wpcf7-list-item {
  width: 100%;
}
.mui-group.double-check-row .wpcf7-list-item {
  width: calc(50% - 0.5rem);
}
.mui-group h5 {
  font-size: clamp(1.6rem, var(--fsClamp-scaler-p), 2.3rem);
  margin: 0 0 3rem 0;
  font-weight: bold;
}
.mui-group i {
  color: var(--vigiloRed);
}

.mui-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.mui-narrow.narrower .mui-wrapper {
  flex-wrap: wrap;
  flex-direction: column;
}

.mui-field {
  position: relative;
  margin-top: -2rem;
}

.mui-wrap.double {
  display: flex;
}
.mui-wrap .mui-field {
  width: 100%;
}
.mui-wrap .mui-field:not(:last-child) {
  margin-right: 2rem;
}

.mui-field:not(:last-child),
[data-class=wpcf7cf_group] .mui-field,
.mui-wrap.double .mui-field {
  margin-bottom: 3rem;
}

.mui-field label {
  position: absolute;
  font-size: var(--fontSize-Root);
  font-weight: normal;
  background-color: #fff;
  border-radius: 0.8rem;
  color: #555;
  padding: 0.7rem;
  margin: 0;
  top: 3.3rem;
  left: 1rem;
  z-index: 1;
  transform: none;
  transform-origin: left top;
  transition: all 0.2s ease;
  pointer-events: none;
}
.mui-field:focus-within label, .mui-field:active label, .mui-field.value-filled label, .mui-field.value-filled-static label {
  left: 1.2rem;
  top: 0.5rem;
  transform: scale(0.85);
}
.mui-field input,
.mui-field textarea,
.mui-field select {
  position: relative;
  font-size: var(--fontSize-Root);
  background-color: #fff;
  color: var(--textColor);
  border: 0.1rem solid #979797;
  padding: 2rem;
  box-sizing: border-box;
  border-radius: 0.8rem;
  width: 100%;
  font-weight: 400;
}
.mui-field textarea {
  height: 25rem;
  max-height: 80rem;
  min-height: 10rem;
  resize: vertical;
}
.mui-field.textarea-smaller textarea {
  height: 11rem;
}
.mui-field.dropdown:before {
  position: absolute;
  font-family: var(--vigiloIcons);
  content: "s";
  color: #555;
  right: 2rem;
  top: 4rem;
  pointer-events: none;
  z-index: 1;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  position: absolute;
  -webkit-appearance: none;
  background: transparent url("/wp-content/themes/vigilo-2022/img/Numeric-arrows.svg") no-repeat center center;
  background-size: 1.5rem;
  width: 4rem;
  height: 100%;
  top: 0;
  right: 0.5rem;
  bottom: 0;
  opacity: 0;
  transition: 0.2s ease;
}

.mui-field.value-filled input[type=number]::-webkit-inner-spin-button, .mui-field.value-filled input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}
.mui-field.footer {
  display: flex;
  margin: 3rem 0 0 0;
}
.mui-field.footer button,
.mui-field.footer input {
  display: block;
  font-family: inherit;
  font-size: clamp(var(--fontSize-Root), var(--fsClamp-scaler-p), 1.8rem);
  padding: 1.8rem 2rem;
  border-radius: 1.2rem;
  width: auto;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.mui-cancel {
  display: block;
  font-family: inherit;
  font-size: clamp(var(--fontSize-Root), var(--fsClamp-scaler-p), 1.8rem);
  padding: 1.8rem 2rem;
  border-radius: 1.2rem;
  width: auto;
  border: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.mui-field.footer br {
  display: none;
}
.mui-field.footer button:focus-visible,
.mui-field.footer input:focus-visible {
  outline-offset: 0.3rem;
}

/* Fjerning av Autofill BG */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 4rem white inset !important;
  box-shadow: 0 0 0 4rem white inset !important;
}
input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 4rem white inset !important;
  box-shadow: 0 0 0 4rem white inset !important;
}

.mui-field .mui-submit {
  background-color: var(--vigiloDarkBlue);
  box-shadow: 0 0.5rem 2rem rgba(0, 9, 96, 0.31);
  color: #fff;
  z-index: 1;
}
.mui-field .mui-submit:hover {
  background-color: #1a2698;
}

.mui-cancel {
  background-color: #fff;
  color: #6e6e6e;
  margin-left: 0.5rem;
}
.mui-cancel:hover {
  text-decoration: underline;
}
.mui-cancel:focus-visible {
  outline: 0.1rem solid var(--darkGrey);
  outline-offset: 0.3rem;
}

.mui-narrow.narrower .info-box {
  max-width: none;
}

.info-box {
  display: flex;
  width: 100%;
  padding: 2rem;
  max-width: 55rem;
  border-radius: var(--borderRadius);
  background-color: var(--checkboxActive);
  box-sizing: border-box;
  gap: 1.5rem;
}
.info-box:not(.samtykke):not(.personvern):before {
  content: "6";
  font-family: var(--vigiloIcons);
  font-style: normal;
  color: var(--vigiloSecondaryBlue);
  line-height: 0;
  font-size: 2.8rem;
  top: 1.8rem;
  position: relative;
  flex-shrink: 0;
}
.info-box.gap-top {
  margin: 2rem 0 0 0;
}
.info-box.samtykke, .info-box.personvern {
  max-width: none;
  margin: 3rem 0 0 0;
  padding: 2rem;
  width: 100%;
  background-color: var(--checkboxUnactive);
}
.info-box p {
  position: relative;
  font-size: clamp(1.6rem, var(--fsClamp-scaler-p), 1.8rem);
  color: var(--vigiloDarkBlue);
  font-weight: 400;
  line-height: 1.8;
}
.info-box.samtykke.normal p {
  display: inline-block;
  font-style: normal;
}
.info-box.samtykke.normal p a {
  color: var(--vigiloSecondaryBlue);
  text-decoration: underline;
}
.info-box.samtykke .mui-check .wpcf7-list-item-label {
  background-color: transparent;
  border: 0.1rem solid #979797;
}
.info-box.personvern .mui-check .wpcf7-list-item-label {
  background-color: transparent;
  border: 0.1rem solid #979797;
}
.info-box.samtykke .mui-check label > input[type=checkbox]:checked + span, .info-box.personvern .mui-check label > input[type=radio]:checked + span {
  background-color: #fff;
  border: 0.1rem solid transparent;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.09);
}
.info-box.samtykke .mui-check .wpcf7-form-control-wrap, .info-box.personvern .mui-check .wpcf7-form-control-wrap {
  display: block;
  margin: 2rem 0 0 0;
}
.info-box.samtykke .mui-check .wpcf7-list-item, .info-box.personvern .mui-check .wpcf7-list-item {
  width: auto;
}
.info-box.samtykke p:before, .info-box.personvern p:before {
  display: none;
}
.info-box.no-margin {
  margin: 0;
}

.mui-contact-image {
  position: relative;
  display: block;
}
.mui-contact-image img {
  display: block;
  position: relative;
  max-width: 64rem;
  min-width: 45rem;
  width: 100%;
  margin-left: -7%;
}
.mui-contact-image:not(.mui-contact-image.alt) img {
  transform: scale(1.2);
  transform-origin: left;
}
.mui-contact-image.alt img {
  margin-left: auto;
}

@media screen and (max-width: 1020px) {
  .illustration .mui-wrap.double {
    flex-direction: column;
  }
}
@media screen and (max-width: 990px) {
  .mui-wrapper.illustration {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 6rem;
  }
  .mui-contact-image img {
    margin: auto;
    max-width: 60rem;
    min-width: unset;
  }
  .mui-contact-image:not(.mui-contact-image.alt) img {
    transform: none;
  }
  .illustration .mui-wrap.double {
    flex-direction: row;
  }
}
@media screen and (max-width: 870px) {
  .mui-group.double-check-row .wpcf7-list-item {
    width: 100%;
  }
  .mui-group.double-check-row .problemet .wpcf7-list-item {
    width: calc(50% - 0.5rem);
  }
}
@media screen and (max-width: 650px) {
  .mui-wrapper,
  .mui-narrow.narrower .mui-wrapper {
    flex-direction: column;
    gap: 2rem;
  }
  .mui-group.double-check-row .wpcf7-list-item {
    width: calc(50% - 0.5rem);
  }
  .mui-check .wpcf7-form-control-wrap {
    max-width: none;
    min-width: unset;
  }
  .mui-check .wpcf7-form-control-wrap.problemet {
    max-width: none;
    min-width: unset;
  }
  .info-box {
    max-width: none;
  }
  .info-box.gap-top {
    margin: 0;
  }
  .separator-line {
    margin: 3rem 0;
  }
}
@media screen and (max-width: 500px) {
  .mui-wrap.double,
  .illustration .mui-wrap.double {
    flex-direction: column;
  }
  input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
    background-size: 1.2rem;
  }
  .mui-cancel {
    margin-left: 0;
  }
  .mui-field.footer {
    flex-direction: column;
  }
  .mui-field.footer button,
  .mui-field.footer input {
    width: 100%;
    text-align: center;
  }
  .mui-cancel {
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 1.8rem 0;
  }
}
@media screen and (max-width: 400px) {
  .mui-group.double-check-row .wpcf7-list-item,
  .mui-group.double-check-row .problemet .wpcf7-list-item {
    width: 100%;
  }
  .info-box.samtykke .mui-check .wpcf7-list-item, .info-box.personvern .mui-check .wpcf7-list-item {
    width: 100%;
  }
}
@media screen and (max-width: 380px) {
  .mp.element .kurs-stat-wrap {
    font-size: 1.2rem;
  }
  .mp.element .kurs-stat.varighet {
    margin-right: 1.5rem;
  }
}
/* DRAG AND DROP */
.mui-wrapper .dropfiles-101 {
  width: 100%;
}

.cf7-drop-statusbar {
  width: auto;
  border-radius: var(--borderRadius);
}

.cf7-drop-progressBar div {
  background-color: var(--vigiloSecondaryBlue);
}

.cf7-dragandrophandler {
  border: 0.2rem dashed #979797;
  border-radius: var(--borderRadius);
  color: var(--vigiloDarkBlue);
  box-sizing: border-box;
  padding: 4rem 0;
  height: auto;
}

.cf7-text-drop {
  font-size: clamp(2.5rem, var(--fsClamp-scaler-p), 4.6rem);
  line-height: var(--lineHeight-Title);
  padding: 1rem;
}

.cf7-text-or {
  font-size: var(--fontSize-MainP);
  margin: 1rem 0 -1rem 0;
  font-weight: 400;
}

.cf7-dragandrophandler-inner {
  padding-top: 0;
  white-space: normal;
}

.cf7-text-drop:before {
  height: 10rem;
  width: 12rem;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("/wp-content/themes/vigilo-2022/img/2021/other/cloud_upload_custom_web.png");
  left: 0;
  right: 0;
  position: relative;
  margin: auto;
  display: block;
  margin-bottom: 2rem;
}

.cf7-text-browser a {
  background-color: #fff;
  display: inline-block;
  line-height: normal;
  margin: 2rem auto auto auto;
  color: var(--vigiloDarkBlue) !important;
  font-family: inherit;
  font-size: var(--fontSize-Root);
  padding: 1.4rem 3rem;
  border-radius: 10rem;
  border: 0.2rem solid var(--vigiloDarkBlue);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.cf7-text-browser a:hover {
  background-color: #000960;
  color: #fff !important;
  opacity: 1;
}

/* EXTRA */
.mp.modal-inner .bestill.kurs h2 {
  font-size: 2.4rem;
  margin: 0;
}
.mp.modal-inner .bestill.kurs p {
  margin: 0.5rem 0 3rem 0;
}
.mp.modal-inner .bestill.kurs p:has(span.wpcf7-form-control-wrap) {
  margin: 0;
}

.wpcf7-form.invalid .wpcf7-response-output {
  padding: 2rem;
  margin: 3rem 0 0 0;
  border-radius: var(--borderRadius);
  background-color: var(--checkboxUnactive);
  border: 0;
}
.wpcf7-form.sent .wpcf7-response-output {
  display: none;
}
