/*
 * Base element styles
 */

body {
  line-height: 1.5;
}

h3 {
  margin-left: 0;
}

p {
  margin-left: 0;
}

/*
 * Box patterns
 */

.p-box {
  padding: 20px 20px 10px;
  margin-bottom: 50px;
  box-sizing: border-box;
}

/*
 * List pattern
 */

.p-list {
  list-style: disc;
  margin-left: 15px;
}

/*
 * Buttons pattern
 */

.p-button--full {
  margin: 0 10px 50px;
  /* substract both margins which would offset off the container */
  width: calc(100% - 20px);
  max-width: 1280px;
}

/*
 * Payment patterns
 */

.p-payment__title {
  margin-bottom: 40px;
}

.p-payment__use {
  margin: 0 0 40px -10px;
}

.p-payment__use-label {
  padding-right: 60px;
  margin-left: 60px;
}

.p-payment__use-label:first-of-type {
  margin-left: 10px;
  border-right: 1px solid #cdcdcd;
}

.p-payment__terms {
  margin-left: 10px;
  margin-bottom: 20px;
}

.p-payment__notification {
  border-radius: 4px;
  border: 1px solid #19B6EE;
  background: url(https://assets.ubuntu.com/v1/2db6a4f6-info.svg) no-repeat;
  background-position: top 16px left 10px;
  padding: 12px 36px;
}

.p-payment__error {
  border-radius: 4px;
  border: 1px solid #c7162b;
  background: url(https://assets.ubuntu.com/v1/d730daea-error.svg) no-repeat;
  background-position: top 16px left 10px;
  padding: 12px 36px;
}

.p-payment__button {
  float: right;
  margin: 0 0 10px;
}

.p-payment__details-error {
  margin-bottom: 15px;
}

.p-payment__details-error span{
  font-weight: 600;
}

/*
 * Utility
 */

.u-clearfix {
  clear: both;
}

.is-disabled {
  pointer-events: none; /* stops all click events */
  opacity: 0.5;
}
