/*------ 2024-25 Imapct report styles ------*/
/*------ Styles are handled as follows - Global/universal styles are placed as high on the sheet as posssible - specifics, mobile and  overrides are at the bottom  ------*/
/*---- Base Styles ----*/
body
 {
    background-color: #fff;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    padding-bottom: 0;
    box-sizing: border-box;
}
.impact-intro p,
.impact-intro h2{
    padding: 0 28px 0 28px;
    margin-bottom: 0;
}
.report-title {
    font-size: 200%;
}
p {
    font-size: 100%;
    margin: 1.5em auto;
}
.caption {
    font-size: 75%;
color: #333;
}
.flex {
    display: flex;
}
.center-flex,
.block-kpi div {

    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-evenly;
} 
div.story .mt-0 {
    padding-top:0;
    margin-top:0;
}
/*---- Lightbox ----*/
a.secondary-image.hidden {
    display: none;
}
a.lightbox-gallery {
    display: block;
}
a.secondary-image {
    width: 32%;
    box-sizing: border-box;
}
a.secondary-image img {
    width: 100%;
    height: auto;
    overflow: hidden;
        box-shadow: 1px 1px 3px #ddd;
}
/*---- Baseline Gradient Colour ----*/
.gradient {
   background: #009FA1;
background: linear-gradient(90deg,rgba(0, 159, 161, 1) 0%, rgba(45, 178, 74, 1) 100%);
}
/*--accents--*/
 .pale-green{
    background-color: #e8f4d9;
  }
    .pale-blue{
    background-color: #e9f6fc;
  }
    .pale-turquoise{
    background-color: #d1f2eb;
  }
  .pale-purple {
    background-color: #e0d5ea;
  }
.box-overlap {
    margin-bottom: -36px;
}
/*---- Styles for letters ----*/

.portrait {
    margin: 8px 16px 0 0;
    border-radius: 8px;
    border: solid 1px #eee;

    box-shadow:  1px 1px #ddd;
    }
.minister-message {
    margin: 0 8px 0 16px;
    padding-right: 8px;
}
.minister-message p {
    margin-top: 0;
}
.margin-0{
    margin: 0 0 4px 0;
}
/*---- Styling the HR for the letters ----*/
hr {
    border:0;
    height: 4px;
    min-height: 4px;
    width: 25%;
    margin: 50px  auto;
}
hr.spacer {
    width:0;
}
.cut-right {
  clip-path: polygon(0.5% 0, 100% 0%, 100% 100%, 0% 100%);

}
.cut-left {
     clip-path: polygon(0 0, 100% 0%, 99.5% 100%, 0% 100%);

}
/*---- Base styles for quotes ---*/
.leader-message p {
    margin: 16px 32px;
    color: #fff;
    font-size: 125%;
}
.leaders {
    text-align: center;
}
.leaders p.leader-name {
    font-size: 125%;
    margin-bottom: 8px;
}
.leader-quote {
    font-size: 150%;
}
.leaders p.leader-title {
    font-size: 100%;
    line-height: 1.5;
        margin-top: 8px;
}
.leader.responsive-image {
    max-width: 600px;
}

/*---- Base styles for images for banners and sections ----*/
.hero-banner {
    margin: 16px 0 48px 0;
}

.callout .image {
 clip-path: polygon(0 0, 95% 00%, 100% 100%, 0% 100%);
}
.callout .image.right {
 clip-path: polygon(5% 0, 100% 00%, 100% 100%, 0% 100%);
}
.callout h2 {
    color: #fff;
    margin: 0;
    font-size: 175%;
    line-height: 1.3;
    padding: 16px 0 0 0;
}
.callout .story {
    color: #fff;
    margin: 0 24px 0 64px;
    width: 50%;
}
.column-wrapper.kpi {
    color: #000;
    padding: 8px 0;
    margin: 0 auto;

}
.column-wrapper.kpi.mt-0 {
    margin: 0 auto;     
}
.column-wrapper.kpi.mb-0 {
    margin: 32px 0 0 0;     
}
.eyebrow {
    margin-top: 0;
    font-weight: 500;
}
h2.intro-head {
border-bottom: solid 3px #fff;
text-transform: uppercase;
font-weight: bold;
font-size: 85%;
}
h2.intro-head.years {
    border-bottom: solid 3px #65bc45;

}

