/*
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/* ----------------------------------------------------------------------- */

/* NOTE: This is for displaying the footnotes inline, if Javascript is disabled. This will only work for
 * the default group of footnotes, so if you have other groups, and want to degrade gracefully, copy this rule.
 */
.footnote { display: inline ; padding-left: 0.25em ; font-size: 80% ; font-style: italic ; color: #888 ; }

/* footnote markers (in the main content) */
.fnote-marker {
    padding-left: 0.25em ; vertical-align: super ;
    font-size: 70% ; font-style: italic ; color: #666 ;
    cursor: pointer ;
}

/* the footnote popup */
#fnote-popup {
    max-width: 50% ;
    padding: 0.25em ;
    border: 1px solid #666 ; border-radius: 4px ;
    background: #ffffc0 ;
    font-size: 90% ;
}

/* the container that shows the footnote content (usually at the bottom of the page)  */
.fnote-container { clear: both ; margin-top: 1em ; padding-top: 0.25em ; border-top: 1px solid #aaa ; font-style: italic ; }
.fnote-container .fnote { display: block ; margin-top: 0.25em ; font-size: 90% ; color: #444 ; }
.fnote-container .fnote i, .fnote-container .fnote em { color: #666 ; font-style: normal ; }
.fnote-container .fnote .marker {
    vertical-align: super ; font-size: 70% ; padding-right: 0.5em ;
    text-decoration: none ; cursor: pointer ;
}
.fnote-container .fnote a.marker { color: inherit ; }
