/*===== sidebar.py =====*/

.sidebar {
	width: 380px;
	position: fixed;
	left: 16px;
	top: 16px;
	z-index: 2;
	color: white;
}

.sidebar-header {
	width: 100%;
	height: 64px;
	border-radius: var(--main-border-radius);
	margin-bottom: 4px;
	background-color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
}

.sidebar-body {
	border-radius: var(--main-border-radius);
	background-color: var(--primary-color);
	/* height: calc(100vh - (84px + 24px));
	max-height: calc(100vh - (84px + 24px)); */
	/* overflow-y: scroll; */
}

.sidebar-body .mantine-Tabs-root {
	height: calc(100vh - (84px + 16px));
}


.sidebar-logo {
	background-image: url("/assets/img/sidebar-logo.svg");
	width: 109px;
	height: 52px;
}

.tab {
	color: white !important;
	border-color: var(--secondary-color) !important;
	height: 60px;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);

}

.tab[data-active] {
	background-color: var(--secondary-color);
}

.tab:hover {
	background-color: var(--secondary-color);
}

.request-tab {
	border-radius: var(--main-border-radius) 0 0 0;
}

.coverage-tab {
	border-radius: 0 var(--main-border-radius) 0 0;
}

.tab-content {
	/* max-height: calc(100vh - (156px + 84px + -8px)); */
	max-height: calc(100vh - (156px + 84px + -14px));
	overflow-y: auto;
	padding: 12px 6px 12px 12px;
}

.tab-content.tab-content-metadata {
	max-height: calc(100vh - (156px + 42px + 16px));
	overflow-y: auto;
	padding: 0;
	scroll-behavior: smooth;
}

.tab-content::-webkit-scrollbar {
	width: 6px;
	background-color: transparent;
}

.tab-content::-webkit-scrollbar-thumb {
	background-color: var(--additional-color);
	border-radius: 10px;
}

.tab-content::-webkit-scrollbar-track {
	background-color: var(--secondary-color);
}




/*===== tab_search.py =====*/

.tab-search-content {
	width: 100%;
	gap: 8px;
}

#tab-search {
	width: 356px;
}

#tab-metadata {
	width: 374px;
}

.menu-label,
.mantine-InputWrapper-label {
	color: white !important;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);

	height: 40px;
	display: flex;
	align-items: center;
	margin-bottom: 4px;
}

.mantine-1cxsz4f {
	padding-top: 0;
	gap: 8px;
}

.mantine-Radio-body {
	height: 32px;
	align-items: center;
}

.mantine-Radio-inner {
	align-self: auto;
}

.mantine-Radio-radio {
	width: 16px;
	height: 16px;
	border-color: var(--secondary-color);
	background: transparent;
}

.mantine-Radio-radio:checked {
	background: white;
	border-color: white;
}

.mantine-Radio-icon {
	color: var(--primary-color);
}

.mantine-Radio-label {
	color: white !important;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

}


#datepicker {
	height: 45px;
	background-color: transparent;
	border: 1px solid var(--secondary-color);
	border-radius: var(--main-border-radius);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	color: white;
}

.mantine-DateRangePicker-wrapper .mantine-Input-rightSection button svg path {
	fill: white;
}

