body, html{
	margin:0;
	padding:0;
	background: #FFFFFF;

	--activeColor: #C92A2B;
	--accentColor: #C92A2B;
	--maxWidth: 1800px;

	font-family: "museo-sans", sans-serif;
	font-size: 18px;
	color: #3D4644;
}

	body>header{
		position: absolute;
		top: 0;
		left: 0;
		width:100%;
		height: 100px;
		bottom: 0;

		font-size: 16px;

		background: #FFFFFF;
		color: #3D4644;
		border-bottom: 2px solid #EDEDED;

		display: flex;
		flex-direction: column;

/*		position: fixed;*/
/*		top: 0;*/
/*		left: 0;*/

		z-index: 100;
	}

		body>header>h1{
			position: absolute;
			top: 20px;
			left: 20px;
			line-height: 100px;
			margin: 0;
			padding: 0;
		}

			body>header>h1>a{
				display: block;

				width: 118px;
				height: 60px;
				color:transparent;

				background:url(medias/logo.svg);
				background-repeat: no-repeat;
				background-size: contain;
				background-position: 50% 50%;
				text-indent: -9999px;
			}

		body>header>nav{
			position: absolute;
			top: 0;
			right: 0;
			flex: auto;
			display: flex;
			flex-direction: column;
			justify-content: flex-end;
			align-items: flex-end;
/*			align-items: center;*/
/*			justify-content: center;*/
		}

			body>header>nav>ul{
				display: flex;
				list-style: none;
				margin: 0;
				padding: 0 10px;
				line-height: 100px;
			}

				body>header>nav>ul>li{
					display: block;
					margin: 0 10px;

					position: relative;
				}

					body>header>nav>ul>li>a{
						color: inherit;
						text-decoration: none;
					}
					body>header>nav>ul>li>a:hover{
						text-decoration: underline;
					}

					body>header>nav>ul>li>span{
						color: inherit;
					}

/*					body>header>nav>ul>li:has(>ul)>span::after{
						content: " ▼";
						font-size: 7px;
						vertical-align: middle;
					}*/

					div.dropdown{
						position: relative;
					}

						div.dropdown .empty{
							border-radius: 0;
							width: 100%;
						}

						div.dropdown ul .button{
							display: block;
							width: 100%; 
							box-sizing: border-box;
							margin: 5px;
/*							width: auto;*/
							color: #ffffff;
							text-align: center;
						}
						div.dropdown ul .button:hover{
							color: #000000;
						}

					div.dropdown::before,
					body>header>nav>ul>li:has(>ul)>span::before{
						content: "";
						vertical-align: middle;
						width: 15px;
						height: 15px;
						background: #D2D3D3;
						position: absolute;
						top: 65px;
						right: 50%;
						transform: translateX(50%) rotateZ(45deg);
						border-top-left-radius: 5px;
						display: none;
					}
					div.dropdown::before{
						top:45px;
						transform: translateX(25%) rotateZ(45deg);
					}

					div.dropdown>ul,
					body>header>nav>ul>li>ul{
						display:none;
						background: #FFFFFF;
						list-style: none;
						margin: 0;
						padding: 0;
						border:2px solid #D2D3D3;

						position: absolute;
						right: 0;
						top: 70px;
						line-height: 40px;
						border-radius: 5px;
						min-width: 100%;
					}
					div.dropdown>ul::before{
						position: absolute;
						content: "";
						display: block;
						bottom: 100%;
						right: 0;
						width: 100%;
						height: 50px;
					}
					div.dropdown>ul{
						top:50px;
					}
					div.dropdown:hover>ul,
					body>header>nav>ul>li:hover>ul{
						display: block;
					}
					div.dropdown:hover::before,
					body>header>nav>ul>li:hover>span::before{
						display: block;
					}

					ul.multiple{
						display: block;
						margin: -10px;
						padding: 0;

						max-width: 300px;

						max-height: 90vh;
						max-height: calc(100vh - 200px);
						overflow: auto;
					}

						ul.multiple li,
						div.dropdown>ul>li,
						body>header>nav>ul>li>ul>li{
							display: block;
							border-top:2px solid #D2D3D3;
						}
						ul.multiple li{
							padding: 0 10px;
						}
						div.dropdown>ul>li{
							display: flex;
							justify-content: space-between;
							position: relative;
						}
						ul.multiple>li:first-child,
						div.dropdown>ul>li:first-child,
						body>header>nav>ul>li>ul>li:first-child{
							border-top:0;
						}

							ul.multiple li>label{
								border: none;
								margin: 0 !important;
								position: relative;
							}

								ul.multiple li>label>input{
									display: none;
								}

									ul.multiple li>label>span{
										display: block;

										font-weight: normal;

										position: static;
										font-size: 1rem;
										transform: none;
										text-transform: none;
										color: #999999;
										left: 0;

										background-image: url(medias/check.svg);
										background-size: 20px 20px;
										background-repeat: no-repeat;
										background-position: 0 50%;
										padding:.25em 0 .25em 30px;
										min-height: 20px;

										white-space: wrap;
									}
									ul.multiple li>label:hover>span{
										background-image: url(medias/check2.svg);
									}

									ul.multiple li>label>input:checked+span{
										color: #3D4644;
										background-image: url(medias/checked.svg);
									}

									ul.multiple li>label:hover>input:checked+span{
										background-image: url(medias/checked2.svg);
									}

									ul.multiple li.group>span{
										line-height: 1em;
										display: block;
										padding: .25em 0;
									}

									ul.multiple li>ul{
										margin: 0 -10px;
										padding: 0;
										border-left: 10px solid #D2D3D3;
									}

										ul.multiple li>ul>li{
/*											padding-left:30px;*/
										}

									ul.multiple li>ul:empty{
										min-height:1em;
										border:none;
										line-height: 1.5em;
									}

										ul.multiple li>ul:empty::before{
											display: block;
											content:"Vide";
											font-size: .8em;
											opacity: .5;

											text-align: center;
											background: #D2D3D3;
										}

							div.dropdown>ul>li>a,
							body>header>nav>ul>li>ul>li>a{
								display: block;
								padding: 0 10px;
								color: #333;
								white-space: nowrap;
								text-overflow: ellipsis;
							}

							div.dropdown>ul>li>a.delete{
								position: absolute;
								top: 0;
								right: 0;
								background: rgba(255,255,255,.8);
								color: #888;
								font-size: 12px;
								padding-left: .5em;
								display: none;
								text-overflow: initial;
							}
							div.dropdown>ul>li>a:hover{
								color: #C92A2B;
							}
							div.dropdown>ul>li:hover>a.delete{
								display: block;
							}


				body>header>nav>ul>li.user{
					
				}

					body>header>nav>ul>li.user>span{
						position: relative;
						font-size: 10px;
						font-weight: 900;
						color:#C92A2B;
						display: block;
/*						height: 30px;*/
						min-width: 25px;
						background: url(medias/frame.svg);
						background-size: contain;
						background-repeat: no-repeat;
						background-position: 50% 50%;
						text-align: center;
					}
/*					body>header>nav>ul>li.user>span::before,
					body>header>nav>ul>li.user>span::after{
						content: "";
						display: block;
						position: absolute;
						width: 24px;
						height: 8px;
						border:4px solid #3D4644;
						border-bottom: 0;
						box-sizing: border-box;
						top: -10px;
						left:0;
					}*/

/*					body>header>nav>ul>li.user>span::after{
						transform: rotate(180deg);
						top:auto;
						bottom:-10px;
					}*/
				

				body>header>nav>ul>li.active{
					
				}

					body>header>nav>ul>li.active>a{
						color: var(--activeColor);
					}

a{
	text-decoration: none;
	color: inherit;
}
a:hover,
.js .click:not(tr):hover a:not(.sub),
.js tr.click:hover>th>a:not(.sub){
	text-decoration: underline;
	color: var(--accentColor);
}

.js .click:hover:has(a.sub:hover) a:not(.sub),
.js tr.click:hover:has(a.sub:hover)>th>a:not(.sub){
	text-decoration: none;
	color:inherit;
}





	body>main{
		margin-top: 100px;
/*		position: absolute;
		top: 100px;
		left: 0;
		bottom: 0;
		right: 0;*/

		background: #FFFFFF;

		min-height: calc(100vh - 100px);
		min-height: calc(100vhmax - 100px);

		display: flex;
	}
	body>main:first-child{
		left: 0;
	}

		body>main>div{
			flex: 1 1 auto;
			display: flex;
			flex-direction: column;
		}

			body>main>div>header{
				position: relative;
				background: #FFFFFF;
				padding: 0 20px;
				margin: 0px;
				flex: 0 0 auto;

				border-bottom: 2px solid #EDEDED;

				position: sticky;
				top: 0;

				z-index: 3;
			}

				body>main>div>header>div{
					margin: 0 auto;
					max-width: var(--maxWidth);
					padding: 18px 0;

					line-height: 40px;
		
					display: flex;
					justify-content: space-between;
					align-items: center;
				}

					body>main>div>header>div>div+div{
						display: flex;
						margin-left: 20px;
					}

						body>main>div>header>div>div>h2,
						body>main>div>header>div>div>h3{
							margin: 0;
							padding: 0;
							font-size: 24px;
						}

						body>main>div>header>div>div>a{
							font-size: 12px;
							font-weight: bold;
							text-transform: uppercase;
							color: inherit;
							line-height: 1em;
							display: inline-block;
						}

						body>main>div>header>div>div>a.button,
						body>main>div>header>div>div>button{
							width: auto;
						}

/*						body>main>div>header>div>div:last-child>a{
							margin-left: 1em;
						}*/

						body>main>div>header>div>div>button,
						body>main>div>header>div>div>.button{
							margin-right: 10px;
						}

						body>main>div>header>div>div form,
						#popup>div>div>header form{
							display: flex;
							align-items: end;
						}

							body>main>div>header>div>div form label,
							#popup>div>div>header form label,
							body>main>div>header>div>div form .label,
							#popup>div>div>header form .label{
								border:2px solid #3D4644;
								border-radius: 10px;
								margin: 0;
								padding: 0;
								margin-right: 10px;
							}

								body>main>div>header>div>div form label div.select,
								#popup>div>div>header form label div.select,

								body>main>div>header>div>div form .label div.dropsx,
								#popup>div>div>header form .label div.dropsx{
									border:none;
									height: 36px;
									background: transparent;
								}

									body>main>div>header>div>div form label div.select::before,
									#popup>div>div>header form label div.select::before,

									body>main>div>header>div>div form .label div.dropsx::before,
									#popup>div>div>header form .label div.dropsx::before{
										width: 36px;
										height: 100%;
										background-color: #FFF;
										border-top-right-radius: 10px;
										border-bottom-right-radius: 10px;
										top: 0;
										right: 0;
									}

/*									body>main>div>header>div>div form .label div.dropsx:focus-within::before,
									#popup>div>div>header form .label div.dropsx:focus-within::before{
										background-color: #C92A2B;
									}*/

									body>main>div>header>div>div form label div.select>select,
									#popup>div>div>header form label div.select>select{
										padding: 0 15px;
										min-width: 100px;
										height: 36px;
										font-size: 15px;
										padding-right: 36px;
										max-width: 250px;
									}

									body>main>div>header>div>div form .label div.dropsx>span,
									#popup>div>div>header form .label div.dropsx>span{
										min-width: 120px;
										white-space: nowrap;
										max-width: 220px;
										overflow: hidden;
										text-overflow: ellipsis;
										font-size: 15px;
										padding-left: 15px;
									}

									body>main>div>header>div>div form .label div.dropsx>div,
									#popup>div>div>header form .label div.dropsx>div{
										min-width: 200px;
									}

										body>main>div>header>div>div form .label div.dropsx>div label,
										#popup>div>div>header form .label div.dropsx>div label{
											margin: 0 0 10px 0;
