@media screen {
  /*
  Table of Contents
  =================
  -- General HTML Elements
  ----- Headings
  ----- Form Elements
  -- Global Classes
  -- Navigation
  ----- Pagination
  -- Header
  -- Footer
  -- Content
  -- Home
  -- Items
	---- Browse
	-- Simple Pages (pages auteurs)
  -- Search
  ----- Advanced Search
  -- Files
  -- Collections
  -- ExhibitBuilder
  */

@font-face {
    font-family: "Philosopher";
    src: url('polices/Woff/Philosopher-Regular.woff');
}

@font-face {
    font-family: "Philosopher";
    font-weight:bold;
    src: url('polices/Woff/Philosopher-Bold.woff');
}

@font-face {
    font-family: "Philosopher";
    font-style: italic;
    src: url('polices/Woff/Philosopher-Italic.woff');
}

@font-face {
    font-family: "Crimson";
    src: url('polices/Woff/CrimsonText-Roman.woff');
}

@font-face {
    font-family: "Crimson";
    font-weight:bold;
    src: url('polices/Woff/CrimsonText-Semibold.woff');
}

@font-face {
    font-family: "Crimson";
    font-style: italic;
    src: url('polices/Woff/CrimsonText-Italic.woff');
}

@font-face {
    font-family: "Gandhari";
    src: url('polices/Gandhari/gur.woff2');
}
@font-face {
    font-family: "Gandhari";
    font-weight:bold;
    src: url('polices/Gandhari/gub.woff2');
}
@font-face {
    font-family: "Gandhari";
    font-style: italic;
    font-weight:bold;
    src: url('polices/Gandhari/gubi.woff2');
}
@font-face {
    font-family: "Gandhari";
    font-style: italic;
    src: url('polices/Gandhari/gui.woff2');
}

@font-face {
    font-family: "Charis";
    src: url('polices/CharisSIL/CharisSIL-R.woff');
}
@font-face {
    font-family: "Charis";
    font-weight:bold;
    src: url('polices/CharisSIL/CharisSIL-B.woff');
}
@font-face {
    font-family: "Charis";
    font-style: italic;
    font-weight:bold;
    src: url('polices/CharisSIL/CharisSIL-BI.woff');
}
@font-face {
    font-family: "Charis";
    font-style: italic;
    src: url('polices/CharisSIL/CharisSIL-I.woff');
}

@font-face {
    font-family: "FontAwesome";
    src: url('polices/FontAwesome.otf');
}

.awesome {
	font-family:FontAwesome;
}
  /* !---------- General HTML Elements ---------- */
	* {
		box-sizing : unset;
	}

  body {
/*     font-family: "CharisSIL", sans-serif; */
    font-family: "Crimson", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    word-wrap: break-word;
    height: 100%;
		background : url(../images/seamless_paper_texture.png);
    margin:0;
  }

  a {
    text-decoration: none;
  }

	a, a:visited {
		color:#3B71A5;
	}

	#content, header, nav ul.navigation {
		max-width:1024px;
		margin:auto;
	}

	hr {
		color: #D0CEC6;
		box-shadow : 1px 1px 1px #e4e4e4;
		clear:both;
		padding:0;
		margin:1em 0 0 0;
	}
	strong {font-weight:bold;}

  /* !---------- Headings ---------- */
  h1 {
    font-size: 32px;
    line-height: 48px;

  }

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

  h3 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 500;
  }

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

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

  p, ol, ul {
    margin-bottom: 0.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;
  }

	#cookie-bar {text-align:center;
	padding:0.3%;
	color:white;
	background: #4c4c4c;
	margin:0;
	display:none;
}
	#cookie-bar p {margin:0}
	#cookie-ok {
		background : #f5f5f5;
		color: #191919;
		padding:0.1% 0.5%;
		margin-left:0.5%;
		cursor:pointer;
	}

  /* !---------- 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: #333;
    text-transform: uppercase;
    cursor: pointer;
    border:#aaa 1px solid;
  }

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

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

  .image {
    height: 4.5em;
    width: auto;
    float: left;
    display: block;
    margin: 0 0.75em 0.75em 0;
  }
  .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%;
  }

/*
#menu {
    display: flex;
    flex-flow: row nowrap;
    gap: 5px;
    background-color: #00FF00;
    padding: 10px 0;
}

.menuitem {
    background-color: #FF0000;
    flex-grow: 1;
    text-align: center;
}
*/

