/* --------------------------------------------------------------

   reset.css
   * Resets default browser CSS.

-------------------------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1.5;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

/* --------------------------------------------------------------

   typography.css
   * Sets up some sensible default typography.

-------------------------------------------------------------- */

/* Default font settings.
   The font-size percentage is of 16px. (0.75 * 16px = 12px) */
body {
  font-size: 100%;
  color: #000;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  padding: 0;
  background: #B5B5B5 url(/images/pages/_global/bg2014.jpg);
}

/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: normal;  text-transform: uppercase; font-family: "Arial Narrow", Helvetica, sans-serif;}

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.2em; }
h2 { font-size: 1.75em; margin-bottom:.5em;  }
h3 { font-size: 1.5em; line-height: 1; margin-bottom:.5em;}
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: .5em; height: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

h1 img, h2 img, h3 img,
h4 img, h5 img, h6 img {
  margin: 0;
}

h2.splash, div.splash { height: 55px; display: block; padding-left: 35px; line-height: 55px; color: #fff; background-image:url(/images/pages/_global/basicSplashes.png); background-repeat: no-repeat; margin:0;}
h2.splash.line { margin-top:5px;}
h2.splash.blue, div.splash.blue { background-position: 0 0;}
h2.splash.orange, div.splash.orange { background-position: 0 -55px;}
h2.splash.teal, div.splash.teal { background-position: 0 -110px;}
h2.splash.black, div.splash.black { background-position: 0 -165px;}
h2.splash.purple, div.splash.purple { background-position: 0 -220px;}


a.blockrss { display: block; background:url(/images/pages/_global/rssfeed.png) 0 0px; width: 21px; height: 21px; margin: 18px 30px 0 0;}
a.blockrss:hover { display: block; background:url(/images/pages/_global/rssfeed.png) 0 -21px; }

/* Alignment elements
-------------------------------------------------------------- */
.float-left {float:left;}
.float-right {float:right;}
.clear {clear:both;}
.text-center {text-align: center;}
.text-left {text-align: left;}
.text-right {text-align: right;}
.text-center object {margin: 0 auto;}
.relative { position: relative;}
.withSpacing { margin-bottom: 15px;}

/* Text elements
-------------------------------------------------------------- */

.white { color: #fff;}
.light { color: #bad4ef;}
p           { margin: 0 0 1.5em; /*text-indent: 2em;*/ line-height: 1.6em;}
p img.float-left       { float: left; margin: .5em 1.5em .5em 0; padding: 0;  }
p img.float-right { margin: .5em 0 .5em 1.5em; padding: 0; }


a:focus,
a:hover { text-decoration: underline; }
a, a.black:hover, a.white:hover, a.blue:hover { text-decoration: none; color: #6295B2; outline: none; font-weight: bold;}
a.black		{ text-decoration: none; color: #000;}
a.blue, a#merch:hover		{ text-decoration: none; color: #87c3e5;}

a.more, .more {font-style: italic;}
.georgia { font-family: Georgia, "Times New Roman", Times, serif;}
blockquote  {
color:#fff;
font-size:1.4em;
font-style:italic;
margin:1.5em 0;
padding:10px;
background: #36261e url(/bernies/images/pages/_global/quotes.png) 10px 10px no-repeat;
}
blockquote p { margin-bottom: 0; text-indent:35px;}
blockquote p span { display: block; text-align: right;}
strong      { font-weight: bold; }
em,dfn      { font-style: italic; }
dfn         { font-weight: bold; }
sup, sub    { line-height: 0; }

abbr,
acronym     { border-bottom: 1px dotted #666; }
address     { margin: 0 0 1.5em; font-style: italic; }
del         { color:#666; }

pre,code    { margin: 1.5em 0; white-space: pre; }
pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; } 


/* Lists
-------------------------------------------------------------- */

li ul,
li ol       { margin:0 1.5em; }
ul, ol      { margin: 0 1.5em 1.5em 1.5em; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }

dl          { margin: 0 0 1.5em 0; }
dl dt       { font-weight: bold; }
dd          { margin-left: 1.5em;}


/* Tables
-------------------------------------------------------------- */

table       { margin-bottom: 1.4em; width:100%; padding: 0px; }
th          { font-weight: bold; font-size: 1.2em; color: #16182b; }
th,td       { padding: 4px 10px 4px 5px; border-bottom: 1px solid #ccc; }
tr.odd   { background-color: #000; }
tr.even   { background: #000 url(/images/css/bg/greyBorder.jpg) repeat; }
tfoot       { font-style: italic; }
caption     { background: #eee; }


/* Misc classes
-------------------------------------------------------------- */

.small      { font-size: .9em; margin-bottom: 1.875em; line-height: 1.875em; }
.large      { font-size: 1.2em; margin-bottom: 1.25em; }
.hide       { display: none; }

.quiet      { color: #666; }
.loud       { color: #000; }
.highlight  { background:#ff0; }
.added      { background:#060; color: #fff; }
.removed    { background:#900; color: #fff; }

.first      { margin-left:0; padding-left:0; }
.last       { margin-right:0; padding-right:0; }
.top        { margin-top:0; padding-top:0; }
.bottom     { margin-bottom:0; padding-bottom:0; }
.flex-video {
  position: relative;
  padding-bottom: 67.5%;
  height: 0;
  overflow: hidden;
}

.flex-video.widescreen { padding-bottom: 57.25%; }

.flex-video iframe,
.flex-video object,
.flex-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* --------------------------------------------------------------

   fancy-type.css
   * Lots of pretty advanced classes for manipulating text.

   See the Readme file in this folder for additional instructions.

-------------------------------------------------------------- */

/* Indentation instead of line shifts for sibling paragraphs. */
  /* p + p { text-indent:2em; margin-top:-1.5em; } */
   form p + p  { text-indent: 0; } /* Don't want this in forms.


/* For great looking type, use this code instead of asdf:
   <span class="alt">asdf</span>
   Best used on prepositions and ampersands. */

.alt {
  color: #666;
  font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif;
  font-style: italic;
  font-weight: normal;
}


/* For great looking quote marks in titles, replace "asdf" with:
   <span class="dquo">&#8220;</span>asdf&#8221;
   (That is, when the title starts with a quote mark).
   (You may have to change this value depending on your font size). */

.dquo { margin-left: -.5em; }


/* Reduced size type with incremental leading
   (http://www.markboulton.co.uk/journal/comments/incremental_leading/)

   This could be used for side notes. For smaller type, you don't necessarily want to
   follow the 1.5x vertical rhythm -- the line-height is too much.

   Using this class, it reduces your font size and line-height so that for
   every four lines of normal sized type, there is five lines of the sidenote. eg:

   New type size in em's:
     10px (wanted side note size) / 12px (existing base size) = 0.8333 (new type size in ems)

   New line-height value:
     12px x 1.5 = 18px (old line-height)
     18px x 4 = 72px
     72px / 5 = 14.4px (new line height)
     14.4px / 10px = 1.44 (new line height in em's) */

p.incr, .incr p {
	font-size: 10px;
	line-height: 1.44em;
	margin-bottom: 1.5em;
}


/* Surround uppercase words and abbreviations with this class.
   Based on work by J¿rgen Arnor Grds¿ Lom [http://twistedintellect.com/] */

.caps {
  font-variant: small-caps;
  letter-spacing: 1px;
  text-transform: lowercase;
  font-size:1.2em;
  line-height:1%;
  font-weight:bold;
  padding:0 2px;
}
