@font-face {
  font-family: 'SFUITextBold';
  src: url('/System/fonts/SFUIText-Bold.otf');
}

@font-face {
  font-family: 'SFProBold';
  src: url('/System/fonts/SFNSTextBold.ttf');
}

@font-face {
  font-family: 'SFNSMediumMerged';
  src: url('/System/fonts/SFNSTextMediumMerged.ttf');
}

@font-face {
  font-family: 'SNFSRegularMerged';
  src: url('/System/fonts/SNFSRegularMerged.ttf');
}

@font-face {
  font-family: 'RegularG2';
  src: url('/System/fonts/SFUIText-RegularG2.otf');
}

@font-face {
  font-family: 'SFUITextHeavy';
  src: url('/System/fonts/SFUIText-Heavy.otf');
}

@font-face {
  font-family: 'SFUITextHeavyItalic';
  src: url('/System/fonts/SFUIText-HeavyItalic.otf');
}

@font-face {
  font-family: 'ArabicBold';
  src: url('/System/fonts/NotoNaskhArabicUI-Bold.ttf');
}

@font-face {
  font-family: 'AlmaraiBold';
  src: url('/System/fonts/Almarai-Bold.ttf');
}

* {
  font-family: 'SFProBold', 'AlmaraiBold', Arial;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

.spinner:after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border-radius: 50%;
  border: 5px solid rgba(180, 180, 180, 0.6);
  border-top-color: rgba(0, 0, 0, 0.6);
  animation: spinner 0.6s linear infinite;
}


body {
  min-height: 100%;
}


@font-face {
  font-family: SanFransico;
  src: url("/System/fonts/SF-Pro-Display-Bold.otf") format("opentype");
}



@font-face {
  font-family: 'iOS';
  src: url('/System/fonts/SFUIText-Bold.otf');
}

body,
html {
  height: 100%;
  width: 100%;
  margin: 0;
}

.inputSelected {
  background-color: green;
  color: white;
}

.inputSelectedRemoved {
  background-color: red;
  color: white;
}



.fullscreen {

  visibility: hidden;
  width: 100vw;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;

}

/* Scroll Bar Style */
::-webkit-scrollbar {
  width: 5px;
  height: 6px;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #9C9B9B;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #3E596E;

  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #FF0000;
  cursor: pointer;
  border-radius: 10px;
}

.swal2-overlay {
  z-index: 9999 !important; /* Adjust the z-index of the overlay */
}

.swal2-popup {
  z-index: 10000 !important; /* Ensure the Swal popup is on top */
}

.map {
  width: 100%;
  height: 100dvh;
  float: right;
  position: relative; 
}

.map-left {
  width: 100%;
  height: 100dvh;
  float: left;
  position: relative; 
}

.sidepanel {
  background: #F2EFE9;
  width: 320px;
  height: 100%;
  padding: 10px;
  min-height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;
}

.toggle-sidepanel {
  position: fixed;
  bottom: 55px;
  right: 5px;
  background: #364958;
  color: white;
  padding: 3px;
  z-index: 98;
  cursor: pointer;
  transition: 0.2s;
}

#SearchSpace{
  overflow-y: hidden;
}

#ClearMapFilterButton{
  
}

.logocontainer {
  background: #F2EFE9;
  text-align: center;
  align-content: center;
}

.logocontainer-hide {
  display: none;
}

.toggle-sidepanel:hover {
  background-color: #52748f;
  transition: 0.2s;
}

.toggle-sidepanel:hover>.ControlButton {
  color: #fff;
  transition: 0.2s;
}

.ControlButton {
  background-color: Transparent;
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  color: #333;
  transition: 0.2s;
}

.ControlButton:focus {
  outline: none;
  box-shadow: none;
}


.settings {
  overflow-y: scroll;
  padding: 2px;
  height: 480px;

}

.settings-hide-s1 {
  height: calc(100dvh - 155px);
  overflow-y: scroll;
  padding: 2px;
  margin-top: -7px;
}

.settings-hide-s2 {
  height: calc(100dvh - 115px);
  overflow-y: scroll;
  padding: 2px;
  margin-top: -7px;
}