/*
  div#wrap > div.page-header {
    margin:.5em auto !important;
    width: 100%;
    float: none !important;
  }
*/
/*
  ul.main-menu {
		display:inline-block;
		list-style:none;
		margin-right:0 !important;
		margin-bottom:.7em;
		padding:0 !important;
		background:none !important;
		box-shadow: none !important;
    flex-flow: row nowrap;
  }
*/
/*
  div.page-header ul {
    position: relative !important;
  }
*/
  div.page-header ul li {
    margin:0 !important;
    padding: 0 !important;
    display:block !important;
		background:#f5f5f5 !important;
		text-align: center !important;
  }
  div.page-header > ul > li {
    width:20%;
  }
  div.page-header ul li li {
    z-index: 20;
		background:#f5f5f5 !important;
		text-align: center important;
    line-height: 2em;
  }
  div.page-header ul li li li {
    line-height: 2em;
    text-align: left  !important;
  }
  div#wrap li.parent > a::after,
  li.parent > a::after {
    content:"\0025BE";
    font-family: Courier New, Courier, monospace;
    clear:none;
    float:right;
    position: absolute;
/*     padding-left:5px; */
/*     display: block; */
  }
  div#wrap li.parent:hover > a::after,
  li.parent:hover > a::after {
    content:"\0025B8";
    font-family: Courier New, Courier, monospace;
    clear:none;
    float:right;
    padding-left:5px;
    display: block;
  }
  .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: 500;
  }
  .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: 0 0 0.75em 0;
  }
  .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;
    font-weight: 300;
    text-align: center;
    margin-right: 1.69492%;
    display: inline;
    padding: 0 0 .5em 0;
		float:left;
		width: 66.10169%;
    text-align: left;
  }

  #site-title:after {
    content: "";
    display: block;
    height: 0px;
    clear: both;
  }

	#site-title img {
		float:left;
		margin-right:5%;
		margin-top:3%;
/* 		width:30%; */
	}

	.tagline {
		font-family: "philosopher", arial, sans-serif;
		font-size:1.2em;
		text-shadow : 1px 1px 2px #fff;
		line-height:1em;
		margin-top:0;
	}

  #search-container {
    padding: 0;
    width: 29%;
    float: right;
    margin-right: 0;
    margin-left: -1em;
    display: inline;
    margin-top: 1.875em;
  }
  #search-container:after {
    content: "";
    display: block;
    height: 0;
    width: 100px;
    clear: both;
  }

  #search-form {
    text-align: center;
    position: relative;
    overflow: visible;
		top:2em;
  }
  #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;
  }

  header #advanced-search {
    width: 2.25em;
	font-size:0.9em;
    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;
  }
 header #advanced-search:after {
   font-family:"FontAwesome";
    width: 2.25em;
    content: "";
    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);
		background-color: #707070;
  }

