/* =========================================================
   GUI
   ========================================================= */

#gui-table {
    width: 1400px;
    margin: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.gui-header {
	background: #DDE6ED  !important;
}

/* =========================================================
   INHALTSBEREICH
   ========================================================= */

#container_paint_td,
#container_paint {
    background: #FFFFFF !important;
    background-image: none !important;
	color: #003C78;
}

/* Sachdaten */
#container_paint #contentdiv {
    background: #FFFFFF !important;
    background-image: none !important;
}
/* =========================================================
   HAUPTMENÜ
   ========================================================= */

/* Hintergrund */
#menuebar{
	background: #F7F9FC;
}
#legenddiv {
	background: #F7F9FC;
}
/* Menü-Schalter */
#menue_switch {
    background: #F7F9FC;
}

#legend_switch {
    background: #F7F9FC;
}


/* Hauptmenü */
.hauptmenue {
    font-family: SourceSansPro1;
    font-size: 15px;
    font-weight: 600;
    color: #003C78;

    background: #F7F9FC;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    margin: 2px;
    padding: 3px 8px;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.hauptmenue:hover {
    background: #EAF2FB;
    border-color: #B9D5F2;
    box-shadow: 0 1px 3px rgba(0,60,120,.12);
}


/* Obermenü */
.obermenue {
    font-family: SourceSansPro1;
    font-size: 15px;
    color: #003C78;

    background: #FFFFFF;
    border: 1px solid #E3E8EF;
    border-radius: 5px;

    margin: 2px;
    padding: 3px 8px;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .15s ease;
}

.obermenue:hover {
    background: #F3F8FD;
    border-color: #B9D5F2;
    transform: translateX(2px);
}


/* Untermenü */
.untermenue {
    font-family: SourceSansPro1;
    font-size: 14px;
    color: #d70046;

    background: #FFFFFF;
    border: 1px solid #ECEFF4;
    border-radius: 5px;

    margin: 1px 2px 1px 10px;
    padding: 2px 7px;

    transition:
        background-color .2s ease,
        border-left-color .2s ease,
        box-shadow .2s ease;
}

.untermenue:hover {
    background: #F3F8FD;
    border-left: 3px solid #003C78;
    color: #9e0331;
    padding-left: 6px;
}



/* =========================================================
   LEGENDE
   ========================================================= */


/* ---------------------------------------------------------
   Legenden-Gruppen
   --------------------------------------------------------- */
/* =========================================================
   LEGENDE – vergrößerte Klickfläche
   ========================================================= */

/* Nur das TD der eigentlichen Legendengruppe */
td:has(> a + .legend_group),
td:has(> a + .legend_group_active_layers) {
    position: relative;
}


/* Vorhandenen Link vergrößern */
td:has(> a + .legend_group) > a,
td:has(> a + .legend_group_active_layers) > a {
    position: absolute;
    left: 0;
    top: 0;
    width: 220px;
    height: 100%;
    z-index: 10;
}

/* Gruppen mit Papierkorb:
   +/- Link nicht über den Papierkorb legen */
td:has(> .legend_group a[href*="deleteRollenlayer"]) > a,
td:has(> .legend_group_active_layers a[href*="deleteRollenlayer"]) > a {
    width: 20px !important;
}

/* Gruppennamen */
.legend_group,
.legend_group_active_layers {
    display: inline-block;
    position: relative;
    top: 1px;
    margin-left: 20px;
	margin-bottom: 1px;
	
	font-size: 14px !important;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

/* Oberste Gruppenebene im Themenbaum */
/*########################*/

.legend_group.legend_top_group,
.legend_group_active_layers.legend_top_group {
    font-size: 15px !important;
}


/* Normale Layer-Gruppe */
.legend_group {
    color: #003C78;
    font-family: SourceSansPro1;
}


/* Aktive Layer-Gruppe */
.legend_group_active_layers {
    color: #003C78;
    font-family: SourceSansPro3;
}


/* Hover Gruppennamen */
td:has(.legend_group, .legend_group_active_layers) > a:hover + .legend_group,
td:has(.legend_group, .legend_group_active_layers) > a:hover + .legend_group_active_layers {
    color: #9e0331;
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   Plus-/Minus-Symbol
   --------------------------------------------------------- */

[id^="groupimg_"] {
    width: 11px;
    height: 11px;

    padding: 2px;

    background-color: #fff;
    border-radius: 4px;

    vertical-align: middle;

    transition:
        transform 0.3s ease,
        background-color 0.5s ease,
        border-left-color 0.2s ease;
}


/* Hover auf dem Link */
td:has(.legend_group, .legend_group_active_layers) > a:hover img {
    border-left: 2px solid #003C78;
    padding-left: 4px;
    transform: scale(1.2);
}


/* ---------------------------------------------------------
   Layer-Legende
   --------------------------------------------------------- */

.visiblelayerlink.boldhover:hover {
    color: #9e0331;
}

a.visiblelayerlink {
    font-size: 14px;
    color: #d70046;
}

.legend_layer_hidden {
    font-size: 14px;
}


#legend_layer td{
	background-color: #FFFFFF ;
}

[id^="legend_layer_"] {
    background-color: #FFFFFF;
}

/* ---------------------------------------------------------
   Gruppen-Container
   --------------------------------------------------------- */

[id^="groupdiv_"] {
    background-color: #fff;
    padding-left: 10px;
    padding-bottom: 2px;
}


/* =========================================================
   KARTENFUSS
   ========================================================= */

/* Maßstabsleiste */
#scale_bar {
    background: #F7F9FC;
	font-size: 14px;
}

/* Lagebezeichnung */
#lagebezeichnung_bar {
    background: #F7F9FC;
}

#lagebezeichnung {
    background: #F7F9FC;
    padding-top: 2px;
    color: #003C78;
}

/* Karten-Funktionsleiste */
#map_functions_bar{
	background: #F7F9FC;
	font-size: 14px;
}



/* =========================================================
   LAYEROPTIONEN und LEGENDENOPTION
   ========================================================= */

/* ---------------------------------------------------------
   Grundlayout
   --------------------------------------------------------- */

.layerOptions,
#legendOptions {
    min-width: 200px;
    padding: 0px;

    position: absolute;
    z-index: 1000;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;

    background: #F7F9FC !important;

    border-radius: 5px;
    box-shadow: 6px 5px 7px rgba(0, 0, 0, 0.4);

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* Position Layer */
.layerOptions {
    top: 300px;
    right: 240px;
}


/* Position Legende */
#legendOptions {
    right: 100px;
    display: none;
    border: 1px solid #cccccc;
}


/* ---------------------------------------------------------
   Kopfbereich
   --------------------------------------------------------- */

.layerOptionsHeader,
#legendOptionsHeader,
.layerOptionsHeader td,
#legendOptionsHeader td {
    background-color: #DDE6ED !important;
    color: #003C78 !important;

    padding: 3px 8px;

    border-radius: 5px;

    transition:
        background-color .2s ease,
        border-left-color .2s ease,
        box-shadow .2s ease;
}