.mantine-DateRangePicker-dropdown * {
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day,
.mantine-DateRangePicker-calendarHeaderLevel,
.mantine-DateRangePicker-monthPickerControl,
.mantine-DateRangePicker-yearPickerControl {
	color: var(--primary-color);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day[data-weekend] {
	color: rgb(240, 62, 62);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day[data-in-range] {
	background-color: var(--hover-color);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day[data-selected] {
	background-color: var(--additional-color);
	color: white;
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day[data-outside],
.mantine-DateRangePicker-weekday {
	color: var(--secondary-color);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-monthPickerControlActive,
.mantine-DateRangePicker-yearPickerControlActive {
	background-color: var(--additional-color);
	color: white;
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-day:hover,
.mantine-DateRangePicker-calendarHeaderLevel:hover,
.mantine-DateRangePicker-monthPickerControl:hover,
.mantine-DateRangePicker-yearPickerControl:hover,
.mantine-DateRangePicker-calendarHeaderControl:hover {
	background-color: var(--hover-color);
}

.mantine-DateRangePicker-dropdown .mantine-DateRangePicker-calendarHeaderControl path,
.mantine-DateRangePicker-calendarHeaderLevel path {
	fill: var(--secondary-color);
}


.multiselect .mantine-MultiSelect-input {
	min-height: 48px;
	background-color: transparent;
	border: 1px solid var(--secondary-color);
	border-radius: var(--main-border-radius);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

	color: white;
	display: flex;
	align-items: center;
}

.multiselect .mantine-MultiSelect-item {
	height: 48px;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

	color: var(--primary-color);
	display: flex;
	align-items: center;
	border: none;
}

.multiselect .mantine-MultiSelect-item[aria-selected="true"] {
	background-color: var(--hover-color);
}

.multiselect .mantine-MultiSelect-value {
	height: 24px;
	background-color: var(--secondary-color);
	color: white;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	padding-left: 8px;
	margin: 5px;
}

.multiselect .mantine-MultiSelect-defaultValueRemove svg {
	color: white;
	width: 16px;
	height: 16px;
}

.multiselect .mantine-MultiSelect-values {
	padding: 6px 0;
}

.slider-label {
	display: flex;
	align-items: center;
}

.menu-label-icon {
	margin-right: 8px;
}

.mantine-Slider-track {
	height: 6px;
}

.mantine-Slider-track::before {
	background-color: var(--secondary-color);
}

.mantine-Slider-bar {
	background-color: white;
}

.mantine-Slider-mark {
	width: 4px;
	height: 4px;
	transform: translateY(2px);
	border: none;
	background-color: var(--list-item-color);
	opacity: 0;
}

.mantine-Slider-markFilled {
	background-color: var(--secondary-color);
}

.mantine-Slider-thumb {
	border-color: white;
	background-color: var(--primary-color);
}

.mantine-Slider-label {
	padding: 2px 4px;
	background-color: var(--secondary-color);
}

.bottom-label-container {
	display: flex;
	justify-content: space-between;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

	margin-top: 10px;
}

.btn-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 16px 12px 12px 12px;
	width: 100%;
	height: auto;
	border-radius: 0 0 4px 4px;
	background-color: var(--primary-color);
	z-index: 3;
	box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.25);
}

#search-btn,
.save-edit-btn {
	width: 174px;
	height: 36px;
}

#clear-btn,
.cancel-edit-btn {
	text-transform: uppercase;
	color: white;
	background-color: transparent !important;
	border-color: var(--secondary-color);
	width: 174px;
	font-size: var(--btn-sm-size);
	font-weight: var(--btn-sm-weight);

}

.mantine-Accordion-control {
	padding: 6px 6px 0 0;
}

.mantine-Accordion-control:hover {
	background-color: transparent;
}

.mantine-Accordion-content {
	padding: 35px 0 0 0;
}

.mantine-Accordion-item {
	color: white;
	border: none;
}

/*===== Dash-Leaflet overrides=====*/

.leaflet-control-zoom {
	position: fixed !important;
	margin: 0;
	right: 16px !important;
	top: calc((100vh - 74px) / 2) !important;
	border: none !important;
}

.leaflet-control-zoom-in {
	width: 36px !important;
	height: 36px !important;
	background-color: var(--primary-color) !important;
	color: transparent !important;
	border: none !important;
	border-radius: 4px 4px 0 0 !important;
	background-image: url("/assets/img/plus.svg");
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: 2px;
}

.leaflet-control-zoom-out {
	width: 36px !important;
	height: 36px !important;
	background-color: var(--primary-color) !important;
	color: transparent !important;
	border: none !important;
	border-radius: 0 0 4px 4px !important;
	background-image: url("/assets/img/minus.svg");
	background-repeat: no-repeat;
	background-position: center;
}

.leaflet-draw-toolbar {
	border: none !important;
}

.leaflet-draw-tooltip {
	visibility: hidden !important;
}

.leaflet-draw-tooltip.leaflet-draw-tooltip-single {
	visibility: visible !important;
	background-color: var(--primary-color) !important;
}

.leaflet-draw-tooltip::before {
	border-right: 6px solid var(--primary-color) !important;
	border-right-color: var(--primary-color) !important;
}

.leaflet-draw-draw-rectangle {
	width: 36px !important;
	height: 36px !important;
	background-color: white;
	background-image: url("/assets/img/draw-rectangle.svg") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 20px !important;
	position: fixed !important;
	top: 144px;
	left: 396px;
	border-radius: 0 4px 0 0 !important;
}

.leaflet-draw-draw-rectangle.leaflet-draw-toolbar-button-enabled {
	border-radius: 0 !important;
}

.leaflet-draw-edit-remove {
	width: 36px !important;
	height: 36px !important;
	background-color: white !important;
	background-image: url("/assets/img/remove-rectangle.svg") !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: 20px !important;
	position: fixed !important;
	top: 181px;
	left: 396px;
	border-radius: 0 0 4px 0 !important;
}

.leaflet-draw-edit-remove.leaflet-draw-toolbar-button-enabled {
	border-radius: 0 !important;
}

.leaflet-draw-draw-rectangle:hover,
.leaflet-draw-edit-remove:hover {
	background-color: var(--hover-color) !important;
}

.leaflet-draw-actions {
	left: 422px !important;
}

.leaflet-draw-actions a[title="Отменить"],
.leaflet-draw-actions a[title="Сохранить изменения"],
.leaflet-draw-actions a[title="Cancel editing, discards all changes"],
.leaflet-draw-actions a[title="Clear all layers"] {
	visibility: hidden;
}

.leaflet-draw-actions a[title="Отменить"]::after,
.leaflet-draw-actions a[title="Сохранить изменения"]::after {
	content: "отменить";
	visibility: visible;
	border-radius: 0 4px 4px 0;
	background-color: white;
	color: var(--primary-color);
	font-size: var(--btn-sm-size);
	font-weight: var(--btn-sm-weight);

	padding: 9px;
	left: 1px;
	bottom: 0px;
	position: absolute;
	text-transform: uppercase;
}

.leaflet-draw-actions a[title="Сохранить изменения"]::after {
	bottom: 12px !important;
	content: "ок" !important;
}

path.leaflet-interactive {
	stroke: var(--primary-color);
	stroke-opacity: 1;
	stroke-width: 2px;
	fill: transparent;
	/* fill: var(--secondary-color); */
	/* fill-opacity: 0.6; */
}


/*===== tab_metadata.py =====*/

#edit-request,
#back-stored-request {
	padding: 0;
	text-transform: uppercase;
	color: white;
	background-color: transparent;
	font-size: 12px;
	font-weight: 500;
	text-align: center;
}

#edit-request .mantine-Button-icon,
#back-stored-request .mantine-Button-icon {
	margin-right: 8px;
}

/* #coverage-list {
	max-height: 100vh;
} */

#coverage-list .mantine-Tooltip-tooltip {
	padding: 6px 12px;
	background-color: white;
	color: var(--primary-color);
	margin-top: -6px;
}

.coverage-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: absolute;
	top: 128px;
	width: 374px;
	padding: 0 12px;
	background: var(--primary-color);
	z-index: 3;
	height: 38px;
}

.coverage-count {
	font-size: var(--body-font-size);
	font-weight: 500;

	color: var(--secondary-color);
}

.mantine-Pagination-item {
	min-width: 26px !important;
	max-width: 26px !important;
	height: 26px;
	font-weight: var(--body-font-weight);
	font-size: var(--body-font-size);
	color: white;
	background-color: transparent;
	border-color: #718C91;
}

.mantine-Pagination-item[data-active] {
	background-color: white;
	color: var(--primary-color);
}

.mantine-Group-root[role="navigation"] {
	gap: 6px;
	justify-content: space-evenly;
	position: absolute;
	padding: 16px 12px 12px 12px;
	width: 100%;
	left: 0;
	bottom: 0;
	box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.25);
}

