.waapa-home #container-sub-heading {
  padding: 0;
}

.waapa-home #content-2013.simply-red {
  padding-top: 0px;
}

.waapa-home #container-body {
  font-size: 1rem;
}

.waapa-home #container-body *,
.waapa-home #container-body :after,
.waapa-home #container-body :before {
  box-sizing: border-box;
}

.waapa-home p {
  margin-bottom: 1.25rem;
}

.waapa-home h2 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 1em;
}

/* WAAPA homepage video */

.waapa-home .homeHero {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0; /* override `.waapa-home section` */
  height: 0;
  padding-top: 56.25%; /* most videos are in 16/9 aspect ratio */
  overflow: hidden; /* prevent video from overflowing on large screens */
}


.waapa-home .homeHero__video {
  height: initial;
  width: 100vw;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 1440px) {
  .waapa-home .homeHero,
  .waapa-home .homeHero--video {
    height: 800px;
    padding: 0;
  }
}

.waapa-home .homeHero__videoControls {
  position: absolute;
  bottom: 2vh;
  right: 2vw;
  z-index: 200;
  font-size: 1.6em;
}

.waapa-home .homeHero__videoControls .fa {
  color: var(--color-white);
  background: none;
  border: 0;
  opacity: 0.75;
  transition: 0.4s opacity ease-in-out;
}

.waapa-home .homeHero__videoControls .fa:hover {
  opacity: 1;
}

/* Funnelback autocomplete */

ul.ui-autocomplete {
  box-shadow: none;
  padding: 0;
  font-size: 1.2em;
  max-width: calc(100% - 4.5em);
}

ul .ui-autocomplete-category {
  background-color: var(--color-primary);
}

ul .ui-autocomplete-category h2 {
  font-weight: 400;
  font-size: 1.5em;
  padding: 10px 0px 10px 10px;
  color: var(--color-white);
  margin-bottom: 0;
}

ul.ui-autocomplete strong {
  font-weight: 700;
}

ul.ui-autocomplete li.ui-menu-item {
  color: #222;
  margin: 0;
  border: 0;
  padding: 15px 10px;
  line-height: 1.3rem;
}

ul.ui-autocomplete li.ui-menu-item.ui-state-focus {
  background-image: none;
  background-color: #dddddd;
}

.waapa-home .searchEventsWrapper {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  background-color: #eee;
  position: relative;
  padding: 4rem 0 0 0;
  z-index: 1000;
}

.waapa-home .searchEventsWrapper .courseSearch__header {
  margin-top: 0;
}

.waapa-home .courseSearch {
  margin-bottom: 3em;
}

.waapa-home .courseSearch__header {
  text-align: center;
  font-size: 2rem;
}

.waapa-home .courseSearch__subHeader {
  margin-bottom: 1em;
  text-align: center;
  font-weight: 300;
  font-size: 1.2rem;
}

.waapa-home .courseSearch__searchBox {
  position: relative;
}

.waapa-home .courseSearch__searchInput {
  border: 2px solid #c6c6c6;
  box-shadow: none;
  position: relative !important;
  color: #767676;
  font-size: 1.4rem;
  height: 55px;
  line-height: 55px;
  padding: 0px 15px;
  border-radius: 4px;
  box-sizing: border-box;
  width: 100%;
}


.waapa-home .courseSearch__searchInput:focus {
  outline: 0;
}

.waapa-home .courseSearch__searchInput:focus-visible,
.courseSearch__search:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.waapa-home .courseSearch__submit {
  width: 4rem;
  height: 100%;
  background-color: transparent;
  border: 0;
  position: absolute;
  width: 4rem;
  inset: 0;
  left: unset;
}

.waapa-home .courseSearch__submit .fa-search {
  padding-block: 14px;
  color: var(--color-primary) !important; /* override inline style */
  font-size: 1.5rem;
}

.waapa-home .courseSearch__search {
  font-size: 0;
  height: 54px;
  width: 60px;
  background-color: transparent;
  border: 0;
}

.waapa-home .courseSearch__formLabel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media screen and (min-width: 25em) {
  .waapa-home h2 {
    font-size: 1.75rem;
  }
}

@media screen and (min-width: 40em) {
  .waapa-home h2 {
    font-size: 2.25rem;
  }
}

.waapa-home h3 {
  color: var(--color-primary);
  font-family: var(--font-feature);
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 0;
}