.sidepanel-title {
  width: 100%;
  font-size: 1.5em;
  color: #000000;
  display: block;
  text-align: center;
}

.current-location {
  top: 24.0em;
  left: .5em;
}



.form-location {
  top: 6.5em;
  right: .5em;
}

.customC {
  position: absolute;
  background-color: rgba(255, 255, 255, .4);
  border-radius: 4px;
  padding: 2px;
}

.customC button {
  background-color: #e4ad24;
  display: block;
  margin: 1px;
  padding: 0;
  color: #fff;
  font-size: 1.14em;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  height: 1.8em;
  width: 1.8em;
  line-height: .4em;
  border: none;
  border-radius: 2px;

}
.my-mouse-position {
  position: absolute;
  bottom: 4em;
  left: 0.3em;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: rgba(0, 0, 0, 0.45); /* dark translucent */
  backdrop-filter: blur(6px) brightness(1.1);
  -webkit-backdrop-filter: blur(6px) brightness(1.1);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 6px 12px;

  font-size: 14px;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 0 4px rgba(0,0,0,0.3);

  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  user-select: none;
  pointer-events: none;
}

.my-mouse-position::before {
  content: "X,Y: ";
  font-weight: 700;
  color: #ffffffcc;
}

@media (max-width: 600px) {
  .my-mouse-position {
    display: none;
  }

}

.current-location-right {
  top: 5.0em;
  right: .5em;
}

.language-changer-right {
  top: 6.0em;
  right: .5em;
}

.rotate-north {
  top: 3.50em;
  right: .5em;
}

.language-changer {
  top: 28.0em;
  left: .5em;
}

.scale-text {
  bottom: 5em;
  left: .3em;
}

.compare-range {
  bottom: 8.0em;
  right: .3em;
}

.scale-text-right {
  bottom: 3.2em;
  left: 0.3em;
}

#ScaleTextField {
  text-align: center;
  width: 90px;
}

.side-panel {
  top: 19.0em;
  left: .5em;
}

.defaultExtent {
  top: 21.50em;
  left: .5em;
}

.edit-geometry {
  top: 0em;
  right: 0em;
}

.side-panel-up {
  top: 5.0em;
  left: .5em;
}

.defaultExtent-up {
  top: 7.50em;
  left: .5em;
}

.ExtraInformation {
  top: 27.0em;
  left: .5em;
}

.attr {
  left: 0.5em;
  bottom: 8em;
}

.attr:hover {
  left: 0.5em;
  bottom: 8em;
  cursor: pointer;
}

.loadingg {
  right: 0.5em;
  bottom: 3em;
}

/* .loadingg:hover {right: 0.5em;bottom: 2em;  cursor: pointer;} */

.ol-xy {
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccccccea;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .ol-popup {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.603);
  }

  .ol-lm-popup {
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background-color: rgba(255, 255, 255, 0.603);
  }
}

.ol-popup {
  position: absolute;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccccccea;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  bottom: 12px;
  left: -50px;
  min-width: 360px;
  z-index: 99;

}

.ol-popup:after,
.ol-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.9;
}

.ol-popup-closer:hover {
  cursor: pointer;
  opacity: 1.2;
}

.ol-popup-mover {
  text-decoration: none;
  position: absolute;
  top: 8px;
  color: #607a94;
  right: 40px;
  opacity: 0.9;
}

.ol-popup-mover:hover {
  cursor: pointer;
  opacity: 1.2;
  color: #7fa2c5;
}


.ol-lm-popup {
  position: absolute;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccccccea;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  bottom: 12px;
  left: -50px;
  min-width: 340px;

}

.ol-lm-popup:after,
.ol-lm-popup:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.ol-lm-popup:after {
  border-top-color: white;
  border-width: 10px;
  left: 48px;
  margin-left: -10px;
}

.ol-lm-popup:before {
  border-top-color: #cccccc;
  border-width: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-lm-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0.9;
}

.ol-lm-popup-closer:hover {
  cursor: pointer;
  opacity: 1.2;
}


ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}



.info-image {
  margin-left: auto;
  margin-right: auto;
  margin-top: -30px;
  margin-bottom: 5px;
  display: block;
}