#recherche-avancee:after {
font-family:"FontAwesome";
    width: 2.25em;
    content: "";
    display: block;
    text-indent: 0;
    text-align: center;
		position:relative;
		top:-3px;
		left:100%;
    height: 2.25em;
    line-height: 2.25em;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
		background-color: #707070;}

  #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;
  }

	footer ul {
		text-align:center;
}

	footer ul#footer-list li {
		list-style:none;
		display:inline-block;
		padding :0 1%;
	}

	footer #footer-list li:nth-last-child {
		border:none;
	}

	footer ul#footer-logo img {
		height:60px;
	}

	footer ul#footer-logo li {
		list-style:none;
		display:inline-block;
		padding :0 1%;
	}
  /* !---------- Content ---------- */
  #content {
    clear: both;
    overflow: visible;
    padding: 0 16px 1.5em 16px;
    *zoom: 1;
  }
  #content:after {
    content: "";
    display: table;
    clear: both;
  }
  #content h1 {
    font-size: 22px;
    line-height: 40px;
    /*text-transform: uppercase;*/
    border-top: 0;
    padding: 0 0 0.75em;
    margin: 0;
		font-weight:0;
  }
  #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;
    border-width: 0 0 5px 0;*/
    margin: 0 0 0.75em -16px;
    width: 100%;
  }
  #content > div, #content section, #eman-pager-files,
  #content > div, #content section, #eman-pager-items {
    background-color: rgba(255,255,255,0.5);
    border-style: solid;
    border-width: 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;
    clear:left;
  }
  #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: ", ";
  }
	#search-filters ul li:not(:first-child) {display:none}
  #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;
  }


  .browse #content #item-filters li {
    -webkit-box-shadow: transparent 0 0 0;
    -moz-box-shadow: transparent 0 0 0;
    box-shadow: transparent 0 0 0;
  }

  .browse #content #item-filters {
		clear:both;
  }

  .browse #content #item-filters ul {
		padding:0;
		margin: 1% 0%;
	}

  .browse #content #item-filters ul li {
		padding:0;
		margin: 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%;
    clear:both;
    margin-top:1em;
  }
  #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;
  }

	#home #menu {width:100%}
	#itemfiles:after {content:"";display:block;clear:both}
	.file-display {width:20%;float:left;margin:02%}
	.file-display:hover {cursor:pointer;}
	.element-title {text-align:center;font-size:0.8em}

	#home p#welcome {
		color: #111;
		text-shadow : 2px 2px 1px #f3f3f3;
		background :none;
		padding:1%;
		text-align:justify;
		font-size:1.1em
	}

	#menu ul.navigation li {width:45%;background:rgba(255,255,255,0.5);border-radius:10px;box-shadow:3px 3px 3px #ccc;padding: 1em;list-style:none;margin:0;margin-bottom:3%;max-height:130px;overflow:hidden}
	#menu ul.navigation li:nth-child(odd) {float:left}
	#menu ul.navigation li:nth-child(even) {float:right}
	#menu ul.navigation li h2 {display:none}
	#menu ul.navigation li img {width:120px;height:100px;float:left;margin-right:1%}
	#menu ul.navigation li p#auteur-bio {display:none}

  #menu ul.navigation .imgif {
	width:16px;
	height:16px;
	position:relative;
	left:40%;
	top: 2em;
	padding-bottom:2em;
	}

  /* !---------- Items ---------- */

	.show #content h1 {padding: 0;}

	.show #linkHome {
		font-weight:bold;
		margin:0;
		margin-bottom:2%;
	}

	.show #linkList {
		text-align:right;
		margin-top:0;
		font-weight:bold;
	}

  .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;
		background : rgba(255, 255, 255, 0.5);
		overflow:auto;
  }
  .show #primary > div > *:first-child, .show #content #sidebar > div > *:first-child {
    margin-top: 0em;

  }
  .show .item-file {
    text-align: center;
    width: 100%;
  }
  .show .item-file .download-file {
    display: inline-block;
  }
  .show .item-file img {
    vertical-align: bottom;
    max-width: 100%;
  }
  .show .item-file > div {
    display: inline-block;
  }

	.show #deplier {display:none;}

	.show #voir {
	font-family: "FontAwesome";
		-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color:#ffffff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	/*display:inline-block;*/
	cursor:pointer;
	color:#666666;
	font-weight:bold;
	padding:0.5em 1em;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	text-align:center;
}

.readmore-js-toggle {padding:0.5em 0}

#itemfiles {
  max-height:800px;
  overflow:hidden;
  position:relative;
}

