/*
Theme Name: Museum Core
Theme URI: http://www.museumthemes.com
Description: A simple WordPress theme/framework with support for post formats, thumbnails, background, header, menus and more...
Version: 1.1.3.4
Author: Arcane Palette Creative Design
Author URI: http://www.arcanepalette.com
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: two-columns, white, custom-menu, threaded-comments, sticky-post, flexible-width, custom-background, featured-image-header, featured-images, post-formats, right-sidebar, left-sidebar, custom-header, featured-image-header, translation-ready, theme-options, gray
Git Repo: https://github.com/ArcanePalette/AP-Museum_Core
*/

/*
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.


    http://www.opensource.org/licenses/gpl-3.0.html
*/

/* This theme uses HTML5 Boilerplate since 0.3 */
/*
 * 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
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

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: #222222; color: #fff; text-shadow: none!important; }
::selection { background: #222222; color: #fff; text-shadow: none!important; }


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

a { color: #00e; }
a:visited { color: #551a8b; }
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: 'Inconsolata', monospace, serif; _font-family: 'Inconsolata', 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
  white-space: -pre-wrap; /* Opera 4-6 */
  white-space: -o-pre-wrap; /* Opera 7 */
  white-space: pre-wrap; /* css-3 */
  word-wrap: break-word; /* Internet Explorer 5.5+ */
  overflow: auto; /* browsers that don't break words correctly can get a scroll for long strings of characters and links */
}

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

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/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; *overflow: visible; }

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


/* Here are some generic typographic styles from blueprintCSS */
/* typography.css */
@media screen, projection {
	h1, h2, h3, h4, h5, h6 {font-weight:normal;}
	h1 {font-size:2em;line-height:1;margin: 0 0 0.75em;}
	h2 {font-size:2em;margin-bottom:0.75em;}
	h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
	h4 {font-size:1.2em;line-height:1.25;margin-bottom: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;}
	p {margin:0 0 1.5em;}
	p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
	p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
  pre, code, tt { font-size: 12px; }
	a {color:#009;text-decoration:underline;}
	blockquote {margin:1.5em;font-style:italic;}
	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;}
	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;}
	table {margin-bottom:1.4em;width:100%;}
	th {font-weight:bold;}
	th, td, caption {padding:4px 10px 4px 5px;}
	tfoot {font-style:italic;}
	caption {background:#eee;}
	.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
	.large {font-size:1.2em;line-height:2.5em;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;}

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

	/* 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: 'PT Serif',"Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; font-weight: normal; }

	/* This is the icons plugin for blueprintcss that adds contextual link icons depending on the thing being linked */

	/* Use this class if a link gets an icon when it shouldn't. */
	body a.noicon { background:transparent none !important; padding:0 !important; margin:0 !important; }

	/* Make sure the icons are not cut */
	a[href^="mailto:"],
	a[href$=".pdf"],
	a[href$=".doc"],
	a[href$=".xls"],
	a[href$=".rss"],
	a[href$=".rdf"],
	a[href^="aim:"] {
		padding:2px 0 2px 22px;
		margin:-2px 0;
		background-repeat: no-repeat;
		background-position: left center;
	}

	/* Email */
	a[href^="mailto:"]  { background-image: url(icons/email.png); }

	/* Files */
	a[href$=".pdf"]   { background-image: url(icons/pdf.png); }
	a[href$=".doc"]   { background-image: url(icons/doc.png); }
	a[href$=".xls"]   { background-image: url(icons/xls.png); }

	/* Misc */
	a[href$=".rss"],
	a[href$=".rdf"]  {
		background-image: url(icons/feed.png);
	}
	a[href^="aim:"]  { background-image: url(icons/im.png); }
  a.rsswidget img { display: none; } /* resets the wp rss feed icon */

} /* closes blueprintCSS styles */

/* formalize.css
	formalize.css is a set of CSS styles (and some js) to make browsers
	agree on how forms inputs should display. In general, it makes them
	look neater and takes care of some browser-compatibility issues, most
	of which are removed in favor of BPH5's method with the exception of
	when it applies to form data */
/* `Widths
----------------------------------------------------------------------------------------------------*/

