/* 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 {: 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 */
  font-size: 100%;
}

/**
 * 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: .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: .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: 100%;
  }

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

  h1 {
    font-size: 2.125rem;
    line-height: 1.5;
    margin-bottom: .375em;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  h3, legend {
    font-size: 1.25rem;
    line-height: 1.5;
  }

  h4, #collection-items h3, .exhibits.browse .exhibit h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .info h4 {
    line-height: 1.5;
  }

  h5, h6 {
    font-size: 1rem;
    line-height: 1.5;
  }

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

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

  p, ul, ol, dl {
    line-height: 1.5;
    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: 1rem;
    line-height: 1.5;
    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: 1rem;
    /*
      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,
  #advanced-search-form-narrow-by-fields label, #advanced-search-form-narrow-by-fields .label {
    /*clear: left;*/
  float: left;
    font-weight: normal;
    margin: 0; /*40px 0 10px 0;*/
    display: inline-block;
  width: 29%;
  max-width: 200px;
  }
  #advanced-search-form .inputs, #advanced-search-form-narrow-by-fields .inputs {
    clear: both;
  }
  , #advanced-search-form .inputs select,
  #advanced-search-form-narrow-by-fields .inputs input, #advanced-search-form-narrow-by-fields .inputs select {
    width: 100%;
    display: block;
  }
  #advanced-search-form-narrow-by-fields .inputs input, #advanced-search-form-narrow-by-fields .inputs select {
    margin-bottom: 1.5em;
  }
  #advanced-search-form input#geolocation-address, #advanced-search-form-narrow-by-fields input#geolocation-address {
    margin: 0;
  }
  #advanced-search-form input[type=submit], #advanced-search-form button,
  #advanced-search-form-narrow-by-fields input[type=submit], #advanced-search-form-narrow-by-fields 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,
  #advanced-search-form-narrow-by-fields .submit {
    margin-top: 1.5em;
    margin-bottom: 1.5em;
  }
  #advanced-search-form .field,
  #advanced-search-form-narrow-by-fields .field {
    border-bottom: 1px solid #ccc;
    width: 100%;
    overflow: auto;
    padding: 1em 0;
  }
  #advanced-search-form .field .inputs,
  #advanced-search-form-narrow-by-fields .field .inputs {
    width: 100%;
  }
  #advanced-search-form .field label,
  #advanced-search-form-narrow-by-fields .field label {
    margin: 0;
    margin-bottom: 1.5em;
  }
  #advanced-search-form .field div.field:last-of-type,
  #advanced-search-form-narrow-by-fields .field div.field:last-of-type {
    display: inline-block;
    margin-bottom: 1em;
  }
  #advanced-search-form .field div:only-child,
  #advanced-search-form-narrow-by-fields .field div:only-child {
    margin-bottom: 0;
  }
  #advanced-search-form .field .remove_search,
  #advanced-search-form-narrow-by-fields .field .remove_search {
    margin-bottom: 1.5em;
  }
  ul.items-list, ul.collections-list, ul.title-list,
  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: .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: 2rem;
    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: .5rem;
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-size: .875rem;
  }

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

  .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: .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: .875em;
    line-height: 1em;
  }
  .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: .475em;
    padding-bottom: .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: .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: .875em;
    line-height: 1.5em;
    padding-top: .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: .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;
  }
  #item-filters {
    width: 100%;
  }
  #sort-links {
    font-size: .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;
    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: 1rem;
    line-height: 1.5;
    *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_advanced {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  button#submit_search {
    height: 2rem;
  }

  #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%;
    word-wrap: break-word;
  }
  #collection-items .item:last-child {
    border-bottom: 0;
  }
  #collection-items .item-description {
    font-size: .875rem;
    line-height: 1.5;
  }

  .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: 1.25rem;
    line-height: 1.5;
    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: .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: .375em;
    padding-bottom: .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: .375em;
    padding-bottom: .375em;
  }

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

  .exhibit-item-caption p {
    font-size: .875rem;
    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, #advanced-search-form-narrow-by-fields {
    margin-bottom: 40px;
  }
  #advanced-search-form button, #advanced-search-form-narrow-by-fields button {
    clear: both;
    float: right;
    width: auto;
    margin: 0;
  }
  #advanced-search-form .field, #advanced-search-form-narrow-by-fields .field {
    border-bottom: 1px solid #ccc;
    width: 100%;
    overflow: auto;
    padding: 1.5em 0;
  }
  #advanced-search-form .field .inputs, #advanced-search-form-narrow-by-fields .field .inputs {
    clear: none;
    float: left;
    width: 69%;
    max-width: 300px;
  }
  #advanced-search-form .field input, #advanced-search-form .field input[type=text], #advanced-search-form .field select,
  #advanced-search-form-narrow-by-fields .field input, #advanced-search-form-narrow-by-fields .field input[type=text], #advanced-search-form-narrow-by-fields .field select {
    width: 97%;
  }
  #advanced-search-form .field label, #advanced-search-form-narrow-by-fields .field label{
    width: 29%;
  max-width: 200px;
    float: left;
    margin: 0;
  }
  #advanced-search-form .field div.field:last-of-type, #advanced-search-form-narrow-by-fields .field div.field:last-of-type {
    display: inline-block;
    margin-bottom: 1em;
  }
  #advanced-search-form .field div:only-child, #advanced-search-form-narrow-by-fields .field div:only-child {
    margin-bottom: 0;
  }
  #advanced-search-form .submit, #advanced-search-form-narrow-by-fields .submit {
    float: right;
  }
  #advanced-search-form button, #advanced-search-form-narrow-by-fields button {
  float: left;
  margin-left: 210px;
  }
  #advanced-search-form input[type=submit], #advanced-search-form button, #advanced-search-form-narrow-by-fields input[type=submit], #advanced-search-form-narrow-by-fields button {
    clear: both;
    width: auto;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    float: left;
    margin-left: 200px;
  }
}
@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: .5em 1em 0.5em;
    color: #666;
    border-bottom: 0;
  }
  .secondary-nav ul, #secondary-nav ul {
    margin: 0 0 -1px 0;
  line-height: 1em;
  }
  .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: .375em 10px;
    vertical-align: top;
    margin-right: 10px;
  }

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

/*
** COPY OF KIFI STYLES **
*/

img {
  height: auto;
  max-width: 100%;
  outline: none;
  border: none;
}
main:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Emotheme layout
 */