#itemfiles p#btnItemfiles {display:none;position:absolute;
bottom:1%;
width:87%;
font-family: "FontAwesome";
		-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color:#ffffff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	/*display:inline-block;*/
	cursor:pointer;
	color:#666666;
	font-weight:bold;
	padding:0.5em 1em;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	text-align:center;
}

	.show span#jspdf img {
		width:	32px;
		cursor:pointer;
	}

  .items.show h3 {
    margin-bottom: 0.75em;
  }
  .items.show #itemfiles #item-images > div {
    width: 22.5%;
    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, .collections.show #primary, .files.show #primary,
  .items.show #sidebar, .collections.show #sidebar, .files.show #sidebar
    {
    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;
		width : 48%;
    float: left;
  }

  .items aside#sidebar,
  .collections aside#sidebar,
  .files aside#sidebar {
    float: right !important;
    margin-top: 1em;
  }

	.files.show #primary #primaryImage .buttons {
		margin-bottom:2%;
	}

	.files.show #primary #primaryImage .buttons button {
		background : #3e3e3e;
	}

	.files.show #primary #primaryImage .buttons button {
		padding:2.5%;
		height:auto;
	}

	.files input[type="range"] {
		width:auto;
		display:inline;
	}

	.files.show #primary #primaryImage .buttons button.reset {
		text-transform : capitalize;
		}

	.items.show div#item-tags h4, .items.show div#item-citation h4 {
		margin-bottom:0;
	}

	.items.show #sidebar span.dclabel {
		font-weight:bold;
	}

  #item-relations-display-item-relations {
    display:block;
    clear:both;
    overflow: visible;
  }

  #item-relations-display-item-relations .thumbnail {
    height:auto !important;
  }

	#item-relations-display-item-relations h4 {
		margin-bottom:0;
	}

	#item-relations-display-item-relations ul {
		padding: 1% 4%;
		margin:0;
	}

	.items.show .collection-titre {font-size:1em;font-weight:bold}

  #content #outputs {
    background-color: rgba(255,255,255,0.5);
    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;
		float:right;
	padding:1em;
  }
  #content #outputs p {
    padding-left: 0;
  }

  div.item.private,
  div.collection.private,
  div.file.private,
  div.result.private {
    background: url('../images/private-small.png') top 5px right 5px no-repeat;
    background-size: 35px 35px;
  }
  .item img {
    width: 81px;
    float: left;
/*     margin: 0 0.75em 0.75em 0; */
  }

  .exhibit-item-show #sidebar {
    width: 43%;
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
  }

	.show div#itemfiles {
		padding-bottom:8%;
	}

	.file-metadata {display:none;}
	.fancybox-outer img {
		width:48%;
		float:left;
	}

	.fancybox-outer .element-text {
		width:48%;
		float:right;
}

	.fancybox-inner h5 {
		clear:both;
		text-align:center;
		margin:1.5%;
	}

  /* !---------- ITEM BROWSE ---------- */
	.browse #trilangue, .browse .tritype {
		display:none;
		line-height:1.5em;
		position:absolute;
		background:url(../images/seamless_paper_texture_opacity.png);
		padding:0.5em 1em;
	}

	.browse .tritype {
		right:0;
		width : 120px;
	}

	.browse #trilangue ul, .browse .tritype ul, browse .tritype2 ul {
		margin:0;
		padding:0;
	}

	.browse #trilangue {
		top:2.1em;
		left:5.8em;
	}

		.browse .tritype, .browse .tritype2  {
		left:10.1em;
	}

		.browse #trilangue ul li, .browse .tritype ul li, .browse .tritype2 ul li {
		list-style:none;
	}

	.browse .lgue, 	.browse .type {
		margin : 0 8%;
		color:#3B71A5;
		cursor:pointer;
	}

	.browse .typeoff {
		margin:0 8%;
		color: #aaa;
}

	.browse div#selec {
		clear: both;
		width: 25%;
		min-width:250px;
		border: none;
		float: left;
		padding:0.3em;
		position:relative;
		margin-bottom:0;
	}

	.browse div#selec span {
		margin-right:2%;
	}

	.browse h1 {float:left;}
	.browse #linkHome {text-align:right;margin-top:1%;font-weight:bold}
	.browse nav.pagination-nav {clear:both}

	.tritype2 {
		display:none;
		line-height:1.5em;
		position:absolute;
		background:url(../images/seamless_paper_texture_opacity.png);
		padding:0.5em 1em;
	}

	#criteres {
		display:block;
		clear:both;
		margin-bottom:1em;
	}
	#criteres span {
		padding:0.2em;
		background:rgba(255,255,255,0.5);
	}

	#criteres span.liste-langues+span.liste-langues:before {
		content: '| ';
	}
	span.liste-langues {
		background:none
	}

	.browse #content h2 {
		margin-bottom:0;
}
 div.elem-left {
		width:44%;
		float:left;
	}
	 div.elem-right {
		width:44%;
		float:right;
	}
  /* !---------- 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-link-header{
    display: block;
    margin-top: 30px;
  }


  .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;
		border:1px solid #aaa;
  }
  .advanced-search #content form > div .label {
    margin-bottom: 0.75em;
    margin-top: 0.75em;
    font-size:1.3em;
  }
  .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 {
	background:rgba(255,255,255,0.5);
	box-shadow : 2px 2px 2px #aaa;
	border-top:solid 10px black;
	padding:1%;
	padding-bottom:2%;
}

  .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;
		background:#aaa;
  }

	.advanced-search #advanced-search-form button {
		background:#aaa;
	}

  .advanced-search label {
	font-size:1.3em;
}
  /* !---------- 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-bottom: 1px solid #dfe2e2;
    margin:1em 6px 0;
    padding: 0 6px 1.5em;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    position:relative;
    width:97%;
  }
  .collection-item {
    clear:left;
    float:left;
    padding-bottom:2em;
    position:relative;
    min-height : 100px;
  }
  .collection-item-image {
    float:left;
    clear:left;
    width:15%;
  }
  .collection-item-image a {
    display: block;
    height: 100%;
  }
  .collection-item-image a img {
    height: 82px;
    width: 82px;
    display: block;
    margin:auto;
  }

  .collection-item-wrap {
    clear:right;
    float:right;
    width:79%;
    min-width:79%;
  }
  .collection-item-title {
    float:left;
    font-weight: bold;
    width:100%;
  }
  .collection-item-author {
    float:left;
    clear:left;
    width:100%;
  }
  .collection-item-tags {
    float:left;
    width:100%;
  }

  .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;
  }
	.collections #content .ng-scope #liste:after{
		content:"";
		clear:both;
		display:block;
	}
	.collections #content .ng-scope #formetype, .collections #content .ng-scope #formetrier {
		float:left;
		width:25%;
		margin-right:8%;
	}
	.collections #content .emanapp {
		border:none;
		box-shadow:none;
		padding:0;
	}

	.show #liste .itemListe img {
		float:left;
		width:15%;
		margin-right:2%
	}

	.show #liste .itemListe p {
		margin-bottom:0.5em
	}

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

	#soutiens #primary img {
		margin:1.5% 7%;
}

/* !---------- Simple Pages (pages auteurs) ---------- */

	#rabearivelo div#presentation img, #feraoun div#presentation img, #senac div#presentation img, #franketienne div#presentation img, #lopes div#presentation img, #tengour div#presentation img, #cesaire div#presentation img {
		width:15%;
		float:left;
		margin-right:2%
	}

	#rabearivelo div#presentation:after, #feraoun div#presentation:after,  #senac div#presentation:after,  #franketienne div#presentation:after,  #lopes div#presentation:after,  #tengour div#presentation:after,  #cesaire div#presentation:after {
		content:"";
		display:block;
		clear:both;
	}

	#rabearivelo #primary,	#feraoun #primary, #senac #primary, #franketienne #primary, #lopes #primary, #tengour #primary, #cesaire #primary { background-color:transparent;
		box-shadow :0 0 0;
		border:none;
		padding:0;
}

	#rabearivelo div#presentation, 	#feraoun div#presentation, #senac div#presentation, #franketienne div#presentation, #lopes div#presentation, #tengour div#presentation, #cesaire div#presentation, .page div#slider, .page div#last-notices, .page div#pres-projet {
		padding:1em;
		background-color : rgba(255,255,255,0.5);
		margin-bottom:1em;
		border-top: 10px solid black
}

	.page p#voir-liste, .page .readmore-js-toggle {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
	background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
	background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
	background-color:#ffffff;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	/*display:inline-block;*/
	cursor:pointer;
	color:#000;
	font-weight:bold;
	padding:0.5em 1em;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
	text-align:center;
}
	.page .readmore-js-toggle {width:92%}