.input_tiny { width: 50px; }
.input_small { width: 100px; }
.input_medium { width: 150px; }
.input_large { width: 200px; }
.input_xlarge { width: 250px; }
.input_xxlarge { width: 300px; }
.input_full { width: 100%; }

/*
  Added via JS to <textarea> and class="input_full".
  Applies only to IE7. Other browsers don't need it.
*/
.input_full_wrap { display: block; padding-right: 8px; }

/* `UI Consistency
----------------------------------------------------------------------------------------------------*/

::-moz-focus-inner { border: 0; padding: 0; }

input[type="search"]::-webkit-search-decoration { display: none; }

input,
button,
select,
textarea {
  margin: 0;
  vertical-align: middle;
}

input[type="radio"],
input[type="checkbox"] {
  position: relative;
  vertical-align: top;
  top: 3px;
  /* IE8, IE9, IE10 */
  top: 0\0;
  /* IE7 */
  *top: -3px;
}

/* iPad */
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 2px;
  }
}

/* iPhone 3 */
@media (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 0;
  }
}

/* iPhone 4 */
@media (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 0;
  }
}

button,
input[type="reset"],
input[type="submit"],
input[type="button"] {
  -webkit-appearance: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  background: #ddd url(images/button.png) repeat-x;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #ddd));
  background: -moz-linear-gradient(top center, #fff 0%, #ddd 100%);
  border: 1px solid;
  border-color: #ddd #bbb #999;
  cursor: pointer;
  color: #333;
  /*
    Helvetica Neue present, because it works better
    for line-height on buttons than Arial, on OS X.
  */
  font: bold 12px/1.3 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
  outline: 0;
  overflow: visible;
  padding: 3px 10px;
  text-shadow: #fff 0 1px 1px;
  width: auto;

  /* IE7 */
  *padding-top: 2px;
  *padding-bottom: 0px;
}

button {
  /* IE7 */
  *padding-top: 1px;
  *padding-bottom: 1px;
}

textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  -webkit-appearance: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding;
  -webkit-background-clip: padding;
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: #000;
  outline: 0;
  padding: 2px 3px;
  font-size: 13px;
  /*
    Leaving out Helvetica Neue, to not throw off size="..."
    on inputs. Arial is more reliable, on Windows and OS X.
  */
  font-family: Arial, 'Liberation Sans', FreeSans, sans-serif;
  height: 1.8em;

  /* IE7 */
  *padding-top: 2px;
  *padding-bottom: 1px;
  *height: auto;
}

/*
  Separate rule for Firefox.
  Separate rule for IE, too.
  Cannot stack with WebKit's.
*/
::-webkit-input-placeholder { color: #888; }

input:-moz-placeholder,
textarea:-moz-placeholder {
  color: #888;
}

input.placeholder_text,
textarea.placeholder_text {
  color: #888;
}

:invalid {
  /*
    Suppress red glow that Firefox
    adds to form fields by default,
    even when user is still typing.
  */
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

button:focus,
button:active,
input:focus,
input:active,
select:focus,
select:active,
textarea:focus,
textarea:active {
  -moz-box-shadow: #06f 0 0 7px;
  -webkit-box-shadow: #06f 0 0 7px;
  box-shadow: #06f 0 0 7px;

  /* for Opera */
  z-index: 1;
}

input[type="file"]:focus,
input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

select[disabled],
textarea[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
  background-color: #eee;
}

button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled] {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  color: #888;
  cursor: default;
}

textarea,
select[size],
select[multiple] {
  height: auto;
}

/* Tweaks for Safari + Chrome. */
@media (-webkit-min-device-pixel-ratio: 0) {
  select {
    background-image: url(images/select_arrow.gif);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }

  select[size],
  select[multiple] {
    background-image: none;
    padding: 0;
  }

  ::-webkit-validation-bubble-message {
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666), color-stop(1, #000));
    border: 1px solid;
    border-color: #747474 #5e5e5e #4f4f4f;
    color: #fff;
    font: 13px/17px 'Lucida Grande', Arial, 'Liberation Sans', FreeSans, sans-serif;
    overflow: hidden;
    padding: 15px 15px 17px;
    text-shadow: #000 0 0 1px;
    height: 16px;
  }

  ::-webkit-validation-bubble-arrow,
  ::-webkit-validation-bubble-top-outer-arrow,
  ::-webkit-validation-bubble-top-inner-arrow {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #666;
    border: 0;
  }
}

textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

optgroup {
  color: #000;
  font-style: normal;
  font-weight: normal;
}

/**
 * the grid
 */

.container {
  padding-left: 20px;
  padding-right: 20px;
}

#wrap {
  width: 100%;
  max-width: 1140px;
  min-width: 755px;
  margin: 0 auto;
  overflow: hidden;
}

