/*
 * 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 ==========================================================
 */


*                                 { margin: 0; padding: 0; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }


/* =============================================================================
   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; }
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: 90%; 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 images and borders on image containers: h5bp.com/e
 */

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:
   ========================================================================== */


/* LAYOUT */
body                              { margin: 0; padding: 0; width: 100%; }
.container                        { margin: 100px 5% 100px 33%; max-width: 70em; padding: 0; position: relative; width: auto; z-index: 2; }
[role=banner]                     { margin: 0; padding: 0; position: relative; height: 440px; }
[role=banner] h1                  { display: block; height: 80px; margin: 0 40px 0 60px; padding: 0; }
.logo                             { display: block; left: -300px; padding: 5px; position: absolute; top: 0; z-index: 2; }

[role=banner] blockquote,
.hgroup                           { display: block; float: left; margin: 0 0 0 40px; min-height: 320px; overflow: hidden; padding: 20px 20px 0 0; width: 70%; }
[role=banner] blockquote p,
.hgroup p.quote                   { margin: 20px 20px 0 0; }
[role=banner] blockquote p.cite,
.hgroup p.cite                    { display: block; float: right; margin: 16px 0 0 0; }
.hgroup h4                        { margin: 0; padding: 0; }
.hgroup h2                        { margin: 0; padding: 0; }
.hgroup h3                        { margin: 20px 0 0 0; padding: 0; }
.hgroup p                         { margin: 0; padding: 0 20px 0 0; }
.hgroup blockquote,
.hgroup p.quote                   { width: 100%; }

[role=navigation]                 { float: left; margin: 0; width: auto; max-width: 25%; }
[role=navigation] ul              { display: block; margin: 30px 0; padding: 0 0 0 20px; }
[role=navigation] li              { display: block; margin: 0; padding: 10px 0; }
[role=navigation] a,
[role=navigation] span            { display: block; }
.timeline                         { display: block; left: -260px; margin: 0; padding: 20px 0 100px 0; position: absolute; top: 460px; width: 245px; z-index: 1; }
.timeline li                      { display: block; margin: 0 20px 0 0; padding: 10px 0 20px 0; }
.timeline li h6                   { display: block; margin: 0; padding: 0; }
.timeline li p                    { display: block; margin: 0; padding: 0; }

[role=main]                       { margin: 0; min-height: 600px; overflow: hidden; padding: 0 40px; position: relative; width: 100%; }

.book                             { float: left; margin: 40px 2% 0 2%; padding: 0 0 40px 0; width: 46%; }
.book header                      { margin: 40px 0; }
.book header img                  { max-width: 80%; }
.book .cover                      { display: block; float: left; margin: 40px 40px 40px 0; max-width: 50%; }
.book-chapter                     { position: relative; width: 100%; }
.book-chapter header              { margin: 40px 0; width: 70%; }
.book-chapter hgroup h2           { margin: 0; padding: 0; }
.book-chapter hgroup h1           { margin: 0; padding: 0; }
.book-chapter .body               { margin: 0; width: 70%; }
.book .toc                        { float: left; margin: 40px 0 40px 40px; }
.book-chapter .toc                { margin: 0; padding: 0; position: absolute; right: 0; top: 60px; width: 22%; }
.toc .chapters                    { margin: 0; padding: 0; }

article                           { padding: 40px 20px 100px 20px; }
article p.precis                  { display: block; margin: 10px 0 30px 0; padding: 0 0 60px 0; }
article blockquote                { margin: 30px 0; padding: 0 0 0 30px; }
article header p                  { margin: 0; }
article img                       { max-width: 100%; }
article img.f-left                { display: block; float: left; margin: 0 20px 20px 0; }

div.note                          { margin: 16px 0 50px 0; padding: 8px 0; }

.footnotes                        { margin: 40px 0; padding: 10px 0 0 0; }
.footnotes ol                     { margin: 0 0 0 30px; padding: 0; }
.footnotes ol li                  { margin: 0; padding: 0; }
.footnotes blockquote             { margin: 10px 0; padding: 0; }
.footnotes h6                     { margin: 0; padding: 0; }
.footnotes p                      { margin: 0; padding: 0; }

.pages                            { display: block; margin: 100px 0 40px 0; overflow: hidden; padding: 8px 0; }
.pages li,
.pages a                          { display: block; }
.pages li.prev                    { float: left; }
.pages li.next                    { float: right; }

