/*!***************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css ***!
  \***************************************************************************************************************/

/* Override default control style */
.mapbox-gl-draw_ctrl-bottom-left,
.mapbox-gl-draw_ctrl-top-left {
  margin-left:0;
  border-radius:0 4px 4px 0;
}
.mapbox-gl-draw_ctrl-top-right,
.mapbox-gl-draw_ctrl-bottom-right {
  margin-right:0;
  border-radius:4px 0 0 4px;
}

.mapbox-gl-draw_ctrl-draw-btn {
  border-color:rgba(0,0,0,0.9);
  color:rgba(255,255,255,0.5);
  width:30px;
  height:30px;
}

.mapbox-gl-draw_ctrl-draw-btn.active,
.mapbox-gl-draw_ctrl-draw-btn.active:hover {
  background-color:rgb(0 0 0/5%);
}
.mapbox-gl-draw_ctrl-draw-btn {
  background-repeat: no-repeat;
  background-position: center;
}

.mapbox-gl-draw_point {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"m10 2c-3.3 0-6 2.7-6 6s6 9 6 9 6-5.7 6-9-2.7-6-6-6zm0 2c2.1 0 3.8 1.7 3.8 3.8 0 1.5-1.8 3.9-2.9 5.2h-1.7c-1.1-1.4-2.9-3.8-2.9-5.2-.1-2.1 1.6-3.8 3.7-3.8z\"/>%3C/svg>");
}
.mapbox-gl-draw_polygon {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"m15 12.3v-4.6c.6-.3 1-1 1-1.7 0-1.1-.9-2-2-2-.7 0-1.4.4-1.7 1h-4.6c-.3-.6-1-1-1.7-1-1.1 0-2 .9-2 2 0 .7.4 1.4 1 1.7v4.6c-.6.3-1 1-1 1.7 0 1.1.9 2 2 2 .7 0 1.4-.4 1.7-1h4.6c.3.6 1 1 1.7 1 1.1 0 2-.9 2-2 0-.7-.4-1.4-1-1.7zm-8-.3v-4l1-1h4l1 1v4l-1 1h-4z\"/>%3C/svg>");
}
.mapbox-gl-draw_line {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"m13.5 3.5c-1.4 0-2.5 1.1-2.5 2.5 0 .3 0 .6.2.9l-3.8 3.8c-.3-.1-.6-.2-.9-.2-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5c0-.3 0-.6-.2-.9l3.8-3.8c.3.1.6.2.9.2 1.4 0 2.5-1.1 2.5-2.5s-1.1-2.5-2.5-2.5z\"/>%3C/svg>");
}
.mapbox-gl-draw_trash {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"M10,3.4 c-0.8,0-1.5,0.5-1.8,1.2H5l-1,1v1h12v-1l-1-1h-3.2C11.5,3.9,10.8,3.4,10,3.4z M5,8v7c0,1,1,2,2,2h6c1,0,2-1,2-2V8h-2v5.5h-1.5V8h-3 v5.5H7V8H5z\"/>%3C/svg>");
}
.mapbox-gl-draw_uncombine {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"m12 2c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l1 1c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-1-1c-.2-.2-.4-.3-.7-.3zm4 4c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l1 1c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-1-1c-.2-.2-.4-.3-.7-.3zm-7 1c-1 0-1 1-.5 1.5.3.3 1 1 1 1l-1 1s-.5.5 0 1 1 0 1 0l1-1 1 1c.5.5 1.5.5 1.5-.5v-4zm-5 3c-.3 0-.5.1-.7.3l-1 1c-.4.4-.4 1 0 1.4l4.9 4.9c.4.4 1 .4 1.4 0l1-1c.4-.4.4-1 0-1.4l-4.9-4.9c-.1-.2-.4-.3-.7-.3z\"/>%3C/svg>");
}
.mapbox-gl-draw_combine {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\">%3Cpath d=\"M12.1,2c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l4.9,4.9c0.4,0.4,1,0.4,1.4,0l1-1 c0.4-0.4,0.4-1,0-1.4l-4.9-4.9C12.6,2.1,12.3,2,12.1,2z M8,8C7,8,7,9,7.5,9.5c0.3,0.3,1,1,1,1l-1,1c0,0-0.5,0.5,0,1s1,0,1,0l1-1l1,1 C11,13,12,13,12,12V8H8z M4,10c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l1,1c0.4,0.4,1,0.4,1.4,0l1-1c0.4-0.4,0.4-1,0-1.4 l-1-1C4.5,10.1,4.3,10,4,10z M8,14c-0.3,0-0.5,0.1-0.7,0.3l-1,1c-0.4,0.4-0.4,1,0,1.4l1,1c0.4,0.4,1,0.4,1.4,0l1-1 c0.4-0.4,0.4-1,0-1.4l-1-1C8.5,14.1,8.3,14,8,14z\"/>%3C/svg>");
}

