@charset "UTF-8";
/* CSS Document */

body {
	margin: 0px;
	overflow-y:scroll;
}

div#top {
    /* background-image: url(images/design_02.jpg); */
    background-color: #242629;
    width: 100%;
    height: 60px;
    position: fixed;  /* Fixe le menu en haut de la page */
    top: 0;           /* Positionne le menu tout en haut */
    left: 0;          /* Assure que le menu commence à gauche */
    z-index: 1000;    /* Assure que le menu reste au-dessus des autres éléments */
}

div#top_left_menu {
	width:70%;
	height:60px;
	float:left;
	margin-left:10%;
}

.top_menuBtn {
	background-color:#242629;
	border:none;
	height:60px;
	color:#bdbdbd;
}

.top_menuBtn_clicked{
	background-color:#bdbdbd;
	border:none;
	height:60px;
	color:#242629;
}

div#top_right_social_links {
	width:10%;
	height:60px;
	float:left;
	
	text-align:right;
	margin-right:10%;
	padding-top:18px;
}

div#header {
    background-image: url(images/_design2k25/header.jpg);
    background-color: #00bef1;
    width: 100%;
    /*height: 380px;*/
	padding-top: 60px; /* Assurez-vous que le padding est égal à la hauteur du menu */
	
    text-align: center;
    border-bottom: 5px solid #a1e25e;
    background-size: cover;
    position: relative; /* Nécessaire pour le positionnement */
}

div#header img {
    max-width: 100%;
    height: auto; /* Assure que l'image s'ajuste proportionnellement */
    position: relative; /* Pour un bon positionnement */
}

div#page {
	/*background-image:url(images/design_03.jpg);*/
	width:80%;
	padding-left:10%;
	padding-right:10%;
	height:auto;
}

div#copyright {
	/*background-image:url(images/design_04.jpg);*/
	background-color:#242629;
	width:80%;
	padding-left:10%;
	padding-right:10%;
	padding-top:15px;
	padding-bottom:15px;
	/*height:30px;*/
}

#miniature{
	border-color:#0099CC;
	border-width:thin;
}

#miniature:hover{
	border-color:#990000;
	border-width:thin;
}

/* Style css des textes */
div#page_text {
	color:#00254a;
	font-family:Open Sans, Arial, sans-serif;
	font-size:17px;
	text-decoration:none;
	padding-left:10px;
	padding-right:10px;
	padding-top:8px;
	padding-bottom:8px;
	text-align: justify;
	margin-right: 5px;
	margin-left: 5px;
}

div#page_text a{
	color:#00a3cf;
	font-family:Open Sans, Arial, sans-serif;
	font-size:17px;
	text-decoration: none;
}

div#page_text a:hover{
	color:#00a3cf;
	font-family:Open Sans, Arial, sans-serif;
	font-size:17px;
	text-decoration:none;
	font-weight: bold;
}

div#copyright_text {
	color:#bdbdbd;
	font-family:Open Sans, Arial, sans-serif;
	font-size:14px;
	font-style:italic;
	text-decoration:none;
	
	text-align:right;
	padding-right:10px;
	padding-left:10px;
	padding-top:1px;
}
div#copyright_text a{
	color:#bdbdbd;
	font-family:Open Sans, Arial, sans-serif;
	font-size:14px;
	text-decoration:underline;
	font-style:italic;
}
div#copyright_text a:hover{
	color:#b8d6f8;
	font-family:Open Sans, Arial, sans-serif;
	font-size:14px;
	text-decoration:underline;
	font-style:italic;
}
.titre1 {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 20px;
	font-weight: bold;
	color: #00bef1;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #00bef1;
	border-right-color: #00bef1;
	border-bottom-color: #00bef1;
	border-left-color: #00bef1;
}
.titre2 {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #00bef1;
}
.titre3 {
	font-style:italic;
	color:#00a3cf;
}
.legende {
	font-family:Open Sans, Arial, sans-serif;
	size:16px;
	color:#00a3cf;
	font-style: italic;
}

/* Style du panneau admin */
.titre_admin {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #ffffff;
	padding-left:15px;
	padding-top:6px;
	float:left;
}
.titre_admin2 {
	padding-right:15px;
	padding-top:6px;
	float:right;
	width:200px;
	text-align:right;
}
.titre_admin2 a {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 12px;
	color: #ffffff;
	text-decoration:none;
}
.titre_admin2 a:hover {
	font-family: Open Sans, Arial, sans-serif;
	font-size: 12px;
	color: #ffffff;
	text-decoration:none;
	font-weight:bold;
}

.icone_admin{
    list-style-type:none;
	margin-left:-40px;
}
.icone_admin li{
    width:128px;
	margin-right:5px;
    text-align:center;
	float:left;
}
.icone_admin li a{
    display:block;
    color:#000000;
}
.icone_admin li a:hover{
    background-color:#AEBFCF;
}