div.col                           { float: left; width: 33.3333%; padding: 20px; }
ul.photos                         { clear: both; display: block; margin: 0 0 20px 0; overflow: hidden; padding: 100px 0 0 20px; width: 100%; }
ul.middle                         { margin: 0 auto 40px auto; width: auto; }
ul.photos li                      { display: inline-block; margin: 0 20px 20px 0; }
ul.photos li:last-child           { margin: 0 0 20px 0; }
ul.photos li a                    { display: block; float: left; padding: 2px; }
ul.photos li.more                 { clear: both; float: none; margin: 20px auto; width: 20%; }
ul.photos li.more a               { float: none; padding: 0; }

ul.gallery,
ul.gallery li,
ul.gallery ol,
ul.gallery ol li                  { display: block; float: left; margin: 0; padding: 0; }

ul.gallery                        { margin: 0 0 100px 0; overflow: hidden; width: 100%; }
ul.gallery li                     { clear: both; margin: 20px 0 0 0; width: 100%; }
ul.gallery ol                     { overflow: hidden; margin: 0 0 20px 0; padding: 0 0 20px 0; width: 100%; }
ul.gallery ol li                  { clear: none; margin: 0 20px 20px 0; width: auto; }
ul.gallery ol li:last-child       { margin: 0 0 20px 0; }
ul.gallery li a                   { display: block; float: left; padding: 2px; }

.recordings                       { margin: 15px 0 40px 0; overflow: hidden; width: 100%; }
.recordings div.row               { overflow: hidden; }
.recordings section               { float: left; margin: 0; overflow: hidden; padding: 0 0 40px 0; width: 50%; }
.recordings section:nth-child(-n+3) { border-top: 0!important; }
.recordings h3                    { width: 90%; }
.recordings p,
.recordings div.playlist          { display: block; float: left; margin: 0 1% 0 0; padding: 0; width: 45%; }
.recordings p                     { margin: 0 5% 0 0; }
.recordings ol                    { display: block; float: left; margin: 0; padding: 0; width: 48%; }
.recordings ol li                 { clear: both; display: block; margin: 0; padding: 2px 0; }

.episode                          { padding: 40px 0 100px 0; }
.episode header h1                { margin-bottom: 20px; }
.episode p.note                   { display: block; margin: 40px 0; }
.transcript                       { display: block; clear: both; margin: 40px 0; }
.episode blockquote               { margin: 20px 20px 40px 0; padding: 0 0 0 40px; }
.episode .prayer                  { display: block; margin: 20px; }
.episode .related                 { margin: 40px 0 50px 0; }
.episode p.related                { padding: 10px 0 0 0; }

/*
ol.playlist li:before             { display: block; float: left; line-height: 2; margin: -4px 7px 0 0; content: "✧"; }
*/

[role=contentinfo]                { left: 0; margin: 0; overflow: hidden; position: relative; width: 100%; }
div.related                       { float: left; padding: 20px 20px 0 20px; width: auto; }
div.related:first-child           { margin: 0 0 0 40px; }
div.contact                       { float: right; max-width: 300px; }
div.related h6                    { margin: 0; padding: 0; }
div.related ul                    { display: block; margin: 0; padding: 0; }
div.related li                    { display: block; float: left; margin: 0 20px 0 0; padding: 0; }
p#copyright                       { clear: both; display: block; float: right; padding: 10px 20px; max-width: 300px; width: 33.3333%; }

.hstrip                           { height: 360px; position: absolute; top: 200px; width: 100%; z-index: 1; }


.fullwidth                        { width: 100%; }

.clear                            { clear: both; }

.speakker                         { z-index: 10000; }



/* TYPE */
body                              { font-family: 'Radley', sans-serif; font-size: 100%; }
[role=banner] h1                  { font: 700 48px/138px 'Mrs Saint Delafield', cursive; text-align: right;  }
.hgroup h2                        { font-size: 2em; line-height: 1.4; }
.hgroup h3                        { font-size: 1.7em; line-height: 1.7; }
.hgroup h4                        { font-size: 1.4em; line-height: 1.2; }
.hgroup p                         { font-size: 1em; line-height: 1.4; }
[role=banner] blockquote p,
.hgroup p.quote                   { font-size: 1.4em; line-height: 1.4; }
[role=navigation] li              { font-size: 1em; text-transform: uppercase; }
[role=navigation] span            { font-size: .8em; text-transform: none; }

article h1                        { font-size: 2em; line-height: 1.2; }
article p.precis                  { font-size: 1.2em; }
article.news header               { }