.quicklook {
	min-width: 124px;
	height: 124px;
	background-color: var(--secondary-color);
	background-position: center;
	background-repeat: no-repeat;
	border-radius: var(--main-border-radius);
	margin-right: 12px;
	background-size: contain;
}

.feature-container {
	display: flex;
	/* position: relative; */
	margin-bottom: 0;
	width: 374px;
	padding: 6px 6px 6px 12px;
	height: 136px;
}

/* .coverage-name-tooltip:first-child .feature-container {
	padding: 12px 6px 6px 12px;
}

.mantine-Tooltip-tooltip:first-child+.coverage-name-tooltip .feature-container {
	padding: 12px 6px 6px 12px;
} */

.feature-container:hover {
	cursor: pointer;
	background-color: var(--list-item-color);
}

.feature-id {
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);

	overflow-x: hidden;
	position: relative;
	max-width: 220px;
	text-overflow: ellipsis;
	white-space: nowrap;
	margin-bottom: 10px;
}

.metadata-row {
	display: flex;
	margin-bottom: 8px;
	position: relative;
}

.metadata-element {
	display: flex;
	align-items: center;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

}

.metadata-element.right {
	position: absolute;
	left: 132px;
}

.metadata-el-icon {
	margin-right: 6px;
}

/* .download-btn {
	width: 182px;
	position: absolute;
	bottom: 6px;
	height: 30px;
} */

