

.listBar{
	display: flex;
	overflow:hidden;
	overflow-x:auto;
	height:auto;
	white-space: nowrap;
	padding-right:10px;
	position: relative;
}
.listBarSmall{
	padding-right: 5px;
} 

.listBar::-webkit-scrollbar {
  height: 2px;  /* للـ horizontal scrollbar */
}


.listBar a:link, .listBar a:visited{
	order: 1; /* نقل العنصر الذي يحمل الكلاس active إلى الأمام */
	padding: 9px 12px;
    margin: 7px 2px;
    color: #444444;
    background-color: #eeeeee;
	border: 1px solid #eeeeee;
	display: inline-block;
    font-size: 75%;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
	text-decoration:none;
}




.listBar a:hover,.listBar a:active{
	
    color: #000000;
    background-color: #f9f9f9;

}

.listBar a img{
	
	margin: 0 0 10px 0;

}
.listBar.listBarUner{
	margin-right:10px;
	border-right: 2px solid #00000096;
	padding-right:30px;
}
.listBar.listBarUner:before {
	content: "";
	opacity:0.5;
	background-image: url('/img/under-left-arrow.svg');
	background-size: cover;
	display:block;
	position: absolute;
    right: 6px;
	
    top: 50%;
	
    transform: translateY(-50%);
	
    width: 17px;
    height: 15px;

}

.listBar.listGrid.listBarUner {
	padding-top:20px;
}
.listBar.listGrid.listBarUner:before {
	    top: 10px;
}
.listBar.listGrid{
	padding:10px;
	display: grid;
    align-items: baseline;
    justify-items: end;
	grid-template-columns: repeat(auto-fill, minmax(99px, 1fr));
	align-content: center;
	justify-content: center;
	gap: 7px; 	
}
.listBar.listGrid a:link, .listBar.listGrid a:visited{
	width: fit-content;
    white-space: pre-line;
    line-height: 14px;
    width: 100%;
    height: 100%;
    vertical-align: -webkit-baseline-middle;
	display: grid;
    align-content: space-between;
    align-items: start;
    justify-items: center;
    justify-content: center;
	
}
.listBar .listGridShowBtn{
	display:none;
    position: absolute;
    left: 5px;
    top: 50%;
    transition: trasport;
    color: #a3a8ad;
    background: #42413f;
    border-radius: 4px;
    transform: translateY(-50%);
    padding: 1px 10px;
	cursor:pointer;
	z-index:99;
	
}
.listBar:hover .listGridShowBtn{
    color: #f9f9f9;
    background: #2f2e2d;	
}

.listBar.listBarSmall a:link, .listBar.listBarSmall a:visited{
	
	font-size:70%;
	padding: 6px 3px;
    margin: 5px 1px;	
	border-radius: 5px;
	
}
.listBar a.active{
    color: #FFF;
    background-color: #0086b3;

}
.listBar:not(.listBarNoOrder) a.active{
	order: -1; /* القيمة الافتراضية للعناصر غير المحددة */
}
.listBar a.active.selected{
	
	color: #000000;
    background-color: #eeeeee;
}
.listBar a.hide {
	visibility:hidden;
}

.listBarCloseItem{
	padding: 3px;
    /* background: #494949; */
    border-radius: 50%;
    height: 16px;
    width: 16px;
    display: inline-block;
    margin: -6px 2px -10px 0px;
	opacity: 0.4;
	color: #000;
}
.listBarCloseItem:hover{
    background: #d1d1d1; 
	opacity: 1;
}

.listBar.listCheckBox a.active:after{

    content: ''; /* إضافة محتوى خلفي (للتعريف بخلفية العنصر) */
    display: inline-block; /* جعل العنصر ذا عرض مستقل ليتمكن من استخدام الخلفية */
    width: 11px; /* تعيين عرض العنصر */
    height: 11px; /* تعيين ارتفاع العنصر */
    background: url('img/square-check-solid.svg') no-repeat center center; /* تعيين الصورة كخلفية */
    background-size: cover; /* ضبط حجم الصورة لتغطية العنصر بأكمله */
    filter: brightness(0) invert(1);
	margin:0 4px 0 0;
	vertical-align: text-bottom;
	opacity:0.6;

}

.listBar.listCheckBox a.active.selected:after{
	filter: brightness(0) invert(0);
}

.listBar.listBarSmall.listCheckBox a.active:after{
    width: 10px; /* تعيين عرض العنصر */
    height: 10px; /* تعيين ارتفاع العنصر */	
}

.listBarMultiLine{
	max-width: 185px;
    height: 110px;
    overflow: hidden;
    overflow-y: auto;
    padding: 0 0 0 11px;
    white-space: normal;
    line-height: 1.72;
}

.listBarMultiLine.listBarMultiLineSmall {
    max-width: 93px;
    padding: 0 0 0 2px;
    line-height: 1.72;
    font-size: 8px;
}

.listBar .allGo{
	order: 1000!important; /* القيمة الافتراضية للعناصر غير المحددة */
    margin-left: 42px;
	padding: 6px 18px;
}
















