.layerOptions .layerOptionsHeader,
#legendOptions #legendOptionsHeader {
    background-color: #DDE6ED !important;
}

/* ---------------------------------------------------------
   Unterüberschrift
   --------------------------------------------------------- */

.layerOptionHeader {
    padding-left: 9px;
    color: #003C78;
    font-size: 15px !important;
}


/* ---------------------------------------------------------
   Einträge
   --------------------------------------------------------- */

.layerOptions li,
#legendOptions li,
#legendOptions .dragObject {
    background: #FFFFFF;

    font-family: SourceSansPro1;
    font-size: 14px !important;
    color: #d70046;

    border: 1px solid #ECEFF4;

    /* Immer 3px, damit sich beim Hover nichts verschiebt */
    border-left: 3px solid #ECEFF4;

    border-radius: 5px;

    margin: 1px 2px 1px 2px;

    /* Abstand zwischen • und Text */
    padding: 2px 1px 2px 20px;

    list-style: none;
    position: relative;

    transition:
        background-color .2s ease,
        border-left-color .2s ease,
        color .2s ease,
        transform .2s ease;
}


/* Links innerhalb der Einträge */
.layerOptions a {
    font-size: 14px !important;
    color: #d70046;
}


/* Zeilenhöhe */
.layerOptions li {
    line-height: 17px;
    padding-left: 24px;
}


/* Zeilenbreite */
#legendOptions .dragObject {
min-width: 200px;
}

/* Listenabstand */
.layerOptions ul {
    padding: 0px 0px 0px 5px;
}


/* ---------------------------------------------------------
   Aufzählungspunkt
   --------------------------------------------------------- */

.layerOptions li::before {
    content: "•";

    position: absolute;
    left: 12px;

    color: #236DBF;
    font-size: 18px;
}

/* Tabellen-Marker */
#legendOptions li::marker {
    color: #003C78;
    font-size: 20px;
}

/* Tabellen-Marker */
.layerOptions td::marker {
    color: #236DBF;
    font-size: 12px;
}

.layerOptions td,
#legendOptions td {
    list-style-position: outside;
    padding-left: 8px;
	background-color: transparent !important;
}


/* ---------------------------------------------------------
   Text
   --------------------------------------------------------- */

.layerOptions span {
    color: #003C78 !important;
    font-size: 14px;
}

#legendOptions span {
    color: #d70046;
    font-size: 14px;
	/*Layername nach 30ch beenden*/
	display: inline-block;
    max-width: 30ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* Fett-Text */
.layerOptions fett,
#legendOptions span.fett {
    color: #003C78 !important;
    font-weight: 600;
}


/* ---------------------------------------------------------
   Link auf gesamten LI-Bereich
   --------------------------------------------------------- */

.layerOptions li {
    cursor: pointer;
}

.layerOptions li a {
    display: block;
    width: 100%;
    height: 100%;
}


/* ---------------------------------------------------------
   Hover
   --------------------------------------------------------- */

.layerOptions li:hover,
.layerOptions a:hover {
    background: #F3F8FD;

    border-left-color: #003C78 !important;

    color: #9e0331 !important;

    border-radius: 5px;

    transform: translateX(2px);
}

#legendOptions .dragObject:hover {
    background: #F3F8FD;

    border-left-color: #003C78 !important;

    color: #9e0331 !important;

    border-radius: 5px;

    transform: translateX(2px);
}

/* ---------------------------------------------------------
   Eingabefeld
   --------------------------------------------------------- */

.layerOptions input[type="text"] {
    width: 195px;
}


/* =========================================================
   BENACHRICHTIGUNGEN
   ========================================================= */

/*
.notification-box {
    margin: 10px auto;
    padding: 12px;

    background-color: antiquewhite;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}
*/

/* =========================================================
   NAVIGATIONSBUTTONS
   ========================================================= */

/*.navbutton {
    fill: #7DB7E8 !important;
}

.navbutton_stroke {
    stroke: #7DB7E8;
}

.active_navbutton {
    fill: #A7D1F3 !important;
}

.disabled {
    fill: #59636C;
}

.navbutton_frame{
			fill: #003C78 !important;
}*/

/* =========================================================
   LAYERSUCHE – FRESH
   analog zur Sachdatenanzeige
   ========================================================= */

/* Titel Layer-Suche */
#gs_titel {
    color: #003C78 !important;
}

/* =========================================================
   LAYERSUCHE – GRUPPE / THEMA
   ========================================================= */


		.generic_search #gsl_formular {
			width: 760px !important;
			max-width: calc(100vw - 40px);

			display: grid !important;
			grid-template-columns: 150px minmax(0, 1fr);

			margin: 0 0 12px 0 !important;
			padding: 5px !important;

			background: #F7F9FC  !important;

			border: 1px solid #D8DEE9 !important;
			border-radius: 5px !important;

			box-shadow: 0 1px 3px rgba(0, 60, 120, .08);

			box-sizing: border-box;
		}


		/* =========================================================
		   GRUPPE / THEMA – BESCHRIFTUNG
		   ========================================================= */

		.generic_search .gsl_gruppe_waehlen_name,
		.generic_search .gsl_layer_waehlen_name {
			display: flex !important;
			align-items: center;

			min-height: 36px;

			padding: 5px 10px !important;

			/* bewusst ohne farbigen Hintergrund */
			background: #F7F9FC  !important;
			color: #003C78 !important;

			border: 0 !important;

			font-family: SourceSansPro1;
			font-size: 14px;
			font-weight: 600;

			box-sizing: border-box;
		}


		/* =========================================================
		   AUSWAHLBEREICH
		   ========================================================= */

		.generic_search .gsl_gruppe_waehlen_select,
		.generic_search .gsl_layer_waehlen_select {
			display: flex !important;
			align-items: center;

			min-width: 0;
			min-height: 36px;

			padding: 4px 6px !important;

			background: #F7F9FC  !important;

			border: 0 !important;

			box-sizing: border-box;
		}




		/* =========================================================
		   SELECT-FELDER
		   ========================================================= */

			.generic_search .gsl_gruppe_waehlen_select select,
			.generic_search .gsl_layer_waehlen_select select {
				display: block;

				width: 400px !important;
				min-width: 400px !important;
				max-width: 400px !important;

				height: 28px;

				margin: 0 !important;
				padding: 3px 8px;

				background: #FFFFFF !important;
				color: #003C78 !important;

				border: 1px solid #D8DEE9 !important;
				border-radius: 5px !important;

				font-family: SourceSansPro1;
				font-size: 14px;

				box-sizing: border-box;

				transition:
					border-color .2s ease,
					box-shadow .2s ease;
			}


		/* Hover */

		.generic_search .gsl_gruppe_waehlen_select select:hover,
		.generic_search .gsl_layer_waehlen_select select:hover {
			border-color: #B9D5F2 !important;
		}


		/* Fokus */

		.generic_search .gsl_gruppe_waehlen_select select:focus,
		.generic_search .gsl_layer_waehlen_select select:focus {
			border-color: #236DBF !important;
			outline: none;

			box-shadow: 0 0 0 2px rgba(35, 109, 191, .12);
		}


		/* =========================================================
		   LAYERSUCHE – AKTIONEN
		   ========================================================= */

		.generic_search #gsl_suche_speichern {
			width: 760px !important;
			max-width: calc(100vw - 40px);

			display: flex !important;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			gap: 14px !important;

			margin: 8px 0 22px 0 !important;
			padding: 0 !important;

			box-sizing: border-box;
		}


		/* Einzelne Aktionsbereiche */

		.generic_search #gsl_abfrage_speichern,
		.generic_search #gsl_abfrage_laden,
		.generic_search #gsl_suche_raeumlich {
			margin: 0 !important;
			padding: 0 !important;
		}


		/* =========================================================
		   AKTIONSBUTTONS
		   ========================================================= */

		.generic_search #gsl_abfrage_speichern_form_link,
		.generic_search #gsl_abfrage_laden_form_link,
		.generic_search #gsl_suche_raeumlich > div > a {
			display: inline-flex;
			align-items: center;
			justify-content: center;

			min-height: 28px;

			padding: 3px 10px;

			background: #FFFFFF !important;
			color: #D70046 !important;

			border: 1px solid #D8DEE9 !important;
			border-radius: 5px !important;

			font-family: SourceSansPro1;
			font-size: 14px;
			font-weight: normal;

			text-decoration: none !important;
			cursor: pointer;

			box-sizing: border-box;

			transition:
				background-color .2s ease,
				border-color .2s ease,
				color .2s ease,
				box-shadow .2s ease;
		}


		/* Hover */

		.generic_search #gsl_abfrage_speichern_form_link:hover,
		.generic_search #gsl_abfrage_laden_form_link:hover,
		.generic_search #gsl_suche_raeumlich > div > a:hover {
			background: #F3F8FD !important;
			color: #9e0331 !important;

			border-color: #B9D5F2 !important;

			box-shadow: 0 1px 3px rgba(0, 60, 120, .12);
		}

