body:before
{
	content: '';
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	/*background-color: light;*/
	background-image: url('/logo-carrefour.svg');
	background-repeat: no-repeat;
	background-position-x: 0vw;
	background-position-y: bottom;
	background-size: 100vw;
	opacity: 0.2;
	z-index: -10;
}

#searching
{
	display: none !important;
	position: absolute;
	top: 50%;
	left: 45.8%;
	z-index: 100;
}
.searching #searching
{
	display: block !important;
}

.searching #search-result
{
	opacity: 0.1;
}
.centered
{
	text-align: center;
}
.card-body
{
	display:  inline-block;
}

.cat-header[data-category='liquide'],
.page[data-category='liquide'],
.category[data-category='liquide'],
.table-of-content .toc-entry.annuaire[data-category='liquide'],
.fiche-info[data-category='liquide'],
button[data-category='liquide']
{
  --category-color: 208, 1, 53;
}
.cat-header[data-category='epicerie'],
.page[data-category='epicerie'],
.category[data-category='epicerie'],
.table-of-content .toc-entry.annuaire[data-category='epicerie'],
.fiche-info[data-category='epicerie'],
button[data-category='epicerie']
{
  --category-color: 255, 192, 0;
  /*--category-color: 231, 78, 18; orangish*/
}
.cat-header[data-category='frais-libre-service'],
.page[data-category='frais-libre-service'],
.category[data-category='frais-libre-service'],
.table-of-content .toc-entry.annuaire[data-category='frais-libre-service'],
.fiche-info[data-category='frais-libre-service'],
button[data-category='frais-libre-service']
{
  --category-color: 38, 180, 202;
}
.cat-header[data-category='frais-traditionnel'],
.page[data-category='frais-traditionnel'],
.category[data-category='frais-traditionnel'],
.table-of-content .toc-entry.annuaire[data-category='frais-traditionnel'],
.fiche-info[data-category='frais-traditionnel'],
button[data-category='frais-traditionnel']
{
	--category-color: 87, 187, 108;
}
.cat-header[data-category='non-alimentaire'],
.page[data-category='non-alimentaire'],
.category[data-category='non-alimentaire'],
.table-of-content .toc-entry.annuaire[data-category='non-alimentaire'],
.fiche-info[data-category='non-alimentaire'],
button[data-category='non-alimentaire']
{
  --category-color: 166, 76, 138;
}

.cat-header
{
	background-color: rgb(var(--category-color));
	/*text-transform: uppercase;*/
	padding: 1rem;
	color: white;
	font-weight: bold;
	border-radius: .25rem;
}
.fiche-info
{
	border: 1px lightgray solid;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	/*background: url('resources/texture-blanc_1160-786_light.jpg');*/
	background-color: rgba(255,255,255,0.8);
}

.fiche-company-description
{
	line-height: 3.9mm;
	font-size: 3.3mm;
	font-size: 3.5mm;
	line-height: 4mm;
	overflow-y: auto;
}
.fiche-company-description.small
{
	font-size: 3.2mm;
	line-height: 3.85mm;
}

.fiche-company-name
{
	text-transform: uppercase;
}

.highlight
{
	background-color: rgba(207,255,4,1.0);
}

#category-filters
{
	display: flex;
}

#category-filters button {
	color: lightgray;
	font-weight: bold;
	background-color: rgba(var(--category-color), 0.2);
}
#category-filters button[data-toggled='true'] {
	color: white;
	font-weight: bold;
	background-color: rgb(var(--category-color));
}