/**
 * This file is part of BNS Inline Asides plugin
 * Last revised at version 0.7
 *
 * Copyright 2011-2012  Edward Caissie  (email : edward.caissie@gmail.com)
 *
 * BNS Inline Asides is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2, as published
 * by the Free Software Foundation.
 *
 * You may NOT assume that you can use any other version of the GPL.
 *
 * BNS Inline Asides 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 General Public License for
 * more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to:
 *
 *      Free Software Foundation, Inc.
 *      51 Franklin St, Fifth Floor
 *      Boston, MA  02110-1301  USA
 */


span.close-aside, span.open-aside {
  border-bottom: thin solid black;
  cursor: help;  
  display: block;
  text-align: right;
}

.aside-toggler.closed .close-aside,
.aside-toggler.open .open-aside,
.bnsia.aside.closed,
blockquote.aside.closed,
p.aside.closed {
  display:none;
}

/** Default - no CSS element chosen */
.bnsia.aside { padding: 10px; }

/** Remove any background image from blockquote if it exists */
blockquote.aside { background-image: none; }

/** Pre-Defined BNS Inline Aside Types */
/** Type: Note */
.open-aside.note { background-color: #c0c0c0;}
.bnsia.aside.note,
blockquote.aside.note,
p.aside.note { /* Default text color on Light Grey background - Sample Only */
    background-color: #c0c0c0; }

/** Type: Rant */
.open-aside.rant { background-color: #ff0000; color: #000; }
.bnsia.aside.rant,
blockquote.aside.rant,
p.aside.rant { /* Black text on a red background with a non-repeating flame graphic for added emphasis - Sample Only */
	background: #ff0000 url('flame.png') no-repeat left;
	color: #000;
}

/** Type: Changelog */
.open-aside.changelog { background-color: #c0c0c0; }
.bnsia.aside.changelog,
blockquote.aside.changelog,
p.aside.changelog { /* Default font-family as monospace - Sample Only */
    font-family: monospace;
}

/** Type: Footnote */
.open-aside.footnote { background-color: #c0c0c0; }
.bnsia.aside.footnote,
blockquote.aside.footnote,
p.aside.footnote {
    background-color: #c0c0c0;
}
.bnsia.aside.footnote ol,
blockquote.aside.footnote ol,
p.aside.footnote ol {
    list-style-type: lower-roman;
}

/** Type: Nota Bene -or- NB */
.open-aside.nb, .open-aside.nota-bene { background-color: #c0c0c0; }
.bnsia.aside.nb, .bnsia.aside.nota-bene,
blockquote.aside.nb, blockquote.aside.nota-bene,
p.aside.nb, p.aside.nota-bene {
    background-color: #c0c0c0;
    font-style: italic;
}

/** BNS Inline Asides Custom Types */
/**
 * To add your own custom aside type styles you might consider creating a new
 * stylesheet in this plugin folder using the name: bnsia-custom-types.css
 *
 * Simply follow the "Sample" element formats above for simple styles. The
 * plugin will create a class name from the custom aside type you use in your
 * shortcode.
 * For example: [aside type="bacon"] will generate CSS classes similar to these:
 *
 *  .open-aside.bacon
 *  .close-aside.bacon
 *  .bnsia.aside.bacon
 *  blockquote.aside.bacon
 *  p.aside.bacon
 *
 * NB: Make sure to use the correct prefix, the default is no prefix.
 *
 * This method can also be used to over-write the Pre-Defined Aside Types styles
 * as the bnsia-custom-types.css file loads after the main stylesheet.
 *
 * The bnsia-custom-types.css stylesheet will not be over-written by updates.
 *
 * Enjoy!
 *
 *
 * Edward Caissie
 * Cais | edward.caissie@gmail.com
 */