﻿@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-bg.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;
}

.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;
}

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

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

.footer {
  height: 40px;
  position: fixed;
  width: 100%;
  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) {
  .footer {
    width: 100%;
  }
}
.footer .privacyPolicy {
  display: none;
}

.footer .logo-img .qTech-logo-footer {
  width: 1.25rem;
  height: 1.1875rem;
}

.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);
}

/*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) {
  .header {
    top: 0;
    width: 100%;
    padding-inline: 1rem;
    margin-inline: 0;
    border-radius: 0;
  }
  .header .qMap-logo-header {
    width: 70px;
  }
  .header .nav-title img {
    width: 40px;
    aspect-ratio: 1/1;
  }
  .header .nav-title .title {
    font-size: 12px;
  }
  .footer {
    height: auto;
    justify-content: center !important;
    font-size: 10px;
    z-index: 200;
  }
  .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) {
  .header .qMap-logo-header {
    width: 60px;
  }
  .header .nav-title img {
    width: 30px;
  }
  .header .nav-title .title {
    font-size: 9px;
  }
  .header .header .lang-btn {
    width: 26px;
    height: 26px;
  }
  .header .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;
  }
}