/*											border: none;*/
										}

								body>main>div>header>div>div form label>span,
								#popup>div>div>header form label>span,

								body>main>div>header>div>div form .label>span,
								#popup>div>div>header form .label>span{
									white-space: nowrap;
									font-size: 12px;
									font-weight: 500;
									background:#FFFFFF;
									padding: 0 5px;
									left: 10px;
									transform: translateY(-50%);

									max-width: 100%;
									overflow: hidden;
									text-overflow: ellipsis;
									box-sizing: border-box;
								}

								body>main>div>header>div>div form button,
								#popup>div>div>header form button{
									margin: 0 10px 0 0;
								}

								body.js>main>div>header>div>div form.autosubmit button,
								body.js #popup>div>div>header form.autosubmit button{
									display: none;
								}

							body>main>div>header>div>div form label.input,
							#popup>div>div>header form label.input{
								border: none;
								min-width: 100px;
							}

								body>main>div>header>div>div form label.input input,
								#popup>div>div>header form label.input input{
									height: 40px;
								}



			body>main>div#main>div{
				margin: 0 auto;
				max-width: var(--maxWidth);
				width: 100%;
				padding: 20px;
				flex: 1 1 auto;
				box-sizing: border-box;
			}

				body>main>div#main>div form header{
					margin: 20px -20px;
					padding: 0 20px;
					border-top: 2px solid #D2D3D3;

					display: flex;
					justify-content: space-between;
					align-items: center;

					padding-top: 43px;
					position: relative;
				}

					body>main>div#main>div form header h4{
						margin: 0;
						padding: 0;
					}

					body>main>div#main>div form header div.label,
					body>main>div#main>div form header div.labelgroup{
						margin: 0;
						padding: 0;
						position: absolute;
						bottom: 0;
						right: 20px;
					}

						body>main>div#main>div form header div.label>span{
							left: 10px;
							top: 7px;
							opacity: .8;
						}

						body>main>div#main>div form header div.label>div{
							/*width: 140px;*/
							min-width: 140px;
							padding-top: 20px;
							padding-bottom: 0px;
						}
						body>main>div#main>div form header div.label>div:has(>div.data){
							display: flex;
							justify-content: space-between;
							gap: 5px;
						}

							body>main>div#main>div form header div.label>div>div.data{
								/*text-align: center;*/
								flex: 1 1 50%;
							}
							body>main>div#main>div form header div.label>div>div.data+div.data{
								/*margin-left: 1em;*/
							}

								body>main>div#main>div form header div.label>div>div.data>div{
									/*display: flex;*/
									/*gap: .5em;*/
									line-height: 1em;
								}

									body>main>div#main>div form header div.label>div>div.data>div>span{
										font-size: .8em;
									}

									span.currency{
										white-space: nowrap;
									}

										span.currency>span{
											font-size: .6em;
											opacity: .6;
										}

								body>main>div#main>div form header div.label>div>div.data>div+div{
									font-size: .5em;
									text-transform: uppercase;
									opacity: .5;

									margin-bottom: -18px;
									margin-top: 9px;
								}

					
					body>main>div#main>div form header div.labelgroup{
						display: flex;
						gap: 1em;
					}

					body>main>div#main>div form header div.labelgroup div.label{
						position: relative;
						right: 0;
					}

				.important{
					background: #EDEDED;
					border-radius: 10px;
					padding: 20px;
					/*text-align: center;*/
					color: #000000;
					border:2px solid var(--accentColor);
					margin-top: 2em;
				}

				.empty{
					background: #EDEDED;
					border-radius: 10px;
					padding: 20px;
					text-align: center;
					color: #888;
				}

					.empty ul{
						display: inline-block;
						margin: 0 auto;
						text-align: left;
						margin-top: 1em;
					}

					.empty .or{
						text-transform: uppercase;
						font-size: 12px;
						margin: 20px 0 0 0;
						font-weight: bold;
					}
						.empty .or::before,
						.empty .or::after{
							content: "";
							display: inline-block;
							width: 50px;
							height: 1px;
							background: currentColor;
							margin: 0 .5em;
							vertical-align: middle;
						}

					.empty h3{
						font-size: 24px;
						margin: 0 0 20px 0;
					}

					.empty button,
					.empty .button{
						margin: 20px 0 0 0;
						width: auto;
						display: inline-block;
					}

				body>main>div#main>div div.zone{
					margin: 20px -20px;
					padding: 0 20px;
					background: #F6F6F6;
				}
				body>main>div#main>div div.zone:last-child{
					margin-bottom: -20px;
					padding-bottom: 20px;
				}

					body>main>div#main>div div.zone header{
						
					}
					body>main>div#main>div div.zone header:first-child{
						border-top: 0;
					}

				body>main>div#main>div div.zone+header{
					border-top: 20px solid #F6F6F6;
					margin-top: -20px;
				}



			body>main>div>footer{
				position: relative;
				background: #FFFFFF;
				border-top:2px solid #EDEDED;
				padding: 10px 20px;
				margin: 0px;

				flex: 0 0 auto;

				-webkit-backdrop-filter: saturate(180%) blur(10px);
				backdrop-filter: saturate(180%) blur(10px);

				position: sticky;
				bottom: 0;

				height: 80px;
				box-sizing: border-box;
				display: flex;
				align-items: center;

				height: auto;
				min-height: 80px;

				z-index: 1;
			}

				body>main>div>footer button,
				body>main>div>footer .button{
					width: auto;
					flex: 0 0 auto;
				}

				body>main>div>footer>div{
					width: 100%;
					box-sizing: border-box;
					margin: 0 auto;
					max-width: var(--maxWidth);
					padding: 0 20px;
		
					display: flex;
					justify-content: end;
					align-items: center;

					display: flex;
					justify-content: space-between;
					flex-direction: row-reverse;

/*					position: relative;*/
				}

				body>main>div>footer>form{
					width: 100%;
					box-sizing: border-box;
				}

					body>main>div>footer>div>div{

					}

						body>main>div>footer>div>div>h2,
						body>main>div>footer>div>div>h3{
							margin: 0;
							padding: 0;
						}

						body>main>div>footer>div>div>a{
							font-size: 12px;
							font-weight: bold;
							text-transform: uppercase;
							color: inherit;
							line-height: 1em;
						}

					body>main>div>footer>div>div.todobox{
						position: absolute;
						bottom: -10px;
						left: 18px;
						border:2px solid currentColor;
						padding: 20px;
						border-bottom: 0;
						border-radius: 10px 10px 0 0;
						background: #FFFFFF;
						width: auto;
						max-width: 35vw;
						min-width: 200px;
					}

						body>main>div>footer>div>div.todobox>span{
							font-size: 10px;
							text-transform: uppercase;
							font-weight: 900;
							display: block;
							margin-bottom: 1em;
							color: #C92A2B;
						}

						body>main>div>footer>div>div.todobox>div{
							font-size: 14px;
							font-weight: 500;
							margin-bottom: 1em;
						}

						body>main>div>footer>div>div.todobox>div.hide{
							position: absolute;
							top: 10px;
							right: 10px;
							margin: 0;
							padding: 0;
							width: 30px;
							height: 30px;
							background: url(medias/down.svg);
							background-position: 50% 50%;
							background-repeat: no-repeat;
							cursor: pointer;
						}

						body>main>div>footer>div>div.todobox>a{
							width: auto;
							display: inline-block;
						}

					body>main>div>footer>div>div.todobox.hidden{

					}

						body>main>div>footer>div>div.todobox.hidden>span{
							margin-bottom: 0;
						}

						body>main>div>footer>div>div.todobox.hidden>div:not(.hide),
						body>main>div>footer>div>div.todobox.hidden>a{
							display: none;
						}

						body>main>div>footer>div>div.todobox>div.hide{
							transform: rotate(180deg);
						}


		body>main>div#comments{
			flex: 0 0 30vw;
			min-width: 320px;
			max-width: 550px;

/*			display: flex;*/
			flex-direction: column;
/*			border-left: 1px solid #888888;*/
			background: #EDEDED;

			position: sticky;
			top: 0;

/*			height: 100vh;*/
			min-height: calc(100vh - 100px);
			max-height: 100vh;
		}
		body>main>div#comments:empty{
			background: #EDEDED;
		}
		body>main>div#comments[data-id="new"]:empty::before{
			content: "Sauvegardez pour pouvoir commenter";
			position: absolute;
			top: 50%;
			left: 0;
			width: 100%;
			text-align: center;
			transform: translateY(-50%);
			color: #888;
		}


			body>main>div#comments>header{
/*				flex: 0 0 auto;*/
				background: #EDEDED;
				border-bottom: 2px solid #D2D3D3;
				height: 76px;
			}

				body>main>div#comments>header>div{
					width: 100%;
				}

					body>main>div#comments>header>div>div{
						position: relative;
						flex: 1 1 auto;
						display: flex;
						margin: 0 -5px;
					}

						body>main>div#comments>header>div>div>label{
/*							padding-top: 25px;*/
							position: relative;
							margin-top: -25px;
							margin: 0 5px 0 5px;
							flex: 1 1 50%;
						}

							body>main>div#comments>header>div>div>label>div.select,
							body>main>div#comments>header>div>div>label>div.fake{
								border-radius: 5px;
								border:2px solid #D2D3D3;
								height: 40px;
							}

							body>main>div#comments>header>div>div>label>div.select{
								position: relative;
								box-sizing: border-box;
							}

							body>main>div#comments>header>div>div>label>div.fake{
								padding: 10px;
								font-size: 14px;
								white-space: nowrap;
								overflow: hidden;
								text-overflow: ellipsis;
								width: 100%;
							}

							.copiable{
								cursor: grab;
								position: relative;
								background: #FFF !important;
							}

								.copiable::after{
									content: "Cliquez pour copier";
									position: absolute;
									top: 5px;
									right: 5px;
									bottom: 5px;
									padding: 0 10px;
									display: flex;
									align-items: center;
									justify-content: center;
									background: #EEE;
									border-radius: 5px;
									opacity: .8;
									font-size: 10px;
								}

								body>main>div#comments>header>div>div>label>div.select>select{
									display: block;
									-webkit-appearance:none;
									background: transparent;
									font-size: 14px;
									border:none;
									width: 100%;
									height: 100%;
/*									padding: 0 30px 0 15px;*/
									padding: 0 15px;
									font-family: "museo-sans", sans-serif;
									color: #3D4644;
								}

								body>main>div#comments>header>div>div>label>div.select::after{
									position: absolute;
									top: 0;
									right: 0;
									width: 25px;
									line-height: 36px;
									text-align: center;
									content: "▾";
									background: rgba(237, 237, 237, 0.8);
									pointer-events: none; 
								}

							body>main>div#comments>header>div>div>label>span{
								font-size: 12px;
/*								font-weight: bold;*/
								text-transform: uppercase;
								position: absolute;
								line-height: 12px;
								padding: 0 5px;
								background: #EDEDED;
								top: 0;
								left: 10px;
								transform: translateY(-50%);
							}


/*
						body>main>div#comments>header>div>div>h2{
							background-image: url(medias/down.svg);
							background-repeat: no-repeat;
							background-position: 100% 50%;
							display: block;
							width: 100%;
							font-size: 15px;
							padding-right: 30px;
							box-sizing: border-box;
						}

						body>main>div#comments>header>div>div>ul{
							background: #D2D3D3;
							display: block;
							margin: 0;
							padding: 0;
							list-style: none;
							position: absolute;
							top: 100%;
							right: -20px;
							left: -20px;
							margin-top: 20px;
							display: none;
							font-size: 15px;
						}
						body>main>div#comments>header.multiple:hover>div>div>ul{
							display: block;
						}
							body>main>div#comments>header>div>div>ul>li{
								border-top:2px solid #EDEDED;
								padding: 10px;
								cursor: pointer;
								line-height: 1.2em;
								z-index: 2;
								position: relative;
							}
							body>main>div#comments>header>div>div>ul>li.active{
								color: var(--accentColor);
							}
							body>main>div#comments>header>div>div>ul>li:hover{
								background: var(--accentColor);
								color: #FFFFFF;
							}

							body>main>div#comments>header>div>div>ul>li:first-child{
								border-top:none;
							}

						body>main>div#comments>header.multiple:hover+div{
							opacity: .5;
							pointer-events: none;
						}


							body>main>div#comments>header .miniinfobox{
								pointer-events: none;
								display: flex;
								justify-content: space-between;
							}

								body>main>div#comments>header .miniinfobox .small{
									background: transparent;
									margin: 0;
									padding: 0;

									color: inherit;
									font-size: inherit;
									text-transform: inherit;
									border:none;
								}

									body>main>div#comments>header .miniinfobox .small>a{
										color: inherit;
										font-size: inherit;
										text-transform: inherit;
									}

								body>main>div#comments>header .miniinfobox .big{
									transform: none;
									opacity: 1;
									position: static;
								}

									body>main>div#comments>header .miniinfobox .big>.infobox{

									}

										body>main>div#comments>header .miniinfobox .big>.infobox>span{
											display: block;
											color: inherit;
											font-weight: normal;
											opacity: .5;
										}
										body>main>div#comments>header .miniinfobox .big>.infobox>span::before{
											content: "(";
										}
										body>main>div#comments>header .miniinfobox .big>.infobox>span::after{
											content: ")";
										}

										body>main>div#comments>header .miniinfobox .big>.infobox>div{
											display: none;
										}
*/

			body>main>div#comments>div{
				flex: 1 1 auto;
				display: flex;
				align-items: end;

				height: calc(100vh - 78px - 78px);

				position: sticky;
				bottom: 80px;
			}

			body:not(.scrolled)>main>div#comments>div{
				height: calc(100vh - 78px - 78px - 40px);
				flex-grow: 0;
