/**
* CSS
* 
* @version 2.0
* @author Vaska 
*
* There are also some obscure rules in base.css
*/

body {
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, Helvetica, Verdana, sans-serif;
    background: #fff;
    color: #666666;
    line-height: 1.4em;
    /* font-weight: 300; */
}

/* link scheme */
/* you can customize links further down the page too */
a:link { text-decoration: none; color: #000; }
a:visited { text-decoration: none; color: #888888; }
a:hover { text-decoration: underline; }
a:active { text-decoration: none; color: #00cc00; }
a img { border: none; }
audio:focus { outline: none; }

/* general styles */
small { font-size: 9px; }
code { font-family: monospace; }
blockquote { padding-left: 9px; }

/* headings */
h1 { font-size: 16px; margin-bottom: 1em; font-weight: bold; }
h2 { font-size: 16px; margin-bottom: 1em; font-weight: bold; }
h3 { font-size: 16px; margin-bottom: 1em; }
h4 { font-size: 16px; margin-bottom: 1em; }

/* paragraph width */
#index p { margin-bottom: 1em; }
#exhibit p, code, blockquote { width: 600px; margin-bottom: 1em; /* line-height: 1.3em; */ }

/* highlighter style - maybe you want to change colors? */
.highlight { background: #ccff00; color: #000; }

/* never adjust the margin or padding here unless you seriously know what you are doing */
/* think #index .container and #exhibit .container for only padding adjustments */
#index { width: 215px; background: #fff; /* line-height: 1.3em; */ }
#exhibit { margin: 0 0 0 215px; }

/* styling the index */
#index ul { list-style: none; margin: 0; }
#index ul.section { margin-bottom: 1em; }
#index ul.subsection {  }

/* the follow rules for index are not required */
/* they are mostly for complex customization */
/* for tag display */
#index ul#all_tags { list-style-type: none; margin-bottom: 1em; }
#index ul#all_tags li { display: inline; margin-right: 3px; }
#index ul#all_tags li a {  }

/* styles for the section titles */
#index ul.section span.section_title, 
#index ul.section span.section_title a 
{ color: black; }

/* active section title */
#index span.active_section_title,
#index span.active_section_title a { font-weight: bold; }

/* active exhibit title parts */
/* color of active exhibit title link and font-weight */
li.active a:link, li a.active, li.active a:hover, li a.active, li.active a:active, li a.active, 
li.active a:visited, li a.active, li span.active, #index ul.section li.active a:link, 
#index ul.section li.active a:hover, #index ul.section li.active a:active, #index ul.section li.active a:visited
{ font-weight: normal; color: #00f; }

/* additional #index options */
#index ul li .password a { /* background: url(../img/locked.gif) right center no-repeat; padding-right: 18px; */ }

/* the "new" indicator */
#index ul li sup.new_exhibit { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; }
#index ul li sup.new_exhibit:before { color: #0c0; font-weight: bold; text-transform: uppercase; font-size: 8px; vertical-align: top; content: "New"; }
/* end styling for index */

/* links styles only for the #index region */
#index a:link {  } 
#index a:visited {  }
#index a:hover {  } 
#index a:active {  } 

/* links styles only for the #exhibit region */
#exhibit a:link { text-decoration: underline; }
#exhibit a:visited {  }
#exhibit a:hover { text-decoration: none; } 
#exhibit a:active {  } 

/* links styles just for h1 title of site (your name/logo) */
#index h1 a { font-weight: normal; text-decoration: none; color: #000; }

/* this is where you adjust your paddings for #index and #exhibit together */
.container { padding: 27px 9px 25px 27px; }

/* this is where you pad them separately */
#index .container {  }
#exhibit .container {  }

/* size and style of titles and captions (not mobile though) */
.captioning { margin-top: 2px; }
.title { font-size: 0.7em; font-style: italic; line-height: 1.2em; }
.caption { font-size: 0.7em; font-style: italic; line-height: 1.2em; }
#index h1 a {
    font-size: 32px;  /* Taille du titre */
    color: #000000;   /* Couleur noire */
}
/* Modifier la couleur de fond du body et du container */
body {
    background: #f9f9f9; /* Fond légèrement gris */
    color: #000; /* Couleur du texte noire */
}

.container {
    background: #fff; /* Fond blanc pour les containers */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Légère ombre pour les délimiter */
}

/* Améliorer les titres (h1, h2, h3, h4) */
h1 { 
    font-size: 36px; 
    color: #000000; /* Noir pour le titre principal */
    margin-bottom: 0.5em; 
    font-weight: bold;
}

h2 { 
    font-size: 28px; 
    color: #333333; /* Un gris foncé pour les sous-titres */
    margin-bottom: 0.75em; 
    font-weight: bold;
}

h3 { 
    font-size: 24px; 
    color: #555555; /* Un gris plus clair pour les titres de niveau 3 */
    margin-bottom: 1em;
}

h4 { 
    font-size: 20px; 
    color: #777777; /* Un gris encore plus clair pour les titres de niveau 4 */
    margin-bottom: 1.25em;
}

/* Styler les liens dans les sections index et exhibit */
#index a:link, #index a:visited {
    text-decoration: none; 
    color: #000;
}

#index a:hover {
    text-decoration: underline; 
    color: #00cc00; /* Vert au survol */
}

#exhibit a:link, #exhibit a:visited {
    text-decoration: underline;
    color: #000;
}

#exhibit a:hover {
    text-decoration: none; 
    color: #FF5733; /* Rouge-orangé au survol */
}

