@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,200;0,400;0,700;1,200;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
    font-family: 'Vollkorn', serif;
}

sup, sub {
    vertical-align: baseline;
    line-height: 0;
    position: relative;
    top: -0.6em;
}

sub { 
    top: 0.4em; 
}

/*
em {
    color: #4d4d4d;
}
*/

ul.navigation a {
    color: darkred;
    border: rgba(240, 128, 128, 0.6) 1px solid;
    padding-top: 0.1em;
    padding-bottom: 0em;
    padding-left: 0.3em;
    padding-right: 0.3em;
    background-color: rgba(240, 248, 255, 0.4);
}

ul.navigation a:hover {
    background-color: rgba(240, 128, 128, 0.1);
}

#item-linked {
    display: none;
}

.site-nav::before {
    background-color: transparent;
}

.blocks {
    max-width: 1200px;
}

/* footer */

.site-footer {
    padding: 0px;
}

footer {
    color: DarkSlateGray;
    font-family: 'inconsolata','PT Sans', sans-serif;
    font-size: 0.6em;
    line-height: 1.2em;
}

footer .wrapper {
    max-width: 100%;
}

footer img.logo {
    height: 60px;
}

footer table,
.item.show footer table {
    width: 100%;
    max-width: 100%;
    height: 100%;
    border: none;
    margin-bottom: 0.1em;
    margin-left: 0em;
    margin-right: 0em;
    margin-top: 0em;
}

footer table tr {
    vertical-align: top;
    background-color: transparent;
}

footer table td:not(:last-child) {
    border: none;
}

footer table td {
    border: none;
    vertical-align: top;
}

dt {
    font-style: italic;
    letter-spacing: 3px;
    margin-left: -1em;
}

footer #col1 {
    width: 380px;
}

#loUPPA {
    margin-right: 1em;
}

footer #col2 {
    max-width: 400px;
}

#omeka {
    position: absolute;
    right: 3em;
    float: right;
}

/* bienvenue */

.page-welcome #content .accueil {
    margin-top: 3em;
    border: lightcoral 8px double;
    border-radius: 24px;
    padding-top: 1.5em;
    padding-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    background-color: rgba(240, 248, 255, 0.4);
}

.page-welcome .block-pageTitle{
    display: none;
}

.page-welcome .blocks {
    max-width: 1200px;
    margin: auto;
}

.page-welcome #content .accueil p {
    color:rgb(0, 77, 102);
    text-indent: 1em;
    font-size: 0.9em;
    line-height: 2.2em;
    font-family: 'Poppins', 'Vollkorn', serif;
    text-align: justify;
}

.page-welcome #content .accueil a {
    color: darkred;
}

.accueil hr {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    border: 1px solid lightcoral;
}

p.real {
    font-style: italic;
    font-size: 0.8em !important;
    line-height: 1.6em !important;
}

.preview-block .resource-list {
    border-top: none;
}

/* items */

.wrapper .media-embeds {
    width: 45%;
    float: left;
    margin-left:10%;
    margin-right: 5%;
}

.wrapper > dl:first-of-type {
    width: 40%;
    margin-left: 60%;
}

.wrapper > h2:first-child {
    margin-bottom: 2em;
    display: none;
}

.wrapper > h2:first-child + h3 {
    display:none;
}

.media-list:not(:last-child), .property:not(:last-child){
    border-bottom: none;
}

.show .property {

    margin-bottom: 0em;
    margin-top: 0em;
}

.show .property dt {
    letter-spacing: 1px;
    font-size: 0.7em;
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
}

.property .value {
    font-family: inconsolata, monospace;
    font-size: 0.9em;
    font-style: normal;
}

.property .value .lang {
    font-size: 0.5em;
}

.show .media-render {
    padding: 2em;
    font-family: 'Vollkorn', serif;
    font-size: 1em;
    line-height: 1.5em;
    color: rgb(0, 77, 102);
    background-color: rgba(240, 248, 255, 0.4);
    border: lightcoral 1px solid;
    border-radius: 24px;
    text-align: justify;
    width: fit-content;
}

