body {
	margin: 0;
	width: 100%;
}

.main-index {
	width: 100%;
	margin-top: 140px;
	margin-bottom: 40px;
	font-family: 'Helvetica', sans-serif;
    color: black;
    padding: 10px 0;
	flex:1;
}

.main-index-titre {
	width: 80%;
	margin: auto;
}

.main-index-tableau {
	width: 80%;
	margin: auto;
	vertical-align: middle;
	text-align: center;
}
.main-index-tableau tr {
	height: 300px;
}

.main-index-tableau img {
	width: 80%; 
	margin: auto;
	border-top-right-radius: 20%;
}
.main-index-tableau img:hover {
	width: 75%; 
	margin: auto;
}

.main-login {
	width: 100%;
	margin-top: 60px;
	margin-bottom: 40px;
	background-image: url('../image/fondLog.png');
	background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	padding-top: 200px;
	flex: 1;
	min-height: 70vh;
}


/* Styles pour la barre de navigation */
.main-nav {
	width: 100%;
	margin-top: 100px;
	font-family: 'Helvetica', sans serif;
	font-size: 24px;
    background-color: #DDDDDD;
    color: #ffffff;
    padding: 10px 0;
}

.main-nav .container {
    display: flex;
    /* justify-content: center; */
}

.main-nav a{
	text-decoration: none;
	color: black;
	text-align: left;
	padding-left: 10px;
	padding-right: 10px;
}

.main-nav ul {
    list-style: none;
    display: flex;
	gap: 20px;
	/* width: 100%; */
    /* justify-content: space-between; */
    margin: 0;
    padding: 0;
	color: black;
	text-align: left;
}

.main-nav ul li {
    /* margin-right: 0px; */
	text-decoration: none;
	color: black;
	text-align: left;
	
}

.main-nav-actif {
	border-bottom: solid black 3px;
}


.agendaIndex {
	width: 100%;
	display: flex;
	margin-bottom: 20px;
	font-family: 'Helvetica', sans-serif;
}

.agendaIndex h1 {
	font-size: 3vh;
}

.agendaLeft{
	width: 25%;
	margin-left:0;
}
.agendaCalendrier {
	flex: 1;
	margin-left: 10px;
	margin-right: 10px;
	display: block;
}

.agendaCalendrier table {
	border-collapse: collapse;
}

.agendaCalendrier th {
	border: solid black 1px;
	background-color: #183B50;
	color: white;
	font-weight: bold;
}

.agendaCalendrier td {
	border: solid black 1px;
	height: 10vh;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}
.agendaCalendrier td:hover {
	background-color: #C9E1EF;
}

.agendaBateau {
	width: 98%;
	margin: auto;
}

.agendaBateauHeader table {
	border-collapse: collapse;
}

.agendaBateauHeader th {
	border: solid black 1px;
	background-color: #183B50;
	color: white;
	font-weight: bold;
}

.agendaBateauMain {
	height: 52vh;
	margin-bottom: 30px;
	overflow: hidden;
	overflow-y: auto;
}

.agendaBateauMain table {
	border-collapse: collapse;
}

.agendaBateauMain td {
	border-left: solid black 1px;
	border-right: solid black 1px;
	cursor: pointer;
}
.agendaBateauMain tr:hover {
	background-color: #C9E1EF;
}

.agendaFonction {
	width: 17%;
}

.agendaTitre {
	width: 90%;
	margin: auto;
	text-align: center;
	display: flex;
	height: 64px;
}

.agendaIndex a {
	margin-right: 10px;
	padding: 10px;
    background-color: white; /* couleur du fond du bouton, à adapter selon tes besoins */
    font-family: 'Helvetica', sans serif;
	color: black;
    border-radius: 8px;
	border: 1px solid #183B50;
	text-decoration: none;
}
.agendaIndex a:hover {
	background-color: #183B50;
	color: #ffffff;
}