/* Ajouter des styles pour les images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Améliorer les paragraphes et le texte */
p {
    margin-bottom: 1.5em;
    line-height: 1.6em;
}

#exhibit p, code, blockquote {
    width: 80%; 
    margin: 0 auto 1.5em auto;
    line-height: 1.4em;
}

/* Améliorer la navigation */
#index ul.section {
    margin-bottom: 2em;
    padding-left: 0;
}

#index ul.section li {
    margin-bottom: 0.5em;
}

#index ul.section li a {
    font-size: 18px;
    color: #000;
}

/* Ajouter des styles pour les boutons */
button, .button {
    background-color: #FF5733; /* Couleur de fond rouge-orangé */
    color: #fff; /* Texte blanc */
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover, .button:hover {
    background-color: #C70039; /* Une teinte plus sombre au survol */
}

/* Ajouter des styles pour les légendes et les titres des images */
.captioning {
    margin-top: 2px;
    text-align: center;
    font-size: 0.8em;
    color: #
}

.title {
    font-size: 0.9em;
    font-style: italic;
    line-height: 1.2em;
    text-align: center;
    color: #333333;
}

h1 a {
    display: inline-block;
    line-height: 1.1; /* Ajuste la valeur pour obtenir l'espacement souhaité */
}

#exhibit .container img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

.homepage-header {
    width: 100%;
    overflow: hidden;
    text-align: center; /* Centre tout le contenu du conteneur */
}

.homepage-header .homepage-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.homepage-header h1, .homepage-header p {
    text-align: center; /* Centre spécifiquement les éléments textuels */
    margin: 10px auto; /* Ajoute des marges pour espacer les éléments */
}

#menu ul {
    list-style-type: none;
    padding: 0;
}

#menu li {
    display: inline;
    margin-right: 15px;
}

.menu-item {
    text-decoration: none;
    color: #888; /* Couleur des éléments inactifs */
    font-weight: normal;
    opacity: 0.5; /* Ajoute de la transparence aux éléments inactifs */
    font-size: 10px; /* Ajuste la taille de la police ici */
    transition: color 0.3s, font-weight 0.3s, opacity 0.3s;
}

.menu-item.active {
    color: #000FF; /* Couleur de l'élément actif en bleu */
    font-weight: bold;
    opacity: 1; /* Rétablit l'opacité de l'élément actif */
    font-size: 14px; /* Ajuste la taille de la police ici pour l'élément actif */
}

/* Styles spécifiques à l'exhibit bio */
.bio-exhibit .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    width: 100%;
}

.bio-exhibit .cadre {
    padding: 20px;
    text-align: justify;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
}

.bio-exhibit ul {
    list-style-type: disc;
    padding-left: 20px;
}

.bio-exhibit .cadre p {
    max-width: 600px !important;
    margin: 0 auto !important;
    text-align: justify !important;
}