.title {
  text-align: center;
}

.LayersDiv {
  display: flex;
  align-items: center;
  justify-content: center;

}

#popup-content {
  max-height: 500px;
  overflow-y: auto; /* Changed from scroll to auto */
  text-align: center;
  padding-top: 5px;
  padding: 10px 5px 10px 5px;
  height: 300px;
}


.layersPanel {
  border: 5px solid red;
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  /* border: 1px solid #ccccccea; */
  bottom: 12px;
  left: -50px;
  min-width: 350px;
}


.layersPanel:after,
.layersPanel:before {
  top: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.layerPanelContent {
  vertical-align: middle;
}

.form {
  align-items: center;
  justify-content: center;

}


#goTo {
  margin-left: 30px;
  margin-right: 30px;
  display: none;
}


/* CSS For the Expandable Information Contnet  */

.Abutton {
  display: block;
  width: 100%;
  height: 36px;
  /* padding:12px; */
  border: none;
  font-weight: bold;
  outline: 0 !important;
  cursor: pointer;
  background: #364958;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  transition: background 0.2s;
  margin-bottom: 10px;
}

.Abutton::after {
  content: '\f078';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);

}

.Abutton--active {
  display: block;
  width: 100%;
  height: 36px;
  /* padding:15px; */
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  background: #4D7391;
  border-radius: 10px;
  color: #c5c1c1;
  font-weight: bolder;
  text-align: center;
  transition: background 0.2s;
}

.Abutton--active::after {
  content: '\f077';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);
}

.ACC {
  position: relative;
  overflow: hidden;
  overflow-y: scroll;
  height: 0px;
  transition: height 0.2s;
  overflow-y: scroll;
  padding: 0 15px;
  font-family: 'Questrial', cursive;
  background: #eeeeee;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);
  border-radius: 7px;
  margin-bottom: 10px;
}


/* The CheckBoxes */
input[type="checkbox"] {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.basemaptoggle {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.basemaptoggle:checked {
  background: #22A206;
}

.filtertoggle:checked {
  background: #f3c65e;
}

.toggleclicked {
  background: #22A206;
}

.layerAdded {
  background: #FF0000;
}

.layertoggle:checked {
  background: #FF0000;
}

.basemaptoggle:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}

.basemaptoggle:checked:before {
  left: 17.5px;
}

.measuretoggle {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.measuretoggle:checked {
  background: #469b86;
}

.measuretoggle:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}

.measuretoggle:checked:before {
  left: 17.5px;
}


.xytoggle {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.xytoggle:checked {
  background: #45559e;
}

.xytoggle:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}

.xytoggle:checked:before {
  left: 17.5px;
}



.projectiontoggle {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.projectiontoggle:checked {
  background: #364958;
}

.projectiontoggle:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}

.projectiontoggle:checked:before {
  left: 17.5px;
}


.disabledtoggle {
  position: relative;
  width: 35px;
  height: 18px;
  -webkit-appearance: none;
  background: #c6c6c6;
  outline: none;
  border-radius: 20px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
  cursor: pointer;
  margin-top: 4px;
  margin-left: 10px;
}

.disabledtoggle:checked {
  background: #a1a1a1;
}

.disabledtoggle:before {
  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}

.disabledtoggle:checked:before {
  left: 17.5px;
}


/* input:checked[type="checkbox"]
  {
    background: #FF0000;
  } */

input[type="checkbox"]:before {

  content: '';
  position: absolute;
  width: 17px;
  height: 17px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: 0.3s;
}


input:checked[type="checkbox"]:before {
  left: 17.5px;
}

map .ol-custom-overviewmap,
.map .ol-custom-overviewmap.ol-uncollapsible {
  bottom: auto;
  left: auto;
  right: 0;
  top: 0;
}

.map .ol-custom-overviewmap:not(.ol-collapsed) {
  border: 2px solid grey;
  border-radius: 10px;
}

.map .ol-custom-overviewmap .ol-overviewmap-map {
  border: none;
  width: 300px;
}

.map .ol-custom-overviewmap .ol-overviewmap-box {
  border: 1px solid red;
  border-radius: 10px;
}

.map .ol-custom-overviewmap:not(.ol-collapsed) button {
  bottom: auto;
  left: auto;
  right: 1px;
  top: 1px;
}

.xycoordinates {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  background: #333333;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
  margin-bottom: 5px;
}

.Settingsbutton {
  display: block;
  width: 100%;
  padding: 6px;
  border: none;
  outline: 0 !important;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  cursor: pointer;
  background: linear-gradient(135deg, #293a48, #2F4A59, #27353f); /* Smoother gradient with intermediate colors */
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.6s ease; /* Longer transition for smoother effect */
  font-family: 'SFUITextHeavyItalic', 'AlmaraiBold';
  font-size: 14.4px;
}

.Settingsbutton:hover {
  background: linear-gradient(135deg, #2F4A59, #435a6b, #27353f); /* Smooth gradient transition on hover */
  transition: background 0.6s ease;
}

.Settingsbutton::after {
  content: '\f078';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);
}

.Settingsbutton--active {
  display: block;
  width: 100%;
  border: 0;
  outline: 0 !important;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  cursor: pointer;
  background: linear-gradient(135deg, #405767, #2F4A59, #27353f); /* Active state with a more dynamic gradient */
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.6s ease;
}

.Settingsbutton--active::after {
  content: '\f077';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);
}


.SettingsbuttonNew:hover {
  background: #27353f;
  transition: background 0.2s;
}

.SettingsbuttonNew {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  outline: 0 !important;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  cursor: pointer;
  background: #364958;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
  margin-bottom: 3px;
  font-family: 'ArabicSlim', 'SFUITextHeavyItalic';
  font-size: 16.5px
}

.SettingsbuttonNew::after {
  content: '\f078';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);

}

.SettingsbuttonNew--active {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  outline: 0 !important;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  cursor: pointer;
  background: #4D7391;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
}

.SettingsbuttonNew--active::after {
  content: '\f077';
  font-family: FontAwesome;
  float: right;
  transform: scale(0.9);
}


.password-container {
  position: relative;
}

#togglePasswordVisibility {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

#togglePasswordVisibility.active {
  color: #ff0000;
  /* Active color */
}




