/* normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
  display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */
body {
  margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

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

/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* == Support == */
/* == Variables == */
/* == Mixins == */
@media screen {
  /* == Generic styles ======== */
  body {
    color: #444;
    font-family: "PT Serif", Times, serif;
    word-break: break-word;
    font-size: 16px;
  }

  h1, h2, h3, legend, h4, h5, h6 {
    margin-top: 0em;
    margin-bottom: 1.5em;
  }

  h1 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 0.375em;
  }

  h2 {
    font-size: 24px;
    line-height: 36px;
  }

  h3, legend {
    font-size: 20px;
    line-height: 30px;
  }

  h4 {
    font-size: 18px;
    line-height: 27px;
  }

  h5, h6 {
    font-size: 16px;
    line-height: 24px;
  }

  h6 {
    font-weight: normal;
    font-style: italic;
  }

  a {
    border-bottom: 1px dotted;
    text-decoration: none;
    overflow: auto;
  }
  a:link {
    color: #888;
  }
  a:visited {
    color: #999;
  }
  a:hover {
    color: #777;
  }
  a:active {
    color: #777;
  }
  a img {
    margin-bottom: -2px;
    vertical-align: sub;
    border: none;
  }

  p, ul, ol, dl {
    line-height: 24px;
    margin-bottom: 1.5em;
  }

  ul ul, ul ol, ol ul, ol ol {
    margin: 0;
  }

  dt {
    font-style: italic;
    font-weight: normal;
  }

  dd {
    margin-left: 1.3333em;
  }

  table {
    width: 100%;
    border: 1px solid #ccc;
    border-width: 1px 1px 0 0;
    margin-bottom: 1.3333em;
  }

  th {
    font-weight: bold;
    text-align: left;
  }

  th, td {
    border: solid #ccc;
    border-width: 0 0 1px 1px;
    padding: 4px;
  }

  blockquote {
    font-style: italic;
    margin-left: 2.6667em;
    margin-right: 2.6667em;
  }

  /* Reusable classes */
  .hide {
    text-indent: -1000em;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  .active {
    font-weight: bold;
  }

  /* == Formalize Styles == */
  /* == http://formalize.me == */
  /* `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;
    margin-right: 10px;
  }

  /* iPad */
  /* iPhone 3 */
  /* iPhone 4 */
  .button, button,
  input[type="reset"],
  input[type="submit"],
  input[type="button"] {
    -webkit-appearance: none;
    background-color: #000;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-family: 'PT Serif', serif;
    font-size: 16px;
    line-height: 24px;
    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 #000;
    color: #000;
    outline: 0;
    padding: 2px 10px;
    font-size: 16px;
    /*
      Leaving out Helvetica Neue, to not throw off size="..."
      on inputs. Arial is more reliable, on Windows and OS X.
    */
    font-family: "PT Serif", 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: #333 0 0 7px;
    -webkit-box-shadow: #333 0 0 7px;
    box-shadow: #333 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. */
  textarea {
    min-height: 40px;
    overflow: auto;
    resize: vertical;
    width: 100%;
  }

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

  /* Theme-Specific Form Elements */
  fieldset {
    display: block;
    clear: both;
    border: 0;
    margin: 0;
  }

  #advanced-search-form label, #advanced-search-form .label {
    clear: left;
    font-weight: normal;
    margin: 40px 0 10px 0;
    display: inline-block;
  }
  #advanced-search-form .inputs {
    clear: both;
  }
  #advanced-search-form input, #advanced-search-form select {
    width: 100%;
    display: block;
    margin-bottom: 1.5em;
  }
  #advanced-search-form input[type=submit], #advanced-search-form button {
    clear: both;
    width: auto;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  #advanced-search-form .submit {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
  #advanced-search-form .field {
    border-bottom: 1px solid #ccc;
    width: 100%;
    overflow: auto;
    padding: 1.5em 0;
  }
  #advanced-search-form .field .inputs {
    width: 100%;
  }
  #advanced-search-form .field label {
    margin: 0;
    margin-bottom: 1.5em;
  }
  #advanced-search-form .field div.field:last-of-type {
    display: inline-block;
    margin-bottom: 1em;
  }
  #advanced-search-form .field div :only-child {
    margin-bottom: 0;
  }
  #advanced-search-form .field .remove_search {
    margin-bottom: 1.5em;
  }
  ul.items-list, ul.collections-list, ul.title-list {
    list-style: none;
    margin-left: 0;
  }

  .title-list li {
    line-height: 1.33333em;
    margin-bottom: 1.33333em;
  }

  textarea#rights {
    float: none;
    display: none;
    line-height: 1.33333em;
    width: 512px;
    border: none;
    height: 31em;
    color: #444;
    padding: 0;
    margin: 0;
  }

  div.error {
    line-height: 1.33333em;
    margin: 1.33333em 0;
  }

  /* == Microformats == */
  .hTagcloud {
    margin-top: 2em;
  }
  .hTagcloud ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
    line-height: 1.8em;
  }
  .hTagcloud li {
    display: inline;
    margin-right: 8px;
  }

  .popular {
    font-size: 100%;
  }

  .v-popular {
    font-size: 140%;
  }

  .vv-popular {
    font-size: 180%;
  }

  .vvv-popular {
    font-size: 220%;
  }

  .vvvv-popular {
    font-size: 260%;
  }

  .vvvvv-popular {
    font-size: 300%;
  }

  .vvvvvv-popular {
    font-size: 320%;
  }

  .vvvvvvv-popular {
    font-size: 340%;
  }

  .vvvvvvvv-popular {
    font-size: 360%;
  }

  .popular a, .popular a:visited,
  .v-popular a, .v-popular a:visited,
  .vv-popular a, .vv-popular a:visited {
    color: #714271;
  }

  .vvv-popular a, .vvv-popular a:visited,
  .vvvv-popular a, .vvvv-popular a:visited {
    color: #636;
  }

  .vvvvv-popular a, .vvvvv-popular a:visited,
  .vvvvvv-popular a, .vvvvvv-popular a:visited,
  .vvvvvvv-popular a, .vvvvvvv-popular a:visited,
  .vvvvvvvv-popular a, .vvvvvvvv-popular a:visited {
    color: #5D2E5D;
  }

  /* == Susy grid styles == */
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }

  #wrap {
    *zoom: 1;
    max-width: 53em;
    _width: 53em;
    padding-left: 1em;
    padding-right: 1em;
    margin-left: auto;
    margin-right: auto;
    margin: 0;
  }
  #wrap:after {
    content: "";
    display: table;
    clear: both;
  }
  /* == Header == */
  header {
    background-size: auto !important;
    -ms-behavior: url("../javascripts/backgroundsize.min.htc");
    background-position-x: right !important;
  }

  .no-textshadow #site-title a {
    background-color: #000;
    padding: 0.375em;
  }
  .no-textshadow #site-title a:link, .no-textshadow #site-title a:visited, .no-textshadow #site-title a:active, .no-textshadow #site-title a:hover {
    color: #fff;
  }

  #site-title {
    font-size: 32px;
    margin-left: 16px;
    padding-bottom: 1.5em;
    padding-top: 1.5em;
  }
  #site-title a {
    border-bottom: 0;
  }
  #site-title a img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
  }

  #advanced-form {
    margin-bottom: 1.5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  #advanced-form label {
    line-height: 24px;
  }
  #advanced-form input[type="radio"] {
    margin: 3px 10px 3px 0;
  }

  /* == Navigation == */
  nav ul {
    padding-left: 0;
  }

  ul.navigation {
    padding-left: 0;
  }

  .top ul {
    border: solid #ccc;
    border-width: 0 0 1px 0;
  }

  .bottom ul {
    margin-bottom: 0;
  }

  .menu-button {
    background-color: #222;
    cursor: pointer;
    padding: .75em 1em;
    display: block;
    color: #fff;
    text-transform: uppercase;
  }

  .menu-button:after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("../images/menu.png");
    background-size: contain;
    margin-left: 10px;
  }

  .no-backgroundsize .menu-button:after {
    background-image: url("../images/menu_ie.png");
  }

  .mobile {
    display: none;
  }

  #primary-nav ul.navigation, .mobile {
    border-top: 1px solid #ccc;
    position: relative;
    margin-top: 0em;
    margin-bottom: 0em;
  }
  #primary-nav ul.navigation ul, .mobile ul {
    margin: 0;
    padding: 0;
    display: none;
    border-top: 0;
  }
  #primary-nav ul.navigation ul li, .mobile ul li {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin: 0;
  }
  #primary-nav ul.navigation ul li a, .mobile ul li a {
    padding-left: 2.5em;
  }
  #primary-nav ul.navigation ul li ul li a, .mobile ul li ul li a {
    padding-left: 4em;
  }
  #primary-nav ul.navigation li:hover > ul, .mobile li:hover > ul {
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
  }
  #primary-nav ul.navigation > li, .mobile > li {
    padding: 0;
    list-style-type: none;
    width: 100%;
  }
  #primary-nav ul.navigation > li a, .mobile > li a {
    border-bottom: 1px solid #ccc;
    display: block;
    padding: 0.75em 0.975em;
  }
  #primary-nav ul.navigation > li a:before, .mobile > li a:before {
    content: "\BB\20";
    display: inline;
  }

  .mobile {
    border-top: 0;
  }
  .mobile ul {
    margin-top: 0;
    padding-top: 0;
    display: block;
  }
  .mobile li {
    background-color: #4d4d4d;
    padding-top: 0;
  }
  .mobile li a {
    border-bottom: 0;
    display: inline-block;
    vertical-align: top;
    width: 100%;
  }
  .mobile li a:before {
    content: "";
  }
  .mobile li.parent > a:after {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("../images/white_arrow.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right center;
    display: inline-block;
    float: right;
  }
  .mobile li:hover ul {
    display: block;
  }
  .mobile li ul li {
    background-color: #333;
  }
  .mobile li ul li ul li {
    background-color: #000;
  }

  .no-backgroundsize .mobile li.parent > a:after {
    background-image: url("../images/white_arrow_ie.png");
  }

  .secondary-nav ul, #secondary-nav ul {
    margin: 0;
  }

  .secondary-nav li, #secondary-nav li {
    display: inline-block;
    margin: 0 10px 0 0;
    padding: 0;
    list-style-type: none;
    font-size: 0.875em;
    line-height: 1.5em;
  }
  .secondary-nav li:last-of-type, #secondary-nav li:last-of-type {
    border-bottom: 0;
  }
  .secondary-nav li a, #secondary-nav li a {
    border-bottom: 0;
    padding-top: 0.375em;
    padding-bottom: 0.375em;
    display: inline-block;
  }

  .pagination {
    padding-left: 0;
    float: left;
    margin: 12px 0;
    height: 48px;
    display: block;
    overflow: auto;
    line-height: 48px;
  }
  .pagination li {
    list-style-type: none;
    line-height: 24px;
    height: 24px;
    display: inline-block;
    float: left;
    margin: 12px 10px 12px 0;
  }
  .pagination input[type=text] {
    width: 5em;
    margin-right: 5px;
    vertical-align: top;
    height: 24px;
    border-style: solid;
    border-width: 0.0625em;
    padding: -0.0625em;
  }
  .pagination .pagination_next, .pagination .pagination_previous {
    background-color: #000;
    height: 24px;
    overflow: auto;
  }
  .pagination .pagination_next a, .pagination .pagination_previous a {
    font-weight: bold;
    border-bottom: 0;
    padding: 0 10px;
  }

  nav.pagination {
    overflow: visible;
  }
  nav.pagination .pagination_list {
    padding-top: 0;
  }
  nav.pagination .pagination_list li {
    height: auto;
  }

  nav.pagination:nth-of-type(3), #content > .pagination:nth-of-type(2) {
    width: 100%;
    height: 96px;
  }

  nav.pagination:nth-of-type(3) ul, #content > .pagination:nth-of-type(2) {
    border-top: 1px solid #ccc;
    border-bottom: 0;
    padding-top: 1.5em;
    margin: 0 0 1.5em 0;
  }

  #content > nav.pagination:nth-of-type(2) {
    width: 100%;
    height: auto;
    padding-top: 0;
    margin-bottom: 0;
    border-top: 0;
  }

  .pagination_list {
    margin: 0;
    width: 100%;
    overflow: hidden;
    list-style-type: none;
    font-size: 0.875em;
    line-height: 1.5em;
    padding-top: 0.75em;
  }
  .pagination_list .pagination_current {
    background-color: #ccc;
    color: #444;
    font-weight: bold;
  }
  .pagination_list .next {
    border-left: 1px solid #ccc;
    padding-left: 1em;
  }
  .pagination_list .previous {
    border-right: 1px solid #ccc;
    padding-right: 1em;
  }
  .pagination_list li {
    float: left;
    margin: 0;
  }
  .pagination_list li:last-child a {
    border-right-width: 1px;
  }
  .pagination_list .pagination_previous, .pagination_list .pagination_next {
    display: none;
  }
  .pagination_list .pagination_current, .pagination_list a {
    border: solid #ccc;
    display: inline-block;
    padding: 0.375em 10px;
    vertical-align: top;
    border-width: 1px 0 1px 1px;
  }

  .item-pagination {
    border-top: 1px solid #ccc;
    margin: 0 0 1.5em 0;
    overflow: hidden;
    padding-top: 1.5em;
  }
  .item-pagination li.previous {
    width: 48%;
    display: block;
    float: left;
  }
  .item-pagination li.next {
    width: 48%;
    display: block;
    float: right;
    text-align: right;
  }

  #sort-links {
    font-size: 0.875em;
    line-height: 1.5em;
    clear: both;
  }
  #sort-links span {
    font-weight: bold;
    margin-right: 1em;
  }

  #sort-links-list {
    list-style: none;
    display: inline-block;
    padding-left: 0;
  }
  #sort-links-list li {
    display: inline-block;
    margin-right: 1em;
  }

  #sort-links + .item {
    border-top: 1px solid #ccc;
    clear: both;
  }

  /* == Content == */
  #simple-search {
    width: 100%;
    display: inline-block;
    margin: 0 10px 10px 0;
  }
  #search-form {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
  #search-form:after {
    content: "";
    display: block;
    height: 0;
    width: 100%;
    clear: both;
  }

  #advanced-search {
    width: 10%;
    text-indent: -9999px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 90%;
    font-weight: bold;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  #advanced-search:link, #advanced-search:hover, #advanced-search:active, #advanced-search:visited {
    color: #fff;
  }

  #advanced-search:after {
    content: "+";
    display: block;
    text-indent: 0;
    text-align: center;
    margin-top: -1.75em;
  }

  #search-wrap {
    position: relative;
  }
  #search-wrap a {
    font-size: .875em;
    text-decoration: none;
    display: inline-block;
    clear: both;
  }
  #search-wrap h2 {
    display: none;
  }
  #search-wrap input[type=text], #search-wrap input[type=submit] {
    height: 30px;
    font-size: 16px;
    line-height: 24px;
    *zoom: 1;
  }
  #search-wrap input[type=submit] {
    width: 30%;
    border: 0;
    background-color: #000;
    color: #fff;
    position: absolute;
    top: 0;
    left: 60%;
    padding: 3px 5px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
  }
  #search-wrap input[type=text] {
    width: 70%;
    border: 1px solid #000;
    padding: 5px 10px;
  }

  #advanced-form {
    display: none;
    background-color: #fff;
    overflow: auto;
    clear: both;
    z-index: 1001;
    position: absolute;
    top: 30px;
    left: 0;
    border: 1px solid #e7e7e7;
    width: 100%;
    padding: 1.5em 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }

  #submit_search {
    margin: -1px 0 0 5px;
  }

  #submit_search_advanced {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  #search-filters ul, #item-filters ul {
    padding-left: 0;
    list-style-type: none;
    display: inline-block;
    margin: 1.5em 0 0 0;
  }
  #search-filters li, #item-filters li {
    display: inline;
  }
  #search-filters li:after, #item-filters li:after {
    content: " \00B7";
    margin: 0 10px 0 5px;
  }
  #search-filters li:last-child:after, #item-filters li:last-child:after {
    content: "\00A0";
  }
  #search-filters ul li ul, #item-filters ul li ul {
    display: inline-block;
  }
  #search-filters ul li ul li, #item-filters ul li ul li {
    list-style-type: none;
    display: inline-block;
  }
  #search-filters ul li ul li:after, #item-filters ul li ul li:after {
    content: ", ";
  }
  #search-filters ul li ul li:last-child:after, #item-filters ul li ul li:last-child:after {
    content: "";
  }

  .element-text {
    margin-bottom: 1.5em;
  }

  /* = Page-specific == */
  #home #primary div {
    margin-bottom: 40px;
    overflow: hidden;
  }
  #home #secondary div {
    margin-bottom: 40px;
    overflow: hidden;
  }
  #home #recent-items ul {
    padding: 0;
  }

  .collections .element {
    margin-bottom: 20px;
  }

  #collection-items .item {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
    overflow: hidden;
    width: 100%;
  }
  #collection-items .item:last-child {
    border-bottom: 0;
  }
  #collection-items .item-description {
    line-height: 1.5em;
  }

  .browse .item {
    overflow: hidden;
    border-top: 1px solid #ccc;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
  .browse .item:last-of-type {
    border-bottom: 0;
  }
  .browse .item-img img {
    width: 100px;
    height: 100px;
    float: left;
    display: block;
    margin: 0 1em 0 0;
    padding: 6px;
    border: 1px solid #ccc;
  }

  .items {
    line-height: 1.5em;
  }
  .items .element {
    margin-bottom: 20px;
  }

  .tags li {
    display: inline;
  }

  #item-content img {
    padding: 5px;
    border: 1px solid #ccc;
    margin-bottom: 2em;
  }

  #featured-item img {
    padding: 8px;
    border: 1px solid #ccc;
    margin-right: 20px;
    margin-bottom: 20px;
    float: left;
  }
  #featured-item h3, #featured-item legend {
    clear: both;
  }

  .items-list li {
    border-bottom: 1px solid #ccc;
    margin-bottom: 1.33333em;
  }

  #itemfiles {
    overflow: auto;
  }
  #itemfiles:after {
    content: "";
    display: block;
    height: 0;
    width: 100%;
    clear: both;
  }
  #itemfiles a {
    float: left;
    margin-right: 1em;
    overflow: visible;
    border-bottom: 0;
    margin-bottom: 1.5em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  #itemfiles a img {
    min-width: 100%;
    border: 1px solid #ccc;
  }

  .collection {
    clear: both;
    border-top: 1px solid #ccc;
    padding-top: 1.33333em;
  }

  .collection .element {
    margin-bottom: 0;
  }

  .element-div {
    line-height: 24px;
    margin-bottom: 1.5em;
  }

  /* == Footer == */
  footer {
    clear: both;
    overflow: hidden;
    padding: 20px;
    border-top: 1px solid #000;
  }
  footer p {
    float: left;
  }
  footer ul {
    float: right;
    width: 60%;
    margin: 0 0 0 60px;
    text-align: right;
  }
  footer li {
    margin-left: 12px;
  }

  /* == Exhibit Builder == */
  .exhibit {
    border-top: 1px solid #ccc;
    padding-top: 1.5em;
  }

  .exhibits .pagination + .exhibit {
    border-top: 0;
    clear: both;
  }

  .summary #exhibit-pages ul {
    font-size: 20px;
    line-height: 30px;
    list-style-type: square;
    padding-left: .25em;
  }

  .show #exhibit-pages a {
    border-bottom: 0;
  }
  .show #exhibit-pages ul {
    margin: 0;
  }
  .show #exhibit-pages li {
    display: inline-block;
    margin-right: 10px;
    border: 0;
  }
  .show #exhibit-pages li ul {
    border-bottom: 1px solid #ccc;
  }
  .show #exhibit-pages .current {
    font-weight: bold;
  }
  .show #exhibit-pages > ul {
    border-bottom: 0;
    margin: 0 0 1.5em 0;
  }
  .show #exhibit-pages > ul a {
    padding: 0.375em 10px;
  }
  .show #exhibit-pages > ul li {
    margin-bottom: -2px;
  }
  .show #exhibit-pages > ul > li:first-of-type {
    margin-top: 0;
  }
  .show #exhibit-pages > ul > li:first-of-type a:after {
    content: ":";
  }
  .show #exhibit-pages > ul > li:nth-child(2) {
    display: block;
  }
  .show #exhibit-pages > ul > li:nth-child(2) .current a {
    border: 1px solid #ccc;
    border-bottom: 3px solid #fff;
    background: #fff;
  }
  .show #exhibit-pages > ul > li:nth-child(3) {
    display: block;
    clear: both;
    margin-top: -3px;
    padding-top: 0.375em;
    padding-bottom: 0.375em;
  }
  .show #exhibit-pages > ul > li:nth-child(3) ul {
    padding-top: 3px;
  }
  .show #exhibit-pages > ul > li:nth-child(4) {
    display: block;
    padding-top: 0.375em;
    padding-bottom: 0.375em;
  }

  .show .exhibit-child-nav li {
    display: inline-block;
    margin-right: 10px;
  }

  .exhibit-item-caption p {
    font-size: 12px;
    margin-top: 1.5em;
  }

  #exhibit-page-nav {
    border-top: 1px solid #ccc;
    line-height: 24px;
    padding-top: 1.5em;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 1024px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 2px;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 0;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 2) and (max-device-width: 480px) {
  input[type="radio"],
  input[type="checkbox"] {
    vertical-align: baseline;
    top: 0;
  }
}
@media screen and (-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, #666666), color-stop(1, black));
    border: 1px solid;
    border-color: #747474 #5e5e5e #4f4f4f;
    color: #fff;
    font: 11px/1 'Lucida Grande', Arial, 'Liberation Sans', FreeSans, sans-serif;
    padding: 15px 15px 17px;
    text-shadow: #000 0 0 1px;
  }

  ::-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;
  }
}
@media screen and (min-width: 48em) {
  #advanced-search-form {
    margin-bottom: 40px;
  }
  #advanced-search-form button {
    clear: both;
    float: right;
    width: auto;
    margin: 0;
  }
  #advanced-search-form .field {
    border-bottom: 1px solid #ccc;
    width: 100%;
    overflow: auto;
    padding: 1.5em 0;
  }
  #advanced-search-form .field .inputs {
    clear: none;
    float: right;
    width: 69%;
  }
  #advanced-search-form .field input, #advanced-search-form .field input[type=text], #advanced-search-form .field select {
    width: 97%;
    float: right;
  }
  #advanced-search-form .field label {
    width: 29%;
    float: left;
    margin: 0;
  }
  #advanced-search-form .field div.field:last-of-type {
    display: inline-block;
    margin-bottom: 1em;
  }
  #advanced-search-form .field div :only-child {
    margin-bottom: 0;
  }
  #advanced-search-form .submit {
    float: right;
  }
}