body {
  font-family: 'Arimo', 'Arial', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #4c4c4c;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: normal;
  background-color: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
* {
  -webkit-block-sizing: border-block;
  -moz-block-sizing: border-block;
  block-sizing: border-block;
  /*border: none !important;*/
}
.clear {
  clear: both;
}
.clearfix {
}
.clearfix:after, .region-front-area-three .block:after, .pro .group:after, #block-views-block-kirjastolehti-block-1:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}
article .content:after {
   content: " "; /* Older browser do not support empty content */
   visibility: hidden;
   display: block;
   height: 1em;
   clear: both;  
}
/* common banner & footer */
#common-banner {
  background-color: #4c4c4c;
  height: 2.333em;
  width: 100%;
  min-width: 100%;
}
#common-banner .banner-content {
  max-width: 66.667em;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
#common-banner .logo {
  margin-top: .5em;
}
#common-banner .search {
  max-width: 16.667em;
  width: 100%;
  padding-top: .5em;
  margin: 0 auto;
}
#common-footer {
  margin-top: 1.5em;
  width: 100%;
  max-width: 100%;
}
/* common banner & footer ends */
a:link {
  outline:none;
}
a:link, a:visited, a:active {
  color: #4c4c4c;
  text-decoration: none;
}
.simple-page #primary a:link, .simple-page #primary a:visited, .simple-page #primary a:active {
  color: #ba5100;
}
a:hover {
  opacity: .75;
}
.content .highlight {
  color: #ba5100;
  font-weight: 700;
}
.not-front .content-left  h2 {
  border-top: 1px dotted #4c4c4c;
  padding-top: .75em;
  margin-bottom: 1em;
}
h3, h6 {
  font-family: "Georgia", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
}
#comments .title {
  display: none;
}
.subcols .right h3 {
  margin-bottom: -1.4em;
}
#wrapper {
  max-width: 69.867em;
  width: 100%;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  #wrapper {
    /*padding: 0 .75rem;*/
  }
}
header {
  padding-top: .5em;
}
.logo {
  margin-top: .5em;
}
.logo img {
/*  max-width: 375px;*/
/*  max-height: 85px;*/
/*  width: 75%;*/
/*  height: 75%;*/
  width: auto\0/; /* ie 8 */
  height: auto\0/; /* ie 8 */
}
.site-desc, .pro-desc {
  font-family: 'Georgia', serif;
  font-style: italic;
  margin-top: .5em;
}
.dot {
  display: none; /* hide at <320px screen */
  margin-left: .3em;
  margin-right: .9em;
}
.extras {
  margin-top: -6em;
  font-size: .8em;
}
.extras a {
  margin-left: .5em;
  margin-top: .5em;
}
.extras img {
  margin-left: .5em;
  margin-top: .5em;
}
.main-content {
  margin: 1em auto;
  max-width: 28em;
}
@media screen and (max-width: 767px) {
  .main-content {
    padding: 0 .75rem;
  }
}
#sidebar-first {
  margin-top: -2px;
}
.content-left .block, .content-left .subblock {
  margin-top: .5em;
}
.news {
  margin-top: 0;
  border-top: none;
}
#block-fifacebooklikebox {
  text-align: right;
  margin-top: -1em;
}
.pro .three-col .block {
  padding-top: 0;
  margin-top: 0;
}
h1, h2, h3, .one-col .title, .two-col .title, .three-col .title {
  font-family: 'Cabin', sans-serif;
  font-weight: 700;
  line-height: 1.15em;
  font-style: normal;
}
h2 {
  margin: .5em 0;
}
.one-col .title, .two-col .title, .three-col .title {
  margin: .5em 0 0.75em 0;
}
.two-col .radio .title, .three-col .radio .title {
  font-size: 1.5rem;
  font-weight: 700;  
}
.radio ul {
  padding-left: 0;
}
.radio ul li {
  display: inline;
  padding-left: 1.5em;
  background: url("../images/radio.png") no-repeat 2px 1px transparent;
}
.radio ul li:nth-child(1) {
  background: none;
  margin-left: 0;
  padding-left: 0;
}
.radio ul a {
  font-size: .875rem;
}
.more-link a {
  padding-right: 1.25em;
  background: url(../images/more.png) no-repeat right top transparent;
}
.current h2, .current .title {
  font-size: 1.5rem;
  padding-left: 1em;
  padding-top: .5em;
  line-height: 1.5;
  margin: 0;
}
h1 {
  font-size: 2.125rem;
}
h2, h3, .two-col .title, .three-col .title {
  font-size: 1.5rem;
}
#recent-items ul li h3 {
  font-family: arimo;
  font-size: .875rem;
  font-weight: 400;
}
#home h2, h6, .item-type {
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  font-family: Georgia, "Times New Roman", Times, serif;
  border-bottom: 1px dotted #4c4c4c;
  margin-bottom: 1em;
}
.sidebar h2 {
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 5px 5px 4px;
  background: #e7e7e7;
  margin-top: 1em;
}
.field-node--comment .field-label {
  margin-top: 1.5em;
  font-size: 1.25rem;
}
#comments h3 {
  font-family: 'Arimo','Arial',sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 1rem;
  margin-bottom: 0;
}
#comments footer .submitted {
  float: left;
}
#comments footer .active {
  font-size: .875rem;  
  float: left;
  margin-left: 1em;
  margin-top: 1.1em;
  padding-left: 1em;
  border-left: 1px solid #999;  
}
#comments .content {
  clear: both;
  font-size: .875rem;
}
#comments .content a {
  font-size: .875rem;  
}
#comments .comment {
  padding: 0 1em 1em;
  margin-top: 1em;
  margin-bottom: 1em;
  border: 1px solid #E7E7E7
}
#comments .links {
  float: right;
  margin: 0;
}
.field-node--field-image .field-label {
  display: none;
}
.pro .one-col, .pro .block {
  border: none;
}
.pro ul li {
  float: left;
  width: 30.333%;
  margin-left: 3%;
}
.pro .plus {
  line-height: 3em;
  margin-top: 1em;
  background: url(../images/symbol-plus.png) no-repeat left center transparent;
}
.pro .minus {
  line-height: 3em;
  margin-top: 1em;
  background: url(../images/symbol-plus.png) no-repeat left center transparent;
}
#pro-default {
  display: block;
}
#pro-default ul {
  padding-left: 1em;
}
#pro-more {
  display: block;
}
#pro-more ul {
  padding-left: .75em;
  margin-top: -2.75em;
  font-size: .875rem
}
.pro .group {
  clear: both;
  margin-top: 1.5em;
}
.pro .video {
  margin-top: 1em;
  font-size: .875rem;
  line-height: 1.25;
  font-weight: 700;
}
.pro .video .desc {
  font-weight: 400;
}
.pro .video .videotitle {
  font-family: "Georgia", serif;
}
.symbol, .two-col .symbol, .three-col .symbol  {
  display: block;
  float: right;
  margin: -58px 0 0 0;
  text-align: right;
  width: 28%;
}
.breadcrumb {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: .875rem;  
}
.not-front .breadcrumb {
  border-bottom: 1px dotted #4c4c4c;
  margin-bottom: .5em;
}
.submitted {
  font-size: .875rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #767676;
}
header .submitted {
  text-align: left;
}
.region-header-area-one .block h2, .region-header-area-two .block h2 {
  display: none;
}
#block-views-block-kirjastosarjakuva-block-2 {
  margin-bottom: 1em;
}
.open {
  max-height: 50em !important;
  opacity: 1 !important;
  transition: height 0.5s ease-out;
  -webkit-transition: height 0.5s ease-out;
  -moz-transition: height 0.5s ease-out;
  -o-transition: height 0.5s ease-out;
  transition: opacity 0.25s ease-out;
  -webkit-transition: opacity 0.25s ease-out;
  -moz-transition: opacity 0.25s ease-out;
  -o-transition: opacity 0.25s ease-out;
}
.close {
  overflow: hidden !important;
  max-height: 0 !important;
  opacity: 0 !important;
  transition: all 0.5s ease-out; 
  -webkit-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: all 0.5s ease-out;
}
.addthisshare {
  margin-top: 2em;
}
/* nav */
#menu-icon {
  display: none;
  background: url(../images/menu-icon.png) no-repeat right center transparent;
  right: 0;
  top: 0;
  height: 36px;
  line-height: 3.7em;
  font-size: .55em;
  padding-right: 50px;
  color: #fff;
}
.main-nav, ul.mobile li {
  clear: both;
  text-align: center;
  font-family: 'Cabin', sans-serif;
  text-transform: uppercase;
  font-size: 1.175em;
  letter-spacing: .025em;
  width: 100%;
  margin: 0 auto;
  padding-top: .5em;
}
.main-nav ul {
  list-style: none;
  padding: 0;
  left: 0; /* was: 10px; */
}
.main-nav ul li a {
  margin: .4em;
  padding: .25em;
}
/* nav ends */

