:root {
  --calcite-color-brand: #83A3A6;
  --calcite-ui-brand: #83A3A6;
  --taust: #fff;
  --tume: rgb(55 65 81 / var(--tw-text-opacity, 1));
  --calcite-dialog-max-size-x: 500px;
  --calcite-dialog-max-size-y: 600px;
}

.calcite-mode-light {
  --calcite-color-brand: #83A3A6;
  --calcite-color-brand-hover: #455B5F

}

calcite-card {
  --calcite-card-shadow:rgba(0, 0, 0, 0.24) 0px 2px 6px;
}

calcite-card:hover {
  --calcite-card-background-color: #eeeaea;
  cursor: pointer;
}

calcite-card.selected {
  --calcite-card-background-color: #eeeaea;
  --calcite-card-shadow:rgba(0, 0, 0, 0.7) 0px 6px 5px;
}

*:focus {
    outline: none;
}

*, ::after, ::before {
  box-sizing: border-box;
}

html, body {
  font-family: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  margin: 0;
  bottom: 0;
  top: 0;
  height: 100vh;
}

hr {
  margin-top: 2rem;
}

input::placeholder {
  font-family: inherit;
  font-size: 1rem;
}


.page-content-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(410px, 33%) 1fr;
  transition: 300ms;
  overflow-x: hidden;
  overflow-y: hidden;
}

h1.brand-title {
  font-size: 2rem;
  margin: 0;
  padding: 10px 0 10px 0;
}

.mapframe {
  padding: 0;
  position: relative;
  grid-row-start: 1;
  margin: 0;
  height: 100%
}

.esri-view-surface::after {
  outline: none!important
}

#viewDiv {
  height: 100%;
  width: 100%;
  bottom: 0px;
}

#viewDiv.blur {
  opacity: 0.5;
  filter: blur(1px);
}

.esri-attribution {
  display: none
}

.esri-layer-list__item-container {
  border-bottom: none;
}

.esri-layer-list {
  padding: 0;
  background-color: transparent
}

button.map-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #83A3A6!important;
  border-radius: 8px;
  width: 50px;
  height: 50px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.3) 0px 15px 12px;
  color: #fff;
}

button.map-button:hover {
  background-color: #455B5F!important;
}

button.map-button:disabled {
  background-color: #9ca3af!important;
  color: rgba(255, 255, 255, 0.7);
  cursor: not-allowed;
}

button.map-button:disabled:hover {
  background-color: #9ca3af!important;
}

button.map-button:disabled calcite-icon {
  color: rgba(255, 255, 255, 0.7);
}

button.map-button calcite-icon {
  color: #fff;
}

#drawBtn {
  position: absolute;
  top: 10px;
  left: 10px;
}

#uploadShapefileBtn {
  position: absolute;
  top: 10px;
  left: 70px; /* placed next to draw button */
}

#retryBtn {
  position: absolute;
  top: 70px; /* beneath draw button (10 + 50 + 10) */
  left: 10px;
  background-color: #A38681 !important; /* match "Alusta uuesti" */
}

#retryBtn:hover {
  background-color: #455B5F !important; /* match hover used on reset button */
}

#retryBtn.hidden {
  display: none !important;
}

#retryBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

#deleteSketchBtn {
  position: absolute;
  top: 10px;
  left: 130px; /* placed next to upload button */
  background-color: #e45d5d!important; /* red tone for delete */
}
#deleteSketchBtn:hover {
  background-color: #991B1B!important;
}
#deleteSketchBtn.hidden {
  display: none;
}
#zoomInBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}
#zoomOutBtn {
  position: absolute;
  top: 45px;
  right: 10px;
  width: 30px;
  height: 30px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#fullscreenBtn {
  position: absolute;
  top: 80px;
  right: 10px;
  width: 30px;
  height: 30px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

#fullscreenBtn calcite-icon {
  padding: 2px;
}