/*				padding-top: 40px;*/
			}

				body>main>div#comments>div>ul{
					display: block;
					margin:0;
					padding: 20px;
					overflow: auto;
					list-style: none;
					width: 100%;
					max-height: 100%;
					box-sizing: border-box;


/*					display: flex;
					align-items: flex-end;
					flex-direction: column;
					justify-content: flex-end;*/
				}

					body>main>div#comments>div>ul>li{
						width: 100%;
						display: flex;
						flex-wrap: wrap;
						justify-content: space-between;
						align-items: center;

						padding: 0 18px;
						box-sizing: border-box;

						margin-top: 20px;
					}
					body>main>div#comments>div>ul>li.deleting{
						opacity: .5;
						pointer-events: none;
					}
					body>main>div#comments>div>ul>li.hidden{
						display: none;
					}

					body>main>div#comments>div>ul>li:first-child{
						margin-top: 90px;
/*						margin-top: auto;*/
					}
					body:not(.scrolled)>main>div#comments>div>ul>li:first-child{
						margin-top:50px;
					}

						body>main>div#comments>div>ul>li>.author{
							font-size: 16px;
							font-weight: 700;
						}

						body>main>div#comments>div>ul>li>.agent{
							font-size: 12px;
							opacity: .6;
							margin: 0 auto 0 6px;
						}

						body>main>div#comments>div>ul>li>time{
							font-size: 12px;
							font-weight: 700;
						}
						body>main>div#comments>div>ul>li>a.delete{
							font-size: 12px;
							font-weight: 700;
						}

						body>main>div#comments>div>ul>li>div{
							flex: 1 1 90%;
							background: #FFFFFF;
							border-radius: 10px;
							padding: 13px 18px;
							box-sizing: border-box;
							margin: 0 -18px;
							font-size: 14px;
							margin-top: 10px;
						}

							body>main>div#comments>div>ul>li>div>header{
								display: flex;
								justify-content: space-between;
								margin: -13px -18px 13px -18px;
								padding: 0 18px;
								border-bottom: 2px solid #EDEDED;
								font-size:12px;
								align-items: center;
								height: 40px;
							}

								body>main>div#comments>div>ul>li>div>header>span{
									text-transform: uppercase;
									font-weight: 900;
								}

								body>main>div#comments>div>ul>li>div>header .miniinfobox>div.big{
									top: auto;
									bottom:0;
									left: auto;
									right: 0;
									transform-origin: 100% 100%;
								}

								body>main>div#comments>div>ul>li>div>header .miniinfobox>div.small{
									font-size: 12px;
								}

/*								body>main>div#comments>div>ul>li>div>header>a{
									border:2px solid currentColor;
									border-radius: 10px;
									padding: 5px;
								}*/

							body>main>div#comments>div>ul>li>div>span.msg{
								white-space: pre-wrap;
								tab-size: 4;
							}

							body>main>div#comments>div>ul>li>div>span.msg>label{
								display: block;
								font-size: 13px;
								line-height: 1em;
								font-weight: bold;
								text-transform: uppercase;
								margin-bottom: 5px;
								color: #888;
							}

					body>main>div#comments>div>ul>li.activity{

					}

						body>main>div#comments>div>ul>li.activity>div{
							background: transparent;
							border: 2px solid #D2D3D3;
							padding: 9px 18px;
						}


			body>main>div#comments>footer{
/*				flex: 0 0 auto;*/
				padding: 10px 20px;
				background: #EDEDED;
				border-color: #D2D3D3;
			}

				body>main>div#comments>footer>form{
					background: #FFFFFF;
					border-radius: 10px;
					display: flex;
					align-items: center;
					position: relative;
					flex-wrap: wrap;

					margin-top: 15px;
				}

					body>main>div#comments>footer>form>div.select{
						width: auto;
						background: transparent;
						font-size: 12px;
						margin: 0;
						flex: 0 0 100%;

						position: absolute;
						top: 6px;
						left: 20px;
						height: 18px;

						top: -20px;
						left: 0;
						left: auto;
						display: flex;
						align-items: center;
					}

						body>main>div#comments>footer>form>div.select::before{
							display: none;
						}

/*
						body>main>div#comments>footer>form>div.select::after{
							display: inline-block;
							width: 1em;
							height: 1em;
							content: " ";
							margin-left: .5em;
							background-image:url(medias/down.svg);
							background-repeat: no-repeat;
							background-size: contain;
							background-position: 50% 50%;
						}
*/
						body>main>div#comments>footer>form>div.select>select{
							font-size: 13px;
							line-height: 1em;
							font-weight: bold;
							text-transform: uppercase;
							margin: 0;
							padding: 0;
							height: 18px;
							width: auto;
							color: #888;
						}

					body>main>div#comments>footer>form>input,
					body>main>div#comments>footer>form>textarea{
						flex: 1 1 auto;
						background: transparent;
						padding: 12px 20px;
						padding-right: 60px;
						border:none;
						border-radius: 10px;
						font-size: 14px;
/*						padding-top: 24px;*/

						box-sizing: content-box;
						min-height: 1.25em;
						resize: none;
						max-height: 150px;
					}

					body>main>div#comments>footer>form>input:focus,
					body>main>div#comments>footer>form>textarea:focus{
						outline: none;
						box-shadow: inset 0 0 0 2px #3D4644;
					}

				body>main>div#comments>footer>form>button{
/*					flex: 0 0 20px;*/
					width: 20px;
					height: 20px;
					font-size: 0;
/*					margin: 0 20px;*/
					margin: 0;

					position: absolute;
					top: 50%;
					right: 20px;
					transform: translateY(-50%);

					background: url(medias/send.svg);
					background-position: 50% 50%;
					background-repeat: no-repeat;
					border:none;
					background-color: transparent;
					filter: grayscale(1);

					height: 100%;
					width: 60px;
					padding: 0 20px;
					right: 0;
				}

				body>main>div#comments>footer>form>button:hover,
				body>main>div#comments>footer>form>input:valid+button{
					filter:none;
				}


.js .click{
	cursor: pointer;
}
.js .click:hover{
/*	background:#EEE;*/
}

.js [data-orderby]>div{
	display: flex;
	justify-content: space-between;
	white-space: nowrap;
	cursor: pointer;
}

.js [data-orderby]>div::after{
	content: "";
	display: inline-block;
	width: 15px;
	height: 15px;
	cursor: pointer;
	background-image:url(medias/orderby.svg);
	background-repeat: no-repeat;
	background-position: 100% 50%;
	margin-left: 10px;
}
/*.js [data-orderby]>div:hover::after{
	background-image:url(medias/orderbyasc.svg);
}*/

.js [data-orderby]>div.ASC::after{
	cursor: pointer;
	background-image:url(medias/orderbyasc.svg);
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
/*.js [data-orderby]>div.ASC:hover::after{
	background-image:url(medias/orderbydesc.svg);
}*/

.js [data-orderby]>div.DESC::after{
	cursor: pointer;
	background-image:url(medias/orderbydesc.svg);
	background-repeat: no-repeat;
	background-position: 100% 50%;
}
/*.js [data-orderby]>div.DESC:hover::after{
	background-image:url(medias/orderbyasc.svg);
}*/


form{

}
form.small{
	width: 80%;
	max-width: 600px;
	margin: 0 auto;
}

	div.halfs{
		display: flex;
		align-items: start;
		flex-wrap: wrap;
		margin: 0 -10px;
	}

		div.halfs>*{
			flex: 0 1 calc(50% - 20px);
			width: 50%;
			box-sizing: border-box;
			margin-left: 10px;
			margin-right: 10px;
		}

		div.halfs>label:first-child,	/* was prefixed with form  */
		div.halfs>.label:first-child,	/* was prefixed with form  */
		div.halfs>label,	/* was prefixed with form  */
		div.halfs>.label{	/* was prefixed with form  */
			margin-top: 25px;
		}

	div.thirds{
		display: flex;
		align-items: start;
		flex-wrap: wrap;
		margin: 0 -10px;
	}

		div.thirds>*{
			flex: 0 1 calc(33% - 20px);
			width: 30%;
			box-sizing: border-box;
			margin-left: 10px;
			margin-right: 10px;
		}
		div.thirds>*.double{
			flex: 1 1 calc(66% - 15px);
			width: 60%;
			box-sizing: border-box;
		}

	div.thirds.alt{

	}

		div.thirds.alt>*{
			flex: 0 1 calc(43% - 20px);
			width: 40%;
		}
		div.thirds.alt>*.double{
			flex: 1 1 calc(55% - 15px);
			width: 50%;
		}


		form div.thirds>label:first-child,
		form div.thirds>.label:first-child,
		form div.thirds>label,
		form div.thirds>.label{
			margin-top: 25px;
		}

	div.quarts{
		display: flex;
		align-items: start;
		flex-wrap: wrap;
		margin: 0 -10px;
	}

		div.quarts>*{
			flex: 0 1 calc(25% - 20px);
			width: 20%;
			box-sizing: border-box;
			margin-left: 10px;
			margin-right: 10px;
		}
		div.quarts>*.double{
			flex: 0 1 calc(50% - 20px);
			width: 45%;
			box-sizing: border-box;
		}


		form div.quarts>label:first-child,
		form div.quarts>.label:first-child,
		form div.quarts>label,
		form div.quarts>.label{
			margin-top: 25px;
		}


/*	form .half{
		margin-top:10px;
		display: flex;
		justify-content: stretch;
		flex-gap:20px;
		gap:20px;
	}
	form .half:first-child{
		margin-top: 0;
	}

		form .half>*{
			flex: auto;
		}
*/
	form label,
	.label{
		display: block;
		position: relative;
		padding-top: 25px;
		margin-top: 28px;

		margin-bottom: 10px;

		display: flex;
	}
	form label:first-child,
	.label:first-child{
		margin-top: 0;
	}

/*		form label>.label,*/
		form label>div.dropsx,
		form label>input[type=text],
		form label>input[type=number],
		form label>input[type=email],
		form label>input[type=tel],
		form label>input[type=password],
		form label>input[type=date],
		form label>textarea,
/*		.label>.label,*/
		.label>div.dropsx,
		.label>input[type=text],
		.label>input[type=number],
		.label>input[type=email],
		.label>input[type=tel],
		.label>input[type=password],
		.label>input[type=date],
		.label>textarea,

		label>div.fake,
		.label>div.fake{
			width: 100%;
			box-sizing: border-box;
			height: 50px;

			background:#EDEDED;
			border:none;
			border-radius:5px;
			padding: 10px;

			font-family: "museo-sans", sans-serif;
			color: #3D4644;
			font-size: 18px;
			font-weight: 500;
		}


		form input[required]+span::after,
		form div.select:has(select[required])+span::after{
			content: " *";
			opacity: .5;
		}
		form input[required]:invalid+span::after,
		form div.select:has(select[required]:invalid)+span::after{
			opacity: 1;
			color: #C92A2B;
		}

		label>div.fake.country:empty,
		.label>div.fake.country:empty{
			content: "";
		}

			label>div.fake.country:empty::before,
			.label>div.fake.country:empty::before{
				content: "...";
			}

		form label>div.unit,
		.label>div.unit{
			margin-left: -10px;
			padding: 0 20px;
			background: #D2D3D3;
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
			display: flex;
			align-items: center;
		}

		label>div.fake,
		.label>div.fake{
			background: transparent;
			border: 2px solid #D2D3D3;
			display: flex;
			align-items: center;
		}

		.dropsx{
			position: relative;
		}

			.dropsx>span{
				display: flex;
				width: 100%;
				height: 100%;
				box-sizing: border-box;
				padding-right: 46px;
				align-items: center;
/*				justify-content: space-between;*/
			}

				.dropsx>span>span.total{

				}
				.dropsx>span>span.total:empty{
					display: none;
				}

					.dropsx>span>span.total::after{
						content: " $";
						opacity: .5;
					}


				.dropsx>span>span.currency{
					flex: 1 1 auto;
					padding-left: .5em;
					opacity: .5;
				}
				.dropsx>span>span.total:empty+span.currency{
					display: none;
				}

					.dropsx>span>span.currency::before{
						content: " (";
					}

					.dropsx>span>span.currency::after{
						content: ")";
					}

				.dropsx>span>span.exchangerate{
					background: #D2D3D3;
					padding: 5px;
					border-radius: 5px;
				}
				.dropsx>span>span.exchangerate:empty{
					display: none;
				}

				.dropsx>span>span.existingclient{
					display: none;
				}

				.dropsx>span>span.existingclient:empty{
					display: block;
				}

					.dropsx>span>span.existingclient:empty::before{
						content:"Nouveau client";
						font-style: italic;
					}

					.dropsx>span>span.existingclient[data-value="-1"]{
						font-size: 0;
						text-indent: -100px;
						display: block;
					}
					.dropsx>span>span.existingclient[data-value="-1"]+.number{
						display: none;
					}
						.dropsx>span>span.existingclient[data-value="-1"]::before{
							content:"Non client";
							font-style: italic;
							display: block;
							font-size: 18px;
							text-indent: 0;
						}

				.dropsx>span>span.number{

				}

					.dropsx>span>span.number::before{
						content: "#";
						opacity: .5;
					}


				.dropsx>span>span.number:empty{

				}
				.dropsx>span>span.existingclient:empty+span.number{
					display: none;
				}

					.dropsx>span>span.number:empty::before{
						display: none;
					}

					.dropsx>span>span.number:empty::after{
						content:"Numéro manquant";
						font-style: italic;
					}

				.dropsx>span>span.datescope{
					font-size: 0;
				}
					.dropsx>span>span.datescope::after{
						font-size: 15px;
						opacity: .5;
						display: inline-block;
						padding-right: .5em;
						font-weight: 900;
					}
				.dropsx>span>span.datescope[data-value=between]{
					display: none;
				}
				.dropsx>span>span.datescope[data-value=before]{
					
				}
					.dropsx>span>span.datescope[data-value=before]::after{
						content:"< ";
					}
				.dropsx>span>span.datescope[data-value=after]{
					
				}
					.dropsx>span>span.datescope[data-value=after]::after{
						content:"> ";
					}

				.dropsx>span>span.date1:not(:empty)+span.date2:not(:empty)::before{
					content: "-";
					display: inline-block;
					padding: 0 .25em;
					opacity: .5;
				}

				.dropsx>span:has(.date1:empty):has(.date2:empty)::after{
					content:"N/A";
				}

			.dropsx::before{
				content: "";
				position: absolute;
				top: 2px;
				right: 2px;
				display: block;
				width: 46px;
				height: 46px;
				background-color: #EDEDED;
				background-image:url(medias/down.svg);
				background-repeat: no-repeat;
				background-position: 50% 50%;
				text-align: center;
				pointer-events: none;
				border-top-right-radius: 5px;
				border-bottom-right-radius: 5px;
			}

			.dropsx::after{
				content: "";
				vertical-align: middle;
				width: 22px;
				height: 22px;
				background: #D2D3D3;
				position: absolute;
				top: 100%;
				top: calc(100% - 2px);
				right: 50%;
				transform: translateX(50%) rotateZ(45deg);
				border-top-left-radius: 5px;

				display: none;
			}

			.dropsx>div{
				position: absolute;
				top: 100%;
				top:calc(100% + 10px);
				left: 0;
				min-width: 100%;
				box-sizing: border-box;
				background: #FFFFFF;
				border-radius: 10px;
				padding: 10px;
				z-index: 2;
				box-shadow: 0 0 0 2px #D2D3D3;

/*				display: none;*/
				height:0;
				opacity: 0;
				overflow: hidden;
			}

			.dropsx.active>div,
			.dropsx.active::after,
/*			.label:has(.dropsx):hover .dropsx>div,*/
/*			.label:has(.dropsx):hover .dropsx::after,*/
/*			.dropsx:hover>div,*/
/*			.dropsx:hover::after,*/
			.dropsx:focus-within>div,
			.dropsx:focus-within::after{
				display: block;
			}

			.dropsx.active>div,
			.dropsx:focus-within>div{
				height:auto;
				opacity: 1;
				overflow: visible;
			}

			#popup .dropsx.active>div{
				max-height: 300px;
				overflow: auto;
			}