/* =========================================================
   LAYERSUCHE – FRESH
   ========================================================= */

#gs_searchmasks {
    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;
}


/* =========================================================
   GESAMTE SUCHTABELLE
   ========================================================= */

#gs_searchmasks .gsm_tabelle {
    width: 760px !important;
    max-width: calc(100vw - 40px);

    background: #FFFFFF !important;

    border: 1px solid #D8DEE9 !important;
    border-radius: 5px !important;

    margin: 0 0 12px 0 !important;
    padding: 5px !important;

    box-shadow: 0 1px 3px rgba(0, 60, 120, .08);

    box-sizing: border-box;

}


/* =========================================================
   KOPFZEILE
   ========================================================= */

#gs_searchmasks .gsm_tabelle_header {
    display: flex;

    width: 100%;
    min-height: 30px;

    background: #F7F9FC !important;
    color: #003C78 !important;

    border: 0 !important;
    border-bottom: 1px solid #D8DEE9 !important;

    font-weight: 600;

    box-sizing: border-box;
}


/* =========================================================
   GRUPPEN
   ========================================================= */

#gs_searchmasks .gsm_tabelle_gruppe {
    width: 100%;

    margin: 5px 0 4px 0 !important;
    padding: 0 !important;

    background: #FFFFFF !important;

    border: 0 !important;

    box-shadow: none !important;
    box-sizing: border-box;
}


/* Gruppen-Kopf */
#gs_searchmasks .gsm_tabelle_gruppe_name {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 30px;

    padding: 4px 8px 4px 6px;

    background: #DDE6ED !important;
    color: #003C78 !important;

    border: 1px solid #D8DEE9 !important;
    border-left: 3px solid #003C78 !important;
    border-radius: 4px;

    font-family: SourceSansPro1;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    box-sizing: border-box;
}


/* +/- */
#gs_searchmasks .gsm_tabelle_gruppe_name > div:first-child {
    flex: 0 0 16px !important;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #003C78;
    font-weight: 600;
    line-height: 1 !important;
    text-align: center !important;
}


/* Gruppenname */
#gs_searchmasks .gsm_tabelle_gruppe_name > div:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;

    margin: 0 !important;
    padding: 0 0 0 3px !important;

    text-align: left;
}


/* =========================================================
   ATTRIBUTZEILEN
   ========================================================= */

#gs_searchmasks .gsm_tabelle_attribute {
    display: flex;

    width: 100%;

    margin: 0 !important;
    padding: 0 !important;

    background: #FFFFFF !important;

    border: 0 !important;
    border-bottom: 1px solid #E3E8EF !important;

    box-shadow: none !important;

    box-sizing: border-box;
}


#gs_searchmasks .gsm_tabelle_attribute:last-child {
    border-bottom: 0 !important;
}


/* =========================================================
   SPALTE 1 – ATTRIBUT
   ========================================================= */

#gs_searchmasks .gsm_tabelle_td_first {
    flex: 0 0 260px;
    width: 260px;
    min-width: 260px;

    padding: 6px 10px !important;

    background: #FFFFFF !important;
    color: #003C78 !important;

    border: 0 !important;
    border-right: 1px solid #E3E8EF !important;

    font-size: 15px;
    font-weight: normal !important;

    box-sizing: border-box;
}


/* =========================================================
   SPALTE 2 – OPERATOR
   ========================================================= */

#gs_searchmasks .gsm_tabelle_td_second {
    flex: 0 0 140px;
    width: 140px;
    min-width: 140px;

    padding: 3px 6px !important;

    background: #FFFFFF !important;

    border: 0 !important;

    box-sizing: border-box;
}


/* Operator-Select */
#gs_searchmasks .gsm_tabelle_td_second select {
    width: 128px !important;
    max-width: 100% !important;
    box-sizing: border-box;

    padding-top: 1px !important;
    padding-bottom: 5px !important;
}

/* =========================================================
   SPALTE 3 – WERT
   ========================================================= */

#gs_searchmasks .gsm_tabelle_td_third {
    flex: 1 1 0;
    width: auto;
    min-width: 0;

    padding: 3px 6px !important;

    background: #FFFFFF !important;

    border: 0 !important;

    box-sizing: border-box;
}


/* =========================================================
   EINGABEFELDER
   ========================================================= */

#gs_searchmasks input[type="text"],
#gs_searchmasks input[type="number"],
#gs_searchmasks input[type="date"],
#gs_searchmasks select,
#gs_searchmasks textarea {
    background: #FFFFFF;
    color: #003C78;

    border: 1px solid #D8DEE9;
    border-radius: 5px;

    padding: 3px 6px;

    font-family: SourceSansPro1;
    font-size: 15px;

    box-shadow: none;

    box-sizing: border-box;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


