.basket {
  margin: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.basket > p.section-heading {
  border-top: 1px solid black;
  padding-top: 1rem;
  flex-basis: 100%;
}
.error-banner {
  flex-basis: 100%;
  font-size: 110%;
  color: red;
  border-left: 4px solid red;
  padding-left: 1em;
}
.basket-course {
  flex-basis: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 20px;
}
.basket-course .image {
  object-fit: cover;
}
.basket-course .course-category{
  color: #474f5f;
  margin: 1em 0;
}
.basket-course h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 5px;
  min-height: 80px;
}
.basket-course .item-price {
  font-size: 150%;
  margin-bottom: 20px;
}
.basket-course .plus-vat {
  font-size: 50%;
  text-transform: uppercase;
  margin-left: 0.5ex;
}
.basket-item-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.qty-controls {
  display: flex;
  gap: 0.5em;
  align-items: center;
  flex-basis: 50%;
}
.line-controls {
  margin-left: auto;
  text-transform: uppercase;
  font-size: 80%;
  flex-basis: 45%;
  display: flex;
  flex-direction: row;
  gap: 0.3em;
  justify-content: end;
  align-items: center;
  margin-right: 1em;
}
.line-controls span.btn {
  background: #474f5f;
  rotate: 45deg;
}
.qty-controls span,
.qty-controls span:hover,
.qty-controls span:focus {
  background: #ccc;
  cursor: not-allowed;
}
.qty-controls span.clickable {
  background: #95b3cd;
  cursor: pointer;
}
.qty-controls span.clickable:hover,
.qty-controls span.clickable:focus {
  background: #121a3d;
  cursor: pointer;
}
.qty-controls span,
.line-controls span.btn {
  border-radius: 50%;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 22px;
  color: white;
}
.qty-controls input {
  width: 2em;
}
.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-controls input[type=number] {
  -moz-appearance: textfield;
}
.basket-pathway h3 {
  font-size: 100%;
  color: #868d9d;
  margin-top: 1.5em;
}
.basket-pathway h4 {
  font-size: 100%;
}
.basket-pathway select,
.basket-pathway .select2 {
  margin-bottom: 1em;
}
.basket-pathway .select2-selection {
  padding: 10px;
  border: 1px solid #474f5f;
}
.basket-pathway .select2 .select2-selection__arrow::before{
  right: 1em;
}
.basket-pathway .select2-container--default .select2-selection--single .select2-selection__arrow {
  color: white;
  background: #888;
  width: 3em;
  height: 2.99em;
}
.basket-pathway .select2-container--default.select2-container--open .select2-selection__arrow {
  background: #16244d;
}
.basket-pathway .error {
  position: relative;
  top: -1em;
}
.basket-discounts {
  display: flex;
  gap: 2em;
  align-items: end;
  flex-wrap: wrap;
}
.basket-discounts button {
  background: black;
  color: white;
}
.basket-discounts li {
  list-style-type: none;
}
.basket-discounts input {
  background: transparent;
  font-size: 120%;
  border: 0;
  padding: 4px 0;
  border-bottom: 1px solid black;
}
.basket-discounts input::placeholder {
  color: black;
  opacity: 1;
}
.basket-discounts input::-ms-input-placeholder {
  color: black;
}
.discount-list {
  flex-basis: 100%;
}
.discount-list .discount {
  display: flex;
  margin-right: 30%;
  margin-bottom: 0.6em;
}
.basket-totals {
  flex-basis: 100%;
}
.basket-totals .label {
  float: left;
}
.basket-totals .total {
  margin-left: 35%;
}
.basket-totals .amount {
  text-align: right;
  display: inline-block;
  width: 250px;
}
.disabled-btn, .disabled-btn:hover, .disabled-btn:focus {
  background: #ccc;
  color: white;
  cursor: not-allowed;
}
.humm-btn {
  background: #f75300;
  color: white;
  margin-left: 1em;
}
.basket-course .error.only-desktop {
  flex-basis: 100%;
}
.basket-course > .error {
  text-align: center;
}
.basket .basket-empty {
  margin-bottom: 40vh;
}
.error {
  font-size: 75%;
  color: red;
}
.bgerror {
  background: red !important;
}
.basket-item-places {
  flex-basis: 30%;
  margin: 1em 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.course-place + .course-place {
  border-top: 1px solid grey;
}
.course-place {
  padding-bottom: 0.3em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-top: 0.4em;
}
.course-place .place i {
  margin-right: 0.5em;
}
.no-discount {
  color: #868d9d;
}
.discount, .course-place {
  color: #01596f;
}
.course-image {
  object-fit: cover;
  height: 15vw;
}
.basket > p.section-heading.no-separator {
  border-top: 0;
}
@media only screen and (min-width:550px) and (max-width:991px){
  .basket-course .only-mobile.view-btn {
    display: block;
    visibility: hidden;
  }
  .course-panel {
    flex: 1;
  }
  .course-image,
  .basket-course .view-btn {
    width: 40%;
  }
  .basket-course div.error,
  .basket-item-places {
    padding-left: 47%;
  }
  .basket-pathway div.error,
  .basket-pathway .basket-item-places {
    padding-left: 0;
  }
}
@media only screen and (max-width:991px){
  .basket-course .view-btn {
    display: none;
  }
  .basket-course {
    flex-basis: 100%;
    flex-flow: row wrap;
    gap: 1em;
    column-gap: 3em;
  }
  .course-image {
    height: auto;
    margin-bottom: -80px;
  }
  .basket-pathway .item-price {
    position:relative;
    height:0;
    top:40px;
  }
  .pathway-course-dates {
    width: 100%;
  }
  .course-panel {
    display: flex;
    flex-direction: column;
  }
  .basket-course .course-category {
    margin-top: 0;
  }
  .basket-item-buttons {
    flex-grow: 1;
    flex-wrap: nowrap;
  }
  .line-controls {
    flex-basis: 0;
  }
  .basket-item-places {
    flex-basis: 100%;
  }
  .basket-course > .error {
    flex-basis: 100%;
  }
  .basket-discounts {
    flex-basis: 100%;
  }
  .basket-discounts li {
    flex: 2;
  }
  .basket-discounts button {
    flex: 1;
  }
  .basket-discounts input {
    width: 100%;
  }
  .basket-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
  }
  .basket-totals .label {
    flex-basis: 50%;
  }
  .basket-totals .total {
    margin-left: auto;
  }
  .basket-totals .amount {
    display: inline;
  }
  .basket-actions {
    flex: 1;
  }
  .humm-btn {
    margin-top: 20px;
    margin-left: 0;
  }
}
