/* --naoned-nav-background => jaune*/
/* --naoned-primary_color => bleu foncé*/
/* --naoned-nav_active_item_background => bleu vert*/

html {
	font-size: calc( 100% / ( 18 / var(--naoned-text_size, 18) ));
}

/* On cache le titre du site et le bouton d'inscription */
.site-title,
#toplinks .registration{
	display:none;
}

/* style des pk-information mais bordure en haut */
.gru-content #sidebar .aurum-cell,
.gru-content #columns div[class^="grid-"].aurum-cell,
.gru-content #columns div[class*=" grid-"].aurum-cell{
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-bottom: 0.5rem;
	/*padding: 0.3rem;*/
	position: relative;
	border: none;
	color: #333;
}

/* On retire la barre de séparation de la sidebar */
#sidebar{
	border-right: none;
}
/* On agrandit la sidebar */
.central-content #sidebar {
	flex: 0 0 20em;
	max-width: 20em;
}

.pk-table-headers.pk-data-table thead th, .pk-table-headers .pk-data-table thead th {
	text-transform: none;
}

.cell--body:has(.empty-message) {
  display: none;
}

div.cell.foldable > div > h2:first-child:hover, div.cell.foldable > div .cell--title:hover, div.section.foldable > h2:first-child:hover, div.section.foldable .cell--title:hover {
	color: white;
	text-decoration: underline;
}

div.cell.foldable > div > h2:first-child::after:hover, 
div.cell.foldable > div .cell--title::after:hover, 
div.section.foldable > h2:first-child::after:hover, 
div.section.foldable .cell--title::after:hover {
	color: red;
	top: 0.5rem;
}
div.cell.foldable > div > h2:first-child::after, div.cell.foldable > div .cell--title::after, div.section.foldable > h2:first-child::after, div.section.foldable .cell--title::after {
	top: 0.5rem;
}
div.cell.foldable.folded > div {
	padding-bottom: 0;
}

/* Blocs d'affichage de couleurs */
div[class^="grid-"], div[class*=" grid-"]{
	padding-right:0;
}
div#rub_service div[class^="grid-"], div#rub_service div[class*=" grid-"]{
	padding-right: 1rem;
}
.gru-content div.cell h2:first-child:not(:only-child) {
	border-radius: 0;
	color: white;
	padding-top: 0.5rem;
}
.gru-content .cell.aurum-societe .cell--body{
	padding: 0.5rem;
	padding-top: 0;
}
.gru-content div.cell.aurum-cell.aurum-societe h2{
	color: black;
}
.gru-content div.cell.aurum-cell.aurum-societe h2::after {
	content: "";
    display: block;
    width: 25%;
    height: 3px;
    margin-top: 5px;
    background-color: #000; 
}


.gru-content #sidebar .aurum-cell.aurum-cell-1,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-1,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-1{
	border: 1px solid var(--naoned-nav-background, #fff);
}
.gru-content div.cell.aurum-cell.aurum-cell-1 h2:first-child:not(:only-child) {
	background-color: var(--naoned-nav-background, #fff);
}
.gru-content #sidebar .aurum-cell.aurum-cell-2,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-2,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-2{
	border: 1px solid var(--naoned-primary_color, #fff);
}
.gru-content div.cell.aurum-cell.aurum-cell-2 h2:first-child:not(:only-child) {
  background-color: var(--naoned-primary_color, #fff);
}
.gru-content #sidebar .aurum-cell.aurum-cell-3,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-3,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-3{
	border: 1px solid var(--naoned-nav_active_item_background, #fff);
}
.gru-content div.cell.aurum-cell.aurum-cell-3 h2:first-child:not(:only-child) {
  background-color: var(--naoned-nav_active_item_background, #fff);
}
.gru-content #sidebar .aurum-cell.aurum-cell-4,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-4,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-4{
	border: 1px solid #f7e5ab;
}
.gru-content div.cell.aurum-cell.aurum-cell-4 h2:first-child:not(:only-child) {
  background-color: #f7e5ab;
}
.gru-content #sidebar .aurum-cell.aurum-cell-5,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-5,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-5{
	border: 1px solid #f7e5ab;
}
.gru-content div.cell.aurum-cell.aurum-cell-5 h2:first-child:not(:only-child) {
  background-color: #f7e5ab;
}
.gru-content #sidebar .aurum-cell.aurum-cell-6,
.gru-content #columns div[class^="grid-"].aurum-cell.aurum-cell-6,
.gru-content #columns div[class*=" grid-"].aurum-cell.aurum-cell-6{
	border: 1px solid #cfa896;
}
.gru-content div.cell.aurum-cell.aurum-cell-6 h2:first-child:not(:only-child) {
  background-color: #cfa896;
}
.gru-content .aurum-cell.aurum-bg-white{
	background-color: white;
}

.aurum-text-center p,
.aurum-text-center h1,
.aurum-text-center h2,
.aurum-text-center h3,
.aurum-text-center h4{
	text-align: center;
}

/* On réduit la taille et la police du bouton */
.aurum-cell button,
a.pk-button,
.pk-button.link-cell.cell ul > li,
.cell-cards--filters-search button{
	/*padding:0.25rem 0.5rem;*/
	font-size: calc( 100% / ( 20 / var(--naoned-text_size, 18) ));
}

.aurum-hide-table div.pk-table-wrapper{
	display: none;
}
div.aurum-cell.aurum-societe h4{
	margin-top: 0;
}

/* Ne fonctionne pas */
/*div.pk-button.aurum-back ul > li > a{
	background-color: var(--naoned-nav-background);
	border-top-right-radius: 25px;
}*/
/* On réduit la taille du h2 pour les cellules pliables */
.gru-content div.cell.aurum-text-xsmall.foldable h2:first-child{
	font-size: smaller;
}
/* On réduit la police et les espacements pour les cellules petites pliables */
div.aurum-text-xsmall.foldable div.links-list > ul > li > a{
	font-size: 0.8em;
	padding: 3px;
	margin: 0;
	border: none;
}
div.aurum-text-xsmall div.links-list > ul > li{
	border-bottom-width: 1px;
}

/* On cache le bloc de titre de page et on décale le contenu de 20px */
.cell:has(.theme-page-title) {
	display: none;
}
.central-content {
	padding-top: 20px;
}

@media screen and (max-width: 64em) {
	div.gru-nav .gru-nav-button + ul {
		background: var(--naoned-nav-background, #fff);
	}
}