#content {
  margin-bottom: 0;
}

#headerContainer {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 100vw;
}

#menuBackdrop {
  z-index: 100;
}

#contentContainer {
  z-index: 90;
}

#logoContainer {
  z-index: 95;
}

#weatherLabel, #expressSidebarLabel {
  font-family: Bebas Neue, sans-serif;
  font-size: 24px;
  letter-spacing: 0.5px;
  margin-top: 5px;
  text-align: center;
  display: block;
}

#expressSidebarLabel {
  padding: 20px 20px 0 20px;
}

#expressSidebarLabel span {
  color: #83bf17;
  display: block;
  font-size: 32px;
}

#expressSidebarExplanation {
  display: block;
  font-size: 10px;
  text-align: center;
  margin-top: 3px;
}

#weatherLabel span {
  color: #e44848;
}

#weather > * {
  display: block;
  text-align: center;
}

.tileContentContainer {
  padding: 130px 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}

#weatherTemp img {
  vertical-align: bottom;
}

#weatherDetails {
  font-size: 10px;
  margin-top: 3px;
}

#splashTile {
  background: url(../media/background.abstractPlayer.jpg) no-repeat top center;
  background-size: cover;
}

#fitnessTile {
  background: url(../media/home.tile.fitness.jpg) no-repeat center center;
  background-size: cover;
}

#splashTile div.titleContainer {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 40px;
  bottom: 0;
}

#splashTile h2 {
  font-family: "Bebas Neue", sans-serif;
  color: white;
  font-size: 72px;
  width: 400px;
  line-height: 62px;
  margin: 0;
}

#splashTile .tileInner {
  display: flex;
}

#splashTile .tileInner > div {
  position: relative;
}

#splashTile .tileInner > div:nth-child(1) {
  flex-grow: 1;
}

#splashTile .tileContentContainer {
  padding-top: 300px;
}

#splashTile h2 span {
  color: #ffc20e;
}

#sidebar {
  width: 260px;
}

#sidebar h3 {
  font-family: "Bebas Neue", sans-serif;
  color: white;
  font-size: 20px;
  letter-spacing: 0.5px;
  padding: 10px 15px;
  background: #017fe9;
  position: relative;
}

#locationAccordion p {
  margin: 0;
}

#locationAccordion h3:after {
  display: inline-block;
  font-family: FontAwesome;
  content: "\f067";
  font-size: 16px;
  padding-left: 10px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
}

#locationAccordion h3.ui-accordion-header-active:after {
  content: "\f068";
}

#locationAccordion h3 {
  padding-left: 60px;
}

#locationAccordion h3:before {
  display: inline-block;
  font-family: FontAwesome;
  content: "\f058";
  font-size: 16px;
  padding-right: 10px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translate(0, -50%);
}

#locationAccordion h3.warning:before {
  content: "\f071";
}

#locationAccordion h3.error:before {
  content: "\f057";
}

#locationAccordion h3.error, #sidebar div.error {
  background: #e44848;
}

#locationAccordion h3.warning, #sidebar div.warning {
  background: #edac2e;
}

#weather {
  padding: 20px;
  color: white;
  font-size: 20px;
  background: #2f384f;
  text-align: right;
  position: relative;
}

#weatherIcon {
  width: 42px;
  height: 42px;
  vertical-align: bottom;
}

#locationAccordion div {
  padding: 10px 15px;
  background: #017fe9;
  color: white;
  font-size: 14px;
}

#locationAccordion div a {
  display: block;
  text-align: center;
  margin-top: 10px;
  background: #ffefe8;
  color: #e44848;
}

#locationAccordion div.warning a {
  color: #edac2e;
  background: #fff4e0;
}

#locationAccordion div a:hover {
  background: white;
}

#tileArrow {
  width: 50px;
  height: 27px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  background: url(../media/home.tile.arrow.png) no-repeat center center;
}

#coachingTile {
  background: url(../media/home.tile.coaching.jpg) no-repeat center center;
  background-size: cover;
}

#coachingTile h2, #coachingTile p {
  max-width: 400px;
}

#newsTile {
  background: url(../media/home.tile.news.jpg) no-repeat center center;
  background-size: cover;
}

#newsTile div.tileContent {
  text-align: right;
}

#contactTile {
  background: url(../media/home.tile.contact.jpg) no-repeat center center;
  background-size: cover;
}

#contactTile h2 {
  display: block;
  text-align: right;
}

#contactTile div.col2 div.container {
  padding: 40px;
  background: rgba(39, 99, 151, 0.8);
}

#contactTile div.col1 h3:nth-of-type(2) {
  margin-top: 20px;
}

#contactTile div.col1 {
  padding-right: 20px;
}

#talkContainer p {
  margin: 10px 0 0 0;
  padding-left: 42px;
  position: relative;
  min-height: 32px;
}

#talkContainer p i {
  display: block;
  background-size: contain;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  left: 0;
}

#coachingTile ul.linkMatrix li:nth-child(1) a {
  background-image: url(../media/programCategory.hotShots.jpg);
}