.map-upload-status {
  position: absolute;
  top: 70px;
  left: 70px;
  max-width: 260px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 20px;
  padding: 6px 8px;
  font-size: 12px;
  color: #374151;
  z-index: 10;
}

.map-upload-status.hidden {
  display: none;
}

.esri-ui-corner .esri-component.esri-widget {
  background-color: transparent;
  box-shadow: none;
}

.paneel {
  position: relative;
  overflow-x: hidden;
  overflow-y: hidden;
  grid-row-start: 1;
  grid-column-start: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  left: 0px;
  top: 0px;
  background-color: var(--taust);
  color: black;
}

.küljepaneel {
  margin: 0;
  padding: 15px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0px;
}

calcite-card {
  margin: 10px;
}
calcite-navigation-logo {
  --calcite-color-text-1: white;
  --calcite-font-size-1: 1.3rem
}

/* TABS */

.tabset {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  align-content: start;
}

.tabset > input[type="radio"] {
  position: absolute;
  left: -9999px;
}

.tabset > label {
  grid-row: 1;
  padding: 10px 12px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: 1px solid #ccc;
  position: relative;
  user-select: none;
}

/* show the panel immediately after the checked input+label pair */
.tabset > input:checked + label {
  color: var(--calcite-color-brand);
  border-color: #ccc;
  border-bottom: 1px solid #fff;
}

.tabset > label::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 4px;
  background: #8d8d8d;
  opacity: 0;
}

.tab-panel {
  grid-column: 1 / -1;     /* panel spans across both labels */
  grid-row: 2;
  display: none;
  padding: 30px 7px;
  border: 1px solid #ccc;
  border-top: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: auto;
  align-self: start;
}

#panel-2 {
  padding: 0 0 46px 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tabset > input:checked + label::after {
  background: var(--calcite-color-brand);
  opacity: 1;
}

/* key selector: input:checked + label + section */
.tabset > input:checked + label + .tab-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  align-self: stretch;
}

/* Eelhinnang + Kinnisvara panel layout */
#panel-3.tab-panel,
#panel-4.tab-panel {
  min-height: 0;
  height: 100%;
  padding: 6px 7px 0;
  overflow: hidden;
}

.ls-panel-3-layout {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  justify-content: flex-start;
}

.ls-panel-3-layout:has(.ls-precheck-details[open]) {
  height: 100%;
}

.ls-panel-3-layout > .ls-precheck-details {
  flex: 0 0 auto;
  min-height: 0;
  margin-bottom: 0.5rem;
}

/* Prep open: use full panel; hide output until user collapses prep.
   Do NOT set display:flex on <details> — it hides the disclosure body in Chrome/Edge. */