/*			.dropsx.active,
			.dropsx:focus-within{
				box-shadow: inset 0 0 0 2px #3D4644;
			}*/

	#popup .dropsx{
		height: 50px;
		padding: 0 10px; 
	}

	#popup .dropsx ul.multiple li>label{
		padding: 0;
	}

/*		form label>.label:focus,*/
		form label>input[type=text]:focus,
		form label>input[type=number]:focus,
		form label>input[type=email]:focus,
		form label>input[type=tel]:focus,
		form label>input[type=password]:focus,
		form label>input[type=date]:focus,
		form label>textarea:focus,
/*		.label>.label:focus,*/
		.label>input[type=text]:focus,
		.label>input[type=number]:focus,
		.label>input[type=email]:focus,
		.label>input[type=tel]:focus,
		.label>input[type=password]:focus,
		.label>input[type=date]:focus,
		.label>textarea:focus{
			outline: none;
			box-shadow: inset 0 0 0 2px #3D4644;
		}

		form label>textarea,
		.label>textarea{
			height: 84px;
		}
		form label>textarea.autogrow{
			height: 50px;
			min-height: 50px;
			max-height: 300px;
			resize: none;
			overflow-y: auto;
			tab-size: 4;
		}

		form label>span,
		.label>span{
			display: block;
			position: absolute;
			top: 0;
			left: 0;
			font-size: 13px;
			line-height: 1em;
			font-weight: bold;
			text-transform: uppercase;
		}

		form>button{
			margin-top: 30px;
/*			width: 100%;*/
		}
		form>button:hover{
			background:#FFFFFF;
		}

	form .select,
	#popup form div:has(>.dropsx){
		position: relative;
		display: block;
/*		border:1px solid black;*/
		line-height: 25px;
		background: #EDEDED;
		height: 50px;
		border-radius: 5px;

		width: 100%;
	}

		form .select>select{
			display: block;
			width: 100%;
			height: 100%;
			border:none;
			border-radius: 0;
			height: 50px;
			background: transparent;
			-webkit-appearance:none;
			padding: 0 10px;
			padding-right: 35px;

			color: #3D4644;
			font-size: 18px;
			font-weight: 500;

			font-family: "museo-sans", sans-serif;
		}		

		form .select>select[disabled]{
			opacity: .5;
			background: #AAA;
		}

		form .select::before{
			content: "";
			position: absolute;
			top: 0;
			right: 0;
			display: block;
			width: 50px;
			height: 50px;
			background-color: #EDEDED;
			background-image:url(medias/down.svg);
			background-repeat: no-repeat;
			background-position: 50% 50%;
			text-align: center;
			pointer-events: none;
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
		}

		form label:has(input[type=date])::before{
			content: "";
			position: absolute;
			bottom: 0;
			right: 0;
			display: block;
			width: 50px;
			height: 50px;
/*			background-color: #EDEDED;*/
			background-image:url(medias/cal.svg);
			background-repeat: no-repeat;
			background-position: 50% 50%;
			text-align: center;
			pointer-events: none;
			border-top-right-radius: 5px;
			border-bottom-right-radius: 5px;
		}

	form ul.list{
		list-style: none;
		margin: 0;
		padding: 0;
		display: inline-block;
	}

		form ul.list{
			display: inline-block;
			display: flex;
			gap: 10px;
			flex-wrap: wrap;
		}

			form ul.list>li{
				display: inline-block;
				border:1px solid black;
				border-radius: 3px;
			}

				form ul.list>li>label{
					margin: 0;
					padding: 0;
				}

					form ul.list input{
						display: none;
					}

					form ul.list div{
						font-size: 0;
						padding: 5px;
					}
						form ul.list div::before{
							text-indent: 0;
							display: block;
							font-size: 32px;
						}

					form ul.list li:hover div{
/*						background: #EEE;*/
						box-shadow: inset 0 0 0 3px #000;
						cursor: pointer;
					}

					form ul.list input:checked+div{
						background: var(--activeColor);
						color:#FFFFFF;
					}


ul.breadcrumbs{
	list-style: none;
	margin: 5px 0;
	padding: 0;
	display: flex;
	align-items: center;
	line-height: 30px;
}

	ul.breadcrumbs>li{
		font-size: 16px;
		font-weight: 700;

		display: flex;
		align-items: center;
	}

	ul.breadcrumbs>li:last-child{
		color: #C92A2B;
		font-size: 24px;
		font-weight: 700;
	}

		ul.breadcrumbs>li::after{
			content: "/";
			font-size: 24px;
			font-weight: 700;
			margin: 0 8px;
		}
		ul.breadcrumbs>li:last-child::after{
			content: "";
			display: none;
		}

		ul.breadcrumbs>li:last-child:has(input:checked){
			text-decoration-line: line-through;
/*			color:#3D4644;*/
			color: rgba(201, 42, 43, 0.4);
		}

		input#renameOpt{
			width: 20px;
			height: 20px;
			background: fuchsia;
			display: block;
			border:none;
			border-radius: 0;
			-webkit-appearance:none;
			background: url(medias/edit.svg);
			background-position: 50% 50%;
			background-repeat: no-repeat;
			opacity: .4;
			cursor: pointer;
		}
		input#renameOpt:hover,
		input#renameOpt:checked{
			opacity: 1;
		}

		#editbox{
			margin: -10px 0 -10px 10px;
			padding: 0;
			display: none;
		}
		input#renameOpt:checked+#editbox{
			display: block;
		}

			#editbox::before{
				content: "";
				width: 20px;
				height: 20px;
				display: block;
				position: absolute;
				top: 50%;
				left: -10px;
				background:#EDEDED;
				border-radius: 0 100% 0 5px;
				transform: translateY(-50%) rotate(45deg);
			}

			#editbox:has(input:focus)::before{
				border: 2px solid #3D4644;
				border-top: 0;
				border-right: 0;
				z-index: 3;
			}

			#renameField{
				position: relative;
				z-index: 2;
			}


ul.timeline{
	display: flex;
	margin: 35px 0;
	padding: 0;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(currentColor, currentColor);
	background-size: 100% 2px;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	height: 50px;
	width: 100%;

	text-transform: uppercase;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;

	justify-content: stretch;
	box-sizing: border-box;
}

/*	ul.timeline::before,
	ul.timeline::after{
		content: "";
		display: block;
		width: 4px;
		height: 100%;
		background: currentColor;
	}*/

	ul.timeline>li{
		flex: 1 1 20%;
		list-style: none;
		border-left: 1px solid currentColor;
		height: 50px;
		font-size: 10px;
		font-weight: 700;

		padding: 0 8px;

		display: flex;
/*		flex-direction: column;*/
		justify-content: space-between;
		align-items: center;
/*		flex-wrap: wrap;*/
		white-space: nowrap;
	}
	ul.timeline>li:first-child{
		border-left:0;
	}

		ul.timeline>li label{
			margin: 0;
			padding: 0;
			padding-bottom: 7px;
			flex: 0 0 50%;
			box-sizing: border-box;
		}

		ul.timeline>li time{
			font-size: 13px;
			padding-top: 7px;

			flex: 0 0 50%;
			box-sizing: border-box;
		}

		ul.timeline>li>div.miniinfobox{
			text-transform: none;
			/*flex: 0 0 40%;
			display: flex;
			align-items: center;
			justify-content: center;
			border: 2px solid currentColor;
			background: #FFFFFF;
			border-radius: 10px;
			padding: 5px 10px;
			margin-left: 10px;*/

			margin-left: 10px;
		}

			ul.timeline>li>div.miniinfobox a{
				display: block;
/*				border: 2px solid currentColor;*/
/*				padding: 5px 10px;*/
/*				border-radius: 10px;*/
/*				background: #FFFFFF;*/
			}