@media screen and (max-width: 767px) {
  #common-banner {
    position: absolute;
    left: 0;
    top: 0;
    box-shadow: 2px 2px 5px 0 #767676;
  }
  header {
    margin: 1em auto;
    max-width: 28em;
    background: #f00\0/;
    padding: 0 .75rem;
  }
  .content header, header {
    margin-top: 0;
  }
  .logo {
    float: left;
  }
  .extras {
    clear: both;
  }
  .site-desc {
    margin-left: .75em;
    clear: both;
    margin-top: 0;
    float: left;
  }
  .searchlinks {
    text-align: center;
    margin-bottom: .25em;
  }
  #search-form {
    justify-content: center !important;
  }
  .logo img {
    height: auto;
    width: auto;  
  }
  #logo-tiny {
    display: inline-block;
    position: absolute;
    left: 5px;
    top: 5px;
    z-index: 9998;  
    min-width: 140px;
    min-height: 27px;
    background: url(../images/logo-kirjastotfi-tiny.png) no-repeat left center transparent;
  }
  .menu-button, #menu-icon {
    display: flex;
    position: absolute;
    z-index: 9999;
    top: -.125rem;
    right: 0;
    background-color: #4c4c4c;
    height: 35px;
  }
  #main-menu-collapse {
    display: block; /*when using display settings to open and close set this none*/
    position: absolute;
    top: 0px;
    width: 100%;
    box-shadow: 2px 2px 5px 0 #767676;
  }
  .mobile {
    top: -4px;  
  }
  ul.mobile li { 
    position: relative;
    width: 100%;
    min-width: 275px;
    left: 0;
    top: 0; /*17px;*/
    background: #EBEFF2;
  }
  ul.mobile li {
    text-align: left;
    width: 100%;
    padding: 0; /*10px 0*/
    margin: 0;
    border-bottom: 1px solid #b8b6b4;
  }

  ul.mobile li:hover {
    background-color: #fff;
  }
  .mobile > li a {
    padding: .5em 0.975em;
  }
  #main-menu-collapse .extras {
    position: relative;
    background: #EBEFF2;
  }
  #main-menu-collapse .extras a {
    font-family: 'Arimo', 'Arial', sans-serif;
    font-size: .8em;
    line-height: 1.25;
    color: #4c4c4c;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: normal;
    text-transform: none;
  }
  #main-menu-collapse #block-additionalnavigationlinks {
    padding-top: .25em;
  }
  .google-search {
    padding-bottom: .5em;
    border-bottom: 1px solid #B8B6B4;
  }
  #main-menu-collapse ul .first {
    display: none;
  }
  #block-kirjastot {
    border-top: none;
    padding-top: 0;
  }
  .three-col-mixed .first-col {
    display: none;
  }
  .sidebar h2 {
    margin-top: 1em;
    padding-top: .75em;
    border-top: 1px dotted #4c4c4c;
  }
  .extras {
    padding-top: 1.5em;
  }
  #download-files p {
    margin-left: 11em;
    margin-bottom: .15em;
  }
  #advanced-search-form input, #advanced-search-form-narrow-by-fields input {
    width: 320px;
  }
  #advanced-search-form select option, #advanced-search-form-narrow-by-fields select option {
    width: 320px;
  }
  #advanced-search-form select, #advanced-search-form-narrow-by-fields select {
    padding: 0;
  }
  #advanced-search-form #collection-search option {
    font-size: 14px;
  }
  #advanced-search-form-narrow-by-fields select {
    display: block;
  }
  #advanced-search-form-narrow-by-fields .label {
    margin-bottom: .5em;  
  }
}
@media screen and (min-width: 768px) {
  header .left {
    float: left;
    min-width: 375px;
    width: 100%;
  }
  header .right {
    float: right;
    min-width: 275px;
    width: 100%;
  }
  .site-title-and-desc {
    float: left;
    min-width: 300px;
  }
  header .submitted {
    padding-top: 1em;
  }
  .extras {
    float: right;
    text-align: right;
  }
  .searchbox {
    margin-top: -0.35em;
  }
  .left {
    float: left;
  }
  .right {
    float: right;
  }
  header {
    text-align: left;
    padding-right: 1.75em;
    padding-left: 1.75em;
  }
  .logo {
    margin-left: 1.6em;
  }
  .logo, .pro-logo {
    float: left;
    margin-top: 0;
  }
  .logo img {
    width: 100%;
    height: 100%;
  }
  .site-desc {
    margin-left: .75em;
    clear: both;
    margin-top: 0;
    float: left;
  }
  .main-content {
    max-width: 100%;
  }
  #main-menu .close {
    max-height: 50em !important;
    opacity: 1 !important;
  }
  .main-nav {
    clear: both;
    text-align: center;
    font-family: 'Cabin', sans-serif;
    text-transform: uppercase;
    font-size: .875rem;
    letter-spacing: .015em;
    width: 100%;
    margin: 0 auto;
  }
  .main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
  }
  .main-nav ul li {
    display: inline-block;
  }
  .main-nav ul li a {
    margin: .5em;
    padding-top: .25em;
    padding-bottom: .25em;
    border-top: 1px solid #b8b6b4;
    border-bottom: 1px solid #b8b6b4;
    float: left;
  }
  .main-nav ul li:nth-child(1) a {
    border: none;
    padding-top: 0;
    margin-top: .25em;
    text-indent: -9999px;
    background: url('../images/symbol-home.png') no-repeat center bottom transparent;
    width: 33px;
    height: 40px;
  }
  .main-content {
    clear: both;
    margin: 1.5em 1.75em 0; /0 1.75em*/  
  }
  .content {
    clear: both;
  }
  .content-left {
    float: left;
    width: 100%;
  }
  .content-right {
    width: 100%;
    text-align: left;
  }
  .show .content-left {
    width: 62.75%;  
  }
  .show .content-right {
    width: 35.25%;
    max-width: 220px;
    float: right;  
  }
  .show .item-pointer {
    display: none;
  }
  .three-col-mixed .first-col {
    width: 11.75%;
    min-width: 11.75%;
    margin-right: 2%;
    float: left;
  }
  .three-col-mixed .second-col {
    width: 58.75%; /*47%;*/
    margin-right: 4%;
    float: left;
  }
  .three-col-mixed .third-col {
    width: 23.5%;
    margin-right: 0;
    float: right;
  }
  .not-front .content-left {
    width: 60.19618%;
  }
  .not-front .content-right {
    width: 37.11926%;
    float: right;
  }
  .two-col .stacked {
    width: 48.65771812080537%;
    float: left;
  }
  .two-col-img {
    max-width: 360px;
    width: 100%;  
  }
  /*.three-col div {*/
  #home .three-col .block, .region-front-area-one .block {
    width: 31.543624161073825%;
    margin-right: 2.684563758389262%;
    float: left;
  }
  .varied-col div {
    float: left;
  }
  #home .three-col div:nth-child(3), .region-front-area-one div:nth-child(3), .two-col .last, .three-col .last, .varied-col .last {
    margin-right: 0;
    float: right;
  }
  .two-col .title {
    width: 100%;
  }
  .three-col .title {
    width: 78%;
  }
  .two-col .content, .three-col .content {
    margin: 0;
    width: 100%;
  }
  .subcols .block {
    clear: both;
  }
  .subcols .left {
    width: 64.82758620689654%;
  }
  .subcols .right {
    width: 29.655172413793103%; 
    padding-top: .75em;
    font-size: .875rem;
  }
  .stacked .block, .subcols .right {
    margin-right: 0;
  }
  .stacked .block {
    clear: both;
  }
  .content-right #recent-items, .content-left .block, .content-left .subblock {
    margin-top: 0em;
  }  
  .gridxfour {
    width: 65.77181208053692%;
    border: none;
  }
  .gridxtwo {
    width: 31.543624161073825%;
    border: none;  
  }
  .region-front-area-four {
    /*border-top: 1px dotted #4c4c4c;*/
    width: 100%;
  }
  #block-okariino {
    width: 65.77181208053692%;
    margin-right: 2.68456%;
  }
  #block-views-block-kirjastosarjakuva-block-1 {
    width: 31.543624161073825%;
    text-align: center;
  }
  #block-views-block-kirjastosarjakuva-block-2 {
    display: block;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
  }
  #block-views-block-kirjastosarjakuva-block-1 h2 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.25em;
    font-weight: 400;
    font-style: italic;
    margin: 0;
  }
  #block-views-block-kirjastosarjakuva-block-1 .title{
    font-size: .875rem;
  }
  .current .white {
    background-color: #fff;
  }
  .newsitem {
    clear: both;
    padding-top: .5em;
  }
  .newsitem .date {
    width: 19.148936170212767%;
    margin-right: 2.127659574468085%;
    text-align: right;
    color: #a2a2a2;
  }
  .newsitem .date .day {
    font-family: "Georgia", serif;
    font-size: 1.5em;
    font-weight: 700;
  }
  .newsitem .date .month {
    font-size: .6em;
    text-transform: uppercase;
    clear: both;
  }
  .newsitem .newstitle {
    font-size: .875rem;
    line-height: 1.25;
    padding-top: .2em;
    width: 78.72340425531915%;
  }
  .kirjastolehti {
    text-align: center;
    margin-top: 1em;
  }
  .content-right .more {
    clear: both;
    font-size: .875rem;
    padding-right: .5em;
  }
  .content-left .more {
    line-height: 2.5em;
  }
  .pro ul {
    line-height: 1.75em;
  }
  .end {
    height: 1em;
  }
  .pro .dot {
    display: inline-block;
  }
  #map-links ul {
    -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;  
  }
}
@media screen and (max-width: 1047px) {
  .site-title-and-desc {
    margin-top: -3px;
  }
  .site-title {
     margin-top: .4em;
  }
  .site-desc {
    margin-left: .75em;
    clear: both;
    margin-top: 0;
    float: left;
  }
  .kirjastolehti-nro-item {
    /*width: 4em;*/
  }
  .view-kirjastolehti .more-link {
    float: left;
    text-align: left;
  }
  .kirjastolehti-cover {
    clear: both;
    float: right;
    margin-top: -6em;
    text-align: right;
    width: 30%;
  }
  .kirjastolehti-cover img {
    width: 100%;
  }
  #block-fifacebooklikebox {
    margin-top: 0;
    text-align: center;
    border-top: none;
  }
}
@media screen and (max-width: 767px) {
  .site-title {
     margin-top: .7em;
  }  
}
@media screen and (min-width: 1024px) {
  .site-title-and-desc {
    float: left;
    min-width: 500px;
  }
  .site-title {
     margin-top: .7em;
  }
  .site-desc {
    clear: none;
    padding-top: 1.8em;
  }
  .site-desc, .pro-desc {
    font-size: 1.2em;
  }  
  .dot {
    display: inline-block;
  }
  .main-nav {
    font-size: 1.175em;
  }
}
@media screen and (min-width: 1048px) {
  .logo {
    margin-left: 0;
  }
  .extras {
    /*margin-top: -85px;*/
  }
  .content-left {
    width: 74.5%
  }
  .show .content-left {
    width: 62.75%;  
  }
  .content-right {
    clear: none;
    float: right;
    width: 23.5%;
    text-align: left;
  }
  .show .content-right {
    width: 25.25%; /*was: 35.25%*/
    max-width: 220px;
  }
  .show .item-pointer {
    display: block;
    min-height: 200px;
    width: 10%;
    float: left;
    /*background: url('/themes/kifi/images/file-arrow.png') no-repeat right 50px transparent;*/
  }
  .current h2, .current .title {
    background: url(../images/symbol-current.png) no-repeat -0.15em 0.5em transparent;
    border-top: 9px dotted #fff;
  }
  .current #block-views-block-uutiset-tuoreimmat-block-1-2 h2, .sidebar .block-views h2 {
    border-top: none;
  }
  .current #block-views-block-uutiset-tuoreimmat-block-1-2 h2 {
    background: url(../images/symbol-current.png) no-repeat -0.15em 0.75em transparent;
    padding-top: .75em;
  }
  .current .bg {
    background: url(../images/news-bg.png) no-repeat left top #fff;
  }
  #block-views-block-uutiset-tuoreimmat-block-1-2, #block-views-block-blogit-block-1 {
    background: url(../images/current-bg.jpg) repeat-y right top #f6f1ed;
    /*box-shadow: 0 0 10px 1px #E7E7E7 inset;*/
  }
  #block-views-block-kirjastolehti-block-1 {
    background: url(../images/kirjastolehti-bg.jpg) no-repeat left top #fff;
  }
}
@media screen and (max-width: 320px) {
  #common-banner .logo {
    display: none;
  }
  #common-banner .search {
    float: none;
  }
  .current .title {
    background: url(../images/symbol-current.png) no-repeat -0.15em 0.5em transparent;
    border-top: 9px dotted #fff;
  }
}
/* media screen elements */
@media screen and (max-width: 767px) {
  .media-tiny {
    display: block !important;
    display: none\0/;
  }
  .media-small, .media-big {
    display: none;
  }
}
@media screen and (min-width: 768px) and (max-width: 1047px) {
  .media-small {
    display: block !important;
  }
  .media-tiny, .media-big {
    display: none;
  }
}
@media screen and (min-width: 1048px) {
  .media-big {
    display: block !important;
  }
  .media-tiny, .media-small {
    display: none;
  }
}
/* media screen elements ends */

