.element-border {
    border-left: 8px solid var(--border-color);
}

.fiche-border {
    border-left: 8px solid var(--color-fiche);
}

.faq-border {
    border-left: 8px solid var(--color-faq);
}

.actu-border {
    border-left: 8px solid var(--color-actu);
}

.bold-a{
	font-weight:bold;
}

.bareme-border {
	border-left: 8px solid var(--color-bareme)
}
.anchor-list > .anchor-element > a,
.anchor-list > .anchor-element > div > a  {
	font-weight:bold;
}

#scrollUp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  cursor: pointer;
}

#scrollUp.show {
  opacity: 0.7;
  pointer-events: auto;
}

#scrollUp.show:hover {
  opacity: 1;
}



.selectedA {
	font-weight: bold;
}

a {
	color: var(--text-color);
}

.theme ul, 
.util ul,  
.liste ul {
	  list-style: none;
	  padding: 0;
}

.theme li, 
.util li{
	border-bottom: 2px solid var(--border-grey);
	color: #000;
}

/*.darker-bottom{
	border-bottom:2px solid #4d4c4c!important;
}*/

.glossaire > .btn-retour-container{
	padding-left:95px;
	padding-bottom:20px;
}

.theme li:last-child, 
.util li:last-child {
	border: none;
}

.theme h2 {
	border-bottom: 3px solid var(--orange);
}

.liste h3 {
	color: var(--text-color);
}

.btn-retour-container a.link:after, 
.btn-retour-container a.link:before{
	content: none;
}

.btn-retour-container svg {
	margin-right: 0.375rem;
}

#pagination-numbers {
	display: flex;
}

.breadcrumb {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.breadcrumb-list {
  list-style: none;
  padding: 1em 0 0 0;   
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-link {
  text-decoration: none;
  color: #0053a6; 
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.25rem;
  color: #999;
}

.breadcrumb-current {
  font-weight: 600;
  color: #222;
}


.pagination li, #pagination-numbers button {
	font-weight: 700;
	border: 1px solid var(--border-grey);
	border-radius: 5px;
	padding: 0.125rem 0.625rem;
	margin: 0 0.25rem;
	cursor: pointer;
	position: relative;
}

#pagination-numbers button {
	background: #FFF;
	color: var(--text-color);
}

.pagination li.active, #pagination-numbers button.active {
	color: var(--purple);
	border-color: var(--purple);
}

.pagination li a:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-prev, .page-next {
  background: white;
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--border-grey);
  border-radius: 5px;
  margin: 0 0.25rem;
}

.side-div {
  position: sticky;
  top: 30px; 
  box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.2);
  padding: 1.875rem 1.562rem; 
  border-radius: 10px;
  overflow: hidden auto;
  max-height: calc(100vh - (30px * 2));
}

.currentCategory {
	font-weight: bold;
}

.infobulle {
  position: absolute;
  border: 1px solid rgba(128, 0, 128, 0.411);
  background-color: #f4e4f7;
  padding: 0.125rem 0.375rem 0.25rem;
  display: none;
  left:0;
  top: calc(100% + 4px);
  border-radius: 10px;
  z-index:2;
  color: var(--text-color);
  overflow: auto;
  text-wrap: pretty;
  font-weight: normal;
  font-size: 1rem;
  width: 12.5rem;
}

.mot-glossaire {
  position: relative;
  cursor: pointer;
  border-bottom: 2px dotted var(--purple);
}

.active .infobulle{
  display: block; 
} 

.glossaire .glossaire-letter {
	color: var(--purple);
	font-weight: 700;
	font-size: 1rem;
}

.glossaire .glossaire-word {
	font-weight: normal;
	font-size: 1rem;
}

.last-articles h2 {
	color: var(--purple);	
}

.arrow svg {
  width: 0.75rem;
  fill: var(--purple);
  cursor: pointer;
}

.arrow {
  border: 2px solid var(--purple);
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  top: 50%;
  display: inline-block;
  padding: 5px;
  border-radius: 50%;
  margin-left: 1.25rem;
}

.anchor-element > div {
	position: relative;
}

.anchor-element > div > a {
	display: inline-block;
	width: calc(100% - 2.625rem);
}

.sous-liste-h3 {
  display: none;
}

.sous-liste-h3 li {
	margin: 0 8px;
}

.active .arrow svg {
  transform: rotate(-180deg);
}

.listes-content > .row > .col{
	position: relative;
}

.titlerss {
  position: absolute; 
  top: 1.5rem;
  right: 1.5rem;
  max-width: 2.5rem;
} 

.elem-detail-text-content p {
    line-height: 1.6;
}

.contenuFiche ul {
    padding-bottom: 1rem;
} 

.elem-detail-text-content h1,
.elem-detail-text-content h2,
.elem-detail-text-content h3,
.elem-detail-text-content h4,
.elem-detail-text-content h5,
.elem-detail-text-content h6 {
    line-height: 120%;
}

.elem-detail-text-content p a {
	color: #00809e  ;
	text-decoration: underline; 
}

 .elem-detail-text-content h2 {
    margin-bottom: 2.19rem;
    margin-top: 1.56rem;
}

.elem-detail-text-content .contenuFiche h2 {
	border-bottom: 3px solid var(--purple); 
}

.elem-detail-text-content .contenuFiche h3 {
	 color: var(--purple);
}

.elem-detail-text-content .contenuFiche h4 {
	 color: var(--text-color);
}

.elem-detail-text-content h3 {
  margin-bottom: 1.87rem;
  margin-top: 1.25rem;
}

.elem-detail-text-content h4 {
  margin-bottom: 1.56rem;
  margin-top: 0.94rem;
}

.elem-detail-text-content h5 {
  margin-bottom: 1.25rem;
  margin-top: 0.625rem;
}

.hidden {
	display: none;
}

.result-type {
	border: 1px solid black;
	border-radius: 20px;
}

[data-type="fiche"]{
	border-color: var(--color-fiche);
}

[data-type="FAQ"]{
	border-color: var(--color-faq);
}

[data-type="article"]{
	border-color: var(--color-actu);
}

[data-type="bareme"]{
	border-color: var(--color-bareme);
}

@media only screen and (max-width: 768px) {
	.infobulle {
	 	word-wrap: break-word;
		max-width: 100%;
	}
}