/*
  Running Squiz Matrix
  Developed by Squiz - http://www.squiz.net
  Squiz, Squiz Matrix, MySource, MySource Matrix and Squiz.net are registered Trademarks of Squiz Pty Ltd
  Page generated: 06 June 2026 06:13:41
*/


/*----------hide the side-bar navigation from the mobile screens (this bar pushes the icon panels below itself which makes the page confusing)--------------*/

@media screen and (max-width: 1199px) {
    .sidebar {
        display: none;
    }
}


/*============= PRIMARY COLOUR ==================*/

:root {
    --primary-color: #024862 !important;
    --wcag-focus-background-color: #a5dad100;
    --wcag-focus-foreground-color: #ffffff;
    --wcag-focus-alt-background-color: #a5dad1;
}

.content-container .content * {
    font-family: 'Open Sans', sans-serif !important;
}


.content-container .content * h1, .content-container .content * h2, .content-container .content * h3 {
    color: #024862;
    font-weight: 600;
}

.content-container .content * h2 {
    font-size: 2rem;
}


/*=============== FOOTER LOGOS =================*/

.footer-bottom-icons .logo-icons li:first-child img{
    max-width: 250px;
}

.footer-bottom-icons .logo-icons li:first-child {
    margin-bottom: 15px;
 
}

@media screen and (min-width: 1200px) {
    .logo-icons {
        justify-content: flex-start;
    }
    
    .footer-bottom-icons .logo-icons li:first-child {
    margin-right: 190px;
    margin-top: -50px;
 
}
}


/*========== replace GoSA logo with white logo =======*/