.mapboxgl-map.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: pointer;
}
.mapboxgl-map.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: move;
}
.mapboxgl-map.mouse-add .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: crosshair;
}
.mapboxgl-map.mouse-move.mode-direct_select .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.mapboxgl-map.mode-direct_select.feature-vertex.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: move;
}
.mapboxgl-map.mode-direct_select.feature-midpoint.mouse-pointer .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: cell;
}
.mapboxgl-map.mode-direct_select.feature-feature.mouse-move .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: move;
}
.mapboxgl-map.mode-static.mouse-pointer  .mapboxgl-canvas-container.mapboxgl-interactive {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.mapbox-gl-draw_boxselect {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0,0,0,.1);
    border: 2px dotted #fff;
    opacity: 0.5;
}

/*!***************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./whg/webpack/css/maplibre-common.css ***!
  \***************************************************************************************/
.maplibregl-map {
    font: inherit!important;
    position: relative;
    background-color: lightblue;
    overflow: hidden;
    border: 1px solid lightgrey;
    border-radius: 4px;
    transition: opacity 2s ease;
}

.maplibregl-ctrl-attrib {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in {
    opacity: 1;
}

.tooltip {
    z-index: 10000!important;
}

.download-map-button .maplibregl-ctrl-icon {
	background: url(b2af296ddc064f436973.svg);
	background-size: 26px;
}

.maplibregl-map:not(:fullscreen) .maplibregl-ctrl-download {
	display: none!important;
}

.maplibregl-map:fullscreen #historygram {
	display: none!important;
}

.maplibregl-map:fullscreen .maplibregl-ctrl-bottom-right {
	bottom: 0;
}

.maplibregl-ctrl-attrib-inner {
    font-size: 0.8rem;
}

#map-download-dialog {
    user-select: none;	
}

#map-download-dialog .modal-content {
    height: auto;
}

#map-download-dialog .modal-footer {
    display: flow;
}

#map-download-dialog .modal-footer .btn-secondary {
    float: left;
}

/* Styling for the download attribution text */
.attribution-text {
  margin: 10px 0;
  padding: 5px 10px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  max-height: 200px;
  overflow-y: auto;
  user-select: all;
}

#injunctionText {
	font-weight: bold;
}

#map-render-container {
	position: 'absolute';
	top: 0;
	left: 0;
	z-index: -1
}

.maplibregl-ctrl-scale { /* Reduce default opacity */
    background-color: hsla(0, 0%, 100%, .50)!important;
}

/*!*************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./whg/webpack/css/style-control.css ***!
  \*************************************************************************************/
/* /whg/webpack/css/style-control.css */

.maplibregl-ctrl.opaque {
    background-color: rgba(255, 255, 255, .7);	
}

.style-button {
	padding: 4px!important;
	float: right;
}

.style-button .maplibregl-ctrl-icon {
	background: url(c4007e4a88d5f00a86ed.svg);
	background-size: contain;
}

/* Reset the default list styles */
.maplibre-styles-list,
.maplibre-styles-list ul,
.maplibre-styles-list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Style for the group names */
.group-item {
  font-weight: bold;
  margin-bottom: 8px;
}

/* Style for the variant options */
.variant-item {
  cursor: pointer;
  margin-bottom: 4px;
  margin-left: -13px!important;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  font-weight: normal;
  padding: 0 6px 0 12px !important;
}

.variant-item-label {
  margin: -2px 0 -2px 2px;
  color: var(--bs-body-color);
}

/* Style for the selected variant option */
.variant-item.selected {
  background-color: #007bff; /* Customize the background color for the selected style */
  color: white; /* Customize the text color for the selected style */
}

/* Add hover styles for the variant options */
.variant-item:hover {
  background-color: #dcdcdc; /* Customize the background color on hover */
}

.style-list-divider {
	margin: 5px 0;
}

.hillshade-label, .layer-label {
	margin: -5px 0 0 2px;
	font-weight: normal;
  	color: var(--bs-body-color);
}

/* Style for the scrollable list */
.maplibregl-ctrl #mapStyleList {
  display: none;
  overflow-y: scroll;
  /* max-height: 150px; */
  border: 1px solid #ccc; /* Add a border around the list */
  border-radius: 4px;
  padding: 4px;
  margin: 3px;
  user-select: none;
}

#mapStyleList.show {
    display: block;
}

/* Remove the default scrollbar style for webkit browsers */
#mapStyleList::-webkit-scrollbar {
  width: 8px;
}

#mapStyleList::-webkit-scrollbar-thumb {
  background-color: #007bff;
  border-radius: 8px;
}

#mapStyleList::-webkit-scrollbar-thumb:hover {
  background-color: #0056b3;
}

#mapStyleList .group-item > input[type="checkbox"] {
    margin: 0 5px;
    top: 2px;
    position: relative;	
}

#nearbyPlacesControl {
	display: none;
}

#update_nearby {
	margin-left: 12px;
    position: relative;
    top: -3px;
    cursor: pointer;
}

#update_nearby > i, #update_nearby > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#update_nearby > i {
    font-size: 1.6em;
    opacity: .4;
    color: black;
}

#update_nearby > span {
    font-size: 1rem;
}

/*!********************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./whg/webpack/css/dateline.css ***!
  \********************************************************************************/
