body {
    max-width: 950px;
    margin: 0 !important;
}

hr {
    height: 2px;
    border-width: 0;
    color: rgba(0, 163, 166, 0.1);
    background-color: rgba(0, 163, 166, 0.1);
}


#tileshere {
    margin: 10px 0;
    margin-left: 10px;
}

.tile {
    margin-left: 5px;
    margin-right: 5px;

}

#top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.layer {
    display: flex;
    flex-direction: row;
    width: 100%;
}


.title {
    padding: 12px 12px 4px 12px !important;
    margin-bottom: 10px !important;
    font-size: 16px !important;
    color: #222222 !important;
    font-weight: 700 !important;
}

.containerTop {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.BgColour {
    text-align: left;
}

.cat {
    font-size: 18px;
    min-width: 20px;
    margin-right: 5px;
}

.measure {
    display: inline-flex !important;
    margin: 0 12px !important; 
    padding: 5px 8px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    align-items: center !important;
}

.changeSingle {
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 0 0 0 12px;
}

.changeDuo {
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin: 0 0 0 12px;
}

.since {
    font-size: 14px;
    color: #414042;
    text-align: right;
}

.percent {
    font-size: 18px;
    font-weight: 700;
    color: #206095;
    min-width: 30px;
}

.arrow {
    padding: 0 5px;
    height: 100%;
    vertical-align: middle;
}

.outlook {
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    padding: 4px 3px;
    border-radius: 4px;
}

.outlook.Improved {
    color: #097C80;
    background-color: #E9FBF9;
}

.outlook.Declined {
    color: #BC3B27;
    background-color: #FCE9E3;
}

.outlook.No {
    color: #676668;
    background-color: #ECECEC;
}

.outlook.Change.not.assessed {
    font-size: 14px;
    color: #414042;
    font-weight: 400;
    padding: 0;
}

.commentary {
    padding: 0 12px;
    font-size: 16px;
    color: #222222;
}

.source {
    padding: 16px 12px 12px 12px;
    font-size: 14px;
    font-weight: 400;
    color: #414042;
}

.tile {
    width: 70%;
    margin: 5px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-right: 20px;
}

.chart {
    width: 35%;
    margin: 5px 0;
}


.graphic {
    padding: 0 12px;
    background-color: #f5f5f5;
}

.source2 {
    display: none;
}

.wellbeing {
    background-color: #E6F6F6;
}

.relationships {
    background-color: #F4E9F2;
}

.health {
    background-color: #FCE6F0;
}

.do {
    background-color: #E9F5FA;
}

.live {
    background-color: #EBEBF4;
}

.finance {
    background-color: #FEEFE6;
}

.skills {
    background-color: #F2F5E1;
}

.economy {
    background-color: #FAE6E8;
}

.governance {
    background-color: #E5EBEE;
}

.environment {
    background-color: #E7F2EC;
}



@media (max-width: 699px) {

    .tile {
        width: 100%;
        margin: 5px 0;
    }

    .layer {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .title {
        padding: 0 20px !important;
    }

    .measure {
        margin: 0 12px;
        padding: 5px;
        margin-bottom: 5px;
    }

    .changeSingle {
        padding: 5px 10px;
        font-size: 16px;
        justify-content: left;
    }

    .changeDuo {
        padding: 5px 10px;
        font-size: 16px;
        justify-content: left;
    }

    .since-line {
        width: 90%;
    }

    .since {
        font-size: 14px;
        padding: 0 10px 5px 10px;
        text-align: left;
    }

    .arrow {
        padding-right: 20px;
    }

    .commentary {
        padding: 0 20px;
        font-size: 16px;
        width: 90%;
        color: #222222;
    }

    .chart {
        width: 90%;
        margin: 5px 20px;
    }

    .source {
        display: none;
    }

    .source2 {
        padding: 0 20px;
        display: block;
        margin: 5px;
        font-size: 14px;
        width: 90%;
        color: #414042;
    }

    .containerTop {
        flex-direction: column;
        align-items: flex-start;
    }

}