
ul#tabna
{
	text-align: left;
	margin: 1em 0 1em 0;
	font: bold 11px verdana, arial, sans-serif;
	border-bottom: 1px solid #6c6;
	list-style-type: none;
	padding: 3px 10px 3px 10px;
}

ul#tabnav li
{
	display: inline;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4
{
	border-bottom: 1px solid #fff;
	background-color: #fff;
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a 
{
	background-color: #fff;
	color: #000;
	position: relative;
	top: 1px;
	padding-top: 4px;
}

/* settings for all tab links */
ul#tabnav li a 
{
	padding: 3px 4px;
	border: 1px solid #6c6;
	background-color: #cfc;
	color: #666;
	margin-right: 0px;
	text-decoration: none;
	border-bottom: none;
}

ul#tabnav a:hover
{
	background: #ffffff;
}

/* TEST 2 */
.systemeOnglets 
{
	margin: 0;
	padding:0 0 0 2px; 
}
.onglet 
{
	display:inline-block;
	margin:2px 2px 0 2px;
	padding:1px 2px ;
	border:1px solid #AAA;
	border-bottom:none;
	border-radius:5px 5px 0 0;
	-webkit-border-radius:4px 4px 0 0;
	-moz-border-radius:4px 4px 0 0;
	color:#555;
	cursor: pointer;
}
.ongletErreur
{
	border:2px solid #FF0000;
	border-bottom:none;
}
.inactif
{
	background:#EEEEEE;
}
.inactif:hover
{
	background:#DDDDDD;
}
.actif
{
	background:white;
	border-bottom:2px solid white;
	padding-bottom:4px;
	cursor:text;
}
.contenuOnglet
{
	position:absolute;
	left:2px;
	right:2px;
	height:340px;
	background-color:white;
	margin-top:-1px;
	padding:5px;
	display:none;
	border:1px solid #AAA;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	color:#555;
	cursor: text;
}

/* Onglets des pages (frags/menuNavigationErreurs.jsp et frags/menuNavigationDHtmlErreurs.jsp).
   Memes couleurs que les menus de styleSupplementaire.css. */
table.ongletsNav td.onglet,
span.onglet
{
	margin: 2px;
	padding: 0;
	background: #ffffff;
	border: 1px solid #a9d3f2;
	border-radius: 6px;
	color: #10405f;
	cursor: pointer;
}
span.onglet
{
	padding: 4px 10px;
	line-height: 16px;
}
table.ongletsNav td.onglet img
{
	display: none;
}
table.ongletsNav td.onglet a
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 4px 9px;
	border-radius: 5px;
	color: #10405f;
	line-height: 16px;
	text-decoration: none;
}
/* Icone intercalaire : dessinee en CSS pour suivre la couleur de l'onglet */
table.ongletsNav td.onglet a::before
{
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: #2878b8;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 4a1.5 1.5 0 0 1 1.5-1.5h3.4L7.6 4.2h5.9A1.5 1.5 0 0 1 15 5.7v6.8A1.5 1.5 0 0 1 13.5 14h-11A1.5 1.5 0 0 1 1 12.500z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 4a1.5 1.5 0 0 1 1.5-1.5h3.4L7.6 4.2h5.9A1.5 1.5 0 0 1 15 5.7v6.8A1.5 1.5 0 0 1 13.5 14h-11A1.5 1.5 0 0 1 1 12.500z'/%3E%3C/svg%3E") center / contain no-repeat;
}
table.ongletsNav td.onglet.actif a::before
{
	background: #ffffff;
}
table.ongletsNav td.onglet:hover,
span.onglet.inactif:hover
{
	background: #ddefff;
	border-color: #2878b8;
}
table.ongletsNav td.onglet.actif,
table.ongletsNav td.onglet.actif:hover,
span.onglet.actif
{
	background: #7abae6;
	border: 1px solid #7abae6;
	color: #ffffff;
	font-weight: bold;
	cursor: default;
}
span.onglet.actif
{
	padding: 4px 10px;
}
table.ongletsNav td.onglet.actif a
{
	color: #ffffff;
	font-weight: bold;
}
table.ongletsNav td.onglet a:focus-visible
{
	outline: 2px solid #10405f;
	outline-offset: 1px;
}
/* Onglet contenant une erreur de saisie : le rouge reste prioritaire */
table.ongletsNav td.onglet.ongletErreur,
table.ongletsNav td.onglet.ongletErreur:hover,
table.ongletsNav td.onglet.ongletErreur.actif
{
	border: 2px solid #ff0000;
}
