body {
  background-color: #fff !important;
}

h1 {
  font-weight: 800 !important;
  font-size: 32px !important;
  margin-bottom: 20px !important;
  margin-top: 0 !important;
}

h2 {
  font-weight: 800 !important;
  font-size: 28px !important;
}

h3 {
  font-weight: 800 !important;
  font-size: 24px !important;
}

.ck-content p {
  color: var(--wl_h1);
  font-size: 16px;
}

.pva-floating-style {
  display: none;
}

.vl-footer-margin {
  margin-bottom: 80px;
}

@media (min-width: 992px) {
  h1 {
    font-weight: 800 !important;
    font-size: 48px !important;
    margin-bottom: 30px !important;
    margin-top: 0 !important;
  }

  h2 {
    font-weight: 800 !important;
    font-size: 36px !important;
  }
}

/* Header */
.padding-header {
  margin-right: 0;
  margin-left: 0;
}

@media (min-width: 1024px) {
  .padding-header {
      margin-right: 20px;
      margin-left: 20px;
  }
}

@media (min-width: 1280px) {
  .padding-header {
      margin-right: 40px;
      margin-left: 40px;
  }
}

@media (min-width: 1680px) {
  .padding-header {
      margin-right: 60px;
      margin-left: 60px;
  }
}

/* Page layout */
.page-margin {
  margin-right: 20px;
  margin-left: 20px;
}

@media (min-width: 1024px) {
  .page-margin {
      margin-right: 40px;
      margin-left: 40px;
  }
}

@media (min-width: 1280px) {
  .page-margin {
      margin-right: 60px;
      margin-left: 60px;
  }
}

@media (min-width: 1680px) {
  .page-margin {
      margin-right: 80px;
      margin-left: 80px;
  }
}

.page-padding {
  padding-right: 20px;
  padding-left: 20px;
}

@media (min-width: 1024px) {
  .page-padding {
    padding-right: 40px;
    padding-left: 40px;
  }
}

@media (min-width: 1280px) {
  .page-padding {
    padding-right: 60px;
    padding-left: 60px;
  }
}

@media (min-width: 1680px) {
  .page-padding {
    padding-right: 80px;
    padding-left: 80px;
  }
}

/* Table */
.wl-list {
  padding: 0 10px;
}

.wl-list-padding {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1024px) {
  .wl-list-padding {
    padding-left: 25px;
    padding-right: 25px;
  }
}