ul.checkboxes{
	display: block;
	margin: 0 -10px;
	padding: 0;
	list-style: none;
/*	columns: 4;*/

	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	gap: 5px 10px;
}

	ul.checkboxes>li{
/*		float: left;*/
/*		width: 25%;*/
		padding: 5px 10px;
	}

		ul.checkboxes>li>label{
			margin: 0;
			padding: 0;
		}

			ul.checkboxes>li>label>input{
				display: none;
			}

			ul.checkboxes>li>label>span{
				background-image: url(medias/check.svg);
				background-size: 20px 20px;
				background-repeat: no-repeat;
				background-position: 0 50%;
				padding:.25em 0 .25em 30px;
				min-height: 20px;
				position: static;
				display: flex;
				flex-direction: column;
				align-items: center;
				justify-content: center;
				position: relative;
			}
			ul.checkboxes>li>label>span:has(>span){
				margin-bottom: 31px;
			}

				ul.checkboxes>li>label>span>span{
					text-transform: none;
					margin-top: 5px;
					align-self: start;
					font-weight: normal;
					color: #3D4644;

					position: absolute;
					top: 100%;
					left: 30px;

					white-space: nowrap;
				}
			ul.checkboxes>li>label>span:hover{
				background-image: url(medias/check2.svg);
				cursor: pointer;
			}
			ul.checkboxes>li>label>input:checked+span{
				background-image: url(medias/checked.svg);
				background-image: url(medias/checkedRed.svg);
/*				opacity: .4;*/
				color:#999999;
			}
			ul.checkboxes>li>label>input:checked+span:hover{
				background-image: url(medias/checked2.svg);
			}

			#popup ul.checkboxes>li>label>input+span{
				color: #999999;
			}
			#popup ul.checkboxes>li>label>input:checked+span{
				color: #000000;	
			}

	ul.checkboxes::after{
		content: "";
		display: block;
		clear:both;
	}

div.table{
	max-width: calc(100vw - 40px);
	margin: 0 -20px;
	padding: 0 20px;
	width:100%;
	height: auto;
	overflow: auto;
	min-height: 100%;
}

table{
	width: 100%;
	border-collapse: collapse;
}

	table .toggleTable{
		font-size: 10px;
	}
	table .toggleTable,
	table .toggleRow,
	table .toggleCol{
		cursor: pointer;
	}

	table thead{

	}

		table thead tr{
		}

			table thead tr th,
			table thead tr td{
				text-align: left;
				padding: 18px;

				line-height: 1em;
				font-size: 13px;
				font-weight: 700;
				text-transform: uppercase;

				border-left: 2px solid #171A19;
			}
			table thead tr th{
				background:#3D4644;
				color: #FFFFFF;
			}
			table thead tr th:first-child{
				border-top-left-radius: 10px;
				border-left: 0;
			}
			table thead tr th:last-child{
				border-top-right-radius: 10px;
			}
			table thead tr td{

			}

	table tbody{
		font-size: 16px;
		font-weight: 700;
	}

		table tbody tr{

		}
		table tbody tr.state_archived{
			opacity: .5;
			background: #EEE;
		}

		table tbody tr:last-child{
			border-bottom: 2px solid #EDEDED;
		}

			table tbody tr th,
			table tbody tr td{
				border-left: 2px solid #EDEDED;
				padding: 18px;
			}
			table tbody tr th{
				text-align: left;
				font-weight: normal;
			}
			table tbody tr td{

			}

				table tbody tr td em{
					font-weight: normal;
					opacity: .5;
				}

			table tbody tr td.smaller{
				padding: 8px;
			}

			table tbody tr td.smalltext{
				padding: 8px;
				font-size: 12px;
			}


			table tbody tr td.small{
				font-weight: normal;
				padding: 9px 18px;
			}

				table tbody tr td.small>div.state{
					margin-top: 10px;
					display: inline-block;
					font-size: 13px;
/*					text-transform: uppercase;*/
/*					font-weight: bold;*/
					color: #888;
				}
				table tbody tr td.small>div.state{
					display: block;
				}

					table tbody tr td.small>div.state>a{
						opacity: .8;
/*						text-decoration: underline;*/
					}
					table tbody tr td.small>div.state>a:hover{
						opacity: 1;
					}

					table tbody tr td.small>div.state>a+a{
						margin-left: 1em;
					}

			table tbody tr:nth-child(odd) th,
			table tbody tr:nth-child(odd) td{
				background: #EDEDED;
				border-left: 2px solid #D2D3D3;
			}

			table tbody tr th:first-child,
			table tbody tr td:first-child{
				border-left: 2px solid #EDEDED;
			}
			table tbody tr th:last-child,
			table tbody tr td:last-child{
				border-right: 2px solid #EDEDED;
			}

	table tbody tr td[colspan],
	table tbody tr:nth-child(odd) td[colspan],
	table tbody tr:nth-child(even) td[colspan]{
		background: #D2D3D3;
		padding: 9px 18px;
/*		text-transform: uppercase;*/
	}

				table tbody tr th span,
				table tbody tr td span{
					line-height: 15px;
					font-size: 12px;
					text-transform: uppercase;
				}

				table tbody tr th span.infoboxheader,
				table tbody tr td span.infoboxheader{
					display: block;
/*					margin-left: 10px;*/
/*					color: var(--accentColor);*/
					opacity: .5;
				}

				table tbody tr th .miniinfobox+span.infoboxheader,
				table tbody tr td .miniinfobox+span.infoboxheader{
					margin-left: 10px;
				}


				table tbody tr th a,
				table tbody tr td a{

				}

					div.nb{
						float:right;
						background: #BBBBBB;
						font-size: 12px;
						font-weight: bold;
						text-transform: uppercase;
						line-height: 22px;
						width: 22px;
						text-align: center;
						border-radius: 20px;
					}

	table tbody tr.permission-parent{
		position: sticky;
		top: 75px;
		z-index: 1;
	}

		table tbody tr.permission-parent>th,
		table tbody tr.permission-parent>td{
			background: #D2D3D3 !important;
		}


	table tbody.permission-group.par:not(:has(~ tbody.permission-group.par ~ tbody.sub.open)):has(~ tbody.permission-group.is-open) tr.permission-parent{
	/*table tbody:has(> tr:first-child.permission-parent):not(:has(~ tbody:has(> tr:first-child.permission-parent) ~ tbody:has(> tr:first-child.permission-sub.is-open))):has(~ tbody:has(> tr:first-child.permission-sub.is-open)) tr.permission-parent {*/
		position: static;
	}

		table tbody tr.permission-parent>th{
			font-weight: bold;
		}

/*	table tbody tr.permission-sub{
		z-index: 1;
		position: relative;
	}
	table tbody.is-open tr.permission-sub{
		position: sticky;
		top: 75px;
	}*/

		table tbody tr.permission-sub>th{
			padding-left: 27px;
			white-space: nowrap;
		}
		table tbody tr.permission-sub>th,
		table tbody tr.permission-sub>td{
			background: #EDEDED !important;
		}

			table tbody tr.permission-sub>th::before{
				content: "↳";
				opacity: .65;
				display: inline-block;
				font-weight: bold;
				padding-right: .25em;
			}


	table tbody.permission-group{
		--bg: #EDEDED;
	}
	table tbody.permission-group.par{
		--bg: #D2D3D3;
	}

	table tbody.permission-group,
	table tbody.permission-group>tr:last-child,
	table tbody.permission-group>tr:last-child>td,
	table tbody.permission-group>tr:last-child>th{
		border-bottom: 2px solid currentcolor !important;
	}

	/* Writable fields of a permission, shown with "Gérer les champs" */
	table tbody.permission-group:not(.is-open) tr.permission-field{
		display: none;
	}

		table tbody tr.permission-field>th,
		table tbody tr.permission-field>td{
			/*background: #F2F4F3;*/
			padding-top: 6px;
			padding-bottom: 6px;
			background-color: #FFF !important;
			border-color: var(--bg) !important;
		}

		table tbody tr.permission-field+tr.permission-field>th,
		table tbody tr.permission-field+tr.permission-field>td{
			border-top: 2px solid var(--bg) !important;
		}


		/*table tbody tr:nth-child(odd) th, table tbody tr:nth-child(odd) td{*/
			/*background: #DCDCDC;*/
		/*}*/

		table tbody tr.permission-field>th{
			padding-left: 70px;
			font-weight: normal;
			background-image: linear-gradient(var(--bg));
			background-size: 40px 100%;
			background-repeat: no-repeat;
		}
		table tbody.permission-group.par tr.permission-field>th{
			padding-left: 50px;
			background-size: 20px 100%;
		}

		table tbody tr.permission-field-unrestricted>th{
			font-style: italic;
		}

	table .apifields-toggle{
		margin-left: 10px;
		font-size: 11px;
		padding: 2px 8px;
		opacity: .5;
	}
	table .apifields-toggle:hover{
		cursor: pointer;
		color: var(--accentColor);
	}

	.apifields-toggle::before{
		content: "(";
	}
	.apifields-toggle::after{
		content: ")";
	}

table .miniinfobox{
	display: inline-block;
}



button,
.button{
	--color:#C92A2B;

	display: block;
	width: 100%;
	border:2px solid var(--color);
	border-radius:10px;
	line-height: 20px;
	padding: 8px;
	color: #FFF;
	background: var(--color);
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	text-transform: uppercase;
}
button.danger,
.button.danger{
	--color:#3D4644;
}
button.disabled,
.button.disabled{
	opacity: .5;
	filter: grayscale(1);
	pointer-events: none;
}

button.add,
.button.add{
	width: 20px;
	height: 20px;
	text-align: center;
	font-size: 28px;

	color: transparent;
	background-image: url(medias/add.svg);
	background-position: 50% 50%;
	background-size: auto 20px;
	background-repeat: no-repeat;
}

button.save,
.button.save{
	width: 20px;
	height: 20px;
	text-align: center;
	font-size: 28px;
	background: #3D4644;
	border-color: #3D4644;
	position: relative;

	margin-right: 10px;

	color: transparent;
	background-image: url(medias/save.svg);
	background-position: 50% 50%;
	background-size: auto 20px;
	background-repeat: no-repeat;
}
button.save:hover,
.button.save:hover{
	background-color: #3D4644;
}


button.big,
.button.big{
	line-height: 80px;
	text-align: center;
}

button.float,
.button.float{
	float:right;
	margin-top: -22px;
}

button.inline,
.button.inline{
	display: inline-block;
	margin: 0 1em 1em 0;
	width: auto;
}


button.export,
.button.export{
	width:20px;
	height: 20px;

	width: 30px;
	height: 30px;
	margin: -5px 0;

	text-align: center;
	font-size: 0;
	text-indent: -999px;
	margin-right: 10px;
/*	width: 68px;*/
	background-image: url(medias/export.svg);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border:2px solid #3D4644;
	background-color:transparent;
	border-radius: 100%;
	flex: 0 0 auto;
}
button.export:hover,
.button.export:hover{
	background-color: #EEE;
}

button.inv,
.button.inv{
	background: transparent;
	color: var(--color);	
}
button.inv:hover,
.button.inv:hover{
	background: var(--color);
	color: #FFF;
}

button[disabled]{
	opacity: .5;
	pointer-events: none;
	filter: grayscale(1);
}

main header a#print{
	margin: -5px 0px;
	width:46px;
	height: 46px;
	text-align: center;
	font-size: 0;
	text-indent: -999px;
	background-image: url(medias/print.svg);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: 25px auto;
	border:2px solid #3D4644;
	background-color:transparent;
	border-radius: 100%;
	flex: 0 0 auto;
	position: relative;
	margin-right: 10px;
}

main header a#print:hover{
	background-color: #EEE;
	cursor: pointer;
}

main header a.todocount{
	margin: -5px 0px;
	width:46px;
	height: 46px;
	text-align: center;
	font-size: 0;
	text-indent: -999px;
	background-image: url(medias/bell.svg);
	background-repeat: no-repeat;
	background-position: 50% 50%;
	border:2px solid #3D4644;
	background-color:transparent;
	border-radius: 100%;
	flex: 0 0 auto;
	position: relative;
}
main header a.todocount:hover{
	background-color: #EEE;
}

	main header a.todocount .nb{
		width: 16px;
		height: 16px;
		position: absolute;
		top: 0;
		right: 0;
		border-radius: 100%;
		background: #C92A2B;
		color:#FFFFFF;
		font-size: 10px;
		font-weight: 700;
/*		line-height: 16px;*/
/*		text-align: center;*/
		text-indent: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		line-height: 1em;
	}

	main header a.todocount .nb.self{

	}
	main header a.todocount .nb.noself{
		background: #3D4644;
	}


button:hover,
.button:hover{
	cursor: pointer;
	background-color: transparent;
	color: var(--color);
	text-decoration: none;
}