/*
** Digi updates to orig Omeka styles **
*/

.simple-page h1 {
  margin-bottom: 1em;
}
#featured-item {
  clear: both;
}
#featured-item img, #collection-items .item img, #itemfiles a img, .browse .item-img img {
  border: 1px dashed #999;
  padding: 8px;
}
/* navigation */
.active {
  font-weight: normal;
}  
.main-nav ul li.active a {
  font-weight: 700;
}
.main-nav ul li:first-child.active a {
  box-shadow: none;
  background-color: transparent;
}
.secondary-nav, #secondary-nav {
  margin-top: 2em;
  margin-bottom: .6em;
}
/* breadcrumb */
#simple-pages-breadcrumbs {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: .875em;
  border-bottom: 1px dotted #4c4c4c;
  display: none;
}
/* pagination, outputs, sorting */
.pagination {
  width: 40%;
  margin: 0;
  padding: 0;
  clear: both;
}
@media screen and (max-width: 767px) {
  .pagination {
    width: 100%;
  }
  .browse .hentry .item-img img {
    margin-bottom: .75em;
  }
  .browse .hentry .item-meta {
    margin-bottom: .75em;
  }
  #map_block, #map_browse {
    overflow: visible !important;
  }
  #link_block {
    margin-top: 2em;
  }
  #advanced-search-form label, #advanced-search-form .label,
  #advanced-search-form-narrow-by-fields label, #advanced-search-form-narrow-by-fields .label{
    width: 100%;
    max-width: 100%;
  }
  #advanced-search-form .field label, #advanced-search-form .field div *:only-child,
  #advanced-search-form-narrow-by-fields .field label, #advanced-search-form-narrow-by-fields .field div *:only-child  {
    margin-bottom: .25em;  
  }
}
.pagination .pagination_next, .pagination .pagination_previous {
  background: transparent;
}
.pagination .pagination_next a, .pagination .pagination_previous a {
  font-family: 'Cabin', 'Arimo', 'Arial';
  line-height: 18px;
  font-size: 1em;
  color: #4c4c4c;  
}
.pagination input[type="text"] {
  color: #4c4c4c;
  border-color: #767676;
}
.pagination a, .pagination li {
  overflow: hidden !important;  
}
#sort-links {
  /*margin-top: -5px;*/
}
#sort-links .sorting {
  font-weight: bold;
}
#sort-links .sort-label {
  font-weight: normal;
  text-transform: uppercase;
}
#sort-links + .item {
  border-top: 1px dotted #4c4c4c;
}
#sort-links ul {
  padding-top: 0;
  margin-top: .6em;
}
#outputs {
  font-size: .875em;
  margin-top: 1em;
  float: right;
}
#outputs a {
  color: #ba5100;
}
#outputs ul {
  display: inline;
  list-style: none;
  padding: 0;  
}
#outputs ul li {
  display: inline-block;
  border-right: 1px solid #999;
  padding-right: 5px;
  padding-left: 2px;
  line-height: 15px;
}
#outputs ul li:last-of-type {
  border-right: none;
}
/* search */
#search-form {
  text-align: left;
}
#search-form .with-advanced {
  position: absolute;
  top: -3px;
  background: transparent;  
}
#advanced-search {
  margin: 0;
  right: 0;
  border-left: 1px dashed #fff;
  line-height: 24px;
}
#advanced-form {
  box-shadow: 5px 5px 10px #e7e7e7;
  border: 1px solid #000;
  padding: .75em 1em;
}
#advanced-search-form .field input[type="checkbox"] {
  width: auto;
}
#advanced-search:after {
  margin-top: -1.9em;
}
.search-entry, .search-entry .label {
  clear: both;
}
.search-entry {
  padding: 1rem 0;
}
.button, button, input[type="reset"], input[type="submit"], input[type="button"] {
  text-transform: uppercase;
}
#search-form {
  height: 2rem;
  margin-top: .75em;
  display: flex;
  justify-content: flex-end;
}
input#submit_search_advanced, input#submit_search_advanced_fields {
  box-shadow: 3px 3px 5px #aaa;  
}
button.add_search, button.remove_search {
  background: #ccc;
  color: #4c4c4c;
}
button.remove_search {
  margin-bottom: 2rem !important;
  font-size: .75rem;
}
#query {
  height: 2rem;
  width: 75% !important;
}
.search #search-filters ul, #item-filters ul {
  margin: 0;
}
table, th, td {
  border-width: 0;
}
table thead tr th {
  padding-top: 1.25em;
  background: #fff;
  color: #4c4c4c;
  font-weight: 700;
}
table tbody tr:nth-child(even) {
  background: #f5f5f5;
}
#search-filters {
  margin-bottom: 1em;
}
#search-filters li:after, #item-filters li:after {
  margin: 0 5px 0 0;
}
#search-filters li:after, #item-filters li:after {
  content: " | ";
}
.button, button, input[type="reset"], input[type="submit"], input[type="button"] {
  background-color: #4c4c4c;
}
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"] {
  border: 1px solid #4C4C4C;  
}

