.profiles-display .profiles-navigation {
    margin-bottom: 2rem;
    background: #15416e;
    text-align: center;
}

.profiles-subcategory {
    width: 100%;
}

.profile-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.profile-block {
    margin-bottom: 1rem;
    text-align: center;
}

.profile-row > .profile-block {
    width: calc(100% / 3);
    padding: 0 1.2rem 1rem;
}

.profile-name {
    font-size: 23px;
    margin-bottom: 0;
}

.profile-position {
    font-size: 16px;
    margin-bottom: 8px;
}

.profile-row .profile-position,
.profile-row .profile-content > div {
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
}

.profile-content a.button {
    padding: 4px 15px;
    background: #15416e;
    display: inline-block;
    margin-top: 8px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}
.profile-content a.button:hover {
    background: #1e7bbe;
}

.profiles-display a.profile-anchor-link {
    padding: 0.5rem 1rem;
    display: inline-block;
    background: #15416e;
    color: white;
    transition: .2s ease-in-out all;
}

.profiles-display a.profile-anchor-link:hover {
    background-color: #85BBFF;
    color: white;
}

.profiles-display .profiles-to-top {
    text-align: right;
    display: block;
}

.profiles-display hr {
    border: solid 1px #daeef7;
    margin: 1rem 0 2rem;
}

.profile-img img {
    height: 175px;
    width: auto;
}

.state-profiles .profile-img img {
    height: 290px;
}

.profile-row-leadership .profile-img img,
.profile-row-offices .profile-img img {
    height: 230px;
}

.profile-row-leadership .profile-block,
.profile-row-offices .profile-block {
    width: calc(100% / 2);
}

.profile-links a,
.profile-links button {
    padding: 5px;
    background: #15416e;
    border-radius: 5px;
    line-height: 1;
    display: inline-block;
    font-size: 16px;
    color: white;
    margin: 0 5px;
}

.profile-links a:hover,
.profile-links button:hover {
    background: #1e7bbe;
    color: white;
}

.profile-expand {
    max-height: 0;
    overflow: hidden;
    transition: .3s ease-in-out all;
}

.profile-expand.active {
    max-height: 100%;
}

.profile-expand > div {
    padding: 8px;
    background: white;
    max-width: 250px;
    margin: auto;
    margin-top: 1rem;
}

.profile-heading {
    width: 100%;
    justify-content: flex-start;
    display: flex;
    margin-bottom: 1rem;
}
.profile-heading img {
    max-height: 35px;
    margin-right: 15px;
    align-self: center;
    box-shadow: 0 1px 3px #00000026;
}
/*.subcategory-heading h2 {*/
/*    margin: 0;*/
/*}*/

.anchored-link {
    position: relative;
}

.anchored-link span {
    position: absolute;
    top: -170px;
}

.profile-content a, .profile-content button {
    padding: 5px;
    background: #15416e;
    border-radius: 5px;
    line-height: 1;
    display: inline-block;
    font-size: 16px;
    color: white;
    margin: 0 5px;
}
.profile-content a:hover {
    color: white;
}
.profile-expand a {
    overflow-wrap: anywhere;
}

@media(max-width:750px){
    .profile-row > .profile-block {
        width: calc(100% / 2);
        padding: 0 1.2rem 1rem;
    }
}

@media(max-width:500px){
    .profile-row > .profile-block {
        width: 100% !important;
        padding: 0 1.2rem 1rem;
    }
}