.page p#voir-liste:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
	background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
	background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
	background-color:#f6f6f6;
}
.page p#voir-liste:active {
	position:relative;
	top:1px;
}

/*	.page div.list-auteur {
	-moz-column-count:2;
	-webkit-column-count:2;
	-o-column-count:2;
	column-count:2;
	-moz-column-gap:20px;
	-webkit-column-gap:20px;
	-o-column-gap:20px;
	column-gap:20px;
}*/

	.page div.list-auteur h3 {
		margin:0.5% 0;

	}

	.page div.list-auteur h3:before {
		content:"• ";
	}

	.jcarousel li {
		border:none;
	}

		.page #list-titre, .page #list-date {
		display:none;
	}

	ul#main-nav li {
		display:inline-block;
		list-style:none;
		margin-right:1.5%;
		margin-bottom:.7em;
		padding:0.5% 1%;
		background:rgba(255,255,255,0.5);
		box-shadow: 2px 2px 2px #bbb;
}

	ul#main-nav {
		padding:0;
		margin:0 0 2% 0;
	}

	.page div#last-notices {
		width:45%;
		float:left;
	}

	.page div#pres-projet {
		width:45%;
		float:right;
}

	#simple-contact input, #simple-contact .textinput {
		border:solid 1px #aaa;
	}

	#simple-contact #send {
		background: #aaa;
		margin-top:1%;
	}

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

  #site-title {
    width: 66.10169%;
    float: left;
    margin-right: 1.69492%;
    display: inline;
    text-align: left;
  }
  #site-title:after {
    content: "";
    display: block;
    height: 0px;
    clear: both;
  }

  /* !---------- Navigation --------- */
	nav.top {
		background:rgba(255,255,255,0.8);
	}

  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.05);
  }
  nav.top ul li:hover > ul {
    display: block;
  }
  nav.top ul li ul {
    min-width: 200px;
    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;
		padding-bottom:0.5em
  }

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

  /* !---------- Search ---------- */
  #search-container {
    padding: 0;
    width: 27.20339%;
    float: right;


    *margin-left: -1em;
    display: inline;
    margin-top:3.5%;
  }
  #search-container input {
    padding: 0.46875em 8px;
  }

  /*#search-container a, #search-container a:visited { color:white;}*/

  #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;
  }

	.searchListe {clear:both}
	.searchListe h2 {margin:0;}

  /* !---------- 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: 1em;
    padding-bottom: 3em;
  }

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

  /* !---------- Home ---------- */
  #home #content #intro {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 1.125em;
  }
  #home #content #intro p {
    margin: 0;
  }
  #home #content #featured-item {
    margin-bottom: 1.5em;
    width: 32.20339%;
    float: left;
    margin-right: 1.69492%;
    display: inline;
  }
  #home #content #featured-item .image {
    display: inline-block;
    width: 100%;
    height: auto;
  }
  #home #content #featured-item img {
    width: 100%;
    height: auto;
  }
  #home #content > div {
   /* width: 66.10169%;*/
    float: right;
    margin-right: 0;
    *margin-left: -1em;
    display: inline;
  }

  /* !---------- Items --------- */
  .items .item {
    clear: both;
  }
  .items #advanced-search-form > div {
    width: 61.53846%;
    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;
  }


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

}