.ls-panel-3-layout.ls-panel-3-prep-open > .ls-precheck-details,
.ls-panel-3-layout:has(.ls-precheck-details[open]) > .ls-precheck-details {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.ls-panel-3-layout.ls-panel-3-prep-open > .ls-panel-3-status,
.ls-panel-3-layout.ls-panel-3-prep-open > .ls-precheck-output-wrapper,
.ls-panel-3-layout:has(.ls-precheck-details[open]) > .ls-panel-3-status,
.ls-panel-3-layout:has(.ls-precheck-details[open]) > .ls-precheck-output-wrapper {
  display: none;
}

.ls-precheck-details[open] > summary::after {
  content: " — ahenda, et näha olemasolevat olukorda";
  font-weight: normal;
  font-size: 0.7rem;
  color: #6b7280;
}

.ls-panel-3-layout > .ls-precheck-details > summary {
  flex-shrink: 0;
}

.ls-precheck-details[open] .precheck-details-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.ls-panel-3-layout > .ls-precheck-output-wrapper {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-left: 12px;
  padding-right: 6px;
  margin-bottom: 30px;
}

.ls-panel-3-layout > .ls-panel-3-status {
  flex-shrink: 0;
}

/* Nested tabs: single outer frame (avoids corner gaps from separate tab/panel borders) */
.tabset--precheck {
  --precheck-tab-radius: 8px;
  --precheck-tab-bg: #f8fafc;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  align-content: stretch;
  column-gap: 0;
  border: 1px solid #cbd5e1;
  border-radius: var(--precheck-tab-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

/* When server disables activity profile chat (production default) */
.tabset--precheck.ls-precheck-activity-off {
  grid-template-columns: 1fr;
}

.tabset--precheck.ls-precheck-activity-off #precheck-tab-activity,
.tabset--precheck.ls-precheck-activity-off #precheck-tab-activity-label,
.tabset--precheck.ls-precheck-activity-off #precheck-panel-activity {
  display: none !important;
}

.tabset--precheck > label {
  padding: 9px 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: #64748b;
  background: var(--precheck-tab-bg);
  border: none;
  border-right: 1px solid #e2e8f0;
  border-radius: 0;
  margin: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tabset--precheck > input:nth-of-type(2) + label {
  border-right: none;
}

.tabset--precheck > input:checked + label {
  color: #455b5f;
  background: #fff;
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 9px;
  box-shadow: none;
  z-index: 1;
}

.tabset--precheck > label::after {
  left: 10px;
  right: 10px;
  width: auto;
  height: 3px;
  top: 0;
  border-radius: 0 0 3px 3px;
  background: #83a3a6;
  opacity: 0;
}

.tabset--precheck > input:checked + label::after {
  opacity: 1;
}

.tabset--precheck > input:focus-visible + label {
  outline: 2px solid #83a3a6;
  outline-offset: -2px;
}

.tabset--precheck .tab-panel--precheck {
  padding: 8px 6px 6px;
  min-height: 0;
  overflow: hidden;
  display: none;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.tabset--precheck > input:checked + label + .tab-panel--precheck {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  margin-top: 0;
  position: relative;
  z-index: 0;
}

.tabset--precheck > input:checked + label + .tab-panel--activity {
  height: 100%;
  min-height: 0;
}

.ls-precheck-details[open] .tabset--precheck {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.tabset.tabset--precheck > label,
.tabset.tabset--precheck > input:checked + label {
  border-bottom: none;
}

.tabset--precheck > input:disabled + label {
  opacity: 0.55;
  color: #94a3b8;
  background: #f1f5f9;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}

.tabset--precheck > input:disabled + label::after {
  opacity: 0;
}

/* Activity tab: fill nested tab row; messages scroll inside shell */
.tab-panel--activity {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.tab-panel--activity .activity-panel-hint {
  flex-shrink: 0;
}

.activity-chat-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
}

.activity-chat-shell.ls-chat {
  overflow: hidden;
}

#panel-3 .activity-chat-scroll.ls-chat__messages {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.activity-chat-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #fafafa;
}

.activity-chat-confirm {
  flex-shrink: 0;
  padding: 8px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.activity-chat-confirm.hidden {
  display: none;
}

.activity-chat-inputbar.ls-chat__inputbar {
  flex-shrink: 0;
  border-top: 1px solid #e5e7eb;
}

#panel-3 .activity-chat-inputbar #activityMessageInput {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  resize: none;
  min-height: 48px;
  max-height: 72px;
  width: 100%;
}

#activityProfileSummary ul {
  margin: 0.25rem 0 0 1rem;
  padding: 0;
}

/* focus styles (accessibility) */
.tabset > label:focus-visible {
  outline: 2px solid var(--calcite-color-brand);
  outline-offset: 2px;
  border-radius: 6px;
}

/* small screens */
@media (max-width: 750px) {
  .tabset {
    grid-template-columns: repeat(4, 1fr);
  }
  .tabset > label { padding: 12px; }
}


#mapLoader {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999; /* Ensure it's above the map and other widgets */
  pointer-events: none; /* Optional: prevent interaction blocking */
}

#mapLoader.show {
  display: flex;
}

#loader-text {
  position: absolute;
  display: none;
  margin: 0;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
  color: black;
  font-size: 1.4rem;
}

#loader-text.show {
  display: flex;
}