.changeUnJour {
	display: flex;
	justify-content: space-between; /* Ajoute de l'espace entre les liens */
	align-items: center; /* Centre verticalement les éléments */
}

.agendaJour {
	width: 90%;
	margin: auto;
	display: flex;
	align-items: center; /* Centre verticalement */
	text-align: left;
}

.agendaChoixDate {
	width: 15%;
	display: flex;
	align-items: center; /* Aligne verticalement l'input et le bouton */
	justify-content: space-between; /* Espacement horizontal entre l'input et le bouton */
}

.agendaTable {
	width: 99%;
	margin: auto;
	font-family: 'Helvetica', sans-serif;
	border-collapse: collapse;
}

.agendaTable thead{
	background-color: #183B50;
	color: white;
	/* height: 30px; */
	display: table;
    width: 100%;
	table-layout: fixed;
}

.agendaTable tbody tr {
    display: table;
    width: 100%;
}

.agendaTable th {
	padding: 10px;
}

.agendaTable tr {
	height: 22px;
}

.cellFull {
    display: block;
	border-radius: 4px;
	z-index: 10;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: default;
}

.heurepleine {
	border-top: solid black 1px;
}

.heureautre {
	border-top: dotted gray 1px;
}

.defile {
	height: 65vh;
	overflow-y: auto;
	width: 100%;
	display: block;
}

.col-small {
    width: 5%; 
}

.agendaCalRight {
	width: 90%;
	margin: auto;
	font-family: 'Helvetica', sans-serif;
	text-align: center;
}

.agendaCalRight thead {
	
}

.agendaCalRight thead, tbody tr {
    display: table;
    width: 100%;
	table-layout: fixed;
}

.agendaCalRight td{
	cursor: pointer;
}

.activeDay {
	background-color: lightgreen;
}

.notSameMonth {
	background-color:  lightgray;
}
.agendaRightTitre {
	width: 100%;
	margin: auto;
	text-align: center;
	display: flex;
}

.agendaRightTitreChange {
	display: flex;
	justify-content: space-between; /* Ajoute de l'espace entre les liens */
	align-items: center; /* Centre verticalement les éléments */
}

.agendaRightTitreMois {
	display: flex;
	flex: 1;
	justify-content: center; /* Centre le contenu de .agendaJour */
	align-items: center; /* Centre verticalement */
}

.cell {
    position: relative; 
	cursor: pointer;
}

/* popup */

