/*
 |--------------------------------------------------------------------------
 | Helper mixins, feel free to add/remove any that you might not use
 | Won't be rendered in the output if not used
 |--------------------------------------------------------------------------
 */
fieldset.card {
  border: none !important; }
  fieldset.card legend {
    font-size: 1rem; }

.form-check {
  margin-bottom: 1rem; }
  .form-radios .form-check,
  .form-checkboxes .form-check {
    margin-bottom: 0; }

.checkout-pane .form-group {
  display: flex;
  justify-content: space-between; }
  @media (max-width: 768px) {
    .checkout-pane .form-group {
      display: block; } }
  .checkout-pane .form-group label {
    font-size: 1.25rem;
    font-weight: 300; }
    @media (max-width: 768px) {
      .checkout-pane .form-group label {
        font-size: 1rem; } }
    .checkout-pane .form-group label.form-required:after {
      content: '*';
      font-weight: 300;
      font-size: 1rem; }
  .checkout-pane .form-group input {
    max-width: 70%; }
    @media (max-width: 768px) {
      .checkout-pane .form-group input {
        max-width: unset; } }

.checkout-pane .address-container-inline > div.form-item {
  margin-right: 0 !important; }

.checkout-pane.checkout-pane-shipping-information > div.card-header {
  display: none; }

.checkout-pane.checkout-pane-payment-information > div.card-header {
  display: none; }

.checkout-pane #edit-payment-information-payment-method--wrapper > div.card-header {
  display: none; }

.checkout-pane #edit-payment-information-add-payment-method {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; }
  .checkout-pane #edit-payment-information-add-payment-method > div {
    width: 48%; }
    .checkout-pane #edit-payment-information-add-payment-method > div #edit-payment-information-add-payment-method-billing-information-copy-fields {
      display: flex;
      flex-direction: column-reverse; }
    .checkout-pane #edit-payment-information-add-payment-method > div #edit-payment-information-add-payment-method-payment-details-expiration {
      align-items: center;
      justify-content: flex-end;
      margin-bottom: 1rem; }
      .checkout-pane #edit-payment-information-add-payment-method > div #edit-payment-information-add-payment-method-payment-details-expiration .credit-card-form__divider {
        margin: 0 1rem; }
      .checkout-pane #edit-payment-information-add-payment-method > div #edit-payment-information-add-payment-method-payment-details-expiration .js-form-type-select label {
        margin-right: 0.8rem; }
    .checkout-pane #edit-payment-information-add-payment-method > div .form-check {
      padding-left: 0;
      margin-left: auto;
      margin-top: 1rem; }

.checkout-pane-review {
  display: flex;
  justify-content: space-between; }
  .checkout-pane-review > fieldset {
    flex: 1;
    font-size: 1.25rem; }
  .checkout-pane-review .card-header {
    font-weight: 300;
    border: none;
    padding-left: 0; }
    .checkout-pane-review .card-header span {
      font-size: 1.5rem; }

.commerce-checkout-flow .card-header {
  background-color: transparent;
  margin-bottom: 1rem; }
  @media (max-width: 768px) {
    .commerce-checkout-flow .card-header {
      margin-bottom: .5rem; } }

.commerce-checkout-flow .card-body {
  padding: 0; }

.commerce-checkout-flow .form-actions {
  display: flex;
  flex-direction: row-reverse; }
  .commerce-checkout-flow .form-actions .link--previous {
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 300;
    background-color: #fff;
    border: 1px solid #fff;
    padding: 0.3rem 0.5rem;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; }
    .commerce-checkout-flow .form-actions .link--previous:hover {
      border-color: #e6e6e6;
      background-color: #e6e6e6; }
  .commerce-checkout-flow .form-actions #edit-actions-next {
    margin-left: auto;
    background-image: url("/themes/custom/opsvik/assets/icons/arrow.svg");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: 98.5%;
    padding-right: 1.4rem; }

.commerce-checkout-flow input.btn {
  font-size: 1.25rem;
  font-weight: 300; }

#edit-coupon-redemption {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
  margin-bottom: 3rem; }
  #edit-coupon-redemption div[aria-label="Error message"] {
    width: 100%; }
    #edit-coupon-redemption div[aria-label="Error message"] > div {
      max-width: 440px; }
  #edit-coupon-redemption input.form-submit {
    position: absolute;
    left: 165px;
    bottom: 2px;
    background-color: #848484;
    border-color: #848484;
    border-width: 2px;
    color: #fff !important;
    padding: 0.2rem 0.5rem; }
    @media (max-width: 768px) {
      #edit-coupon-redemption input.form-submit {
        left: unset;
        right: 0; } }
    #edit-coupon-redemption input.form-submit:hover {
      background-color: #919191; }
  #edit-coupon-redemption .form-item-coupon-redemption-code {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    margin: 0; }
    @media (max-width: 768px) {
      #edit-coupon-redemption .form-item-coupon-redemption-code {
        flex-direction: column;
        align-items: flex-start; } }
    #edit-coupon-redemption .form-item-coupon-redemption-code label {
      margin-bottom: 0;
      font-size: 1.25rem;
      font-weight: 300;
      margin-left: 1rem; }
      @media (max-width: 768px) {
        #edit-coupon-redemption .form-item-coupon-redemption-code label {
          margin-left: 0;
          margin-bottom: 1rem; } }
    #edit-coupon-redemption .form-item-coupon-redemption-code input {
      max-width: 301px; }
      @media (max-width: 768px) {
        #edit-coupon-redemption .form-item-coupon-redemption-code input {
          max-width: 100%; } }

