@media (min-width: 768px) {
  .next-gen-form-embed {
    float: right;
    margin-bottom: -150px;
    margin-left: 5%;
    margin-top: -200px;
    width: 380px;
  }
}

@media (min-width: 992px) {
  .next-gen-form-embed {
    margin-left: 10%;
  }
}

.next-gen-form {
  background: #e5e5e5;
  margin-bottom: 30px;
  padding: 30px;
  z-index: 1;
  position: relative;
  font-size: 16px;
}

.next-gen-form .calculation {
  font-size: 125%;
  font-weight: bold;
}

.next-gen-form .orgsys-select .select2 {
  width: 100% !important;
}

.next-gen-form .select2 .select2-selection:before {
  border: 2px solid black;
  background: white;
  height: 37px;
  z-index: -1;
  left: 3px;
  right: 0;
}

.next-gen-form .form-type-select {
  margin-top: 5px;
}

.next-gen-form .form-type-select label {
  margin-bottom: 8px;
}

.next-gen-form .form-item-heading p,
.next-gen-form .form-item-heading h1,
.next-gen-form .form-item-heading h2,
.next-gen-form .form-item-heading h3 {
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  font-size: 24px;
  line-height: 28.8px;
  margin: -4px -30px 18px;
  padding: 0 45px;
  text-align: center;
  text-transform: uppercase;
}

.next-gen-form p {
  margin-bottom: 20px;
}

.next-gen-form #edit-option-title--wrapper legend {
  display: none;
}

.next-gen-form #edit-option-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.next-gen-form #edit-option-title label {
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.next-gen-form input[type=textfield],
.next-gen-form input[type=tel],
.next-gen-form input[type=email] {
  border: 2px solid #e5e5e5;
  font-size: 16px;
  padding: 6px 10px;
  width: 100%;
}

.next-gen-form .webform-radios-other-input {
  display: block !important;
}

.next-gen-form .orgsys-radio-other + .form-item--error-message,
.next-gen-form .orgsys-radio + .form-item--error-message {
  margin-top: -8px;
  margin-bottom: 15px;
}

.next-gen-form .orgsys-radio-other:not(:last-child),
.next-gen-form .orgsys-radio:not(:last-child) {
  margin-bottom: 15px;
}

.next-gen-form .orgsys-radio-other .form-radio[value=_other_] + label,
.next-gen-form .orgsys-radio .form-radio[value=_other_] + label {
  font-size: 16px;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  font-family: Amnesty Trade Gothic, sans-serif;
  text-align: left;
  padding: 10px 0 3px 0;
  text-transform: none;
}

.next-gen-form .orgsys-radio-other .form-radio[value=_other_] + label:before,
.next-gen-form .orgsys-radio .form-radio[value=_other_] + label:before {
  background-color: unset !important;
}

.next-gen-form .orgsys-radio-other .form-radio + label,
.next-gen-form .orgsys-radio .form-radio + label {
  font-size: 18px;
  text-transform: none;
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  text-align: center;
  display: block;
  color: #000;
  font-weight: normal;
  -webkit-box-shadow: 0 2px 4px rgba(197, 197, 197, 0.4);
  box-shadow: 0 2px 4px rgba(197, 197, 197, 0.4);
  padding: 14px 80px 14px 10px;
  line-height: 1.25;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;
}

.next-gen-form .orgsys-radio-other .form-radio + label:before,
.next-gen-form .orgsys-radio .form-radio + label:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #fff !important;
  content: "";
  z-index: -1;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.next-gen-form .orgsys-radio-other .form-radio + label .orgsys-option-suffix,
.next-gen-form .orgsys-radio .form-radio + label .orgsys-option-suffix {
  font-size: 16px;
  font-family: Amnesty Trade Gothic, sans-serif;
  text-transform: none;
}

.next-gen-form .orgsys-radio-other .form-radio + label .orgsys-yearly-rate-suffix,
.next-gen-form .orgsys-radio .form-radio + label .orgsys-yearly-rate-suffix {
  font-size: 12px;
}

.next-gen-form .orgsys-radio-other .form-radio + label .amount,
.next-gen-form .orgsys-radio-other .form-radio + label .orgsys-option-choose-button,
.next-gen-form .orgsys-radio .form-radio + label .amount,
.next-gen-form .orgsys-radio .form-radio + label .orgsys-option-choose-button {
  font-size: 18px;
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
}