.white-text {
    padding: 0 16px;
    color: #fff;
}
.stories {
    margin-top: 24px;
}



/*---- Base style for the  banners and KPIs ----*/

.hero-message {
    background-color: transparent;
    color: #fff;
}
    .hero-image img {
        width:100%;
        object-fit: cover;
    }
    .fusion-banner {
        object-position: 0 0 ;
    }
.banner {
   width: 100%;
   height: 100%;  
}
.hero-message h2 {
    font-size: 380%;
    line-height: 1.2;
    text-transform: uppercase;
}
h2.section-title {
    font-size: 300%;
    line-height: 1.2;
    margin: 16px 0;
    text-transform: uppercase;
}
.twenty-years {
display: block;
background: #009FA1;
background: linear-gradient(90deg,rgba(0, 159, 161, 1) 0%, rgba(45, 178, 74, 1) 100%);
border-radius: 8px;
color: #fff;
text-transform: uppercase;
text-align: center;
font-weight: bold;
width: 180px;
padding: 4px 8px;
margin: 0;
font-size: 85%;
}
.section-intro {
    font-size: 135%;
    margin-top: 0;

}
.mb-0 .major-kpi {
    margin: 40px 24px 8px 24px;
 
}
.kpi-flex {
align-items: center;
margin: 16px 0;
}
.kpi-flex p {
    padding: 0 16px 0 32px;
    margin: 0;
    font-size: 100%;
    line-height: 1.3;
}
.kpi-flex p.long {
    font-size: 105%;
}
p .date{ 
    font-size: 60%;
}
.kpi-focus {
    font-size: 120%;
    font-weight: bold;
}
.kpi-boost {
    font-size: 110%;
}
/*-- Consider setting the margin for the hero messages individually due to the mobile layout --*/

/*---- Font Styles ----*/
html {
  font-family: Montserrat, serif;
  letter-spacing: -.2px;
  font-optical-sizing: auto;
  font-weight: 500;
  line-height: 1.8;
  font-style: normal;
}
/*-- Sub head needs bottom margin removing --*/
h3 {
    margin-bottom: 0;
    font-size: 118.75%;
    margin: 24px 16px 24px 0;
    letter-spacing: -.4px;
}
h3.img {
    margin: 0 16px;
}
/*-- Seperates the text from the screen edge on devices--*/
/* - is this selector causing double spacing? feature-text,*/
.intro-text {
    padding:0 24px;
}
.feature-text {
    margin: 32px 0 24px 0;
}
.outro {
    background-color: #333;
    color: #fefefe;
    padding:36px;
}
.outro-icon {
    padding-top: 24px;
}
.outro div{
    margin: 0 18px;
}
.column {
    box-sizing: border-box;
}
.outro a,
.outro a:link,
.outro a:visited {
    color: #39B54A;
}
.outro a:hover {
    color: #2980b9;
    text-decoration: underline;
}
/*---- Responsive Images - limited to features ----*/
img.column-feature, 
.responsive-image
 {
    width: 100%;
    height: auto;
}

/*---- Links in the menu ----*/
a.about,
a.about:link,
a.about:visited {
    margin: 0 16px;
    color: #333;
    display: inline-block;
    padding: 2px 12px;
    text-decoration: none;

}
a.language,
a.language:link,
a.language:visited {
    color: #000;
    display: inline-block;
    padding: 2px 12px;
    text-align: center;
    border-radius: 20px;
    box-sizing: border-box;
    text-decoration: none;
}