.ExtendedButton {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s;
  font-family: 'Questrial', cursive;
  border-radius: 10px;
  margin-bottom: 10px;

}

.GreyBackground {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s;
  padding: 0px 0px;
  font-family: 'Questrial', cursive;
  box-shadow: inset 0 0 5px rgba(49, 49, 49, 0.2);
  background: #E0E0E0;
  border-radius: 10px;
  margin-top: 1px;
  margin-bottom: 5px;
}

.SearchBackgroundOverLay {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s;
  padding: 0px 15px;
  font-family: 'Questrial', cursive;
  background: #DFDFDF;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, .2);
  border-radius: 10px;
  margin-bottom: 10px;
}


.SelectedLayerButton {
  display: block;
  width: 100%;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  background: #DCDCDC;
  border-radius: 13px;
  color: #000000;
  text-align: left;
  font-size: 13.5px;
  transition: background 0.2s;
}

.SelectedLayerButton::after {
  content: '\25be';
  float: right;
  transform: scale(1.5);

}

.SelectedLayerButton--active {
  display: block;
  width: 100%;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  background: #d6d5d5;
  border-radius: 13px;
  font-weight: bold;
  color: #000000;
  text-align: left;
  transition: background 0.2s;
}

.SelectedLayerButton--active::after {
  content: '\25b4';
  float: right;
  transform: scale(1.6);
}


.SelectedLayerButton2 {
  display: block;
  width: 100%;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  background: #DCDCDC;
  border-radius: 7px;
  color: #000000;
  height: 30px;
  text-align: left;
  font-size: 13.5px;
  transition: background 0.2s;
}

.SelectedLayerButton2::after {
  content: '\25be';
  float: right;
  transform: scale(1.5);

}

.SelectedLayerButton2--active {
  display: block;
  width: 100%;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  background: #d6d5d5;
  border-radius: 7px;
  font-weight: bold;
  height: 30px;
  color: #000000;
  text-align: left;
  transition: background 0.2s;
}

