/* mobileGIS branding */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

html, body {
  font-family: "Inter", "Open Sans", system-ui, sans-serif !important;
  background-color: #f2f2f2 !important;
  color: #1a1a1a !important;
}

body.loading {
  background-color: #ffffff !important;
}

*[style*="background-color: rgb(15, 17, 24)"],
*[style*="background-color:#0f1118"],
*[style*="background-color: rgb(0, 0, 0)"],
*[style*="background-color:#000"],
*[style*="background-color: #000"] {
  background-color: #f2f2f2 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", system-ui, sans-serif !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
}

a, .btn-link {
  color: #7cc694 !important;
}

#panel {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  padding: 24px;
}

#logo {
  margin-bottom: 16px;
}

.btn, button {
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.btn-primary {
  background-color: #7cc694 !important;
  border-color: #7cc694 !important;
  color: #ffffff !important;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #6bb583 !important;
  border-color: #6bb583 !important;
}

.btn-default, .btn-secondary {
  background: transparent !important;
  color: #7cc694 !important;
  border: 1.5px solid #7cc694 !important;
}

.form-control, input, textarea, select {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
}

.form-control:focus, input:focus {
  border-color: #7cc694 !important;
  box-shadow: 0 0 0 2px rgba(124,198,148,0.2) !important;
}

.panel, .modal-content {
  border-radius: 6px !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}

.navbar, .panel-heading {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

html::before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: #ffffff;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTAiIGhlaWdodD0iNDAiPgo8dGV4dCB4PSIyIiB5PSIzMCIgZm9udC1mYW1pbHk9IkFyaWFsLCBIZWx2ZXRpY2EsIHNhbnMtc2VyaWYiIGZvbnQtd2VpZ2h0PSI3MDAiIGZvbnQtc2l6ZT0iMzAiPgo8dHNwYW4gZmlsbD0iIzFhMWExYSI+bTwvdHNwYW4+PHRzcGFuIGZpbGw9IiM3Y2M2OTQiPm88L3RzcGFuPjx0c3BhbiBmaWxsPSIjMWExYTFhIj5iaWxlR0lTPC90c3Bhbj4KPC90ZXh0Pgo8L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: 24px center;
  background-size: 176px 33px;
  border-bottom: 1px solid #e0e0e0;
  z-index: 99997;
  box-sizing: border-box;
}

body::before {
  content: "Verschlüsselte Nachricht";
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 216px;
  height: 64px;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #888888;
  z-index: 99998;
  box-sizing: border-box;
}


/* hide the generic Psono bootstrap/loading splash (logo + progress bar) */
[class*="loadingContainer"],
[class*="loadingLock"],
[class*="loadingText"] {
  display: none !important;
}
