﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
#mapid {
    height: calc(100vh - 60px - 2rem);
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}
.map-wrapper {
    height: calc(100vh - 60px - 2rem);
    width: 100%;
    margin: 0 10px;
    position: relative;
}

.left-centered {
    position: absolute;
    top: 50%;
    left: 0;
    margin-right: auto;
}

.right-centered {
    position: absolute;
    top: 50%;
    right: 0px;
    margin-left: auto;
}
.right-top {
    position: absolute;
    top: 0;
    right: 0;
    margin-left: auto;
}
.left-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-right: auto;
}

.center-screen {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}
.map-container {
    display: flex;
}
.map-left {
    flex: 1;
}
.map-right {
    margin: 0;
    max-width: 300px;
}
.even-spaced {
    flex: 0 0 100%;
    max-height: 50%;
    min-height: 50%;
    max-width: 100%;
    overflow: auto;
}
.info-container {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    height: calc(100vh - 140px);
    flex-wrap: wrap;
    align-items: flex-start;
    min-width: 200px;
}
.tool-buttons {
    margin-right: 0;
}
.list-expander {
    padding: 0 0.4rem;
    line-height: 0.9rem;
    vertical-align: unset;
}
.dissolved-button{
  cursor: pointer;
}
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}
.unpadded-list-item {
  padding: 0.2rem 0.5rem;
}
.color-list-item {
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}
.shadowed-line {
    text-shadow: 1px 1px 2px black;
}
.lock-screen {
    z-index: 1100;
    position: fixed;
    display: block;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}
.lock-screen-off{
  width: 0;
  height: 0;
  display: none;
}
.popup-div{
  padding: 1rem;
  min-width: 400px;
  background-color: white;
  max-height: 90vh;
}
.lock-screen-on{
  width: 100%;
  height: 100%;
  animation: lockfadein 0.5s;
}
.leaflet-tooltip{
  max-width: 500px;
}

.svg-text{
  fill: red;
  font-weight: bold;
}
.label-with-width{
  min-width: 250px;
  white-space: normal;
}

@keyframes lockfadein {
  from {
      opacity:0;
  }
  to {
      opacity:1;
  }
}

.elements-counter{
  padding: 0.1rem 0.2rem;
  font-weight: bold;
  font-size: 70%;
  margin-left: 0.2rem;
  background-color: grey;
  color: white;
  border-radius: 0.3rem;
}
.category-del-btn{
  margin: 0;
  padding: 0.5rem 0;
}
.number-input{
  width: 6rem;
}
.hot-key-legend-item{
  background-color: black;
  border: 1px solid white;
  border-radius: 4px;
  padding: 0.4rem 0.15rem;
  margin-left: 0.2rem;
  display: inline-block;
  height: 1.1em;
  color: white;
}
.hot-keys{
  
  color: white;
  min-width: 2rem;
}
.hot-keys-legend{
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.2rem;
  display: none;
}
.hot-keys-info{
  margin: 0;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 0.2rem;
  display: block;
  color: white;

}
.hot-keys:hover .hot-keys-legend{
  animation: createBox .25s;
  display: block;
  color: white;
  transform-origin: left bottom;
}
.hot-keys:hover .hot-keys-info{
  display: none;
}
@keyframes createBox {
  from {
    transform: scale(0.1);
  }
  to {
    transform: scale(1);
  }
}

.project-card{
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  min-width: 250px;
  border-radius: 5px;
  margin: 1rem;
}
.project-card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.project-header{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 5px 5px 0 0;
  height: 150px;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 30px;
}
.lds-ellipsis div {
  position: absolute;
  top: 13px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #000;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
.project-name{
  color: white; 
  font-size: 2.1vw;
}
.leaflet-tile{
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}
.project-link{
  color: white;
}
.project-link:hover{
  color: white;
  text-decoration: underline;
}

.sticky{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1100;
}
.after-sticky {
  padding-top: 70px;
}
.leaflet-tile-container > img {
    width: auto !important;
    height: auto !important;
}

.modal-hidden {
    display: none;
}

.model-visible {
    display: block;
}

.modal-div {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(000, 000, 000, 0.7);
    z-index: 1000;
}

.grow-btn {
    transition: transform 0.2s linear;
}
.grow-btn:hover {
    transform: scale(1.3)
}
.grow-btn:active {
    transform: scale(1)
}
.user-ava-card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    margin: 0.4rem;
    background-color : rgba(100,100,100,0.1);
}
    .user-ava-card:hover {
        box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    }
.dataset-task-item {
    border: 2px solid rgba(200,200,200,0.6);
    border-width: 0;
    border-bottom-width: 2px;
    margin-left: 1em;
    background-color: rgba(200,200,200,0.2)
}
.color-form-item {
    min-width: 4rem;
}
.id-form-item {
  width: 6rem;
}
.mission-box {
    transform: scale(1.5);
    margin-right: 0.5rem;
}