.span-1,
.span-2,
.span-3,
.span-4,
.span-5,
.span-6,
.span-7,
.span-8,
.span-9,
.span-10,
.span-11 {
  margin-right: 3.8%;
  float: left;
  min-height: 1px;
}

#wrap .span-1 {
  width: 4.85%;
}

#wrap .span-2 {
  width: 13.45%;
}

#wrap .span-3 {
  width: 22.05%;
}

#wrap .span-4 {
  width: 30.75%;
}

#wrap .span-5 {
  width: 39.45%;
}

#wrap .span-6 {
  width: 48%;
}

#wrap .span-7 {
  width: 56.75%;
}

#wrap .span-8 {
  width: 65.4%;
}

#wrap .span-9 {
  width: 74.05%;
}

#wrap .span-10 {
  width: 82.7%;
}

#wrap .span-11 {
  width: 91.35%;
}

#wrap .span-12 {
  width: 100%;
  float: left;
}

.last {
  margin-right: 0px;
}

img, object, embed {
  max-width: 100%;
}

img {
  height: auto;
}

/**
 * theme css starts here
 */

/* Main */
body {
	background: #efefef;
	font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
	color: #111111;
	text-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5);
}

.container {
	background: #ffffff;
	margin: 10px auto;
	box-shadow: 0px 0px 4px rgba(200, 200, 200, 0.5);
}