.download-btn {
	width: 182px;
	bottom: 2px;
	height: 30px;
}

.download-btn+.mantine-Tooltip-tooltip {
	margin: 0 !important;
}

.coverage-metadata-tooltip {
	width: fit-content;
	display: inline-block;
	bottom: -2px;
	left: 6px;
	position: relative;
}

.metadata-btn {
	width: 32px;
	padding: 6px;
	height: 30px;
}

/*===== Custom skeleton =====*/
.skeleton-element {
	animation: skeleton-loading 1s linear infinite alternate;
}

.skeleton-element.download-btn {
	bottom: -2px;
}

.skeleton-element.metadata-btn {
	bottom: 4px;
	left: 6px;
}

@keyframes skeleton-loading {
	0% {
		background-color: var(--secondary-color);
	}

	100% {
		background-color: var(--hover-color);
	}
}

#skeleton-list {
	display: none;
}

#skeleton-list:has(+ #coverage-list[data-dash-is-loading]) {
	display: block;
}

#coverage-list[data-dash-is-loading] * {
	display: none;
}

/*===== Custom skeleton overrides=====*/
.feature-skeleton .feature-id {
	width: 220px;
	height: 24px;
	border-radius: 4px;
}

.feature-skeleton .metadata-element {
	width: 110px;
	height: 21px;
	border-radius: 4px;
}

.feature-skeleton .metadata-element.right {
	width: 88px;
	height: 21px;
	border-radius: 4px;
}

/*===== Draw notification=====*/

#draw-notification {
	position: fixed;
	top: 10px;
	left: calc(50vw - 348px + 250px);
	width: 500px;
	height: 45px;
	padding: 12px;
}

#draw-notification .mantine-Notification-description {
	color: var(--primary-color);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);

}

#draw-notification .mantine-Notification-closeButton {
	min-width: 17px;
	width: 17px;
	min-height: 17px;
	height: 17px;
}

#draw-notification .mantine-Notification-closeButton svg path {
	fill: var(--primary-color);
}

#draw-notification::before {
	display: none;
}

/*===== Exist and Remove notification=====*/

#exist-notification,
#remove-notification,
#create-notification {
	position: fixed;
	top: 16px;
	left: 408px;
	padding: 12px;
	width: auto;
	background-color: var(--primary-color);
	border: none;
}

#exist-notification .mantine-Notification-description,
#remove-notification .mantine-Notification-description,
#create-notification .mantine-Notification-description {
	color: white;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
}

#exist-notification .exist-notification-text,
#remove-notification .remove-notification-text,
#create-notification .create-notification-text {
	display: flex;
	align-items: baseline;
}

#exist-notification .exist-notification-name,
#remove-notification .remove-notification-name,
#create-notification .create-notification-name {
	overflow: hidden;
	text-overflow: ellipsis;
	height: 19px;
	max-width: 269px;
	width: auto;
	white-space: nowrap;
	margin: 0 4px;
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	text-align: center;
}

#exist-notification .mantine-Notification-closeButton,
#remove-notification .mantine-Notification-closeButton,
#create-notification .mantine-Notification-closeButton {
	min-width: 17px;
	width: 17px;
	min-height: 17px;
	height: 17px;
}

#exist-notification .mantine-Notification-closeButton:hover,
#remove-notification .mantine-Notification-closeButton:hover,
#create-notification .mantine-Notification-closeButton:hover {
	background-color: transparent;
}

#exist-notification .mantine-Notification-closeButton svg path,
#remove-notification .mantine-Notification-closeButton svg path,
#create-notification .mantine-Notification-closeButton svg path {
	fill: white;
}

#exist-notification::before,
#remove-notification::before,
#create-notification::before {
	display: none;
}

