body {
  background-image: url(../media/background.tennisNet.jpg);
}

#programBlockContainer {
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  width: calc(100% + 20px);
}

#programContainer {
  max-width: 1000px;
  box-sizing: border-box;
  padding: 20px;
  margin: 0 auto;
  overflow: hidden;
}

#termNotice {
  padding: 20px;
  margin: 0 auto;
  overflow: hidden;
  background: #017fe9;
}

#termNotice i {
  display: inline-block;
  font-size: 32px;
  vertical-align: middle;
}

.programBlock {
  min-width: 320px;
  max-width: 100%;
  background: rgba(22, 35, 74, 0.5);
  flex-grow: 1;
  flex-basis: 0;
  margin: 20px 20px 0 0;
  padding: 20px;
  box-sizing: border-box;
}

.programBlock ul {
  margin-top: 20px;
}

.programBlock ul li {
  margin-left: 20px;
  list-style: disc;
  margin-top: 5px;
  border: 2px solid #6ba0de;
  border-radius: 4px;
  padding: 10px;
}

.programBlock a.button {
  display: block;
  position: relative;
}

.programBlock a {
  color: #5ccbff;
}

.programBlock a:hover {
  text-decoration: underline;
}

.programBlock a.button {
  color: white;
}

.programBlock a.button:hover {
  color: #017fe9;
  text-decoration: none;
}

.programBlock a i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
}

.programBlock > a > i {
  right: 20px;
}

.enrolOptions, .trialOptions {
  padding: 10px;
}

.enrolOptions a, .trialOptions a:nth-child(1) {
  margin: 0;
}

.trialOptions {
  background: #e44848;
}

.enrolOptions {
  background: #017fe9;
}

.trialOptions a.button {
  background: #ffebe8;
  color: #e44848;
  padding-right: 30px;
}

.enrolOptions a.button {
  background: #e8f2ff;
  color: #017fe9;
  padding-right: 30px;
}

.trialOptions a.button:hover, .enrolOptions a.button:hover {
  background: white;
}

.voucherPromo {
  background: #e8f2ff;
  padding: 10px;
  margin-top: 10px;
  color: #017fe9;
}

.voucherPromo h4 {
  font-family: Bebas Neue;
  margin-top: 0;
  font-size: 24px;
  color: #017fe9;
}

.voucherPromo p {
  color: #017fe9;
}

a.button.enrolButton.active:hover {
  background: #017fe9;
  color: white;
}

a.button.trialButton.active:hover {
  background: #e44848;
  color: white;
}

.programImage {
  position: relative;
  height: 200px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin: -20px -20px 20px -20px;
}

.programImage h3 {
  padding: 10px;
  font-size: 32px;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  box-sizing: border-box;
  max-width: 100%;
  white-space: nowrap;
  margin: 0;
  letter-spacing: 0.5px;
}

#hotShotsBanner {
  background: #1c9ad6;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}

#hotShotsBanner img {
  width: 30%;
}

.starterPromo {
  background-color: white;
  background-repeat: no-repeat;
  background-position: left center;
  height: 200px;
  text-align: right;
  color: #333;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 20px;
  position: relative;
}

.starterPromo > div {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translate(0, -50%);
  width: 100%;
}

.starterPromo div > * {
  color: white;
}

.starterPromo span {
  color: #00deff;
}

.starterPromo p {
  font-size: 12px;
  color: white-space;
  display: inline-block;
  padding: 5px;
  background: #029bdf;
  text-align: right;
  margin-top: 0;
}

.starterPromo a {
  text-decoration: underline;
}

.starterPromo h3 {
  font-size: 42px;
  display: inline-block;
  padding: 5px;
  background: #ed2b82;
}

.starterPromo h4 {
  margin-top: 0;
  display: inline-block;
  padding: 5px;
  background: #029bdf;
}

.starterPromo span.important {
  font-weight: bold;
  color: white;
  display: inline-block;
  padding: 5px;
  background: #ed2b82;
}

#proPromo {
  background-image: url(../media/programs.freeRacquetPromo.jpg);
  background-size: cover;
}

.enrolOptions a.button, .trialOptions a.button {
  margin-top: 10px;
}

.enrolOptions a.button:nth-child(1), .trialOptions a.button:nth-child(1) {
  margin-top: 0;
}

#termNotice {
  margin-bottom: 20px;
}

.programCovidWarning {
  background: #5818b7;
  padding: 20px;
  margin-top: 20px;
}

.programCovidWarning a {
  color: white;
  text-decoration: underline;
}

.programBlock.programSuspended a.trialButton,
.programBlock.programSuspended a.enrolButton,
.programBlock.programSuspended a.enquireButton,
.programBlock.programSuspended a.enrolOptionButton,
.programBlock.programSuspended .enrolOptions {
  background: #aaa !important;
  color: #888 !important;
  pointer-events: none !important;
}

.programBlock.programSuspended a.enrolOptionButton {
  background: #ccc !important;
  color: #aaa !important;
}

/* Phablet */
@media only screen and (max-width: 780px) {
  #hotShotsBanner img {
    width: 50%;
  }
  #programBlockContainer {
    display: block;
    width: 100%;
  }
  .programBlock {
    width: 100%;
    min-width: auto;
  }
  .starterPromo {
    padding-top: 200px;
    background-position: top center;
    height: auto;
    padding-bottom: 20px;
  }
  .starterPromo > div {
    position: static;
    transform: none;
  }
}
/* Mobile */
@media only screen and (max-width: 580px) {
  #programContainer {
    padding: 0;
  }
  #programContainer > h3 {
    padding: 0 20px;
  }
  #hotShotsBanner img {
    width: 100%;
  }
}