.SelectedLayerButton2--active::after {
  content: '\25b4';
  float: right;
  transform: scale(1.6);
}

.outer-button {
  display: flex;
  align-items: center;
}

.left-button {
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  cursor: pointer;
}

.right-button {
  background-color: #28a745;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}


.ExpandedSearchButton {
  display: inline-block;
  width: 100%;
  padding: 4px;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  background: #364958;
  border-radius: 10px;
  color: #FFFFFF;
  text-align: center;
  transition: background 0.2s;
}

.ExpandedSearchButton:hover {
  background: #27353f;
  color: #FFFFFF;

}

.ExpandedSearchButton::after {
  content: '\25be';
  float: right;
  transform: scale(1.6);

}

.ExpandedSearchButton--active {
  display: inline-block;
  width: 100%;
  padding: 4px;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  background: #4d6272;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  transition: background 0.2s;
}

.ExpandedSearchButton--active::after {
  content: '\25b4';
  float: right;
  transform: scale(1.5);
}

.ExpandedSearchButton {
  display: block;
  margin-bottom: 7px;
  width: 100%;
  padding: 8px;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  background: #364958;
  border-radius: 10px;
  color: #FFFFFF;
  text-align: center;
  transition: background 0.2s;
}

.ExpandedSearchButton::after {
  content: '\25be';
  float: right;
  transform: scale(1.5);

}

.ExpandedSearchButton--active {
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  background: #4d6272;
  border-radius: 10px;
  color: #ffffff;
  text-align: center;
  transition: background 0.2s;
}

.ExpandedSearchButton--active::after {
  content: '\25b4';
  float: right;
  transform: scale(1.5);
}



.NormalButton:disabled {
  background: #2b3b46;
}

.NormalButton:disabled:hover {
  background: #2b3b46;
}

.NormalButton:hover {
  background: #27353f;
  transition: background 0.2s;
}

.NormalButton {
  display: block;
  margin-bottom: 5px;
  width: 100%;
  padding: 5px;
  border: none;
  outline: 0 !important;
  cursor: pointer;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  background: #364958;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
  font-family: 'SFUITextHeavyItalic', 'AlmaraiBold';
  font-size: 14.4px
}

.NormalButton--active {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
  box-shadow: inset 0 0 5px rgba(248, 245, 245, 0.493);
  background: #4D7391;
  border-radius: 10px;
  color: #ffffff;
  text-align: left;
  transition: background 0.2s;
}

.LayerInformation #MasterPlanlegend {
  background-size: cover;
  background-repeat: no-repeat;

}

.LayerInformation {
  width: 100%;
  overflow: hidden;
  max-height: 0;
  margin-bottom: 10px;
}

#check {
  display: none
}


#btn {
  cursor: pointer;
  background: #ffffff;
  margin-top: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 10px;
}

#ResetBtn {
  margin-top: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 10px;
}



#btn:active {
  cursor: pointer;
  background: #ffffff;
  outline: #ff0000 !important;
  margin-top: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 10px;
}


form.example input[type=text] {
  padding: 10px;
  font-size: 17px;
  border: 1px solid grey;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  float: left;
  width: 77%;
  background: #f1f1f1;
  margin-bottom: 10px;
  height: 37px;
}

form.example button {
  float: left;
  width: 20%;
  padding: 10px;
  background: #2196F3;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: white;
  font-size: 17px;
  border: 1px solid grey;
  height: 37px;
  border-left: none;
  cursor: pointer;
}

form.example button:hover {
  background: #0b7dda;
}

form.example::after {
  content: "";
  clear: both;
  display: table;
}

.ol-tooltip {
  position: relative;
  background: rgba(0, 0, 0, 1);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
  font-size: 12px;
}

.ol-tooltip-measure {
  opacity: 0.9;
  font-weight: bold;
  background-color: #ffcc33;
}

.ol-tooltip-static {
  background-color: #ffcc33;
  color: black;
  border: 1px solid white;
}

.ol-tooltip-measure:before,

.ol-tooltip-static:before {
  border-top: 6px solid rgba(0, 0, 0, 0.5);
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  content: "";
  position: absolute;
  bottom: -6px;
  margin-left: -7px;
  left: 50%;
}

