@font-face {
  font-family: "iransans";
  src: url("fonts/FontsFree-Net-ir_sans.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "iransans", "Tahoma", "Sans-Serif";
  width: 100%;
  height: 100vh;
  background-color: none;
}

:root {
  --calcite-code-family: "iransans", "Tahoma", "Sans-Serif", monospace;
  --calcite-sans-family: "iransans", "Tahoma", "Sans-Serif";
  --calcite-font-size--3: 1.1rem;
  --calcite-font-size--2: 1.2rem;
  --calcite-font-size--1: 1.3rem;
}

div[slot="header"] {
  font-size: 1.4rem;
}

#advertise {
  padding: 0;
  margin: 0;
  top: 0;
  min-height: 5vh;
  width: 100%;
  background: #1abc9c;
  text-align: center;
  color: #ffffff;
  height: fit-content;
  font-size: 1.4rem;
  padding-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  #advertise {
    padding: 0;
    margin: 0;
    top: 0;
    min-height: 5vh;
    width: 100%;
    background: #1abc9c;
    text-align: center;
    color: #ffffff;
    height: fit-content;
    font-size: 1rem;
    padding-bottom: 1rem;
  }
}

#advertise > p {
  margin: 0;
  padding: 1rem;
  font-weight: bold;
}

#advertise-contact {
  display: flex; flex-direction: row; justify-content: center;
}

#advertise-contact > span {
  margin: 0 2rem;
}

#advertise-contact > a {
  color: blue
}

#header {
  width: 100%;
  height: 10vh;
  padding: 0 1rem;
  /* background-color: #0000c7dc; */
  background: linear-gradient(
    90deg,
    rgb(46, 46, 46) 30%,
    rgba(9, 9, 121, 1) 100%
  );
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

#header--button {
  background-color: #ffffff;
  border: none;
  padding: 0 1rem;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 3px;
  font-weight: 800;
  font-family: "iransans";
  color: #333;
}

#logo--wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#logo--title {
  color: #ffffff;
  margin: 0 1rem;
  font-weight: bold;
  font-size: 1.6rem;
}

#viewDiv {
  width: 100%;
  height: 85vh;
}

#viewDivReport {
  width: 100%;
  height: 90vh;
}

.esriSignInDialog.esri-widget table tr :nth-child(odd),
.esriSignInDialog.esri-widget table tr :nth-child(even) {
  color: #cacaca;
}

.esri-layer-list,
.esri-layer-list__item-title,
.esri-layer-list__item-content {
  font-family: "iransans";
  font-size: 1.1rem !important;
}

.dijitDialogPaneContentArea div:first-child {
  display: none;
}

.esri-identity-modal__info {
  display: none;
}

#instruction {
  z-index: 99;
  padding: 5px;
  height: fit-content;
  width: fit-content;
  background: rgba(25, 25, 25, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  justify-items: center;
}

#latAndLong {
  z-index: 99;
  padding: 5px;
  height: fit-content;
  width: fit-content;
  background: rgba(25, 25, 25, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-self: flex-end;
  gap: 0.2rem;
}

#latAndLong > button,
input {
  background-color: white;
  padding: 0.5rem 1rem;
  color: #333;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

#latAndLong > input {
  width: 10.5rem;
}

#latAndLong > button {
  background-color: #000;
  color: white;
}

#latAndLong--wrapper {
  z-index: 99;
  position: absolute;
  bottom: 3rem;
  right: 1rem;
  padding: 5px;
  height: fit-content;
  /* width: 50%; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
