﻿@import url("https://fonts.googleapis.com/css2?family=Readex+Pro:wght@160..700&display=swap");
:root {
  --qMap-header-height: 4rem;
  --qMap-header-top: 1rem;
  --qMap-logo-header-height: 35px;
  --qTech-logo-footer-height: 30px;
  --location-info-bar-height: 36px;
  --top-tools-margin: 2.5rem;
}

body {
  height: 100vh;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.geo-explorer {
  background: url("../assets/images/preloader.png") center top no-repeat;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  font-family: "Readex Pro", sans-serif;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  z-index: 9999;
  direction: rtl;
}
.geo-explorer .geo-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.geo-explorer .geo-main .content {
  color: #fff;
}
.geo-explorer .geo-main .content .logo {
  max-width: 250px;
}
@media (max-width: 480px) {
  .geo-explorer .geo-main .content .logo {
    max-width: 225px;
  }
}
.geo-explorer .geo-main .content .item-title .title {
  text-align: center;
  font-family: "Readex Pro";
  font-weight: 700;
  line-height: 48px;
  font-size: 2rem;
  padding: 0 1rem;
}
@media (max-width: 789px) {
  .geo-explorer .geo-main .content .item-title .title {
    font-size: 1.7rem;
  }
}
@media (max-width: 630px) {
  .geo-explorer .geo-main .content .item-title .title {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0 0.5rem;
    line-height: 40px;
  }
}
@media (max-width: 480px) {
  .geo-explorer .geo-main .content .item-title .title {
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 30px;
  }
}
@media (max-width: 480px) {
  .geo-explorer .geo-main .content .item-title .title-icon {
    width: 50px;
  }
}
.geo-explorer .geo-main .content .loading {
  text-align: center;
  line-height: 30px;
  margin-top: 2rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.geo-explorer .geo-main .content .loading .loader {
  width: 28px;
  height: 28px;
  margin-left: 8px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@media (max-width: 480px) {
  .geo-explorer .geo-main .content .loading .loader {
    width: 20px;
    height: 20px;
  }
}
@media (max-width: 480px) {
  .geo-explorer .geo-main .content .loading {
    font-size: 1rem;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#user-div {
  height: 100vh;
  overflow: auto;
}
#user-div .dropdown-export,
#user-div .export-btn,
#user-div .bookmark-btn {
  display: none !important;
}

.qMap-main-header {
  height: var(--qMap-header-height);
  padding-inline: 1.5rem;
  position: fixed;
  top: var(--qMap-header-top);
  z-index: 100;
  width: calc(100% - 3rem);
  margin-inline: 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background: url(../assets/images/nav-bg.png) no-repeat;
  background-size: cover;
}

.qMap-main-header .nav-title .title {
  font-size: 1.25rem;
  font-weight: 700;
}

.qMap-main-header .lang-btn {
  width: 2rem;
  height: 2rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(249, 246, 237, 0.1);
}

.qMap-main-footer {
  height: 40px;
  position: fixed;
  width: 60%;
  bottom: 0;
  padding-inline-start: 1.5rem !important;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}
@media (max-width: 991px) {
  .qMap-main-footer {
    width: 100%;
  }
}
.qMap-main-footer .btn-termsAndConditions {
  padding: 0;
  text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff;
  font-size: 0.8125rem;
  font-weight: 800;
}
.qMap-main-footer .btn-termsAndConditions:focus {
  box-shadow: unset;
}
.qMap-main-footer .btn-termsAndConditions:focus-visible {
  outline: none;
}

.qMap-main-footer .qTech-logo-footer {
  width: 1.25rem;
  height: 1.1875rem;
  display: none !important;
}

.privacyPolicy_modal .modal-header {
  padding: 1rem;
  border-radius: 0.75rem 0.75rem 0 0;
  border-bottom: 0.8px solid var(--neutral-100);
  background: var(--neutral-50);
  box-shadow: 0 1px 50px 2px rgba(0, 0, 0, 0.06), 0 2px 9px 0 rgba(0, 0, 0, 0.08);
}
.privacyPolicy_modal .modal-header .modal-title {
  font-size: 1.125rem;
  font-weight: 800;
}
.privacyPolicy_modal .modal-header button:focus {
  box-shadow: unset;
}
.privacyPolicy_modal .modal-body ul {
  margin: 0;
  padding-inline: 1rem;
}
.privacyPolicy_modal .modal-body ul .list-title {
  margin-bottom: 1.5rem;
}
.privacyPolicy_modal .modal-body ul .list-title .title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.privacyPolicy_modal .modal-body ul .list-title .prag {
  font-weight: 500;
  color: var(--neutral-700);
  margin-bottom: 0;
}
.privacyPolicy_modal .modal-body ul .list-title::marker {
  color: #007b69;
}
.privacyPolicy_modal .modal-body ul.list-items {
  list-style: disc;
}
.privacyPolicy_modal .modal-body .welcome-header {
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.privacyPolicy_modal .modal-body_footer {
  font-size: 0.875rem;
  font-weight: 500;
}
.privacyPolicy_modal .modal-body_footer .fw-bold {
  font-weight: 800;
}

.qMap-logo-header {
  height: var(--qMap-logo-header-height);
}

.location-info-bar {
  position: absolute;
  width: 100%;
  top: 64px;
  z-index: 999;
  background-color: rgba(128, 128, 128, 0.8);
  font-size: small;
  font-weight: bold;
  height: var(--location-info-bar-height);
  color: white;
  pointer-events: none;
}

#lang-btn-container {
  cursor: pointer;
}

.lang-btn {
  background-color: transparent;
  border: none;
  padding-inline: 0;
}

.lang-txt {
  font-size: small;
  font-weight: bold;
}

#weather-info .icon {
  height: 25px;
}

.mapWidgetsContainer .tools {
  margin-top: var(--qMap-header-height);
}

.mapWidgetsContainer .widget-container,
.mapWidgetsContainer .secondary-map-popup {
  margin-block: 1rem;
  top: calc(var(--qMap-header-height) + 4.5rem);
  height: calc(100% - var(--qMap-header-height) - 6.5rem);
}
.mapWidgetsContainer #time-slider {
  bottom: 40px;
  z-index: 1;
}
.mapWidgetsContainer #saveAll-goto-location,
.mapWidgetsContainer #save-all-measure-results,
.mapWidgetsContainer .save-measure-result {
  display: none !important;
}

/*dark mode*/
.calcite-mode-dark .header i,
.calcite-mode-dark .location-info-bar {
  color: var(--dark-theme-primary-font-color) !important;
}

.calcite-mode-dark .footer {
  color: #4d5761;
  text-align: right;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
  font-size: 0.8125rem;
  font-style: normal;
}

@media (max-width: 575px) {
  .qMap-main-header {
    top: 0;
    width: 100%;
    padding-inline: 1rem;
    margin-inline: 0;
    border-radius: 0;
  }
  .qMap-main-header .qMap-logo-header {
    width: 70px;
  }
  .qMap-main-header .nav-title img {
    width: 40px;
    aspect-ratio: 1/1;
  }
  .qMap-main-header .nav-title .title {
    font-size: 12px;
  }
  .qMap-main-footer {
    height: auto;
    justify-content: center !important;
    font-size: 10px;
    z-index: 200;
    text-align: center;
  }
  .qMap-main-footer .termsAndConditions {
    width: 100%;
  }
  .qMap-main-footer .termsAndConditions .btn-termsAndConditions {
    font-size: 10px;
  }
  .mapWidgetsContainer .side-tools2 {
    padding-top: 0.5rem;
  }
  .mapWidgetsContainer #side-tools1-bar:has(#side-tools1-start.show) {
    margin-top: 0;
  }
  .mapWidgetsContainer .widget-container,
  .mapWidgetsContainer .secondary-map-popup {
    margin-block: 0;
    top: 0;
    height: 100%;
  }
  .mapWidgetsContainer #scale-bar-widget {
    bottom: 55px;
  }
  .mapWidgetsContainer #overview-map {
    bottom: 80px;
  }
}
@media (max-width: 480px) {
  .qMap-main-header .qMap-logo-header {
    width: 60px;
  }
  .qMap-main-header .nav-title img {
    width: 30px;
  }
  .qMap-main-header .nav-title .title {
    font-size: 9px;
  }
  .qMap-main-header .qMap-main-header .lang-btn {
    width: 26px;
    height: 26px;
  }
  .qMap-main-header .qMap-main-header .lang-btn img {
    width: 16px;
  }
}
@media (max-height: 620px) {
  .location-info-bar {
    position: unset;
  }
  #user-div {
    height: 100vh;
  }
  .mapWidgetsContainer #top-tools-bar,
  .mapWidgetsContainer #side-tools1-bar {
    top: 0;
  }
  .mapWidgetsContainer .side-tools1 {
    height: 100%;
  }
  html[dir=rtl] .mapWidgetsContainer #top-tools-bar,
  .rtl .mapWidgetsContainer #top-tools-bar {
    left: 30px;
  }
  html[dir=ltr] .mapWidgetsContainer #top-tools-bar,
  .ltr .mapWidgetsContainer #top-tools-bar {
    right: 30px;
  }
}