div.withInfo{
	display: flex;
	justify-content: space-between;
	margin: -20px;
	width: auto;
	height: 100%;
	height: calc(100% - 20px);
}

	div.withInfo>*{
		padding: 20px;
		box-sizing: border-box;
		overflow: auto;
	}

	div.withInfo>form{
		width:100%;
	}

	div.withInfo>aside{
		flex: 300px 0 0;
		background: #EEE;
	}

		div.withInfo>aside ul.logs{
			margin:0;
			padding: 0;
			display: block;
			list-style: none;

			margin-top: 20px;
		}

			div.withInfo>aside ul.logs>li{
				display: block;
				border-top:2px solid #FFF;
				padding: 10px 0;
			}

				div.withInfo>aside ul.logs>li>span{
					font-size: 12px;
					display: block;
					font-weight: normal;
					padding-bottom: 3px;
				}



ul.contacts{
	margin: 0;
	padding: 0;
	list-style: none;
	column-count: 2;
	margin-top: -10px;
}

	ul.contacts>li{
		margin: 0;
		padding: 0;
		page-break-inside: avoid;
		break-inside: avoid;
		padding-top: 10px;
		position: relative;
	}

		ul.contacts>li>.delete{
			display: none;
			position: absolute;
			top: 12px;
			right:1px;

			width: 50px;
			height: 50px;
			line-height: 50px;
			text-align: center;
			background-image: url(medias/x.svg);
			background-color: rgba(255,255,255,.5);
			background-position: 50% 50%;
			background-repeat: no-repeat;
			color: transparent;
			cursor: pointer;
			z-index: 5;
			border-top-right-radius: 10px;
		}

		ul.contacts>li:hover>.delete{
			display: block;
		}
		ul.contacts>li:hover:has(.delete)>div.infobox>div>header{
			padding-right:50px !important;
		}

		ul.contacts>li>div.infobox{

		}

			ul.contacts>li>div.infobox>span{
				display: none;
			}

			ul.contacts>li>div.infobox>div{
				margin: 0;
			}

ul.contacts+.empty{
	display: none;
}
ul.contacts:empty{
	display: none;
}
ul.contacts:empty+.empty{
	display: block;
}

.miniinfobox{
	position: relative;
}
	.miniinfobox>div.small{
		font-size: 16px;
		font-weight: 700;
/*		text-transform: uppercase;*/
		border-radius: 10px;
		border:2px solid currentColor;
		background: #FFFFFF;
/*		padding: 5px 10px;*/
		padding: 0;
	}
	table .miniinfobox>div.small{
		border-color:rgba(61, 70, 68, .1);
		background: transparent;
	}

		.miniinfobox>div.small a{
			white-space: nowrap;
			max-width: 200px;
			text-overflow: ellipsis;
			overflow: hidden;
		}

		table .miniinfobox>div.small a{
			white-space: normal;
		}
		table .miniinfobox>div.small a.disabled{
			pointer-events: none;
			border-color: transparent;
		}

		.miniinfobox>div.small>a,
		.miniinfobox>div.small>div.a{
			padding: 5px 10px;
			display: block;
		}

		.miniinfobox>div.small>div.a{
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
		}

	.miniinfobox>div.big{
		position: absolute;
		top: 0;
		left: 0;
		pointer-events: none;
		opacity: 0;
		transform-origin: 0 0;
		transition: transform .5s, opacity .5s;
		transform: scale(.2);
/*		background: #FFFFFF;*/
		z-index: 2;
	}

	/* last 5 rows should open from top-left (to bottom-right) */
	tr:last-child:not(:first-child) .miniinfobox>div.big,
	tr:nth-last-child(2):not(:first-child) .miniinfobox>div.big,
	tr:nth-last-child(3):not(:first-child) .miniinfobox>div.big,
	tr:nth-last-child(4):not(:first-child) .miniinfobox>div.big,
	tr:nth-last-child(5):not(:first-child) .miniinfobox>div.big{
		transform-origin: 0% 100%;
		top: auto;
		bottom: 0;
	}

	/* last 2 cols should open from top-right (to bottom-left) */
	td:last-child .miniinfobox>div.big,
	th:last-child .miniinfobox>div.big,
	td:nth-last-child(2) .miniinfobox>div.big,
	th:nth-last-child(2) .miniinfobox>div.big{
		transform-origin: 100% 0;
		left: auto;
		right: 0;
	}

	/* last 2 cols of last 5 rows should open from bottom-left (to top-left) */
	tr:last-child:not(:first-child) td:last-child .miniinfobox>div.big,
	tr:last-child:not(:first-child) th:last-child .miniinfobox>div.big,
	tr:nth-last-child(2):not(:first-child) td:last-child .miniinfobox>div.big,
	tr:nth-last-child(2):not(:first-child) th:last-child .miniinfobox>div.big,
	tr:nth-last-child(3):not(:first-child) td:last-child .miniinfobox>div.big,
	tr:nth-last-child(3):not(:first-child) th:last-child .miniinfobox>div.big,
	tr:nth-last-child(4):not(:first-child) td:last-child .miniinfobox>div.big,
	tr:nth-last-child(4):not(:first-child) th:last-child .miniinfobox>div.big,
	tr:nth-last-child(5):not(:first-child) td:last-child .miniinfobox>div.big,
	tr:nth-last-child(5):not(:first-child) th:last-child .miniinfobox>div.big,

	tr:last-child:not(:first-child) td:nth-last-child(2) .miniinfobox>div.big,
	tr:last-child:not(:first-child) th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(2):not(:first-child) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(2):not(:first-child) th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(3):not(:first-child) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(3):not(:first-child) th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(4):not(:first-child) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(4):not(:first-child) th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(5):not(:first-child) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-last-child(5):not(:first-child) th:nth-last-child(2) .miniinfobox>div.big{
		transform-origin: 100% 100%;
		left: auto;
		right: 0;
		top: auto;
		bottom: 0;
	}











	/* last 2 cols of first 3 rows should open from top-right (to bottom-left) */
	tr:first-child td:last-child .miniinfobox>div.big,
	tr:first-child th:last-child .miniinfobox>div.big,
	tr:first-child td:nth-last-child(2) .miniinfobox>div.big,
	tr:first-child th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-child(2) td:last-child .miniinfobox>div.big,
	tr:nth-child(2) th:last-child .miniinfobox>div.big,
	tr:nth-child(2) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-child(2) th:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-child(3) td:last-child .miniinfobox>div.big,
	tr:nth-child(3) th:last-child .miniinfobox>div.big,
	tr:nth-child(3) td:nth-last-child(2) .miniinfobox>div.big,
	tr:nth-child(3) th:nth-last-child(2) .miniinfobox>div.big,

	ul.timeline>li:last-child .miniinfobox>div.big{
		transform-origin: 100% 0;
		left: auto;
		right: 0;
		bottom: auto;
		top: 0;
	}




	/* last 5 rows of last table should open from top-left (to bottom-right) */
	table.infobottom:last-child tr:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(3) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(4) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(5) .miniinfobox>div.big{
		transform-origin: 0% 100%;
		top: auto;
		bottom: 0;
	}

	/* last 2 cols of last table should open from top-right (to bottom-left) */
	table.infobottom:last-child td:last-child .miniinfobox>div.big,
	table.infobottom:last-child th:last-child .miniinfobox>div.big,
	table.infobottom:last-child td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child th:nth-last-child(2) .miniinfobox>div.big{
		transform-origin: 100% 0;
		left: auto;
		right: 0;
	}

	/* last 2 cols of last 5 rows of last table should open from bottom-left (to top-left) */
	table.infobottom:last-child tr:last-child td:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:last-child th:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(2) td:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(2) th:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(3) td:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(3) th:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(4) td:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(4) th:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(5) td:last-child .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(5) th:last-child .miniinfobox>div.big,

	table.infobottom:last-child tr:last-child td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:last-child th:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(2) td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(2) th:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(3) td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(3) th:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(4) td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(4) th:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(5) td:nth-last-child(2) .miniinfobox>div.big,
	table.infobottom:last-child tr:nth-last-child(5) th:nth-last-child(2) .miniinfobox>div.big{
		transform-origin: 100% 100%;
		left: auto;
		right: 0;
		top: auto;
		bottom: 0;
	}





		.miniinfobox>div.big>div.infobox{

		}

			.miniinfobox>div.big>div.infobox>span{
				display: none;
			}

			.miniinfobox>div.big>div.infobox>div{
				margin: 0;
				background: #FFFFFF;
				min-width: 400px;
			}

	.miniinfobox:hover>div.big{
		opacity: 1;
		transform: scale(1);
		transition: transform .1s, opacity .1s;
	}
	#comments .miniinfobox:hover>div.big{
		transform: scale(.85);
	}

	 .infobottom .miniinfobox>div.big{
	 	transform-origin: 0 100%;
	 	top: auto;
	 	bottom:0;
	 }

.infobox{
	font-size: 14px;
	line-height: 1;
}

	.infobox>span{
		font-size: 12px;
		font-weight: 900;
		color: var(--accentColor);
		text-transform: uppercase;
	}

	.infobox>div{
		border:2px solid #3D4644;
		border-radius: 10px;
		padding: 15px 20px;
		margin-top: 10px;
	}

		.infobox>div>header,
		body>main>div#main>div form .infobox>div>header{
			margin: -15px -20px 15px -20px;
			padding: 15px 20px;
			border-bottom: 2px solid #EDEDED;
			border-top: 0;

			display: flex;
			justify-content: space-between;
		}

			.infobox>div>header>*:first-child{
				font-size: 16px;
				font-weight: 700;
			}

			.infobox>div>header>*:last-child{
				font-size: 12px;
				font-weight: 900;
				text-transform: uppercase;
			}

			.infobox>div>header span.class,
			body>main>div#main>div form .infobox>div>header span.class,
			.infobox>div ul.col2>li span.class,
			.infobox>div>header .infobox>div ul.col2>li span.class{
				font-size: 8px;
				line-height: 2em;
				min-width: 2em;
				box-sizing: border-box;
				text-align: center;
				border: 1px solid currentColor;
				display: inline-flex;
				align-items: center;
				justify-content: center;
				margin-left: 1em;
				border-radius: 1em;
				vertical-align: bottom;
			}

		.infobox>div hr{
			border:none;
			height: 2px;
			width: auto;
			background: #EDEDED;
			margin: 15px -20px;
		}

		.infobox>div ul{
			display: block;
			list-style: none;
			margin: 0;
			padding: 0;
			font-size: 14px;
			font-weight: 500;
		}

			.infobox>div ul>li{

			}

			.infobox>div ul>li.big{
				font-size: 14px;
				font-weight: 700;
			}

			.infobox>div ul>li.small{
				font-size: 12px;
			}

		.infobox>div ul.col2{
			columns: 2;
		}

			.infobox>div ul.col2>li{
				break-inside: avoid;
				page-break-inside: avoid;
			}

		.infobox>div ul.dataset{
			margin-bottom: -10px;
			line-height: 1em;
		}

			.infobox>div ul.dataset>li{
				padding-bottom: 10px;
			}

				.infobox>div ul.dataset>li>label{
					display: block;
/*					color: var(--accentColor);*/
					font-size: 12px;
					font-weight: 900;
/*					text-transform: uppercase;*/
					margin:0;
					padding: 0;
					line-height: 1em;
				}

				.infobox>div ul.dataset>li>span{
					display: block;
				}

				.infobox>div ul.dataset>li>span.small{
					font-size: 12px;
				}

		.infobox>div ul:empty{
			columns: 1;
		}

			.infobox>div ul:empty::before{
				content: "Aucune information disponible";
				font-style: italic;
			}


/*
table.stats{
	margin: 0 auto;
}

	table.stats tr{
		
	}

		table.stats tr td,
		table.stats tr th{
			padding: 5px;
		}

		table.stats tr td:first-child,
		table.stats tr th:first-child{
			border-radius: 5px 0 0 5px;
		}

		table.stats tr td:last-child,
		table.stats tr th:last-child{
			border-radius: 0 5px 5px 0;
		}

		table.stats tr th{
			text-align: left;
		}

	table.stats thead{
		
	}

		table.stats thead tr{
			
		}

			table.stats thead tr td,
			table.stats thead tr th{
				text-align: center;
			}

	table.stats tbody tr:nth-child(even){
		background: #EEE;
	}

		table.stats tbody tr td:nth-child(even),
		table.stats tbody tr th:nth-child(even){
			background: #EEEEEE;
		}

		table.stats tbody tr:nth-child(even) td{
			
		}

		table.stats tbody tr:nth-child(even) td:nth-child(even),
		table.stats tbody tr:nth-child(even) th:nth-child(even){
			background: #DDD;
		}

		table.stats tbody tr:nth-child(odd):first-child td:nth-child(even),
		table.stats tbody tr:nth-child(odd):first-child th:nth-child(even){
			border-radius: 5px 5px 0 0;
		}

		table.stats tbody tr:nth-child(odd):last-child td:nth-child(even),
		table.stats tbody tr:nth-child(odd):last-child th:nth-child(even){
			border-radius: 0 0 5px 5px;
		}
*/