@media screen and (max-width: 768px) {
	#home{width:100%}
	#content{padding:0}
	 div.elem-left {
		width:80%;
	}
	 div.elem-right {
		display:none;
	}

	.browse div#selec {
		width:100%;
		clear:both;
}

	#menu ul.navigation li {
		width:98%;
		padding:1%;
		border-radius:0px;
		max-height:400px;
	}
	#menu ul.navigation li:nth-child(odd) {clear:both}
	#menu ul.navigation li:nth-child(even) {float:left}

	header #site-title img {width:26%;margin-left:37%}
	header #site-title p.tagline {clear:both;text-align:center;}
	.items.show #primary {width:100%;}

	#site-title {clear:both;width:100%;padding:0;margin:0}
	#site-title img {display:block;clear:both;margin-left:0;margin:auto;}
	#site-title .tagline {font-size:0.6em}
	#search-container {clear:both;margin:0;width:100%;padding:0}
	#search-container:after {content:"";display:block;clear:both;}
	p.tagline {line-height:1;
	margin-top:1%}
	hr {display:none;}
	.show #sidebar, .exhibit-item-show #sidebar {
   	 width: 100%;
	clear:both;
  	 margin-right: 0;
  }
	#recherche-avancee:after {display:none;}
	#search-form button {width:3.5em}
	#search-form button:after {width:3em}
	.page div#last-notices, .page div#pres-projet {width:96%; padding:2%;clear:both;float:left}
	.page #slider {display:none;}
}

#eman-pager-files,
#eman-pager-items {
	clear:both;
	float:none;
	display:block;
	max-width:1014px;
	margin:0 auto;
	overflow: hidden;
}
#eman-pager-files h3 {
  margin-top: 0px;
}
.eman-files-sep,
.eman-items-sep {
  float:left;
  display: block;
  width:8px;
  margin: auto;
  text-align: center;
  vertical-align: middle;
}
.eman-file-link,
.eman-item-link {
	display:block;
	margin:0;
	float:left;
}
.eman-file-link-current,
.eman-item-link-current {
	font-weight:bold;
}

#search-help {
  background: #eee;
  border:  #000 1px solid;
  padding:5px;
  margin-top: 10px;
}

#solr-results div.result {
  margin-bottom: 2em;
  display: block;
  overflow:auto;
  min-height:3em;
}
.eman-solr-gallery {
  display: block;
}
.eman-solr-thumb {
  float:left;
  clear:none;
  padding-right: 5px;
}
.eman-solr-image {
  height:4.5em;
  width:4.5em;
  max-width:100px;
}

/* General dropdown styles */
.dropfacet dd, .dropfacet dt, .dropfacet ul { margin:0px; padding:0px; }
.dropfacet dd { position:relative; }
/* DT styles for sliding doors */
.dropfacet dt a, .dropfacet .active-facet {background:#e4dfcb url(arrow.png) no-repeat scroll right center;
    display:block; padding-right:20px; border:1px solid #d4ca9a; width:150px;}
.dropfacet .active-facet {
	color:#843418;
}
.dropfacet .active-facet > div {
	color:#000;
	clear:both;
	font-size:12px;
	font-weight:normal;
}
.dropfacet dt a span {cursor:pointer; display:block; padding:5px;}
/* UL styles */
.dropfacet dd ul { background:#e4dfcb none repeat scroll 0 0; display:none;
    list-style:none; padding:5px 0px; position:absolute;
    left:0px; top:2px; width:auto; min-width:170px;}
.dropfacet span.value { display:none;}
.dropfacet dd ul li a { padding:0; display:block; font-size:14px;}
.dropfacet dd ul {overflow:auto;max-height:400px;}
.dropfacet dd ul li a.facet-remove-link,
.dropfacet dt a.facet-remove-link {
	display:inline;
	padding:0;
}

#solr-search-form input {
  color:black;
  font-weight: bold;
  background-color: #e4dfcb;
}

.fieldname-solr {
	text-decoration:underline;
}
.eman-edit-link {
	border: 0 none;
	display: block;
	font-family: Arvo,serif !important;
	font-size: 1em;
	padding: 0 1em 0 1em;
	text-decoration: none;
	color:#ccc !important;
	background:black;
	float:right;
	clear:right;
	margin-top:-7em;
}
.eman-edit-link:hover {
	text-decoration:none;
	color:#fff !important;
}

