/*
  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: 14 June 2025 09:04:00
*/


:root{
    /* Set Primary color. Originally #004b88 #006E78*/
    --primary-color: #141e3c ;
    /* Darker version of Primary color, used for Menus. Originally #002f55*/
    --primary-color-darken: #20201F;
    
    /* Individual RGB Values used in gradients. Needs to be much darker than typical primary color. Originally r: 0, g: 54, b: 111 */
    --gradient-rgb-r: 52;
    --gradient-rgb-g: 52;
    --gradient-rgb-b: 52;
}

/* overrides default center alignment of Topic Buttons container, to left */
.feature-item__text {
    text-align: left !important;
}

/* hides extraneous menu items from left nav menu for Industry and home sections */
.leftnav > ul > li.normal > a[href*="industry"],
.leftnav > ul > li.normal > a[href*="home"] {
    display: none;
}

/* optional style for opening para on content pages */
.opening {
    font-size: 150% !important;
    font-style: italic !important;
}


/* reduces top margin of first h2 and h3 heading */
div[id^="content_container_"]:first-child h2:first-child,
div[id^="content_div_"]:first-child h2:first-child {
  margin-top: 0.3em;
}

div[id^="content_container_"]:first-child h3:first-child {
  margin-top: 0.5em;
}


/* prevents content images skewing */
.content-container .content img {
    height: auto;
}

/* hides arrow graphic from rel external links which don't have href */
.content-container .content a[rel="external"]:not([href])::after {
    background: none;
    width: 0;
    margin: 0;
}

/* overrides bg colour of subscription strip to DEM brand dark green */ 
section.promo-strip {
    background-color: var(--secondary-color) !important;
}


/* custom style for landing page tile images used in multi-column layout */
.landing-tile {
    width:250px;
    height:160px !important;
    object-fit: cover;
}

/* custom style for leaders page tile images used in multi-column layout */
.leaders-tile {
    max-width: 280px !important;
    height:330px !important;
    object-fit: cover;
}


/* custom style for presenting paragraph in columns - see larger screen style*/
.para-columns {
    margin: 30px 0;
}

/* adjusts margin under feature carousel container */
.feature-carousel {
    margin-bottom: 1.5em;
}

/* colour feature panel titles dark gray */
.feature-item__text h4, .feature-item__text span {
    color: #343434 !important;
}

/* adjusts padding on news listing container */
.news-listing-grid {
    padding-top: 1.5em !important;
    padding-bottom: 2em !important;
}

/* hides news category and ... in summary, on articles */
.taginline, .news-listing-grid__body {
    display:none;
}

/* tightens line spacing on news headings */
.news-listing-grid__headline {
    line-height: 1.6 !important;
}


/* DEM branding - change of header colour  */
.header {
    background-color: var(--primary-color) !important;
}

/* DEM branding - import TrimPoster-Lean brand font */
@font-face {
  font-family: 'TrimPoster-Lean';
  src:  local('Trim Poster Lean'),
        url('https://www.energymining.sa.gov.au/__data/assets/file/0009/718785/TrimPoster-Lean.woff2') format('woff2'),
        url('https://www.energymining.sa.gov.au/__data/assets/file/0010/718786/TrimPoster-Lean.woff') format('woff');
        /*url('fonts/TrimPoster-Lean.woff2') format('woff2'),*/
        /*url('fonts/TrimPoster-Lean.woff') format('woff');*/
  font-display: block;
}

/* DEM branding - set brand font on various elements - sitename, carousel title, welcome text and landing page title  */ 
.header__agency-crest h1,
.header__agency-crest h1 a,
.header__agency-crest h1 span,
.carousel__content-text h2,
.twocolumn__callout,
.landing .banner h1 {
    font-family: 'TrimPoster-Lean', "Lato", arial, sans serif !important;
    text-transform: uppercase;
    font-weight:normal !important;
}

/* DEM branding - font size for sitename, carousel title and welcome text   */
.header__agency-crest h1
 {
    font-size: 300%;
}