.chat-form-container, .chat-results-container {
  padding: 0 10px;
}

.chat-form-container {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.chat-form-container > .tabset {
  flex: 1 1 auto;
  min-height: 0;
  height: 0; /* flex child: take remaining sidebar height */
}

.chat-results-container {
  flex: 1;     /* take up remaining space */
  overflow-y: auto;
}

.chat-results-container p {
  margin: 0;
  padding: 10px 0;
  font-size: 1rem;
  color: black;
}

/* Chat UI (matches popup look) */
.ls-chat {
  border: 1px solid #e5e7eb; /* gray-200 */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.ls-chat__messages {
  height: calc(100dvh - 420px);
  overflow-y: auto;
  padding: 8px;
  font-size: 13px;
  line-height: 1.35;
}
.ls-chat__inputbar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid #e5e7eb;
  background: #fafafa;
}
.ls-chat__inputbar #messageInput {
  flex: 1 1 auto;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 13px;
  resize: vertical;
  min-height: 56px;
}

.ls-chat__inputbar button#submitBtn i { font-size: 12px; }
/* Hover/active/focus styling comes from Tailwind classes set in markup */

/* Make button height match textarea visually */
.ls-chat__inputbar { align-items: stretch; }
.ls-chat__inputbar #messageInput { align-self: stretch; }


/* Compact label on very small screens */
@media (max-width: 380px) {
  .ls-chat__inputbar button#submitBtn .ls-send-label { display: none; }
}
.ls-msg {
  margin: 6px 0;
}
.ls-msg strong {
  display: inline-block;
  margin-right: 4px;
}
.ls-msg--ai strong { color: #455B5F; }
.ls-msg--user strong { color: #111827; }

#naviRiba {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  grid-column-start: 1;
  grid-column-end: 3;
  top: 0px;
  color: rgb(21, 21, 21);
  /* background-color: #30415D; */
  background-color: var(--taust);
  width: 100%;
  padding: 0 15px;
  border-bottom: 1px solid rgb(210, 210, 210);
}

.naviriba-pealkiri {
  margin: 0;
  font-style: normal;
  color: rgb(21, 21, 21);
  font-weight: 400;
  font-size: 1.5rem;
  text-decoration: none;
  white-space: nowrap
}

#naviRiba .bar1, .bar2, .bar3 {
  background-color: white;
  height: 3px;
  width: 36px;
  margin: 4px;
  border-radius: 10px;
}

#naviRiba .hamburger {
  display: none;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
}

#dbInfoBtn {
  background-color: #83A3A6 !important;
  color: #ffffff !important;
  border: none !important;
}

#dbInfoBtn .svg-inline--fa {
  margin: 0;
  color: #ffffff;
}

.offcanvas-header {
  color: black;
}

/**  SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  border-radius: 10px;
  background: rgba(0,0,0,0.1);
  border: 1px solid #ccc;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--sinine-60);
  border: 1px solid #aaa;
}

::-webkit-scrollbar-thumb:hover {
  background: #fff;
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(left, #22ADD4, #1E98BA);
}

#ValuePicker {
  margin: 20px 0
}

.cadaster-unit-dialog-wrapper {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1099;
  width: auto;
  height: 300px;
}

#infoDialog {
  width: auto !important;
  max-width: 580px;
  min-width: 580px;
  --calcite-dialog-max-size-x: 800px; /* or whatever width you want */
}

/* FILTRID */

calcite-panel#filters {
  position: absolute;
  top: 10px;
  left: 15px;
  height: auto;
  overflow-x: hidden;
  width: 300px;
}

calcite-panel#filters.closed {
  display: none;
}
calcite-panel calcite-block {
  margin: 0;
}
calcite-block {
  margin: 0 !important;
}

#popover-button {
  position: absolute;
  bottom: -20px;
  left: 0px
}
.popover-text{
  margin: 10px;
  font-size: 0.8rem;
  max-width: 500px;
}

/* OTSING */