/* Wertfelder nutzen die verfügbare Breite */
#gs_searchmasks .gsm_tabelle_td_third input[type="text"],
#gs_searchmasks .gsm_tabelle_td_third input[type="number"],
#gs_searchmasks .gsm_tabelle_td_third select,
#gs_searchmasks .gsm_tabelle_td_third textarea {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;
}


/* =========================================================
   HOVER
   ========================================================= */

#gs_searchmasks .gsm_tabelle_attribute:hover .gsm_tabelle_td_first,
#gs_searchmasks .gsm_tabelle_attribute:hover .gsm_tabelle_td_second,
#gs_searchmasks .gsm_tabelle_attribute:hover .gsm_tabelle_td_third {
    background: #F3F8FD !important;
}


#gs_searchmasks input[type="text"]:hover,
#gs_searchmasks input[type="number"]:hover,
#gs_searchmasks input[type="date"]:hover,
#gs_searchmasks select:hover,
#gs_searchmasks textarea:hover {
    border-color: #B9D5F2;
}


/* =========================================================
   FOKUS
   ========================================================= */

#gs_searchmasks input[type="text"]:focus,
#gs_searchmasks input[type="number"]:focus,
#gs_searchmasks input[type="date"]:focus,
#gs_searchmasks select:focus,
#gs_searchmasks textarea:focus {
    border-color: #236DBF;

    outline: none;

    box-shadow: 0 0 0 2px rgba(35, 109, 191, .12);
}


/* =========================================================
   INNERE ELEMENTE
   ========================================================= */

#gs_searchmasks .gsm_tabelle_attribute > div {
    box-shadow: none !important;
}

/* =========================================================
   LAYERSUCHE – UNTERER AKTIONSBEREICH
   ========================================================= */


/* ---------------------------------------------------------
   UND / ODER
   --------------------------------------------------------- */

#gs_undoder {
    width: 760px !important;
    max-width: calc(100vw - 40px);

    margin: 14px 0 10px 0 !important;
    padding: 0 !important;

    text-align: center;

    box-sizing: border-box;
}


#gs_undoder > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 3px 10px;

    background: #FFFFFF !important;
    color: #D70046 !important;

    border: 1px solid #D8DEE9 !important;
    border-radius: 5px !important;

    font-family: SourceSansPro1;
    font-size: 14px;

    text-decoration: none !important;
    cursor: pointer;

    box-sizing: border-box;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


#gs_undoder > a:hover {
    background: #F3F8FD !important;
    color: #9e0331 !important;

    border-color: #B9D5F2 !important;

    box-shadow: 0 1px 3px rgba(0, 60, 120, .12);
}


/* Tooltip direkt daneben */
#gs_undoder > span {
    margin-left: 5px;
}


/* ---------------------------------------------------------
   ANZAHL TREFFER
   --------------------------------------------------------- */

#gs_anzahl_treffer {
    width: 760px !important;
    max-width: calc(100vw - 40px);

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 10px 0 12px 0 !important;
    padding: 0 !important;

    color: #003C78 !important;

    font-family: SourceSansPro1;
    font-size: 14px;

    box-sizing: border-box;
}


/* Eingabefeld Trefferanzahl */
#gs_anzahl_treffer input[type="text"] {
    width: 60px !important;
    min-width: 60px !important;
    height: 28px !important;

    margin: 0 !important;
    padding: 3px 6px !important;

    background: #FFFFFF !important;
    color: #003C78 !important;

    border: 1px solid #D8DEE9 !important;
    border-radius: 5px !important;

    font-family: SourceSansPro1;
    font-size: 14px;

    text-align: center;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   SUCHEN
   --------------------------------------------------------- */

#gs_suchen {
    width: 760px !important;
    max-width: calc(100vw - 40px);

    display: flex !important;
    align-items: center;
    justify-content: center;

    margin: 0 0 20px 0 !important;
    padding: 0 !important;

    background: transparent !important;

    box-sizing: border-box;
}


/* eigentlicher Suchen-Button */
#gs_suchen input.gs_suchen_input {
    width: auto !important;
    min-width: 110px !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 4px 16px !important;

    background: #FFFFFF !important;
    color: #D70046 !important;

    border: 1px solid #D8DEE9 !important;
    border-radius: 5px !important;

    font-family: SourceSansPro1;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


#gs_suchen input.gs_suchen_input:hover {
    background: #F3F8FD !important;
    color: #9e0331 !important;

    border-color: #B9D5F2 !important;

    box-shadow: 0 1px 3px rgba(0, 60, 120, .12);
}


/* kvwmap-Overlay über dem Suchen-Button ausblenden */
#gs_suchen .gs_sucht_opac {
    display: none !important;
}


/* ---------------------------------------------------------
   LOADER
   --------------------------------------------------------- */

#gs_loader {
    width: 760px !important;
    max-width: calc(100vw - 40px);

    text-align: center;

    margin: 6px 0 12px 0 !important;
}

/* =========================================================
   menue - SUCHE
   ========================================================= */

/* Überschrift */
#form-titel {
    font-family: SourceSansPro3;
    font-size: 20px;
    font-weight: 600;
    color: #003C78;

    text-align: center;

    padding: 12px 16px;
    margin-bottom: 14px;

    background: #F7F9FC;
    border-bottom: 2px solid #003C78;
}


/* Gesamter Formularbereich */
#form_formular-main {
    width: 540px;
    padding: 8px 16px 4px 16px;
    box-sizing: border-box;
}


/* Eine Formularzeile */
#form_formular-main .form_formular-input,
#form_formular-main .form_formular-input-selector {
    display: flex;
    align-items: center;

    min-height: 38px;
    margin: 0;
}


/* Beschriftung links */
#form_formular-main .form_formular-input > div:first-child,
#form_formular-main .form_formular-input-selector > div:first-child {
    flex: 0 0 210px;

    font-family: SourceSansPro3;
    font-size: 16px;
	font-weight: 600;
    color: #003C78;

    text-align: left;
}


/* Eingabebereich rechts */
#form_formular-main .form_formular-input > div:nth-child(2),
#form_formular-main .form_formular-input-selector > div:nth-child(2) {
    flex: 1;
    text-align: left;
}


/* Eingabefelder und Select */
#form_formular-main input[type="text"]{
    width: 280px !important;
    height: 28px;

    padding: 3px 8px;

    box-sizing: border-box;

    background: #FFFFFF;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    font-family: SourceSansPro1;
    font-size: 14px;
	color: #003C78;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Pulldown-Felder */
#form_formular-main select:not([multiple]) {
    width: 280px !important;
    height: 28px !important;

    padding: 2px 30px 3px 8px;
    margin-bottom: 6px;
	margin-top: 6px;

    box-sizing: border-box;

    background: #FFFFFF;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Eingabefeld + Tooltip nebeneinander */