.show .media-render h3 {
    color:maroon;
    text-align: left;
    font-style: italic;
    font-weight: 700;
    font-size:1.8em;
    margin-top:0.5em;
    margin-bottom:0.8em;
}
.show .media-render hr {
    margin-bottom: 0.6em;
    margin-top: 0.2em;
    width: 70%;
    margin-left: 2%;
    margin-right: 28%;
    border: rgba(240, 128, 128, 0.4) 1px solid;
}


#cola {
    font-family: Inconsolata, monospace;
    font-size: 0.9em;
    list-style-type:"⇀ ";
    color: dimgray;
    line-height: 1.5em;
    text-align: left;
}

.item .media-list,
.item .item-sets,
.item #resources-linked {
    display: none;
}

#description-en {
    color: dimgray;
    padding-left: 1em;
}

#description-en::before {
    content: 'en';
    color: rgb(255, 239, 239);
    background-color: dimgray;
    font-size: 0.9em;
    border-radius: 6px;
    padding-left: 0.3em;
    padding-right: 0.3em;
    padding-bottom: 0em;
    margin-right: 0.5em;
} 

.item.browse .resource-list .resource {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
}

.item-meta {
    display:flex;
}

.item-meta h4 {
    margin-right: .4em;
}

.item-meta .description::before {
    content: " - ";
}

img.resource-thumbnail {
    display: none;
}

/* Créateurs 2 */

div.shortcode li.resource.item img {
    display: none;
}

div.shortcode li.resource.item div.description {
    display: none;
}

div.shortcode li.resource.item h4 a {
    font-style: italic;
    font-family: 'Noto Sans', sans-serif;
}

.blocks hr {
    width:80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    margin-bottom: 2.5em;
    border: rgba(240, 128, 128, 0.4) 1px solid;
}

/* Index */

.page-index #content ul {
    list-style: none;
    columns: 3;
}

.page-index #content li {
    break-inside: avoid-column;
}

.page-index #content ul a {
    font-variant: small-caps;
    letter-spacing: 1px;
    font-size: 1.1em;
}

.list-of-pages ul ul {
    margin-bottom: 0.5em;
}

.page-index #content li::before {
    content: '⌾ ';
    color:lightcoral;
}

.page-index .block-pageTitle{
    display: none;
}

.page-index .blocks {
    max-width: 1200px;
    margin: auto;
}

.page-index #content {
    background-color: rgba(230, 249, 255, 0.1);
}

.preview-block .resource-list .resource {
    margin-bottom: 0.6em;
    border-bottom: none;
    padding-bottom: 0px;
}
.preview-block .resource-list li.resource::before {
    content: '⌾ ';
    color:lightcoral;
}
.preview-block .resource-list .resource .description {
    color: gray;
}

.preview-block .resource-list .resource h4 {
    padding-left: 0.2em;
}

/* Page rechercher */

#search-page h2>span.title {
    display: none;
}

#search-page #form-search {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#search-page .field-meta {
    text-align: right;
}

legend {
    font-family: poppins, sans-serif;
    letter-spacing: 3px;
    font-size: 1em;
    margin-top: 2em;
    margin-bottom: 1em;
    margin-left: 0px;
}

#search-filters .filter {
    margin-left: 20%;
}

#search-page {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
}

#search-page .search-results-wrapper {
    display: none;
}

#search-page .property h4 {
    letter-spacing: 1px;
    font-size: 0.8em;
    color: gray;
    vertical-align: middle;
    margin-top: 0.5em;
}

#search-page .property .values span.resource-name::before {
    content: "┅ ";
    color:lightcoral;
    font-style: normal;
}

#search-page .property .values span.resource-name {
    width: fit-content;
    break-inside: avoid-column;
    transition: 0.4s;
    font-family: 'Vollkorn', serif;
    font-style: italic;
}

#search-page .property .values {
    font-size: 1.2em;
    vertical-align: top;
    display: list-item;
    columns: 2;
    list-style: none;
    width: auto;
}

.form-search button.search-submit {
    float: left;
    margin-top: 2em;
    margin-bottom: 4em;
    margin-left: 2em;
}

.item-set #search-page .item-set-items h3 {
    display: none;
}

.item-set #search-page h3 {
    display: none;
}

.item-set #search-page #advanced-search-form-wrapper {
    display: none;
}

.item-set #search-page .search-results-wrapper {
    display: none;
}

.resource-link img {
    display: none;
}

div.resource-metadata {
    display: flex;
}