// Tag Cloud
.popular {
	font-size:14px;
}
.v-popular {
	font-size:16px;
}
.vv-popular {
	font-size:20px;
}
.vvv-popular {
	font-size:24px;
}
.vvvv-popular {
	font-size:28px;
}
.vvvvv-popular {
	font-size:32px;
}
.vvvvvv-popular {
	font-size:36px;
}
.vvvvvvv-popular {
	font-size:40px;
}
.vvvvvvvv-popular {
	font-size:48px;
}
// Dropdown main menu
#main-nav
{
	margin-top:15px
}

div#main-nav {
	background: transparent;
	border:0;
	margin: auto;
/* 	display: block; */
	box-shadow:none;
	max-width:1024px;
  padding-left: 8.47458%;
  padding-right: 8.47458%;
  padding-bottom: 3em;
  position:relative;
  z-index:1000;
}
#home div#main-nav {
	background: transparent;
	border:0;
	margin: auto;
	display: block;
	float:left !important;
	box-shadow:none;
	max-width:1024px;
	width:1024px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

#main-nav > ul
{
	list-style:none;
	margin:0 auto;
	padding: 0;
	z-index:1000;
	background-color: transparent;
	min-width:400px;
	max-width:1024px;
/* 	display: block; */
/* 	flex-direction: row; */
  z-index:1000;
  position:relative;
}

#main-nav ul a
{
	display:block;
	color:#2a6496;
	text-decoration:none;
	font-weight:700;
	font-size:12px;
	line-height:20px;
	padding:0 15px;
}

div#wrap ul a {
	padding:0 5px;
}

#main-nav ul li
{
	position:relative;
	float:left;
	margin:0;
	padding:0;
	background: rgba(255,255,255,0.5);
	box-shadow: 2px 2px 2px #bbb;
}
/*
#main-nav ul li:first-child {
	margin:0;
}
*/
#main-nav > ul > li {
	margin-bottom:10px;
}
#main-nav ul li.current-menu-item
{
	background:#ddd
}

#main-nav ul li:hover
{
	background:#f6f6f6
}

#main-nav ul ul
{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#fff;
	padding:0;
	z-index: 1000;
}

#main-nav ul ul li
{
	float:none;
/* 	width:200px */
	z-index: 1000;
}

#main-nav ul ul a
{
	line-height:120%;
	padding:10px 15px;
  z-index: 1000;
}

#main-nav ul ul ul
{
	top:0;
	left:100%
}

#main-nav ul li:hover > ul
{
	display:block
}

#site-title #logo-eman {
  width:100px;
  padding-top:15px;
}
#site-title #logo-theme img {
  min-width:120px;
  max-width:300px;
  max-height:150px;
  padding-top:15px;
}

#submit_search {
  height:35px;
}

.hidden {
  display:none;
}
.records .valeur {
  clear:both;
}
.records .valeur .enregistrer {
  clear:both;
  float:left;
}
/*
.field-uitemplates {
  font-family: "CharisSIL", sans-serif;
  letter-spacing: normal;
}
*/

body.neatline.show div#neatline-narrative {
  height:5em;
  width:100%;
  overflow: visible;
}
#waypoints a.title {
  line-height: .8em;
  font-size: 1em;
  padding:.5em 5px 0 5px;
}
#neatline.Waypoints.Simile #waypoints {
  width:17%;
}
#content > span.dclabel,
#content > span.Z3988,
#content > span#doc-title,
#content > span#doc-authors
{
  clear:left;
  max-width:500px;
  display: inline-block;
}
.uit-link {
  display:block;
  float:right;
  clear:right;
  line-height: 40px;
}
table {
  table-layout: fixed;
  width:100%;
}
div#wrap li.parent > a::after,
li.parent > a::after {
  content:"\0025BE";
  font-family: Courier New, Courier, monospace;
  clear:none;
  float:right;
  padding-left:5px;
}
div#wrap li.parent:hover > a::after,
li.parent:hover > a::after {
  content:"\0025B8";
  font-family: Courier New, Courier, monospace;
  clear:none;
  float:right;
  padding-left:5px;
}
#transcript-list td {
  vertical-align: top;
}

th a:after {
    width: 10px;
    height: 10px;
    content: url('../images/sort.png');
    display: inline-block;
    line-height: 10px;
    margin: 0 0 0 5px;
}
.collection-link {
  background: transparent;
  border:none;
  box-shadow:none;
  margin:0;
  padding:0;
  float:left;
  clear:none;
}
.collection-item-count {
  font-size: .8em;
  font-style: italic;
}
td.relation-data img {
  width:40px;
  height:40px;
  overflow:hidden;
  float:left;
  padding-right:3px;
  vertical-align:middle;
  margin-bottom:0;
}
#back-to-top {
  height:40px;
  width:40px;
  border: grey 1px solid;
  position:fixed;
  bottom: 25px;
  right:25px;
  cursor:pointer;
  border-radius: 15px;
  margin:0px !important;
  padding:9px !important;
}

