﻿/* CSS Document */
/* Définition de la variable */
:root {
  --color_dore: #FFD700; /* doré */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    
}


.contenu_banniere {
	background-color:#FFFFFF;
    width: 100%;
    float: left;
	
	height: 100px;
	
	border-bottom: 6px solid var(--color_dore);
	
	box-shadow: 4px 4px 10px #555;
	margin-bottom: 12px;
	
	display: grid;
	align-items: center;
    place-items: center;
	position: fixed;
}

.box_contenu {
	
	margin-top: 100px;
    width: 89%;
    float: left;
	
	min-height: calc(100vh - 320px);*/
	
	font-family: "Playfair Display", serif;
	font-style: normal;
	margin-left:2%;
	margin-right:2%;
	margin-bottom: 8px;
	
	padding: 2%;
	
	
	/*border: 2px solid var(--color_dore);*/
	
	/*border-radius: 10px 10px 10px 10px;*/
	
	/*box-shadow: 6px 6px 12px #555;*/
}

.bloc_contenu_center_colonne
{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

.pied {
    width: 93%;
    float: left;
	display: flex;
    justify-content: space-between;
	align-items: center;
	text-align: center;
	
	min-height: 120px;
	
	margin-left:2%;
	margin-right:2%;
	
	border-top: 2px solid var(--color_dore);
	
	/*border: 2px solid var(--color_dore);*/
	/*border-radius: 10px;
	box-shadow: 6px 6px 12px #555;*/
}

.error{
	text-align: center;
	border:#FF0000 thin solid;
	border-radius: 5px;
	margin: 2%;
	padding: 1%;
}

#p_gauche, #p_droit {
    width: 25%; /* Pour que chaque boîte prenne 25% de la largeur */
}

.p_center {
    width: 50%; /* Pour que la boîte centrale prenne 50% de la largeur */
}


/* Pour la bannière */
.banniere_titre {
    text-align: center; /* Centrer le contenu de la bannière */
}

.banniere_titre h1 {
	font-family: 'Great Vibes', cursive;
	font-style: normal;
    font-size: 3em; /* Taille de police pour les titres */
    margin-bottom: 10px; /* Marge basse pour séparer les titres */
	margin: 0;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.box_contenu h3 {
    font-family: "Playfair Display", serif;
    font-style: normal;
    font-size: 1.8em; /* Taille de police pour les sous-titres */
    margin-top: 0; /* Supprimer la marge supérieure pour les sous-titres */
    margin-bottom: 20px; /* Marge basse pour séparer les sous-titres */
    border-bottom: 2px solid gold; /* Ajouter une ligne dorée sous le titre */
}

#logo
{
	float: left;
}

.img_logo{
	width: 5em;
	height: 5em;
}

#p_image{
 float:left;
 width: 30%;
 margin: 1.3%;
}

#p_image img{
 width: 100%;
 border-radius: 5px;
 box-shadow: 6px 6px 12px #555;
}

#module_presentation{
	float: left;
	width: 100%;
}

.img_pre_in img {
    border-radius: 5px;
    box-shadow: 6px 6px 12px #555;
    width: 16em;
    height: 10em;
    transition: box-shadow 0.3s ease, filter 0.3s ease; /* Ajout de transition pour une animation fluide */
}

.img_pre_in img:hover,
.img_pre_in img:active {
    box-shadow: 3px 3px 6px #555; /* Réduire l'ombre lors du survol ou clic */
	filter: blur(3px);
}

.img_pre_in{
	margin-left:1%;
	margin-right:1%;
}

.img_pre{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

#img_viewer{
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	width:40vw;
}

#menu_page{
	margin-top:1%;
	margin-bottom:1%;
}

#description_img{
	padding: 1%;
}

#image_img img{
	width:100%;
}

#img_menuPageAndViewer{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

.card_contact{
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	width:28vw;
	padding: 2%;
	text-align:center;
}

.center_button {
        display: block;
        margin: 0 auto;
		margin-top: 1%;
    }
	
.form-container {
  display: flex;
  justify-content: center;
 }
 
 .option_box {
 	display: flex;
	width: 100%;
	flex-wrap: wrap;
 }
 
 .option {
 	flex-grow: 1;
 	min-width: 15em;
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	padding: 1%;
	margin: 1%;
	border-radius: 5px;
 }
 
 .table_live {
	width: 100%;
	text-align:center;
	border-collapse: collapse;
 }
 
 .table_live tr{
 	border-bottom:#FF9933 thin solid;
 }
 
 .simple-admin-table {
 	border-collapse: collapse;
	width: 100%;
	text-align:center;
}

.simple-admin-table th, .simple-admin-table {
	border: 1px solid black;
	padding: 8px;
}

.simple-admin-table th {
            background-color: #f2f2f2;
        }

/* CSS du menu hamburger */

