
.charity h4 {
    margin: .3em 0 0 0;
    font-size: 1.1em;
    text-align: center;
}

.charity-link {
    line-height: .8em;
    text-align: center;
}

.panel-form .charity-link {
    margin-bottom: 1em;
}

.charity-link a {
    font-size: 0.8em;
    color: #5c626d;
}

.charity .runner a {
    color: #5c626d;
}

.charity .runner a:hover {
    color: black;
}

.charity-header {
    margin: .5em;
}

.charity-sum {
    color: var(--race-text-muted);
    margin: 1em 2em;
    height: 1em;
}

.charity-total {
    float: left;
}

.charity-donors {
    float: right;
}

.charity .backing {
    margin-left: 2.7em;
}

.charity .runner .name {
    text-decoration: none;
}

.charity-more {
    cursor: pointer;
    font-size: 0.8em;
}

#charity-top-groups-list li:after {
    content: ' ';
    display: table;
    clear: both;
}
.charity-top-groups.expanded #charity-top-groups-list {
    max-height: none;
}
.charity-top-groups .runner.noimage {
    line-height: 1.5em;
    margin-bottom: .3em;
}
.charity-top-groups .runner .place_number {
    height: 2em;
    display: block;
    float: left;
}
.charity-top-groups .runner .name {
    display: block;
    width: auto;
}
.charity-top-groups .runner .distance {
    display: block;
    text-align: left;
    float: none;
    height: auto;
}

p.charity-show-older {
    background-color: var(--race-panel-bg) !important;
}

#donation-selector-form {
    clear: both;
}

#donation-form {
    margin: .5em 0;
}

#donation-form .field label {
    display: block;
    line-height: 1.5em;
}

#donation-form form {
    position: relative;
}

.panel-form [id^=completable_id_backed_] {
    width: 100%;
    max-width: 100%;
}

#field_backed_all {
    line-height: 1.6em;
    text-align: center;
}

#charity-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 100;
    background: var(--race-header-bg);
    color: #fff;
}