/* homapage titles */
h1, h2, h3, legend, h4, h5, h6 {
  margin-bottom: .5em;
}
.info h4 {
  margin-bottom: .25em;
}
.view-items-link a, h6 a, a.more {
  background: url('/themes/kifi/images/more.png') no-repeat right 2px transparent;
  padding-right: 17px;
  font-style: normal;
  color: #ba5100;
}
#recent-items .items-list li {
  border-bottom: none;
  margin-bottom: .75em;  
}
#home h2 {
  text-shadow: 3px 2px 5px #fff;
  border-bottom: none;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 700;
  font-family: 'Cabin','Arial',sans-serif;
  margin-bottom: .25em;
}

/* items */
.item .element {
  clear: both;
  margin-top: 1em;
}
.element-set {
  margin-top: 2.5em;
}
.element-set h2 {
  display: none; /* Hide Dublin core text */
}
.element h3 {
  /*width: 10em;*/
  float: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1em;
  font-weight: 400;
  color: #767676;
}
.element-set .element {
  margin-bottom: 1em;
}
.element .element-text {
  margin-left: 11em;
  margin-bottom: .15em;
}
.element-set a, .element-text a {
  color: #ba5100;
}
.item #collection .element-text p {
  margin-bottom: 0;  
}
#itemfiles {
  margin-top: 2.5em;
}
#itemfiles a {
  margin-right: 0;
}
.item-pagination, #exhibit-page-navigation {
  margin-top: 1.5em;
  border-top: 1px dotted #4c4c4c;
}
.info {
  max-width: 100%;
}
.image {
  max-width: 100px;
  background: #fff; 
}
.image .item-img {
  margin-top: 1rem;
}
.browse .item {
  padding: .75em .75rem 1.25rem .75rem;
  margin-bottom: 1rem;
  border: none;
}
.browse .item .info {
  margin-left: 115px;
}
.browse .item:nth-child(even) {
  background: #f5f5f5;
}
.browse .no-image {
  height: 100px;
  width: 100px;
  background: transparent;
  float: left;
  border: 1px dashed #999;
}
#item-filters {
  margin-top: .85em;
  float: left;
}
#item-filters li.search{
  font-weight: 700;
}
#item-filters .collection {
  border-top: none;
  margin-top: .5em;
}
.item #geolocation {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}
.item #geolocation h2 {
  display: none;
}
.item #geolocation .map {
  /*overflow: visible !important;*/
  display: block;
  height: 200px;
  width: 100%;
}
.items {
  line-height: 1.5;
}
#download-files {
  clear: both;
}
#download-files h3 {
  font-size: 2em;
  margin-bottom: 0;  
}
#download-files a {
  max-width: 100%;
  word-wrap: break-word;
  color: #ba5100;
  width: 100%;
  background: url('/themes/kifi/images/file-pointer.png') no-repeat scroll 0 0 transparent;
  padding-left: 28px;
  margin-bottom: 0;
  font-weight: 700;
}
#download-files p {
  margin-bottom: 0;  
}
#download-files .epub-info {
  font-size: .875rem;
  margin-bottom: 1.5em !important;
  font-weight: 400;
}