/* Styles pour le menu hamburger */
        #menu__toggle {
            opacity: 0; /* Rend l'input checkbox invisible */
        }
        #menu__toggle:checked + .menu__btn > span {
            transform: rotate(45deg); /* Animation de rotation pour la barre du milieu */
        }
        #menu__toggle:checked + .menu__btn > span::before {
            top: 0; /* Animation de translation pour la barre du haut */
            transform: rotate(0deg);
        }
        #menu__toggle:checked + .menu__btn > span::after {
            top: 0; /* Animation de translation pour la barre du bas */
            transform: rotate(90deg);
        }
        #menu__toggle:checked ~ .menu__box {
            left: 0; /* Fait apparaitre le menu lorsque la case est cochée */
        }
        .menu__btn {
            position: fixed;
            top: 3em;
            left: 3em;
            width: 80px;/*26*/
            height: 80px;/*26*/
            cursor: pointer;
            z-index: 1;
        }
        .menu__btn > span,
        .menu__btn > span::before,
        .menu__btn > span::after {
            display: block;
            position: absolute;
            width: 100%;
            height: 6px;
            background-color: #616161; /* Couleur des barres */
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__btn > span::before {
            content: '';
            top: -16px;
        }
        .menu__btn > span::after {
            content: '';
            top: 16px;
        }
        .menu__box {
            display: block;
            position: fixed;
            top: 0;
            left: -100%; /* Cache le menu par défaut */
            width: 20em;
            height: 100%;
            margin: 0;
            padding: 100px 0;
            list-style: none;
            background-color: #ECEFF1; /* Couleur de fond du menu */
            box-shadow: 2px 2px 6px rgba(0, 0, 0, .4); /* Ombre */
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__item {
            display: block;
            padding: 12px 24px;
            color: #333; /* Couleur du texte du menu */
            font-family: 'Roboto', sans-serif;
            font-size: 20px;
            font-weight: 600;
            text-decoration: none;
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__item:hover {
            background-color: #CFD8DC; /* Couleur de fond au survol */
        }

.color-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 1px solid black; /* Ajoute une bordure noire */
            margin-left: 5px;
            margin-right: 5px;
        }
        .green {
            background-color: green;
        }
        .yellow {
            background-color: yellow;
        }

/* fin du css du menu hamburger*/

/* planning.css */

/* Conteneur du planning */
.planning-container {
    margin: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Titre de la page */
.planning-container h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
}

/* Style de la table de planning */
.planning-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* En-tête de la table */
.planning-table thead {
    background-color: #007bff;
    color: white;
}

.planning-table th {
    padding: 10px;
    text-align: left;
    font-weight: bold;
}

/* Corps de la table */
.planning-table tbody {
    background-color: #ffffff;
}

.planning-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Style pour les lignes impaires de la table */
.planning-table tr:nth-child(odd) {
    background-color: #f2f2f2;
}

/* Message lorsqu'il n'y a pas d'événements */
.planning-container p {
    font-size: 16px;
    color: #777;
    text-align: center;
}

.form_table_co {
    width: 100%;
    border-collapse: collapse; /* Pour éviter les espaces entre les cellules */
}

.form_table_co td {
    padding: 8px; /* Espacement entre les éléments */
}

.form_table_co td:first-child {
    text-align: right; /* Aligner les labels à droite */
    width: 40%; /* Ajuster la largeur des labels */
	white-space: nowrap;
}

.form_table_co td:last-child {
    text-align: left; /* Aligner les champs à gauche */
    width: 60%; /* Ajuster la largeur des champs */
}

.form_table_co input[type="text"],
.form_table_co input[type="password"] {
    width: 80%; /* Ajuster la largeur des champs */
}


/* Pour les écrans de taille inférieure ou égale à 800px (par exemple, les téléphones) */
@media only screen and (orientation: portrait){
	.col-client { 
        display: none !important; 
    }

    .banniere_titre h1 {
        font-size: 2em;
    }
    .banniere_titre h3 {
        font-size: 1em;
    }
	
	.contenu_banniere {
		height: 80px;
	}
	
	.pied {
		height: 80px;
	}
	
	#p_gauche, #p_droit {
	display: none;
	}
	
	.p_center {
    width: 100%; /* Pour que la boîte centrale prenne 50% de la largeur */
	}
	
	.img_logo{
	display: none;
	}
	
	/*hamburger*/
	.menu__btn {
			top: 2em;
            left: 1em;
            width: 3.5em;
            height: 3.5em;
        }
        .menu__btn > span,
        .menu__btn > span::before,
        .menu__btn > span::after {
            height: 0.4em;
        }
        .menu__btn > span::before {
            content: '';
            top: -1.0em;
        }
        .menu__btn > span::after {
            content: '';
            top: 1.0em;
        }
		
		.menu__box {
            width: 14em;
		}
	/* fin hambuger*/
	
	.p_img_hidden{
		display: none;
	}
	
	#p_image{
		width: 96%;
 		
	}
	
	.box_contenu {
	
	margin-top: 86px;
	}
	
	.img_pre_in2 img {
	width: 8em;
    height: 5em;
	}
	
	#img_viewer{
		width:90vw;
	}
	
	.card_contact{
	
	width:80vw;
	}
}