.gender-health-report--profile .flex-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.gender-health-report--profile .center {
    text-align: center;
}

.gender-health-report--profile select {
    background-color: white !important;
    border: 2px solid #999 !important;
    color: #333 !important;
    -webkit-appearance: menulist;
    -moz-appearance: menulist; 
    appearance: menulist; 
    max-width: 100%;
}

.gender-health-report--profile h4 {
    font-size: 2rem;
}

.gender-health-report--profile h5 {
    text-transform: none;
    font-size: 1.5rem;
    margin-top: 0;
}

.gender-health-report--profile h6 {
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 0;
}

.gender-health-report--profile #info-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.gender-health-report--profile #info-list li {
    margin-bottom: 15px;
}

.gender-health-report--profile #info-list b {
    font-size: 1.3rem;
}

.gender-health-report--profile .profile-box,
.gender-health-report--profile .score-box {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px; 
    border-radius: 4px; 
    background-color: white; 
    padding: 20px; 
    margin: 0px 0px 20px 0px;
}

.gender-health-report--profile .profile-box2 {
    -webkit-border-radius: 4px; 
    -moz-border-radius: 4px; 
    border-radius: 4px; 
    background-color: #f6f5f2; 
    padding: 20px; 
    text-align: center;
    margin-bottom: 20px;
}

.gender-health-report--profile .profile-box2 h5 {
    margin-bottom: 5px;
}

.gender-health-report--profile .score-box {
    padding: 0;
}

.gender-health-report--profile .score-row {
    padding: 5px 20px;
}

.gender-health-report--profile .score-row:nth-child(even) {
    background-color: #f6f5f2;
}

.gender-health-report--profile .score-badge {
    float: right;
    color: white;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    height: 60px;
    width: 60px;
    line-height: 60px;
    margin: 3px 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space: nowrap;
}

.gender-health-report--profile .score-badge-benchmark {
    float: none;
    font-size: 1.6rem;
    height: 120px;
    width: 120px;
    line-height: 120px;
    margin-bottom: 20px;
}

.gender-health-report--profile .score-badge.ghdata-colour0 {
    color: #333;
}

.gender-health-report--profile label {
    font-weight: bold;
    font-size: 1.2rem;
}

.gender-health-report--profile label[for] {
    cursor: pointer;
}

.gender-health-report--profile select[filter] {
    width: 150px;
    float: left;
    margin: 0 5px 5px 0px;
}

.gender-health-report--profile .scoring-key th {
    color: white;
    font-size: 1.2rem;
    background-color: #26375c;
}

.gender-health-report--profile .scoring-key td {
    border: none;
    font-size: 0.8rem;
}

.gender-health-report--profile .scoring-key tr td:first-child {
    width: 80px;
}

.gender-health-report--profile .scoring-key .score-badge {
    float: none;
    height: 45px;
    width: 45px;
    line-height: 45px;
}

.gender-health-report--profile .button {
    font-size: 1.1rem;
    color: #222;
    padding: 10px 15px;
    text-decoration: none;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.gender-health-report--profile .button-blue {
    background-color: rgb(38, 55, 92) !important;
    color: white !important;
    list-style: disc !important;
}

.gender-health-report--profile .button-blue:hover {
    background-color: #6baec7 !important;
    color: white !important;
}

/* charity_is_hope-shortcodes-style parent CSS was affecting tables */
.gender-health-report--profile .css-table {
    display: table;
    vertical-align: middle;
}

/* Download img + pdf */
.gender-health-report--profile .score-img {
    position: fixed;
    bottom: -1000%;
    left: -1000%;
    width: 680px;
    padding: 10px 50px 20px 50px;
}

.gender-health-report--profile .score-download .heading {
    font-family: inherit !important;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.01px !important;
}

.gender-health-report--profile .score-download {
    font-family: inherit !important;
    line-height: 1rem;
}

.gender-health-report--profile .score-download h2 {
    font-size: 42px;
}

.gender-health-report--profile .score-download h4 {
    font-size: 32px;
    margin-top: 0;
}

.gender-health-report--profile .score-download h6 {
    font-size: 19px;
}

.gender-health-report--profile .score-download .score-row {
    font-size: 16px;
}

.gender-health-report--profile .score-download .score-box {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid #eee;
}

/* Justice profile uses the same legacy React markup, but the rebuild wrapper
   has a Justice-specific modifier. Mirror the original profile styles here. */
.gender-health-report--justice-profile .flex-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.gender-health-report--justice-profile,
.gender-health-report--justice-profile .center {
    text-align: center;
}

.gender-health-report--justice-profile select {
    background-color: white !important;
    border: 2px solid #999 !important;
    color: #333 !important;
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    max-width: 100%;
}

.gender-health-report--justice-profile h1,
.gender-health-report--justice-profile h4 {
    text-transform: uppercase;
}

.gender-health-report--justice-profile h4 {
    font-size: 2rem;
}

.gender-health-report--justice-profile h5 {
    text-transform: none;
    font-size: 1.5rem;
    margin-top: 0;
}

.gender-health-report--justice-profile h6 {
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 0;
}

.gender-health-report--justice-profile #profile {
    clear: both;
}

