/*
* 2016 WAAPA Bootstrap - WAAPA CSS
* Helen Liu [ECU]
* October 2016
* 
* Modification history:
* 
* 2016-xx-xx  Name
*             Modification
* 2017-05-01  Krishanka
*             Megamenu li a, li a:hover styles
* 2017-05-10  Krishanka
*             WAAPA Button style for performances
* 2017-05-12  Krishanka
*             news padding issues on mobile 
* 2017-11-23  Aaron Chapman
*             Added style for supporting WAAPA image 
* 2018-02-28  Krishanka Gunasekera
*             Added style to incorporate new logo. 
*/

/* --------------------------------------------------------------------------------------------- 
HEADER
--------------------------------------------------------------------------------------------- */

/* WAAPA logo is wider, so hide site-tools under screen is wider */
@media(max-width: 1200px) {

  #site-tool-links {
    display: none;
  }
}

/* WAAPA logo */

ul.ecu-logo a {
  --logo-width: var(--logo-width-waapa);
  background-image: url('https://www.ecu.edu.au/__data/assets/image/0016/1100392/waapa-logo.png/_nocache');
}

/* Hamburger menu */

/* News - needs asset ID*/
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-news.jpg');
}
*/
/* About - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-about.jpg');
}
*/
/* Courses - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-courses.jpg');
}
*/
/* Performances - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-performance.jpg');
}
*/
/* Friends - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-friends.jpg');
}
*/
/* Alumni - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-alumni.jpg');
}
*/
/* Research - needs asset ID */
/*#container-header {
  background-image: url('//waapa.ecu.edu.au/designs/css/waapa.css/inside-banner-faq.jpg');
}
*/

/* Subheading */
/* remove sliver of white above home page video */

.wrapper-sub-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --------------------------------------------------------------------------------------------- 
SEARCH CUSTOMISATION
--------------------------------------------------------------------------------------------- */

/* 13/11/24, WAAPA DXP searchbox has different markup */

#global-search-button {
  opacity: 0; /* messes with focus-visible, remove once markup is replaced with red site code */
}

@media (max-width: 767px) {

  .search-box fieldset {
    display: flex;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------------------------- 
FOOTER
--------------------------------------------------------------------------------------------- */

/*
#container-footer {
  background: var(--color-black);
  color: var(--color-white);
}

#container-footer .span3 h3 {
  border-color: var(--color-white);
} 
*/

/* --------------------------------------------------------------------------------------------- 
HOME
--------------------------------------------------------------------------------------------- */

/* Confirmed class exists via Siteimprove scan 15/11/24 */

/* Carousel - Fill width of container */
.carousel-inner > .item > a > img {
  width: 100%;
}

/* Carousel */
.carousel-inner {
  border-radius: 3px;
  height: auto;
  max-height: none !important;
}

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

/* Confirmed class exists via Siteimprove scan 15/11/24 */

.banner-full-width img {
  border-radius: 0;
}

/* Confirmed class exists via Siteimprove scan 15/11/24 */

.container-banner .item {
  height: auto;
  max-height: none;
}

/* Confirmed class exists via Siteimprove scan 15/11/24 */

@media(max-width: 767px) {
  .media.hover-item.desktop {
    margin: 0 !important;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}

/* --------------------------------------------------------------------------------------------- 
CONTENT
--------------------------------------------------------------------------------------------- */

h2 {
  font-weight: 600;
  font-size: 1.8em;
  color: #111;
}

hr {
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  margin: 10px 0 10px 0;
  padding: 0;
}

.page-askus-wrapper h3 {
  background-color: #444444;
}

.news-item-summary-highlight {
  font-family: Arial,Helvetica,sans-serif;
}

.related-content-wrapper .nav-list li {
  font-size: 0.86em;
}

/* --------------------------------------------------------------------------------------------- 
SEARCH
--------------------------------------------------------------------------------------------- */

/* Confirmed class exists via Siteimprove scan 15/11/24 */

.search-no-padding {
  min-height: auto; /* Removes height */
}

.search-no-padding form {
  margin: 0; /* Removes bottom margin */
}

/* --------------------------------------------------------------------------------------------- 
PERFORMANCES
--------------------------------------------------------------------------------------------- */

.btn-waapa {
  --btn-bg: var(--color-primary);
  --btn-color: var(--color-black);
  background-color: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  color: var(--btn-color);
}

.btn-waapa:hover {
  --btn-bg: transparent;
  --btn-color: var(--color-teal-700);
  border-color: var(--bg-color);
}

@media (prefers-contrast: more) {

  .btn-waapa {
    --btn-bg: var(--color-teal-400);
  }

  .btn-waapa:hover {
    --btn-bg: transparent;
  }
}