a.language:hover,
a.about:hover {
    background-color: #3A8711;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;

}
/*---- Links in the document ----*/
a,
a:link, 
a:visited {
        color: #3C8711;
        text-decoration: underline;

}
a:hover {
       color: #2980b9;
    text-decoration: none;
}
/*.minister-message a,
a:link, 
a:visited {
   color:#3C8711;
   text-decoration: none;
}*/
a.white-link,
a:link.white-link, 
a:visited.white-link {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}
a:hover.white-link {
    text-decoration: none;


}
.minister-message a:hover {
    color: #2980b9;
    text-decoration: underline;
}
/* --- Link buttons --- */
a.button-link,
a.button-link:link,
a.button-link:visited, 
p.read-more {
    color: #fff;
    background-color: #3A8711 ;
    display: block;
    padding: 6px 8px;
    width: 180px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: bold ;
}
a.button-link:hover,
p.read-more:hover {
    text-decoration: underline;
    background-color: black;
    color: #fff;
}

/*--- The footer --*/
.wrapper.footer-section {
    background-color: #121212;
    text-align: right;
    color: #fff;
    border-top: #39B54A 5px solid;
}
footer {
    padding: 24px;
}
footer p {
    font-size: 90%;
}
/*--- Links in the footer ---*/

footer a,
footer a:link, 
footer a:visited {
   color: #39B54A;
}
footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}
.news-block {
    border-radius: 16px;
    background-color: #fefefe;
    overflow: hidden;
    max-width: 410px;
}
.news-block img {
    width: 100%;
    height: auto;
}
/*--Width in responsive part--*/
.news-block h3,
.news-block p {
    margin: 16px 24px;
}

/*---Capitalization is wrong on the french this is the fix ---*/
.caps {
    text-transform: uppercase;
}
.column.letters.right .flex{
align-items: center;    
    }

/*---- Media Queries ----*/
/*---- Mobile ----*/
@media screen and (min-width: 320px) {
    .header-section  {
        flex-direction: column;
        align-items: center;
        border: #39B54A;
    }
    nav {
        padding: 0;
        background-color: #f5f9ef;
        width: 100%;
        text-align: center;
    }
    h1.logo {
        text-align: center;
        padding: 0 5%;
        box-sizing: border-box;
    }
    h1.logo img {
        width: 100%;
        height: auto;
        max-width: 410px;
    }
    .hero-banner {
        flex-direction: column-reverse;
    }
    .hero-message,
    .hero-image {
        width:100%;

        box-sizing: border-box;
    }
    .hero-message {       
        padding: 5% 2%;
    }

    .mt-16 {
        margin-top:16px;
    }
    .feature.gallery {
        margin-bottom: 16px;
    }
.leaders p.leader-title {
    margin: 8px 16px;
}
/*-- overlap uses the space --*/
.hero-message.intro {
        margin:0;
    }
    .french .hero-message h2 {
        font-size: 36px;
    }
    h2 {
        font-size: 1.25em;
    }
    h2.section-title {
        font-size: 220%;
    }
    .french-language h2{
        font-size: 1.15em;
    }
    .french h2.section-title {
        font-size: 240%;
    }
    .column-wrapper {
        flex-direction: column;
    }
    .column {
        width: 100%;
        padding: 0 5%;
    }
    .twenty-years {
                margin: 0 5%;

    }
    .callout .feature {
        display: none;
    }
    .callout .story.column {
        margin: 16px auto;
        width: 90%;
    }
   p,
   h2 {
        padding: 0 5%;

    }
    .news-block p,
       .callout p  {
        padding: 0;
    }
        .hero-message h2, 
        .hero-message .eyebrow  {
            margin: 0;
        }
        .hero-message h2 {
        font-size: 290%;
    }
        .three-column-wrapper {
            width: 100%;
            box-sizing: border-box;
            flex-direction: column;
        }
        .minister-message {
            padding-bottom: 12px;
            margin-bottom: 12px;
        }

                .hero-banner .flex {
            flex-direction: row-reverse;
            justify-content: center;  
              }
          hr {
            margin: 25px  auto;}
}
/*---- Tablet ----*/
@media screen and (min-width: 650px) {
    .hero-message,
    .hero-image {
        width:50%;
    }
    .hero-message {
        display: flex;
        flex-direction: column;
        justify-content: center;
}
.french .hero-message h2 {
        font-size: 230%;
    }
    .hero-message h2 {
        font-size: 290%;
    }
.hero-banner {
    flex-direction: row;
}
    .header-section {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 16px;
}
    .column-wrapper  {
        justify-content: center;
        gap: 32px;
        flex-direction: row;
    }
    .asymmetry-right {
        width: 90%;
        margin: 0 0 0 10%;
    }
    .asymmetry-left {
        width: 90%;
        margin: 0 10% 0 0;
    }
    .narrow-center{
         width: 80%;
        margin: 0 10% 0 10%;
    }
    .column {
        width: 46%;
        padding: 0 1%;
        box-sizing: border-box;
    }
    .callout .feature.column {
        display: block;
        padding: 0;
    }
    .callout .story.column {
        margin: 16px auto;
        width: 60%;
        padding-left: 3%;
    }
    .kpi-flex img {
        width: 70px;
        height: 70px;
    }
    .hero-image.health {
        background-position-x: 0;
    }
    .hero-image.message-2 {
        background-position: center;
        height: 400px;
    }
     h2.section-title {
        font-size: 280%;
    }
    .major-kpi {
        margin: 32px 28px ;
        font-size: 2.4em;
        font-weight: bold;
        }
        .three-column-wrapper {
            width: 100%;
            box-sizing: border-box;
            flex-direction: row;
        }
        .outro-icon {
            display: block;
        }
        .news-block {
                box-shadow: 1px 1px 3px #ddd;
        }
                  hr {
            margin: 35px  auto;
}
}
/*---- small computer ----*/

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

    .hero-message h2 {
        font-size: 340%;
    }
    .french .hero-message h2 {
        font-size: 280%;
    }
              hr {
            margin: 45px  auto;}
}