div#login{
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	max-width: none;
	height: 100vh;
	margin-top: -100px;
	padding: 0;
}

	div#login strong.danger{
		color:#C92A2B;
	}

	div#login>img{
		display: block;
		margin: 0 auto;
		margin-bottom: 50px;
	}

	div#login>form{
		width: 240px;
	}



fieldset{
	border-radius:10px;
	border:2px solid currentColor;
	padding: 20px 40px 30px 40px;
	margin: 20px 0;
	padding-top: 10px;
}

	fieldset legend{
		font-size: 12px;
		text-transform: uppercase;
		font-weight: bold;
	}









div#popup{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	background: #EDEDED;
	background: rgba(237, 237, 237, 0.8);
	z-index: 999;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

	div#popup>div{
		border-radius: 10px;
		border: 2px solid #3D4644;
		background: #FFFFFF;
		width: 75vw;
		max-width: 800px;
		min-width: 500px;
/*		height: 50vh;*/
		max-height: 95vh;
		position: relative;
	}
	div#popup>div:has(iframe){
		max-width:1200px;
	}

		#closePopup{
			display: block;
			position: absolute;
			top: 0;
			right: 0;
			width: 50px;
			height: 50px;
			line-height: 50px;
			text-align: center;
			background: url(medias/x.svg);
			background-position: 50% 50%;
			background-repeat: no-repeat;
			color: transparent;
			cursor: pointer;
			z-index: 5;
		}

		#closePopup2{
			--color:#000000;
			margin-top: 10px;
			text-align: center;
			width: auto;

			position: sticky;
			bottom: 0;
		}
		#closePopup2:hover{
			background: #FFFFFF;
		}

		div#popup>div>div{
			max-height: 100%;
			overflow: auto;
			padding: 0 45px;
			border-radius: 10px;
		}

			div#popup>div>div>header,
			div#popup>div>div>footer{
				margin: 0px -45px;
				position: sticky;
				padding: 0 45px;
				line-height: 60px;
				display: flex;
				justify-content: space-between;
				align-items: center;
				z-index: 2;
				background: #FFFFFF;
			}

			div#popup>div>div>header{
				top: 0px;
				border-bottom: 2px solid #EDEDED;
				margin-bottom: 30px;
				padding-top: 10px;
				padding-bottom: 10px;
			}

				div#popup>div>div>header>h1{
					margin: 0;
					padding: 0;

					font-size: 24px;
					font-weight: 700;
				}

				div#popup>div>div>header>div{
					display: flex;
				}

			div#popup>div>div>h2,
			div#popup>div>div>.thirds h2{
				font-size: 13px;
				font-weight: 700;
				text-transform: uppercase;
			}

			div#popup>div>div>.thirds h2{
				margin-top: 0;
			}

			div#popup>div>div>.thirds{
				align-items: stretch;
			}

				ul.selectlist{
					display: block;
					margin: 0;
					padding: 0;
					margin-bottom: 45px;
					font-size: 16px;
					clear:both;
				}

					ul.selectlist>li{
						display: flex;
						margin: 0;
						padding: 10px 20px;
						margin-top: 5px;
						border-radius: 10px;
						border: 2px solid #3D4644;
						align-items: center;
					}
					ul.selectlist>li.active{
						border-color:#C92A2B;
						color: #C92A2B;
					}

						ul.selectlist>li>*{
							flex: 0 0 auto;
						}

						ul.selectlist>li>*.caps{
							text-transform: uppercase;
							font-size: 12px;
							font-weight: 900;
						}

						ul.selectlist>li>*:first-child{
							flex: 1 1 auto;
						}

						ul.selectlist>li>.button:last-child{
							margin: -5px -15px -5px 15px;
							width: auto;
						}

				ul.selectlist.small{
					font-size: 14px;
				}

					ul.selectlist.small>li{
						flex-direction: column;
						align-items: flex-start;
						padding: 10px;
					}

						ul.selectlist.small>li>*:first-child{
							font-weight: 700;
						}

						ul.selectlist.small>li>.button{
							margin: 15px 0 0 0;
							width: auto;
							align-self: flex-start;
						}


			div#popup>div>div>*:last-child:not(footer){
				margin-bottom: 30px;
			}

			div#popup>div>div>footer{
				margin-top: 30px;
				bottom: 0px;
				border-top: 2px solid #EDEDED;
				padding-top: 20px;
				padding-bottom: 20px;
			}

				div#popup>div>div>footer a,
				div#popup>div>div>footer button{
					width: auto;
					text-align: center;
				}

			div#popup>div>div>iframe{
				display: block;
				margin:0 -45px;
				width: auto;
				width: calc(100% + 90px);
				height: calc(80vh);
				max-height: 1000px;
				border: none;
				margin-bottom: 0 !important;
			}


	div#todo{
		width: 100%;
	}

		div#todo>div{
			margin-top:20px;
		}

			div#todo div h2{
/*				position: sticky;*/
/*				top: 100px;*/
				padding: 0;
				margin: 20px 0 10px 0;
/*				background: rgba(255,255,255,.8);*/

				font-size: 24px;
				font-weight: normal;
			}

		div#todo div:first-child{
			margin-top: 0;
		}

			div#todo div:first-child h2{
				margin-top: 0;
			}

			ul.todolist{
				display: block;
				margin: 0;
				padding: 0;
			}

				ul.todolist>li{
					display: flex;
					border:2px solid #EDEDED;
					border-radius: 10px;
				}
				ul.todolist>li+li{
					margin-top: 6px;
				}

				ul.todolist>li.deleted{
					opacity: .5;
					filter: grayscale(1);
				}

					ul.todolist>li>div{
						padding: 15px 45px;
						flex: 0 0 50%;
						box-sizing: border-box;
					}

					ul.todolist>li>div.todo{
						display: flex;
						flex-direction: column;
						justify-content: space-between;
					}
					ul.todolist>li>div.todo:last-child{
						flex-grow: 1;
					}

						ul.todolist>li>div>div.info>div{
							clear:both;
						}

						ul.todolist>li>div>div.info>.title{
							color: var(--accentColor);
							font-size: 12px;
							font-weight: 900;
							text-transform: uppercase;
							float:left;
							clear: none;
							line-height: 15px;
						}

						ul.todolist>li>div>div.info>.user{
							float:right;
							font-weight: 600;
							font-size: 14px;
							opacity: .7;
							clear: none;
							line-height: 15px;
						}

						ul.todolist>li>div>div.actions{
							margin: 10px -45px -15px -45px;
							border-top:2px solid #EDEDED;
							padding: 10px 45px;

							display: flex;
							justify-content: space-between;
							align-items: center;
						}

							ul.todolist>li>div>div.actions>a:not(.button){
								font-size: 14px;
								text-decoration: underline;
							}

							ul.todolist>li>div>div.actions .button{
								width: auto;
							}

					ul.todolist>li>div.info{
						border-left: 2px solid #EDEDED;
					}

					div#popup ul.todolist>li>div{
						padding: 20px;
					}

						div#popup ul.todolist>li>div>div.actions{
							margin-left: -20px;
							margin-right: -20px;
							padding-left: 20px;
							padding-right: 20px;
						}




.fakebtns{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

	.fakebtns>div{
		flex: 1 1 40%;
		min-width: 300px;
		border: 2px solid #888;
		border-radius: 5px;
		padding: 20px;
		box-sizing: border-box;
	}

	.fakebtns>div:hover{
		cursor: pointer;
		box-shadow:inset 0 0 0 5px var(--activeColor);
		border-color: var(--activeColor);
	}


#pager{
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

	#pager>.disabled{
		opacity: .5;
	}
	#pager>.pagerbutton{
		cursor: pointer;
	}

@media screen and (max-width:1650px){
	#comments .miniinfobox>div.big>div.infobox>div{
		min-width: 0;
		width: calc(30vw - 100px);
	}
}



@media screen and (min-width:1800px){
	div.halfs{
		margin:0 -20px;
	}
	div.halfs>*{
		flex:0 1 calc(50% - 40px);
		margin-left: 20px;
		margin-right: 20px;
	}

	div.thirds{
		margin:0 -20px;
	}
	div.thirds>*{
		flex:0 1 calc(33.3% - 40px);
		margin-left: 20px;
		margin-right: 20px;
	}
	div.thirds>*.double{
		flex:0 1 calc(66.6% - 40px);
	}

	div.quarts{
		margin:0 -20px;
	}
	div.quarts>*{
		flex:0 1 calc(25% - 40px);
		margin-left: 20px;
		margin-right: 20px;
	}
	div.quarts>*.double{
		flex:0 1 calc(50% - 40px);
	}
}