.ol-tooltip-static:before {
  border-top-color: #ffcc33;
}

#progress {
  position: absolute;
  bottom: 0;
  height: 0;
  left: 320px;
  box-shadow: 0px 0px 1px 2px rgb(9, 209, 69);
  width: 6;
  transition: width 250ms;
  z-index: 88;
}

@font-face {
  font-family: 'MyWebFont';
  src: url('/System/fonts/SFNSTextMediumMerged.ttf');
}


@font-face {
  font-family: 'ArabicSlim';
  src: url('/System/fonts/NotoNaskhArabic-Regular.ttf');
}


@font-face {
  font-family: 'ArabicFont';
  src: url('/System/fonts/NotoNaskhArabic-Bold.ttf');
}



#LogoImage {
  width: 600px;
  height: 300px;
}


.languageBtn {
  background: #607a94;
  color: #fff;
  border: 1px solid #607a94;
  border-radius: 5px;
  padding: 3px 6px;
  /* Combined padding shorthand */
  font-size: 12.5px;
  /* Adjust the font size as needed */
  transition: background-color 0.3s ease;
  /* Smooth transition for the background color */
}

.languageBtn:hover {
  background: #4f6b88;
  /* Darker shade on hover */
}

.languageBtn:focus {
  outline: #4f6b88;
  box-shadow: #4f6b88;
}


/* modal backdrop fix */
.modal:nth-of-type(even) {
  z-index: 1052 !important;
}

.modal-backdrop.show:nth-of-type(even) {
  z-index: 1051 !important;
}



@media (max-width:940px) {

  /* .sidepanel{
           display:none;
         }
         .map{
           width:100%;
         } */
}



@media (max-width:800px) {
  .map {
    width: calc(100vw - 280px)
  }

  .sidepanel {
    width: 280px;
  }

  #progress {
    left: 280px
  }
}


@media (max-width:650px) {
  .sidepanel {
    width: 0px;
  }

  .map {
    width: calc(100vw)
  }

  #progress {
    left: 0px
  }
}

@media (min-height:840px) {
  .settings {
    height: 620px;
  }
}

/*   
    @media (max-height:770px) {

      .settings{height:100px;}
    }
     */


@media (max-width:700px) {
  #LogoImage {
    width: 400px;
    height: 200px;
  }

  #Loading1 {
    font-size: 30px;
  }

  #Loading2 {
    font-size: 20px;
  }

  #Gif {
    width: 60px;
    height: 60px;
  }
}


@media (max-width:400px) {
  #LogoImage {
    width: 280px;
    height: 150px;
  }

  #Loading1 {
    font-size: 20px;
  }

  #Loading2 {
    font-size: 15px;
  }

  #Gif {
    width: 40px;
    height: 40px;
  }
}

@media (min-height:1000px) {
  .settings {
    height: calc(100dvh - 100px)
  }
}

@media (max-height:750px) {
  .settings {
    height: calc(100dvh - 300px)
  }

}


.expanded-row-content {
  display: grid;
  grid-column: 1/-1;
}

.hide-row {
  display: none;
}

tr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}


.scale-changer-wrapper {
  position: absolute;
  bottom: 2em;
  z-index: 1000;

  display: flex;
  align-items: center;
  background: rgba(5, 5, 5, 0.6);
  backdrop-filter: blur(6px) brightness(1.2);
  -webkit-backdrop-filter: blur(6px) brightness(1.2);
  padding: 4px 8px;
  border-radius: 8px;
  gap: 6px;
  color: white;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  user-select: none;
  max-width: 90vw;
  overflow: hidden;
}

.scale-label {
  font-weight: 600;
  color: #ffffffbb;
  white-space: nowrap;
  font-size: 11px;
}

.scale-input {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 6px;
  width: 90px;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.scale-input::placeholder {
  color: #cccccc99;
  font-style: italic;
}

.scale-input:focus {
  border-color: #ffffffbb;
  background: rgba(255, 255, 255, 0.18);
}

.scale-text.ol-unselectable.ol-control {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  user-select: none;
}