.header__gov-crest img { 
      content: url(https://ai.sa.gov.au/__data/assets/image/0007/1199032/GoSA-white-logo.png);
  }

/*====================== header background and other styling =======*/

@media screen and (max-width: 767px) {
    .header__wrapper.header--nologo {
        min-height: 120px;
        position: relative;
        background: linear-gradient(to right, #343434, #024862);
    }
    
        .header--nologo .header__agency-crest {
        background: transparent;
    }
    
    .header__gov-crest img {
    width: 150px;
    margin-left: 5px;
    padding-bottom: 60px;
}

    .header--nologo .header-search__toggle {
        background-color: #ffffff00;
        border-left: 0px;
        border-right: 0px;
    }
}

.header__wrapper {
    border-bottom: 0px;
}

/*================ search area styles ==================*/

@media screen and (max-width: 1199px) {
    .show-search .search-input {
        background: linear-gradient(to right, #343434, #024862);
        z-index: 500;
    }
    
        .show-search .search-input__field {
        background: linear-gradient(to right, #343434, #024862);
    }
}

.header-search__toggle {
    background-color: #ffffff00;
    background-image: url(https://ai.sa.gov.au/__data/assets/file/0004/1199389/Search-icon-white.svg);
    background-size: 35px;
}

.search-input__field {
    border: 2px solid #fff;
    border-radius: 25px;
    background: #ffffff00;
    color: #ffffff;
}

.search-input__field::placeholder {
  color: #ffffff;
}

.search-input__submit {
    background-color: transparent;
    background-image: url(https://ai.sa.gov.au/__data/assets/file/0004/1199389/Search-icon-white.svg);
}


/*==================== PAGE NAME, BANNER and BOTTOM BORDER / header hr ===============*/

    .banner {
    margin-top: 0 !important;
    background: url('https://ai.sa.gov.au/__data/assets/image/0006/1210839/OfficeForAI_Website_TestVideo.00_01_30_00.Still002-1.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 380px;
    margin-bottom: 50px;
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* to add tint over the iamge to make page title visible properly */
    z-index: 1;
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
}

.breadcrumbs {
    text-align: center;
    position: relative;
    top: 400px;
}

    .banner h1 {
        font-size: 50px;
        color: #ffffff;
        position: relative;
        top: 100px;
        z-index: 10;
    }


/*@media screen and (min-width: 768px) {
    .banner h1 {
        font-size: 50px;
        color: #024862;
    }
}*/

.banner hr {
    background: linear-gradient(to right, #343434, #024862);
    top: 315px;
}

.banner hr:before {
    left: 57px;
    background: #ffffff00/*var(--secondary-color)*/;
}

.banner hr:after {
    left: 114px;
    background: #ffffff00/*var(--tertiary-color)*/;
}


/*================ LEFT NAV STYLES =====================*/

.current-nav>a {
    background: linear-gradient(to right, #343434, #024862);
    color: white;
}

.leftnav li.has-children>a:after {
    border-top: 2px solid #343434;
    border-right: 2px solid #343434;
}


/*================== HAMBURGER menu styles =============================*/

.nav-toggle {
    background-color: #ffffff00;
}



@media screen and (max-width: 1199px) {
 
 .header__wrapper {
    border-bottom: 0px;
    background: linear-gradient(to right, #343434, #024862);
}

.top-nav {
    background: linear-gradient(to right, #343434, #024862);
}

.current>a {
    background: var(--tertiary-color);
    color: black;
}

.current>a:only-child:after {
    background: var(--tertiary-color);
}

.top-nav__toggle-lvl {
    background: transparent; /*bg colour for the dropdown arrow under hamburger menu*/
}

.top-nav li:first-child {
    border-top: 1px solid #a5dad1; /*border for menu items under the first item*/
}

ul.top-nav__lvl2 li>a:before {
    background: #a5dad1; /*the marking space on the left of lvl2*/
}

}


/*============================== TOP NAV ================================*/

@media screen and (min-width: 1200px) {
    
    .header {
        background: linear-gradient(to right, #343434, #024862);
    }
    
    .megamenu .top-nav, .dropdown .top-nav {
        background: linear-gradient(to right, #343434, #024862);
    }
    
 
  /* .megamenu .top-nav__home-link a:focus, .dropdown .top-nav__home-link a:focus {
        background: url("https://ai.sa.gov.au/__data/assets/file/0011/1199423/home-menu-black.svg") center center no-repeat;
        
    }
*/
 

}


/*top-nav menu item colour*/

@media only screen and (min-width: 1200px) {
    .megamenu .top-nav a, .dropdown .top-nav a {
        color: #ffffff !important;
        font-weight: 500 !important;
        text-transform: uppercase;
    }
}


/*top-nav DROPDOWN*/

@media screen and (min-width: 1200px) {
    .megamenu ul.top-nav__lvl2, .dropdown ul.top-nav__lvl2 {
        background: linear-gradient(135deg, #343434, #024862);
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
    }
    
    .megamenu ul.top-nav__lvl2 a:hover, .dropdown ul.top-nav__lvl2 a:hover, .megamenu ul.top-nav__lvl2 a:focus, .dropdown ul.top-nav__lvl2 a:focus {
        background: #f1f1f100;
    }
    
        .dropdown ul.top-nav__lvl2>li.current a, .dropdown ul.top-nav__lvl2>li.lineage a {
        background-color: #a5dad1; /*for active sub menu items (under dropdown top nav menu)*/
        color: black !important;
    }
    
}



/*top-nav hover ANIMATION*/

@media screen and (min-width: 1200px) {

/* Layout and base styles */
.top-nav__lvl1 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.top-nav__lvl1 a {
  position: relative;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0.75em 1em;
  transition: color 0.3s ease !important;
  z-index: 1; /* ensure link text stays above ::before */
}

/* --- bottom border line effect --- */
.top-nav__lvl1 a::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -3px !important;
  width: 0% !important;
  height: 3px !important;
  background: #a5dad1 !important;
  transform: none !important;
  transition: width 0.4s ease !important;
  opacity: 1 !important;
}

.top-nav__lvl1 li:not(.current) a:hover::after {
  width: 100% !important;
}

.top-nav__lvl1 li.current a::after {
  width: 0 !important;
  background: transparent !important;
}

/* --- Faded background animation --- */
.top-nav__lvl1 a::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 0% !important;
  background: #a5dad10d !important;
  transition: width 0.4s ease !important;
  z-index: 0;
}

/* Animate background on hover (only non-current) */
.top-nav__lvl1 li:not(.current) a:hover::before {
  width: 100% !important;
}

/* current item unaffected */
.top-nav__lvl1 li.current a::before {
  width: 0 !important;
  background: transparent !important;
}

}


/*================ ACCORDION STYLES ========================*/


.content-container .content .accordion__item .accordion__heading {
    cursor: pointer;
    margin: 0;
    padding: 21px 40px 21px 40px;
    background: linear-gradient(to right, #343434, #024862);
    border-radius: 40px;
}

.content-container .content .accordion__item .accordion__heading button {
    color: #ffffff;
}

.accordion__heading button[aria-expanded="true"] {
  color: #000000 !important; /* black when expanded */
  font-weight: bold !important;
}

.content-container .content .accordion__item span:after {
    color: #ffffff;
}


/*================== HOME PAGE STYLES =======================================*/

/*WELCOME TEXT & DESC*/

@media screen and (max-width: 767px) {

.welcome-header p {
    color: #ffffff !important;
    font-size: 1.625rem !important;
    font-weight: 300 !important;
}

.welcome-desc p {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    line-height: 1.37 !important;
}
}

.welcome-header p {
    color: #ffffff !important;
    font-size: 2.125rem !important;
    font-weight: 300 !important;
}

.welcome-desc p {
    color: #ffffff !important;
    font-size: 3rem !important;
    font-weight: 600 !important;
    line-height: 1.37 !important;
}

.welcome-color-text {
    color: #a5dad1 !important;
}

/*welcome header button*/

.animated-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding-left: 40px; /* space for circle */
  padding-right: 48px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #ffffff, #a5dad1);
  color: #333;
  font-size: 18px;
  cursor: pointer;
  overflow: hidden;
  width: 240px;
  text-decoration: none !important;
}

/* The pseudo element that animates solid skyblue */
.animated-button::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0; /* start hidden */
  background-color: #a5dad1;
  border-radius: 30px;
  transition: width 0.6s ease;
  z-index: 0;
}

/* Make sure text and circle are above pseudo element */
.animated-button .circle,
.animated-button span {
  position: relative;
  z-index: 1;
}

.animated-button:hover::before {
  width: 100%; /* fill button from left to right */
}

.animated-button .circle {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background-color: #a5dad1;
  border-radius: 50%;
  transition: transform 0.6s ease, left 0.6s ease;
  z-index: 2; /* on top of pseudo element */
}

.animated-button:hover {
  color: white;
}



/*FULL WIDTH COLOUR BG ON HOMEPAGE on MULTI COLUMN CONTENT AREA*/

@media only screen and (max-width: 1199px) {

.multi-column-wrapper {
  background: linear-gradient(135deg, #024862, #343434);
}  
.multi-column-wrapper .multi-column-content__area--background-grey {
    background-color: #ffffff00;
}
}

.multi-column-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2rem 0;
}


.multi-column-wrapper .multi-column-content__area--background-grey {
    background-color: #ffffff00;
    color: white;
}



.home-multi-column {
    flex-direction: row;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
}

@media screen and (min-width: 1200px) {

.multi-column-wrapper .multi-column-content__area--background-grey {
    background-color: #ffffff00;
}

.multi-column-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #ffffff00;
  padding: 2rem 0;
}

}

/*.multi-column-wrapper p {
    color: #ffffff !important;
}*/

.home-multi-column p, h3, h4 {
    color: white;
}

.multi-column-content__area--background-grey {
    background-color: #ffffff00;
    color: white;
}


/*================LANDING PAGE BANNER VIDEO==============*/

a.video-hero__link:after {
    display: none;
}


a.video-hero__link {
    pointer-events: none;
}

.carousel-overlays {
    display: none;
}

#video-hero-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire container */
    z-index: 0;
}

#video-hero-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Black tint with 40% opacity */
    z-index: 1; /* Make sure the overlay is above the video but below the text */
}

.video-hero__text {
    position: relative;
    z-index: 2; /* Ensure the text stays above the video and tint */
}

.video-hero__text h2 {
    color: #fff;
    text-transform: none;
    font-weight: normal;
    font-size: 50px;
}

.vimeo.video-control {
    z-index: 3;
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    align-items: center; /* Centers the buttons vertically */
    border-radius: 25px;
    background-color: #0000005c;
    opacity: 0.7;
    padding: 10px;
}

/*@media screen and (max-width: 1199px) {
.video-control {
    right: 5px;
    top: -21vh;
}
}*/

@media screen and (min-width: 768px) {
    .vimeo.video-control {
        top: -32vh;
        right: 15px;
    }
}

@media screen and (max-width: 767px) {
 .vimeo.video-control {
        top: -26vh;
        right: 15px;
    }
}

.video-hero {
    border-bottom-right-radius: 20%;
    border-bottom-left-radius: 20%;
}

/*=========highlighted text styles==========*/

    .text-highlight {
        font-size: 20px;
        color: #024862 !important;
        font-weight: bold !important;
    }
    

/*========== SPACE ABOVE AND BELOW TEXT CONTENT ON ALL PAGES ===========*/

.footer {
    margin-top: 72px;
}

#video-hero-container {
    margin-bottom: 48px;
}

/*======== TOPIC PANEL BUTTONS (landing pages) ============*/

ul.feature-slider--topic-panels .feature-item__text {
    position: static;
    background: white;
    height: auto;
    border-radius: 50px;
    border: 1px solid #a5dad1;
    min-height: 70px;
    margin-top: 10px;
}

ul.feature-slider--topic-panels a {
    border-radius: 50px;
}

.feature-item:before {
    display: none;
}

@media screen and (min-width: 1200px) {
    ul.feature-slider--topic-panels li {
        margin-bottom: 0;
        margin-right: 20px;
        max-width: 22%;
    }
    
        ul.feature-slider--topic-panels li:nth-child(3n) {
        margin-right: 20px;
    }
}

ul.feature-slider--topic-panels .feature-item__text {
    position: relative;
    overflow: hidden; /* Ensures gradient doesn't spill outside */
    transition: color 0.4s ease, transform 0.5s ease; 
}
    
    /* Default text color */
    
    ul.feature-slider--topic-panels .feature-item__text span {
        transition: color 0.4s ease;
        position: relative;
        z-index: 2; /* Keep text above the gradient */
        font-weight: normal;
        text-transform: uppercase;
        font-size: 18px;
    }
    
    /* Sliding gradient layer */
    
    ul.feature-slider--topic-panels .feature-item__text::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #343434, #024862);
        transform: scaleX(0); /* Start hidden */
        transform-origin: left;
        transition: transform 0.5s ease;
        z-index: 1;
    }
    
    /* Hover state */
    
    ul.feature-slider--topic-panels .feature-item__text:hover {
    transform: scale(1.05); /* smooth zoom */
}
    
    ul.feature-slider--topic-panels .feature-item__text:hover::before {
        transform: scaleX(1); /* Slide in from left → right */
    }
    
    ul.feature-slider--topic-panels .feature-item__text:hover span {
        color: white; /* Text fades to white */
    }
    
 /*   ul.feature-slider--topic-panels a {
        transition: transform 0.3s ease-in-out;
    }
    
    ul.feature-slider--topic-panels a:hover {
        transform: scale(1.1);
    }
*/