/* carousel overridess - AP 10/05/23 */
.carousel__content-text h2
 {
    font-size: 200%;
}



/* DEM branding - correction to font colour and removal of underline for sitename  */
.header__agency-crest h1,
.header__agency-crest h1 a {
    color: var(--tertiary-color);
    text-decoration: none;
}

/* DEM branding - font size and settings for welcone text  */
.twocolumn__callout {
    font-size: 330% !important;
    line-height: 1.1;
    letter-spacing: 0.25px;
    color: var(--secondary-color);
}    

/* DEM branding - brand font on landing page title   */
.landing .banner h1 {
    font-size: 500%;
} 

/* temporary adjustment of carousel text */
.carousel--type2 .carousel__content-text {
    padding: 60px 0px 0 20px !important;
}

    
/* replace GOSA logo with white version  */    
  .header__gov-crest img { 
      content: url(https://www.energymining.sa.gov.au/__data/assets/file/0011/718787/gosa_rev_h.svg);
    /*content: url(gosa-logo/gosa_rev_h.svg); */
  }
  


/* Community and land access page - multi-column layout styles */
div[class^="cala"] {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

div[class^="cala"] h3 {
    margin-top: 0 !important;
}

/* YouTube resposive embeds */
.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

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

/* set width on Aboriginal flag svg in footer, to make it visible */
.logo-icons li:nth-child(4) img {
    width: 60px;
}

/* removes light border on top of listed links */
.content-container .content .listed-links {
    border: none;
}

/* darkens child items indicator arrow on left nav */
.leftnav li.has-children>a:after,
.leftnav .leftnav__level1 .lineage>a:after {
    border-top: 2px solid #e4e4e4 !important;
    border-right: 2px solid #e4e4e4 !important;
}

/* adds padding to top of footer */
.footer-bottom {
    padding-top: 40px;
}

/* add left and right padding to page heading, to prevent long headings */
.banner {
    padding: 0 5%;
}

/* winner and commendation badges for premiers awards */
.winner, .commendation {
  font-size: 110%;
  font-weight: bold;
  border: 4px double yellow;
  background: #FEFFD3;
  text-align:center;
  margin: 0 0 20px 0;
  border-radius: 3px;
}

.commendation {
  padding: 0 5px 8px 5px;
}

.winner {
  padding: 7px 5px;  
}

.winner span {
  font-size; 120%;
}

.commendation span {
  font-size: 140%;
  color: black;
  font-weight: 500;
}

/** STYLES FOR SMALLER SCREENS ONLY **/    
@media screen and (max-width: 767px) {

  /* hides ... in summary on articles */    
  .news-listing-grid__body {
      display: none !important;
  }

  /* sets date to dark gray  */
  .dateinline {
      color: #343434 !important;
  }

  /* temporary adjustment of carousel text placement */
  .carousel--type2 .carousel__content-text {
    padding: 20px 0px 0 20px !important;
  }

  /* temporary adjustment of carousel text size */  
  .carousel__content-text h2 {
    font-size: 240%;
    margin-right: 20px;
   }

  /* adjustment of GOSA logo size and placement */
  .header__gov-crest img { 
    margin-left: 6px;
    width: 135px;
  }    
  
  /* DEM branding - font colour for site name */
  .header__agency-crest h1 a {
    color: var(--secondary-color) !important;
  }
  
  /* DEM branding - scale down font size for smaller screens  */
  .landing .banner h1 {
    font-size: 350% !important;
  } 


}


@media screen and (max-width: 1200px) {
   
   /* add space between home carousel and welcome statement */
   h2.twocolumn__callout {
     margin-top: 20px !important;
   }
  
  /* add black border to top of left nav   */
  .leftnav {
      border-top: 5px solid var(--primary-color);
  }


}


/** STYLES FOR LARGER SCREENS ONLY **/     
@media screen and (min-width: 768px) {
    
  /* custom style for presenting paragraph in columns */
  .para-columns {
    column-count: 3;   
  }

  /* change the & in Energy & Mining from DEM brand green to white, on larger screens only */
  @keyframes whiteamp {
    from {color: #1EBE91;}
    to {color: white;}
  }

  .header__agency-crest h1 span {
    color: white;
    animation-name: whiteamp;
    animation-duration: 1.5s;
  }
  
  /* fix centering of embedded videos */
  .video-content--centred {
      margin: 0 auto !important;
  } 
  
}


/** CAROUSEL TYPE 3 CUSTOMISATIONS **/

.carousel--type3 .carousel__content-text h2 {
    margin-bottom: 0;
    line-height: 1.20;
}


@media screen and (max-width: 767px) { 
    
    .carousel--type3 .carousel-nav {
        top: 355px !important;
    }
    
    .carousel--type3 .carousel__content-text h2 {
      font-size: 180%;
    }
}

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

    .carousel--type3 .carousel__content {
        position: absolute;
        width: 100%;
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }

    .carousel--type3 .carousel__content-text {
        bottom: 110px !important;
        padding-right: 20px;
      }

    .carousel--type3 .carousel__content-text h2  {
        display: inline;
        font-size: 400%;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
        padding: 0px 9px !important;
    }
    
    .carousel--type3 .carousel__content-text p {
        font-size: 20px !important;  
    }
    
    .carousel--type3 .carousel__content-text h2, 
    .carousel--type3 .carousel__content-text p,  
    .carousel--type3 .carousel__button {
        background: rgba(0,0,0,0.6) !important;
    }
    
    .carousel--type3.carousel--items-2 ul.carousel-nav {
        bottom: 50px;
    }

    .carousel--type3 ul.carousel-nav {
        margin-left: 22px !important;
    }
    
    .carousel--type3 ul.carousel-nav li {
        padding-left: 8px !important;
    }

    .carousel--type3 .carousel__button {
        position: unset !important; 
        display: table !important;
        margin-top: 25px !important;
        text-transform: uppercase;
        letter-spacing: 3px;
    }

}

@media screen and (max-width: 1199px) {
    .carousel--type3 .carousel__content-text {
        padding-right: unset;
    }
    
    .carousel--type3 .carousel-nav {
        right: 9px;
        top: 455px;
    }
    
    .carousel--type3 .carousel__button {
        right: unset;
    }
    
}
  
  @media screen and (max-height: 1080px) and (min-width: 1200px) {

    .carousel--type3 .carousel__item {
        height: calc(var(--carousel-height) - 200px);
    }
        
    .carousel--type3 .type2-shapes .overlay-shapes--sharp__leftitem {
        bottom: -40px;
    }
        
    .carousel--type3 .type2-shapes .overlay-shapes--sharp__rightitem {
        bottom: -32px;
    }
      
    .carousel--type3 .carousel__content-text {
        padding-right: 160px;
    }
            
    .carousel--type3 .carousel__content-text h2 {
        font-size: 350%;  
    }
    
    .carousel--type3 .carousel__button {
        font-size: 85%;
    }
}




/*
-----------
PROMO STRIP - needs to be included for custom footer subscribe / connect strip to work on all pages
-----------
*/

section.promo-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #474747;
    color: #ffffff;
    align-items: center;
    min-height: 128px;

}

.promo-strip ul.social-icons {
    padding: 10px;
    margin: 1rem;
    align-items: center;
}

ul.social-icons > li::before, ul.social-icons a[rel="external"]:after {
    display: none;
}

.promo-strip h2 {
    color: white;
    margin: 1rem;
    font-weight: 300s;
}


.promo-strip ul.social-icons li {
    padding-left: 0.5rem;
}

.promo-strip-button__container {
    padding: 1rem 2rem 1rem 1rem;
}

a.subscribe-now__btn {
    display: inline-block;
    border-radius: 0;
    color: #000000;
    background-color: #ffffff;
    padding: 10px 26px;
    font-size: 18px;
    line-height: 1.33333;
    border: 1px solid #2e6da4;
    cursor: pointer;
    font-weight: 300;
    text-decoration: none;
}

a.subscribe-now__link {
    display: inline-block;
    border-radius: 0;
    color: #000000;
    background-color: #ffffff;
    padding: 10px 26px;
    font-size: 18px;
    line-height: 1.33333;
    border: 1px solid #2e6da4;
    cursor: pointer;
    font-weight: 300;
    text-decoration: none;
}

.promo-strip .social-icons img {
    height: 26px;
    width: auto;
}

#subscribe-now__form {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    background: white;
    padding: 2rem;
    width: 80%;
    margin: auto;
}

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

    #subscribe-now__form {
        width: 30%;
    }
    
}

