/**
 * Order Confirmation Page
 */
.orderConfirmation .contentWrap {
  padding: 0 1em;
}
.orderConfirmation .contentWrap .container {
  padding: 0;
}
.orderConfirmation .heading .container {
  -ms-flex-align: center;
      align-items: center;
  padding: 2em 0 0;
}
.orderConfirmation .heading .container .date {
  font-size: 1.1em;
}
.orderConfirmation .topMessage .container,
.orderConfirmation .bottomMessage .container {
  border-top: 1px solid var(--opacity20, rgba(0, 0, 0, 0.2));
  border-bottom: 1px solid var(--opacity20, rgba(0, 0, 0, 0.2));
  padding: 1em 0;
  margin: 2em auto;
}
.orderConfirmation .topMessage .container:empty,
.orderConfirmation .bottomMessage .container:empty {
  display: none;
}
.orderConfirmation .print {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
  padding: 0.5em 0;
}
.orderConfirmation .print #print {
  border: 1px solid var(--primaryDark);
  color: var(--primaryDark);
  font-size: 1em;
  padding: 0.2em 1.5em;
  transition: all 0.3s ease;
}
.orderConfirmation .print #print:before {
  content: "\f02f";
  font-family: fontAwesome;
  margin-right: 0.5em;
}
.orderConfirmation .print #print:hover {
  background: var(--primary, #222);
  color: white;
}
.orderConfirmation .cartItemsWrap .container {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-direction: column;
      flex-direction: column;
}
.orderConfirmation .cartItemsWrap .container .viewCartItems {
  width: 100%;
  margin: 0;
}
.orderConfirmation .viewCartItems .totals {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: end;
      justify-content: flex-end;
  -ms-flex-direction: column;
      flex-direction: column;
  -ms-flex-align: end;
      align-items: flex-end;
  margin: 0 0 1em;
  width: 100%;
  background: var(--opacity05, rgba(0, 0, 0, 0.5));
  border-top: 1px solid var(--opacity20, rgba(0, 0, 0, 0.2));
  color: var(--fontColor);
  padding: 0.5em 1em 1em;
  font-size: 1.2em;
}
.orderConfirmation .viewCartItems .totals div {
  padding: 0.2em 0;
}
.orderConfirmation .viewCartItems .totals div span {
  font-weight: bold;
}
.orderConfirmation .customerDetails {
  padding: 1em 0;
  margin: 1em auto;
}
.orderConfirmation .customerDetails .container span {
  font-size: 0.9em;
  font-weight: bold;
}
.orderConfirmation .customerDetails .container .shippingDetails {
  width: 33%;
}
.orderConfirmation .customerDetails .container .billingDetails {
  width: 33%;
}
.orderConfirmation .customerDetails .container .createAccountWrap {
  width: 33%;
  background: white;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-direction: column;
      flex-direction: column;
  padding: 1em;
}
.orderConfirmation .customerDetails .container .createAccountWrap .creatAccountMessage {
  margin-bottom: 1em;
}
.orderConfirmation .loyaltyDiscount .container {
  background: white;
  padding: 1em;
}
.orderConfirmation .loyaltyDiscount .container .loyaltyMessage {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  text-align: center;
  width: 70%;
  text-align: center;
  padding: 0 0.5em;
}
.orderConfirmation .loyaltyDiscount .container .loyaltyDiscountCode {
  text-align: center;
  font-size: 1.3em;
  padding: 1em;
  color: white;
  background: var(--primary, #111);
  margin: 1em auto;
  width: 30%;
}
.orderConfirmation .relatedItems .container {
  padding: 2em 0;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.orderConfirmation .relatedItems .container .relatedHeading {
  width: 100%;
}

@media all and (max-width: 700px) {
  .orderConfirmation .siteBottom .container {
    -ms-flex-direction: column;
        flex-direction: column;
  }
  .orderConfirmation .siteBottom .container h1 {
    text-align: center;
  }
  .orderConfirmation .siteBottom .container .viewCartRow:before {
    height: 35px;
  }
  .orderConfirmation .customerDetails .container .shippingDetails,
.orderConfirmation .customerDetails .container .billingDetails,
.orderConfirmation .customerDetails .container .createAccountWrap {
    width: 100%;
    padding: 1em 0;
  }
  .orderConfirmation .loyaltyDiscount .container .loyaltyMessage,
.orderConfirmation .loyaltyDiscount .container .loyaltyDiscountCode {
    width: 100%;
  }
}
/* 
* Paypal confirmation popup, show when being redirected to order confirmation page
*/
.paypal-active {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-align: center;
      align-items: center;
}
.paypal-active .paypal-auth-wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-line-pack: center;
      align-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background: white;
  width: 100%;
  max-width: 400px;
  padding: 2em;
  border-radius: 0.5em;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.8);
}
.paypal-active .paypal-auth-wrap .title {
  font-size: 2em;
  font-weight: 700;
  font-family: var(--headingFont);
  display: block;
  width: 100%;
  text-align: center;
  color: var(--headingColor);
}
.paypal-active .paypal-auth-wrap span {
  margin: 1em auto 0;
  color: var(--fontColor);
}
.paypal-active .paypal-auth-wrap .loading {
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  margin-bottom: 1em;
}
.paypal-active .paypal-auth-wrap .loading div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 54px;
  height: 54px;
  margin: 6px;
  border: 6px solid #2790c3;
  border-radius: 50%;
  animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #2790c3 transparent transparent transparent;
}
.paypal-active .paypal-auth-wrap .loading div:nth-child(1) {
  animation-delay: -0.45s;
}
.paypal-active .paypal-auth-wrap .loading div:nth-child(2) {
  animation-delay: -0.3s;
}
.paypal-active .paypal-auth-wrap .loading div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
