@font-face {
  font-family: "Greta Arabic";
  src: url("fonts/Greta Arabic Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greta Arabic AR + LT Medium";
  src: url("fonts/Greta-Arabic-AR-LT-Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greta Arabic AR + LT SemiBold";
  src: url("fonts/Greta Arabic AR + LT SemiBold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greta Arabic Bold";
  src: url("fonts/Greta Arabic Bold.ttf") format("truetype");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Greta Arabic AR + LT Light";
  src: url("fonts/Greta Arabic AR + LT Light.ttf");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roadway V1";
  src: url("fonts/Roadway V1.ttf");
  font-style: normal;
  font-display: swap;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: white;
  font-size: 18px;
  font-family: "Greta Arabic" !important;
  font-weight: normal;
  direction: rtl;
}

#content {
  width: 100%;
}

#myMaps {
  width: 100%;
  height: calc(100vh - 70px);
  touch-action: pan-right pinch-zoom;
}
#myMaps > div {
  width: 100%;
  height: 100%;
}

/*
div#mapLoading {
	font-size: 10em;
	left: 50px;
	position: absolute;
	top: 60px;
	z-index: -1;
}
*/
.debugPath {
  stroke: orange;
  stroke-width: 5;
}

.debugRoom {
  fill: red;
  stroke: red;
  stroke-width: 4;
}

.wayfindingRoom {
  fill: #ffc;
  stroke: blue;
  stroke-width: 2;
  stroke-dasharray: 5 3;
}
.wayfindingRoom rect {
  stroke: #16428a !important;
  stroke-width: 1.5px !important;
}

g.startPin path {
  fill: #02cde2;
  stroke: #029aaa;
}
.destinationPin {
  display: none;
}

/**** PanZoom *********/
#pan-u {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 18px solid white;
}

#pan-r {
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-left: 18px solid white;
  border-top: 9px solid transparent;
}

#pan-d {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 18px solid white;
}

#pan-l {
  width: 0;
  height: 0;
  border-bottom: 9px solid transparent;
  border-right: 18px solid white;
  border-top: 9px solid transparent;
}

#reset {
  width: 18px;
  height: 18px;
  background: white;
  -moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
}

#pan-ctl {
  width: 62px;
  height: 62px;
  background: rgba(68, 92, 111, 0.5);
  -moz-border-radius: 31px;
  -webkit-border-radius: 31px;
  border-radius: 31px;
}

#map-ctl .icon {
  background-image: url(MapButtonsCropped.png);
  background-size: 100%;
}

#zoomin-ctl > .icon {
  background-position: 0px 0px;
}

#zoomout-ctl > .icon {
  background-position: 0px -37px;
}

#floor-3 > .icon {
  background-position: 0px -110px;
}

#floor-2 > .icon {
  background-position: 0px -146px;
}

#floor-1 > .icon {
  background-position: 0px -183px;
}

#floor-0 > .icon {
  background-position: 0px -219px;
}

#parking > .icon {
  background-position: 0px -256px;
}

/***/
.view_controls {
  width: 90px;
  height: 339px;
  z-index: 0;
  text-align: left;
  position: absolute;
  right: -1px;
  top: 5px;
  z-index: 10000;
}
.map_options {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Greta Arabic AR + LT SemiBold";
  color: #000;
  background-color: #d1cfcc;
  height: 50px;
  width: 100%;
  margin-bottom: 10px;
}
.map_options .inner_block {
}
.map_options .form_row {
  display: flex;
  gap: 4rem;
}
.map_options .form_col {
}

.map_options .form_col label,
.map_options .form_col button,
.map_options .form_col select {
  height: 30px;
  font-family: "Greta Arabic AR + LT Medium";
}
.map_options .form_col label {
  margin-left: 10px;
}
.map_options .form_col button {
  border: 0;
  padding: 5px 15px;
  background: #cb7d31;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}
.map_options .form_col button:hover,
.map_options .form_col button.active {
  background: #15428a;
}

.map_options .form_col select {
  min-width: 140px;
  border: 1px solid #dee2e6;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 15px;
}

/****/
@media(max-width :768px){
    .map_options{
        height: auto;
    }
    .map_options .inner_block {
        padding: 1rem .5rem;
    }
    .map_options .form_row {
        gap: 1rem;
        flex-wrap: wrap;
    }
    .view_controls{
        display: none;
    }
    #myMaps{
        height: auto;
    }
}