/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; cursor: help }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between crisp and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author: James Lawson
   ========================================================================== */

body {
    font: normal 14px Helvetica Neue, Helvetica, sans-serif;
    text-shadow: 1px 1px 1px #ccc;
    margin: 0; padding: 0;
    background-color: #fff;
    line-height: 14px;
}

@media all and (max-width:640px) { body { width: 100%; } }
@media all and (min-width:641px) { body { width: 640px; margin: 0 auto; } }

article {
    margin: 4px;
    border: 1px dotted #777;
    /* border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; */
    box-shadow: inset 0 0 120px 5px #ddd; -moz-box-shadow: inset 0 0 120px 5px #ddd; -webkit-box-shadow: inset 0 0 120px 5px #ddd;
    }

article header {
    border-top: 2px solid #000;
    color: #000;
    height: 40px;
    margin-bottom: 8px;
    background-color: #ccc;
    /* border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; */
    box-shadow: inset 0 -35px 35px -18px #ddd; -moz-box-shadow: inset 0 -35px 35px -18px #ddd; -webkit-box-shadow: inset 0 -35px 35px -18px #ddd;
    /*    background-image: -moz-linear-gradient(top, #ccc, #ddd); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #ccc), color-stop(1, #ddd)); */
    }

article header h1 { font: italic 16px 'Asap', Arial, sans-serif; font-weight: 700; line-height: 16px; margin-top: 4px; float: left; }
article header h2 { font: normal 12px 'Asap', Arial, sans-serif; font-weight: 400; line-height: 12px; }

article#synopsis {
    border: 2px dotted #222;
    box-shadow: inset 0 0 120px 5px #ccff66; -moz-box-shadow: inset 0 0 120px 5px #ccff66; -webkit-box-shadow: inset 0 0 120px 5px #ccff66;
    }

article header#bookchapterscene {
    border: none;
    background-color: #a9a9f5;
    box-shadow: inset 0 -35px 35px -18px #7fffd4; -moz-box-shadow: inset 0 -35px 35px -18px #7fffd4; -webkit-box-shadow: inset 0 -35px 35px -18px #7fffd4;
    /* background-image: -moz-linear-gradient(top, #e2a9f3, #a9a9f5); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #e2a9f3), color-stop(1, #a9a9f5)); */
    }

