/*
  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: 07 May 2020 02:40:35
*/


/* Injected into Global page template, this overrides color*/
:root {
    --primary-color: #004B88;
    --primary-grey: #D1D3D4;
    --primary-black: #343434;
}

/*
    GLOBAL HEADER
*/
    
.header__agency-crest h1{
    display: flex;
    align-items: center;
    height: 50px;
    width: auto;
    clip: initial;
    position: static;
    border: 0;  
    padding-left: 30px;
    font-size: 28px;
}
@media only screen and (max-width: 1200px) {
    .header__agency-crest h1{
        padding-left: 0;
        font-size: 21px;
    }
}

.header__agency-crest a{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    text-decoration: none;
}

.header__agency-crest img{
    /*display: none;*/
    padding-right: 20px;
    border-right: 1px solid #d5d5d5; 
    height: 40px;
}
@media only screen and (min-width: 1200px) {
    .header__agency-crest img {
        /*display: block;*/
    }
}


@media only screen and (max-width: 768px) {
    .header__agency-crest a{
        justify-content: flex-end;
    }
    .header__agency-crest h1{
        padding-left: 30px;
    }
    /*.header__agency-crest img{
        display: block;
    }*/
}


/*
    Carousel
*/
.overlay-shapes--round__leftdesk{
    display: none;
}

.carousel__button {
    border-color: rgba(255,255,255,0.6);
}

/* Carousel for mobile/tablet from here */

/*
@media screen and (max-width: 1199px) {
    .carousel__content-text{
        color: var(--primary-black);
    }
    
    .carousel__content-text a{
        color: var(--primary-black);
        border-color: var(--primary-black);
    }
    .carousel__playpause{
        border-color: var(--primary-black);
    }
    .carousel__button {
        border-color: var(--primary-black);
    }
}
*/

@media screen and (min-width: 1200px) {
    .carousel__content-text{
        color: var(--primary-black);
    }
    
    .carousel__content-text a{
        color: var(--primary-black);
        border-color: var(--primary-black);
    }
    .carousel__playpause{
        border-color: var(--primary-black);
    }
    .carousel__button {
        border-color: var(--primary-black);
    }
}


ul.carousel-nav{
    border-color: var(--primary-black);
}
ul.carousel-nav button{
    background: var(--primary-black);
}
ul.carousel-nav li.slick-active button{
    background: #898989;
}
ul.carousel-nav li.slick-active button:after{
    border-color: #898989;
}

/*  
focus boxes
*/
.focus-boxes {
    height: 300px;
    display: flex;
    margin-top: 10px;
    margin-bottom: 25px;
}
.focus-boxes a:after {
    content: '' !important;
    background: none !important;
}
.focus-boxes--primary {
    background: var(--primary-color) !important;
    padding-top: 5px;
}
.focus-boxes--no-bg {
    background: none !important;
}
.focus-boxes--vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.focus-boxes--horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.focus-boxes__large {
    width: 100%;
    height: 100%;
    background: #f4f4f4;
    border-radius: 4px;
    margin: 8px;
    text-decoration: none !important;
}
.focus-boxes__medium {
    text-decoration: none !important;
    height: 172px;
    background: #f4f4f4;
    border-radius: 4px;
    margin-bottom: 16px;
}
.focus-boxes__medium .focus-boxes__text {
    font-size: 20px;
}
.focus-boxes__medium .focus-boxes__text--no-bold {
    font-weight: normal;
    font-size: 16px;
}
.focus-boxes__medium .focus-boxes__text--number {
    font-size: 24px;
    margin-bottom: 0;
    text-align: right;
    min-width: 43px;
}
.focus-boxes__small {
    text-decoration: none !important;
    height: 112px;
    background: #f4f4f4;
    border-radius: 4px;
    margin-top: 16px;
}
.focus-boxes__small .focus-boxes__text {
    font-size: 20px;
}
.focus-boxes__small .focus-boxes__text--number {
    font-size: 24px;
    margin-bottom: 0;
}
.focus-boxes__text {
    margin-left: 40px;
    margin-right: 20px;
    color: var(--primary-black);
    font-size: 22px;
    font-weight: bold;
    line-height: 1.2;
}
.focus-boxes__text img {
    margin-top: 20px;
    margin-bottom: 15px;
}
.focus-boxes--primary .focus-boxes__text {
    margin-left: 20px; /*to counteract above .focus-boxes__text setting*/
}
.focus-boxes__text--primary {
    color: var(--primary-color) !important;
    background: transparent;
}
.focus-boxes__text--white {
    color: #fff !important;
    background: transparent;
}
.focus-boxes__text--no-bold {
    font-weight: normal;
    line-height: 1.4;
}
.focus-boxes__text--big {
    font-size: 48px;
}
.focus-boxes__text--number {
    margin-bottom: 10px;
}
.focus-boxes__text--center {
    text-align: center;
}
.focus-boxes__text--footnote {
    font-size: 14px;
    font-weight: normal;
    margin-top: 10px;
}
@media only screen and (max-width: 1200px) {
    .focus-boxes {
        height: auto;
        flex-wrap: wrap;
        margin-top: 30px;
    }
    .focus-boxes__large {
        height: 200px;
        align-items: center;
        /*text-align: center;*/
    }
    .focus-boxes__large.focus-boxes--vertical {
        text-align: center;
    }
    .focus-boxes__medium {
        height: 125px;
        justify-content: center;
    }
    .focus-boxes__small {
        height: 75px;
        justify-content: center;
    }
    .focus-boxes__text {
        margin: 0;
        max-width: calc(100vw - 110px);
    }
    .focus-boxes__text img {
        margin-top: 10px;
    }
    .focus-boxes__text--number {
        margin-left: 25px;
        margin-right: 25px;
    }
    .focus-boxes--primary {
        /*padding-top: 45px;*/
        padding-top: 0px;
        height: auto;
        min-height: 280px;
    }
    .focus-boxes--primary .focus-boxes__text {
        margin-left: 0px; /*to counteract above .focus-boxes__text setting*/
    }

    .focus-boxes--horizontal .focus-boxes__text:nth-child(n+2) {
        margin-left: 20px;
    }
    .focus-boxes--horizontal .focus-boxes--vertical:nth-child(n+2) {
        margin-left: 20px;
    }
    .focus-boxes--horizontal .focus-boxes--vertical:nth-child(n+2) .focus-boxes__text {
        margin: 0;
        max-width: 300px;
    }
}