#exist-notification .exist-notification-btn,
#remove-notification .remove-notification-btn,
#create-notification .create-notification-btn {
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	color: var(--additional-color);
	text-transform: uppercase;
	background-color: transparent;
	padding: 0 12px;
	height: 19px;
	border: none;
	align-self: center;
}

#exist-notification .exist-notification-btn .mantine-Button-label,
#remove-notification .remove-notification-btn .mantine-Button-label,
#create-notification .create-notification-btn .mantine-Button-label {
	align-items: unset;
	font-family: 'Montserrat' !important
}

#exist-notification .mantine-Notification-body,
#remove-notification .mantine-Notification-body,
#create-notification .mantine-Notification-body {
	margin: 0;
}

/*===== Mantine modal overrides =====*/

.mantine-Modal-root {
	z-index: 1;
}

.mantine-Modal-overlay {
	display: none;
}

.mantine-Modal-inner {
	width: 624px;
	overflow-x: hidden;
	overflow-y: hidden;
	position: fixed;
	top: 16px;
	left: 412px;
	/* height: calc(100vh - 16px - 108px); */
	display: block;
	padding: 0;
}

.mantine-Modal-modal {
	width: 100%;
	/* height: 100%; */
	border-radius: 4px;
	background-color: var(--primary-color);
	padding: 12px 0;
}

.mantine-Modal-header {
	margin: 0 0 12px 0;
	padding: 0 12px;
	color: white;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);
	text-transform: uppercase;
}

.mantine-Modal-header .mantine-Modal-title {
	word-break: break-word;
	overflow-x: hidden;
	white-space: nowrap;
}

.mantine-Modal-body {
	margin-bottom: 36px;
	overflow-y: auto;
	/* height: calc(100vh - 64px - 166px); */
	padding: 0 0 0 12px;
	max-height: 865px;
}

#metadata-modal-body::-webkit-scrollbar {
	width: 6px;
	background-color: transparent;
}

#metadata-modal-body::-webkit-scrollbar-thumb {
	background-color: var(--additional-color);
	border-radius: 10px;
}

#metadata-modal-body::-webkit-scrollbar-track {
	background-color: var(--secondary-color);
}

.mantine-Modal-close {
	min-width: 24px;
	width: 24px;
	min-height: 24px;
	height: 24px;
}

.mantine-Modal-close:hover {
	background: transparent;
}

.mantine-Modal-close svg {
	width: 22px;
	height: 22px;
}

.mantine-Modal-close svg path {
	fill: white;
}



/*===== metadata_modal.py =====*/

.metadata-modal-block {
	width: 600px;
}

.mm-block-title {
	color: white;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);
	margin-bottom: 8px;
}

.mm-block-table {
	width: 100%;
	margin-bottom: 16px;
	border: 1px solid var(--list-item-color);
	border-radius: 4px;
	color: white;
}

.mm-table-row {
	display: flex;
	padding: 8px 12px 7px;
	border-bottom: 1px solid var(--list-item-color);
}

.mm-table-row:last-child {
	border-bottom: none;
	padding: 8px 12px;
}

.mm-table-key {
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	min-width: 200px;
}

.mm-table-value {
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
}

.mm-eo-table {
	width: 100%;
	margin-bottom: 14px;
	border: 1px solid var(--list-item-color);
	border-radius: 4px;
	color: white;
}

.mm-eo-table-header {
	display: flex;
	background-color: var(--list-item-color);
}

.mm-eo-table-key {
	padding: 8px 12px;
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
}

.mm-eo-table-key.key-name,
.mm-eo-table-value.value-name {
	width: 155px;
}

.mm-eo-table-key.key-common-name,
.mm-eo-table-value.value-common-name {
	width: 220px;
}

.mm-eo-table-key.key-description,
.mm-eo-table-value.value-description {
	width: 225px;
}

.mm-eo-table-row {
	display: flex;
	border-bottom: 1px solid var(--list-item-color);
}

.mm-eo-table-row:last-child {
	display: flex;
	border-bottom: none;
}

.mm-eo-table-value {
	padding: 8px 12px;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	border-right: 1px solid var(--list-item-color);
}

.mm-eo-table-value:last-child {
	border-right: none;
}

.download-modal-container {
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 12px;
	background-color: var(--primary-color);
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.25);
}

.download-modal-btn {
	width: 104px;
	position: unset;
}

.switch-container {
	display: flex;
	gap: 8px;
	padding-top: 6px;
	margin-bottom: 12px;
}