#form_formular-main .form_formular-input > div:nth-child(2),
#form_formular-main .form_formular-input-selector > div:nth-child(2) {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* Tooltip darf nicht umbrechen */
#form_formular-main span[data-tooltip] {
    flex: 0 0 auto;
}

/* Fokus */
#form_formular-main input[type="text"]:focus,
#form_formular-main select:not([multiple]):focus {
    outline: none;
    border-color: #236DBF;
    box-shadow: 0 0 0 2px rgba(35, 109, 191, 0.12);
}

/* Importbereich */
#import1 {
    width: 540px;
    box-sizing: border-box;

    margin: 12px 0 0 0 !important;
    padding: 10px 16px !important;

    text-align: left;
    border-top: 1px solid #E3E8EF;
}


/* Import-Link */
#import1 a {
    color: #D70062;
    text-decoration: none;
}

#import1 a:hover {
    color: #9e0331;
}


/* Aufgeklappter Importbereich */
#import2 {
    width: 508px !important;
    height: auto !important;

    box-sizing: border-box;

    margin: 0 16px 12px 16px !important;
    padding: 10px 12px !important;

    background: #F7F9FC !important;

    border: 1px solid #D8DEE9 !important;
    border-radius: 5px;

    box-shadow: none !important;
}


/* Datei-Auswahl */
#import2 input[type="file"] {
    margin: 0 !important;
}


/* Laden-Button */
#import2 input[type="submit"] {
    float: right;
    margin: 0 !important;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
button {
	background: #FFFFFF;
	color: #9e0331;

	border: 1px solid #B9D5F2;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 60, 120, .12);

	padding: 3px 8px;

	font-family: SourceSansPro1;
	font-size: 16px;

	cursor: pointer;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		box-shadow .2s ease;
}

input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
	background: #F3F8FD;
	color: #9e0331;

	border-color: #B9D5F2;

	box-shadow: 0 1px 3px rgba(0, 60, 120, .12);
}

/* Datei auswählen / Durchsuchen */
#import2 input[type="file"]::file-selector-button {
	background: #FFFFFF;
	color: #003C78;

	border: 1px solid #B9D5F2;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 60, 120, .12);

	padding: 3px 8px;

	font-family: SourceSansPro1;
	font-size: 14px;

	cursor: pointer;

	transition:
		background-color .2s ease,
		border-color .2s ease,
		color .2s ease,
		box-shadow .2s ease;
}

#import2 input[type="file"]::file-selector-button:hover {
    background: #F3F8FD;
    border-color: #236DBF;
    color: #9e0331;
}

/* Gesamtes Datei-Feld */
#import2 input[type="file"] {
    height: 32px !important;
    line-height: 28px !important;
    margin: 0 !important;
}


/* Datei auswählen / Durchsuchen */
#import2 input[type="file"]::file-selector-button {
    height: 28px;

    background: #FFFFFF;
    color: #003C78;

    border: 1px solid #B9D5F2;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 60, 120, .12);

    padding: 3px 8px;

    font-family: SourceSansPro1;
    font-size: 14px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

#import2 input[type="file"]::file-selector-button:hover {
    background: #F3F8FD;
    border-color: #236DBF;
    color: #9e0331;
}

/* =========================================================
   Doppelauswahl:
   Grundbuchblatt / Flurstück / Hausnummer
   ========================================================= */

/* Auswahlbereich unter die Bezeichnung setzen */
#form_formular-main .form_formular-input-selector:has(select[multiple]) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 20px 0 !important;
}

/* Bezeichnung */
#form_formular-main .form_formular-input-selector:has(select[multiple]) > div:first-child {
    width: auto !important;
    margin: 0 0 6px 0 !important;

    font-family: SourceSansPro3;
    font-size: 16px;
    font-weight: 600;
    color: #003C78;
    text-align: left;
}

#form_formular-main .form_formular-input-selector:has(select[multiple]) > div:nth-child(2) {
    display: block !important;
    width: auto !important;
}

/* Tabellen */
#form_formular-main .gsf_suche_form,
#form_formular-main .ads_suche_form,
#form_formular-main .fsf_suche_form {
    border-collapse: separate !important;
    border-spacing: 8px 0 !important;
    margin: 0 0 0 -8px !important;
}

/* "ausgewählte" / "vorhandene" */
#form_formular-main .gsf_suche_form span,
#form_formular-main .ads_suche_form span,
#form_formular-main .fsf_suche_form span {
    display: block;
    margin: 0 0 5px 0 !important;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;
    text-align: left;
}

/* Beide Listen exakt gleich groß */
#form_formular-main .gsf_suche_form select[multiple],
#form_formular-main .ads_suche_form select[multiple],
#form_formular-main .fsf_suche_form select[multiple] {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;

    height: 220px !important;
    min-height: 220px !important;

    padding: 4px;

    background: #FFFFFF;
    color: #003C78;

    border: 1px solid #D8DEE9;
    border-radius: 5px;

    font-family: SourceSansPro1;
    font-size: 14px;

    box-sizing: border-box;
}

/* Fokus */
#form_formular-main .gsf_suche_form select[multiple]:focus,
#form_formular-main .ads_suche_form select[multiple]:focus,
#form_formular-main .fsf_suche_form select[multiple]:focus {
    outline: none;
    border-color: #236DBF;
    box-shadow: 0 0 0 2px rgba(35, 109, 191, 0.12);
}

/* Mittlere Spalte */
#form_formular-main .gsf_suche_form_add,
#form_formular-main .ads_suche_form_add,
#form_formular-main .fsf_suche_form_add {
    width: 50px !important;
    min-width: 50px !important;

    text-align: center !important;
    vertical-align: middle !important;
}

/* Pfeil-Buttons */
#form_formular-main .gsf_suche_form_add input,
#form_formular-main .ads_suche_form_add input,
#form_formular-main .fsf_suche_form_add input {
    width: 34px !important;
    margin: 3px 0 !important;
}

/* Gemarkungsschlüssel insgesamt 280px */
#form_formular-main .form_formular-input:has(input[name="gemschl1"]) > div:nth-child(2) {
    display: flex;
    width: 280px !important;
    gap: 4px;
    box-sizing: border-box;
}

#form_formular-main .form_formular-input input[name="gemschl1"] {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
}

#form_formular-main .form_formular-input input[name="gemschl2"] {
    width: 244px !important;
    min-width: 244px !important;
    max-width: 244px !important;
}

/* Flurstück als normales Formularfeld behandeln,
   solange keine Doppelauswahl vorhanden ist */
#form_formular-main .form_formular-input-selector:not(:has(select[multiple])) {
    display: flex !important;
    align-items: center;
    height: 32px !important;
    margin: 0 0 10px 0 !important;
}