/* Styles supplémentaires */
#scrollfirefox {
position: absolute;
bottom: -0.1px;
visibility: hidden;
}

#compteur {
	color:#990000;
	font-weight: bold;
	text-align: right;
	float:right;
	width:100%;
	height:20px;
}

table.news_table{
	width:98.5%;
	margin-left:10px;
	border-collapse: collapse; /* Évite les espaces entre les cellules */
}

td.news_titre{
	background-color:#00bef1;
	border: 1px solid #00bef1;
	font-weight: bold;
	color: #FFFFFF;

	padding-left: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.4;
}

td.news_texte{
	border-left:solid 1px #CCCCCC;
	border-right: solid 1px #CCCCCC;
	padding-left:6px;
	padding-right:6px;
	text-align:justify;
	background-color: #fdfdfd;
}

td.news_date{
	background-color: #fdfdfd;
	font-size: 13px;
	font-style: italic;
	font-weight: bold;
	text-align: right;
	border-left:solid 1px #CCCCCC;
	border-right: solid 1px #CCCCCC;
	border-bottom: solid 1px #CCCCCC;
	padding-right:6px;
}

#admin_news {
	border:1px solid #4973a5;
	padding:2px;

}
#linePair{
	background-color:#e3e4e6;
	font-size: 11px;
	font-style: normal;
	color: #000000;	
}

#lineImpair{
	background-color: #aebfcf;
	font-size: 11px;
	font-style: normal;
	color: #000000;
}
#lineDisable{
	background-color: #de8b8b;
	font-size: 11px;
	font-style: normal;
	color: #000000;
}
input.submit {
    width: 7em;
}
td.admin {
	padding:10px;
}

td.commentaire_titre
{
	background-color:#00bef1;
	border: 1px solid #00bef1;
	font-weight: bold;
	color: #FFFFFF;
}

td.commentaire_texte
{
	border-bottom: solid 1px #CCCCCC;
	border-left: solid 1px #CCCCCC;
	border-right: solid 1px #CCCCCC;
	background-color: #fdfdfd;
}

#numPageCourante{
	font-size:18px;
	font-weight: normal;
	text-decoration: underline;
	color: #00bef1;
}

.erreur{
	font-size:11px;
	color:#990000;
	font-weight: bold;
}

.imageAleatoire{
	border: solid 1px #CCCCCC;
	text-align:center;
}

/* Styles des tables des résultats */
table.results {
	border:0px solid #000;
}
td.titre_results {
	border-bottom:3px solid #bdbdbd;
	font-size:12px;
	font-weight:bold;
	padding:0 8px 0 8px;
}
td.results {
	border-top:1px solid #bdbdbd;
	padding:0 8px 0 8px;
}
.results_annee {
	color:#FF0000;
	font-weight:bold;
}

/*********** BOOK page accueil ***********/
/* Conteneur principal */
.book-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 10px;
    gap: 20px;
    box-sizing: border-box;
}

/* Chaque livre (bloc) */
.book {
    flex-grow: 1;
    flex-basis: calc(15% - 12px);
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
	font-weight: bold; /* Applique le gras à tout le texte dans le bloc */
}

/* Supprime la décoration du lien et change la couleur au survol */
.book:hover {
    background-color: #f0f0f0; /* Change la couleur d'arrière-plan au survol */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15); /* Accentue l'ombre au survol */
}

/* Image ajustée pour chaque livre */
.book img {
    max-width: 100%;
    height: auto;
}

/* Ajustement des paragraphes */
.book p {
    margin: 10px 0;
}

/* Réserver un espace fixe pour le message promotionnel */
.book-promo-message {
    min-height: 10px;
    color: #e10909; /* Couleur rouge pour le message */
    font-weight: bold; /* Garder le texte en gras pour le message */
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-titre {
    min-height: 30px;
	font-size:13px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*****************************************************************/
/*****************************************************************/
/**************** SECTION TABLETTE ET MOBILE *********************/
/*****************************************************************/
/*****************************************************************/

/* LIVRES ACCUEIL */
/* Tablettes (mode portrait) : 3 livres par ligne */
@media screen and (max-width: 1440px) {
    .book {
        flex-basis: calc(30% - 12px);
    }
}

/* Tablettes (mode portrait) : 2 livres par ligne */
@media screen and (max-width: 1024px) {
    .book {
        flex-basis: calc(45% - 10px);
    }
}

/* Smartphones : 1 livre par ligne */
@media screen and (max-width: 680px) {
    .book {
        flex-basis: 100%;
    }
}

/* GLOBAL */
/* Augmenter taille générale sur mobile */
@media screen and (max-width: 1024px) and (orientation: portrait) {
    html {
        font-size: 150%; /* ou 120%, selon l’effet souhaité */
    }

	div#top {
    	height: 69px;
	}
}