.switch-label {
	color: white;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
}

#search-switch+label {
	width: 40px;
	height: 22px;
	background-color: var(--additional-color);
	border: none;
}

#search-switch+label .mantine-Switch-thumb {
	height: 18px;
	width: 18px;
	left: 3px;
	border: none;
}

input:checked+*>.mantine-11dx59s {
	left: calc((100% - 18px) - 4px) !important;
	border: none;
}



/* =====  no_data_notirfication.py ===== */
.no-data-notification {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: calc(100vh - 290px);
	margin-top: 12px;
}

.no-data-title {
	margin-bottom: 8px;
	color: white;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);
}

.no-data-description {
	margin-bottom: 23px;
	color: white;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	text-align: center;
}

.no-data-btn {
	width: 182px;
}



/* ===== badge_list.py ===== */
.badge-list {
	margin-top: 38px;
	padding: 12px 6px 6px 12px;
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.badge-list .mantine-Badge-root,
.ss-badge-list-container .mantine-Badge-root {
	background-color: var(--list-item-color);
	padding: 2px 8px;
	border-radius: 4px;
	height: 24px;
}

.badge-list .mantine-Badge-root .mantine-Badge-inner,
.ss-badge-list-container .mantine-Badge-root .mantine-Badge-inner {
	color: white;
	font-size: var(--h3-font-size);
	font-weight: var(--h3-font-weight);
	text-transform: none;
	display: flex;
	align-items: center;
	gap: 6px;
}

#save-search-request {
	color: var(--additional-color);
	margin: 4px 0 6px 12px;
	font-size: var(--h1-font-size);
	font-weight: var(--h1-font-weight);
	cursor: pointer;
}

#save-search-request:hover {
	text-decoration: underline;
}



/* ===== stored_search_card.py ===== */

.stored-search-card {
	margin-bottom: 18px;
}

.stored-search-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 2px;
}

.card-header-btn-container {
	display: flex;
	margin-left: 4px;
}

.card-header-btn-container .mantine-ActionIcon-root {
	min-width: 18px;
	width: 18px;
	min-height: 18px;
	height: 18px;
	border: none;
}

.card-header-btn-container .mantine-ActionIcon-root:last-child {
	margin-left: 2px;
}

.stored-search-card-header .mantine-ActionIcon-root:hover {
	background-color: transparent;
}

.ss-card-name {
	max-width: 334px;
	width: 100%;
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
}

.stored-search-datetime {
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-size);
	color: var(--additional-color);
	margin-bottom: 12px;
}

.ss-badge-list-row {
	display: flex;
	gap: 10px;
	min-height: 24px;
	margin-bottom: 10px;
}

.ss-badge-list-row:last-child {
	margin-bottom: 0;
}

.ss-badge-list-label {
	font-size: var(--caption-font-size);
	font-weight: var(--caption-font-size);
	color: white;
	min-width: 119px;
	height: 24px;
	display: flex;
	align-items: center;
}

.ss-badge-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stored-search-card-btn {
	width: 100%;
	margin-top: 16px;
	width: 356px;
}

.stored-search-card-header .mantine-Menu-item {
	font-size: var(--caption-font-size);
	font-weight: var(--caption-font-weight);
	color: var(--primary-color);
}

.stored-search-card-header .mantine-Menu-item:hover {
	background-color: var(--hover-color);
}

.stored-search-card-header .mantine-Menu-item:last-child {
	color: var(--additional-color);
}

.ss-card-name input {
	min-height: 21px;
	height: 21px;
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	border: none;
	padding: 0;
	color: white;
	border-radius: 0;
	background-color: var(--list-item-color);
}

.ss-card-name input:disabled {
	background-color: transparent;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	opacity: 1;
	padding: 0;
	color: white;
}

.ss-card-name .mantine-Input-wrapper {
	display: flex;
	align-items: center;
}

.ss-card-name .mantine-Input-rightSection,
.ss-card-name .mantine-ActionIcon-root {
	min-width: 18px;
	width: 18px;
	min-height: 18px;
	height: 20px;
}

/* ===== Edit stored request ===== */

.edit-stored-request {
	display: none;
}

.edit-stored-request-caption {
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	color: var(--additional-color);
	margin-bottom: 4px;
}