@media screen and (min-width: 25em) {
  .waapa-home h3 {
    font-size: 1.25rem;
  }
}

.waapa-home section {
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .waapa-home section {
    margin-bottom: 3.5rem;
  }
}

@media (min-width: 1200px) {
  .waapa-home section {
    margin-bottom: 5rem;
  }
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
}

.visually-hidden a:focus-visible,
.visually-hidden button:focus-visible,
.visually-hidden input:focus-visible {
  position: static;
  width: auto;
  height: auto;
}

.alumni-carousel .carousel-inner,
.spotlight-staff,
.spotlight-video {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50vw);
}

.button-alumni, .button-alumni:focus-visible, .button-alumni:visited {
  --btn-color: var(--color-primary);
  display: inline-block;
  padding: 1em 1.5em;
  margin: 0;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid var(--btn-color);
  border-radius: 4px;
  color: var(--btn-color);
  text-decoration: none;
}

.button-alumni:hover {
  --btn-bg: var(--color-primary);
  --btn-color: var(--color-black);
  background: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-color);
  text-decoration: none
}

.button-alumni-center,.button-alumni-center:focus-visible,.button-alumni-center:visited {
  --btn-color: var(--color-primary);
  display: inline-block;
  padding: 1em 1.5em;
  margin: 0;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid var(--btn-color);
  border-radius: 4px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  color: var(--btn-color);
  text-decoration: none;
}

.button-alumni-center:hover {
  --btn-bg: var(--color-primary);
  --btn-color: var(--color-white);
  background: var(--btn-bg);
  text-decoration: none;
}

.button-alumni-reverse,.button-alumni-reverse:focus-visible,.button-alumni-reverse:visited {
  --btn-color: var(--color-white);
  display: inline-block;
  padding: 1em 1.5em;
  margin: 0;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid var(--color-white);
  border-radius: 4px;
  color: var(--btn-color);
  text-decoration: none;
}

.button-alumni-reverse:hover {
  --btn-bg: var(--color-white);
  --btn-color: var(--color-primary);
  text-decoration: none;
}

.card,.card-feature,.card-news,.card-news-feature,.card-with-icon {
  border-radius: 4px;
  box-shadow: 1px 1px 5px 0 rgba(34,34,34,.25);
  color: #333;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  text-decoration: none
}

.card-feature:focus-visible,.card-feature:hover,
.card-news-feature:focus-visible,.card-news-feature:hover,
.card-news:focus-visible,.card-news:hover,
.card-with-icon:focus-visible,.card-with-icon:hover,
.card:focus-visible,.card:hover {
  background: #fafafa;
  color: #333;
  text-decoration: none
}

.card-feature img,.card-news-feature img,.card-news img,.card-with-icon img,.card img {
  border-radius: 4px 4px 0 0;
  margin: -1.5rem 0 1rem -1.5rem;
  max-width: calc(100% + 3em)
}

.card-wrapper {
  justify-content: space-evenly;
}

.card-feature-wrapper,
.card-wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.card-feature-wrapper {
  align-items: flex-start;
}

@media (min-width: 1200px) {
  .card-feature-wrapper {
    align-items: stretch;
  }
}

.card-with-icon-wrapper {
  display: flex;
  align-items: flex-start;
  flex-flow: row wrap;
}

@media (min-width: 768px) {
  .card-with-icon-wrapper {
    width: calc(50% - 16px);
  }
}