a, a:link, a:visited { color: #486D96; }
a:hover, a:active { color: #333333; }
a {
  text-decoration: none;
  -webkit-transition: all 0.3s ease!important;
  -moz-transition: all 0.3s ease!important;
  -o-transition: all 0.3s ease!important;
  transition: all  0.3s ease!important;
}

.clear { clear:both; }
.spacer-10 { clear:both; height: 10px; }
.span-3umn {
	width: 32%;
	float: left;
	margin-right: 10px;
}
.last { margin-right: 0!important; }

h3 { margin: auto; }

span[frown] {
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  display:inline-block; padding: 0 10px;
}

/* this stuff is borrowed from Kubrik, the WordPress default theme and handles
   WP-specific stuff. */

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */
/* added .center because I always forget that the class is .centerED */

img.centered, img.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* Calendar */
/* this is still using styles from Kubrick because I can't be bothered to test the calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	padding: 3px 0 4px 0!important;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text, .gallery-item dd.gallery-caption {
	font-size: 0.75em;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.gallery img { border: 1px solid #999999!important; box-shadow: 2px 2px 2px #cccccc; }

/* Header */
header {
  margin: 20px 0;
}
hgroup { clear: both; padding: 5px 10px; }
hgroup h1, hgroup h2 { margin: auto!important; }

.headerimg {
  position: relative;
}
.headerimg hgroup {
  position: absolute;
  text-align: right;
  right: 20px;
  bottom: 20px;
}
.headerimg hgroup h2, .headerimg hgroup h3, .headerimg hgroup a {
  color: #ffffff;
  text-shadow: 2px 2px 1px #000000;
}
hgroup h2 { font-size: 3em; }
hgroup h3 { font-size: 2em; }

nav.topnav,
nav.mainnav {
	margin: 0!important;
  position: relative;
  height: 36px;
  z-index: 1;
  display: block;
  clear: both;
}
nav.topnav ul,
nav.mainnav ul {
	list-style-type: none;
	margin: 0 !important;
}
nav.topnav li,
nav.mainnav li {
	float: left;
	padding: 7px 10px;
}
nav.topnav li:hover,
nav.topnav li:active,
nav.mainnav li:hover,
nav.mainnav li:active {
	background: #efefef;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all  0.3s ease;
}
nav.topnav li a:link,
nav.topnav a:visited,
nav.mainnav li a:link,
nav.mainnav a:visited {}
nav.topnav li a:hover,
nav.topnav a:active,
nav.mainnav li a:hover,
nav.mainnav a:active {
	position:relative;
	z-index:999;
}
nav.topnav li .first,
nav.mainnav li .first {
	margin-left: 0px !important;
}
nav.topnav li li,
nav.mainnav li li {
	display: inline;
	width: 150px;
	margin: 0;
	padding: 7px 10px;
	clear: left;
	position: relative;
	z-index: 999;
	line-height: 0;
	opacity: 0;
}
nav.topnav li:hover li,
nav.mainnav li:hover li {
	line-height: 20px;
	opacity: 1;
}
nav.topnav li li,
nav.mainnav li li {
	-webkit-transition: opacity .50s ease-in .25s, line-height .15s linear .1s;
	-moz-transition: opacity .50s ease-in .25s, line-height .15s linear .1s;
	-o-transition: opacity .50s ease-in .25s, line-height .15s linear .1s;
	transition: opacity .50s ease-in .25s, line-height .15s linear .1s;
}
nav.topnav li li:hover,
nav.topnav li li:active,
nav.mainnav li li:hover,
nav.mainnav li li:active {
	background: #fcfcfc;
	box-shadow: none!important;
}
nav.topnav li ul,
nav.mainnav li ul {
	position: absolute;
	left: -999em;
	margin-top: 5px!important;
	width: 170px;
}
nav.topnav li:hover ul,
nav.mainnav li:hover ul {
	left: auto;
	background: #efefef;
	margin-left: -10px!important;
	padding: 0px;
	z-index: 10;
	box-shadow: 2px 2px 2px rgba(200, 200, 200, 0.5);
}
nav.topnav li:hover ul,
nav.topnav li.sfhover ul,
nav.mainnav li:hover ul,
nav.mainnav li.sfhover ul {
	left: auto;
}
nav.topnav li:hover li ul,
nav.mainnav li:hover li ul {
  left: -999em;
}
nav.topnav li li:hover ul,
nav.mainnav li li:hover ul {
  left: 180px;
  top: -5px;
  z-index: 11;
}

/* Content */

article {
	margin-bottom: 20px;
}
article.sticky {
  padding: 10px;
  margin: 0 0 20px 0;
  background: #efefef;
  border: 1px solid #cccccc;
  border-radius: 5px;
}

h3.the_date{
	font-size: 1.0em;
	line-height: 100%;
	margin: 0;
}

time {
	font-family: 'Ubuntu', sans-serif;
}

h2.the_title {
    display: none;  /* USER EDITED */
	line-height: 100%;
	margin: 0 0 20px;
}

.postmetadata {
	font-family: 'Ubuntu', sans-serif;
	font-size: 0.9em;
	padding: 0 0 5px 0;
}
.navigation {
	margin: 10px;
}

/* post formats */
article.format-aside {
  border: 1px solid #cccccc;
  background: #efefef;
  border-radius: 5px;
  padding: 10px;
  font-style: italic;
}
article.format-aside .human-time-diff { font-style: normal; }

article.format-video .entry embed,
article.format-video .entry object,
article.format-video .entry iframe,
article.format-audio .entry embed,
article.format-audio .entry object,
article.format-audio .entry iframe {
  display: block;
  margin: 0 auto;
  text-align: center;
}

/* search page */
section.searchform { margin: 20px 0; }
section.searchform h3 { margin: 0 0 20px; }
form#searchform input#s { width: 155px; }
form#searchform input#s {
  background: url('images/search.png') 130px 1px no-repeat;
  -webkit-transition: all 0.3s ease; 
  -moz-transition: all 0.3s ease; 
  -o-transition: all 0.3s ease; 
  transition: all  0.3s ease;
}
form#searchform input#s:active, form#searchform input#s:focus {
  background: url('images/search.png') 170px 1px no-repeat;
}

/* Comments */