.popup {
    display: none;
    position: fixed;
	z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content,
.popup-content-thin,
.popup-content-narrow,
.popup-content-mid,
.popup-content-wide,
.popup-content-verywide,
.popup-content-trait {
    position: absolute;
    top: 50%;
    left: 50%;
	font-family: 'Helvetica', sans-serif;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
	max-height: 80%;
	overflow-y: auto;
}

.popup-content { width: 60%; max-height: 80%; }
.popup-content-thin { width: 20%; max-height: 80%; }
.popup-content-narrow { width: 40%; max-height: 80%; }
.popup-content-mid { width: 50%; max-height: 80%; }
.popup-content-wide { width: 80%; max-height: 80%; }
.popup-content-verywide { width: 90%; height: 90%; }
.popup-content-trait { width: 90%; min-height: 40%; max-height: 80%; }

.popup-content-narrow p,
.popup-content p,
.popup-content-thin p,
.popup-content-narrow p,
.popup-content-mid p,
.popup-content-wide p,
.popup-content-verywide p,
.popup-content-trait p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content-narrow h3,
.popup-content h3,
.popup-content-thin h3,
.popup-content-narrow h3,
.popup-content-mid h3,
.popup-content-wide h3,
.popup-content-verywide h3,
.popup-content-trait h3 {
	margin: 10px;
	flex: 1;
	padding: 10px;
	background-color: #183B50; 
	color: white;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.recherche {
	width: 50%;
	margin: auto;
	margin-top: 10vh;
	margin-bottom: 10vh;
}

.recherche table{
	width: 100%;
	vertical-align: middle;
}

.lastElement {
	text-align: left;
	width: 95%;
	margin: auto;
	display: block;
	font-family: 'Helvetica', sans-serif;
}

.lastElement h1 {
	text-align: left;
	font-size: 10vh;
}

.table-container {
    width: 80%; /* Ajuste selon tes besoins */
    height: 40vh; /* Hauteur pour le scroll */
    overflow-y: auto; /* Active le scroll vertical */
    margin: auto;
	margin-bottom: 60px;
}

.table-container-small {
    width: 80%; /* Ajuste selon tes besoins */
    max-height: 11vh; /* Hauteur pour le scroll */
    overflow-y: auto; /* Active le scroll vertical */
    margin: auto;
	margin-bottom: 20px;
}

.lastElement-table {
    width: 100%; /* Le tableau prend toute la largeur du conteneur */
    border-collapse: collapse;
    table-layout: fixed; /* Colonnes de largeur fixe */
    margin-bottom: 40px;
}

.lastElement-table thead {
    background-color: #183B50;
    color: white;
    font-family: 'Helvetica', sans-serif;
}

.lastElement-table thead th {
    padding: 10px;
    border-bottom: solid black 2px;
    position: sticky;
    top: 0;
    z-index: 1;
}

.lastElement-table tbody tr {
    display: table-row; /* Par défaut, pour assurer l'alignement des colonnes */
}

.lastElement-table td {
    padding: 10px;
    border-bottom: solid black 1px;
    width: 20%; /* Largeur égale pour chaque colonne */
}

.ligne-tableau {
	border-bottom: dotted gray 1px;
}

.ligne-survol {
	background-color: #DFEDF5;
	cursor: pointer;
}

.suggestions {
	position: absolute;
    width: 100%;
	max-height: 100px;
	background-color: white;
	white-space: nowrap;
	overflow: hidden; 
	text-overflow: ellipsis;
	overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 0;
	z-index: 9999;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
}

.suggestions li:hover {
    background-color: #183B50;
	color: white;
}

.editBoat {
	background: none; border: 0; padding: 0;
	margin-left: 6px; cursor: pointer; line-height: 1;
	vertical-align: middle;
}

.editBoat:hover {
	transform: scale(0.9);
}

.edit-ico {
	display: inline-block; width: 14px; height: 14px;
	background-color: currentColor; /* suit la couleur de texte du parent */
	-webkit-mask: url(../image/logo/edit.svg) no-repeat center / contain;
	mask: url(../image/logo/edit.svg) no-repeat center / contain;
}

.detailledBoat {
	background: none;
	border: solid black 1px;
	padding: 3px;
	cursor: pointer;
	border-radius: 3px;
	margin-left: 1px;
}

.detailledBoat:hover {
	transform: scale(0.9);
	background-color: #fefefe;
	color: black;
}

.detailledBoatPopup {
	width: 95%;
	margin: auto;
}

.detailledBoatPopup table {
	width: 100%;
	border-collapse: collapse;
	display: table;
	table-layout: fixed;
}

.detailledBoatPopup td {
	padding: 5px;
	text-align: right;
}

.dbPopupData {
	background-color: #DFEDF5;
	border: solid lightgray 1px;
	text-align: left;
}

.dbPopupListe {
	height: 50vh;
	margin-bottom: 5px;
	overflow: hidden;
	overflow-y: auto;
}

.dbPopupListe table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.dbPopupListe thead {
	background-color: #183B50;
	border-bottom: solid black 2px;
	color: #ffffff;
	display: table-header-group;
}

.dbPopupListe tbody {
	background: none;
	border-bottom: solid gray 1px;
	border-top: solid gray 1px;
	color: #000000;
	display: table-row-group;
}

.dbPopupListe tr    { display: table-row; }

.dbPopupListe th {padding: 5px; padding-left: 2px; padding-right: 2px; display: table-cell; }
.dbPopupListe td {
	padding: 2px; 
	display: table-cell; 
	text-align: left; 
	border-bottom: solid gray 1px; 
	border-top: solid gray 1px; 
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dbPopupListe thead th { position: sticky; top: 0; z-index: 1; }

.dbPopupListe img {
	width: 20%;
	cursor: pointer;
}
.dbPopupListe img:hover {
	transform: scale(0.9);
}

.dbPopupButton {
	padding: 10px;
	border-radius: 4px;
	background-color: white;
	color: black;
	border: solid black 1px;
	cursor: pointer;
}

.dbPopupButton:hover {
	background-color: #183B50;
	color: white;
	border: none;
}

.facture {
	width: 95%;
	margin: auto;
	display: block;
	font-size: 1em;
}

.factureTable {
	width: 100%;
}

.factureTable table {
	width: 100%;
	border-collapse: collapse;
}

.factureTable thead {
	background-color: #183B50;
	color: white;
	font-weight: 700;
}

.factureTable th {
	border-bottom: solid black 2px;
	text-align: left;
}
.factureTable td {
	border-bottom: solid gray 1px;
	text-align: left;
}

.factureTable td.num, .factureTable th.num { text-align: center; }

.factureTable thead, .factureTable tbody, .factureTable tfoot { display: table-header-group; }
.factureTable tr { display: table-row; }
.factureTable td, .factureTable th { display: table-cell; }

.factureRecap {
	display: flex;
	width: 100%;
	align-items: top;
	margin-bottom: 10px;
}

.factureRecapRegl {
	flex: 1;
	padding-left: 20px;
	text-align: left;
}

.factureRecapRegl p {
	text-align: left;
	width: 80%;
	margin: auto;
}

.factureRecapTot {
	width: 40%;
}

.factureMainContent {
	width: 100%;
	margin: auto;
	margin-top: 20px;
	display: flex;
	font-family: 'Helvetica', sans-serif;
}

.factureMainContentMenu {
	width: 20%;
	margin-right: 10px;
	padding-left: 10px;
	height: 70vh;
	background-color: #DFEDF5;
	overflow-y: auto;
	border-radius: 4px;
}

.factureMainContentMenu li {
	padding: 10px;
	width: 80%;
	margin-left: 5%;
	margin-bottom: 10px;
	margin-top: 10px;
	color: black;
	border: solid #183B50 1px;
	border-radius: 8px;
	list-style: none;
	cursor: pointer;
}

.factureMainContentMenu li:hover {
	background-color: #183B50;
	color: #ffffff;
}

.factureMainContentMain {
	flex: 1;
	margin-bottom: 50px;
	height: 60vh;
	overflow-y: auto;
}

.ficheAnimalFactureHeader {
	width: 100%;
	margin: auto;
}

.ficheAnimalFactureHeader table{
	border-collapse: collapse;
	width: 100%;
}

.ficheAnimalFactureHeader thead{
	width: 100%;
	margin: auto;
	text-align: left;
	font-size: 2.4 vh;
	background-color: #183B50;
	font-family: 'Helvetica', sans-serif;
	color: white;
	padding: 3px;
}

.ficheAnimalFactureContenu {
	width: 100%;
	margin: auto;
	font-size: 1.6vh;
	font-family: 'Helvetica', sans-serif;
}

.ficheAnimalFactureContenu table{
	border-collapse: collapse;
	width: 100%;
}
.ficheAnimalFactureContenu tr {
	border-bottom: solid black 1px;
	border-top: solid black 1px;
}

.ficheAnimalFactureContenu td {
	position: relative;
	padding: 3px;	
}

.ficheAnimalFactureContenu img {
	width: 40%;
	margin-left: 30%;
	cursor: pointer;
}

.ficheAnimalFactureReglTotaux {
	width: 80%;
	margin: auto;
	font-size: 1.6vh;
	font-family: 'Helvetica', sans-serif;
	display: flex;
}

.reglementFacture {
	flex: 1;
}

.totauxFacture {
	width: 25%;
	padding: 20px;
}