#edit-shipping-information-shipping-profile {
  border-bottom: solid 1px #dee2e6;
  padding-bottom: 4rem;
  margin-bottom: 3rem; }
  @media (max-width: 768px) {
    #edit-shipping-information-shipping-profile {
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem; } }
  #edit-shipping-information-shipping-profile .visually-hidden {
    display: block !important;
    position: relative !important;
    width: auto !important;
    height: auto !important; }
  #edit-shipping-information-shipping-profile .form-check {
    padding-left: 0; }
    @media (min-width: 768px) {
      #edit-shipping-information-shipping-profile .form-check {
        margin-left: 14.5%; } }
  #edit-shipping-information-shipping-profile .form-check-label {
    text-transform: uppercase; }

input[data-drupal-selector="edit-shipping-information-recalculate-shipping"] {
  margin-bottom: 2rem; }

.field--name-shipping-method label {
  cursor: pointer;
  display: inline-block;
  font-size: 1.125rem;
  font-weight: 300;
  background-image: url("/themes/custom/opsvik/assets/icons/point.svg");
  background-size: 2.8125rem;
  background-repeat: no-repeat;
  transition: all 0.2s ease-in-out;
  filter: brightness(1.8) grayscale(1) opacity(0.7);
  padding-left: 4rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-position: left center; }

.field--name-shipping-method .form-radios > div {
  margin-bottom: .5rem;
  padding: 0; }

.field--name-shipping-method .form-radios input {
  padding: 0;
  margin: 0;
  appearance: none; }

.field--name-shipping-method .form-radios input:active + label {
  opacity: .9; }

.field--name-shipping-method .form-radios input:checked + label {
  filter: none; }

.field--name-shipping-method .form-radios label:hover {
  filter: brightness(1.2) grayscale(0.5) opacity(0.9); }

.field--name-shipping-method .view-site-settings .field--name-field-address {
  max-width: 160px; }

.shipping--custom-form .form-group {
  flex-basis: 48%;
  margin-bottom: 2rem; }
  @media (max-width: 768px) {
    .shipping--custom-form .form-group {
      flex-basis: 100%;
      margin-bottom: .5rem; } }

#commerce-checkout-flow-opsvik-checkout-flow {
  margin-bottom: 3rem; }

#edit-payment-information > div.card-header {
  padding: 0;
  border: none;
  display: block; }
  #edit-payment-information > div.card-header .fieldset-legend {
    font-size: 1.5rem; }

#edit-payment-information .card-body {
  display: flex; }
  @media (max-width: 768px) {
    #edit-payment-information .card-body {
      flex-direction: column; } }
  #edit-payment-information .card-body > fieldset {
    flex-basis: 50%; }
  #edit-payment-information .card-body #edit-payment-information-add-payment-method {
    flex-basis: 50%;
    flex-direction: column; }
    #edit-payment-information .card-body #edit-payment-information-add-payment-method > div {
      width: 100%; }
      #edit-payment-information .card-body #edit-payment-information-add-payment-method > div .credit-card-form__expiration {
        justify-content: flex-end;
        align-items: center;
        margin-bottom: 1rem; }
        #edit-payment-information .card-body #edit-payment-information-add-payment-method > div .credit-card-form__expiration label {
          margin-bottom: 0;
          margin-right: 1rem; }
      #edit-payment-information .card-body #edit-payment-information-add-payment-method > div .credit-card-form__divider {
        margin: 0 0.5em 0 0.5em; }
  #edit-payment-information .card-body .card-header {
    display: none; }

#edit-payment-information .form-radios .form-check {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding: 0; }

#edit-payment-information [type="radio"]:checked,
#edit-payment-information [type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px; }

#edit-payment-information [type="radio"]:checked + label,
#edit-payment-information [type="radio"]:not(:checked) + label {
  position: relative;
  padding-left: 28px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block; }

#edit-payment-information [type="radio"]:checked + label:before,
#edit-payment-information [type="radio"]:not(:checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #848484;
  border-radius: 100%;
  background: #fff; }

#edit-payment-information [type="radio"]:checked + label:after,
#edit-payment-information [type="radio"]:not(:checked) + label:after {
  content: '';
  width: 12px;
  height: 12px;
  background: #5d5d5d;
  position: absolute;
  top: 3.1px;
  left: 3px;
  border-radius: 100%;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease; }

#edit-payment-information [type="radio"]:not(:checked) + label:after {
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0); }

#edit-payment-information [type="radio"]:checked + label:after {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1); }