/* Menu style Berlin */

#primary-nav {
  clear: both;
  position: relative;
  margin: 0 auto;
  padding: 0;
  width: 960px;
  z-index: 50;
  /* mega menu list */
  /* a top level navigation item in the mega menu */
  /* first descendant link within a top level navigation item */
  /* focus/open states of first descendant link within a top level
     navigation item */
  /* open state of first descendant link within a top level
     navigation item */
  /* sub-navigation panel */
  /* sub-navigation panel open state */
  /* list of items within sub-navigation panel */
  /* list item within sub-navigation panel */
}
#primary-nav:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
  #primary-nav {
    width: 768px;
  }
}
@media only screen and (max-width: 767px) {
  #primary-nav {
    width: 300px;
  }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  #primary-nav {
    width: 420px;
  }
}
#primary-nav .nav-menu {
  display: flex;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 100;
  overflow: visible;
  flex-wrap: wrap;
  align-items: stretch;
  border-right: 1px solid #ccc;
}
#primary-nav li {
  list-style-type: none;
  margin: 0;
  position: relative;
}
#primary-nav .nav-item {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0;
  float: none;
  position: relative;
  overflow: visible;
  flex: 1 0 auto;
}
#primary-nav .nav-item:first-child > a {
  border-left: 1px solid #ccc;
}
#primary-nav .nav-item > a {
  position: relative;
  display: inline-block;
  margin: 0;
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  height: 100%;
  width: 100%;
}
#primary-nav .nav-item > a:focus,
#primary-nav .nav-item > a.open {
  border: 1px solid #dedede;
  border-right: 0;
  margin: 0 -1px 0 0;
  border-bottom: 0;
}
#primary-nav .nav-item > a.open {
  background-color: #fafafa;
  z-index: 1;
}
#primary-nav .nav-item > a.open:before {
  content: "";
  position: absolute;
  right: -1px;
  width: 1px;
  top: 0;
  background-color: #dedede;
  bottom: 0;
}
#primary-nav .sub-nav {
  position: absolute;
  display: none;
  margin-top: 0;
  padding: 0;
  border: 1px solid #dedede;
  background-color: #fff;
  min-width: calc(100% + 1px);
  z-index: 999;
}
#primary-nav .sub-nav.open {
  display: block;
  width: 160px;
}
#primary-nav .sub-nav.open li {
  width: 100%;
}
#primary-nav .subnav a:hover + ul,
#primary-nav .subnav a:focus + ul {
  display: block;
  position: absolute;
  top: 36px;
  margin-top: 1px;
  z-index: 1000;
  box-shadow: 0 3px 5px #ccc;
}
#primary-nav .sub-nav ul {
  vertical-align: top;
  margin: 0;
  padding: 0;
}
#primary-nav .sub-nav ul a {
  margin-top: -9px;
}
#primary-nav .sub-nav ul a:before {
  content: "—";
  margin-right: 4.5px;
}
#primary-nav .sub-nav li {
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#primary-nav .sub-nav > li {
  border-bottom: 1px solid #ccc;
}
#primary-nav .sub-nav a {
  width: 100%;
}
#primary-nav a {
  behavior: url("../javascripts/boxsizing.htc");
  box-sizing: border-box;
  text-decoration: none;
  display: block;
  padding: 9px 18px;
  background: #fafafa;
}
#primary-nav a:hover,
#primary-nav a:focus,
#primary-nav li.active > a {
  color: #ff8000;
  position: relative;
  z-index: 1;
}
#primary-nav [aria-haspopup=true]:after {
  font-family: "Font Awesome 5 Free";
  content: "";
  font-weight: 900;
  margin: -1px 0 0 0.5em;
  display: inline-block;
  width: 18px;
  text-align: center;
}
#primary-nav [aria-haspopup=true].open:after {
  content: "";
}

#secondary-nav, .secondary-nav {
  margin-bottom: 18px;
  overflow: auto;
  border-bottom: 1px solid #ccc;
  clear: both;
}
#secondary-nav li, .secondary-nav li {
  padding: 18px 0;
  margin-right: 20px;
}
#secondary-nav a, .secondary-nav a {
  color: #666;
}
#secondary-nav .active a, .secondary-nav .active a {
  background: #fff;
  color: #333;
  font-weight: bold;
}
#secondary-nav .tags .nav-browse-all a, .secondary-nav .tags .nav-browse-all a {
  font-weight: normal;
  border: none;
  border-bottom: 1px solid #fff;
  background: none;
}

#mobile-nav {
  display: none;
}