body p,
body li                           { font-size: 1em; line-height: 1.4; margin-bottom: 15px; }
body h3                          { font-size: 1.4em; line-height: 1.4; }
body h4                          { font-size: 1.3em; line-height: 1.3; }
body h5                          { font-size: 1.2em; line-height: 1.2; }
body h6                          { font-size: 1.1em; line-height: 1.1; }

.pages li.prev                    { text-align: left; }
.pages li.next                    { text-align: right; }

blockquote h4                     { font-size: 1.2em; }
p.cite,
blockquote p.ref                  { font-size: 0.8em; text-align: right; }

.episode p.related,
.transcript p.note                { font-size: 0.9em; font-style: italic; }

.footnotes h5                     { font-size: 12px; }
.footnotes blockquote h6          { font-size: 12px; }
.footnotes li,
.footnotes li p,
.footnotes blockquote p           { font-size: 12px; }

.timeline                         { text-align: right; }
.timeline h6                      { font-size: .8em; }
.timeline h6 em                   { font-style: normal; }
.timeline h6 em.year              { font-size: 1.6em; }
.timeline p                       { font-size: .8em; }

ul.middle,
ul.photos li.more                 { text-align: center; }
ul.gallery h3                     { font-size: 2em; font-weight: 700; }

.chapters                         { list-style: upper-roman outside; }

.chapter hgroup h2                { font-size: 16px; line-height: 2; }
.chapter hgroup h1                { font-size: 32px; line-height: 1.1; }

.recordings h2                    { font-size: 48px; }
.recordings h3                    { font-size: 24px; text-transform: capitalize; }
.recordings p,
.recordings ol li                 { font-size: 1em; line-height: 150%; }

.episode header h3                { font-size: 1em; line-height: 150%; text-align: right; }

em.underlined                     { font-style: normal; text-decoration: underline; }

div.related h6                    { font-size: .9em; line-height: 200%; }
div.related li                    { font-size: .8em; line-height: 150%; }
p#copyright                       { font-size: .7em; line-height: 150%; }


/* COLOURS */   

*                                 { background-position: top left; background-repeat: no-repeat; }
html                              { background: #38405B url(vintage.jpg) fixed top left; }
body                              { color: rgb(186,186,186); }

.container                        { background-color: rgba(0,0,0,.8); border-color: rgb(0,0,0); border-style: solid; border-width: 20px 1px 30px 1px; -moz-box-shadow: 0 1px 4px rgba(0,0,0,.7); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.7); box-shadow: 0 1px 4px rgba(0,0,0,.7); }