/* collections */
/*
.collections .element-set #dublin-core-description h3 {
  display: none;
}
.collections .element-set #dublin-core-description .element-text {
  margin-left: 0;
}
*/
.collections .element-set {
  margin-top: 1em;
}
.collections .content-right {
  padding: 8px 8px 8px 15px;
  border: 1px dashed #767676;
}
.collections .content-right h2 {
  float: left;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1em;
  font-weight: 400;
  color: #767676;
  display: none;
}
.collections.show #collection-tree ul {
  list-style: none;
  padding-left: 0;  
}
.collections.show #collection-tree ul ul {
  list-style: disc;  
  padding-left: 0;
}
.collections h6 a, .collections #collection-tree a, .collections p a {
  color: #ba5100;
}
.collections #collection-tree {
  clear: both;
}
.collections #collection-items {
  margin-top: 2em;
}
#collection-items .item {
  border-bottom: none;
}
#collection-items .last {
  margin-right: 0;
}
#collection-items .item-img {
  padding-bottom: 1em;
}
#collection-items span a {
  color: #ba5100;
}
.browse .collection .element .element-text {
  margin-left: 0;
}
.browse .collection {
  padding: 1em 1em 0.5em;
  border: none;
}
.browse .collection:nth-child(2) {
  border-top: 1px dotted #767676;
  margin-top: 2em;
}
.browse .collection:nth-child(odd) {
  background: #f5f5f5;
}
.browse .collection p {
  margin-top: 0;
  margin-bottom: .5em;
}
body.items.browse #item-filters li.collection {
  background: transparent;
  font-size: 18px;
  font-weight: 700;  
  padding-left: 0;
}

/* collection-tree */
.browse-collections ul {
  margin-left: 0;
  padding-left: 0;  
}
#collection-tree ul {
  list-style: none;
}
#collection-tree ul li:nth-child(2n) {
  background: #f5f5f5;
}
#collection-tree ul ul li:nth-child(2n) {
  background: transparent;
}
#collection-tree ul li {
  padding: .6em 1em 0.75em; /*1em 1em 0.5em;  */
}
#collection-tree ul ul li {
  display: list-item; /* inline */
  margin-right: 10px;
  margin-top: 3px;
  margin-bottom: 5px;
  line-height: 18px;
  padding: 0 10px 0 0;
  border-right: none; /*1px solid #4c4c4c*/
  background: transparent;
}
#collection-tree ul ul ul li {
  display: inline-block;
  border-right: 1px solid #4c4c4c;
}
#collection-tree ul ul li:last-child {
  border-right: none;
  padding: 0;
  margin-right: 0;
}
#collection-tree ul ul {
  list-style: outside none disc;
  margin-left: 20px;
}
#collection-tree ul ul ul {
  display: block; /*inline*/
  margin-left: 20px; /*0*/
  margin-top: 3px;
  margin-bottom: 7px;
  padding: 0 10px 0 0;
  background: transparent;
}
/*#collection-tree ul ul ul:before {
  content: " (";  
}
#collection-tree ul ul ul:after {
  content: ") ";  
}*/
#collection-tree ul a {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 700;  
}
#collection-tree ul ul a {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
}
/* fixes for collections show page */
body.collections.show #collection-tree ul a {
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 400;
}
#collection-tree ul ul ul a {
  font-size: 1rem;
}
body.collections.show #collection-tree ul li {
  padding: 0;  
}
body.collections.show #collection-tree ul ul li {
  list-style: disc;
  display: list-item;
  margin-right: 0;
  border-right: none;  
}