.edit-stored-request-name {
	font-size: var(--h1-font-size);
	font-weight: 700;
	max-width: 356px;
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ===== tab_stored_search.py ===== */
.card-sort-container {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	color: var(--secondary-color);
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
}

.sort-btn {
	color: var(--secondary-color);
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	height: 21px;
	padding: 0;
	background-color: transparent;
}

.sort-btn:hover {
	background-color: transparent;
}

.sort-btn .mantine-Button-rightIcon {
	margin: 0;
}

/* ===== about.py ===== */
.info-btn {
	z-index: 1;
	width: 36px;
	height: 36px;
	background-color: var(--primary-color);
	border-radius: 4px;
	position: absolute;
	right: 16px;
	top: 16px;
}

.info-btn:hover {
	background-color: var(--primary-color);
}

#about-modal .mantine-Modal-inner {
	top: 16px;
	width: 680px;
	left: calc(50vw + 190px - 340px - 40px);
}

#about-modal .mantine-Modal-header {
	text-transform: none;
	padding: 0;
}

#about-modal .mantine-Modal-modal {
	padding: 12px 16px 16px 16px;
}

#about-modal .mantine-Modal-body {
	padding: 0;
	margin: 0;
}

#about-modal .about-modal-text {
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	color: white;
	margin-bottom: 14px;
}

#about-modal .about-modal-text a {
	font-size: var(--h2-font-size);
	font-weight: var(--h2-font-weight);
	text-decoration: none;
	color: var(--additional-color);
}

#about-modal .about-modal-text a:hover {
	text-decoration: underline;
}

#about-modal .about-modal-text:last-child {
	margin: 0;
}

/*===== Measure control overrides =====*/
.leaflet-control-measure {
	top: 16px;
	right: 60px;
	margin: 0 !important;
	min-width: 36px;
	min-height: 36px;
	border: none !important;
	border-radius: 4px !important;
	background-color: var(--primary-color) !important;
	background-image: url('data:image/svg+xml,%3Csvg xmlns="http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg" width="18" height="18" viewBox="0 0 512 512"%3E%3Cpath fill="white" d="M160 288h-56c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h56v-64h-56c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h56V96h-56c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8h56V32c0-17.67-14.33-32-32-32H32C14.33 0 0 14.33 0 32v448c0 2.77.91 5.24 1.57 7.8L160 329.38V288zm320 64h-32v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-64v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-64v56c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-56h-41.37L24.2 510.43c2.56.66 5.04 1.57 7.8 1.57h448c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"%2F%3E%3C%2Fsvg%3E') !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px !important;
}

.leaflet-control-measure .leaflet-control-measure-interaction.js-interaction {
	right: 37px;
	position: absolute;
	max-width: 280px;
	min-height: 36px;
	width: max-content;
	background-color: white;
	border-radius: 4px 0 4px 4px;
	padding: 6px 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* ===== Leaflet Attribution overrides ===== */
.leaflet-control-attribution {
	display: none;
}

/* ===== attribution.py ===== */
.attribution {
	padding: 0 4px;
	right: 6px;
	bottom: 3px;
	position: fixed;
	z-index: 3;
	font-size: 12px;
	font-weight: 500;
	color: var(--primary-color);
}

/* ===== Small Screen Width Notification ===== */
.small-screen-width {
	padding: 12px;
	background-color: var(--primary-color);
	width: calc(100vw - 32px);
	position: fixed;
	z-index: 5;
	border-radius: 4px;
	/* border: 1px solid #DEE3E4; */
	top: calc(50dvh - 142px/2);
	left: 16px;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.small-screen-width-icon {
	background-image: url("/assets/img/sidebar-logo.svg");
	background-repeat: no-repeat;
	background-position: center;
	height: 43px;
	width: 110px;
}

.small-screen-width-text {
	color: white;
	font-size: var(--body-font-size);
	font-weight: var(--body-font-weight);
	text-align: center;
}

/* Media query */
@media screen and (max-width: 1180px) {
	#exist-notification .exist-notification-name {
		display: none;
	}

	.mantine-Modal-inner {
		width: 612px;
	}

	.metadata-modal-block {
		width: 588px;
	}

	#about-modal .mantine-Modal-inner {
		width: 500px;
		left: calc(50vw + 190px - 250px - 40px);
	}
}

@media screen and (max-width: 1024px) {

	.sidebar,
	.leaflet-control-container,
	#info-btn {
		display: none;
	}

	.small-screen-width {
		display: flex;
	}
}