@media (min-width: 1200px) {
  .card-with-icon-wrapper {
    width: calc(35% - 24px);
  }
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 0;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  .card {
    width: calc(50% - 12px);
  }

  .card:nth-of-type(7),
  .card:nth-of-type(8) {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .card {
    width: calc(25% - 18px);
  }

  .card:nth-of-type(5),
  .card:nth-of-type(6),
  .card:nth-of-type(7),
  .card:nth-of-type(8) {
    margin-bottom: 0;
  }
}

.card-news {
  text-align: center;
}

.card-news h3 {
  margin-bottom: 1rem;
}

.card-news p {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .card-news {
    width: calc(50% - 18px);
    text-align: left;
  }
}

.card-feature h3 {
  margin-bottom: 1rem;
}

.card-feature ul {
  margin: 0 0 20px;
}

.card-feature li {
  margin-bottom: 10px;
}

.card-feature a {
  color: var(--color-primary);
}

@media (min-width: 576px) {
  .card-feature {
    width: calc(50% - 12px);
    margin-bottom: 0;
  }
}

.card-with-icon {
  display: flex;
  flex-flow: row wrap;
  width: 100%;
}

.card-with-icon h3 {
  margin-bottom: 0;
  padding-left: 16px;
  width: 75%;
}

.card-with-icon:last-of-type {
  margin-bottom: 0;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #56c271;
  border-radius: 4px 0 0 4px;
  color: var(--color-white);
  font-size: 1.5rem;
  height: auto;
  margin: -1.5rem 0 -1.5rem -1.5rem;
  width: 25%;
}

@media (min-width: 768px) {
  .card-news-feature {
    width: 50%;
  }
}

@media (min-width: 1200px) {
  .card-news-feature {
    width: 65%;
  }
}

@media (min-width: 768px) {
  .content-wrapper {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: space-between;
  }
}

.card-image {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .card-image {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .card-image,
  .content-adjacent {
    width: calc(50% - 8px);
  }
}

@media (min-width: 992px) {
  .card-image,
  .content-adjacent {
    width: calc(50% - 12px);
  }
}

@media (min-width: 768px) {
  .reverse-md-up {
    flex-flow: row-reverse wrap;
  }
}

.carousel {
  margin: 0;
}

@media (min-width: 768px) {
  .carousel {
    max-height: 500px;
  }
}

.alumni-carousel .carousel-inner {
  margin: -20px 0;
}

@media (max-width: 991.98px) {
  .alumni-carousel .carousel-inner > .item {
    height: auto;
  }
}

@media (min-width: 768px) {
  .alumni-carousel .carousel-inner > .item {
    max-height: 500px;
  }
}

.alumni-carousel .carousel-inner img {
  width: 100%;
}

@media (max-width: 991.98px) {
  .alumni-carousel .carousel-inner > .item > a > img,
  .alumni-carousel .carousel-inner > .item > img {
    display: block;
  }
}

.carousel-direction {
  display: none;
}

.carousel-pause,
.carousel-play {
  position: relative;
  top: -1.5em;
  color: var(--color-white);
  padding-left: 10px;
  opacity: 0.7;
}

.carousel-pause:focus-visible,
.carousel-pause:hover,
.carousel-play:focus-visible,
.carousel-play:hover {
  color: #e6e6e6;
}

@media (min-width: 768px) {
  .carousel-pause,
  .carousel-play {
    font-size: 1.5rem;
  }
}

.card-image,
.featured-image {
  box-shadow: 1px 1px 5px 0 rgba(34, 34, 34, 0.25);
  border-radius: 4px;
}

.featured-image {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

h2.margin-top {
  margin-top: 1.5rem;
}

.waapa-social-list {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.waapa-social-list li {
  margin-right: 1rem;
}

.waapa-social-list li:last-of-type {
  margin-right: 0;
}

.waapa-social {
  height: 3.5rem;
  width: 3.5rem;
}

.spotlight-video {
  background: var(--color-white);
}

.spotlight-video:after {
  display: block;
  background: url() no-repeat 50%;
  background-size: cover;
  content: '';
  position: relative;
  height: 0;
  padding: 0 0 60%;
  width: 100%;
}

.spotlight-video .container {
  padding: 2em 1.5rem;
}

@media (min-width: 768px) {
  .spotlight-video {
    overflow: hidden;
  }

  .spotlight-video:after {
    position: absolute;
    left: 50%;
    top: 0;
    height: 100%;
    width: 50%;
    padding: 0;
  }

  .spotlight-video .container {
    padding: 2em 1.5rem;
  }
}

@media (min-width: 992px) {
  .spotlight-video .container {
    padding: 4em 489px 4em 1.5rem;
  }
}

@media (min-width: 1200px) {
  .spotlight-video .container {
    padding: 4em 615px 4em 1.5rem;
  }
}

.spotlight-staff {
  background: #efefef;
}

.spotlight-staff:after {
  display: block;
  background: url(https://www.waapa.ecu.edu.au/__data/assets/image/0008/826676/featured-research.jpg)
    no-repeat 50%;
  background-size: cover;
  content: '';
  position: relative;
  height: 0;
  padding: 0 0 60%;
  width: 100%;
}

.spotlight-staff .container {
  padding: 2em 1.5rem;
}

@media (min-width: 768px) {
  .spotlight-staff {
    overflow: hidden;
  }

  .spotlight-staff:after {
    position: absolute;
    right: 50%;
    top: 0;
    height: 100%;
    width: 50%;
    padding: 0;
  }

  .spotlight-staff .container {
    padding: 2em 0 2em 386px;
  }
}

@media (min-width: 992px) {
  .spotlight-staff .container {
    padding: 4em 1.5rem 4em 489px;
  }
}

@media (min-width: 1200px) {
  .spotlight-staff .container {
    padding: 4em 1.5rem 4em 615px;
  }
}

@media (min-width: 992px) {
  .alumni-video-section {
    display: flex;
    align-items: center;
    flex-flow: row wrap;
  }
}

.alumni-video-container {
  padding: 0 1.5rem;
  text-align: center;
}

@media (min-width: 992px) {
  .alumni-video-container {
    padding: 1.25rem 1.5rem 0 0;
    width: calc(50% - 12px);
    text-align: left;
  }
}

.alumni-responsive-video {
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  margin: 0;
}

@media (min-width: 992px) {
  .alumni-responsive-video {
    width: calc(50% - 12px);
    padding-bottom: 320px;
  }
}

.alumni-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.homeArticles {
  box-sizing: border-box;
  width: 70%;
  display: table-cell;
  padding-right: 1em;
  vertical-align: top;
}

.homeArticles__header {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

.homeArticles__article {
  margin-bottom: 1em;
}

.homeArticles__article:hover .homeArticles__articleContent,
.homeArticles__article:hover .homeArticles__articleImage {
  box-shadow: 3px 3px 5px 0px rgba(34, 34, 34, 0.33);
}

.homeArticles__article--large {
  display: block;
  width: 100%;
}

.homeArticles__article--small {
  display: table-cell;
  width: 33%;
  vertical-align: top;
  padding: 0 0.5em;
}

.homeArticles__article--small:nth-of-type(2) {
  padding-left: 0;
  padding-right: 1em;
}

.homeArticles__article--small:last-of-type {
  padding-right: 0;
  padding-left: 1em;
}

.homeArticles__articleLink {
  text-decoration: none;
  margin: 0;
  color: #000000;
}

.homeArticles__articleLink:hover {
  text-decoration: none;
  color: #000000;
}

.homeArticles__articleContent {
  background-color: var(--color-white);
  display: inline-block;
  padding: 1em;
  box-shadow: 1px 1px 5px 0px rgba(34, 34, 34, 0.25);
  transition: 0.4s all ease-in-out;
  border-radius: 0 0 4px 4px;
  box-sizing: border-box;
  width: 100%;
}

.homeArticles__articleContent--small {
  min-height: 128px;
  display: block;
}

.homeArticles__articleContent--small .homeArticles__articleTitle {
  font-size: 1.2em;
  line-height: 1;
}

.homeArticles__articleImage {
  transition: 0.4s all ease-in-out;
  box-shadow: 1px 1px 5px 0px rgba(34, 34, 34, 0.25);
  border-radius: 4px 4px 0 0;
  width: 100%;
  max-height: 197px;
}

@supports (display: grid) {
  .homeArticles__articleImage {
    max-height: none;
    height: auto;
  }
}

.homeArticles__articleTitle {
  line-height: 1.8rem;
}

.homeArticles__articleSummary {
  color: #565656;
}

.homeArticles__readMore--tag {
  --btn-color: var(--color-primary);
  position: relative;
  border: 2px solid var(--btn-color);
  background-color: transparent;
  background-image: none;
  border-radius: 4px;
  font-weight: 400;
  padding: 1em 1.5em;
  text-decoration: none;
  font-size: 1em;
  display: inline-block;
  margin-top: 2em;
  transition: 0.4s all ease-in-out;
  left: 50%;
  transform: translateX(-50%);
}

.homeArticles__readMore--tag:hover,
.homeArticles__readMore--tag:focus {
  --btn-bg: var(--color-primary);
  --btn-color: var(--color-black);
  border-color: var(--btn-bg);
}

.homeAside {
  box-sizing: border-box;
  width: 30%;
  display: table-cell;
  padding-left: 1em;
  vertical-align: top;
}

.whatsOn__header {
  font-size: 1.6rem;
  margin-bottom: 1em;
}

.whatsOn__event {
  min-height: 100px;
  margin-bottom: 1em;
  text-decoration: none;
}

.whatsOn__event article {
  display: flex;
}

.whatsOn__eventDateIcon {
  background-color: var(--color-primary);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  font-size: 1.5rem;
  border-radius: 4px 0 0 4px;
  box-shadow: 1px 1px 5px 0px rgba(34, 34, 34, 0.25);
  width: 100px;
  transition: 0.4s all ease-in-out;
  flex-shrink: 0;
}

.whatsOn__eventDateIcon--pines {
  background-color: #007f76;
  font-family: 'FontAwesome';
  font-weight: 300;
}

.whatsOn__eventDay {
  font-size: 1.5em;
}

.whatsOn__eventDateDetails {
  padding: 1em;
  box-shadow: 1px 1px 5px 0px rgba(34, 34, 34, 0.25);
  transition: 0.4s all ease-in-out;
  border-radius: 0 4px 4px 0;
  flex-grow: 1;
}

.whatsOn__eventTitle {
  font-size: 1rem;
  margin-bottom: 0.3em;
  margin-top: 0;
  text-transform: none;
}

.whatsOn__eventTitle a {
  text-decoration: none;
  color: #000000;
}

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

.whatsOn__eventDate {
  color: #565656;
  font-size: 0.9rem;
}

.whatsOn__eventMonth {
  display: block;
}

.whatsOn__eventVenue {
  color: #565656;
  display: block;
  font-size: 0.9rem;
}

.featureArticles {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-items: stretch;
  margin-top: -25px;
}

.featureArticles .homeArticles__article {
  display: block;
  padding: 0;
  flex-basis: calc(50% - 50px);
  margin: 25px;
}

.featureArticles .homeArticles__article .homeArticles__articleLink {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featureArticles .homeArticles__article .homeArticles__articleContent {
  flex: auto;
}

@media (max-width: 979px) {
  .homeArticles,
  .homeAside {
    display: block;
    width: 100%;
    padding-right: 0;
  }

  .homeArticles__articleContent--small {
    min-height: 130px;
  }

  .whatsOn__event {
    min-height: 150px;
    width: calc(50% - 0.75rem);
    float: left;
    display: table;
  }

  .whatsOn__event:nth-child(even) {
    margin-right: 1.5rem;
  }

  .whatsOn__event article {
    min-height: 150px;
    display: flex;
  }

  .featureArticles .homeArticles__article {
    flex-basis: calc(50% - 50px);
  }
}

@media (max-width: 768px) {
  .homeArticles__article--small {
    padding: 0;
  }

  .homeArticles__article--small:nth-of-type(2) {
    padding-right: 0.5em;
  }

  .homeArticles__article--small:last-of-type {
    padding-left: 0.5em;
  }
  .homeArticles__articleContent--small {
    min-height: 110px;
    border-radius: 4px;
  }

  .homeArticles__articleContent--small .homeArticles__articleTitle {
    margin: 0;
    font-size: 1.2rem;
  }

  .homeArticles__articleImage--small {
    display: none;
  }

  .whatsOn__event {
    min-height: 160px;
  }

  .featureArticles .homeArticles__article {
    flex-basis: 100%;
    margin: 0;
  }
  .featureArticles .homeArticles__article .homeArticles__articleImage {
    display: block;
  }

  .featureArticles {
    margin-top: 0;
  }
}

@media (max-width: 689px) {

  .whatsOn__event {
    min-height: 0;
    display: block;
    width: 100%;
  }

  .whatsOn__event:nth-child(even) {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .homeArticles__article--small {
    min-height: 0;
    box-sizing: border-box;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
  }

  .homeArticles__article--small:nth-of-type(2) {
    padding-right: 0;
  }

  .homeArticles__article--small:last-of-type {
    padding-left: 0;
  }

  .homeArticles__articleContent--small .homeArticles__articleTitle {
    font-size: 1rem;
  }

  .homeArticles__articleContent--small {
    width: 100%;
    box-sizing: border-box;
    min-height: 0;
  }

  .homeArticles__readMore--tag {
    width: 80%;
  }
}

.testimonial_items_articles {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.testimonial_items_item {
  padding: 0;
  height: 100%;
  border: 0;
  box-shadow: 1px 1px 5px 0px rgba(34, 34, 34, 0.25);
}

.testimonial_items_item img {
  border-radius: 4px 4px 0 0;
}

.testimonial_items_caption {
  padding: 1rem;
}

.testimonial_items_award {
  font-weight: normal;
}

.testimonial_items_caption h3 {
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .testimonial_items_article li {
    margin-bottom: 1rem;
  }
}