#form_formular-main .form_formular-input-selector:not(:has(select[multiple])) > div:first-child {
    width: 190px;
    flex: 0 0 190px;
}

#form_formular-main .form_formular-input-selector:not(:has(select[multiple])) > div:nth-child(2) {
    display: flex !important;
    align-items: center;
    gap: 6px;
}

/* Flurstück-Eingabebereich 20px nach rechts */
#form_formular-main .form_formular-input-selector:not(:has(select[multiple])) > div:nth-child(2) {
    margin-left: 20px !important;
}

/* =========================================================
   Flurstückssuche – Optionen aktuell / historisch
   ========================================================= */

#form_formular-main > div[style*="text-align: left"][style*="line-height"] {
    width: 280px;
    margin: 14px 0 18px 214px !important;
    padding: 10px 12px;

    background: #F7F9FC;
    border: 1px solid #E3E8EF;
    border-radius: 5px;

    box-sizing: border-box;
    line-height: 26px !important;
}

/* Radio-Buttons */
#form_formular-main input[name="history_mode"] {
    margin: 0 5px 0 0;
    vertical-align: middle;
    accent-color: #003C78;
}

/* Beschriftungen */
#form_formular-main input[name="history_mode"] + label {
    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;
    cursor: pointer;
}

/* =========================================================
   Eigentümersuche / Namenssuche
   ############################################
   ========================================================= */

/* ---------------------------------------------------------
   Eigentümersuche – Titel
   --------------------------------------------------------- */

body:has(#nsf_person) #form-titel {
    font-size: 0;
}

body:has(#nsf_person) #form-titel::after {
    content: "Eigentümersuche";

    color: #003C78;

    font-family: SourceSansPro3;
    font-size: 20px;
    font-weight: 600;
}


/* Gesamte Suchmaske */
#form_formular-main:has(#nsf_person) {
    width: 540px;
    margin: 0 auto;
}

/* alten Platzhalterhinweis etwas aufräumen */
#nsf_platzhalterhinweis {
    width: 100% !important;
    margin: 8px 0 18px 0 !important;
    padding: 10px 12px;

    background: #F7F9FC;
    border: 1px solid #E3E8EF;
    border-radius: 5px;

    box-sizing: border-box;

    font-family: SourceSansPro1;
    font-size: 13px !important;
    font-style: normal !important;
    color: #5F6B76;
    line-height: 1.4;
}


/* =========================================================
   Abschnittsüberschriften Person / Gebiet
   ========================================================= */

#nsf_person > .nsf_titel,
#nsf_gebiet > .nsf_titel {
    width: 100%;
    margin: 18px 0 14px 0 !important;
    padding: 7px 10px !important;

    background: #DDE6ED;
    border-radius: 5px;

    box-sizing: border-box;

    font-family: SourceSansPro3;
    font-size: 16px;
    font-weight: 600;
    color: #003C78;
}


/* =========================================================
   Inhalt der Bereiche
   ========================================================= */

#nsf_person .nsf_suche,
#nsf_gebiet .nsf_suche {
    padding-left: 0 !important;
}


/* normale Formularzeilen */
#nsf_person .form_formular-input,
#nsf_gebiet .form_formular-input {
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 32px;
    height: auto;

    margin: 0 0 10px 0;
}


/* linke Bezeichnung */
#nsf_person .form_formular-input > div:first-child,
#nsf_gebiet .form_formular-input > div:first-child {
    width: 220px;
    min-width: 220px;

    font-family: SourceSansPro3;
    font-size: 16px;
    font-weight: 600;
    color: #003C78;
}


/* Eingabebereich */
#nsf_person .form_formular-input > div:nth-child(2),
#nsf_gebiet .form_formular-input > div:nth-child(2) {
    width: 280px;
}


/* Texteingaben */
#nsf_person .form_formular-input input[type="text"],
#nsf_gebiet .form_formular-input input[type="text"] {
    width: 280px !important;
    height: 30px !important;

    padding: 4px 8px;

    background: #FFFFFF;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    box-sizing: border-box;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;
}


/* Selects im Bereich Gebiet */
#nsf_gebiet .form_formular-input select {
    width: 280px !important;
    height: 30px !important;

    padding: 3px 7px;

    background: #FFFFFF;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    box-sizing: border-box;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;
}


/* Fokus */
#nsf_person input[type="text"]:focus,
#nsf_gebiet input[type="text"]:focus,
#nsf_gebiet select:focus {
    outline: none;
    border-color: #236DBF;
    box-shadow: 0 0 0 2px rgba(35, 109, 191, 0.12);
}


/* =========================================================
   Name/Firma + Vorname mit den beiden Optionen rechts
   ========================================================= */

#nsf_person .nsf_name {
    display: block !important;
}

/* linker Bereich mit Name/Firma + Vorname */
#nsf_person .nsf_name > div:first-child {
    width: 100%;
}

/* exakte Suche / alleiniger Eigentümer */
#nsf_person .nsf_name > div:last-child {
    position: static !important;
	    color: #003C78;
    display: flex;
    gap: 20px;

    margin: 0 0 12px 220px !important;
}

/* alte Positionierung beseitigen */
#nsf_person .nsf_name > div:last-child > div {
    position: static !important;
    top: auto !important;

    display: flex;
    align-items: center;

    white-space: nowrap;
}

/* das <br> zwischen den Optionen brauchen wir im Flex nicht */
#nsf_person .nsf_name > div:last-child > br {
    display: none;
}

#nsf_person .nsf_name input[type="checkbox"] {
    margin: 0 6px 0 0;
    accent-color: #003C78;
}


/* =========================================================
   Geburtsdatum + Kalender
   ========================================================= */

#nsf_person .nsf_suche_child_cal > div:nth-child(2) {
    width: 280px;
}

#nsf_person .nsf_suche_child_cal > div:nth-child(3) {
    position: static !important;
    margin-left: 6px !important;
}

#nsf_person .nsf_suche_child_cal > div:nth-child(3) img {
    cursor: pointer;
}


/* =========================================================
   Räumlich eingrenzen
   ========================================================= */

#nsf_suche_raeumlich {
    margin: 2px 0 14px 220px !important;
}

#nsf_suche_raeumlich a {
    color: #D70046;
    font-family: SourceSansPro3;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

#nsf_suche_raeumlich a:hover {
    color: #9E0331;
    text-decoration: underline;
}


/* =========================================================
   Untere Suchoptionen
   ========================================================= */

#nsf_parameter {
    width: 540px;
    margin: 18px auto 0 auto !important;
    padding: 10px 12px;
	color: #003C78;

    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 28px;

    background: #F7F9FC;
    border: 1px solid #E3E8EF;
    border-radius: 5px;

    box-sizing: border-box;
}

#nsf_parameter > div {
    display: flex;
    align-items: center;
}

#nsf_parameter input[type="checkbox"] {
    margin: 0 6px 0 0;
    accent-color: #003C78;
}

