@import url("https://fonts.googleapis.com/css?family=Oswald:400,700,300");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,600");
@import url("https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400");
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 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 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

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

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

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

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

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

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

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

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

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

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

/**
 * 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/10.
 */
img {
  border: 0;
}

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

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

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

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * 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 Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
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;
}

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

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

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 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 and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 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/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
 * 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 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

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

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

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

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent;
}

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

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

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

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

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

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

/**
 * 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/10.
 */
img {
  border: 0;
}

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

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px;
}

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

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible;
}

/**
 * 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 Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
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;
}

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

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

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 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 and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 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/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold;
}

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

td,
th {
  padding: 0;
}

@media screen {
  /* Table of Contents
  ====================
  - General HTML elements
  -- Text
  --- Headings
  --- Links
  - Neatline exhibit etyling
  -- Simile timeline 
  -- Waypoints
  -- Help 
  - Item browse/search/view
  -- Item browse/search
  --- Search container
  -- Item view
  --- File view
  - Simple pages
  */
  /* - General HTML elements - */
  html {
    height: 100%;
  }

  * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
  * ::selection {
    background: #CC3333;
    color: #fff;
  }

  .clear {
    clear: both;
  }

  .clearfix:before,
  .clearfix:after {
    content: " ";
    display: table;
  }

  .clearfix:after {
    clear: both;
  }

  .clearfix {
    *zoom: 1;
  }

  body {
    margin: 0;
    padding-left: 20px;
    padding-right: 20px;
    background: #f5f5f5;
    overflow-y: scroll;
    height: 100%;
  }
  body p {
    max-width: 75%;
  }

  .container {
    position: relative;
    min-height: 100%;
  }

  #header {
    height: 50px;
    width: 100%;
  }

  .nav {
    background-color: #ca3838;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    z-index: 7000;
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    width: 100%;
    max-height: 50px;
    padding: 5px 0px;
  }
  .nav img {
    display: inline-block;
    float: right;
    margin-top: 5px;
    margin-right: 10px;
  }
  .nav h1 {
    display: inline;
    color: white;
    padding: 0px 12px;
    font-size: 1.8em;
    margin: 0px;
    font-weight: 400;
  }
  .nav a {
    color: white;
    font-size: 1.25em;
    font-weight: 400;
  }
  .nav ul {
    padding: 5px 15px 5px 5px;
    margin: 0px;
    float: right;
  }
  .nav li {
    display: inline;
    padding: 0px 8px;
  }

  #primary {
    padding-bottom: 125px;
  }

  #footer {
    height: 125px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    clear: both;
    padding-bottom: 15px;
  }
  #footer img {
    float: left;
    max-width: initial;
    max-height: initial;
  }
  #footer .adr {
    float: right;
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    margin: 0 50px 0px 0;
  }

  /* -- Text -- */
  body {
    font-family: "Roboto Condensed";
    font-size: 1em;
    font-weight: 300;
  }

  .fa {
    font-size: 14px;
  }

  strong {
    font-weight: 400;
  }

  /* --- Headings --- */
  h1 {
    font-family: "Roboto Condensed";
  }

  h2 {
    font-weight: 400;
    display: inline-block;
  }

  h3 {
    display: block;
    font-size: 1.125em;
    line-height: 1.125em;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 0;
  }

  /* --- Links --- */
  a {
    text-decoration: none;
    color: #CC3333;
  }
  a:hover {
    text-decoration: underline;
  }

  .fa-external-link:before,
  .fa-globe:before {
    color: #CC3333;
  }

  /* - Neatline exhibit styling - */
  body.neatline.show {
    padding: 0;
  }
  body.neatline.show div.exhibit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    right: auto;
    /* Open Layers Map Controls */
  }
  body.neatline.show div.exhibit #neatline, body.neatline.show div.exhibit #neatline-map {
    height: 100%;
  }
  body.neatline.show div.exhibit #OpenLayers_Control_PanZoom_2 {
    top: 54px !important;
  }
  body.neatline.show div.exhibit .olControlLayerSwitcher .maximizeDiv, body.neatline.show div.exhibit .olControlLayerSwitcher .minimizeDiv {
    display: none;
  }
  body.neatline.show div.exhibit #neatline.Waypoints.Simile .olControlLayerSwitcher {
    right: 0;
  }

  /*Pop-up bubble styling */
  #static-bubble img {
    max-width: 40%;
  }

  #static-bubble.bound, #static-bubble.selected {
    overflow-y: auto;
    position: absolute;
    background: #f5f5f5;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    color: #000;
    padding: 1em;
    max-height: 75%;
    width: 50%;
    max-width: 400px;
    right: 1.5em;
    left: auto;
    top: 4em;
    font-size: 1em;
    z-index: 500;
    opacity: 1;
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
  }
  #static-bubble.bound .content, #static-bubble.selected .content {
    display: block;
    margin-top: .5em;
  }
  #static-bubble .title {
    display: inline;
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1em;
  }
  #static-bubble .smaller_text {
    font-size: .9em;
  }
  #static-bubble a.close {
    font-size: 2em;
    line-height: .8em;
  }
  #static-bubble hr, #static-bubble.selected hr {
    display: none !important;
  }
  #static-bubble .item-file {
    display: inline;
  }
  #static-bubble .item-file .thumb {
    max-width: 40% !important;
    display: inline;
  }

  /* --- Simile Timeline ---  */
  /* Positioning and Styling Simile Timeline */
  #neatline #simile, #neatline.Waypoints.Simile #simile {
    height: 100px;
    width: 40%;
    bottom: 10px;
    right: 10px;
    left: auto;
    opacity: 1;
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    z-index: 998;
    border-bottom: 5px solid black;
    cursor: url(/themes/neatlight/images/grab.ico);
    cursor: -webkit-grab;
    cursor: -moz-grab !important;
    cursor: grab;
  }
  #neatline #simile:active, #neatline.Waypoints.Simile #simile:active {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
  }

  .timeline-band-layer-inner:active {
    cursor: url(/themes/neatlight/images/grabbing.ico);
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing !important;
    cursor: grabbing;
  }

  #simile *::selection,
  #simile::selection {
    background: transparent;
    color: #000;
  }

  /*body {
    &.neatline.show .timeline-band {
      position: absolute;
      background: #eee;
      z-index: 10;
      top: 0px;
      height: 100px;
      left: -1216px;
      width: 3055px;
    }
  }*/
  /* Styling selection marker in timeline -- before is rectangle, after is arrow*/
  #simile:before {
    content: '';
    /*border-left: 3px dashed #FF0000;*/
    z-index: 999;
    position: absolute;
    height: 50%;
    left: 49%;
    top: 1;
    width: 10px;
    background-color: #4C8DCF;
    border: none;
  }
  #simile:after {
    content: '';
    opacity: 1;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid #4C8DCF;
    position: absolute;
    left: 49%;
    top: 50%;
  }

  /* --- Waypoints --- */
  /* -- Waypoints -- */
  #neatline.Waypoints.Simile #waypoints {
    background-color: #CC3333;
    position: absolute;
    left: 10px;
    height: auto;
    width: 200px;
    bottom: 15px;
    right: auto;
    top: auto;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    opacity: 1;
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
  }
  #neatline.Waypoints.Simile #waypoints a {
    cursor: default;
    list-style: none;
    color: #fff;
    text-decoration: none;
  }
  #neatline.Waypoints.Simile #waypoints a.title {
    padding: .5em 1em;
    line-height: 1.4em;
    font-weight: 500;
    text-align: center;
  }
  #neatline.Waypoints.Simile #waypoints a.title.highlighted {
    background-color: inherit;
    color: #fff;
  }
  #neatline.Waypoints.Simile #waypoints a.body {
    padding: 0 1em;
    display: list-item;
    line-height: 1em;
    font-weight: 300;
    font-size: .7em;
  }
  #neatline.Waypoints.Simile #waypoints p {
    margin-top: 0;
  }

  /* --- Help --- */
  #darken {
    background: #000000;
    opacity: .7;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    display: none;
    cursor: url(/themes/neatlight/images/close.png), auto;
  }

  #help_screen div {
    display: none;
    background-color: #4C8DCF;
    position: absolute;
    cursor: url(/themes/neatlight/images/close.png), auto;
    z-index: 9999;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -webkit-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    -moz-box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.25) ;
  }
  #help_screen p {
    color: white;
    padding: 0px 12px;
    font-size: 1em;
  }
  #help_screen a {
    color: white;
    text-decoration: underline;
  }

  .welcome {
    top: 3.5em;
    right: 1.5em;
    max-width: 25%;
    max-height: 25%;
  }

  .help1 {
    top: 15%;
    left: 10%;
    right: auto;
    width: 80%;
    max-height: 80%;
    padding-bottom: 5px;
  }
  .help1 p {
    max-width: 100%;
  }

  .help2 {
    bottom: 10px;
    margin-left: 10px;
    right: 10px;
    min-width: 50%;
    min-height: 120px;
    padding-bottom: 5px;
  }
  .help2 img {
    max-height: 100px;
    float: right;
    margin: auto 10px 10px 10px;
  }
  .help2 p {
    max-width: 100%;
  }

  /* -- Item browse & search pages --*/
  body.search h3 a, body.items.browse h3 a {
    color: black;
  }
  body.search h3 a:hover, body.items.browse h3 a:hover {
    color: #CC3333;
  }
  body.search img, body.items.browse img {
    max-height: 100px;
    max-width: 100px;
    display: inline-block;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
  }
  body.search .hentry, body.search td, body.search tr, body.items.browse .hentry, body.items.browse td, body.items.browse tr {
    max-width: 25%;
    min-width: 400px;
    height: 150px;
    display: inline;
    float: left;
    padding-right: 1em;
  }
  body.search.items.browse input[type=text], body.search.search input[type=text], body.items.browse.items.browse input[type=text], body.items.browse.search input[type=text] {
    font-size: 11pt;
  }

  /* Sorting and tags */
  #sort-links {
    margin-top: 10px;
    width: 100%;
  }

  #tags {
    display: inline-block;
    float: right;
  }
  #tags a {
    margin-left: 5px;
    padding: 0 3px;
  }
  #tags a.current {
    background: #CC3333;
    color: #f5f5f5;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
  }

  #sort-links-list {
    margin-top: 0px;
    display: inline-block;
    padding-left: 0;
  }
  #sort-links-list li {
    list-style-type: none;
    display: inline;
    margin-left: 5px;
    padding: 0 3px;
  }
  #sort-links-list li.desc {
    background-color: #CC3333;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
  }
  #sort-links-list li.desc a {
    color: #f5f5f5;
  }
  #sort-links-list li.desc :before {
    content: "\f175  ";
    font-family: FontAwesome;
    color: #f5f5f5;
    font-size: 14px;
  }
  #sort-links-list li.asc {
    background-color: #CC3333;
    border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
  }
  #sort-links-list li.asc a {
    color: #f5f5f5;
  }
  #sort-links-list li.asc :before {
    content: "\f176  ";
    font-family: FontAwesome;
    color: #f5f5f5;
    font-size: 14px;
  }

  /* --- Search container --- */
  #search-container {
    float: right;
    margin-top: 1.75em;
    display: none;
    padding: 3px;
    border: none;
  }
  #search-container form {
    display: inline;
    float: right;
    width: 300px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    padding: 1px;
  }
  #search-container input {
    margin: 0;
    width: 18em;
    padding-left: 5px;
  }
  #search-container input[type=text] {
    padding-right: 2em;
    height: 2.2em;
    border: 1px solid #ccc;
  }
  #search-container button {
    color: #CC3333;
    border: none;
    float: right;
    cursor: pointer;
    width: 2em;
    height: 2em;
    background: #CC3333;
    overflow: hidden;
  }
  #search-container button::after {
    content: "\f002";
    font-family: FontAwesome;
    font-size: 14px;
    color: #f4f4f4;
    position: relative;
    top: -.1em;
  }

  body.search #search-container {
    display: inline;
  }

  /* Search toggle button */
  #search-toggle {
    float: right;
    display: inline;
    margin-top: 2em;
    padding: 4px 1px 1px 1px;
    cursor: pointer;
    color: #CC3333;
    text-align: center;
    height: 2em;
    width: 1.5em;
    font-size: 14px;
  }
  #search-toggle .fa::before {
    position: relative;
    right: .75em;
    top: .55em;
  }

  /* Collapse search button */
  #collapse-search {
    display: inline;
    color: #CC3333;
    height: 2em;
    padding-right: 5px;
  }
  #collapse-search .fa {
    padding-top: 5px;
  }

  /* -- Item show pages --*/
  body.items.show #creator {
    font-weight: 500;
  }
  body.items.show #sources {
    display: none;
  }
  body.items.show .collapse, body.items.show .expand {
    width: auto;
    display: inline;
    color: #CC3333;
  }
  body.items.show .collapse:hover, body.items.show .expand:hover {
    cursor: pointer;
  }
  body.items.show #item-images div {
    display: inline;
    max-width: 40%;
  }
  body.items.show li {
    display: inline;
  }
  body.items.show img {
    padding: 10px 10px 0 0;
  }
  body.items.show #metadata {
    max-width: 75%;
  }

  /* --- File show pages ---*/
  body.files.show img {
    padding: 10px 0px;
  }

  /* -- Simple pages --*/
  #panzoom img {
    height: auto;
    width: auto;
    max-width: 800px;
    max-height: 800px;
  }

  .panzoom-buttons {
    position: absolute;
    bottom: 0px;
    background: rgba(202, 56, 56, 0.85);
    margin: 5px 0 10px 5px;
    padding: 2px;
  }
  .panzoom-buttons button {
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 14px;
  }
  .panzoom-buttons button:focus {
    background-color: none;
    outline: none;
  }
  .panzoom-buttons button::after {
    background: none;
  }
  .panzoom-buttons .zoom-in::after {
    content: "\f00e  ";
    font-family: FontAwesome;
  }
  .panzoom-buttons .zoom-out::after {
    content: "\f010  ";
    font-family: FontAwesome;
  }
  .panzoom-buttons .reset::after {
    content: "\f021  ";
    font-family: FontAwesome;
  }

  input[type=range] {
    -webkit-appearance: none;
    height: 12px;
    width: 120px;
    background: none;
    padding: 0;
  }

  input[type=range]:focus {
    outline: none;
  }

  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 0.9px transparent, 0px 0px 0px rgba(13, 13, 13, 0);
    background: #d3d3d3;
    border-radius: 0px;
    border: 0px solid transparent;
    margin-bottom: 1.9px;
  }

  input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid transparent;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    background: #ffffff;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -2.5px;
  }

  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #d3d3d3;
  }

  input[type=range]::-moz-range-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 0.9px transparent, 0px 0px 0px rgba(13, 13, 13, 0);
    background: #d3d3d3;
    border-radius: 0px;
    border: 0px solid transparent;
    margin-bottom: -3px;
  }

  input[type=range]::-moz-range-thumb {
    box-shadow: none;
    border: none;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    background: #ffffff;
    cursor: pointer;
  }

  input[type=range]::-ms-track {
    width: 100%;
    height: 5px;
    /*remove bg colour from the track, we'll use ms-fill-lower and ms-fill-upper instead */
    background: transparent;
    /*leave room for the larger thumb to overflow with a transparent border */
    border-color: transparent;
    border-width: 6px 0;
    /*remove default tick marks*/
    color: transparent;
  }

  input[type=range]::-ms-fill-lower {
    background: #d3d3d3;
    border-radius: 0px;
  }

  input[type=range]::-ms-fill-upper {
    background: #d3d3d3;
    border-radius: 0px;
  }

  input[type=range]::-ms-thumb {
    border: none;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #fff;
  }

  input[type=range]:focus::-ms-fill-lower {
    background: #d3d3d3;
  }

  input[type=range]:focus::-ms-fill-upper {
    background: #d3d3d3;
  }
}
@media screen and (max-width: 40em) {
  body.items.show,
  body.items.browse,
  body.search {
    padding-left: 0px;
    padding-right: 0px;
  }

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

  h2 {
    margin-bottom: .25em;
    display: block;
    clear: both;
  }

  #header {
    min-height: 75px;
  }

  .nav {
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    padding-top: 5px;
    max-height: 100px;
  }

  .help1 {
    min-width: 80%;
    position: absolute;
    top: 5%;
    left: 10%;
    right: auto;
    padding-top: 5px;
    max-height: 70%;
    margin-bottom: 10px;
    overflow-y: scroll;
  }

  .help2 {
    bottom: 5px;
    max-height: 25%;
    max-width: 90%;
    right: 5%;
  }

  .help2 img {
    margin: auto 10px;
    max-width: 95%;
  }

  .simple-page .nav,
  .simple-page .help1 {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    padding-top: 5px;
  }

  .nav h1,
  .help1 h1 {
    color: white;
    padding: 0px 11px;
    font-size: 1.2em;
    display: inline;
    float: left;
  }

  .nav a,
  .help1 a {
    color: white;
    font-size: 1em;
  }

  .nav img,
  .help1 img,
  .welcome img {
    display: inline-block;
    float: right;
    margin-top: 5 px;
    height: 20px;
    width: 20px;
  }

  .arrow img {
    display: inline-block;
    float: right;
    height: 100%;
    margin-right: 3px;
    margin-top: 3px;
  }

  .nav ul,
  .help1 ul {
    padding: 5px 5px 5px 0px;
    margin: 0px;
    float: left;
    clear: left;
  }

  .help1 p {
    clear: both;
  }

  li {
    list-style-type: none;
    display: inline;
    margin-left: 2px;
    padding: 0px 6px;
  }

  body.items.browse .hentry,
  body.search td,
  body.search tr {
    width: 100%;
    max-width: initial;
    min-width: initial;
    height: 150px;
    display: inline;
    float: left;
    padding-right: 1em;
  }

  body.items.browse .hentry {
    /*max-width: 22.5em;
    min-width: 21em;*/
    /*width: 20em;*/
    display: inline;
    float: left;
    min-height: 115px;
    height: auto;
  }

  #footer {
    font-size: .75em;
  }
  #footer .adr {
    margin-right: 15px;
  }
  #footer img {
    display: inline-block;
    max-width: 60%;
  }

  #neatline #simile,
  #neatline.Waypoints.Simile #simile {
    width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0px;
  }

  #static-bubble .smaller_text,
  .bubble.static .smaller_text {
    display: none;
  }

  #OpenLayers_Control_PanZoom_2 {
    display: none;
  }

  #item-images-grid {
    max-height: 250px;
    min-width: 100%;
    overflow-x: scroll;
  }

  body.items.show #item-images div {
    display: inline;
    max-width: 40%;
    white-space: nowrap;
  }

  #panzoom img,
  img {
    max-width: 100%;
  }

  .simple-page p,
  body.items.show p,
  body.files.show p {
    max-width: 100%;
  }

  .bubble.static.bound,
  .bubble.static.selected,
  #static-bubble,
  #static-bubble.selected {
    top: 4.5em;
    right: 1em;
    max-height: 65%;
    width: 65%;
  }

  .welcome {
    max-width: 75%;
    max-height: 50%;
    right: .6em;
    display: none;
  }

  #neatline.Waypoints.Simile #waypoints {
    display: none;
  }

  #tags {
    display: inline-block;
    float: left;
    margin-bottom: 1em;
    width: 100%;
  }

  #metadata {
    width: 100%;
  }
}
@media screen and (max-width: 20em) {
  #search-toggle {
    margin-top: 1em;
    margin-bottom: .5em;
  }

  #search-container {
    margin-top: 1em;
  }
  #search-container form {
    width: auto;
  }
  #search-container input {
    width: 14em;
  }

  #metadata {
    width: 100%;
  }

  .help1 {
    max-height: 60%;
    overflow-y: scroll;
  }
}
@media screen and (max-width: 20em) {
  #search-toggle {
    margin-top: 1em;
    margin-bottom: .5em;
  }

  #search-container {
    margin-top: 1em;
  }
  #search-container form {
    width: auto;
  }
  #search-container input {
    width: 14em;
  }

  #metadata {
    width: 100%;
  }

  .help1 {
    max-height: 60%;
    overflow-y: scroll;
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  #search-container button::after {
    right: .55em;
  }
}
@media screen and (min-device-pixel-ratio: 2) {
  #search-container button::after {
    right: .55em;
  }
}