/*---- Computer ----*/
@media screen and (min-width: 1024px) {

    /*-- Header layour altered on computer --*/
    .header-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.hero-message {
    padding-left:8%;
}

    .hero-message h2 {
        font-size: 360%;
    }
    .french .hero-message h2 {
        font-size: 320%;
    }

.hero-banner {
    max-height: 400px;
}
    .header-section {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-end;
    }
    nav {
        width: auto;
        background: transparent;
        border: 0;
        font-size: 115%;
        text-align: right;
    }
    h1.logo {
    text-align: left;
    margin: 0;
    padding: 0;
    }
    p,
    h2 {
        padding: 0;
    }

    .hero-banner {
        width:100%;
    }
        .hero-banner .flex {
            flex-direction: column;
            justify-content: center;  
              }
    .column.letters {
        padding: 24px 0 0 48px;
    }

   
    /*-- Limit the width on full sized devices - font line length is to be considered--*/
    .header-section {
                width: 1024px;
                        margin:24px auto 16px auto;


    }
    .column-wrapper,
           .asymmetry-right,
                  .asymmetry-left  {
        width: 1024px;
                margin: 0 auto;

    }
 
        .narrow-center{
         width: 70%;
        margin: 0 15% 0 15%;
    }
    .wrapper.footer-section {
        width: 100%;
    }
    .hero-image {
        height: auto;
        justify-content: flex-start;
        align-items: center;
    }
    .mt-16 {
        margin-top:0;
    }
    .twenty-years {
                margin: 0;

    }
    .column-wrapper  {
        justify-content: space-between;
        flex-direction: row;
    }

        .news-columns {
    justify-content: center;
    gap: 32px;
    width: 90%;
}
   .callout .feature.column {
        display: block;
        padding: 0;
        width: 45%;
    }
    .major-kpi {
        color: #333;
        margin: 40px;
        font-size: 2.8em;
        }
    .kpi-flex img {
        width: 100px;
        height: 100px;
    }
    .three-column {
        width: 30%;
        box-sizing: border-box;
    }
    .column {
        width: 49%;
    }
    .column.news{
        width: 33%;
    }
    .column.feature {
        width: 35%;
    }
    .column.story {
        width: 65%;
    }
    .story.column p:first-child {
        margin-top: 0;
    }
    .callout .column.story {
        width: 50%;
        margin-top: 36px;
        margin-left:2%;
    }
}
@media screen and (min-width: 1220px) { 
.hero-message {
    padding-left:13%;
}
}