@media screen {
  /*
  Table of Contents
  =================
  -- General HTML Elements
  ----- Headings
  ----- Form Elements
  -- Global Classes
  -- Navigation
  ----- Pagination
  -- Header 
  -- Footer
  -- Content
  -- Home
  -- Items
  -- Search
  ----- Advanced Search
  -- Files
  -- Collections
  -- ExhibitBuilder
  -- Simple Pages
  -- Winter Styles
  -- Spring Styles
  -- Summer Styles
  -- Autumn Styles
  -- Night Styless
  */
  /* !---------- General HTML Elements ---------- */
  body {
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    word-wrap: break-word;
    height: 100%;
  }

  a {
    text-decoration: none;
  }

  /* !---------- Headings ---------- */
  h1 {
    font-size: 20px;/* og32 */
    line-height: 25px;/* og48 */
  }

  h2 {
    font-size: 20px;
    line-height: 30px;
  }

  h3 {
    font-size: 16px;
    line-height: 18px;
    font-weight: 500;
  }

  h4 {
    font-size: 14px;
    line-height: 15px;
  }

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

  p, ol, ul {
    margin-bottom: 1.5em;
  }
  p:only-child, p:last-child, ol:only-child, ol:last-child, ul:only-child, ul:last-child {
    margin-bottom: 0;
  }

  ul {
    list-style-type: disc;
    padding-left: 1em;
  }

  /* !---------- Form Elements ---------- */
  label {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    display: inline-block;
  }

  input[type=text], input[type=password], textarea,
  input[type=submit], button, .button {
    border: 0;
    padding: 0.46875em 16px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }

  input[type=text], input[type=password],
  input[type=submit], button, .button {
    height: 35px;
  }

  input[type=text], input[type=password], textarea {
    width: 100%;
  }

  input[type=radio] {
    margin-right: 5px;
  }

  select {
    margin: 0 0 1.5em;
    border: 1px solid #dfe2e2;
    line-height: 36px;
    height: 36px;
    font-size: 16px;
  }

  input[type=submit], button, .button {
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
  }

  fieldset {
    border: 0;
    margin: 0;
    padding: 0;
  }

  /* !---------- Global classes ---------- */
  .container {
    *zoom: 1;
    max-width: 59em;
    /*_width: 59em;*/
    padding-left: 1em;
    padding-right: 1em;
    margin-left: auto;
    margin-right: auto;
  }
  .container:after {
    content: "";
    display: table;
    clear: both;
  }

  .show #primary {
    padding: 0;
  }
  .show #primary > div, .show #content #sidebar > div {
    border-style: solid;
    border-width: 10px 0 0 0;
    padding: 0.75em 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin-bottom: 1.125em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }
  .show #primary > div > *:first-child, .show #content #sidebar > div > *:first-child {
    margin-top: 0em;
  }
  .show .item-file {
    text-align: center;
    width: 100%;
    /*divin leveys*/
  }
  .show .item-file .download-file {
    display: inline-block;
  }
  .show .item-file img {
    vertical-align: top;
    max-width: 75%;
    /*muuta kuvan kokoa selausnäkymässä*/
  }
  .show .item-file > div {
    display: inline-block;
  }

  .gm-style {
    word-wrap: normal;
  }

  .image {
    height: 4.5em; /*normaali 4.5*/
    width: auto;
    float: left;
    display: block;
    margin: 0 0.75em 0.75em 0;
  }
  /*selainnäkymän kuvan koko!*/
  
  .image img {
    height: 100%;
    width: auto;
  }

  .collection .image,
  .exhibit .image {
    -webkit-box-shadow: -3px -3px 0 #bbbbbb, -4px -4px 0 white, -7px -7px 0 #dedede;
    -moz-box-shadow: -3px -3px 0 #bbbbbb, -4px -4px 0 white, -7px -7px 0 #dedede;
    box-shadow: -3px -3px 0 #bbbbbb, -4px -4px 0 white, -7px -7px 0 #dedede;
    margin-left: 7px;
  }

  .record {
    clear: both;
    overflow: hidden;
  }


  /* !---------- Navigation ---------- */
  nav ul {
    list-style: none;
    margin: 0 auto;
  }
  nav a {
    display: inline-block;
  }

  .top {
    padding: 0 16px;
  }
  .top ul {
    display: none;
  }
  .top a {
    padding-top: 0.75em;
    padding-bottom: 0.75em;
  }
  .top .mobile {
    margin: 1.5em auto;
    width: 100%;
  }

  .navigation ul, ul.navigation {
    padding-left: 0;
  }

  .secondary-nav, #secondary-nav {
    margin-bottom: 1.5em;
    *zoom: 1;
  }
  .secondary-nav:after, #secondary-nav:after {
    content: "";
    display: table;
    clear: both;
  }
  .secondary-nav .current, .secondary-nav .active, #secondary-nav .current, #secondary-nav .active {
    font-weight: 300;
  }
  .secondary-nav ul, #secondary-nav ul {
    padding-left: 0;
  }
  .secondary-nav li, #secondary-nav li {
    float: left;
    width: auto;
    margin-right: 16px;
  }

  /* !---------- Pagination ---------- */
  .pagination {
    list-style-type: none;
    padding-left: 0;
    margin: 0 0 1.5em;
  }
  .pagination li {
    display: inline-block;
    margin-right: 5px;
    vertical-align: top;
  }
  .pagination input[type=text] {
    width: 50px;
    text-align: right;
    margin-right: 10px;
    padding-left: 5px !important;
    padding-right: 5px !important;
    border-style: solid;
    border-width: 0.0625em;
    padding: -0.0625em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }

  nav.pagination {
    padding: 0;
  }
  nav.pagination .pagination_list {
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    margin-bottom: 1.875em;
    clear: both;
    padding: 0.375em 0;
    text-align: center;
  }
  nav.pagination .pagination_list li {
    display: inline-block;
    width: auto;
    color: #fff;
    margin: 0 4px;
    zoom: 1;
  }
  nav.pagination .pagination_list a {
    padding: 0;
  }
  nav.pagination .pagination_list .pagination_current {
    font-weight: 500;
  }
  nav.pagination .pagination_list .pagination_first a, nav.pagination .pagination_list .pagination_last a,
  nav.pagination .pagination_list .pagination_previous a, nav.pagination .pagination_list .pagination_next a {
    display: inline-block;
    text-indent: -9999px;
    height: auto;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
  }
  nav.pagination .pagination_list .pagination_first a:after, nav.pagination .pagination_list .pagination_last a:after,
  nav.pagination .pagination_list .pagination_previous a:after, nav.pagination .pagination_list .pagination_next a:after {
    text-indent: 0;
    display: block;
    margin-top: -2em;
  }
  nav.pagination .pagination_list .pagination_first a:after {
    content: "<<";
  }
  nav.pagination .pagination_list .pagination_last a:after {
    content: ">>";
  }
  nav.pagination .pagination_list .pagination_previous a:after {
    content: "<";
  }
  nav.pagination .pagination_list .pagination_next a:after {
    content: ">";
  }

  .pagination_previous a, .pagination_next a {
    width: 2.25em;
    height: 2.25em;
    display: inline-block;
    text-indent: -9999px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    position: relative;
  }
  .pagination_previous a:after, .pagination_next a:after {
    font-family: "FontAwesome";
    text-indent: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 2.25em;
    text-align: center;
    line-height: 2.25em;
  }

  .pagination_previous a:after {
    content: "\f0d9";
  }

  .pagination_next a:after {
    content: "\f0da";
  }

  .item-pagination {
    clear: both;
    padding-bottom: 0.75em;
  }
  .item-pagination li {
    display: inline-block;
    background-color: #fff;
    margin: 0 0 0.75em 0;
    padding: 0.375em 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }
  .item-pagination li:empty {
    display: none;
  }
  .item-pagination .next {
    float: right;
  }
  .item-pagination .previous {
    float: left;
  }

  /* !---------- Header ---------- */
  #site-title {
    font-size: 32px;
    line-height: 48px;
    float:left;
    font-weight: 300;
    text-align: center;
    margin: 0 auto;
    padding-top: 0.75em;
    padding-bottom: 0.4em;
  }

  #search-container {
    padding: 0 16px 1.5em;
    float:left;
  }
  #search-container:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
  }
  #search-form {
    text-align: left;
    position: relative;
    overflow: visible;
    
  }
  #search-form input[type=text], #search-form button {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
  }
  #search-form input[type=text] {
    width: 100%;
    font-size: 0.875em;
    line-height: 1.5em;
    padding-right: 3em;
    
  }
  #search-form button {
    width: 2.25em;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    text-indent: -9999px;
  }
  #search-form button:after {
    font-family: "FontAwesome";
    content: "\f002";
    position: absolute;
    left: 0;
    top: 0;
    text-indent: 0;
    width: 2.25em;
    line-height: 2.25em;
  }
  #search-form.with-advanced input[type=text] {
    padding-right: 5.25em;
  }
  #search-form.with-advanced button {
    right: 2.25em;
  }

  #advanced-search {
    width: 2.25em;
    height: 35px;
    text-indent: -9999px;
    display: block;
    position: absolute;
    padding: 0;
    top: 0;
    right: 0;
    line-height: 30px;
    background-color: #4b6569;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  #advanced-search:focus {
    outline: -webkit-focus-ring-color auto 5px;
  }
  #advanced-search:link, #advanced-search:hover, #advanced-search:active, #advanced-search:visited {
    color: #fff;
  }
  #advanced-search:after {
    width: 2.25em;
    content: "\2026";
    display: block;
    text-indent: 0;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    height: 2.25em;
    line-height: 2.25em;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  #advanced-form {
    display: none;
    background-color: #fff;
    overflow: auto;
    z-index: 1001;
    position: absolute;
    top: 35px;
    left: 0;
    border: 1px solid #e7e7e7;
    width: 100%;
    padding: 1.5em 16px;
    text-align: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    -webkit-box-shadow: rgba(0, 0, 0, 0.25) 0 5px 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.25) 0 5px 10px;
    box-shadow: rgba(0, 0, 0, 0.25) 0 5px 10px;
  }
  #advanced-form #query-types *:first-child {
    margin-top: 0;
  }
  #advanced-form label {
    margin: 0;
    padding: 0;
  }
  #advanced-form p {
    margin: 0.75em 0;
  }
  #advanced-form p:last-of-type {
    margin-bottom: 0em;
  }

  /* !---------- Footer ---------- */
  footer {
    margin-top: 1.5em;
    padding: 0 16px;
  }
  footer p {
    padding-bottom: 1.5em;
  }
  footer:empty {
    display: none;
  }

  /* !---------- Content ---------- */
  #content {
    clear: both;
    overflow: visible;
    padding: 1.5em 16px;
    *zoom: 1;
  }
  #content:after {
    content: "";
    display: table;
    clear: both;
  }
  #content h1 {
    font-size: 15px;
    line-height: 30px;
    text-transform: uppercase;
    border-top: 0;
    padding: 0 0 0.75em;
    margin: 0;
  }
  /* sisältösivujen otsikoiden fontin säädöt*/
  
  #content > h2, #content > div > h2, #content #primary > h2, #content #primary > div > h2,
  #content #sidebar > h2, #content #sidebar > div > h2 {
    padding: 0 16px 0.375em;
    font-weight: 500;
    /*border-style: solid; KESKIVIIVAN POISTO*/
    border-width: 0 0 5px 0;
    margin: 0 0 0.75em -16px;
    width: 100%;
  }
  #content > div, #content section {
    background-color: #fff;
    border-style: solid;/*DIV PALIKOIDEN YLÄPALKKI*/
    border-width: 2px 0 0 0;
    overflow: visible;
    padding: 0.75em 16px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin-bottom: 1.125em;
    *zoom: 1;
  }
  #content > div > *:only-child, #content section > *:only-child {
    margin-top: 0;
  }
  #content > div:after, #content section:after {
    content: "";
    display: table;
    clear: both;
  }
  #content .field div:only-of-type {
    margin-bottom: 0;
  }
  #content .inputs {
    padding: 0.75em 0 0;
    clear: both;
  }
  #content > .element {
    border-bottom: 0;
  }
  #content .element-set div {
    padding-bottom: 0.75em;
    margin-bottom: 0;
  }
  #content .element-set div:only-of-type, #content .element-set div:last-of-type {
    border-bottom: 0;
    padding-bottom: 0.375em;
  }
  #content .item-meta {
    padding-bottom: 0;
  }
  #content .item-meta .item-description {
    padding-top: 0;
  }
  #content .item-meta .item-img {
    border: 1px solid #dfe2e2;
    padding: 0;
    float: left;
    margin: 0 0.75em 0.75em 0;
  }
  #content .item-meta .item-img img {
    margin: 0;
  }
  #content #search-filters, #content #item-filters {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
    margin-bottom: 1.5em;
  }
  #content #search-filters > ul, #content #item-filters > ul {
    float: left;
    padding-left: 0;
  }
  #content #search-filters li, #content #item-filters li {
    overflow: auto;
    padding: 0.375em 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }
  #content #search-filters li li, #content #item-filters li li {
    display: inline;
    padding: 0.375em 0;
    text-transform: lowercase;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
  }
  #content #search-filters li li:last-of-type:after, #content #item-filters li li:last-of-type:after {
    content: "";
  }
  #content #search-filters li li:after, #content #item-filters li li:after {
    content: ", ";
  }
  #content div.hTagcloud {
    border: 0;
    background-color: transparent;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
  }
  #content div.hTagcloud ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #content div.hTagcloud ul li {
    display: inline-block;
    zoom: 1;
    background-color: #fff;
    margin: 0 8px 0.75em 0;
    padding: 0.375em 8px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }
  #content .view-items-link {
    border-top: 1px solid #dfe2e2 !important;
    margin: 0.75em 0 0 -16px !important;
    padding: 0.75em 16px 0 !important;
    width: 100% !important;
    clear: both;
  }
  #content .view-items-link + div {
    border-color: #DFE2E2;
    margin-top: 0.75em;
    border-top-style: solid;
    border-top-width: 0.0625em;
    padding-top: 1.4375em;
  }
  #content #sort-links {
    border-top: 0;
    padding: 0.375em 12px;
    margin-bottom: 1.5em;
  }
  #content #sort-links span, #content #sort-links ul, #content #sort-links li {
    display: inline-block;
    margin: 0 4px;
    zoom: 1;
    display: inline;
  }
  #content #sort-links-list {
    padding-left: 0;
  }

  .asc a:after,
  .desc a:after {
    font-family: "FontAwesome";
    display: inline-block;
    margin-left: 3px;
  }

  .asc a:after {
    content: "\f0d8";
  }

  .desc a:after {
    content: "\f0d7";
  }

  #primary {
    border-style: solid;
    border-width: 10px 0 0 0;
    overflow: visible;
    padding: 1.5em 16px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin-bottom: 1.125em;
    padding-left: 3.38983%;
    padding-right: 3.38983%;
  }
  #primary div {
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
  }
  #primary h1:first-child {
    margin-top: 0;
  }
  #primary > * {
    padding: 0;
  }
  #primary > ul, #primary > ol {
    padding-left: 1em;
  }

  /* !---------- Home ---------- */
  #home #content div #recent-items .item {
    margin-left: -16px;
    padding-left: 16px;
    margin-right: -16px;
    padding-right: 16px;
    border-top: 1px solid #dfe2e2;
  }
  #home #content div#recent-items .item:first-of-type {
    border-top: 0;
  }
  #home #content div#recent-items .item:first-of-type h3 {
    margin-top: 0em;
  }
  #home #content div#recent-items .item h3 {
    margin-top: 0.75em;
  }
  #home #content div .items-list {
    margin: 0 -16px;
  }
  #home #content div .items-list .item-description {
    margin: 0.75em 0 0;
  }
  #home #content div h3, #home #content div h4, #home #content div h5, #home #content div h6,
  #home #content div p, #home #content div input, #home #content div textarea {
    margin-top: 0.75em;
    margin-bottom: 0.75em;
  }
  #home #content div h3 {
    margin-top: 0;
    font-weight: 300;
    text-transform: uppercase;
  }
  #home #content div img {
    border: 1px solid #dfe2e2;
    display: block;
    max-height: 100%;
    width: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  #home #content div .show {
    display: block;
    text-transform: capitalize;
  }
  #home #content div .show:before {
    content: "(";
  }
  #home #content div .show:after {
    content: "...)";
  }
  #home #content div .view-items-link {
    border-top: 1px solid #dfe2e2;
  }
  #home #content div .item-img {
    display: inline;
  }
  #home #content div .item-description {
    margin-top: 0;
    padding-top: 0;
  }
  #home #intro {
    margin-bottom: 1.5em;
  }
  #home #featured-item p {
    clear: both;
  }
  #home #featured-item img {
    margin-bottom: 0;
  }
  #home #recent-items h2 {
    padding-bottom: 0.75em;
  }

  /* !---------- Items ---------- */
  
  #nav-item {background: hidden;
  }
  
  
  
  .items.show h3 {
    margin-bottom: 0.75em;
  }
  .items.show #itemfiles #item-images > div {
    width: 100%;
    display: inline-block;
    margin-right: 3%;
  }
  .items.show #itemfiles #item-images > div:nth-of-type(4n) {
    margin-right: 0;
  }
  .items.show #itemfiles a {
    border: 1px solid #dfe2e2;
    display: inline-block;
    zoom: 1;
    overflow: visible;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  .items.show #itemfiles a img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
  }
  .items.show #itemfiles .element-text div:first-of-type {
    border-top: 1px solid #dfe2e2;
  }
  .items.show #primary .element:last-of-type {
    padding-bottom: 0;
  }
  .items.show #primary {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
    padding: 0;
  }
  .items.show #primary > div {
    border-top-width: 10px;
    border-top-style: solid;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }

  #content #outputs {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
    clear: both;
  }
  #content #outputs p {
    padding-left: 0;
  }

  .item img {
    height: 10em;
    width: auto;
    float: left;
    margin: 0 0.75em 0.75em 0;
  }

  /* !---------- Search ---------- */
  #search-results {
    background-color: #fff;
    margin-bottom: 1.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
  }
  #search-results .record-image {
    height: 4.5em;
  }
  #search-results th {
    color: #fff;
  }
  #search-results th, #search-results td {
    padding: 0.75em 8px;
    text-align: left;
    vertical-align: top;
  }
  #search-results th:last-of-type, #search-results td:last-of-type {
    border-right: 0;
  }
  #search-results td {
    border-color: #ddd;
    border-bottom-style: solid;
    border-bottom-width: 0.0625em;
    padding-bottom: -0.0625em;
    padding-top: 1.5em;
  }
  #search-results .item img {
    margin: 0;
    height: 100%;
    width: auto;
  }

  #no-results {
    clear: both;
  }

  /* !---------- Advanced Search ---------- */
  .advanced-search #content form > div {
    background-color: #fff;
    border-style: solid;
    border-width: 10px 0 0 0;
    overflow: visible;
    padding: 0 16px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    margin-bottom: 1.125em;
    *zoom: 1;
  }
  .advanced-search #content form > div:last-of-type {
    padding: 0;
  }
  .advanced-search #content form > div input {
    margin-bottom: 1.5em;
  }
  .advanced-search #content form > div .label {
    margin-bottom: 0.75em;
    margin-top: 0.75em;
  }
  .advanced-search #content form > div:after {
    content: "";
    display: table;
    clear: both;
  }

  .search-entry select, .search-entry input[type=text] {
    width: 28%;
  }
  .search-entry select {
    margin-right: 1%;
  }
  .search-entry:first-of-type {
    padding-bottom: 0;
  }
  .search-entry:only-of-type {
    margin-bottom: 0em;
  }

  .remove_search {
    text-indent: -9999px;
    width: 36px;
    position: relative;
    height: 36px;
  }
  .remove_search:after {
    content: "\f00d";
    font-family: "FontAwesome";
    text-indent: 0;
    text-align: center;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    line-height: 36px;
  }

  .advanced-search button {
    display: inline-block;
    margin: 0 0 1.5em;
  }
  .advanced-search #advanced-search-form > div:last-of-type {
    border: 0;
    background-color: transparent;
    float: left;
    *zoom: 1;
  }
  .advanced-search #advanced-search-form > div:last-of-type:after {
    content: "";
    display: table;
    clear: both;
  }
  .advanced-search #submit_search_advanced {
    margin-bottom: 0 !important;
  }

  /* !---------- File Pages ---------- */
  .files #primary {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
    padding-top: 0;
  }
  .files #primary:first-child {
    margin-top: 0;
  }
  .files #content #sidebar h3 {
    padding-left: 0;
  }
  .files .download-file {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
    overflow: auto;
    padding: 0.375em;
    display: inline-block;
  }
  .files .download-file img {
    max-width: 100%;
    vertical-align: bottom;
    float: left;
  }
  .files .item-file {
    text-align: center;
  }
  .files .item-file > div {
    display: inline-block;
  }

  /* !---------- Collections ---------- */
  .collections:only-of-type, .collections:last-of-type {
    border-bottom: 0;
    margin-bottom: 0;
  }
  .collections #content .element-set .element {
    margin-bottom: 1.5em;
  }
  .collections #content .element-set .element:last-of-type {
    margin-bottom: 0;
  }
  .collections #collection-items .item {
    border-top: 1px solid #dfe2e2;
    margin: 0 -16px;
    padding: 0 16px 1.5em;
    overflow: hidden;
  }
  .collections #collection-items .item:first-of-type {
    border-top: 0;
  }
  .collections #collection-items .item:last-of-type {
    padding-bottom: 0.75em;
  }
  .collections #collection-items .item div:only-of-type {
    margin-bottom: 0;
  }
  .collections .collection {
    clear: both;
  }
  .collections h3:only-child {
    margin-bottom: 0em;
  }

  /* !---------- ExhibitBuilder ---------- */
  .exhibits #content .navigation {
    padding-left: 0;
    *zoom: 1;
  }
  .exhibits #content .navigation:after {
    content: "";
    display: table;
    clear: both;
  }
  .exhibits #content .navigation .current, .exhibits #content .navigation .active {
    font-weight: 500;
  }
  .exhibits #content .primary {
    padding-bottom: 0;
  }
  .exhibits .exhibit {
    clear: both;
  }
  .exhibits .exhibit-page {
    font-weight: bold;
  }
  .exhibits.summary #content h1 {
    margin-bottom: 0.75em;
  }
  .exhibits.summary #content #primary > div {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
  }
  .exhibits.summary #content #primary > div:last-child {
    margin-bottom: 0;
  }
  .exhibits.show #content h1 {
    font-size: 32px;
  }
  .exhibits.show #content #primary:first-child {
    margin-top: 1.5em;
  }
  .exhibits.show #content #primary p, .exhibits.show #content #primary ol, .exhibits.show #content #primary ul {
    margin-bottom: 1.5em;
  }
  .exhibits.show #content .exhibit-item {
    padding-top: 0;
  }
  .exhibits.show #content #exhibit-page-navigation {
    background-color: transparent;
    border-top: 0;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
    padding: 0;
  }
  .exhibits.show #content #exhibit-page-navigation a, .exhibits.show #content #exhibit-page-navigation span {
    padding: 0.375em 0;
    display: inline-block;
    width: 100%;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    *behavior: url("../javascripts/boxsizing.htc");
  }
  .exhibits.show #content #exhibit-page-navigation > div {
    padding: 0;
    width: 100%;
    text-align: center;
  }
  .exhibits.show #content #exhibit-page-navigation #exhibit-nav-next {
    margin-bottom: 1.5em;
  }
  .exhibits.show #content #exhibit-pages ul {
    margin-left: 0 !important;
  }
  .exhibits.show #content .exhibit-page-nav, .exhibits.show #content .exhibit-child-nav {
    margin-left: 0;
    padding-left: 0;
  }
  .exhibits.show #content .exhibit-page-nav .current, .exhibits.show #content .exhibit-child-nav .current {
    font-weight: bold;
  }
  .exhibits.show #content .exhibit-page-nav {
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    margin-bottom: 1.5em;
  }
  .exhibits.show #content .exhibit-page-nav a {
    padding: 0;
  }
  .exhibits.show #content .exhibit-page-nav > li:nth-child(2) {
    background-color: rgba(0, 0, 0, 0.1);
  }
  .exhibits.show #content .exhibit-page-nav > li:nth-child(3) {
    background-color: rgba(0, 0, 0, 0.2);
  }
  .exhibits.show #content .exhibit-page-nav > li:nth-child(4) {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .exhibits.show #content .exhibit-page-nav > li {
    display: block;
    float: none;
    overflow: auto;
    margin-right: 0;
  }
  .exhibits.show #content .exhibit-page-nav > li:first-of-type {
    text-transform: uppercase;
    padding: 0.375em 8px;
  }
  .exhibits.show #content .exhibit-page-nav > li:first-of-type a:after {
    content: ":";
  }
  .exhibits.show #content .exhibit-page-nav > li ul {
    padding-left: 0;
  }
  .exhibits.show #content .exhibit-page-nav > li ul li {
    display: inline-block;
    padding: 0.375em 8px;
    width: auto;
  }
  .exhibits #content #secondary-nav .current a,
  .exhibits #content #secondary-nav a.current,
  .exhibits #content .exhibit-section-nav .current a {
    background-color: transparent;
  }

  #content .exhibit-items,
  #content .gallery {
    padding-bottom: 0;
  }

  .summary #exhibit-pages {
    border-style: solid;
    border-width: 10px 0 0 0;
    overflow: visible;
    -webkit-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 10px;
    padding: 1.5em 16px;
    background-color: #fff;
  }
  .summary #exhibit-pages ul {
    margin-left: 0;
    padding-left: 0;
  }
  .summary #exhibit-pages ul ul {
    padding-left: 16px;
  }

  .exhibit-block:first-child p:first-of-type {
    margin-top: 0;
  }

  #content .exhibit-item:empty {
    padding: 0;
  }

  .gallery-full-left, .gallery-full-right, .gallery-thumbnails,
  .gallery-thumbnails-text-bottom, .gallery-thumbnails-text-top, .image-list-left,
  .image-list-left-thumbs, .image-list-right, .image-list-right-thumbs,
  .text-full, .text-image-left, .text-image-right {
    padding: 1.5em 0;
    margin-top: 1.5em;
  }
  .gallery-full-left div:empty, .gallery-full-right div:empty, .gallery-thumbnails div:empty,
  .gallery-thumbnails-text-bottom div:empty, .gallery-thumbnails-text-top div:empty, .image-list-left div:empty,
  .image-list-left-thumbs div:empty, .image-list-right div:empty, .image-list-right-thumbs div:empty,
  .text-full div:empty, .text-image-left div:empty, .text-image-right div:empty {
    display: none;
  }

  #content .layout-text p:only-child {
    margin-top: 1.5em;
  }

  /* !---------- Simple Pages ---------- */
  .simple-pages-navigation {
    list-style: none;
  }

  .simple-pages-navigation ul {
    display: none;
  }

  .simple-pages-navigation .current ul {
    display: block;
  }

  .simple-pages-navigation a {
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    display: block;
    font-weight: bold;
    padding: 4px;
  }

  #simple-pages-breadcrumbs {
    font-weight: bold;
    margin-bottom: 1.5em;
  }

  /* !---------- Winter Styles ---------- */
  .winter body {
    background-image: url('aita.png');
    color: #6D0C19;
     /* !----------color=LEIPÄTEKSTIN VÄRI ---------- */
  }
  .winter h1, .winter #site-title a {
    color: #6D0C19;
    /* ! background-color:#F8F8FF;----------alasivujen otsakkeen taustaväri! oltava kuin sivun pääväri!--------- */
    /* !----------sivuston pääotsake - HUOM. Myös alasivujen otsakkeen väri--------- -- VOINEE VAIHTAA, JAA H1 ja #site-tittle*/

  }
  .winter input[type=submit], .winter button, .winter .button, .winter #advanced-search {
    background-color: #6D0C19;
    /*headerin hakupalikan neliöiden väri*/
    
  }
  .winter input[type=text], .winter input[type=password], .winter textarea {
    background-color: #DFDFDF;
    /*hakupalkin taustan väri*/
  }
  .winter a:link {
    color: #6D0C19;
    
  }
  .winter a:visited {
    color: #6D0C19; /*-- otsakkeiden väri myös --*/
  }
  
  .winter a:hover, .winter a:active {
    color: #C2172E;
    /*hover väri otsakkeiden päällä*/
  }
  .winter header {
  	background-image: url('aita.png')
      /* !---------- background-image: url('aita.png')
    background-color: #fff;voi olla kuvakin---------- */
  }
  .winter nav.top {
  background-image: url('aita.png')
    /* !----------navin tautaväri // background-color: #56acba; ---------- */
    
  }
  .winter nav.top li:hover a {
    color: #6D0C19;
    /*hover textin väri*/
  }
  .winter nav.top a:link, .winter nav.top a:visited {
    color: #6D0C19;
    /*tekstin väri navissa*/
  }
  .winter nav.top a:active, .winter nav.top a:hover {
    color: #6D0C19;
  }
  .winter nav.top ul li ul {
    background-image: url('valkoinen.png');
    /*alasvetopalikan väri/kuva*/
    
  }
  .winter nav.top ul li ul li > a:link, .winter nav.top ul li ul li > a:visited, .winter nav.top ul li ul li > a:active, .winter nav.top ul li ul li > a:hover {
    color: #6D0C19;
    /*alasvetopalikan fontin väri*/
  }
  .winter #intro {
    color: #fff;
  }
  .winter #content,
  .winter #secondary-nav .current a,
  .winter #secondary-nav a.current,
  .winter .secondary-nav .current a,
  .winter .secondary-nav a.current,
  .winter .exhibit-section-nav .current a {
    background-image: url('aita.png')
      /* !----------TAUSTAVÄRI-- voi olla kuvakin! background-image: url('aita.png') TAI ------ */
  }
  .winter #home #content > div {
    border-color: #fff;
  }
  .winter #content h1 {
    color: #6D0C19;
    /* !----------alasivun otsakkeen väri (älä muuta taustaväriä, ei toimi, tekee 2 riviä)---------- */
  }
  .winter #content h2 {
    border-color: #A3A3A3;
     /* !----------raidan väri---------- */
  }
  .winter #content div {
    border-color: #A3A3A3;
    /* !----------ei vaikuta juuri mihinkään?---------- */
  }
  .winter #content > div, .winter #content #primary > div, .winter #content #sidebar > div,
  .winter #content #advanced-search-form > div, .winter #content #exhibit-pages {
    border-color: #fff;
  }
  .winter #content #primary > div, .winter #content #sidebar > div {
    background-color: #fff;
  }
  .winter #content .pagination_previous a, .winter #content .pagination_next a {
    background-color: #A3A3A3;
  }
  .winter #content .pagination a:link, .winter #content .pagination a:visited {
    color: #fff;
  }
  .winter #content .pagination a:hover, .winter #content .pagination a:active {
    color: #fff;
     /* !----------haun paginaationuolen mouseover ---------- */
  }
  .winter #content .pagination input[type=text] {
    border-color: #fff;
  }
  .winter #content nav .pagination_list {
    background-color: #A3A3A3;
  }
  .winter #content .items-nav a:link, .winter #content .items-nav a:visited, .winter #content .secondary-nav a:link, .winter #content .secondary-nav a:visited, .winter #content #secondary-nav a:link, .winter #content #secondary-nav a:visited, .winter #content #outputs a:link, .winter #content #outputs a:visited, .winter #content #exhibit-child-pages a:link, .winter #content #exhibit-child-pages a:visited {
    color: #A3A3A3;
  }
  .winter #content .items-nav a:hover, .winter #content .items-nav a:active, .winter #content .secondary-nav a:hover, .winter #content .secondary-nav a:active, .winter #content #secondary-nav a:hover, .winter #content #secondary-nav a:active, .winter #content #outputs a:hover, .winter #content #outputs a:active, .winter #content #exhibit-child-pages a:hover, .winter #content #exhibit-child-pages a:active {
    color: #fff;
  }
  .winter #content .item-img {
    border-color: #A3A3A3;
  }
  .winter #content div.hTagcloud {
    border: 0;
    background-color: transparent;
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
  }
  .winter #search-results th {
    background-color: #A3A3A3;
  }
  .winter #search-filters li, .winter #item-filters li {
    background-color: #fff;
    /* hakunäkymän filttereiden / tulosten taustaväri*/
  }
  .winter .page #content {
    border-color: #A3A3A3;
  }
  .winter footer {
    background-color: #fff;
    /* !----------no footterin väri, toki---------- */
  }
  .winter footer p {
    color: #A3A3A3;
     /* !----------footerin tekstin väri - ei linkit! --------- */
  }
  .winter .exhibit-page-nav {
    background-color: #A3A3A3;
  }
  .winter .exhibit-page-nav .current, .winter .exhibit-child-nav .current {
    background-color: rgba(0, 0, 0, 0.1);
  }
  .winter .exhibit-page-nav a:link, .winter .exhibit-page-nav a:visited {
    color: #A3A3A3§;
  }
  .winter .exhibit-page-nav a:hover, .winter .exhibit-page-nav a:active {
    color: #fff;
  }
  .winter #exhibit-page-navigation a, .winter #exhibit-page-navigation span {
    background-color: #fff;
  }


}
@media screen and (min-width: 768px) {
  /*
  Table of Contents
  =================
  -- Header
  -- Navigation
  ----- Pagination
  -- Search
  -- Content
  -- Home
  -- Items
  -- Collections
  -- ExhibitBuilder
  */
  /* !---------- Header ---------- */
  header {
    *zoom: 0;
  }
  header:after {
    content: "";
    display: table;
    clear: both;
  }

  #site-title {
    max-width: 300px;
    float: left;
    margin-right: 4em;
    display: inline;
    text-align: left;
  }
  #site-title:after {
    content: "";
    display: block;
    height: 0px;
    clear: both;
  }

  /* !---------- Navigation --------- */
  nav.top ul {
    display: block;
    position: relative;
    z-index: 1000;
  }
  nav.top ul li {
    float: left;
    width: auto;
    position: relative;
  }
  nav.top ul li a {
    padding: 0.75em 16px;
  }
  nav.top ul li:hover {
    background-color: rgba(0, 0, 0, 0.10);
  }
  nav.top ul li:hover > ul {
    display: block;
  }
  nav.top ul li ul {
    min-width: 300px;
    display: none;
    padding: 0;
    position: absolute;
    top: 3em;
    left: 0px;
    
  }
  nav.top ul li ul li {
    width: 100%;
    clear: both;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  nav.top ul li ul li ul {
    position: absolute;
    left: 100%;
    top: 0;
  }
  nav.top .mobile {
    display: none;
  }

  /* !---------- Pagination ---------- */
  .pagination {
    float: left;
  }

  #content nav .pagination_list {
    margin-top: 0.375em;
  }

  /* !---------- Search ---------- */
  #search-container {
    padding: 0;
    width: 30%;
    float: right;
    margin-right: 5em;
    *margin-left: -1em;
    display: inline;
    margin-top: 1.875em;
    z-index:2;
  }
  #search-container input {
    padding: 0.46875em 8px;
  }

  #search-results {
    width: 100%;
  }

  #search-filters, #item-filters {
    float: left;
  }
  #search-filters li, #item-filters li {
    float: left;
  }
  #search-filters li ul, #item-filters li ul {
    display: inline;
    padding: 0;
  }
  #search-filters li ul li, #item-filters li ul li {
    float: none;
  }

  /* !---------- Content --------- */
  header, nav.top, #content, footer {
    *zoom: 1;
    padding-left: 8.47458%;
    padding-right: 8.47458%;
  }
  header:after, nav.top:after, #content:after, footer:after {
    content: "";
    display: table;
    clear: both;
  }

  .page #primary {
    padding-top: 3em;
    padding-bottom: 3em;
  }

  #content #sort-links {
    float: right;
    text-align: center;
  }

  /* !---------- Home ---------- */
  #home #content #intro {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 1.125em;
  }
  #home #content #intro p {
    margin: 0;
  }
  
   #home #content #greetings {
    margin-bottom: 1.5em;
    width: 30%;
    float:left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
  
   #home #content #comments {
    margin-bottom: 1.5em;
    width: 30%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
  
   #home #content #teraskiila {
    margin-bottom: 1.5em;
    width: 30%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
  
   #home #content #odert {
    margin-bottom: 1.5em;
    width: 30%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
  
   #home #content #antrea {
    margin-bottom: 1.5em;
    width: 30%;
    float: left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
  
   #home #content #tag-cloud-index {
    margin-bottom: 1.5em;
    width: 30%;
    float:left;
    margin-right: 1%;
    margin-left: 1%;
    display: inline-block;
  }
   .popular {
        font-size: 100%;
    }

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

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

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

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

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

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

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

    .vvvvvvvv-popular {
        font-size: 230%;
    }
  
   #home #content #fb {
    display: inline-block;
    min-width: 260px;
    max-width: 261px;
    height: auto; 
  }
  
  #home #content #featured-item .image {
    display: inline-block;
    width: 100%;
    height: auto;
  }
  
   #home #content #featured-item {
    margin-bottom: 1.5em;
    width: 30%;
    float:left;
    margin-left: 1%;
    margin-right: 1%;
    display: inline;
  }
  
  #home #content #recent-items {
    width: 94%;
    margin-right: 1%;
    margin-left: 1%;
    /* *margin-left: 0em;*/
    display: block;
  }
  
  #home #content > div {
    width: 39%;
    float: left;
    margin-right: 0;
    *margin-left: 0em;
    display: inline-block;
  }

 #home #content #kartta {
    display: inline-block;
    width: 40%;
    height: auto; 
  }
  
   #home #content #link-block {
    display: inline-block;
    width: 40%;
    height: auto; 
  }
  
   #home #content #map-links {
    display: inline-block;
    width: 100%;
    height: auto; 
  }
  
  #home #content #kartta {
    width: 30%;
    height: auto%;
    float: right;
    margin-right: 5%;
    *margin-left: 0em;*
    display: inline;
  }

  #home #content #link-block {
    width: 100%;
    float: right;
    margin-right: 0;
    *margin-left: 0em;
    display: inline;
  }
  
     #home #content #map-links {
    display: inline-block;
    width: 100%;
    height: auto; 
  }




  /* !---------- Items --------- */
  .items .item {
    clear: both;
  }
  .items #advanced-search-form > div {
    width: 61.53846%;
    float: left;
    margin-right: 2.5641%;
    display: inline;
    clear: both;
  }
  .items #advanced-search-form > div:last-of-type {
    width: auto;
  }

  .show #primary, .exhibit-item-show #primary {
    width: 61.53846%;
    float: left;
    margin-right: 2.5641%;
    display: inline;
  }
  .show #sidebar, .exhibit-item-show #sidebar {
    width: 35.89744%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
  }

  /* !---------- Collections ---------- */
  .collections.show #primary .element-set {
    width: 61.53846%;
    float: left;
    margin-right: 2.5641%;
    display: inline;
  }
  .collections.show #primary > div {
    width: 35.89744%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
    clear: right;
  }
  .collections.show .item-img {
    margin-left: 0;
  }

  /* !---------- ExhibitBuilder ---------- */
  .exhibits.summary #primary {
    width: 66.10169%;
    float: left;
    margin-right: 1.69492%;
    display: inline;
    padding: 0 16px;
  }
  .exhibits.summary #exhibit-pages {
    width: 32.20339%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  .exhibits.show #content .exhibit-page-nav > li:first-child {
    background-color: rgba(0, 0, 0, 0.1);
    float: left;
  }
  .exhibits.show #content .exhibit-page-nav > li:nth-child(2) li:first-of-type {
    padding-left: 8px;
  }
  .exhibits.show #content #exhibit-page-navigation .exhibits-nav-prev {
    text-align: left;
  }
  .exhibits.show #content #exhibit-page-navigation .exhibits-nav-next {
    text-align: right;
  }
  .exhibits.show #content #exhibit-page-navigation > div {
    padding: 0;
    width: 33%;
  }
  .exhibits.show #content #exhibit-page-navigation a, .exhibits.show #content #exhibit-page-navigation span {
    width: 100%;
  }
}
