/**
 * Prestaworks AB
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the End User License Agreement(EULA)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://license.prestaworks.se/license.html
 *
 * @author    Prestaworks AB <info@prestaworks.se>
 * @copyright Copyright Prestaworks AB (https://www.prestaworks.se/)
 * @license   http://license.prestaworks.se/license.html
 */

/**
 * Full page overlay
 */

.loading {
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-box-align: center;
     -ms-flex-align: center;
        align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
     -ms-flex-pack: center;
   justify-content: center;

  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1010;
}
  .loading:before {
    -webkit-animation: none;
            animation: none;
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    content: '';
    display: block;
    height: 96px;
    width: 96px;

    position: absolute;
    top: calc(50% - 48px);
    left: calc(50% - 48px);
    z-index: 1015;
  }
  .loading:after {
    -webkit-animation: loading 750ms linear infinite;
            animation: loading 750ms linear infinite;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: black;
    border-radius: 100%;
    content: '';
    display: block;
    height: 48px;
    width: 48px;

    position: absolute;
    top: calc(50% - 24px);
    left: calc(50% - 24px);
    z-index: 1020;
  }
  @-webkit-keyframes loading {
    0%   { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(359deg); }
  }
  @keyframes loading {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
  }

/* Custom payment page */
.kp_payment_option {
  cursor: pointer;
}

@media screen and (max-width: 370px) {
  /* Change margin-left for small devices */
  .klarna-container {
    margin-left: -3.4rem;
  }
}