/*
    Premier and Prime Minister Updates
*/
.premier-and-pm-updates__wrapper{
    background-color: #f4f4f4;
}
.premier-and-pm-updates {
    display: flex;
    margin: auto;
    max-width: 1200px;
}
.premier-and-pm-updates > div {
    display: none;
}
.premier-and-pm-updates .news-listing-grid {
    display: block;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    .premier-and-pm-updates{
        display: block;
    }
}


.premier-and-pm-updates .news-listing-grid hr{
    color: var(--primary-color);
    background: var(--primary-color);
}
.premier-and-pm-updates .news-listing-grid hr:after{
    color: var(--primary-color);
    background: var(--primary-color);
}
.premier-and-pm-updates .news-listing-grid hr:before{
    color: var(--primary-color);
    background: var(--primary-color);
}

.premier-and-pm-updates .news-listing-grid__link{
    min-height: 200px;
    height: auto;
    width: 270px;
}
.premier-and-pm-updates .news-listing-grid .news-listing-grid__item:nth-child(n+4){
    display: none;
}

/*
    Essential info
*/
@media only screen and (max-width: 1200px) {
    .home .icon-panel__title{
        font-size: 20px;
    }    
}



/*
    Call to actions
*/
.home .call-to-action {
    background: var(--primary-grey);
    color: var(--primary-black);
    border-left: none;
}
.home .call-to-action .call-to-action__title-text {
    color: var(--primary-black);
}
.home .call-to-action .call-to-action__link:hover,
.home .call-to-action .call-to-action__link:focus{
    text-decoration: underline;
}

/* COVID Dashboard call to action */
.home .call-to-action {
    height: auto;
    padding-top: 3.5em;
    padding-bottom: 3.5em;
}


.home .call-to-action .call-to-action__description{
    font-weight: bold;
    font-size: 20px;
    padding: 0;
}
.home .call-to-action{
    margin-top: 0; /*4em;*/
    margin-bottom: 0;
}
.home .call-to-action a {
    background: none;
    border-radius: 0;
    color: var(--primary-black);
    font-size: 20px;
    font-weight: bold;
}
.home a.call-to-action__link{
    font-size: 42px;
}