#coachingTile ul.linkMatrix li:nth-child(2) a {
  background-image: url(../media/programCategory.junior.jpg);
}

#coachingTile ul.linkMatrix li:nth-child(3) a {
  background-image: url(../media/programCategory.adult.jpg);
}

#coachingTile ul.linkMatrix li a {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

#talkContainer p:nth-of-type(1) i {
  background-image: url(../media/ic17/phone.png);
}

#talkContainer p:nth-of-type(2) i {
  background-image: url(../media/ic17/mail.png);
}

#locationContainer > div:after {
  background: url(../media/ic17/location.png) no-repeat center center;
  background-size: contain;
  width: 32px;
  height: 32px;
  position: absolute;
  left: 0;
  display: block;
  top: 50%;
  transform: translate(0, -50%);
  content: "";
}

#locationContainer > div {
  position: relative;
  padding-left: 42px;
}

.linkMatrix {
  margin: 80px auto 0 auto;
  height: 270px;
}

#coachingTile .linkMatrix {
  width: 650px;
  height: 330px;
}

.linkMatrix li {
  float: left;
}

.linkMatrix li a {
  width: 200px;
  height: 270px;
  display: block;
  position: relative;
  background: white;
}

.linkMatrix li a span {
  font-family: Bebas Neue, sans-serif;
  padding: 10px;
  font-size: 32px;
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  max-width: 100%;
  white-space: nowrap;
}

#coachingTile ul li:nth-of-type(2) a {
  width: 250px;
  height: 330px;
}

#coachingTile ul li:nth-of-type(1) a, #coachingTile ul li:nth-of-type(3) a {
  margin-top: 30px;
}

#newsTile ul li {
  width: 60%;
  background: rgba(39, 99, 151, 0.8);
  padding: 20px;
  margin-top: 20px;
  margin-left: auto;
  position: relative;
  box-sizing: border-box;
  padding-left: 88px;
  text-align: left;
}

#newsTile ul li h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#newsTile ul li i {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  position: absolute;
  top: 20px;
  left: 20px;
}

#newsTile ul li.event i, #newsTile ul li.date i {
  background-image: url(../media/ic17/calendar.png);
}

#newsTile ul li.competition i {
  background-image: url(../media/ic17/trophy.png);
}

#newsTile ul li.news i {
  background-image: url(../media/ic17/newspaper.png);
}

#newsTile ul li {
  white-space: nowrap;
}

#newsTile ul li div.mainContent > *:nth-last-child(1), #newsTile ul li > *:nth-last-child(1) {
  margin-bottom: 0;
}

#newsTile ul li.flexItem {
  display: flex;
  overflow: hidden;
}

#newsTile ul li.flexItem a {
  margin-top: 0;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}

#newsTile ul li.flexItem div.mainContent {
  flex-grow: 1;
  overflow: hidden;
}

#newsTile p, #contactTile p {
  margin-top: 0;
}

#talkContainer, #talkContainer p {
  margin-top: 10px;
}

#trialPromo {
  margin: 20px 0;
  height: 260px;
}

#trialPromo a {
  background: url(../media/home.activeKidsPromo.png) no-repeat center center;
  background-size: contain;
  width: 100%;
  height: 260px;
  display: block;
}

#newsTile ul li.news * {
  white-space: normal;
}

#newsTile ul li.news img {
  float: right;
  max-width: 200px;
}

#covidTile .tileContentContainer {
  max-width: 1200px;
}

#covidTile {
  background-image: url("../media/home.covid.tilebg.jpg");
  background-size: cover;
}

#covidTile h2 {
  margin: 0;
}

#covidTile .tileInner {
  padding: 20px;
}

#covidMeasuresContainer {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.covidItem {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px;
  width: 50%;
  box-sizing: border-box;
}

.covidItem img {
  width: 20vw;
  max-width: 240px;
  flex-shrink: 0;
  flex-grow: 0;
}

.covidItem div:nth-child(1) {
  padding: 0 20px;
}

.covidItem div:nth-child(2) {
  padding: 0 20px;
  display: flex;
  align-items: flex-end;
  flex-grow: 1;
  flex-shrink: 1;
}

.covidItem p {
  border-left: 4px solid white;
  border-bottom: 4px solid white;
  padding: 10px;
  margin: 0;
}

.covidItem:nth-child(1) p {
  border-color: #fcf6b3;
}

.covidItem:nth-child(2) p {
  border-color: #b6e2f7;
}

.covidItem:nth-child(3) p {
  border-color: #dceabf;
}

.covidItem:nth-child(4) p {
  border-color: #fcddda;
}

#covidMeasuresBanner {
  max-width: 860px;
  margin: 0 auto 20px auto;
  height: 500px;
  background-image: url("../media/home.covid.bg.jpg");
  background-size: cover;
  background-position: center;
}

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

.starterPromo > div {
  position: absolute;
  right: 0px;
  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;
}

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

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

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

#proPromo {
  background: black;
  margin-bottom: 20px;
}

#proPromoLogo {
  background: white;
  padding: 10px;
  display: inline-block;
}