.gender-health-report--justice-profile #info-list {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.gender-health-report--justice-profile #info-list li {
    margin-bottom: 15px;
}

.gender-health-report--justice-profile #info-list b {
    font-size: 1.3rem;
}

.gender-health-report--justice-profile .profile-box,
.gender-health-report--justice-profile .score-box {
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: white;
    padding: 20px;
    margin: 0px 0px 20px 0px;
    text-align: left;
}

.gender-health-report--justice-profile .profile-box2 {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #f6f5f2;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.gender-health-report--justice-profile .profile-box2 h5 {
    margin-bottom: 5px;
}

.gender-health-report--justice-profile .score-box {
    padding: 0;
}

.gender-health-report--justice-profile .score-row {
    padding: 5px 20px;
}

.gender-health-report--justice-profile .score-row:nth-child(even) {
    background-color: #f6f5f2;
}

.gender-health-report--justice-profile .score-badge {
    float: right;
    color: white;
    font-weight: bold;
    text-align: center;
    display: inline-block;
    height: 60px;
    width: 60px;
    line-height: 60px;
    margin: 3px 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    white-space: nowrap;
}

.gender-health-report--justice-profile .score-badge-benchmark {
    float: none;
    font-size: 1.6rem;
    height: 120px;
    width: 120px;
    line-height: 120px;
    margin-bottom: 20px;
}

.gender-health-report--justice-profile .score-badge.ghdata-colour0 {
    color: #333;
}

.gender-health-report--justice-profile label {
    font-weight: bold;
    font-size: 1.2rem;
}

.gender-health-report--justice-profile label[for] {
    cursor: pointer;
}

.gender-health-report--justice-profile select[filter] {
    width: 150px;
    float: left;
    margin: 0 5px 5px 0px;
}

.gender-health-report--justice-profile .scoring-key th {
    color: white;
    font-size: 1.2rem;
    background-color: #26375c;
}

.gender-health-report--justice-profile .scoring-key td {
    border: none;
    font-size: 0.8rem;
}

.gender-health-report--justice-profile .scoring-key tr td:first-child {
    width: 80px;
}

.gender-health-report--justice-profile .scoring-key .score-badge {
    float: none;
    height: 45px;
    width: 45px;
    line-height: 45px;
}

.gender-health-report--justice-profile .button {
    font-size: 1.1rem;
    color: #222;
    padding: 10px 15px;
    text-decoration: none;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}

.gender-health-report--justice-profile .button-blue {
    background-color: rgb(38, 55, 92) !important;
    color: white !important;
}

.gender-health-report--justice-profile .button-blue:hover {
    background-color: #6baec7 !important;
    color: white !important;
}

.gender-health-report--justice-profile .css-table {
    display: table;
    vertical-align: middle;
}

.gender-health-report--justice-profile .score-img {
    position: fixed;
    bottom: -1000%;
    left: -1000%;
    width: 680px;
    padding: 10px 50px 20px 50px;
}

.gender-health-report--justice-profile .score-download .heading {
    font-family: inherit !important;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.01px !important;
}

.gender-health-report--justice-profile .score-download {
    font-family: inherit !important;
    line-height: 1rem;
}

.gender-health-report--justice-profile .score-download h2 {
    font-size: 42px;
}

.gender-health-report--justice-profile .score-download h4 {
    font-size: 32px;
    margin-top: 0;
}

.gender-health-report--justice-profile .score-download h6 {
    font-size: 19px;
}

.gender-health-report--justice-profile .score-download .score-row {
    font-size: 16px;
}

.gender-health-report--justice-profile .score-download .score-box {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 2px solid #eee;
}