.part-book { font: bold 14px 'Share', Georgia, Serif; color: #fff; float: left; width: 20px; height: 32px; text-align: center; line-height: 14px; margin: 2px 1px 0 4px; background-color: #666; padding-top: 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }

.part-chapter { font: bold 14px 'Share', Georgia, Serif; color: #fff; float: left; width: 20px; height: 32px; text-align: center; line-height: 14px; margin: 2px 1px 0 1px; background-color: #888; padding-top: 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }

.part-scene { font: bold 14px 'Share', Georgia, Serif; color: #fff; float: left; width: 20px; height: 32px; text-align: center; line-height: 14px; margin: 2px 2px 0 1px; background-color: #aaa; padding-top: 4px; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }


.dm { font: normal 14px Palatino, Georgia, serif; margin: 0 4px 4px 4px; padding: 0 4px 0 4px; line-height: 14px; }
.pc { font: normal 14px 'Helvetica Neue', Helvetica, Arial, sans-serif; margin: 0 4px 4px 4px; padding: 0 4px 0 4px; line-height: 14px;  }
.action  { font: normal 14px/14px 'Share', Miso, Arial, sans-serif; margin: 0 0 4px 12px; }
.monospace { font: normal 14px/14px 'Share', Miso, Arial, sans-serif; margin: 0 0 4px 12px; }
.roll { font: bold 14px/14px Miso, 'Share', Miso, Arial, sans-serif; background-color: Gainsboro; color: black; }
.result { font: bold italic 14px/14px 'Share', Miso, Arial, sans-serif; }
.bloodied { color: red; }
.dead { color: blue; }
.backtotop { font: normal 8px Arial, sans-serif; text-align: right; margin: 4px; padding: 4px; background-color: #ddd; }
.backtotop > span { display: none; }
.timeago { display: none; font: italic 8px Arial, sans-serif; text-align: right; margin: 4px; padding: 4px; background-color: #fafad2; }
.journal { font: normal 28px 'Lovers Quarrel', 'Pinyon Script', 'Apple Chancery', 'Zapf Chancery', 'Monotype Corsiva', Georgia, cursive; margin: 8px 24px 8px 24px; padding: 8px 24px 8px 24px; }
.italic { font-style: italic }
.small { font-size: small; }


.action p { margin: 0 }
.monospace p { margin: 0 }

p.action-attack { margin-left: 8px; }
p.action-damage { margin-left: 16px; }
p.action-move { margin-left: 0; }
p.action-effect { margin-left: 8px; }
/*p.action-beforeeffect { margin-left: 12px; }*/
/*p.action-aftereffect { margin-left: 28px; }*/
p.action-burst { margin-left: 8px; }
p.action-blast { margin-left: 8px; }

p.indent-0 { margin-left: 0 !important; }
p.indent-1 { margin-left: 8px !important; }
p.indent-2 { margin-left: 16px !important; }
p.indent-3 { margin-left: 24px !important; }
p.indent-4 { margin-left: 32px !important; }
p.indent-5 { margin-left: 40px !important; }

p.power-atwill { color: darkgreen; }
p.power-attack { color: darkgreen; }
p.power-encounter { color: darkred; }
p.power-daily { color: gray; }
p.power-item { color: darkorange; }

p.power-weaponattack { color: darkgreen; }
p.power-class { color: gray; }
p.power-bonus { color: darkred; }
p.power-reaction { color: darkblue; }
p.power-feat { color: darkgoldenrod; }
p.power-noaction { color: blue; }
p.power-action { color: darkgreen; }
p.power-move { color: darkslateblue; }

p.power-ongoing,
p.power-sustain,
p.power-recharge,
p.power-recharging,
p.power-ritual,
p.power-aura,
p.power-zone,
p.power-stance,
p.power-trap { color: darkblue; }

p.power-bloodied { color: red; }
p.power-interrupt { color: darkred; }
p.power-death { color: black; }


/* BADGES FOR POWERS AND ACTIONS */
p.power-atwill:after { margin-left: 4px; content: "At-Will"; color: #ffffff; background-color: darkgreen; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-attack:after { margin-left: 4px; content: "Attack Action"; color: #ffffff; background-color: darkgreen; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-encounter:after { margin-left: 4px; content: "Encounter"; color: #ffffff; background-color: darkred; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-daily:after { margin-left: 4px; content: "Daily"; color: #ffffff; background-color: gray; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-item:after { margin-left: 4px; content: "Item"; color: #ffffff; background-color: darkorange; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

p.power-class:after { margin-left: 4px; content: "Class Feature"; color: #ffffff; background-color: gray; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-bonus:after { margin-left: 4px; content: "Bonus Action"; color: #ffffff; background-color: darkred; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-reaction:after { margin-left: 4px; content: "Reaction"; color: #ffffff; background-color: darkblue; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-feat:after { margin-left: 4px; content: "Feat"; color: #ffffff; background-color: darkgoldenrod; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-noaction:after { margin-left: 4px; content: "No Action"; color: #ffffff; background-color: blue; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-action:after { margin-left: 4px; content: "Action"; color: #ffffff; background-color: darkgreen; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-move:after { margin-left: 4px; content: "Move Action"; color: #ffffff; background-color: darkslateblue; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

p.power-spell0:after { margin-left: 4px; content: "Cantrip"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell1:after { margin-left: 4px; content: "1st"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell2:after { margin-left: 4px; content: "2nd"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell3:after { margin-left: 4px; content: "3rd"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell4:after { margin-left: 4px; content: "4th"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell5:after { margin-left: 4px; content: "5th"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell6:after { margin-left: 4px; content: "6th"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-spell7:after { margin-left: 4px; content: "7th"; color: #ffffff; background-color: darkcyan; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }


p.power-ongoing:after { margin-left: 4px; content: "Ongoing"; color: #ffffff; background-color: #999999; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-sustain:after { margin-left: 4px; content: "Sustain"; color: #ffffff; background-color: #999999; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-recharge:after { margin-left: 4px; content: "Recharge"; color: #ffffff; background-color: #999999; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-recharging:after { margin-left: 4px; content: "Recharging"; color: #eeeeee; background-color: #999999; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-ritual:after { margin-left: 4px; content: "Ritual"; color: #ffffff; background-color: #999999; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

p.power-aura:after { margin-left: 4px; content: "Aura"; color: #ffffff; background-color: #ff8800; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-zone:after { margin-left: 4px; content: "Zone"; color: #ffffff; background-color: #ff8800; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-stance:after { margin-left: 4px; content: "Stance"; color: #ffffff; background-color: #ff8800; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

p.power-trap:after { margin-left: 4px; content: "Trap"; color: #ffffff; background-color: #fe57a1; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

p.power-bloodied:after { margin-left: 4px; content: "Bloodied"; color: #ffffff; background-color: red; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-interrupt:after { margin-left: 4px; content: "Interrupt"; color: #ffffff; background-color: red; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
p.power-death:after { margin-left: 4px; content: "Death"; color: #ffffff; background-color: black; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }

.badge-atwill { margin-left: 4px; color: #ffffff; background-color: darkgreen; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.badge-attack { margin-left: 4px; color: #ffffff; background-color: darkgreen; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.badge-encounter { margin-left: 4px; color: #ffffff; background-color: darkred; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.badge-daily { margin-left: 4px; color: #ffffff; background-color: gray; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.badge-item { margin-left: 4px; color: #ffffff; background-color: darkorange; font-size: 10px; font-weight: bold; line-height: 14px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; padding: 0 6px 0 6px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.badge-used { background-color: #dddddd; }


/* TEST FOR BLOODIED BADGE WITH LINK */
.condition-good { font: normal 10px/16px Miso, 'Share', Miso, Arial, sans-serif; margin-left: 4px; color: #ffffff; background-color: darkgreen; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: normal; vertical-align: 1px; padding: 1px 6px 1px 6px; }
.condition-bad  { font: normal 10px/16px Miso, 'Share', Miso, Arial, sans-serif; margin-left: 4px; color: #ffffff; background-color: red;       text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: normal; vertical-align: 1px; padding: 1px 6px 1px 6px; }
.condition-bad a {text-decoration:none; color: #ffffff}
.condition-good a {text-decoration:none; color: #ffffff}
.condition-rounded { border-radius: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; }

/* .action-standard:before { content: "Standard Action"; font-size: 10px; font-weight: bold; line-height: 14px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; background-color: #999999; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
.action-move:before { content: "Move Action"; font-size: 10px; font-weight: bold; line-height: 14px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; background-color: #999999; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
.action-minor:before { content: "Minor Action"; font-size: 10px; font-weight: bold; line-height: 14px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; background-color: #999999; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
.action-free:before { content: "Free Action"; font-size: 10px; font-weight: bold; line-height: 14px; color: #ffffff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; vertical-align: 1px; background-color: #999999; padding: 0 6px 0 6px; border-radius: 8px; -webkit-border-radius: 8px; -moz-border-radius: 8px; }
*/

/*
.action-standard  { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-move      { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-minor     { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-free      { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-save      { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-interrupt { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
.action-ongoing   { border: 1px solid #999; background-color: white; padding: 4px; margin: 4px 8px 4px 8px; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px; }
*/
.action-standard  { padding: 4px; margin: 4px 8px 4px 8px; }
div.action-move      { padding: 4px; margin: 4px 8px 4px 8px; }
.action-minor     { padding: 4px; margin: 4px 8px 4px 8px; }
.action-free      { padding: 4px; margin: 4px 8px 4px 8px; }
div.action-save      { padding: 4px; margin: 4px 8px 4px 8px; }
.action-interrupt { padding: 4px; margin: 4px 8px 4px 8px; }
.action-ongoing   { padding: 4px; margin: 4px 8px 4px 8px; }

.action-reaction { padding: 4px; margin: 4px 8px 4px 8px; }
.action-bonus { padding: 4px; margin: 4px 8px 4px 8px; }
.action-action  { padding: 4px; margin: 4px 8px 4px 8px; }


/*.action-standard:after {
    float:right;
    content: "Standard Action";
    font-size: 10px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    background-color: #999999;
    padding: 0 6px 0 6px;
    border-radius: 8px;
       -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
}*/



/* END OF BADGES FOR POWERS AND ACTIONS */

ul.synopsis { font: normal 14px/14px Georgia, Serif; text-indent: 0; list-style: circle outside; margin-right: 4px; padding-right: 4px; }

.writing { font: normal 14px 'Asap', Arial, sans-serif; margin: 4px; padding: 4px; }

/* INITIATIVE BLOCK */
.initiative { font: normal 12px/14px Arial, sans-serif; padding: 4px; }
.initiative p { margin: 0 4px 0 4px; }
.initiative p.small { font-size: 10px; }
.initiative-round { font-size: 16px; font-weight: bold; }
.initiative-next { font-size: 18px; font-weight: bold; }
.initiative-pc { color: black; }
.initiative-npc { color: DarkGray; }
.initiative-monster { color: blue; }
.initiative-monster-indent { color: blue; margin-left: 12px; }

p.initiative-round { margin: 0 4px 0 4px;}
p.initiative-next { margin: 4px; }
p.initiative-pc { margin-left: 4px; margin-right: 4px; }
p.initiative-npc { margin-left: 4px; margin-right: 4px; }
p.initiative-npc-indent { margin-left: 12px; margin-right: 4px; }
p.initiative-monster { margin-left: 4px; margin-right: 4px; }
p.initiative-monster-indent { margin-left: 12px; margin-right: 4px; }

.initiative .yourturn { background-color: #ffff00; }
.initiative .pc { margin-left: 4px; margin-right: 4px; color: black; }
.initiative .npc { margin-left: 4px; margin-right: 4px; color: #a9a9a9; }
.initiative .monster { margin-left: 4px; margin-right: 4px; color: blue; }
.initiative .monster-indent { margin-left: 64px; margin-right: 4px; margin-bottom: 0; color: blue; }


.castlist .image-khalin, .initiative .image-khalin {
    background-image: url('/saga/images/characters/icons/khalin_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}

.castlist .image-kireth, .initiative .image-kireth {
    background-image: url('/saga/images/characters/icons/kireth_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}

.castlist .image-tradden, .initiative .image-tradden {
    background-image: url('/saga/images/characters/icons/tradden_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}

.castlist .image-zero, .initiative .image-zero {
    background-image: url('/saga/images/characters/icons/zero_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}

.castlist .image-beltak, .initiative .image-beltak {
    background-image: url('/saga/images/characters/icons/beltak_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}

.castlist .image-brunhilde, .initiative .image-brunhilde {
  background-image: url('/saga/images/characters/icons/brunhilde_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  margin-left: 16px;
  margin-bottom: 4px;
  border-radius: 5px;
}

.castlist .image-rangrim, .initiative .image-rangrim {
  background-image: url('/saga/images/characters/icons/rangrim_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  margin-left: 16px;
  margin-bottom: 4px;
  border-radius: 5px;
}

.castlist .image-rhasgar, .initiative .image-rhasgar {
  background-image: url('/saga/images/characters/icons/rhasgar_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  margin-left: 16px;
  margin-bottom: 4px;
  border-radius: 5px;
}

.castlist .image-sorrow, .initiative .image-sorrow {
  background-image: url('/saga/images/characters/icons/sorrow_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  margin-left: 16px;
  margin-bottom: 4px;
  border-radius: 5px;
}

.castlist .image-aukan, .initiative .image-aukan {
  background-image: url('/saga/images/characters/icons/aukan_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 4px;
  margin-left: 16px;
  margin-bottom: 4px;
  border-radius: 5px;
}



.initiative .image-monster {
    background-image: url('/saga/images/characters/icons/monster_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left;
    width: 32px;
    height: 32px;
    margin-right: 4px;
    margin-left: 16px;
    margin-bottom: 4px;
    border-radius: 5px;
}


.castlist p.name, .initiative p.name {
    font: italic 14px 'Asap', Arial, sans-serif; font-weight: 700; line-height: 16px; margin: 0;
}

.castlist p.description, .initiative p.status {
    font: normal 12px 'Asap', Arial, sans-serif; font-weight: 400; line-height: 16px; margin: 0
}


img.battlemap { display: block; margin-left: auto; margin-right: auto; width: 300px; }

.lightbox { margin: 4px; padding: 4px; text-align: center; }
.thumbnail { display: inline; }

.clearleft { clear: left; }
.clearright { clear: right; }
.clearboth { clear: both; }

.date-box {
    background-image: url('/saga/images/icons/date-box_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    font: normal 10px 'Share', Helvetica, Helvetica Neue, sans-serif;
    color: #000;
    float: left; width: 32px; height: 32px; text-align: center; line-height: 12px; margin: 4px 4px 0 4px;
    padding-top: 3px;
}

.image-condition {
    background-image: url('/saga/images/icons/condition_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left; width: 32px; height: 32px; margin: 4px 4px 0 4px;
}

.image-state {
    background-image: url('/saga/images/icons/state_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left; width: 32px; height: 32px; margin: 4px 4px 0 4px;
}

.image-action {
    background-image: url('/saga/images/icons/action_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left; width: 32px; height: 32px; margin: 4px 4px 0 4px;
}

.image-bloodied {
    background-image: url('/saga/images/icons/bloodied_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: left; width: 32px; height: 32px; margin: 4px 4px 0 4px;
}

.image-dice {
    background-image: url('/saga/images/characters/icons/dice_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-dm {
    background-image: url('/saga/images/characters/icons/dm_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-monster {
  background-image: url('/saga/images/characters/icons/monster_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
  border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-conversation {
    background: #fff url('/saga/images/icons/conversation_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-storyline {
    background: #fff url('/saga/images/icons/book_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-post-old {
    background: url('/saga/images/icons/post_old_26x32.png') no-repeat;
    font: bold 12px 'Share', Georgia, Serif;
    color: #000;
    float: right; width: 26px; height: 32px; text-align: center; line-height: 32px; margin: 4px 4px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-post-new {
    background: url('/saga/images/icons/post_new_26x32.png') no-repeat;
    font: bold 12px 'Share', Georgia, Serif;
    color: #000;
    float: right; width: 26px; height: 32px; text-align: center; line-height: 32px; margin: 4px 4px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

.image-aukan {
    background-image: url('/saga/images/characters/icons/aukan_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}
.image-bekio {
    background-image: url('/saga/images/characters/icons/bekio_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-miri {
    background-image: url('/saga/images/characters/icons/miri_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-rangrim {
    background-image: url('/saga/images/characters/icons/rangrim_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-rhasgar {
    background-image: url('/saga/images/characters/icons/rhasgar_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-sorrow {
    background-image: url('/saga/images/characters/icons/sorrow_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-akhati {
    background-image: url('/saga/images/characters/icons/akhati_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-beltak {
    background-image: url('/saga/images/characters/icons/beltak_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-leedagaar {
    background-image: url('/saga/images/characters/icons/leedagaar_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-borik {
    background-image: url('/saga/images/characters/icons/borik_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-lubash {
    background-image: url('/saga/images/characters/icons/lubash_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-gilmorril {
    background-image: url('/saga/images/characters/icons/gilmorril_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }
.image-iolanthe {
    background-image: url('/saga/images/characters/icons/iolanthe_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

/* style to show thumbnail image at the left on the npc section */
.image-npc {
    float: left;
    clear: left;
    margin: 0 8px 8px 8px;
    }

/* style to show thumbnail crisp in the middle of a post - thumbnails should be a maximum of 240px wide*/
.image-post {
    clear: both;
    margin: 0 4px 0 4px;
    }

.thumbnail-post {
    display: block;
    margin: auto;
    background-color: #ffffff;
    border: 4px solid #ffffff;
            border-radius: 3px;
       -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
            box-shadow: 0 0 2px #222;
       -moz-box-shadow: 0 0 2px #222;
    -webkit-box-shadow: 0 0 2px #222;
    max-width: 93%; height: auto !important;
    }

/* social crisp styles */
.image-social {
    float: right; width: 32px; height: 32px; margin: 4px 1px 4px 1px;
    text-decoration: none;
    }

.image-social-right {
    float: right; width: 32px; height: 32px; margin: 4px 4px 4px 1px;
    text-decoration: none;
    }

/* use double sized image and allow downsizing for non-retina */
.image-khalin {
    background-image: url('/saga/images/characters/icons/khalin_64.png');
    background-size: 32px 32px;
    background-repeat: no-repeat;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-kireth {
    background-image: url('/saga/images/characters/icons/kireth_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-tradden {
    background-image: url('/saga/images/characters/icons/tradden_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-zero {
    background-image: url('/saga/images/characters/icons/zero_64.png');
    background-repeat: no-repeat;
    background-size: 32px 32px;
    float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
    border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
    }

.image-brunhilde {
  background-image: url('/saga/images/characters/icons/brunhilde_64.png');
  background-repeat: no-repeat;
  background-size: 32px 32px;
  float: right; width: 32px; height: 32px; margin: 4px 1px 0 1px;
  border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px;
}

/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url(/saga/images/lightbox/loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(/saga/images/lightbox/prevlabel.gif) no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(/saga/images/lightbox/nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(/saga/images/lightbox/closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

/* ==|== MODAL FOR BATTLEMAP ================================================ */

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* 10% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.battlemap-scene {
  background-color: #ffffff;
  margin: auto;
  padding: 5px;
  border: 1px solid lightgrey;
  border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  box-shadow: 0 0 2px #222;
  -moz-box-shadow: 0 0 2px #222;
  -webkit-box-shadow: 0 0 2px #222;
  max-width: 95%;
}

.map-controls {
  text-align: center;
}

/* ==|== media queries ======================================================
   EXAMPLE Media Query for Responsive Design.
   This example overrides the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
  .timeago { display: block; }
  .backtotop > span { display: inline; }
}



/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }



/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter: none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  /* a[href]:after { content: " (" attr(href) ")"; } */
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for crisp, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }

  .date-box { display: none; }
  .image-post-old { display: none; }
  .image-post-new { display: none; }
  .backtotop { display: none; }
  .image-social { display: none; }
  .image-social-right { display: none; }
  .timeago { display: none; }

  .dm { font: normal 14px serif; margin: 4px; padding: 4px; }
  .pc { font: normal 14px sans-serif; margin: 4px; padding: 4px; }
  .action { font: normal 14px sans-serif; margin-left: 12px; }
  .roll { font: normal 14px sans-serif; background-color: transparent; }
  .result { font: normal 14px sans-serif; }
  .bloodied { color: black; }
  .journal { font: normal 14px serif; margin: 8px 24px 8px 24px; padding: 8px 24px 8px 24px; }
  .writing { font: normal 14px sans-serif; margin: 4px; padding: 4px; }
  .italic { font-style: italic }
  .small { font-size: small; }

  article header h1 { font: normal 16px sans-serif; font-weight: 700; line-height: 16px; margin-top: 4px; margin-left: 4px; padding-left: 4px; float: left; }
  article header h2 { font: normal 12px sans-serif; font-weight: 400; line-height: 12px; margin-left: 4px; padding-left: 4px; }

  article header h1:after { content: "."; }

  .part-book { display: none; }
  .part-chapter { display: none; }
  .part-scene { display: none; }

    p.power-atwill:after { display: none; }
    p.power-encounter:after { display: none; }
    p.power-daily:after { display: none; }
    p.power-item:after { display: none; }

    p.power-ongoing:after { display: none; }
    p.power-sustain:after { display: none; }
    p.power-recharge:after { display: none; }
    p.power-recharging:after { display: none; }

    p.power-aura:after { display: none; }
    p.power-zone:after { display: none; }
    p.power-stance:after { display: none; }

    p.power-trap:after { display: none; }

    p.power-bloodied:after { display: none; }
    p.power-death:after { display: none; }

    p.power-attack:after { display: none; }


}


/* Flexbox for Initiative Row */
.initiative-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  border: 2px solid lightgray;
  border-radius: 15px 5px 5px 15px;
  margin-bottom: 4px;
  background: lightgray;
}

.initiative-next-actor {
  background-color: lightgoldenrodyellow;
  border-color: lightgoldenrodyellow;
}

.initiative-item-value {
  order: 2;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 2px; /*0 1px 1px 0;*/
  font: 0.75rem 'Asap', Arial, sans-serif;
  text-align: center;
  height: 30px;
  line-height: 30px;
  width: 30px;
  border-radius: 50%;
  background: white;
  border: 1px dotted blue;
}

.initiative-item-image {
  order: 3;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 3px 1px 1px 3px;
  width: 30px;
  height: 30px;
  /*border: 1px solid red;*/
  margin-left: 4px;
}

.initiative-item-image > img {
  border-radius: 2px;
}

.initiative-item-actor {
  order: 4;
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 8px 1px 1px 0;
  align-self: baseline;
  /*border: 1px solid blue;*/
  /*height: 20px;*/
  /*line-height: 20px;*/

}

.initiative-item-actor > p.initname {
  /*padding-top: 2px;*/
  font: italic 1rem 'Asap', Arial, sans-serif;
  font-weight: 700;
}

.initiative-item-conditions-effects {
  order: 5;
  align-self: baseline;
  width: 100%;
  margin-left: auto;
  text-align: right;
  /*border: 1px dotted red;*/
}

.initiative-item-conditions-effects > a {
  text-align: right;
}

.initiative-item-conditions-effects > a > img {
  text-align: right;
  height: 20px;
  /*width: 20px;*/
}

.initiative-item-hitpointtracker {
  order: 6;
  margin-left: auto;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 2px 2px 2px 2px;
  margin-top: 2px;
  margin-bottom: 2px;
  text-align: center;
  width: 48px;
  height: 24px;
  /*border: 1px dotted slategrey;*/
  /*background-color: ghostwhite;*/
}

.initiative-item-hitpoints {
  order: 7;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  padding: 1px 1px 1px 0;
  text-align: center;
  width: 72px;
  height: 30px;
  /*border: 1px solid blue;*/
}

.initiative-item-hitpoints > p {
  font: 1rem 'Asap', Arial, sans-serif;
}

.initiative-item-hitpoints > p.small {
  font: 0.5rem 'Asap', Arial, sans-serif;
}

abbr.advantage {
  border-bottom: none;
  text-decoration: none;
}

a.intra-post-link {
  text-decoration: none;
  font-size: 24px;
}