#proPromoLogo img {
  width: 200px;
}

#proPromo a.button, #hirePromo a.button {
  display: inline-block;
  text-decoration: none;
}

#hirePromo {
  background-image: url(../media/home.courtHire.bg.jpg);
  background-size: cover;
  background-position: center center;
}

#hirePromo.starterPromo h3 {
  font-size: 42px;
  background: #8724ff;
}

#hirePromo.starterPromo p {
  font-size: 22px;
  background: black;
}

#hirePromo.starterPromo a.button {
  background: #e00;
}

#hirePromo.starterPromo a.button:hover {
  color: #e00;
  background: white;
}

#proPromo.starterPromo p {
  font-size: 22px;
}

#courtHireContent {
  text-align: center;
  box-sizing: border-box;
}

#courtHireVenueSelection {
  text-align: left;
}

#courtHireVenueSelection p {
  margin-bottom: 20px;
}

.courtHireVenueOption {
  position: relative;
  display: block;
  border: 2px solid #6ba0de;
  padding: 15px 50px 15px 15px;
  margin-top: 5px;
  background: rgba(0, 0, 0, 0.1);
  font-size: 18px;
}

.courtHireVenueOption:hover {
  border-color: white;
}

.courtHireVenueOption > i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translate(0, -50%);
}

#courtHireBooking {
  position: relative;
}

#courtHireFrame {
  border: 0;
  padding: 0;
  display: inline-block;
  height: 478px;
  width: 300px;
  max-width: 100%;
  vertical-align: top;
}

#courtHireLoading {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #017fe9;
  z-index: 1;
  font-size: 42px;
  line-height: 478px;
  text-align: center;
}

#courtHireWindowControls {
  background: rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin: -20px -20px 20px -20px;
  position: relative;
  text-align: left;
}

#courtHireBackButton {
  border: 2px solid #6ba0de;
  padding: 8px;
  display: inline-block;
  visibility: hidden;
  opacity: 0;
  font-size: 14px;
  transition: opacity 0.5s;
}

#courtHireBackButton:hover {
  border-color: white;
}

#courtHireBackButton.active {
  visibility: visible;
  opacity: 1;
}

#courtHireCancelButton {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 32px;
}

#proPromo a.button {
  margin-top: 5px;
}

/* Tablet */
@media only screen and (max-width: 1080px) {
  .covidItem {
    width: 50%;
    flex-wrap: wrap;
  }
  .covidItem > * {
    width: 100%;
  }
  .covidItem img {
    width: 100%;
    max-width: 100%;
  }
  .covidItem div {
    padding: 20px 0;
  }
  .covidItem div:nth-child(2) {
    padding: 20px 20px 0 20px;
  }
  #headerContainer {
    left: 0;
    transform: none;
    white-space: nowrap;
    width: 100vw;
    z-index: auto;
  }
  html.menuActive #headerContainer {
    left: 280px;
  }
  #splashTile h2 {
    font-size: 62px;
    line-height: 50px;
  }
}
/* Phablet */
@media only screen and (max-width: 780px) {
  #contactTile h2, #newsTile h2 {
    text-align: left;
  }
  #newsTile ul li, #newsTile ul li.flexItem {
    width: auto;
    display: block;
    padding: 20px;
  }
  #newsTile ul li a, #newsTile ul li.flexItem a {
    display: block;
    width: 100%;
    position: static;
    transform: none;
    box-sizing: border-box;
    margin-top: 20px;
  }
  #newsTile ul li i {
    position: static;
    display: block;
    width: 100%;
    background-position: center center;
    margin-bottom: 20px;
  }
  #splashTile {
    padding-top: 280px;
    background-size: auto;
  }
  #splashTile .tileInner {
    display: block;
  }
  #splashTile h2 {
    font-size: 28px;
    line-height: 32px;
    display: block;
    position: static;
    width: calc(100% - 40px);
    text-align: center;
    margin: 0 20px;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  }
  #sidebar {
    position: static;
    width: auto;
    margin-top: 20px;
  }
  .tile {
    min-height: 500px;
    height: auto;
  }
  .tileContentContainer {
    padding: 40px 20px;
  }
  .tileInner {
    position: static;
    transform: none;
  }
  #coachingTile .linkMatrix {
    height: auto;
    width: 100%;
    margin-top: 40px;
  }
  .linkMatrix li {
    float: none;
    display: block;
    margin-top: 20px;
  }
  .linkMatrix li a, #coachingTile ul li:nth-of-type(2) a {
    width: 100%;
    height: 240px;
  }
  #trialPromo a {
    display: block;
  }
  #splashTile div.titleContainer {
    position: static;
  }
  #sidebar {
    transform: none;
  }
  #splashTile .tileContentContainer {
    padding: 0 20px 80px 20px;
  }
}
/* Mobile */
@media only screen and (max-width: 580px) {
  #newsTile ul li.news img {
    margin: 0 auto;
    display: block;
    float: none;
    max-width: 100%;
  }
  .covidItem {
    width: 100%;
  }
  .covidItem img {
    max-width: 200px;
  }
}