/* Anzahl Treffer */
#nsf_parameter input[name="anzahl"] {
    width: 45px !important;
    height: 30px !important;

    margin-right: 6px;
    padding: 4px 6px;

    border: 1px solid #D8DEE9;
    border-radius: 5px;

    box-sizing: border-box;
    text-align: center;
}


/* =========================================================
   Suchen
   ========================================================= */

#nsf_suchen {
    width: 540px;
    margin: 22px auto 10px auto !important;
    text-align: center;
}

/* =========================================================
   Eigentümersuche – Feinschliff
   ========================================================= */


/* ---------------------------------------------------------
   Optionen unter Name / Vorname
   --------------------------------------------------------- */

#nsf_person .nsf_name > div:last-child {
    margin: 0 0 16px 220px !important;
    gap: 24px !important;
}

#nsf_person .nsf_name > div:last-child > div {
    height: 24px;
}

#nsf_person .nsf_name > div:last-child span {
    margin-left: 0 !important;
    font-family: SourceSansPro1;
    font-size: 14px;
}


/* ---------------------------------------------------------
   Checkboxen moderner und passend zum Fresh-Stil
   --------------------------------------------------------- */

#nsf_person input[type="checkbox"],
#nsf_parameter input[type="checkbox"] {
    width: 15px;
    height: 15px;

    margin: 0 7px 0 0;

    cursor: pointer;
    accent-color: #003C78;
}


/* ---------------------------------------------------------
   Gebiet
   --------------------------------------------------------- */

/* etwas mehr Luft nach Person */
#nsf_gebiet > .nsf_titel {
    margin-top: 20px !important;
}

/* räumliche Suche wie eine Zusatzfunktion behandeln */
#nsf_suche_raeumlich {
    margin: 0 0 12px 220px !important;
    height: 24px;
    display: flex;
    align-items: center;
}

#nsf_suche_raeumlich a {
    font-family: SourceSansPro1;
    font-size: 14px;
    color: #D70046;
    text-decoration: none;
}

#nsf_suche_raeumlich a:hover {
    color: #9E0331;
    text-decoration: underline;
}


/* ---------------------------------------------------------
   Geburtsdatum – Kalender sauber an Feld setzen
   --------------------------------------------------------- */

#nsf_person .nsf_suche_child_cal {
    position: relative;
}

#nsf_person .nsf_suche_child_cal > div:nth-child(3) {
    width: 24px !important;
    height: 30px;

    margin-left: 6px !important;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* ---------------------------------------------------------
   Unterer Optionsbereich
   --------------------------------------------------------- */

#nsf_parameter {
    min-height: 52px;
    padding: 10px 18px !important;
    gap: 32px !important;
	
}

/* alte interne Abstände aus dem Original beseitigen */
#nsf_parameter div:first-child div:last-child,
#nsf_parameter div:last-child div:first-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* "Flurstücke anzeigen" */
#nsf_parameter > div:first-child {
    display: flex;
    align-items: center;
}


/* Trefferanzahl */
#nsf_parameter > div:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

#nsf_parameter input[name="anzahl"] {
    width: 46px !important;
    height: 30px !important;

    margin: 0 !important;
    padding: 3px 5px;

    background: #FFFFFF;
    border: 1px solid #D8DEE9;
    border-radius: 5px;

    font-family: SourceSansPro1;
    font-size: 14px;
    color: #003C78;

    text-align: center;
}


/* ---------------------------------------------------------
   Suchen-Button etwas näher an den Optionsbereich
   --------------------------------------------------------- */

#nsf_suchen {
    margin-top: 18px !important;
}

/* =========================================================
   Eigentümersuche – letzte Anpassungen
   ========================================================= */


/* ---------------------------------------------------------
   Abschnittstitel Person / Gebiet breiter
   --------------------------------------------------------- */

/* =========================================================
   Eigentümersuche – äußere Bereiche einheitlich breiter
   ========================================================= */

/* Person / Gebiet */
#nsf_person > .nsf_titel,
#nsf_gebiet > .nsf_titel,

/* Platzhalterhinweis */
#nsf_platzhalterhinweis,

/* Parameterbereich unten */
#nsf_parameter {
    width: 580px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
}

/* ---------------------------------------------------------
   Mehr Abstand zu Tooltip-Buttons
   --------------------------------------------------------- */

/* Tooltip hinter Checkbox-Optionen */
#nsf_person .nsf_name > div:last-child span[data-tooltip],
#nsf_parameter span[data-tooltip] {
    margin-left: 6px !important;
}


/* Tooltip hinter normalen Eingabefeldern */
#nsf_person .form_formular-input span[data-tooltip],
#nsf_gebiet .form_formular-input span[data-tooltip] {
    margin-left: 8px !important;
}

/* =========================================================
   Eigentümersuche – räumliche Karte
   ========================================================= */

#nsf_gebiet .gsl_suche_raeumlich_map {
    display: table !important;
    width: auto !important;
    max-width: none !important;

    position: relative;
    left: 50%;
    transform: translateX(-50%);

    margin: 30px 0 20px 0 !important;
    padding: 20px !important;

    box-sizing: content-box !important;

    background: #FFFFFF;
    border: 1px solid #D8DEE9 !important;
    border-radius: 5px;
    box-shadow: none !important;
}

#nsf_gebiet .gsl_suche_raeumlich_map #map {
    width: max-content !important;
}

#nsf_gebiet .gsl_suche_raeumlich_map embed[name="SVG"] {
    display: block;
    max-width: none !important;
}

/* Räumliche Suche geöffnet:
   gesamten GUI-Container verbreitern */
#gui-table:has(.gsl_suche_raeumlich_map) {
    width: 1800px !important;
}

/* =========================================================
   NUTZERDATEN – FRESH
   ========================================================= */


/* ---------------------------------------------------------
   Haupttitel
   --------------------------------------------------------- */

body:has(#udf-wrapper) #form-titel {
    color: #003C78;

    font-family: SourceSansPro3;
    font-size: 20px;
    font-weight: 600;

    background: transparent;
}



/* ---------------------------------------------------------
   Formular
   --------------------------------------------------------- */

#udf-wrapper {
    color: #003C78;

    font-family: SourceSansPro1;
    font-size: 14px;
}


/* einzelne Formularzeilen */

#udf-wrapper > .form_formular-input {
    min-height: 34px;

    margin-bottom: 5px;

    align-items: center;
}


/* linke Beschriftung */

#udf-wrapper > .form_formular-input > div:first-child {
    color: #003C78;

    font-weight: 600;
}


/* ---------------------------------------------------------
   Eingabefelder
   --------------------------------------------------------- */

#udf-wrapper input[type="text"],
#udf-wrapper input[type="password"],
#udf-wrapper select,
#udf-wrapper textarea {
    background: #FFFFFF;

    color: #003C78;

    border: 1px solid #D8DEE9;
    border-radius: 5px;

    box-sizing: border-box;

    font-family: SourceSansPro1;
    font-size: 14px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}