div.resource-metadata div.description::before {
    content: " - ";
    margin-left: 0.1em;
}

ul.resource-list.preview {
    columns: 3;
}

/* Décrire */


div.blocks>h2:first-child {
    display: none;
}

div.hanging-indent {
    margin-left: 1.5em;
    text-indent: -1.5em;
}

span.smallcaps {
    font-variant: small-caps;
}

span.underline {
    text-decoration: underline;
}

.page-texte #title-block-header {
    width:60%;
    margin-left: 4em;
    margin-right: auto;
}

body.page-texte {
    hyphens: auto;
    overflow-wrap: break-word;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}

.page-texte .block-pageTitle {
    display: none;
}

.page-texte p {
    width:70%;
    margin-left: 6em;
    margin-right: auto;
    margin-bottom: 1em;
    text-indent: 2em;
    line-height: 1.6em;
    text-align: justify;
}
.page-texte p:last-of-type {
    margin-bottom: 6em;
}

.page-texte #content {
    background-color: rgba(230, 249, 255, 0.1);
}

.page-texte .blocks {
    max-width: 100%;
}

.page-texte #entete {
    text-align: center;
    font-variant: small-caps;
    width:70%;
    margin-left: 6em;
    margin-right: auto;
    hyphens: none;
}

.page-texte #title {
    color:#006ba3;
    font-size: 2em;
    margin-top: 0em;
    margin-bottom:0.7em;

}
.page-texte .auteur {
    text-align: center;

    font-style: italic;
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-bottom:1em;
}

.page-texte #date {
    font-size: 0.9em;
}



#TOC {
    width:60%;
    margin-left: 6em;
    margin-right: auto;
    margin-bottom: 5em;
    margin-top: 1.5em;
    font-style: italic;
}

#toc-title {
    color: black;
    font-variant: small-caps;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    margin-left: -1em;
    margin-bottom: 1em;
    font-size: 1em;
    letter-spacing: 2px;
    font-family: Poppins, sans-serif;
}

#TOC li {
    list-style: "⇀ ";
    margin-bottom: 0.4em;
}

#TOC a:not(:hover) {
    text-decoration: none;
}

.page-texte h2 {
    color: #006ba3;
    font-style: italic;
    font-weight: 700;
    width: 75%;
    text-align: left;
    margin-bottom: 1.5em;
    margin-top: 2em;
    margin-left: 2.5em;
    letter-spacing: 1px;
    font-size: 1.6em;
    font-family: 'Vollkorn', serif;
    hyphens: none;
}

.page-texte div.footnotes.footnotes-end-of-document {
    position:fixed;
    top:45%;
    right:0px;
    width: 25%;
    padding-top: 8em;
    padding-right: 1em;
    overflow-y: auto;
    max-height: 45%;
    scrollbar-width: thin;
    padding-bottom: 6em;
    margin-bottom: 110px;
}

.page-texte div.footnotes-end-of-document p {
    width: 100%;
    margin-left: 0px;
    text-indent:0em;
    text-align: left;
    font-size: 0.8em;
    margin-bottom: 0.2em;
    color: dimgray;
}

.page-texte div.footnotes-end-of-document>hr {
    margin-bottom: 0.5em;
}

li[role=doc-endnote]:target {
    color: dimgray;
    margin-top: 0.4em;
    margin-bottom: 1em;
    border-top: 2px solid dimgray;
    border-bottom: 2px solid dimgray;
    transition: 0.4s;
}
li[role=doc-endnote]:target p {
    color: black;
    font-size: 0.9em;
    line-height: 1.3em;
    padding-top: 0.5em;
    font-weight: 200;
}
li[role=doc-endnote]::marker {
    color:dimgray;
    font-size: 0.8em;
}

.fiches {
    width:52%;
    display: block;
    columns: 2 auto;
    column-gap: 5%;  
    margin-left: 10em;
    margin-right: auto;
    margin-top: 1.5em;
    margin-bottom: 2.5em;
}

.ffiche {
    vertical-align: top;
}

.ffiche .file {
    margin-top: 0px;
}

.ffiche .attachments  {
    columns: 1;
}

.ffiche .attachments h2#creator {
    width: 100%;
    margin-top: 0.5em;
    margin-left: 0em;
    font-style: normal;
    font-weight: normal;
}