.next-gen-form .orgsys-radio-other .form-radio + label .orgsys-option-choose-button,
.next-gen-form .orgsys-radio .form-radio + label .orgsys-option-choose-button {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: #ff0;
  padding: 14px;
  min-width: 76px;
  -webkit-transition: min-width 0.3s, color 0.3s;
  transition: min-width 0.3s, color 0.3s;
  z-index: -1;
}

.next-gen-form .orgsys-radio-other .form-radio:checked + label .orgsys-option-choose-button,
.next-gen-form .orgsys-radio .form-radio:checked + label .orgsys-option-choose-button {
  min-width: 100%;
  color: #ff0;
}

.next-gen-form .amnesty-form-radio .form-radio {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.next-gen-form .amnesty-form-radio .form-radio + label {
  cursor: pointer;
  background: transparent;
  border: 2px solid #000;
  color: #000;
  padding: 12px 20px;
  font-size: 18px;
  line-height: 1.25;
  text-transform: uppercase;
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  min-width: 100%;
  text-align: center;
  display: block;
  -webkit-transition: background 0.3s, color 0.3s;
  transition: background 0.3s, color 0.3s;
}

.next-gen-form .amnesty-form-radio .form-radio + label:before {
  display: none;
}

.next-gen-form .amnesty-form-radio .form-radio:checked + label {
  background: #000;
  color: #fff;
}

.next-gen-form .amnesty-form-radio .form-type-radio:nth-child(2) .form-radio + label {
  height: 41px;
}

.next-gen-form .amnesty-form-radio .form-type-radio:nth-child(2) .form-radio:checked + label {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.next-gen-form .form-item-specialcode-1:nth-child(2),
.next-gen-form .js-form-item-jeg-vil-betale-med:nth-child(2) {
  color: red;
  background: #FF5B24 url("/themes/custom/amnesty/images/betal_med_vipps.svg") no-repeat center;
  background-size: contain;
  border-radius: 4px;
  height: 41px;
}

.next-gen-form .form-item-specialcode-1:nth-child(2) label,
.next-gen-form .form-item-specialcode-1:nth-child(2) input,
.next-gen-form .js-form-item-jeg-vil-betale-med:nth-child(2) label,
.next-gen-form .js-form-item-jeg-vil-betale-med:nth-child(2) input {
  border-width: 0 !important;
  font-size: 0 !important;
}

.next-gen-form .orgsys-form-loader {
  text-decoration: underline !important;
  cursor: pointer;
  text-align: center;
  display: block;
  margin: auto;
}

.next-gen-form form .form-item-heading {
  display: none;
}

.next-gen-form form:not(.valid) .webform-button--next,
.next-gen-form form:not(.valid) .form-submit:not(.webform-button--previous) {
  background-color: #c5c5c5;
  color: #7a7d81;
}

.next-gen-form .webform-button--previous {
  border: 2px solid #000;
  background-color: unset;
}

.next-gen-form .webform-flexbox {
  margin: 0 -0.5em;
  clear: both;
}

.next-gen-form .webform-required {
  display: none;
}

.next-gen-form .form-type-orgsys-hidden {
  margin-bottom: 0;
}

.next-gen-form .webform-confirmation__message h3 {
  margin: -30px -30px 20px;
  text-transform: uppercase;
  color: white;
  background: black;
  padding: 11px;
}

.webform-element-help {
  background: url("/themes/custom/amnesty/images/icons/ico-info.png") no-repeat;
  background-size: 17px;
  border-width: 0;
  cursor: pointer;
  height: 17px;
  margin: 0 -2px 0 0;
  position: relative;
  top: 2px;
  width: 17px;
}

.webform-element-help:hover,
.webform-element-help:focus,
.webform-element-help:active {
  background: url("/themes/custom/amnesty/images/icons/ico-info.png") no-repeat;
  background-color: unset;
  background-size: 17px;
  border: unset;
}

.webform-element-help span {
  display: none;
}

.next-gen-form .webform-submission-wf-varsel-form .webform-confirmation__message h3 {
  margin: 0 -30px 20px;
}

.webform-element-help--tooltip {
  background-color: #000;
  border: 0 solid #000;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  max-width: 282px !important;
  position: relative;
}

.webform-element-help--tooltip::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 100%;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #000;
}

.webform-element-help--tooltip .webform-element-help--title,
.webform-element-help--tooltip .webform-element-help--content {
  border-width: 0;
  color: white;
  font-family: Amnesty Trade Gothic BdCn20, sans-serif;
  font-size: 14px;
  line-height: 18px;
}

body .ui-tooltip {
  border-radius: 0;
  border-width: 0 !important;
}

.phone-number-suggestion {
  padding: 9px 10px;
  border: 1px solid #7A7D81;
  margin-top: 10px;
}

.phone-number-suggestion h4 {
  font-size: 16px;
  font-family: Amnesty Trade Gothic, sans-serif;
  font-weight: bold;
}

.phone-number-suggestion button {
  border: 1px solid black;
  background: transparent;
  padding: 5px;
  font-size: 16px;
  margin: 10px 10px 0 0;
}

.phone-number-suggestion button:hover {
  background: #000;
  color: #fff;
}

.webform-flex--container .phone-number-suggestion {
  width: calc(200% + 16px);
}

.phone-spinner .form-item-telefon {
  position: relative;
}

.phone-spinner .form-item-telefon::after {
  position: absolute;
  left: 100%;
  top: 29px;
  content: " ";
  width: 25px;
  height: 25px;
  background-image: url("/modules/custom/amnesty_forms/images/spinner.gif");
}

.iframe-form.next-gen-form .progress-bar {
  position: absolute;
  top: 70px;
  left: 30px;
  right: 30px;
}

.iframe-form.next-gen-form .form-item-heading {
  margin-bottom: 50px;
}

form div .button.vipps-hurtigkasse {
  background-color: transparent !important;
  background-image: url("/themes/custom/amnesty/images/../images/pay_with_vipps_rect_250_NO.svg") !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  color: rgba(0, 0, 0, 0) !important;
  height: 44px;
  width: 250px !important;
  margin-top: 15px;
  border: 0 !important;
  background-color: unset;
}

.next-gen-yellow-style .field--name-field-crm-form .form-item-velg-belop {
  width: 100%;
}

.next-gen-yellow-style .field--name-field-crm-form .form-item-velg-belop input {
  width: 100px;
}

#select2-edit-belop-valg-results li:first-child {
  display: none;
}

