﻿

#cont-chart-1 {
    position: absolute;
    top: 0.5vw;
    left: 0.5vw;
    right: 45%;
    margin-right: 0.75vw;
    bottom: 50%;
    margin-bottom: 0.75vw;
    background-color: white;
    color: #ffffff;
    background-image: url(../../FirstNations/Graphics/affordability-bg.svg?111125-3);
    background-repeat: no-repeat;
    /*background-size: 125%;
    background-position: left -6vw center;*/
    background-size: cover;
    background-position: center bottom -2.6vw;
}
@media (min-aspect-ratio: 1.5) and (max-aspect-ratio: 1.85) {
    #cont-chart-1 {
        background-size: cover;
        background-position: center center;
    }
}
@media (max-width: 1100px) {
    #cont-chart-1 {
        background-size: cover;
        background-position: center center;
    }
}
    #cont-chart-1 .aZoomIn, #cont-chart-1 .aZoomOut {
        display: none;
    }

#chart-1-title {
    color: #000000;
    font-size: 170%;
}

#chart-1-gap {
    position: absolute;
    bottom: 75%;
    left: 15%;
    right: 35%;
    font-size: 81%;
    font-family: Inter-SemiBold;
    color: #000000;
    opacity: 0;
    transition: opacity linear 200ms;
}

    #chart-1-gap.visible {
        opacity: 1;
    }

    #chart-1-gap table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0px;
        margin: 0px;
    }

    #chart-1-gap td {
        width: 16.66667%;
        text-align: center;
    }

#chart-1 {
    position: absolute;
    bottom: 27%;
    left: 15%;
    right: 35%;
    top: 25%;
    font-size: 90%;
    opacity: 0;
    transition: opacity linear 200ms;
}

    #chart-1.visible {
        opacity: 1;
    }

#chart-1-1 {
    position: absolute;
    width: 6vw;
    left: 55%;
    top: 20%;
    height: 6vw;
    font-size: 90%;
    transition: all linear 200ms;
}

#chart-1-1-label {
    position: absolute;
    width: 6vw;
    left: 55%;
    top: 20%;
    margin-top: 6.2vw;
    text-align: center;
    color: #10332f;
    font-size: 95%;
    font-family: Nunito-ExtraBold;
    transition: all linear 200ms;
}
    #chart-1-1.switch, #chart-1-1-label.switch {
        left: 70%;
    }

#chart-1-2 {
    position: absolute;
    left: 45%;
    margin-left: -6vw;
    width: 6vw;
    top: 20%;
    height: 6vw;
    font-size: 90%;
    opacity: 0;
    transition: opacity linear 200ms;
}

    #chart-1-2.visible {
        opacity: 1;
    }

#chart-1-2-label {
    position: absolute;
    left: 45%;
    margin-left: -6vw;
    width: 6vw;
    top: 20%;
    margin-top: 6.2vw;
    text-align: center;
    color: #10332f;
    font-size: 95%;
    font-family: Nunito-ExtraBold;
    opacity: 0;
    transition: opacity linear 200ms;
}

    #chart-1-2-label.visible {
        opacity: 1;
    }

#chart-1-2-gap {
    position: absolute;
    right: 55%;
    margin-right: 1.6vw;
    top: 20%;
    margin-top: 3.7vw;
    text-align: center;
    color: #024344;
    font-family: Nunito-Black;
    opacity: 0;
    transition: opacity linear 200ms;
}

    #chart-1-2-gap.visible {
        opacity: 1;
    }



#cont-chart-2 {
    position: absolute;
    top: 0.5vw;
    left: 55%;
    right: 0.5vw;
    margin-left: 0.75vw;
    bottom: 50%;
    margin-bottom: 0.75vw;
    background-color: white;
}

#chart-2-title {
}

#chart-2 {
    position: absolute;
    bottom: 2.5vw;
    left: 40%;
    right: 1vw;
    top: 20%;
    font-size: 90%;
}

#cont-chart-2 .block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    left: 1vw;
    width: 28%;
    height: 2.6vw;
    border-radius: 50px;
    padding-left: 0.8vw;
    padding-right: 0.8vw;
    font-size: 110%;
    font-family: Nunito-ExtraBold;
}
#cont-chart-2.zoom .block {
    height: 3.4vw;
}
    #cont-chart-2 .block div {
        display: inline-block;
    }
    #cont-chart-2 .block .n {
        display: inline-block;
        font-size: 150%;
    }
    #cont-chart-2 .block .t {
        display: inline-block;
        margin-left: 0.5vw;
    }
        #cont-chart-2 .block .t span {
            display: block;
            font-size: 70%;
            font-family: Nunito-Bold;
            line-height: 110%;
        }
#block-2 {
    top: 20%;
    background-color: #5aa096;
}
#block-1 {
    top: 20%;
    margin-top: 3.6vw;
    background-color: #939393;
}
#block-3 {
    position: absolute;
    top: 20%;
    margin-top: 7.1vw;
    left: 1vw;
    width: 25%;
    font-size: 80%;
}

#cont-chart-2.zoom #block-2 {
    margin-top: 4.4vw;
}
#cont-chart-2.zoom #block-3 {
    margin-top: 8.8vw;
}





#cont-chart-3 {
    position: absolute;
    top: 50%;
    left: 0.5vw;
    right: 66.66%;
    margin-right: 0.75vw;
    bottom: 0.5vw;
    margin-top: 0.75vw;
    background-color: white;
}

#chart-3-title {
}

#chart-3 {
    position: absolute;
    bottom: 2.5vw;
    left: 1vw;
    right: 1vw;
    top: 15%;
    font-size: 90%;
}
#cont-chart-3.zoom #chart-3 {
    bottom: 3.5vw;
}





#cont-chart-4 {
    position: absolute;
    top: 50%;
    left: 33.33%;
    right: 33.33%;
    margin-left: 0.75%;
    margin-right: 0.75vw;
    bottom: 0.5vw;
    margin-top: 0.75vw;
    background-color: white;
}

#chart-4-title {
}
#chart-4-subheading {
    position: absolute;
    left: 1vw;
    top: 13%;
    font-size: 85%;
    font-weight: normal;
}
#chart-4 {
    position: absolute;
    bottom: 2.5vw;
    left: 1vw;
    right: 1vw;
    top: 20%;
    font-size: 90%;
}







#cont-chart-5 {
    position: absolute;
    top: 50%;
    left: 66.66%;
    right: 0.5vw;
    margin-left: 0.75%;
    bottom: 0.5vw;
    margin-top: 0.75vw;
    background-color: white;
}

#chart-5-title {
}
#chart-5-subheading {
    position: absolute;
    left: 1vw;
    top: 13%;
    font-size: 85%;
    font-weight: normal;
}
#chart-5 {
    position: absolute;
    bottom: 2.5vw;
    left: 1vw;
    right: 1vw;
    top: 20%;
    font-size: 90%;
}
#cont-chart-5.zoom #chart-5 {
    bottom: 3.5vw;
}