/* exhibits */
.exhibit-item p {
  line-height: 1.25;
}
#exhibit-page-navigation {
  padding-top: 1.5em;
}
.show #exhibit-pages li ul {
  border-bottom: 1px dotted #767676;
}
.show #exhibit-pages > ul > li:nth-child(2) .current a {
  border: none;  
}
.show #exhibit-pages > ul li {
  margin-top: 1px;
}
.show #exhibit-pages > ul > li:first-of-type a {
  /*font-family: Georgia, "Times New Roman", Times, serif;*/
  text-transform: uppercase;
  font-size: .875em;
}
.show #exhibit-pages > ul a {
  padding: .375em 0.5em 0 0;
}
a.next-page, a.previous-page, .previous a, .next a {
  color: #ba5100;  
}
.exhibits .main-content h1 {
  margin-bottom: 1em;  
  margin-top: .75em;
}
.summary .main-content h1 {
  margin-bottom: 0; /*o.5em;*/
  margin-top: .75em;
}
.summary .exhibit-credits {
  clear: both;
  padding-top: 0em;
  border-top: 1px dotted #767676;
  color: #767676;
  font-size: .875em;  
}
.summary #exhibit-pages ul {
  list-style: disc;
  font-size: 1em;
  line-height: 1.25;
}
.summary #exhibit-pages ul li a {
  color: #ba5100;    
}
.exhibit {
  border: none;
  padding: 1em 1em 0.5em;
}
.exhibits .odd {
  background-color: #f5f5f5;
}
.exhibit .description {
  margin-top: -0.65em;  
}
.exhibit .description p {
  margin-bottom: .5em;  
}
.exhibits .exhibit:nth-child(3) {
  border-top: 1px dotted #767676;
}
.show .exhibit-text p {
  margin-top: 0;
}
.show .exhibit-item img {
  margin-top: 5px;
}

/* map */
#map #link_block h2:first-child {
  margin-top: -13px !important;  
}
#map .pagination {
  height: 1em;
}
#map-links ul li a {
  color: #ba5100;
}
#map-links h2:after {
    content: "Osaan aineistoja on liitetty paikkatiedot. Nämä aineistot löytyvät kartalta.";
    display: block;
    font-family: arimo;
    font-size: 15px;
    font-weight: 400;  
}

/* contact */
#contact-form .field {
  padding: 10px 0;
}

/* homepage */
#home .content-left {
  width: 100%;
}
#home #recent-items {
  background-color: #eee;
  border-radius: .5em;
  padding: 5px 20px;
  margin-top: -1.5em;
  box-shadow: inset 5px 5px 100px #ddd;
}
.homepagetext {
  text-align: center;
  font-size: .875rem;
  line-height: 1.5em;
  margin: -15px 0 20px;
}
#home .more-link a {
  font-size: .875rem;  
}
@media screen and (min-width: 768px) {
  .no-csscolumns #recent-items ul li {
    width: 50%;
    float: left;
    padding: 0;
    margin: 0;
  }
  #home #recent-items ul {
    -moz-column-count: 4; /* Firefox */
    -webkit-column-count: 4; /* Safari and Chrome */
    column-count: 4;
    -moz-column-gap: 1em; /* Firefox */
    -webkit-column-gap: 1em; /* Safari and Chrome */
    column-gap: 1em;
  }
  #home #recent-items ul li a {
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    -o-column-break-inside: avoid;
    -ms-column-break-inside: avoid;
    column-break-inside: avoid;
    display: inline-block; /* to keep an item in one column */
  }
  #home .more-link a {
    background-position: right 3px;
  }
}

/* flexslider overrides */
.flexslider {
  box-shadow: none;  
}
.flexslider ul li {
  margin-left: 0px;
  margin-right: 10px;
  font-size: .875rem;
}
.flexslider .slides img {
  width: 99%;
}
.flex-control-nav {
  bottom: -20px;
}
.flex-control-paging li a {
  width: 13px;
  height: 13px;
  overflow: hidden;
}
.slideitem {
  width: 23.5%;
  margin-left: 2%;
  float: left;
}
.slideitem:first-child {
  margin-left: 0;  
}
.slideitem .item-description {
  line-height: 1.5em;  
}
@media screen and (max-width: 767px) {
  .slideitem {
    display: none;
  }
  .slideitem:first-child {
    display: block;
    width: 100%;
    margin: 0;  
  }
}
@media screen and (max-width: 767px) {
  /* browse */
  .pagination {
    width: 100%;
    overflow: hidden !important;
  }
  /* map */
  .browse .hentry .item-img img {
    margin-bottom: .75em;
  }
  .browse .hentry .item-meta {
    margin-bottom: .75em;
  }
  #map_block, #map_browse {
    overflow: visible !important;
  }
  #link_block {
    margin-top: 2em;
  }
  /* items */
  #itemfiles .element-text {
    margin-left: 160px;
  }
  
}
@media screen and (min-width: 768px) {
  /* items */
  #itemfiles .element-text {
    margin-left: auto;
    float: right
  }
  #item-filters {
    width: 60%;  
  }
  /* collection */
  #collection-items .item {
    margin-right: 2.68456%;
    width: 17.85235%; /*22.9865%;*/
  }
  #collection-items .item:nth-child(5n+1), #collection-items .last {
    margin-right: 0;
  }
  #collection-items .item:nth-child(5n+2) {
    clear: both;
  }
  /* exhibits */
  .summary .exhibit-description {
    /*float: left;
    width: 48%;*/
  }
  .summary #exhibit-pages {
    /*float: right;
    width: 48%;*/
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #home .content-right, .collections .content-right {
    clear: both;
  }
  #itemfiles {
    background-image: none;  
  }
}
@media screen and (min-width: 1024px) {
  /* collection */
  .collections .content-right {
    margin-top: -2.75em;
  }
}
.item-meta .item-creator {
    font-size: 17px;
    margin-bottom: .25em;
}
.item-meta .item-description {
    margin-bottom: .2em;
    font-size: .875rem;
}