ul.commentlist, ol.commentlist { clear: both; }
#comments ul.commentlist, #comments ol.commentlist { list-style-type: none; margin: 0; padding: 0; }
#comments li div.the_comment { padding: 10px; border-bottom: 1px solid #efefef; margin-bottom: 10px; }
#comments ul.children { margin: 0 0 0 10px; list-style-type: none; }
#comments ul.children li { border-left: 5px solid #efefef; }
#comments ul.children li.bypostauthor { border-left: 5px solid #dcdcdc; }
.odd .avatar { float: left; margin-right: 10px; }
.even .avatar { float: right; margin-left: 10px; }
li.comment { clear: both; }
li.bypostauthor { background: #efefef; border-bottom: 1px solid #dcdcdc; }
#comments .reply button { margin: 10px 0; clear: both; }
#comments .reply button a { color: #333; }
h3#reply-title { clear: both; }
form#commentform label { width: 5em; float: left; }
form#commentform p.comment-form-author, form#commentform p.comment-form-email, form#commentform p.comment-form-url {
  width: 20em;
}
form#commentform span.required { float: right; color: red; }
form#commentform p.comment-notes span.required { float: none; }
#comments p.form-allowed-tags { font-size: 0.8em; }
#comments .cancel-comment-reply { clear: both; }

/* resets alt style for comments */
#comments .alt {
  font-family: 'Droid Sans', Arial, Helvetica, sans-serif;
  color: #111111;
  font-style: normal;
}


/* Sidebar */

.sidebar {
	position:relative;
	height:100%;
}

ul.sidebar, .sidebar ul  {
	list-style-type: none;
	margin: 0px !important;
	padding: 10px!important;
}
.sidebar h2 { margin: auto; }

.the_left, .the_right {
	padding-bottom: 20px;
	display: block;
}
.the_left { float: left; }
.the_right { float: right; }

.sidebar .widget { margin-bottom: 20px; }

/* Footer */

footer {
	text-align: left;
	padding: 10px;
}
footer ul { list-style-type: none; margin: 0; padding: 0; }
footer h2 { font-size: 1.6em; margin: 0; }
.credit { text-align: center; }
footer nav { text-align: center; margin: 10px auto;}
nav.footernav li { display: inline; margin: 0 10px; }

/* typography */
tt, code, pre, .code, .inconsolata { font-family: 'Inconsolata', monospace; }
pre { padding: 10px; background: #f9f9f9; border: 1px dashed #cccccc; border-radius: 4px; text-shadow: none; }
tt, code, .code { padding: 2px 5px; background: #f9f9f9; border: 1px solid #cccccc; text-shadow: none; border-radius: 4px; }
.ubuntu { font-family: 'Ubuntu', sans-serif; }
.droid { font-family: 'Droid Sans', sans-serif; }
.ptserif { font-family: 'PT Serif', serif; }

/* Boilerplate HTML 5 end of stylesheet stuff starts here */

/* =============================================================================
   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: drupal.org/node/897638 */
.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; }



/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

/* Smaller screens */

@media only screen and (max-width: 1023px) {

  body {
  font-size: 0.8em;
  line-height: 1.5em;
  }
.container {
    padding-left: 0;
    padding-right: 0;
  }
  article {
    padding: 0 1.8%;
  }
  article.sticky {
    padding: 10px 1.8%!important;
    margin: 0 0 20px 0!important;
  }
  /*this is a hack that worked out better than I expected */
  iframe, object, embed {
    max-width: 98%;
    max-height: 74%;
  }
  }


/* Mobile */

@media handheld, only screen and (max-width: 767px) {

  body {
  font-size: 14px;
  -webkit-text-size-adjust: none;
  }

  #wrap, body, .container {
  width: 100%;
  min-width: 0;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 0px;
  padding-right: 0px;
  }

  #wrap .span-1, #wrap .span-2, #wrap .span-3, #wrap .span-4, #wrap .span-5, #wrap .span-6, #wrap .span-7, #wrap .span-8, #wrap .span-9, #wrap .span-10, #wrap .span-11, #wrap .span-12 {
  width: auto;
  float: none;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 20px;
  padding-right: 20px;
  }

}
/* small screens break the h1 */
@media only screen and (max-width: 551px){
  .headerimg { clear: both; background: #222; }
  .headerimg img { min-height: 110px; }
  .headerimg h2 { font-size: 150%; }
}

/* smaller screens break the tagline -- but this only really matters when we've got a header image */
@media only screen and (max-width: 380px){
  hgroup h1 { font-size: 150%; }
  .headerimg h2, h2.the_title { font-size: 120%; }
  h3 { font-size: 100%; }
  nav.topnav, nav.mainnav { font-size: 80%; }
}


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

/* end of Boilerplate HTML5 CSS */