/* Textfelder */

#udf-wrapper input[type="text"],
#udf-wrapper input[type="password"] {
    height: 30px;

    padding: 3px 7px;
}


/* Select */

#udf-wrapper select {
    min-height: 30px;

    padding: 3px 6px;
}


/* Kommentar */

#udf-wrapper textarea {
    padding: 5px 7px;

    resize: vertical;
}


/* Hover */

#udf-wrapper input[type="text"]:hover,
#udf-wrapper input[type="password"]:hover,
#udf-wrapper select:hover,
#udf-wrapper textarea:hover {
    border-color: #B9D5F2;
}


/* Fokus */

#udf-wrapper input[type="text"]:focus,
#udf-wrapper input[type="password"]:focus,
#udf-wrapper select:focus,
#udf-wrapper textarea:focus {
    border-color: #236DBF;

    box-shadow: 0 0 0 2px rgba(35, 109, 191, .12);
}


/* deaktivierte Felder */

#udf-wrapper input:disabled,
#udf-wrapper select:disabled {
    background: #F3F5F7;

    color: #7B8794;

    border-color: #E3E8EF;
}


/* ---------------------------------------------------------
   Checkboxen
   --------------------------------------------------------- */

#udf-wrapper input[type="checkbox"] {
    accent-color: #003C78;

    cursor: pointer;
}


/* ---------------------------------------------------------
   Links
   --------------------------------------------------------- */

#udf-wrapper a,
.udf_back a {
    color: #D70062;

    text-decoration: none;

    transition: color .2s ease;
}


#udf-wrapper a:hover,
.udf_back a:hover {
    color: #9e0331;

    text-decoration: none;
}


/* ---------------------------------------------------------
   Zurück-Link
   --------------------------------------------------------- */

.udf_back {
    margin-bottom: 8px;

    font-family: SourceSansPro1;
    font-size: 14px;
}


/* =========================================================
   PASSWORT
   ========================================================= */

#udf-wrapper .udf_eingabe-pw {
    color: #003C78;
}


/* Passwortstatus */

#udf-wrapper .udf_eingabe-time {
    margin-bottom: 8px;

    padding: 5px 8px;

    background: #F7F9FC;

    border: 1px solid #E3E8EF;
    border-radius: 5px;
}


/* Passwortfelder */

#udf-wrapper .udf_eingabe-pw-input input {
    width: 200px;

    margin-bottom: 4px;
}


/* Passwort ändern / zurücksetzen */

#udf-wrapper .udf_eingabe-pw-change {
    display: flex;
    align-items: center;

    gap: 12px;

    margin: 7px 0;
}


#udf-wrapper .udf_eingabe-pw-change > div {
    margin: 0 !important;

    color: #D70062;

    cursor: pointer;
}


#udf-wrapper .udf_eingabe-pw-change .fa {
    color: #D70062;

    margin-right: 4px;
}


#udf-wrapper .udf_eingabe-pw-change > div:hover,
#udf-wrapper .udf_eingabe-pw-change > div:hover .fa {
    color: #9e0331;
}


/* Passwort-Werkzeuge */

#udf-wrapper #password_helper .fa {
    color: #003C78;

    opacity: .75;

    transition:
        color .2s ease,
        opacity .2s ease;
}


#udf-wrapper #password_helper .fa:hover {
    color: #D70062;

    opacity: 1;
}


/* =========================================================
   STELLENZUORDNUNG
   ========================================================= */

#udf-wrapper .udf_eingabe-stelle {
    padding: 7px;

    background: #F7F9FC;

    border: 1px solid #D8DEE9;
    border-radius: 5px;
}


#udf-wrapper .udf_eingabe-stelle table {
    border-spacing: 4px;
}


/* beide Listen */

#udf-wrapper .udf_eingabe-stelle select {
    width: 300px;

    min-height: 110px;

    background: #FFFFFF;
}


/* Pfeilbuttons zwischen den Listen */

#udf-wrapper .udf_eingabe-stelle input[type="button"] {
    min-width: 32px;
    height: 28px;

    margin: 2px 0;

    background: #FFFFFF;

    color: #D70062;

    border: 1px solid #D8DEE9;
    border-radius: 4px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}


#udf-wrapper .udf_eingabe-stelle input[type="button"]:hover {
    background: #F3F8FD;

    color: #9e0331;

    border-color: #B9D5F2;
}


/* =========================================================
   AKTIVE LAYER
   ========================================================= */

#udf-wrapper .udf_eingabe-layers {
    padding: 5px 8px;

    background: #F7F9FC;

    border: 1px solid #D8DEE9;
    border-radius: 5px;
}


#udf-wrapper .udf_eingabe-layers table {
    width: 100%;

    border-spacing: 0;
}


#udf-wrapper .udf_eingabe-layers td {
    padding: 4px 6px;

    border-bottom: 1px solid #ECEFF4;
}


#udf-wrapper .udf_eingabe-layers tr:last-child td {
    border-bottom: 0;
}


#udf-wrapper .udf_eingabe-layers tr:hover td {
    background: #F3F8FD;
}


#udf-wrapper .udf_eingabe-layers .fa-times {
    color: #D70062;
}


/* =========================================================
   SPEICHERN
   ========================================================= */

body:has(#udf-wrapper) #udf_submit {
    margin-top: 12px;
    margin-bottom: 30px;
}


body:has(#udf-wrapper) #udf_submit input[type="button"] {
    min-height: 30px;

    padding: 4px 10px;

    background: #FFFFFF;

    color: #D70062;

    border: 1px solid #D8DEE9;
    border-radius: 5px;

    font-family: SourceSansPro1;
    font-size: 14px;

    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}


body:has(#udf-wrapper) #udf_submit input[type="button"]:hover {
    background: #F3F8FD;

    color: #9e0331;

    border-color: #B9D5F2;

    box-shadow: 0 1px 3px rgba(0, 60, 120, .12);
}

/* =========================================================
   ATTRIBUTEDITOR – 1600px Gesamtbreite
   ========================================================= */

/* Layer- und Datentypauswahl */
body:has(#attribut_editor) table[style*="width: 700px"] {
    width: 2400px !important;
    max-width: 2400px !important;
    box-sizing: border-box;
}


/* Navigation: Allgemeine Daten / Klassen / Styles / Attribute ... */
body:has(#attribut_editor) table:has(> tbody > tr > td > .navigation) {
    width: 2400px !important;
    max-width: 2400px !important;
    box-sizing: border-box;
}


/* Navigation selbst */
body:has(#attribut_editor) .navigation {
    width: 100% !important;
    max-width: 100% !important;
}


/* eigentlicher Attributeditor */
#attribut_editor {
    width: 2400px !important;
    max-width: 2400px !important;

    box-sizing: border-box;

    overflow-x: auto;
}