/* footer */
footer {
  border-top: none;
  padding: 0;
  margin-top: 1em;
}
/* contact-form */
#contact-form .field > label {
  display: block;
}
#itemfiles h2 {
  display: none;
}
/* search */
table#search-results td {
  vertical-align: top;
}
table#search-results td .image {
  float: right;
  overflow: hidden;
}
table#search-results td a {
  font-size: 18px;
  font-weight: bold;
}
table#search-results thead tr th {
  padding-top: .5em;
  padding-bottom: .5em;
}
table#search-results tbody {
  border-top: 1px dotted #4c4c4c;
}
table#search-results tbody tr:first-child td {
  padding-top: 1em;
}
table#search-results .collection {
  border-top: none;
}
/* site-title */
.site-title {
  color: #4c4c4c;
  font-family: "Georgia",serif;
  font-style: italic;
  font-weight: bold;
  font-size: 32px;
  padding: 0 0 .35em .35em;
  float: left;
}
.site-title a {
  color: #4c4c4c;  
}
/* map */
#map-links li {
  margin: 0;
  padding: 0;
}
.gm-style .gm-style-iw {
  font-size: 12px;  
}
.geolocation_balloon_description {
  line-height: 16px;  
}
/* ie 8 fixes */
.logo img {
  width: auto\0/; /* ie 8 */
  height: auto\0/; /* ie 8 */
}
/* hide unneeded advanced search form options */
#advanced-search-form #search-by-range, #advanced-search-form-narrow-by-fields #search-by-range/*Hae tunnisteiden mukaan (esimerkiksi 1-4. 156, 79)*/
/*#advanced-search-form div.field:nth-child(9)*/ /*nostettu etusivulle* 
#advanced-search-form div.field *[for=featured],
#advanced-search-form div.field select#featured*/ {
  display: none;  
}
.layout-file-text .exhibit-items .download-file {
  margin-bottom: .5em;  
}
/* opening and closing elements*/
.open {
  max-height: 500em !important;
  opacity: 1 !important;
  display: block;
  /*transition: opacity 0.25s ease-out;
  -webkit-transition: opacity 0.25s ease-out;
  -moz-transition: opacity 0.25s ease-out;
  -o-transition: opacity 0.25s ease-out;*/
}
.close {
  overflow: hidden !important;
  max-height: 0 !important;
  opacity: 0 !important;
  display: none;
  /*transition: opacity 0.25s ease-out;
  -webkit-transition: opacity 0.25s ease-out;
  -moz-transition: opacity 0.25s ease-out;
  -o-transition: opacity 0.25s ease-out;*/
}
.custom-search-default-info, .custom-search-narrow-by-fields-info {
  padding: .25em 1.5em;
  background: #f5f5f5;
}

/* map */
#map_browse {
  width: 100%;
  height: 550px;
}
#map-links {
  width: 100%;
  clear: both;
  margin-top: 1em;
  height: 100%;
}
span.Z3988 {
  display: none;
}
.item-meta .tags p {
  margin-bottom: 0;
  margin-top: 1.385rem;
  font-size: .875rem;
}
.tags .hTagcloud a {
  color: #ba5100;
}
/* google map zoom fiz */
.gm-style img {
  max-width: none !important;  
}

/* Kifisome */
#kifisome {
  text-transform: uppercase;
  position: fixed;
  font-size: 11px;
  background-color: white;
  color: black;
}
@media screen and (max-width: 1199px) {
  #kifisome {
    height: 40px;
    bottom: 0;
    right: 0;
  }
  #kifisome .ks-title {
    min-width: 40px;
    vertical-align: 1.1rem;
    padding: 0 0.5rem;
    display: inline-block;
    text-align: center;
  }
}
@media screen and (min-width: 1200px) {
  #kifisome {
    left: 0;
    top: 300px;
    text-align: center;
  }
  #kifisome a {
    width: 60px;
    height: 60px;
    display: block;
  }
}
/* Print styles */
@media print {
  body > iframe,
  #kifisome,
  .menu-button,
  #main-menu,
  .extras,
  footer {
    display: none;
  }
  header .left {
    display: flex;
    width: 100%;
    align-items: center;
  }
  .dot {
    display: inline-block;
  }
  .site-desc, .pro-desc {
    margin-top: 1em;
    white-space: nowrap;
    margin-left: 4rem;
  }
}
.visually-hidden {
  position:absolute !important;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  width:1px;
  height:1px;
  word-wrap:normal;
}
a.skip-link {
  background:transparent none repeat scroll 0 0;border-bottom:1px solid #ccc;border-bottom-right-radius:8px;border-right:1px solid #ccc;color:#fff;left:0;padding:5px 10px 5px 7px;position:absolute;top:-100px;transition:top 1s ease-out 0s,background 1s linear 0s;z-index:100;
}
a.skip-link:focus{width: auto; height: auto;background:#ba5100 none repeat scroll 0 0;left:0;top:0;outline:0 none;position:absolute;transition:top 0.1s ease-in 0s,background 0.5s linear 0s;}
.visually-hidden.focusable.skip-link:active, .visually-hidden.focusable.skip-link:focus {
  position:absolute !important;
  clip: auto;
}
*:focus {
  outline: DarkSlateBlue dotted !important;
}
a[href^="http://"]:not([href*="digi.kirjastot.fi"]):before,
a[href^="https://"]:not([href*="digi.kirjastot.fi"]):before {
  content: "Ulkoinen linkki ";
  position:absolute !important;
  overflow:hidden;
  clip:rect(1px,1px,1px,1px);
  width:1px;
  height:1px;
  word-wrap:normal;
}
a[href^="http://"]:not([href*="digi.kirjastot.fi"]):after,
a[href^="https://"]:not([href*="digi.kirjastot.fi"]):after {
  content: " " url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAgLS0+DQo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiIFsNCgk8IUVOVElUWSBuc19mbG93cyAiaHR0cDovL25zLmFkb2JlLmNvbS9GbG93cy8xLjAvIj4NCl0+DQo8c3ZnIHZlcnNpb249IjEuMSINCgkgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sbnM6YT0iaHR0cDovL25zLmFkb2JlLmNvbS9BZG9iZVNWR1ZpZXdlckV4dGVuc2lvbnMvMy4wLyINCgkgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIxMHB4IiBoZWlnaHQ9IjEwcHgiIHZpZXdCb3g9IjAgMCAxMCAxMCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMTAgMTAiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPGRlZnM+DQo8L2RlZnM+DQo8cG9seWdvbiBmaWxsPSIjNEM0QzRDIiBwb2ludHM9IjQuODcsNS44OTQgNy42MzQsMy4xMjkgOC44MzgsNC4zMzMgMTAsMCA1LjY2NSwxLjE2IDYuODY4LDIuMzYzIDQuMTA0LDUuMTI4ICIvPg0KPHBvbHlnb24gZmlsbD0iIzRDNEM0QyIgcG9pbnRzPSI3LDUuMTI5IDcsOSAxLDkgMSwzIDQuODcyLDMgMy44NzIsMiAwLDIgMCwxMCA4LDEwIDgsNi4xMjkgIi8+DQo8L3N2Zz4NCg==');
}