@media screen and (min-width: 48em) {
  #wrap {
    max-width: 95em;
  }
}

@media screen and (min-width: 48em) {
  #primary-nav ul.navigation > li, .mobile > li {
    padding: 0;
  }
}
@media screen and (min-width: 48em) {
  #simple-search {
    display: block;
  }
}

@media screen and (min-width: 48em) {
  footer p {
    width: 30%;
  }
}
@media screen and (min-width: 48em) {
  .show #exhibit-pages > ul > li:first-of-type {
    float: left;
  }
}
@media screen and (min-width: 768px) {
  /* == Grid == */
  #content {
    width: 74.73684%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
    padding: 40px 0;
  }

  #primary-nav {
    width: 24.21053%;
    float: left;
    margin-right: 1.05263%;
    display: inline;
  }

  #primary {
    padding-left: 0%;
  }

  #home #primary {
    width: 43.15789%;
    float: left;
    margin-right: 1.05263%;
    display: inline;
    padding-left: 11.32075%;
  }

  #home .secondary {
    width: 43.15789%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
    padding-left: 0%;
    padding-right: 11.32075%;
  }

  /* == Header == */
  header {
    background-size: cover !important;
    -ms-behavior: url("../javascripts/backgroundsize.min.htc");
    border-bottom: 20px solid #000;
  }

  .menu-button {
    display: none;
  }

  #primary-nav {
    margin-top: 2.625em;
  }
  #primary-nav .active ul {
    display: block;
  }
  #primary-nav ul {
    margin-top: 0em;
    margin-bottom: 3em;
  }
  #primary-nav a:hover {
    font-weight: bold;
  }

  #search-form {
    margin-bottom: 1.5em;
  }

  #query {
    margin-bottom: 1.5em;
  }

  .secondary-nav, #secondary-nav {
    border-bottom: 1px solid #ccc;
    font-size: 1.125em;
  }
  .secondary-nav a, #secondary-nav a {
    padding: 0.5em 1em 0.5em;
    color: #666;
    border-bottom: 0;
  }
  .secondary-nav ul, #secondary-nav ul {
    margin: 0 0 -1px 0;
  }
  .secondary-nav li, #secondary-nav li {
    display: inline-block;
    padding: 0;
    border: 1px solid #ccc;
  }
  .secondary-nav .active, #secondary-nav .active {
    border-bottom-color: #fff;
  }
  .secondary-nav .current a, #secondary-nav .current a {
    background: #fff;
    color: #333;
    font-weight: bold;
    border-color: #ccc;
    border-width: 1px;
    border-style: solid;
    border-bottom-color: #fff;
  }

  /* == Browse Items == */
  .pagination {
    width: 47%;
    overflow: hidden;
    float: left;
    padding-bottom: 1.5em;
  }

  nav.pagination {
    overflow: visible;
  }

  #content > nav.pagination:nth-of-type(2) {
    width: 47%;
  }

  .pagination_list {
    margin-top: 1.125em;
    float: left;
  }

  .pagination_list a, li.pagination_current {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 0.375em 10px;
    vertical-align: top;
    margin-right: 10px;
  }

  #sort-links {
    clear: none;
    float: right;
  }
  #sort-links ul {
    margin-top: 1.125em;
    padding-top: 0.75em;
  }
  #sort-links span, #sort-links li {
    padding: 0.375em 0 0.375em 20px;
    margin-right: 0;
  }
}