@media print{
	body, html{
		font-size: 14px;
	}

	body>main{
		margin-top: 0;
	}

	div.table{
		width: auto;
		overflow: visible;
		max-width: none;
		font-size: 12px;
	}

		div.table table thead,
		div.table table tbody{
			font-size: 12px;
		}

			div.table table thead tr th, 
			div.table table thead tr td{
				font-size:11px;
			}

			.js [data-orderby]>div{
				white-space: normal;
			}

				.js [data-orderby]>div::after{
					display: none;
				}

			div.table table tbody tr th, 
			div.table table tbody tr td{
				padding: 2px;
			}

			div.table .miniinfobox>div.small{
				font-size: 11px;
				border:none;
				border-radius:0;
			}

				div.table .miniinfobox>div.small>a,
				div.table .miniinfobox>div.small>div.a{
					padding: 0;
				}

		body>main>div>header>div>div form label>span, 
		body>main>div>header>div>div form .label>span{
			font-size: 10px;
		}

		body>main>div>header>div>div form label div.select>select, 
		#popup>div>div>header form label div.select>select{
			font-size: 12px;
		}

		body>main>div>header>div>div form .label div.dropsx>span, 
		#popup>div>div>header form .label div.dropsx>span{
			font-size: 12px;
			min-width: 50px;
		}

		body>main>div>header>div>div form label div.select>select, 
		#popup>div>div>header form label div.select>select{
			min-width: 50px;
			padding: 0 5px;
		}

	body>header{
		width: auto;
		margin: 0;
		padding: 0;
		background: transparent;
		border-radius: none;
	}

		body>header>h1{
			top: 10px;
			left: 10px;
			width: 120px;
			height: 56px;
		}

			body>header>h1>a{
				width: 100%;
				height: 100%;
				background-position: 0 50%;
			}

	body>main>div>header{
		padding-left: 150px;
		position: static;
	}

		body>main>div>header>div>div>h2{
			white-space: nowrap;
			font-size: 16px;
		}

	body>header>nav,
	body>main>div>footer,
	button,
	.button,
	#print,
	.todocount{
		display: none;
	}

	body>main{
		flex-direction: column;
	}

	body>main>div#comments{
		min-width: none;
		max-width: none;
		max-height: none;
		height: auto;
		overflow: visible;
	}

		body>main>div#comments>div{
			height: auto;
			overflow: visible;
		}

			body>main>div#comments>div>ul{
				height: auto;
				overflow: visible;
			}

	.noprint,
	.dropsx::before,
	form .select::before,
	form label:has(input[type=date])::before{
		display: none !important;
	}

	#popup{
		display: none !important;
	}

	form label>div.dropsx, 
	form label>input[type=text], 
	form label>input[type=number], 
	form label>input[type=email], 
	form label>input[type=tel], 
	form label>input[type=password], 
	form label>input[type=date], 
	form label>textarea, 
	.label>div.dropsx, 
	.label>input[type=text], 
	.label>input[type=number], 
	.label>input[type=email], 
	.label>input[type=tel], 
	.label>input[type=password], 
	.label>input[type=date], 
	.label>textarea, 
	label>div.fake, 
	.label>div.fake
	form .select,
	form .select>select{
		font-size: 14px;
		height: 30px;
		padding: 5px;
	}

	form label>div.dropsx, 
	form label>input[type=text], 
	form label>input[type=number], 
	form label>input[type=email], 
	form label>input[type=tel], 
	form label>input[type=password], 
	form label>input[type=date], 
	form label>textarea, 
	.label>div.dropsx, 
	.label>input[type=text], 
	.label>input[type=number], 
	.label>input[type=email], 
	.label>input[type=tel], 
	.label>input[type=password], 
	.label>input[type=date], 
	.label>textarea, 
	form .select{
		box-shadow: inset 0 0 0 2px #EDEDED;
	}

	form .select{
		height: 30px;
	}

	.dropsx>span{
		padding-right: 0;
	}

	.dropsx>span>span.exchangerate{
		line-height: 1em;
		padding: 2px;
	}

	form label>span, .label>span{
		font-size: 10px;
	}

	form label, .label{
		padding-top: 20px;
		margin-top: 10px;
	}

	form div.halfs>label:first-child, 
	form div.halfs>.label:first-child, 
	form div.halfs>label, 
	form div.halfs>.label,

	form div.thirds>label:first-child, 
	form div.thirds>.label:first-child, 
	form div.thirds>label, 
	form div.thirds>.label,
	form div.quarts>label:first-child, 
	form div.quarts>.label:first-child, 
	form div.quarts>label, 
	form div.quarts>.label{
		margin-top: 10px;
	}

	fieldset{
		margin-bottom: 10px;
		padding: 10px 20px 10px 20px
	}

	ul.checkboxes{
		gap: 0;
	}

	ul.checkboxes>li{
		padding: 2px 10px;
	}

	body>main>div#main>div form header{
		padding-top: 20px;
	}

	body>main>div#main>div div.zone header:first-child{
		margin-bottom: 5px;
	}

	table thead tr th, table thead tr td{
		padding: 10px 7px;
	}
	table tbody tr th, table tbody tr td{
		padding: 7px;
	}

	.infobox>div{
		padding: 7px;
	}

		.infobox>div>header, 
		body>main>div#main>div form .infobox>div>header{
			margin: -7px -7px 7px -7px;
			padding: 7px;
		}

		.infobox>div hr{
			margin: 7px -7px;
		}

		ul.contacts>li:hover>.delete{
			display: none;
		}

		body>main>div#main>div form header div.label{
			top: 5px;
		}

			body>main>div#main>div form header div.label>div{
				width: 110px;
				padding-top: 10px;
				height: 45px;
			}

	body>main>div#comments{
		page-break-before: always;
		pointer-events: none;
	}

	body>main>div#comments>header{
		padding-left: 20px;
	}

	ul.contacts{
		display: flex;
		flex-wrap: wrap;
		margin: -10px;
	}

		ul.contacts>li{
			flex: 1 1 auto;
/*			width: 50%;*/
			min-width: 350px;
			margin: 10px;
		}

	table tbody tr td.small>div.state>a,
	table tbody tr td.small>div.state:has(a){
		display: none;
	}

	.marker-app{
		display: none !important;
	}

	ul.checkboxes>li>label>span{
		background: transparent !important;
	}

		ul.checkboxes>li>label>span::before{
			content: "";
			display: block;
			width: 14px;
			height: 14px;
			border: 2px solid #888;
			border-radius: 2px;
			box-sizing: border-box;
			position: absolute;
			top: 5px;
			left: 0;
		}

		ul.checkboxes>li>label>input[checked]+span::before{
			border: 7px solid black;
		}

	div.dropdown{
		display: none !important;
	}
}


body.iframe>header{
	display: none !important;
}
body.iframe>main{
	margin-top:0;
	min-height: 100vh;
	min-height: 100vhmax;
}
body.iframe>main>div#comments{
	display: none !important;
}
body.iframe .marker-app{
	display: none;
}

body.iframe>main>div>header,
body.iframe>main>div#main>div{
	padding-left: 45px;
	padding-right: 45px;
}

body.iframe>main>div#main>div form header{
	margin-left: -45px;
	margin-right: -45px;
	padding-left: 45px;
	padding-right: 45px;
}

body.iframe .miniinfobox{
	pointer-events: none;
}

/*body.iframe>main>div>header{
	padding-right: 50px;
}
*/


input[type="checkbox"][disabled],
input[type="radio"][disabled]{
	opacity: .5;
}


ul.recentExports{
	list-style: none;
	margin: 0;
	padding: 0;
}

	ul.recentExports>li{
		margin-bottom: 1em;
	}

	ul.recentExports li.none{
		width: 100%;
		opacity: .5;
	}

		ul.recentExports>li>strong{
			display: block;
		}

		ul.recentExports>li>ul{
			list-style: none;
			margin: 0;
			padding: 0;
			padding-left: 1em;
		}

			ul.recentExports>li>ul>li{
				margin-bottom: .5em;
				display: flex;
			}

				ul.recentExports>li>ul>li>ul{
					list-style: none;
					margin: 0;
					padding: 0;
					display: flex;
					gap: 1em;

					padding-left: 1em;
				}

					ul.recentExports>li>ul>li>ul>li{

					}

						ul.recentExports>li>ul>li>ul>li>a{
							display: block;
							position: relative;
						}

							ul.recentExports>li>ul>li>ul>li>a::before{
								content: "";
								display: inline-block;
								width: .7em;
								height: 1em;
								border:1px solid currentColor;
								box-sizing: border-box;
								margin-right: .3em;
							}

							ul.recentExports>li>ul>li>ul>li>a::after{
								content: "";
								display: block;
								width: .4em;
								height: .4em;
								position: absolute;
								top: 0;
								left: .3em;
/*								border: 1px solid currentColor;*/
								box-sizing: border-box;
								border-top-color: white;
								border-right-color: white;

								transform: translateX(1px);


								background: linear-gradient(45deg, currentColor 50%, white 50%);
							}




.loader{
	display: inline-block;
	position: relative;
	width: 1em;
	height: 1em;
	border-radius: 100%;
	box-sizing: border-box;
	background:#C92A2B;
	margin-right: .5em;
}

.loader::before,
.loader::after{
	content: "";
	display: block;
	position: absolute;
	background: #FFFFFF;
}

.loader::before{
	top: 2px;
	left: 2px;
	right: 2px;
	bottom: 2px;
	border-radius: 100%;
}

.loader::after{
	top: 25%;
	left: 50%;
	width: 50%;
	height: 50%;
	transform-origin: 0 50%;

	animation: rotating 1s linear infinite;
}



@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}



#exportOptions.disabled{
	pointer-events: none;
	opacity: .5;
	filter: grayscale(1);
}



.qrcode{

}

	.qrcode>*{
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

.striked{
	display: inline-box;
	/*text-decoration: line-through;*/
	opacity: .5;
}
.striked+br{
	display: none;
}
/*.striked:has(.infobox){*/
	/*text-decoration: inherit;*/
/*}*/



.infobox span.checkbox.checked,
.infobox span.checkbox.unchecked{
	float: left;

	display: inline-block;	
	margin-right: 10px;
	margin-top: -4px;

	font-size: 20px;
	line-height: 20px;
	width: 20px;
	height: 20px;

	background-image: url(medias/check.svg?v=2);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	/*background-position: -.15em .15em;*/
	cursor: pointer;
}
.infobox span.checkbox.unchecked.v2{
	background-image: url(medias/checkRed.svg?v=2);
}
.infobox span.checkbox.checked{
	background-image: url(medias/checked.svg?v=2);
}
.infobox span.checkbox.checked.v2{
	background-image: url(medias/checkedRed.svg?v=2);
}

.infobox span.checkbox.unchecked:hover{
	background-image: url(medias/check2.svg?v=2);
}
.infobox span.checkbox.unchecked.v2:hover{
	background-image: url(medias/check2Red.svg?v=2);
}
.infobox span.checkbox.checked:hover{
	background-image: url(medias/checked2.svg?v=2);
}
.infobox span.checkbox.checked.v2:hover{
	background-image: url(medias/checked2Red.svg?v=2);
}

.infobox span.checkbox.loading{
	pointer-events: none;
	opacity: .4;
	filter: grayscale(1);
}


.js .click:not(tr):hover:has(.checkbox:hover) a:not(.sub){
	color: inherit;
	text-decoration: inherit;
}



#changelog del{
	opacity: .5;
}

#comments a.changelog{
	font-size: .8em;
	font-weight: bold;
	text-transform: uppercase;
	color: inherit;
	line-height: 1em;
	white-space: nowrap;
	/*color: var(--activeColor);*/
	opacity: .5;
}

#comments span.agent{
	font-size: 12px;
	/*font-weight: bold;*/
	/*text-transform: uppercase;*/
	/*color: inherit;*/
	/*line-height: 1em;*/
	/*white-space: nowrap;*/
	/*color: #888;*/
	opacity: .5;
}


ul.inlinechangelog{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: .5em;
	font-size: .8em;

	display: inline;
/*}
ul.inlinechangelog:not(:first-child){*/
	margin-left: .5em;
}

	ul.inlinechangelog>li{
		display: inline-block;
		margin-right: .6em;
	}

	ul.inlinechangelog>li::after{
		content: ", ";
		display: block;
		position: absolute;
		left: 100%;
		bottom: 0;
	}
	ul.inlinechangelog>li:last-child{
		margin-right: 0;
	}
	ul.inlinechangelog>li:last-child::after{
		display: none;
	}


.changelogdetails{
	font-size: .8em;

	display: flex;
	flex-wrap: wrap;
	gap: .5em;
}

	.changelogdetails>*{
		display: inline-block;
		max-width: 90%;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space: nowrap;
	}

	.changelogdetails>del{
		opacity: .5;
	}

	.changelogdetails>strong{
		
	}

/* Field pointing to a record (ex. contact of a quote): miniinfoboxes, their popup must not be clipped */
.changelogdetails.records{
	align-items: center;
}

	.changelogdetails.records>.miniinfobox{
		overflow: visible;
		max-width: none;
	}

/* Items added or removed (people, checkboxes) in the journal */
.changelogitems{
	font-size: .8em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5em;
	margin-top: .3em;
}

	.changelogitems .miniinfobox>div.small,
	.changelogdetails.records .miniinfobox>div.small{
		font-size: 12px;
	}

	#comments .changelogitems .miniinfobox>div.big,
	#comments .changelogdetails.records .miniinfobox>div.big{
		top: auto;
		bottom: 0;
		left: auto;
		right: 0;
		transform-origin: 100% 100%;
	}

	.changelogitems .miniinfobox.removed>div.small,
	.changelogdetails.records .miniinfobox.removed>div.small,
	.changelogitem.removed{
		border-style: dashed;
		opacity: .6;
	}

		.changelogitems .miniinfobox.removed>div.small a,
		.changelogdetails.records .miniinfobox.removed>div.small a,
		.changelogitem.removed{
			text-decoration: line-through;
		}

	.changelogitem{
		border: 2px solid currentColor;
		border-radius: 10px;
		padding: 3px 8px;
		font-weight: 700;
	}

	.changelogitem.missing{
		opacity: .6;
	}

.helpbox{
	position: relative;
	--maxWidth:300px;
	--leftX:0px;
}

.helpbox:has(>span){
	text-decoration: underline dashed rgba(0,0,0,.5);
	cursor: default;
	cursor: help;
}

	.helpbox>span{
		position: absolute;
		bottom: 100%;
		left: 0;
		left: var(--leftX);
		border: 2px solid #D2D3D3;
		border-radius:5px;
		background: #FFF;
		font-size: .8em;
		transform: translateY(-7px);
		opacity: 0;
		pointer-events: none;
		text-decoration: none;
		padding: .5em;
		max-width: 300px;
		max-width: var(--maxWidth);
		width: max-content;
		box-sizing: border-box;
		z-index: 2;
	}
	.helpbox:hover>span{
		opacity: 1;
	}

		.helpbox>span .changelogdetails,
		ul.inlinechangelog .helpbox>span{
			font-size: 1em;
		}

		/* Arrow on the .helpbox, not the span: the span (transform, opacity) is a stacking context, its children can't go under it */
		.helpbox:has(>span)::before{
			content: "";
			display: block;
			width: 15px;
			height: 15px;
			background: #D2D3D3;
			position: absolute;
			left: 50%;
			bottom: 100%;
			transform: translate(-50%, calc(50% - 7px)) rotateZ(45deg);
			border-bottom-right-radius: 5px;
			border-top-left-radius: 100%;
			opacity: 0;
			pointer-events: none;
			z-index: 1;
		}
		.helpbox:hover::before{
			opacity: 1;
		}