#mapRoot {
  height: calc(100vh - 265px) !important;
  border-radius: 8px;
}

.modal-container {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(255, 232, 207, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: white;
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow-y: auto;
  border-radius: 4px;
  box-shadow: 0 3px 9px rgba(187, 172, 161, 0.5) !important;
  border: 1px solid rgba(207, 142, 72, 0.2);
}
#modal-close {
  float: right;
}

.modal-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.modal-hero .field-base:first-child > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* Optional: add filter for readability */
  filter: brightness(0.7);
}
.modal-hero .field-base:nth-child(2)  {
  position: relative;
  z-index: 1;
  padding: 2rem;
  color: #fff;
}

.modal-hero h2 {
	font-size: 2rem;
}

.demo-scores .field i {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  margin-right: 2.5px;
}

.demo-scores .field i.full {
  font-weight: 900;
}

.bs-region--right > .field-base:first-child > div:not(.field--label) {
  display: inline-block;
  margin-right: 10px;
}

.bs-region--right > .field-base {
display: block;
}

.demo-scores .field__label {
  font-weight: 500 !important;
  text-transform: none !important;
  width: 120px;
  float: left;
  font-size: 15px !important;
  padding-top: 2px;
  letter-spacing: 0px !important;
}

.field-base {
	margin-bottom:20px;
}

#demo-dates {
	margin-bottom: 20px;
}

#content > .row {
	position: relative;
	max-height: 500px;
	overflow: hidden;
}

/*.views-exposed-form {
  position: absolute;
  top: 30px;
  right: 10px;
  z-index: 1000;
  background-color: #fff;
  border-radius: 8px;
  display: flex;
  border: 2px solid #ffa50026;
}

.views-exposed-form form {
	padding-top: 10px;
  max-width: 700px;
}

.views-exposed-form .explanation {
	padding: 10px;
}

.views-exposed-form .explanation h5 {
  font-size: 2rem;
  padding-bottom: 20px;
  font-weight: bold;
  color: #ff8b02;
}

.views-exposed-form .explanation p {
  margin-bottom: -15px;
  color: #3f3f3f;
}

.views-exposed-form hr {
	max-width: 96%;
}

.views-exposed-form form .fields {
	
		display: flex;
}*/

.fields {
	display: flex;
}

.form-type-textfield {
	position: relative;
}

.custom-submit-search {
  position: absolute;
  top: 20px !important;
}

.views-exposed-form form .form-item {
	margin-right: 20px;
	min-width: 210px;
}

.loading-icon {
   width: 13.4px;
   height: 13.4px;
   border-radius: 50%;
   background: #00bdf2;
   transform-origin: top;
   display: grid;
   animation: loading-icon-3vgb5t 1s infinite linear;
}

.loading-icon::before,
.loading-icon::after {
   content: "";
   grid-area: 1/1;
   background: #ffb419;
   border-radius: 50%;
   transform-origin: top;
   animation: inherit;
   animation-name: loading-icon-k94uub;
}

.loading-icon::after {
   background: #90c74f;
   --s: 180deg;
}

@keyframes loading-icon-3vgb5t {
   0%, 20% {
      transform: rotate(0);
   }

   100% {
      transform: rotate(360deg);
   }
}

@keyframes loading-icon-k94uub {
   50% {
      transform: rotate(var(--s,90deg));
   }

   100% {
      transform: rotate(0);
   }
}



#loader {
   width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #00bdf2;
  transform-origin: top;
  display: none;
  animation: loader-3vgb5t 1s infinite linear;
  z-index: 1000;
  left: 50%;
  top: 40%;
  position: absolute;
}

#loader::before,
#loader::after {
   content: "";
   grid-area: 1/1;
   background: #ffb419;
   border-radius: 50%;
   transform-origin: top;
   animation: inherit;
   animation-name: loader-k94uub;
}

#loader::after {
   background: #90c74f;
   --s: 180deg;
}

@keyframes loader-3vgb5t {
   0%, 20% {
      transform: rotate(0);
   }

   100% {
      transform: rotate(360deg);
   }
}

@keyframes loader-k94uub {
   50% {
      transform: rotate(var(--s,90deg));
   }

   100% {
      transform: rotate(0);
   }
}

.leaflet-control-zoom a {
	text-decoration: none !important;
}


.map-overlays-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 16px;
  z-index: 1001;
}

.map-info-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  min-width: 320px;
  max-width: 400px;
  transition: max-height 0.3s;
  overflow: hidden;
  z-index: 1001;
}
.map-info-overlay.collapsed .map-info-body {
  display: none;
}

.map-info-overlay h4 {
   margin-top: 0px;
  font-weight: bold;
  color: #303030;
}

.map-filters-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  min-width: 320px;
  max-width: 400px;
  transition: max-height 0.3s;
  overflow: hidden;
}

.map-filters-panel.collapsed .map-filters-body {
  display: none;
}

.map-info-header,
.map-filters-header {
  cursor: pointer;
  padding: 10px 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff7ed;
  font-weight: 500;
}

.map-info-body,
.map-filters-body {
  padding: 16px;
}

.map-filters-panel,
.map-info-overlay {
  width: 340px;
  min-width: 340px;
  max-width: 340px;
}

.fields-horizontal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.fields-horizontal .form-item {
  margin-bottom: 0px !important;
}

#demonstrator-jump-link {
   position: absolute;
  top: 20px;
  z-index: 50000;
  right: 90px;
  background: #90c74f;
  padding: 0px 20px;
  color: #fff;
  height: 30px;
  border-radius: 5px;
  font-weight: 500;
  border: 2px solid #90c74f;
}

#demonstrator-jump-link:hover {
  background: #fff;
  color: #90c74f;
  text-decoration: none;
  transition: 0.3s;
}

#modal-close {
   background: #686868;
  padding: 0px 10px;
  color: #fff;
  height: 30px;
  border-radius: 5px;
  font-weight: 500;
  border: 2px solid #686868;
}

#modal-close:hover {
  background: #fff;
  color: #686868;
  text-decoration: none;
  transition: 0.3s;
}

.demonstrator-prompt {
  font-weight: 500;
  background: #f7f7f7;
  padding: 12px 16px;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-top: 12px;
}

.demonstrator-prompt a {
  color: #90c74f;
  font-weight: bold;
}

.field--sdgs .cols > div {
	margin-top: 0px !important;
}

.field--sdgs .field--label {
	font: normal normal 800 15px/18px Lato;
    font-size: 15px;
  font-size: 15px;
  letter-spacing: 1.4px;
  color: #303030;
  text-transform: uppercase;
  margin-bottom: 12px !important;
  font-size: 13px;
}

.field--sdgs .row {
	padding-left: 25px !important;
}

.leaflet-control-zoom {
	left: 10px;
}

.taxonomy-term.taxonomy-term--type-sdgs.taxonomy-term--view-mode-icon {
  display: flex;
  padding: 0px !important;
}

.taxonomy-term.taxonomy-term--type-sdgs.taxonomy-term--view-mode-icon > div {
  height: auto !important;
}

.field--nexus {
	border: none !important;
	padding-bottom: 0px !important;
}