html, body {
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: 'Jazeera';
  font-size: small;
  
}
@font-face {
font-family: 'Jazeera';
src: url('C:\fonts\Al-Jazeera-Arabic Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}

#custom-box {
position: fixed;
bottom: 8px; /* تحديد الموقع من الجانب السفلي */
left: 0.7%;
padding: 10px;
background-color: rgba(1, 168, 212, 0.5);
border: 1px solid rgba(1, 168, 212, 0.5); /* تعديل هذا ليتناسب مع الحدود */
cursor: pointer;
text-align: center;
direction: rtl;
font-family: 'Al Jazeera Arabic Regular', 'Jazeera', sans-serif;
color: #000000;
width: 1%;
transition: width 0.5s;
}
#custom-box.open {
left: 10px; /* الجانب الأيسر عند الفتح */
right: auto; /* إلغاء الخاصية right عند الفتح */
width: calc(100% - 60%);
}

#message-box {
margin-top: 10px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.8);
border: 20px rgba(149, 173, 204, 0.8);
width: auto;
}
th, td {
vertical-align: center;

text-align: justify;
}
th {
vertical-align: top;
text-align: justify;
width: 7em;
color: #0a2b61;
padding-left: 0em;
font-family: 'Al Jazeera Arabic Regular', 'Jazeera', sans-serif;
font-size: 12px;
}
td {
vertical-align: top;

text-align: justify;
color: #0a2b61;
padding-left: 0em;
font-family: 'Al Jazeera Arabic Regular', 'Jazeera', sans-serif;
font-size: 13px;
}

#map {
  width: 100%;
  height: 100%;
}
.rotation {
  position: absolute;
  bottom: 20px;
  background-color: #007bff;
  color: rgb(170, 18, 18);
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 50px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, transform 0.3s;
}

.rotate-button:hover {
  background-color: #0056b3;
}

.rotate-button:active {
  transform: scale(0.95);
}
.ol-feature-list {
  position: relative;
}
.ol-control.ol-feature-list {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}
.ol-control.ol-feature-list > button:before {
  content: "";
  position: absolute;
  width: 60%;
  height: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 2.5px;  
  background-image: linear-gradient(90deg, currentColor, transparent);
}

.ol-control.ol-feature-list.ol-collapsed {
  bottom: .5em;
  left: .5em;
  width: auto;
}
.ol-feature-list .ol-content {
  background-color: #f4f6f8;
  clear: both;
}
.ol-feature-list.ol-collapsed .ol-content > * {
  display: none;
}
.ol-feature-list .ol-header {
  position: relative;
  overflow: hidden;
}
.ol-feature-list.ol-collapsed .ol-header {
  display: block;
}

.ol-control.ol-feature-list > button,
.ol-control.ol-feature-list.ol-collapsed .ol-content {
  display: none;
}
.ol-control.ol-feature-list.ol-collapsed > button {
  display: block;
}

.ol-feature-list .ol-sizer {
  width: 100%;
  height: 1px;
  cursor: row-resize;
  background-color: #ccc;
  position: relative;
  border: 1px solid #f4f6f8;
  border-width: 1px 0;
}
.ol-feature-list.ol-bottom .ol-sizer {
  position: absolute;
  bottom: 0;
}
.ol-feature-list .ol-sizer:before {
  content: "";
  width: 1.5em;
  height: 4px;
  background-color: #ddd;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  border: 3px solid transparent;
  border-width: 3px 1.5em;
  box-shadow: inset 0 -1px #aaa, inset 0 1px #aaa;
  border-radius: 2px;
}
.ol-feature-list .ol-sizer:hover:before {
  background-color: #ccc;
}

.ol-feature-list .ol-content .ol-header p {
  display: inline-block;
  margin: 0.1em .25em;
  vertical-align: middle;
  white-space: nowrap;
  width: calc(100% - 2em);
  text-overflow: ellipsis;
  overflow: hidden;
}
.ol-feature-list .ol-content .ol-header .ol-buttons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.ol-feature-list .ol-content .ol-header button {
  position: relative;
  border: 0;
  background: transparent;
  vertical-align: middle;
  width: 1em;
  height: 1em;
  margin: 0 .2em;
  box-sizing: border-box;
}
.ol-feature-list .ol-content .ol-header button.ol-closebox:before,
.ol-feature-list .ol-content .ol-header button.ol-closebox:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  background: currentColor;
  width: .1em;
  height: 1em;
  display: block;
  font-style: normal;
}
.ol-feature-list .ol-content .ol-header button.ol-closebox:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox {
  border: 1px solid currentColor;
}
.ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox:before {
  transform: translate(-50%, -50%) rotate(90deg);
}
.ol-feature-list.ol-collapsed .ol-content .ol-header button.ol-closebox:after {
  display: none;
}

.ol-feature-list .ol-scroll-container {
  overflow: auto;
  height: 10em;
  min-height: 3em;
}

.ol-feature-list table {
  background-color: #fff;
  border-collapse: collapse;
  white-space: nowrap;
  position: relative;
}
.ol-feature-list table thead {
  background-color: #f4f6f8;
  position: sticky;
  top: 0;
  overflow: hidden;
}
/* Fixed height */
.ol-feature-list table tr {
  height: 1.4em;
  box-sizing: border-box;
}
.ol-feature-list table tbody tr:hover {
  background-color: #eee;
  cursor: pointer;
}