.ffiche .attachments p {
    width:100%;
    margin-left: 0em;
    text-indent: 0em;
    line-height: 1.4em;
}

/* index des mots-clés */

.page-mots_cles .block-pageTitle {
    display: none;
}

.page-mots_cles em {
    color: dimgray;
}

table#tags {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

table#tags,
table#tags tr,
table#tags td {
    border: none;
    background-color: transparent;
}

table#tags tr {
    vertical-align: top;
}

table#tags li {
    list-style: none;
    margin-bottom: 0.5em;
}

table#tags li {
    border: lightcoral 2px solid;
    border-radius: 12px;
    padding-top: 0.2em;
    padding-bottom: 0em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    width: fit-content;
    background-color: rgba(240, 248, 255, 0.4);
}

table#tags li:hover {
    background-color: rgba(240, 128, 128, 0.1);
}
table#tags li a:hover {
    text-decoration: none;
}

table#tags h4 {
    font-family: 'inconsolata', monospace;
    letter-spacing: 2px;
    font-size: 1.2em;
}

/* Gallerie */

.page-layout-normal .block-layout-alignment-block-right, 
.page-layout-normal .block-layout-alignment-block-left {
    max-width: 100%;
}

.media-embed.layout-vertical:not(.attachment-count-1) {
    display: block;
}

.file {
    border-top: 0px;
    border-bottom: 0px;
}

.page-gallerie .block-pageTitle {
    display: none;
}

.page-gallerie .blocks {
    max-width: 100%;
}

.left {
    max-width: 100%;
}

.multiple-attachments {
    display: block;
    columns: 3 auto;
    column-gap: 0px;
    break-inside: avoid-column;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items:baseline;
}

.block-media .item.resource {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.multiple-attachments .item.resource,
.block-media .item.resource {
    display: inline-block;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    margin: 0.4em;
    color: rgb(0, 77, 102);
    border: lightcoral 1px solid;
    border-radius: 12px;
    background-color: rgba(240, 248, 255, 0.4);
}

.multiple-attachments .item.resource h2#creator,
.block-media .item.resource h2#creator {
    font-size: 0.7em;
    text-align: left;
    margin-bottom: 0px;
    
}

.multiple-attachments .item.resource hr,
.block-media .item.resource hr {
    margin-top: 0.2em;
    margin-bottom: 0.4em;
    border: rgba(240, 128, 128, 0.4) 1px solid;
    width:80%;
    margin-left: 0.4em;
}

.multiple-attachments .item.resource>h3,
.block-media .item.resource>h3 {
    text-align: center;
    margin-top: 0.4em;
}

.multiple-attachments .item.resource>h3 a,
.block-media .item.resource>h3 a {
    border: lightcoral 1px solid;
    border-radius: 12px;
    padding-top: 0.2em;
    padding-bottom: 0.1em;
    padding-left: 0.6em;
    padding-right: 0.6em;
    width: fit-content;
    font-size: 0.7em;
    font-style: italic;
    color: #006ba3;
}

.multiple-attachments .item.resource>h3 a:hover,
.block-media .item.resource>h3 a:hover {
    text-decoration: none;
    background-color: rgba(240, 128, 128, 0.2);
}

.multiple-attachments .item.resource h3#title,
.block-media .item.resource h3#title {
    
    font-family: Vollkorn, sans-serif;
    font-style: italic;
    color: maroon;
    text-align: left;
    font-size: 1.2em;
    margin-top: 0.2em;
    margin-bottom: 0px;
}

.multiple-attachments .item.resource #cola,
.block-media .item.resource #cola {
    font-size: 0.7em;
    margin-bottom: 0px;
}

.multiple-attachments .item.resource #description-fr,
.multiple-attachments .item.resource #description-en,
.multiple-attachments .item.resource #abstract,
.multiple-attachments .item.resource #relation,
.block-media .item.resource #description-fr,
.block-media .item.resource #description-en,
.block-media .item.resource #abstract,
.block-media .item.resource #relation {
    /*font-family: Poppins, sans-serif;*/
    font-size: 0.7em;
    margin-bottom: 0px;
    text-align: justify;
}

.metadata .property dt {
    font-style: normal;
}

.item-set-items {
    display: none;
}

dl.site-pages {
    border-top: none !important;
}

.statistics-stat {
    display: none;
}