a.link {
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-primary,
.btn-primary:focus,
.button1,
.button1:focus,
.btn.button1,
.btn.button1:focus {
  /* border: 1px !important; */ 
  text-transform: uppercase;
  padding: 6px 15px !important;
  line-height: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  outline-color: transparent;
}

.btn-primary:active,
.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:active:focus,
.btn-primary:active.focus,
.btn-primary.active:hover,
.btn-primary.active:focus,
.btn-primary.active.focus,
.btn.button1:active,
.btn.button1:hover,
.btn.button1:active:hover,
.btn.button1:active:focus,
.btn.button1:active.focus,
.btn.button1.active:hover,
.btn.button1.active:focus,
.btn.button1.active.focus,
.button1:active,
.button1:hover,
.button1:active:hover,
.button1:active:focus,
.button1:active.focus,
.button1.active:hover,
.button1.active:focus,
.button1.active.focus {
  border: none !important;
  outline-color: transparent;
}

.btn-secondary,
.btn-secondary:focus {
  text-transform: uppercase;
  padding: 6px 15px !important;
  line-height: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  outline-color: transparent;
}

.btn.btn-dark,
.btn.btn-dark:focus {
  border: none !important;
  text-transform: uppercase;
  padding: 6px 15px !important;
  line-height: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  outline-color: transparent;
  height: 40px;
  border-radius: 20px;
  font-weight: 600;
}

.btn.btn-dark:active,
.btn.btn-dark:hover,
.btn.btn-dark:active:hover,
.btn.btn-dark:active:focus,
.btn.btn-dark:active.focus,
.btn.btn-dark.active:hover,
.btn.btn-dark.active:focus,
.btn.btn-dark.active.focus {
  border: none !important;
  outline-color: transparent;
  line-height: 24px;
}

a.btn.btn-primary[disabled] {
  background-color: silver !important;
}

/* Page */
.wl-page-head-block {
  margin: 50px 0 60px;
}

/* @media (min-width: 1024px) {
  .wl-page-head-block {
    margin: 50px 0 60px;
  }
} */

.wl-sub-headline {
  font-size: 20px;
  font-weight: 400;
}

.wl-page-grey-block {
  padding: 60px 0 80px 0;
  background-color: #f0f0f0;
}

/* Tabs */
.wl-tab {
  font-size: 20px;
  margin-right: 20px;
  font-weight: 400;
  display: inline-block;
  margin-bottom: 20px;
  color: var(--wl_h1) !important;  
}

.wl-tab.active {  
  border-bottom-width: 2px;
  border-bottom-style: solid;
  color: var(--wl_primary) !important;  
}

a.wl-tab:hover,
a.wl-tab.active:hover {
  text-decoration: none !important;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: var(--wl_primary);
}

/* Accordion */
.wl-accordion-item {
  background-color: #f0f0f0;
  padding: 7px 20px;
  margin-bottom: 10px;
}

.wl-accordion-item.white {
  background-color: #fff;
}

.wl-accordion-item h3 {
  position: relative;
  margin: 0;
  padding: 26px 30px 26px 10px;
  cursor: pointer;
}

.wl-accordion-item h3::after {
  content: '\f077';
  position: absolute;
  right: 0;
  color: var(--wl_primary);
  font-size: 16px;
  font-weight: normal;
  transition: transform .3s;
  transform-origin: center;
  font-family: var(--fa-style-family, "Font Awesome 6 Free");
  font-weight: var(--fa-style, 900);
}

.wl-accordion-item.open h3::after {
  transform: rotate(-180deg);
}

.wl-accordion-item > div {
  margin: 0 10px 20px;
}

/* List */
.wl-list .row.wl-list-header {
  font-weight: 700;
  font-size: 14px;
  line-height: 48px;
  margin-bottom: 5px;
  background-color: #fff;
  min-height: 48px;
}

.wl-list .row {
  font-size: 16px;
  min-height: 64px;
}

.wl-list-items .btn-primary,
.wl-list-items .btn-primary:focus,
.wl-list-items .button1,
.wl-list-items .button1:focus,
.wl-list-items .btn.button1,
.wl-list-items .btn.button1:focus,
.wl-list-items .btn-secondary,
.wl-list-items .btn-secondary:focus,
.wl-list-items .btn-dark:active,
.wl-list-items .btn-dark:hover,
.wl-list-items .btn-dark:active:hover,
.wl-list-items .btn-dark:active:focus,
.wl-list-items .btn-dark:active.focus,
.wl-list-items .btn-dark.active:hover,
.wl-list-items .btn-dark.active:focus,
.wl-list-items .btn-dark.active.focus {
  line-height: 14px;
 }

.wl-list-items {
  align-items: center;
  background-color: #fff;
  margin-bottom: 5px;
}

.wl-list-small {
  font-size: 14px;
}

/** START FORM STYLING **/
.crmEntityFormView .tab-title,
.crmEntityFormView,
.entitylist,
.modal-content,
.popover-content {
  border: 0 none !important;
}

.crmEntityFormView fieldset {
  max-width: 750px;
}

.crmEntityFormView .field-label {
  margin-bottom: 10px;
}

.crmEntityFormView .form-control,
.crmEntityFormView .form-control:focus {
  font-weight: 500;
  background-color: #f5f5f5 !important;
  border-top: 0 none;
  border-right: 0 none;
  border-left: 0 none;
  border-bottom-color: #cecece !important;
  border-radius: 0;
  height: 38px;
}

.crmEntityFormView textarea.form-control,
.crmEntityFormView textarea.form-control:focus {
  height: 250px;
}

.crmEntityFormView .cell {
  padding: 0;
}

.crmEntityFormView .picklist-cell,
.crmEntityFormView .form-control-cell {
  padding: 10px;
  padding-bottom: 30px;
}

.crmEntityFormView .picklist-cell[role="radiogroup"] .picklist.horizontal label {
  vertical-align: top;
  margin-right: 30px;
  margin-left: 5px;
  font-weight: 500;
}

.crmEntityFormView fieldset {
  margin-bottom: 0;
}

.crmEntityFormView .validation-summary ul {
  list-style: disc;
  margin-left: 20px;
}

.crmEntityFormView input.form-control.input-text-box::placeholder {
  font-weight: 500;
  opacity: 0.5;
}

.crmEntityFormView .datetimepicker .input-group-addon.btn {
  height: 38px;
}

/* Samtykke */
.crmEntityFormView [data-name="tab_5_section_6"] .checkbox-cell {
  position: relative;
  padding-top: 10px;
}

.crmEntityFormView [data-name="tab_5_section_6"] .checkbox-cell label {
  position: relative;
  margin-left: 15px
}

.crmEntityFormView [data-name="tab_5_section_6"] .checkbox-cell .description {
  margin-left: 35px;
}

.crmEntityFormView [data-name="tab_5_section_6"] .checkbox-cell .control {
  position: absolute;
  top: 10px;
  margin-left: 10px;
}

/* Tro og love erklæring */
.crmEntityFormView [data-name="tab_5_section_7"] .checkbox-cell {
  position: relative;
  padding-top: 10px;
}

.crmEntityFormView [data-name="tab_5_section_7"] .checkbox-cell label {
  position: relative;
  margin-left: 15px
}

.crmEntityFormView [data-name="tab_5_section_7"] .checkbox-cell .description {
  margin-left: 35px;
}

.crmEntityFormView [data-name="tab_5_section_7"] .checkbox-cell .control {
  position: absolute;
  top: 10px;
  margin-left: 10px;
}

/* File picker */
.crmEntityFormView input::file-selector-button {
  color: #FFFFFF;
  border-radius: 20px;
  font-family: Arial;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 20px;
  width: fit-content;
  border-style: solid;
  border-width: 1.6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Back button */
.crmEntityFormView .btn-default {
  background-color: transparent;
  text-transform: uppercase;
}

.crmEntityFormView .btn-default:hover,
.crmEntityFormView .btn-default:focus {
  background-color: transparent;
}

/* Action Buttons */
html[dir=ltr] .crmEntityFormView .actions .col-md-6 {
  width: 100%;
  text-align: center
}

html[dir=ltr] .crmEntityFormView .actions .btn:first-child {
  margin-right: 15px;
}

.styled-select {
  width: 200px;
  height: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  background-color: rgba(0, 0, 0, 0.04);
  border-radius: 0px;
  padding: 5px;
  font-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.styled-select::after {
  content: '▼';
  font-size: 12px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.radio-group {
  display: flex;
  flex-direction: column;
  /* Use row for horizontal spacing */
  gap: 30px;
  /* Adjust the gap as needed */
}

input[type="radio"] {
  width: 20px;
  height: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 50%;
  margin-right: 30px;
  outline: none;
  cursor: pointer;
  position: relative;
}

input[type="radio"]:checked::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  margin-right: 30px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.crmEntityFormView .actions,
.crmEntityFormView, .entitylist, .modal-content, .popover-content {
    border: 0 none;
}
.crmEntityFormView div.description {
    margin-top: 0px;
    margin-bottom: 10px;
}

@media (max-width: 767px) {
  #EntityFormView {
    padding: 0;
  }
}

/** END FORM STYLING **/

/** MODAL START **/
.wl-modal-content {
  border-radius: 0;
}

.wl-modal-header {
  padding: 65px 85px 0 85px;
  border-bottom: 0;
  justify-content: center;
}

.wl-modal-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.wl-modal-body {
  font-size: 16px;
  font-weight: 400;
  padding: 30px 85px 40px;
  text-align: center;
}

.wl-modal-footer {
  padding: 0 85px 95px 85px;
  border-top: 0;
  justify-content: center;
  gap: 15px;
}

/** MODAL END **/

/** PROGRESSBAR START **/

ol.progress {
  background: none;
  text-align: center;
  margin-top: 0;
  display: flex;
  flex-direction: row;
  margin-bottom: 30px;
}

ol.progress.top {
  width: fit-content;
  margin: 0 auto;
}

.progress .fa-solid {
  display: none;
}

[id$="_ProgressIndicator"] .sr-only {
  display: block;
  position: static;
  white-space: initial;
  width: auto;
  height: auto;
  font-size: 36px;
  margin: 40px 0 25px;
  margin-left: 10px;
  clip: unset;
  font-weight: 800;
  overflow: visible;
  hyphens: auto;
}

.progress li {
  list-style-type: none;
  font-size: 1.2em;
  font-weight: bold;
  float: left;
  position: relative;
  flex-grow: 1;
  list-style: none;
  text-align: center;
  width: 150px;
}


.list-group-item {
  background: none !important;
  border: 0;
}

.progress li:first-child:after {
  width: 50%;
  left: 50%;
}

.progress li:last-child:after {
  width: 50%;
}

.progress li:before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  line-height: 45px;
  content: " ";
}

.progress .list-group-item.active {
  background: none;
  border: 0;
  margin: 0;
  font-size: 12px;
}

.progress #step-rejected:before {
  content: "\e014";
}

.progress li:before {
  width: 24px;
  height: 24px;
  line-height: 20px;
  display: block;
  border-radius: 50%;
  margin: 0 auto 15px auto;
}

.progress li:after {
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  top: 20px;
  z-index: -1;
}

.progress li.list-group-item.active:before {
  content: "\f111";
  color: #fff;
  font-size: 11px;
  line-height: 24px;
}

.progress li.list-group-item-success:before {
  color: white;
  content: "\f00c";
  font-size: 1.4em;
  line-height: 26px;
}

.progress .text-muted {
  font-size: 12px;
}

ol.progress li.incomplete {
  border: 0 none;
  font-size: 12px;
}

.progress li.incomplete:before {
  background: white !important;
}

.progress li.incomplete:before {
  content: "\f111";
  font-size: 12px;
  line-height: 24px;
}

.datetimepicker {
  flex-wrap: nowrap !important;
}

.datetimepicker .input-group-addon {
  height: 40px;
}

@media (max-width: 767px) {

  ol.progress.bottom,
  ol.progress.top {
    display: flex !important;
    flex-direction: row !important;
  }

  .progress .text-muted,
  ol.progress li.incomplete {
    display: none;
  }

  #EntityFormView {
    width: 100%;
    padding: 0;
  }
}
  
/** PROGRESSBAR END **/

.page-copy .sectionBlockLayout {
  display: none !important;
}