.node-id-14638 .amnesty-form-wrapper,
.node-id-14633 .amnesty-form-wrapper,
.node-id-14634 .amnesty-form-wrapper {
  padding-top: 10px;
  margin-bottom: 0;
}

.node-id-14638 .amnesty-form-wrapper .amnesty-form-wrapper,
.node-id-14633 .amnesty-form-wrapper .amnesty-form-wrapper,
.node-id-14634 .amnesty-form-wrapper .amnesty-form-wrapper {
  padding-top: 0;
}

@media (min-width: 768px) {
  .node-id-14638 .amnesty-form-wrapper,
  .node-id-14633 .amnesty-form-wrapper,
  .node-id-14634 .amnesty-form-wrapper {
    padding-top: 30px;
  }

  .node-id-14638 .amnesty-form-wrapper .amnesty-form-wrapper,
  .node-id-14633 .amnesty-form-wrapper .amnesty-form-wrapper,
  .node-id-14634 .amnesty-form-wrapper .amnesty-form-wrapper {
    padding-top: 0;
  }
}

.node-id-14638 .amnesty-form-wrapper .form-item-heading h3,
.node-id-14633 .amnesty-form-wrapper .form-item-heading h3,
.node-id-14634 .amnesty-form-wrapper .form-item-heading h3 {
  background: #e5e5e5;
  color: #000;
}

@media (min-width: 768px) {
  .node-id-14638 .amnesty-form-wrapper .form-item-heading h3,
  .node-id-14633 .amnesty-form-wrapper .form-item-heading h3,
  .node-id-14634 .amnesty-form-wrapper .form-item-heading h3 {
    margin-bottom: 5px;
  }
}

body.page-with-image-header.node-id-14634 .layout-main-wrapper {
  padding-top: 0;
}

.form-item-personvernerklaering {
  margin-bottom: 0 !important;
}

.form-item-personvernerklaering p {
  text-align: center;
}

.form-item-personvernerklaering p:last-child {
  margin-bottom: 0;
}