.footnote-button {
    background-color: #5C6F7C;
    border: medium none;
    border-radius: 0.3em;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    line-height: 0;
    margin: 0 0.1em 0 0.2em;
    opacity: 0.3;
    padding: 0.5em;
    position: relative;
    text-decoration: none;
    top: -0.15em;
    transition-duration: 0.25s;
    transition-property: opacity;
    vertical-align: middle;
    z-index: 5;
}
.footnote-button:hover {
    opacity: 0.6;
}
.footnote-button:active {
    opacity: 0.6;
}
.footnote-button.active {
    opacity: 0.9;
    transition-delay: 0.15s;
}
.footnote-circle {
    background-color: #e6e6e6;
    border: medium none;
    border-radius: 100%;
    display: inline-block;
    height: 0.32em;
    line-height: 0.5em;
    margin-right: 0.224em;
    width: 0.32em;
}
.footnote-circle:last-child {
    margin-right: 0;
}
.footnote-content {
    background: none repeat scroll 0 0 #fafafa;
    border: 1px solid #c3c3c3;
    border-radius: 0.5em;
    bottom: auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    display: inline-block;
    left: auto;
    margin: 1.21924em auto;
    max-width: 90%;
    opacity: 0;
    position: fixed;
    transform: scale(0.1) translateZ(0px);
    transform-origin: 50% 0 0;
    transition-duration: 0.25s;
    transition-property: opacity, transform;
    z-index: 10;
}
.footnote-content.active {
    opacity: 0.97;
    transform: scale(1) translateZ(0px);
}
.footnote-content.bottom {
    transform-origin: center top 0;
}
.footnote-content.top {
    transform-origin: center bottom 0;
}
.footnote-content.scrollable::after {
    background-color: #fafafa;
    bottom: 0.45em;
    color: rgba(0, 0, 0, 0.08);
    content: "...";
    font-family: Georgia;
    font-size: 1.8em;
    font-weight: bold;
    line-height: 0;
    margin-right: -0.75em;
    opacity: 1;
    position: fixed;
    right: 50%;
    text-align: center;
    transition-delay: 0.4s;
    transition-duration: 0.25s;
    transition-property: opacity;
    width: 1.5em;
    z-index: 20;
}
.footnote-content.scrollable.fully-scrolled::after {
    opacity: 0;
    transition-delay: 0s;
}
.footnote-content.scrollable .footnote-main-wrapper::before, .footnote-content.scrollable .footnote-main-wrapper::after {
    content: " ";
    position: absolute;
    width: 100%;
    z-index: 12;
}
.footnote-content.scrollable .footnote-main-wrapper::before {
    background: linear-gradient(to bottom, #fafafa 0%, #fafafa 50%, rgba(250, 250, 250, 0) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-radius: 0.5em 0.5em 0 0;
    height: 1.1em;
    left: 0;
    top: -1px;
}
.footnote-content.scrollable .footnote-main-wrapper::after {
    background: linear-gradient(to top, #fafafa 0%, #fafafa 50%, rgba(250, 250, 250, 0) 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    border-radius: 0 0 0.5em 0.5em;
    bottom: -1px;
    height: 1.2em;
    left: 0;
}
.footnote-main-wrapper {
    background-color: #fafafa;
    border-radius: 0.5em;
    box-sizing: border-box;
    margin: 0;
    max-width: 25em;
    overflow: hidden;
    position: relative;
    transition-duration: 0.25s;
    transition-property: max-height;
    z-index: 14;
}
.footnote-content-wrapper {
    background: none repeat scroll 0 0 #fafafa;
    border-radius: 0.5em;
    box-sizing: border-box;
    max-height: 30em;
    overflow: hidden;
    padding: 1.1em 1.3em 1.2em;
    position: relative;
    z-index: 8;
}
.footnote-content-wrapper img {
    max-width: 100%;
}
.footnote-content-wrapper *:last-child {
    margin-bottom: 0;
}
.footnote-content-wrapper *:first-child {
    margin-top: 0;
}
.tooltip {
    background: none repeat scroll 0 0 #fafafa;
    border: 1px solid #c3c3c3;
    border-top-left-radius: 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    height: 1.3em;
    margin-left: -0.65em;
    position: absolute;
    transform: rotate(45deg);
    width: 1.3em;
    z-index: 12;
}
.bottom .tooltip {
    bottom: auto;
    top: -0.65em;
}
.top .tooltip {
    bottom: -0.65em;
    top: auto;
}
.footnote-button span {
    color: white;
    font-family: "Ideal Sans SSm A, Helvetica Neue",Helvetica,Arial,sans-serif;
}
.footnote-button {
    border-radius: 1em;
    font-size: 0.75em;
    font-weight: 600;
    height: 1.3em;
    opacity: 0.7;
    padding-bottom: 0.2em;
    padding-top: 0.65em;
    text-align: center;
    top: -0.25em;
}