.input-box{
  position: absolute;
  left: -25px;
  top: 15px;
  height: 32px;
  max-width: 32px;
  width: 100%;
  margin: 0 40px;
  border-radius: 0px;
  background-color: #fff;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.input-box.open{
  max-width: 30%;
}
input.search-input{
  position: relative;
  outline: none;
  border: none;
  height: 100%;
  width: 100%;
  padding-left: 10px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #333;
  background-color: #fff;
}
.input-box.open{
  padding: 0 0 0 40px;
}
.icon{
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 32px;
  border-radius: 0px;
  display: flex;
  justify-content: center;
  background-color: var(--sinine-60);
}
.search-icon,
.close-icon{
  position: absolute;
  top: 50%;
  font-size: 30px;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.search-icon{
  color: white;
  cursor: pointer;
  
  transform: translateY(-50%) rotate(90deg);
}
.input-box.open .search-icon{
  transform: translateY(-50%) rotate(0);
}
.close-icon{
  right: -40px;
  color: #333;
  padding: 5px;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transform: translateY(-50%);
}
.input-box.open .close-icon{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) rotate(180deg);
}
.dropdown {
  max-height: 600px;
  overflow-y: hidden;
  width: 340px;
  background-color: white;
}
.otsingu_tulemus {
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: black;
  padding: 3px
}
.otsingu_tulemus:hover {
  background-color: #aaa;
  color: white!important;
}

/* LOADER */
.loader {
  display: inline-block;
  width: 80px;
  height: 80px;
  position: absolute;
  z-index: 900;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.loader div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.loader div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sinine-60);
  margin: -4px 0 0 -4px;
}
.loader div:nth-child(1) {
  animation-delay: -0.036s;
}
.loader div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.loader div:nth-child(2) {
  animation-delay: -0.072s;
}
.loader div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.loader div:nth-child(3) {
  animation-delay: -0.108s;
}
.loader div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.loader div:nth-child(4) {
  animation-delay: -0.144s;
}
.loader div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.loader div:nth-child(5) {
  animation-delay: -0.18s;
}
.loader div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.loader div:nth-child(6) {
  animation-delay: -0.216s;
}
.loader div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.loader div:nth-child(7) {
  animation-delay: -0.252s;
}
.loader div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.loader div:nth-child(8) {
  animation-delay: -0.288s;
}
.loader div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loader-show {
  display: inline-block;
}

/* MEDIA QUERIES */

@media (max-width: 1100px) {
  .input-box.open {
    max-width: 70%;
  }
  .input-box.open input {
    font-size: 16px;
  }
}

@media (max-width: 750px) {
  .esri-value-picker__layout--horizontal.esri-value-picker__type--slider .esri-value-picker__action-bar {
    width: 80%;
  }
  .logo {
    display: none
  }
  .page-content-wrapper {
    grid-template-columns: 0% 100%;
  }
  .sidebar-open {
    grid-template-columns: 100% 0%;
  }
  .input-box.open {
    max-width: 70%;
  }
  .input-box.open input {
    font-size: 12px;
  }
  .naviriba-pealkiri {
    font-size: 1rem;
  }
  #naviRiba .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .animateBar1 {
    animation: flipBar1 300ms;
    animation-fill-mode: forwards;
  }
  .animateBar2 {
    animation: fadeBar2 300ms;
    animation-fill-mode: forwards;
  }
  .animateBar3 {
    animation: flipBar3 300ms;
    animation-fill-mode: forwards;
  }
  @keyframes flipBar1 {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(45deg) translate(6px, 10px);
    }
  }
  
  @keyframes fadeBar2 {
    from {
      transform: scaleX(1);
      opacity: 1;
    }
    to {
      transform: scaleX(0);
      opacity: 0;
    }
  }
  
  @keyframes flipBar3 {
    from {
      transform: rotate(0);
    }
    to {
      transform: rotate(-45deg) translate(6px, -10px);
    }
  }

  .esri-value-picker .esri-slider__tick-label {
    font-size: 0.35rem;
  }
}
