body  {
padding: 0 !important;
color :  #404040 !important;
background-image: url("/themes/enc_hjm/asset/img/hjm_fond_manuscrit.png");
background-size: contain;
background-attachment: fixed;
}

a:hover {
text-decoration: none !important;
}

#wrap {
margin-bottom: 100px;
padding: 0 0 10px 0 !important;
min-height: 100vh;
background-color: #ffffff;
}

#content {
padding: 0 7% !important;
}

/* Barre de recherche simple */
#search-container {
display: none;
}

.site-title {
font-size: 40px;
margin-top: 100px;
margin-bottom: 30px;
}

h1 {
margin: 0;
}

/* h2 des titres des pages de contenus : blanc sur fond rouge */
.pagetitle {
display: block;
color: #ffffff;
background-color: #bc052d;
}

/* h3 en dessous des medias dans les pages de contenus */
.attachments h3 {
margin: 0 auto;
}

/* h3 et paragraphes sur la même ligne */
.same-line {
display: inline;
margin: 0;
}

.attachments a {
font-weight: normal !important;
}

/* Enlever la barre grise autour des médias dans les pages de contenus */
.file, .item-showcase, .page .site-page-pagination  {
border: none !important;
}

/* Enlever bouton de connexion */
.header__connect {
display: none !important;
}

.navigation {
margin: 0 !important;
padding: 5px !important;
border: none !important;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}

@media (max-width: 800px) {
.navigation {
    flex-direction: column;
  }
} 


/* Page présentation */

/* Photo HJM dans le C du logo */
#imghjm {
float: left;
vertical-align: middle;
margin: 5%;
max-width: 25%;
height: auto;
}

/* Texte page présentation */
#txthjm {
float: left;
vertical-align: middle;
margin:  5%;
max-width: 90%;
height: auto;
}

/* Centrer les boutons */
.wrapbtn {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}

@media (max-width: 800px) {
.wrapbtn {
    flex-direction: column;
  }
} 

/* Bouton 'commencer l'exposition' */
.expobtn {
display: inline-block;
margin: 15px auto;
padding: 8px;
border-radius: 5px;
font-size: 165%;
text-transform: uppercase;
color: #ffffff;
background-color: #bc052d;
}

/* Boutons vignettes */

.vignette a {
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 120px;
padding: 10px;
margin: 15px;
text-align: center;
background-color: #bc052d;
color: #ffffff;
text-decoration: none;
border-radius: 5px;
}

.vignette a:hover {
font-weight: bold;
}

/* Boutons pages précédente / suivante */
.site-page-pagination {
text-align: center;
margin-top: 0 !important;
}

.site-page-pagination a {
display: inline-block;
padding: 8px;
border-radius: 5px;
text-transform: uppercase;
color: #bc052d;
background-color: #f5efe0;
}

/* Pied de page */
footer {
height: 120px;
bottom: 0px;
left: 0px;
right: 0px;
margin: 10px 0px;
padding : 15px 0px;
text-align: center;
}

/* Logo ENC footer */
footer img {
display: block;
max-width: 300px;
margin: 0 auto;
padding: 15px 0 0 !important;
}

/*Tableau sujets épreuves écrites*/
.tabhjm {
width: 75%;
margin: auto;
padding: 3% 10%;
background-color: #f7f4eb;
border: #d8dada 3px solid;
}

.tabtabhjm h2 {
font-variant: small-caps;
}

.tabtabhjm ul {
list-style: none;
padding: 0;
}

/* "Parcourir les contenus" */

/* Visionneuse */
.item-set #uv-1 {
display: none;
}

.item-set h3  {
display: none;
}

.metadata .property h4  {
display: none;
}

.metadata .property:first-child .values .value {
display: none !important;
}

.metadata .property .values {
width: 100% !important;*
padding: 0;
margin: 0;
}