@media screen and (min-width: 768px) {
    .promo-strip-button__container {
        border-right: 1px solid white;
    }
    #subscribe-now__form {
        width: 50%;
    }
}


/*
    CUSTOM CCT
    
    on-this-page
*/


.on-this-page {
    margin-bottom: 20px;
}
.on-this-page__title {
    margin-top: 0 !important;
}
.on-this-page__teir {
    margin: 0 0 0 20px !important;
    padding: 0;
    text-decoration: none !important;
}
@media screen and (min-width: 768px) {
    .on-this-page__teir {
        columns: 2;
    }
    .on-this-page__teir .on-this-page__teir {
        columns: auto;
    }
}
.on-this-page__item {
    margin: 0 !important;
    padding: 0 !important;
    margin-left: 15px !important;
}
.on-this-page__item:before {
    display: block;
    position: absolute;
    content: '' !important;
    left: -15px !important;
    top: 12px !important;
    width: 0;
    height: 0;
    border-top: 3px solid transparent;
    border-left: 6px solid var(--secondary-color);
    border-bottom: 3px solid transparent;
}
.on-this-page__link {
    text-decoration: none !important;
}

/*end of on this pag

/*
    CUSTOM CCT
    
    page-contact-info
*/
.cct-page-contact-info{
    margin-top: 60px;
    margin-bottom: 0px;
}
.cct-page-contact-info__title {
    padding: 10px 15px;
    /*background: #e9eef2;*/
    background: #004B88;

}
#cct-page-contact-h4 {
    color: white;
}