:root {
  --slider-background: #888888;
  --slider-background-darker: #555555;
  --range-color: #ffa500;
  --slider-button-color: #ff0000; /* Adjust in svg files directly */
  --year-text: #444444;
}

#dateline {
  display: flex;
  align-items: center;
  height: 54px;
  max-height: 54px;
  margin: 10px;
  min-width: 22px;
  max-width: 700px;
  pointer-events: all;
}

#dateline.expanded {
	width: 100%;
}

.maplibregl-map #dateline {
  /* THIS SHOULD APPLY ONLY WHEN INSIDE A MAPLIBRE CONTAINER  */
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

#dateline .dateline-button span {
  writing-mode: vertical-lr;
  transform: rotate(-180deg);
  white-space: nowrap;
}

#dateline .dateline-button {
  width: 24px;
  height: 24px;
  position: relative;
  bottom: -14px;
  margin-right: -2px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: white;
  padding: 3px 6px;
  color: var(--slider-button-color);
  font-size: 12px;
  font-weight: bold;
  background-image: url(1bbdf2b9215043fd19f3.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 21px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

#dateline .dateline-button:hover {
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.3);
}

#dateline .range_container {
  position: relative;
  left: 3px;
  flex-grow: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  height: 100%;
  overflow: hidden; /* Hide the overflow when collapsed */
  max-width: 0;
  transition: max-width 0.5s ease;
}

#dateline .range_container.expanded {
  width: 80%;
  max-width: 80%;
}

#dateline .range_container.transitioned {
  overflow: visible;
}

#dateline .control_container {
  min-height: 32px;
}

#dateline .sliders_control {
  position: relative;
  min-height: 50px;
  z-index: 2 !important;
}

#dateline .scale-container {
  position: relative;
  top: 6px;
  width: calc(100% - 16px);
  margin: 0 10px;
}

#dateline .form_control {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 24px;
  color: #635a5a;
  top: -4px;
}

#dateline .range_container .form_control button {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

#dateline .range_container.transitioned .form_control button {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

#dateline input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 2px;
  width: 100%;
  position: absolute;
  background-color: #c6c6c6;
  pointer-events: none;
}

#dateline input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 16px;
  height: 21px;
  background-image: url(b3feded81307f6defe77.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  left: 8px;
  z-index: 5;
}

#dateline input[type="range"]::-moz-range-thumb {
  appearance: none;
  pointer-events: all;
  width: 16px;
  height: 21px;
  background-image: url(b3feded81307f6defe77.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  left: 8px;
  z-index: 5;
}

#dateline input[type="range"].slider.from::-webkit-slider-thumb {
  transform: rotate(180deg);
  top: 1px;
  left: -8px;
}

#dateline input[type="range"].slider.from::-moz-range-thumb {
  transform: rotate(180deg);
  top: 1px;
  left: -8px;
}

/* input[type=range].slider.to::-webkit-slider-thumb {
	
}

input[type=range].slider.to::-moz-range-thumb {
	
} */

#dateline input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
  -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

#dateline input[type="range"]::-moz-range-thumb:hover {
  box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
  -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}

#dateline #fromSlider {
  height: 0;
}

#dateline .year_button,
#dateline .undated_button,
#dateline .epochs_button,
#dateline .automate_button {
  background-color: #f2f2f2;
  border: 1px solid var(--range-color);
  border-radius: 4px;
  padding: 3px 6px;
  cursor: pointer;
  color: var(--slider-button-color);
  font-size: 12px;
  font-weight: bold;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}


#dateline .undated_button,
#dateline .epochs_button,
#dateline .automate_button {
  margin-left: 4px;
  color: var(--year-text);
  border-color: var(--slider-background-darker);
}

#dateline .undated_button {
	padding: 2px 6px;
    top: -1px;
    position: relative;
  	font-weight: normal;
}

#dateline .undated_button input {
	margin: 0 3px 0 0;
    padding: 0;
    top: 3px;
    position: relative;
}

#dateline .year_button:hover {
  background-color: #e0e0e0;
  color: #222;
}

#dateline .year_button:focus {
  outline: none;
  box-shadow: 0 0 4px #ccc;
}

#dateline .tick {
  width: 2px;
  height: 8px;
  background-color: var(--slider-background);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

#dateline .labeled-tick {
  background-color: var(--slider-background-darker);
}

#dateline .value-label {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--year-text);
  padding: 0;
  border-radius: 4px;
  pointer-events: none;
  text-shadow: -2px -2px 2px white, 2px -2px 2px white, -2px 2px 2px white,
    2px 2px 2px white;
}

#dateline .tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  background-color: var(--range-color);
  color: var(--slider-button-color);
  padding: 2px 0px;
  border-radius: 4px;
  text-align: center;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  pointer-events: none!important;
}

#dateline .fas.fa-question-circle.linky {
	position: absolute;
    z-index: 1;
    top: 23px;
    left: 20px;
    cursor: pointer;
}

#dateline.expanded .fas.fa-question-circle.linky {
	display: none;
}

.popover {
	width: 600px;
	max-width: 100%;
}

.popover p {
	margin: .2rem 0;
}

