/* patch.css */
/* 
	Pour corriger vite fait quelque chose, 
	à repasser dans la CSS d’A42 Style dès que possible en ouvrant une issue ici :
	https://gitlab.com/a42dev/accessstyle-page/-/issues/new
*/

/** collapsed button, voir exemple sur la page svg.html**/
/** details voir exemple sur la page details.html **/

.a42-toggle1-button {
	background: #CEDAE6;
	padding: .5em 1em;
	font-size: 1rem;
	text-align: left;
}

	.a42-ac-high-contrast .a42-toggle1-button{
		border: 1px solid #FFF !important;
	}

	.a42-ac-inv-contrast .a42-toggle1-button{
		border: 1px solid #FF0 !important;
	}

.a42-toggle1-button::after {
	content: "+";
	float: left;
	width: 1rem;
	margin-right: .5rem;
	font-weight: bold;
	speak: none;
}

.a42-toggle1-button[aria-expanded="true"]::after,
.is-active .a42-toggle1-button::after {
	content: "- ";
	speak: none;
}

.a42-toggle1-button:focus,
.a42-toggle1-button:hover,
.a42-toggle1-button:active {
	background: #0B1B34;
	color: #fff;
}

.a42-toggle1-content {
	padding-top: 1.5rem;
}

[disabled]{
	opacity: .5;
}

button[disabled],
input[type="button"][disabled],
button[disabled]:focus,
input[type="button"][disabled]:focus,
button[disabled]:hover,
input[type="button"][disabled]:hover,
button[disabled]:active,
input[type="button"][disabled]:active{
	background-color: #343643;
	border: #343643;
	color: #fff;
}

/**/

.a42-test-link{
	 display:block;
	 border:.5rem solid #31486e;
	 width:3rem;
	 height:3rem;
}
.a42-test-link svg{
	width: auto;
}

/**prise de focus pour les tests sur les pages rechargement SPA **/
#add-new-context:focus{outline:2px dotted #333;}
#page-title:focus{
/*	clip: initial !important;
	clip-path: initial !important;
	height: auto !important;
	width: auto !important;
	color:#000;
	position: relative !important;*/
}

/* Divers */
h1 code,
[class*="a42-bgcolor-"] h1 code,
h1 kbd,
[class*="a42-bgcolor-"] h1 kbd,
h1 samp,
[class*="a42-bgcolor-"] h1 samp,
h1 var,
[class*="a42-bgcolor-"] h1 var{
	background: none;
}
pre {
	white-space: pre-wrap;
}

/* Tableaux  */
.container-table{
	margin: 4.8rem 0;
    overflow-x: auto;
}

.container-table > table:first-child{
	margin-top: 0;
}