.home a.call-to-action__link{
    color: black;
    position: relative;
}
.home .call-to-action__link:before{
    position: absolute;
    content: url(https://www.covid-19.sa.gov.au/__data/assets/image/0003/145830/phone.png?v=0.1.1);
    left: 20px;
    display:block;
    transform: scale(0.8);
}

.home .call-to-action:nth-child(4) .call-to-action__link:before{
    content: '';
}
.home .call-to-action .call-to-action__title,
.home .call-to-action:nth-child(4) .call-to-action__description {
    display: none;
}
@media only screen and (max-width: 768px) {
.home .call-to-action__description {
        max-width: calc(100vw - 40px);
    }
}
.home .call-to-action:nth-child(4) .call-to-action__action{
    padding: 0;
    
    background: rgba(27,135,181,1);
}
.home .call-to-action:nth-child(4) a{
    color: white;
    font-size: 20px
}
.home .call-to-action:nth-child(4){
    padding: 0;
    margin-top: 2em
}

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

@media only screen and (max-width: 768px) {
.home .call-to-action__link:before{
    position: absolute;
    content: url(https://www.covid-19.sa.gov.au/__data/assets/image/0003/145830/phone.png?v=0.1.1);
    left: 0px;
    display:none;
}
}


/*
    Latest News or news events social tab
*/
.home .latest-news,
.home .news-events-tabs{
    background: var(--primary-color);
}
.home .latest-news__header-text,
.home .tabs__item{
    color: #fff;
    background: var(--primary-color);
}
.home .latest-news__flare,
.home .tabs__item h2{
    border-color: #fff !important;
}
@media only screen and (max-width: 768px) {
    .main .tabs .tabs__tab-list .tabs__item {
        width: auto;
    }
}

/*
    LANDING PAGES
*/
.landing .news-listing-grid__link{
    height: 150px;
}
.landing .news-listing-grid__link:hover,
.landing .news-listing-grid__link:focus{
    box-shadow: 0 0 9px 0 rgba(92, 92, 92, 0.75);
}

/*
    Feedback form
*/
.home .feedback-form{
    margin-bottom: 1.6em;
}
.home .feedback-form hr{
    display: none;
}



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

#subscribe-now__form button.mfp-close, button.mfp-arrow {
    right: 0;
    position: absolute;
}

#subscribe-now__form fieldset {
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

#subscribe-now__form input[type="submit"] {
    margin-top: 1rem;
    color: white;
    background-color: #1d446f;
    padding: 0.5rem 1rem;
}

#subscribe-now__form .sq-form-required-field-note {
    display: none;
}

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;
}

.sq-form-section-title {
    display: none;   
}

#subscribe-now__form .content form .sq-form-question {
    width: 100%;
}

#subscribe-now__form h3{
    display: none;
}

#subscribe-now__form .content > h2:first-child {
    margin-bottom: 2rem;
}

#subscribe-now__form::placeholder {
  color: black;
}

#subscribe-now__form h3, #subscribe-now__form form label.sq-form-question-title {
    display: none;
}

@media screen and (min-width: 768px) {
     #subscribe-now__form {
        width: 50%;
    }
}

@media screen and (min-width: 1200px) {
    #subscribe-now__form {
        width: 30%;
    }
}




/*
    Footer
*/
.footer-bottom{
    display: flex;
    justify-content: center;        
}
.footer-columns{
    display: flex;
    justify-content: center;     
}
.footer-columns__col{
    width: auto;
    margin: 0;
}

/*
    Minor element fixes
*/
.banner hr:before{
    background: var(--primary-color);
}

.home a[href="tel:1800253787"] {
    font-size: 2.2em;
    font-weight: 900;
}



@media screen and (min-width: 768px) {
    .home a[href="tel:1800253787"] {
    font-size: 3.5em;
    font-weight: 900;
}

}

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

}



@media only screen and (max-width: 1200px) {
    ul.feature-slider--topic-panels .feature-item__text {
        min-height: 96px;
    }
}


.content-container .content .focus-boxes-btn {
    display: none;
    border: 1px solid rgba(255,255,255,0.6);
}

/*@media screen and (min-width: 1200px) {*/
    .content-container .content .focus-boxes-btn {
        display: block;
        height: 45px;
        padding-top: 9px;
        padding-right: 25px;
        padding-left: 25px;
        font-size: 0.9375rem;
    }
/*}*/


.content-container .content .focus-boxes-btn:hover {
    background: transparent;
    border: 1px solid white;
}


/*DCSSOVID-61 hotfix for 4th carousel egg*/
@media screen and (min-width: 1200px) and (max-width: 1400px){
    .slick-slide:nth-child(4) .carousel__image img {
        object-position: 60%;
    }
}

.header__agency-crest a img {
    width: 100px;
    object-fit: contain;
}
@media screen and (min-width: 1200px) {
    .header__agency-crest a img {
        width: auto;
    }    
}
.header__agency-crest h1 {
    font-size: 16px;
}
@media only screen and (min-width: 768px) {
    .header__agency-crest h1 {
        font-size: 21px;
    }
}