[role=banner] .logo               { background: rgb(255,255,255); -moz-box-shadow: 0 2px 6px rgba(0,0,0,.5); -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.5); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
[role=banner] img                 { border: 1px solid rgb(127,127,127); }
[role=banner] h1                  { color: rgb(255,255,255); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
[role=banner] h1 a                { color: rgb(255,255,255); }
.hgroup h2                        { color: rgba(255,255,255,.75); text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.hgroup h4,
.hgroup p                         { color: rgb(127,127,127); text-shadow: 0 1px 4px rgba(0,0,0,.5); }


[role=banner] blockquote p,
.hgroup p.quote                   { color: rgba(255,255,255,.5); text-shadow: 0 0 5px rgba(255,255,255,.25); }

[role=navigation] ul              { border-left: 3px dotted rgba(250,250,250,.25); }
[role=navigation] a,
[role=contentinfo] a              { text-decoration: none; }
a:link,
[role=navigation] a:link          { color: rgb(127,186,51); }
a:visited,
[role=navigation] a:visited       { color: rgb(112,171,36); }
a:active,
a:focus,
a:hover,
[role=navigation] a:active,
[role=navigation] a:focus,
[role=navigation] a:hover         { color: rgb(255,255,255); }
[role=navigation] a span          { color: rgba(255,255,255,.25); }

[role=main]                       { border-bottom: 1px solid rgba(0,0,0,.9); }

article p.precis                  { background: transparent url(divider.png) bottom center no-repeat; }
article.news                      { background: transparent url(divider.png) bottom center no-repeat; }
article.no-bg                     { background: none; }
article blockquote                { border-left: 3px dotted rgba(255,255,255,.1); }
article .footnotes blockquote     { border-left: 0; }
article blockquote p              { color: rgb(127,127,127); }
article header p                  { color: rgb(127,127,127); }

.pages                            { border-top: 2px dotted rgb(51,51,51); color: rgb(51,51,51); }
div.note                          { border-top: 1px solid rgb(127,127,127); }

.episode .related,
.footnotes                        { border-top: 1px dotted rgb(51,51,51); }

.book-chapter header h2,
.chapters li                      { color: rgba(255,255,255,.25); }
.chapters li.current              { color: rgb(255,255,255); }
.chapters a:link,
.recordings a:link                { color: rgb(127,153,186); }
.chapters a:visited,
.recordings a:visited             { color: rgb(117,143,176); }
h1 a:link,
h1 a:visited,
h2 a:link,
h2 a:visited,
h3 a:link,
h3 a:visited,
h4 a:link,
h4 a:visited,
h5 a:link,
h5 a:visited,
h6 a:link,
h6 a:visited                      { color: rgb(186,186,186); }
h1 a:active,
h1 a:focus,
h1 a:hover,
h2 a:active,
h2 a:focus,
h2 a:hover,
h3 a:active,
h3 a:focus,
h3 a:hover,
h4 a:active,
h4 a:focus,
h4 a:hover,
h5 a:active,
h5 a:focus,
h5 a:hover,
h6 a:active,
h6 a:focus,
h6 a:hover,
.chapters a:active,
.chapters a:focus,
.chapters a:hover,
.recordings a:active,
.recordings a:focus,
.recordings a:hover               { color: rgb(255,255,255); }


.timeline                         { background: transparent; border-right: 3px dotted rgba(255,255,255,.5); color: rgba(255,255,255,.7); text-shadow: 0 1px 1px rgb(0,0,0); }
.timeline li                      { border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(0,0,0,.15); }
.timeline li:first-child          { border-top: 0; }
.timeline li:last-child           { border-bottom: 0; }
.timeline h6 em.year              { color: rgba(255,255,255,.8); }

ul.photos                         { background: transparent url(divider.png) top center no-repeat; }
ul.photos li a,
ul.gallery li a                   { background: rgb(255,255,255); -moz-box-shadow: 0 1px 4px rgba(0,0,0,.75); -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.75); box-shadow: 0 1px 4px rgba(0,0,0,.75); opacity: .85; }
ul.photos li a:active,
ul.photos li a:focus,
ul.photos li a:hover,
ul.gallery ol li a:active,
ul.gallery ol li a:focus,
ul.gallery ol li a:hover          { opacity: 1; }
ul.photos li.more a               { background: transparent; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
ul.photos li img,
ul.gallery li img                 { border: 1px solid rgb(127,127,127); }

.scripture                        { color: rgb(255,255,186); }
ul.gallery h3,
.ref,
blockquote p.cite                 { color: rgb(127,127,127); }


[role=contentinfo]                { background: rgba(200,200,200,.15); border-top: 2px solid rgba(0,0,0,.3); }
div.related h6                    { color: rgba(0,0,0,1); text-shadow: 0 0 8px rgba(255,255,255,.3); }
div.related a                     { text-shadow: 0 1px 1px rgb(0,0,0); }
div.related a:link                { color: rgba(255,255,255,.5); }
div.related a:visited             { color: rgba(255,255,255,.4); }
div.related a:active,
div.related a:focus,
div.related a:hover               { color: rgba(255,255,255,.6); }
p#copyright                       { color: rgb(0,0,0); text-shadow: 0 0 8px rgba(255,255,255,.5); }

[role=navigation] li.current a,
[role=navigation] li.current a span,
div.related li.current a          { color: rgb(255,255,255); }

a                                 { text-decoration: none; }

div.hstrip                        { background: rgba(0,0,0,.5); box-shadow: 0 1px 2px rgba(0,0,0,.5); }



.recordings ol li a[href="#"]     { color: rgb(255,127,0); }

.recordings a.waiting             { color: rgb(127,127,127); }

/* OVERRIDES */



/* ==|== 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 */
}

@media only screen and (max-width: 1024px) {
    [role=navigation] li          { font-size: 0.85em; }
    [role=navigation] li span     { font-size: 0.9em; }
    div.col                       { width: 100%; margin: 10px; padding: 0; }
    div.related                   { width: 25%; }
    div.contact,
    p#copyright                   { width: 40%; } 
}

@media only screen and (max-width: 1280px) {
	[role=banner] blockquote,
	.hgroup                       { width: 67%; }
	.recordings p                 { display: block; float: left; margin: 0 5% 0 0; width: 95%; }
	.recordings ol                { display: block; float: left; margin: 20px 0 0 0; padding: 0; width: 100%; }
}

@media only screen and (max-width: 1440px) {
    [role=banner] blockquote p,
    .hgroup p.quote               { font-size: 1.1em; line-height: 1.3; }
}



/* ==|== 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 images, 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; }
}
