/* Polices */
@font-face {
	font-family: 'Allura'; 
	src: url('font/Allura/allura.ttf') format('truetype');
	src: url('font/Allura/allura.woff2') format('woff2'),
         url('font/Allura/allura.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Rubik'; 
	src: url('font/Rubik/rubik.ttf') format('truetype');
	src: url('font/Rubik/rubik.woff2') format('woff2'),
         url('font/Rubik/rubik.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Elsie-regular'; 
	src: url('font/Elsie-regular/elsie-regular.otf') format('opentype');
    src: url('font/Elsie-regular/elsie-regular-webfont.woff2') format('woff2'),
		 url('font/Elsie-regular/elsie-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Karla'; 
	src: url('font/Karla/karla-regular.ttf') format('truetype');
	src: url('font/Karla/karla-regular-webfont.woff2') format('woff2'),
         url('font/Karla/karla-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Kembang'; 
	src: url('font/Kembang/kembang.ttf') format('truetype');
	src: url('font/Kembang/kembang.woff2') format('woff2'),
         url('font/Kembang/kembang.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Oswald'; 
	src: url('font/Oswald/oswald.ttf') format('truetype');
    src: url('font/Oswald/oswald.woff2') format('woff2'),
		 url('font/Oswald/oswald.woff') format('woff');	
    font-weight: normal;
    font-style: normal;
}
@font-face {
	font-family: 'Quintessential'; 
	src: url('font/Quintessential/quintessential.ttf') format('truetype');
    src: url('font/Quintessential/quintessential.woff2') format('woff2'),
		 url('font/Quintessential/quintessential.woff') format('woff');	
    font-weight: normal;
    font-style: normal;
}
/******************/
/* Initialisation */
/******************/
*, ::before, ::after {
	margin: 0; padding: 0;
	box-sizing: border-box;
}	
/*************/
/* Générique */
/*************/
html { font-size: 100%; height: 100%; width: 100%;}
body { font-family: "Caudex", sans-serif; font-size: 1.4rem; line-height: 1.6em; word-wrap: break-word; background: url(./images/bg_grey_yellow.jpg) repeat; color: #333; }
header { display: grid; top: 0;  grid-template-columns: 80px 1fr 55px 40px; z-index: 1; background: url(images/pattern-themeanitya-blue2.png); width: 100%; min-height: 100px; height: auto; border-bottom: none; box-shadow: 0 5px 25px #333; padding: 0 3%; position: sticky; z-index: 10000; top: 0; }
#site-title { font-size: 2.2em; font-family: 'Quintessential'; text-align: center; padding: 0 21px; }
a#site-title , .search-toggle, .menu-toggle { color: #EEEEEF; line-height: 1.4em; margin-right: 0; }
.menu-toggle::before { font-size: 2.5em; } .search-toggle::before { font-size: 2.5em; margin-right: 35px; }
.menu-toggle::after { display: none; }
#content, #primary { clear: both; padding: 0; margin: 0 1%; /* max-width: 1900px; */ box-sizing: content-box; }
#wrap { height: auto; min-height: 100vh; background: url(images/pattern-tuffeau.jpg); }
h1, .h1 { font-size: 1.6em; text-decoration: none; } h2, .h2 { font-size: 1.4em; }
h1, h2, h3 { color:  #9C4F34;  font-weight: bold; line-height: 1em; padding: 0 21px; clear: both; }
h3, h4{ padding: 5px 0; font-size: 1.3em; font-weight: bold; }
p { text-align: justify; }
pre { white-space : pre-wrap; color: #333; font-weight: bold; font-size: small; }
#pagination-bottom { display: none }
p, ol, ul, dl, blockquote { margin: 2px 0; }
a, .browse.collections .record a, .browse.exhibits .record a { color: #9C4F34 ; font-weight: bold; device-width: 90%; }
.browse.collections .record a, .browse.exhibits .record a:hover { text-shadow: 0 0px 2px whitesmoke;}
.reference-record a, .pagination_range a { color: #E53935; }
a:hover { color: #4C9A2A; text-shadow: whitesmoke 0 0 2px; background: rgba(245,245,245,0.7); border-radius: 3px; }
header a:hover{ background: transparent; }
.reference-record a:hover, .pagination_range a:hover { color: #9C4F34 ; }
#outputs { display: none; }
.mm-panels>.mm-panel.mm-hasnavbar { padding-top: 0 !important; }
article#content { flex-direction: column; z-index: 10; background: url('images/pattern-tuffeau.jpg'); height: auto; min-height: calc(100vh - 270px); padding: 30px; }
#previous-item , #next-item  { margin: 10px; }
#previous-item a, #next-item a {width: 100%; }
#previous-item a:hover, #next-item a:hover  { background: none; }
#site-logo img {height: 80px; }
.titre_centre { text-align: center; }
.search-toggle::before, .menu-toggle::before, .advanced-toggle::before { font-size: 1.8em; }
.mm-panels > .mm-panel::after, .mm-panels > .mm-panel::before { height: 50px; }
.pagination { margin-left: auto; }
.item-tags { font-family: 'Roboto'; font-size:0.85em; }
/******************/
/* Header */
/******************/
#simple-pages-breadcrumbs { font-size: 0.85em; }
/******************/
/* Menu principal */
/******************/
.mm-panels { box-shadow: -5px 5px 5px rgb(120 120 120); overflow: hidden; background: url(./images/bg.jpg); }
.mm-panels .mm-title {  } 
.mm-listview { color: #9C4F34; font-size: 1.4em; font-family: 'Oswald';  line-height: normal; margin: 0 !important; padding: 0; top: 10px;  position: relative; } 
.mm-listview a { color: #9C4F34; } 
.mm-listview a:hover { color: 4C9A2A; }
.mm-navbar { height: 60px; padding: 10px 0; }
.mm-menu .mm-navbar a, .mm-menu .mm-navbar>* { color: #9C4F34; font-family: 'Oswald'; }
.mm-menu .mm-navbar a:hover, .mm-menu .mm-listview a:hover { color: #4C9A2A; }
#search-container { bottom: 0; width: 100%; }
.mm-panels > .mm-panel { padding: 0; }
.mm-menu .mm-listview { border-color: #9C4F34; }
.mm-navbar { border-bottom: 2px solid #9C4F34; }
.mm-listview > li:not(.mm-divider)::after { left: 0; }
/***********/
/* Accueil */
/***********/
#home section img { max-width: 360px; height: 100%; border-radius: 3px 5px; box-shadow: #ccc 0 0 5px 1px;}
#home section.supporting-content img { max-width: 200px; max-height: 200px; }
#home #intro, #home #featured { box-sizing: content-box; display: grid; width: auto; text-align: justify; text-indent: 1.2em; padding: auto 21px; line-height: 1.6em; margin: 21px auto; }
#home #intro strong { font-weight: normal; }
body#home section { margin-bottom: 30px; }
body#home .main.featured, body#home .supporting.featured { overflow: hidden; }
body#home .featured-records { background: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRXfxnqq4YL6GgPUh2R4QuypXfk8D0dZZzwqg&s') repeat brown; box-shadow: 0px 0px 4px #000; width: 1000px !important; max-width: 1000px; margin: 0 auto;}
body#home .featured-records .exhibit { display: flex; justify-content: space-evenly; padding-top: 10px; padding-bottom: 10px; }
body#home .featured-records .exhibit .record-meta { background: #ccc;}
body#home .featured-records h3 a { text-align: center; font-size: 2rem; }
body#home .main.featured img { width: 100%; }
body#home .featured .description { display: none; }
body#home .main.featured { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: calc(66.6666666667% - 1rem); margin-left: 0.5rem; margin-right: 0.5rem; }
.supporting.featured {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: calc(33.3333333333% - 1rem);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
img {
	display: inline-block;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
	-ms-interpolation-mode: bicubic;
}
.supporting-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
}
.recent-items .record {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	border-bottom: 1px solid #e6e6e6;
	padding: 1rem 0;
}
.recent-items .image {
	width: 200px;
	min-width: 200px;
	margin-right: 15px;
	align-content: center;
}
.other {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: calc(33.3333333333% - 1.875rem);
	display: flex;
	margin: 20px auto;
	padding-top: 20px;
	justify-content: space-between; 
	min-width: 400px;
}
.other div { text-align: center; }
.recent-items { margin: 0 auto; max-width: 1200px; display: grid; grid-template-columns: 49% 49%; gap: 2%; padding-bottom: 20px; }
.other .total .count {
  font-size: 200%;
  display: block;
}
.featured-records .label, .featured-records #item-filters li, #item-filters .featured-records li, .featured-records .items.advanced-search label, .items.advanced-search .featured-records label, .featured-records #search-filters > ul > li {
  position: absolute;
  top: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
}
.label.secondary, #search-filters > ul > li, .items.advanced-search .label, .items.advanced-search label, #item-filters li.secondary, .items.advanced-search #item-filters li, #item-filters .items.advanced-search li {
  background: #767676;
  color: #fefefe;
}
.label, #search-filters > ul > li, .items.advanced-search label, #item-filters li {
	display: inline-block;
	padding: .33333rem .5rem;
	border-radius: 0;
	font-size: .8rem;
	line-height: 1;
	white-space: nowrap;
	cursor: default;
	background: #1779ba;
	color: #fefefe;
}
section h2 { width: 100%; font-style: italic; font-size: 0.95em; color: black; text-align: center; padding-bottom: 15px; }
section hr { margin-bottom: 5px; }
.supporting-content, .quick-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: center; 
	font-size: 0.9em;
	border-top: 1px solid #000;
}
.mm-title { font-size: 1.7em;  }
#recent-items h2, #home #recent-collection h2, #row4 h2, #row5 h2  { text-align: center; font-family: 'Oswald'; padding: 0; font-size: 2em; padding-bottom: 7px; border-bottom: 3px dashed; height:auto; width: 100%;  }
#home #recent-items h2 { margin-right: 12px; }
#home #logo_rss { display: inline-block; height: 40px;  float: right; } #home #logo_rss img { height: 40px; }
.view-items-link a { font-family: 'Roboto'; font-weight: bold; color:  #fffde7; }
/************/
/*  footer  */
/************/
footer { margin: 0; padding: 0; clear: both;   background: #2C3E50; min-height: 200px; box-shadow: -2px 0px 5px #111; overflow: hidden; }
#footer_grid { display: inline-grid;justify-content: center; align-content: center; grid-template-columns: 300px 1fr 300px; width: 100%; font-size: 0.8em; line-height: 1em; }
footer h4 { display: block;  width: 100%; text-align: center; font-size: 1em; font-family: 'Quintessential'; padding-top: 15px; margin: 0; }
footer #col1, footer #col2, footer #col3 {  display: grid; justify-content: center; align-content: center; text-align: center; }
footer #col2 { margin-top: 10px; }
footer #col2 li { width: 50%; text-align: center; list-style-type: none; display: block; float: right; margin: 8px 0; }
footer img { height: 80px; margin: 10px 20px; }																							   
footer, footer a { color: #D1D1D1; }
footer a:hover { color: #4C9A2A; }
/*************/
/* Vignettes */
/*************/
.browse.collections .record{ width: calc(25% - 10.5px) !important; }
.records { align-items: normal; clear: both; justify-content: center; gap: 20px; }
.records .item, .records .collection, .records .collection img { background: url(./images/bg.jpg); max-width: 280px; height: 280px; border-radius: 5px; /* text-align: center; */ overflow: hidden; display: inline-block; box-shadow: 0 0 4px 4px #ccc; margin: 10px; padding: 0; float: left; }
#home .records .item {width: 360px; max-height: 360px; }
.record .item_img { height: 300px; }
.records .item img { height: 100%; width: 100%; }
.record .item .record, .record h3, .item-meta h3 { font-family: 'Elsie-regular'; margin-bottom: 10px; }
.records h3 {}
.record .hentry h3 .count { font-size: 0.8em; } 
.record .item-meta { position: relative; bottom: 80px; height: 60px; background-color: rgba(76, 154, 42, 0.8);; padding: 10px; font-size: 0.8em; text-transform: none; color: #333; display: grid; /* justify-content: center; flex-direction: column; line-height: 1.5em; */ align-content: center; width: calc(100% - 20px); }
.record .item-meta h3 { /* height: auto; font-weight: bold; text-shadow: 0px 0px 3px #000; color: lightyellow; */ letter-spacing: 0.1em; font-size: 1.1em; margin-bottom: 0; padding-bottom: 0; overflow: hidden; }
.record .item-meta h3 a { color: whitesmoke; text-shadow: 0 0 2px purple; font-family: 'Oswald'; line-height: 27px; }
.record .item-meta span { display: none ; }
/*************/
/* Recherche */
/************
/*********/
/* Items */
/*********/
#UV { min-width: 75%; height: 100%; }
.universal-viewer { height: 100% !important; }
.universal-viewer #content > div, .universal-viewer #content section { overflow: auto; }
.item-metadata { background-color: #333; overflow-y: scroll; overflow-x: hidden; color: whitesmoke; }
.items.show.gallery .item-metadata { border-left: 1px solid #BBB; padding: 0 15px; height: 100%; min-height: 80vh; word-wrap: break-word; font-size: 0.9em; color: white; background-color: #222; margin: 0; width: 25%; overflow-y: scroll; /* .items.show .item-metadata a { color: #26b5cc; } */ } 
.items.show .item-metadata h1, .items.show .item-metadata h2, .items.show .item-metadata h3 { color: white; }
.item-metadata h1 { font-size: 1.1em; text-align:center; }
.item-metadata nav { width: 100%; margin: 0 auto; }
.item-metadata #collection { font-size: 0.6em; }
.chocolat-overlay { background-color: rgba(0,0,0,0.2); opacity: 1; }
#collection.element { /* margin-bottom: 10px; */  }
#titreCollection { text-align:center; }
.items.show #itemfiles-stage { background-color: rgba(0,0,0,0.2); }
/* .records .item-meta { text-transform: none; color: #777; justify-content: center; } */
.items.show #itemfiles-nav { overflow-y: scroll; overflow-x: visible; }
#elementsDublinCore .element-set h2 {display: none; }
#item-output-formats, #dublin-core-language, #dublin-core-coverage, #dublin-core-source {display: none; }
.element-set h3, #item-citation h3, #item-tags h3, #elementsMetadata h3 { display: inline list-item; font-size: 1em; } .element-set h3 ::before { content: " : "; }
.element-set img, #dublin-core-title, #dublin-core-identifier, #dublin-core-format, #dublin-core-relation, #dublin-core-type, #dublin-core-description h3  { display: none; }
.browse-header { padding: 21px; width: 100%; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } 
#sort-links-list li { display: inline-block; border-left: 1px dashed #888; padding: 5px 21px; }
#sort-links-list li a {opacity: 0.8; color: #5a1414; }
body.browse #dublin-core-creator { margin-top: 15px; }
#item-filters {display: none; }
#item-citation { clear: both; width: 100%; }
li#next-item { text-align: right; }
#item-tags .element-text a { display: block; clear: both; float: left; }
body.item-types #type-info {margin: 0 21px; }
body.item-types #type-info h3 {text-align: left; }
body.item-types #type-info .record { display: none; }
#elementsMetadata, #elementsDubliCore, #other-media, #item-citation { margin: 0 5px; }
#documents-textuels-item-type-metadata-original-format h3 {display: none; }
#dublin-core-date .element-text { font-family: 'Roboto'; }
.item-metadata .element-text { clear: both; }
#elementsMetadata .element-set .element h3 { display: none; }
.items.show .flex { height: 100vh; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; position: relative; top: 0; left: 0; right: 0; }
/* .pdfContainer canvas { min-height: 100%; } */
.view-items-link { background: firebrick; color: whitesmoke; border-radius: 5px; padding: 5px 12px; margin: 10px auto; width: 200px; text-align: center; text-indent: 0 !important; font-weight: bold; }
.items.show.gallery .item-metadata { width: 25%; padding: 0; overflow-y: none; margin: 0; background-color: #222; border-left: 1px solid whitesmoke; padding: 0 5px; color: lightyellow; }
/**************/
/* Item-types */
/**************/
body.item-types ul.action-links { display: none; }
body.item-types tr { border-bottom: 1px dashed #9C4F34; }
body.item-types tr.itemtype { height: 70px; border-bottom: 1px dashed #9C4F34; }
body.item-types td.itemtype-description, body th.itemtype-description { border-right: 1px dashed gray; border-left: 1px dashed #9C4F34; padding: 5px 15px; }
body.item-types td.itemtype-total { text-align: center; }
body thead th.itemtype-total { padding: 15px; }
/**************/
/* Collection */
/**************/
#grid_browse_collections {display: flex; flex-wrap: wrap; align-items: normal; }
#grid_browse_collections .collection_browsing {  }
.block { display: block; width: 100%; clear: both; }
#collection-items h2 .records h2, #recent-collection .collection h3 { font-family: 'Caudex'; font-size: 1.21em; text-align: center; height: 65px; padding: 18px 0; }
.collection-meta, #collection-items { justify-content: center; width: 100%; border:none; padding: 0; margin: 0; }
.collection-meta .element-set { display: inline-block; display: inline-block; text-align: justify; padding: 0; margin: 0 auto 0 21px; /* max-width: 100%; max-width: calc( 100% - 500px); */ }
.element-text p { text-indent: 15px; }
#collectiontreetitle { display: none; }
.collection-meta .closed #collection-tree { float: right; width: 400px; }
#collection-tree a { color: #5a1414; }
#conteneur_global { display: grid; }
body.collections #conteneur_collections { grid-template-columns: 1fr 400px; margin-bottom: 21px; }
#conteneur_global h2 { margin-bottom: 15px; }
#collection-tree { column-count: 2;  border-radius: 5px; text-align:center; min-height: 80px; justify-content: center; margin: 0 21px;  }
body.collections #collection-tree { column-count: 1; } 
#collection-tree h3 { text-align: center; display: none; }
#collection-tree ul {list-style-type: none; }
#collection-tree ul { padding: 0 10px; text-align: left; }
#collection-tree ul li { }
#collection-tree ul li ul li { font-size: 0.85em; margin-bottom: 5px; }
#collection-tree ul li ul li:last-child { margin-bottom: 21px; }
#collection-tree ul > li::before { font-family: "Kembang"; content: "w"; color: #a11e1e; font-size: 0.7em; margin-right: 12px; }
#collection-tree ul li ul li::before { font-family: "Kembang"; content: "a"; color: #a11e1e; font-size: 0.7em; margin-right: 12px; }
#bloc_titre { display: none; text-align: center; width: auto; max-width: 99%; }
.collections .collection h2 { display: none; }
#collection-meta h1 {display: none; }
#collection-items h2 { padding: 0; }
.popularity { column-count: 2; }
/*********************/
/*  Menu Patrimoine  */
/*********************/
nav#sousmenu { z-index: 100; }
#mpf-nav, #sub-nav, .secondary-nav { font-size: 1.1em; display: flex; justify-content: left; min-height: 50px; height: 100%; background: url(./images/bg_grey_menu_hover.jpg);  border-radius: 0 0 3px 3px; -moz-box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA; -webkit-box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA;  box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA; margin-bottom: 20px; }
.items #sub-nav, .map #sub-nav, .reference #sub-nav {margin-bottom: 20px; }
#mpf-nav { width: 545px; margin: 0 auto; border-radius: 5px; }
#sub-nav ul, #mpf-nav ul { margin:0; padding:0; list-style-type:none; text-align:center; }
#sub-nav li, #mpf-nav li { float: left; padding: 5px 10px; height: auto; min-width: 80px; text-indent: 10px; text-align: center; padding: 20px 10px 15px 10px; }
#sub-nav li a, #mpf-nav li a { display:block; font-weight: normal; text-decoration:none; height: 100%; padding: 5px 10px 5px 0; height: 40px; overflow: hidden; color: #9C4F34 ; font-family: 'Oswald'; font-size: 1.3em; }
#sub-nav li a:hover { background: none; }
#sub-nav ul li ul, #mpf-nav ul li ul { display:none; margin-top: 0 !important; font-size: 0.7em; top: 69px; }
#sub-nav ul li ul li, #mpf-nav ul li ul li {margin-bottom: 1px !important; text-align:left; text-indent: 5px; background: url(./images/bg_grey_menu_hover.jpg); -moz-box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA; -webkit-box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA;  box-shadow: 6px 4px 6px #AAA,-6px 4px 6px #AAA; }
#sub-nav ul li ul li, #mpf-nav ul li ul li:last-child { border-radius: 0 0 3px 3px; padding: 10px; }
#sub-nav ul li:hover ul, #mpf-nav ul li:hover ul { display:block; }
#sub-nav li:hover ul li, #mpf-nav li:hover ul li { float:none; }
#sub-nav li ul, #mpf-nav li ul { position:absolute; top:50px; }
.navigation li.active, #sub-nav li ul li:hover, .navigation li:hover, .navigation li ul li:hover, .mm-menu .mm-listview > li.mm-selected > a:not(.mm-next), .mm-menu .mm-listview > li.mm-selected > span { background: url(./images/bg_yellow_sature.jpg); }
/**************/
/* References */
/**************/
.pagination li { display: inline-block; }
.pagination form { display: flex; }
}
.hTagcloud { position: relative; clear: both; columns: 2; }
li.popular { box-sizing: border-box; margin: 9px 0; }
.reference-heading { padding: 5px; width: 50px; margin: 20px 0 0 0; background-color: rgba(50,50,10,0.1); font-family: 'Quintessential'; font-size: 1.4em; text-align: center; box-shadow: 2px 2px 5px #666, -2px 2px 6px #666; }
.reference-pagination li.pagination_range  { background-color: rgba(50,50,10,0.1); }
.reference-pagination li.pagination_range:hover { background: url(./images/bg_yellow_sature.jpg); }
.reference-pagination .pagination_list li:first-child {display: none; }
.reference-pagination.pagination { display: block; clear: both; }
.reference-pagination ul.pagination_list { /* display: flex; justify-content: center; */ }
/***************/
/* Geolocation */
/***************/
#search-narrow-by-fields, #search-by-range { display: none; }
#geolocation-browse { margin: 0 auto; min-width: 380px; margin-bottom: 21px; }
#map_browse {width: 100%; height: 75vh;  border: 1px dashed #eee; box-shadow: 0 0 4px 4px #ccc; }
#geolocation-browse #map-links li { padding: 5px 2px; background-color: transparent; background-image: url(./images/find_main.png); margin: 0 0 0 21px; list-style-position: inside; background-repeat: no-repeat; background-size: 40px; text-indent: 40px; min-height: 40px;  }
#map-links h3 { font-size: 1.3em; font-weight: bold; }
#map-links {  margin-bottom: 0 !important; }
#map-links ul { overflow-y: auto; height: 100%; overflow-x: hidden; width: 100%; } 
body.map #search :nth-child(7), body.map #search :nth-child(9), body.map #search :nth-child(10) { display: none; }
/************/
/* Exhibit  */
/************/
.exhibit { width: 100%; background-repeat: no-repeat; background-size: 300px; height: 300px; }
.layout-universal-viewer { height: 600px; }
.browse.exhibits .record  { width: 100%; height: auto;  background-size: auto; max-width: 1600px; margin: 21px auto; background-color: rgba(50,50,50,0.1); border-radius: 10px; }
.exhibit .record-meta img { float: left; width: 300px; margin-right: 15px; max-height: 400px; }
.exhibit .record-meta h2:before { font-family: 'Kembang'; content: '\0078'; color: #F5F5F5; font-size: 0.8em; margin: 0 15px; }
.exhibit .record-meta h2 { display: inline-flex; margin: 0 0 15px 0; background-color: rgba(60,60,60,0.7); color: #F5F5F5; border-radius: 10px; padding: 15px; width: 100%; text-align: left; font-size: 1.6em; }
.browse.exhibits .record h2 a {  color: #F5F5F5; height: 100%; width: 100%; }
.exhibits.summary .summary-header { background: none !important; }
.exhibits.summary .summary-header::before { background: none; }
.exhibits.summary .summary-header h1 { text-shadow: white 0 0 10px;  }
.browse.collections .record-meta:before, .browse.exhibits .record-meta:before { background-color: transparent; }
.exhibit-items img { max-width: 200px; }
ul#page-list { list-style: none; text-indent: 50px; } 
li.page {background: none; }
li.page a::before { background: none; font-family: 'Kembang'; content: '\0078'; font-size: 0.8em; margin: 0 15px; }
/***************/
/*  Mots clés  */
/***************/
.records .hentry h3 { padding: 0; font-size: 1.2em; }
.hentry .item-meta { height: 385px; max-height: 385px; }
/***************/
/* Simple Page */
/***************/
.simple-page .block { flex-direction: column; margin: 15px; float: left; }
.simple-page .item { margin: 0 21px; }
.simple-page #primary h1 {width: 100%; }
.simple-page #primary h2 { margin-top: 40px; border-bottom: 1px #999 dashed; clear: none;}
.simple-page #primary .item-meta  h2 { margin-top: 0; }
.simple-page #primary .item-meta h2 a { margin-top: 0; color: lightyellow; }
.simple-page .records h3 { padding: 5px 15px; max-width: 400px; text-align: center; margin: 0 21px; line-height: 1.2em; }
.simple-page .records .record { height: 300px; float: left; }
.simple-page .records .record p { text-align: center; }
#type-info .record { float: left; margin: 0 15px; margin-bottom: 15px; height: auto; } 
#type-info h3 { text-align: center; font-size: 1.6em; }
.reference #reference-headings { columns: 2; }
.reference-pagination.pagination { display: grid; }
.universal-viewer #content > div .pdfContainer {overflow-x: hidden; overflow-y: auto !important; }
.slick-arrow {display: none !important; }
.browse .records { margin: 21px auto; }
.collection-tree { column-count: 2; }            
/**************/
/* Responsive */
/**************/
@media only screen and (max-width: 1000px) {
	header { grid-template-columns: auto 55px 40px; }
	#site-title { font-size: 2em; line-height: 1.5em; }	
	#site-logo { display: none; }	
	#grille li:last-child, #grille2 div.record:last-child { display: none; }
	footer #col1 { display: flex; grid-template-columns: 200px 1fr; flex-direction: column; text-align: center; }
	#home #featured .record-meta { align-content: center; }
	article#content .flex { display: block; }
	.items.show #itemfiles { width: 100%; }
	#UV {width: 100%; min-width: 100%;}
	.item-metadata  {width: 100%; min-width: 100%;}
	#home #featured .slick-slide .record-meta h3 { border: none; border-radius: 10px; }
	#home #featured .texte-expo-intro {display: none; }
	footer #col2 ul { width: 500px; }
	footer #col2 li { width: 100%; }
	.collection-meta .element-set{ float: none; width: calc(100% - 42px); margin: 21px; } 
	#collection-tree { float: none; width: calc(100% - 42px); margin: 21px; } 
	#conteneur_global { grid-template-columns: 1fr; }
	footer #liens_externes { grid-template-columns: 1fr; }
}
@media only screen and (max-width: 660px) {
	body { font-size: 1.1rem !important; }
	header { grid-template-columns: auto 50px; align-content: first baseline; padding-top: 10px; }
	.exhibits.summary #primary, #exhibit-blocks, #exhibit-pages, .exhibits.show #content > h1 { width: 100%; } .exhibits.show #content > h1 { margin: 10px 0 ;}
	#site-title { font-size: 1.8em; line-height: 1.2em; }	
	#grille , #grille2 { display: grid; grid-template-columns: 1fr; }
	#grille li:nth-last-child(-n+2), #grille2 div.record:nth-last-child( -n+2) { display: none; }
	.search-toggle { display: none; } #search-container.closed, #search-form.closed {display: flex; gap: 15px; border: 0; align-items: center; }
	header { height: 160px; } #search-container { height: auto; display: block; padding: 5px; background: whitesmoke;  }
	#reference-headings { columns: 1;}
	#sub-nav li, #mpf-nav li { width: 50%; text-align: left;  }
	#sub-nav ul li ul, #mpf-nav ul li ul { width: 100%; overflow: hidden;  }
	.arabesque { display: none; }
	#site-title a { font-size: 0.8em; }
    #home .bloc_large .item { width: auto; }
	#footer_grid { display: flex; flex-direction: column; }
	#home .bloc_large .item { width: 100%; }
	#logo_pied { display: flex; justify-content: center; } 
	#conteneur_global { display: block; }
	#collection-tree { margin: 21px; }
	#reference-headings { margin: 0; }
	footer #liens_externes { grid-template-columns: 1fr 1fr 1fr; }
	footer #col2 li { margin: 5px 0; }
	.collection-meta .element-set { max-width: 100%; }
	#sub-nav li { padding: 5px; margin : 0; }
	#sub-nav li a { font-size: 1em; }
	#search-form { padding: 5px 21px; }
	#home #intro { padding: 10px 5px; font-size: 0.8em; line-height: 1.3em; }		
	header {box-shadow:none; padding: 10px 0; align-items: flex-start; }
	#home .records .record { margin: 15px auto; width: auto; max-width: 360px; }
	#content, #primary { width: auto; }
	#conteneur_global .records { display: none; }
}