.cct-page-contact-info__title h4 {
    margin: 0 !important;
}
.cct-page-contact-info__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}
@media screen and (min-width: 768px) {
    .cct-page-contact-info__list {
        flex-direction: row;
    }
}
.cct-page-contact-info__item {
    width: 100%;
    margin: 40px 0 0 !important;
    padding: 10px !important;
}
.cct-page-contact-info__item::before {
    display: none !important;
}
@media screen and (min-width: 768px) {
    .cct-page-contact-info__item {
        margin-top: 0 !important;
    }
}
.cct-page-contact-info__contact {
    margin-top: 20px;
}
.cct-page-contact-info__contact a {
    text-decoration: none !important;
}

/* formatting for mobile tables - JH 27/06/22*/
@media screen and (max-width: 767px) {
  .mobile-tables .content-container .content table {width: 100%; white-space:normal;}
  .mobile-tables table thead {
      display: none;
  }
  .mobile-tables table tr, table td {
      border-bottom: 1px solid #DDDDDD
  }
  .mobile-tables table tr {
      margin-bottom: 8px;
  }
  .mobile-tables table td {
      display: flex;
      /*flex-direction: column;*/
  }
  .mobile-tables table td::before {
    content: attr(label);
    font-weight: bold;
    width: 120px;
    min-width: 120px;
  }
}





/* carousel overridess - AP 10/05/23 */

.carousel__button {
  bottom: 23px;
}

.carousel__content-text h2{
  font-family:"Lato", arial, sans serif !important;
  text-transform: uppercase;
  font-weight: normal !important;
}