.ol-feature-list table tbody tr.ol-selected {
  background-color: #eee;
}

.ol-feature-list table td {
  border: 0 solid #ddd;
  border-width: 0 0 1px 1px;
  overflow: hidden;
  width: 100px;
}
.ol-feature-list table td.number {
  text-align: right;
}
.ol-feature-list table td.undefined {
  text-align: center;
  background-color: #fafafa;
}

.ol-feature-list thead td {
  position: relative;
}
.ol-feature-list thead td.sort {
  padding-right: 1.5em;
}

.ol-feature-list thead td p {
  margin: 0;
  display: inline-block;
}
.ol-feature-list table td button {
  position: absolute;
  width: 1.2em;
  height: 1.4em;
  top: 0;
  right: 0;
  margin: .1em 0;
  padding: 0;
  background-color: transparent;
  border: 0;
}
.ol-feature-list thead td button.sort:before {
  content: '⇅';
  font-style: normal;
  font-weight: normal;
  cursor: pointer;
  font-size: 1em;
  line-height: 1em;
}
.ol-feature-list thead td button.sortup:before {
  content: '↧';
}
.ol-feature-list thead td button.sortdown:before {
  content: '↥';
}

.ol-popup {
  display: none;
  position: fixed;
  top: 1.92em!important;
  right: 0em!important;
  background-color: rgba(253, 253, 253, 1);
  -moz-box-shadow: 0 1px 4px rgba(0,60,136,0.2);
  -webkit-filter: drop-shadow(0 1px 4px rgba(0,60,136,0.2));
  filter: drop-shadow(0 1px 4px rgba(255, 255, 255, 0.2));
  padding: 2px;
  border-radius: 5px;
  border: 1px solid rgb(1, 168, 212, 1);
  bottom: 0;
  left: 0;
  height: auto;
  text-align: right;
  width: 20.1em;
  max-height: 91vh;
  overflow: auto;
       
}
.ol-popup .ol-popupfeature .ol-zoombt {
border: 0;
width: 2em;
height: 2em;
display: inline-block;
color: rgba(0,60,136,.5);
position: relative;
background: transparent;
outline: none;
}
.ol-popup .ol-popupfeature .ol-zoombt:before {
content: "";
position: absolute;
-webkit-box-sizing: border-box;
        box-sizing: border-box;
width: 1em;
height: 1em;
background-color: transparent;
border: .17em solid currentColor;
border-radius: 100%;
top: .3em;
left: .3em;
}
.ol-popup .ol-popupfeature .ol-zoombt:after {
content: "";
position: absolute;
-webkit-box-sizing: border-box;
        box-sizing: border-box;
top: 1.35em;
left: 1.15em;
border-width: .1em .3em;
border-style: solid;
border-radius: .03em;
-webkit-transform: rotate(45deg);
        transform: rotate(45deg);
-webkit-box-shadow: -0.2em 0 0 -0.04em;
        box-shadow: -0.2em 0 0 -0.04em;
}


.ol-popup .ol-popupfeature .ol-prev,
.ol-popup .ol-popupfeature .ol-next {
border-style: solid;
border-color: transparent rgba(0,60,136,.5);
border-width: .5em 0 .5em .5em;
display: inline-block;
vertical-align: bottom;
margin: 0 .5em;
cursor: pointer;
}
.ol-popup .ol-popupfeature .ol-prev{
border-width: .5em .5em .5em 0;
}

/* أسلوب الزر */
.search-button {
  background-color: #be2020;
  padding: 5px 10px;
  cursor: pointer;
}
.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 0px;
  right: 0px;
  background-color: rgb(70, 70, 141); /* لون الخلفية للزر */
  color: white; /* لون النص داخل الزر */
  padding: 0 0px; /* تعديل الحواف للزر */
  border-radius: 3px;
  font-size: 0px; /* إضافة زوايا مستديرة للزر */
}



.ol-attribution a {
  text-decoration: none;
  color: #fff;
  font-family: sans-serif;
  font-size: 100%;
}

.layer-switcher .panel {
  border: 4px solid rgba(0,60,136,.5) !important;
  border-radius: 4px !important;
}

.layer-switcher {
  top: 1.5em;
  right: 1.5em;
  text-align: left;
}

#popup-content>ul>li:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.5);
  
}

#popup-content ul {
direction: rtl; /* تحديد اتجاه الكتابة إلى اليمين */
text-align: right;
padding : 0.2em; /* إزالة الحشو من القائمة */
margin: 0; /* إزالة الهوامش من القائمة */
}

#popup-content ul li {
padding: 0em; /* إزالة الحشو من العناصر داخل القائمة */
margin: 0; /* إزالة الهوامش من العناصر داخل القائمة */
list-style: none; /* إزالة الرموز القياسية للعناصر في القائمة إذا لزم الأمر */
}
#popup-content li {
  margin-bottom:0.9em;
 /* إضافة هامش داخلي للعناصر لتحقيق تأثير البوكس */
  
  
}

#popup-content li span:first-child {
font-weight: bold; /* تحديد سمك الخط للحقل الأول داخل البند */
color: #e74c3c; /* لون النص للحقل الأول داخل البند */
}