/*
  GeoCat Map overrides for base theme branding

  Logo layout and dimensions

  +-------------------------------+----------------------------------------
  |                               |
  |  +-------+                    |
  |  |       |  GEOCAT            |
  |  |       |  Map               | ---------------------------------------
  |  +-------+                    |
  |   version                     |
  |                               |
  +-------------------------------+
  |                               |
  |                               |


*/
:root {
  --gse-logo-inner-height: 62px; /* = logo only width & height */
  --gse-logo-inner-width: 180px; /* = logo width + label width */
  --gse-logo-height: 100px;
  --gse-logo-url: url(../map/gc_map.svg);
  --gse-logo-only-url: url(../map/gc_map_logo.png);
  --gse-version: '2025.2';
  --gse-text-color: rgb(18, 25, 106);
  --gse-map-color: #01ad9f;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../map/font/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: 'Inter-Bold';
  src: url('../map/font/Inter-Bold.woff2') format('woff2');
}
body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--gse-text-color);
}

#page {
  color: var(--gse-text-color);
}

strong, em, dt, b, i {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--gse-text-color);
}

#header h2 a {
  background-size: var(--gse-logo-inner-width) var(--gse-logo-inner-height);
  margin-left: 20px;
}

#header h2 a span:after {
  background-color: #29265f;
  margin-top: 1030px;
}

#header h2 a:after {
  margin-top: var(--gse-logo-inner-height);
  margin-left: 0;
  width: var(--gse-logo-inner-height);
  color: var(--gse-map-color);
  background: none;
  padding: 0;
  text-align: center;
}

legend {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

input, textarea, select {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.treeview {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

[action$="j_spring_security_check"] button {
  background: var(--gse-map-color);
}