.page-checkout {
  margin-top: 100px;
  padding-top: 60px;
  padding-bottom: 70px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .page-checkout {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.page-checkout h1 {
  text-align: center;
}

.page-checkout h2 {
  margin-bottom: 45px;
}

.page-checkout .boxWithHeader {
  margin: 55px auto 0;
  box-sizing: border-box;
  max-width: 740px;
}

.page-checkout .boxWithHeader.note {
  margin-bottom: 30px;
}

.checkout-form {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.checkout-form .lines {
  width: 100%;
}

.checkout-form .line {
  margin-bottom: 15px;
  border: 1px solid #273e39;
  background: #fafafa;
  width: 100%;
}

.checkout-form .line-half {
  width: calc(50% - 10px);
}

.checkout-form input {
  background: transparent;
}

.checkout-form input[type='email'],
.checkout-form input[type='text'],
.checkout-form input[type='tel'],
.checkout-form input[type='password'],
.checkout-form textarea {
  width: 75%;
  padding: 12px 20px;
  margin: 0;
}

.checkout-form textarea {
  width: 100% !important;
  border-radius: 0;
  background: #fafafa;
  font-family: 'Proxima Nova Alt', sans-serif;
}

.checkout-form input::placeholder {
  color: #273e39;
  opacity: 0.8;
}

.checkout-form .country-province-label {
  display: block;
}

.checkout-form .country-province {
  display: flex;
  max-width: initial;
  width: 100%;
  margin-top: 10px;
  justify-content: space-between;
}

.checkout-form .country-province > div {
  position: relative;
  width: calc(50% - 10px);
}

.checkout-form .country-province select {
  margin: 0;
  width: 100%;
  border-radius: 0;
  border: 1px solid #273e39;
  font-size: 14px;
  padding: 12px 15px;
  background: #fafafa;
  appearance: none;
  cursor: pointer;
}

.checkout-form .country-province > div::after {
  border-bottom: 2px solid #273e39;
  border-right: 2px solid #273e39;
  width: 8px;
  height: 8px;
  right: 20px;
  position: absolute;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  cursor: pointer;
  content: '';
  pointer-events: none;
}

.checkout-form .checkout-form-radio {
  width: calc(50% - 10px);
  display: flex;
  align-items: center;
}

.checkout-form #divShippingAddress,
#divCreateAccountInner {
  margin-top: 20px;
}

.checkout-new-account {
  display: flex;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
}

.checkout-new-account label {
  margin-left: 5px;
}

#cmdComplete {
  width: 100%;
  max-width: 350px;
  margin-top: -15px;
}

.page-caisse .account-management {
  margin: 20px auto;
}

.page-caisse .account-management .login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-caisse .account-management .login-container button {
  margin-bottom: 10px;
}

.page-caisse .account-management .line {
  margin-top: 10px;
}

.page-caisse #password-already-account {
  margin-right: 0;
  width: 100%;
}

#rowPayment {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#rowPayment > .col {
  margin-top: 20px;
  text-align: center;
  max-width: 350px;
  width: 100%;
}

/* 

Payment Method page

*/

.page-payment-method select {
  appearance: auto;
  padding: 5px 10px;
  background: #fafafa;
}

.page-payment-method .line {
  padding: 0 10px;
  box-sizing: border-box;
}

.page-payment-method .checkout-form > * {
  width: 100%;
}

.page-payment-method .line {
  display: flex;
  align-items: center;
}

.page-payment-method .line > * {
  flex: 1;
}

@media (max-width: 575px) {
  .page-payment-method .line > *:first-of-type {
    flex: inherit;
  }
}

.page-payment-method #txtGiftCard,
.page-payment-method #lstExpirationYear,
.page-payment-method #lstExpirationMonth {
  width: 100%;
}

@media (max-width: 575px) {
  .page-payment-method #txtGiftCard,
  .page-payment-method #lstExpirationYear,
  .page-payment-method #lstExpirationMonth {
    width: calc(50% - 2px);
  }
}

@media (max-width: 500px) {
  .page-payment-method #lstExpirationYear,
  .page-payment-method #lstExpirationMonth {
    width: 155px;
  }

  .page-payment-method #txtGiftCard {
    width: 70px;
    padding: 10px;
  }
}

.page-payment-method #divGiftCard .link {
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  border-radius: 0;
  width: auto;
  text-decoration: none;
  font-weight: 700;
  text-decoration: underline;
  font-size: 14px;
  text-transform: capitalize;
  margin-left: 0;
  border: none;
  padding: 0;
}

@media (max-width: 500px) {
  .page-payment-method input[type='submit'] {
    min-width: 55px;
  }
}

.page-payment-method header {
  text-align: center;
}

.page-payment-method header .header-title {
  margin-bottom: 20px;
}

.page-payment-method .boxWithHeader h2 {
  text-align: center;
}

.page-payment-method .payment-footer {
  text-align: center;
}

.page-payment-method .no-decoration {
  border: none;
  padding: 0;
  background: none;
}

.popover {
  background: white;
  padding: 10px;
  border: 1px solid #273e39;
  text-align: center;
}

.popover-body {
  padding: 0 !important;
}
