#govBreadcrumbIcon img {
	height: 100%;
}

/* Fixes the dropdown width of operators in the extended searchmask and will be fixed by smart layouts soon */
ul[id^="dropdown-items-gov"] {
	width: 200px;
}

.nw-layout-grouping-container-multiple-columns-container::after {
	display:none;
}

/* Fixes blurry text in dialog textareas, if a scrollbar is displayed */
.nw-action-dialog-body textarea, .nw-action-dialog-body textarea:focus, .nw-action-dialog-body textarea:hover {
	box-shadow: rgb(0 0 0 / 0%) 0px 1px inset;
}

/* ------------------------- t:grid column widths ------------------------------------- */
/* Sets width of generic columns in t:grid so that content is displayed readably */
[data-grid-property="delete"] {
	width: 5%;
}

/* Sets width of column in RestoreToNewParent t:grid so that content is displayed readably */
[data-grid-property="restoreObjectclassName"],
[data-grid-property="restoreStatus"] {
	width: 10%;
}
[data-grid-property="restoreDisplayname"],
[data-grid-property="restoreTargetResourceId"] {
	width: 40%;
}

/* Sets width of column in GovPrincipalAccessmask t:grid so that content is displayed readably */
[data-grid-property="accessPrincipalName"],
[data-grid-property="accessPrincipalId"] {
	width: 50%;
}
[data-grid-property="accessRoleDisplayname"],
[data-grid-property="accessRoleName"] {
	width: 25%;
}
[data-grid-property="accessPrincipalId"] {
	min-width: 350px;
}
[data-grid-property="accessRoleName"] {
	min-width: 200px;
}
[data-grid-property="accessNote"] {
	width: 20%;
}

/* Sets width of column in Referencemask t:grid so that content is displayed readably */
[data-grid-property="refType"] {
	width: 20%;
	min-width: 250px;
}
[data-grid-property="resourceId"] {
	width: 75%;
	min-width: 310px;
}

/* Sets width of column in BrowseFolder t:grid so that content is displayed readably */
[data-grid-property="propName"] {
	width: 60%;
}
[data-grid-property="sortOrder"] {
	width: 35%;
}

/* Sets width of column in Delete- / DeleteIrreversible- / DeleteToAdmin-, MoveToPersonalWasteBasketDialog t:grid so that content is displayed readably */
[data-grid-property="deleteDisplayname"] {
	width: 37%;
}
[data-grid-property="deleteComment"] {
	width: 37%;
}
[data-grid-property="deleteInfo"] {
	width: 26%;
}

/* Sets special t:grid-Layout for MoveToPersonalWasteBasketDialog */
.egov-table-no-head thead {
  display: none;
}

.egov-delete-warn-icon icon {
  padding: 0 10px 0 0;
}

/* Sets width of column in VeraktenDocumentDialog t:grid so that content is displayed readably */
[data-grid-property="veraktenDisplayname"] {
	width: 40%;
}
[data-grid-property="veraktenReceiveDate"] {
	width: 30%;
}
[data-grid-property="veraktenSubject"] {
	width: 30%;
}

/* Sets width of column in FachProtocols t:grid so that content is displayed readably */
[data-grid-property="protocolObjectclass"] {
	width: 30%;
}
[data-grid-property="activeProtocols"] {
	width: 65%;
}

/* Sets width of column in SgtAdditionalProps t:grid so that content is displayed readably */
[data-grid-property="sgtObjectclass"] {
	width: 30%;
}
[data-grid-property="sgtProps"] {
	width: 65%;
}

#quarantinelistviewZone .dt-scrolling-container {
	height: auto;
}

#floatingFileListZone .dt-scrolling-container {
	height: auto;
}

#exportListzone .dt-scrolling-container {
	height: auto;
}

#sortListzone .dt-scrolling-container {
	height: auto;
}

nwc-tabs .tab-panel {
	height: calc(100% - 52px);
}

/* Fixes icon width of the info icons used in the WorkflowStepData.tml */
.form-horizontal .form-group.with-info:not(.checkboxDiv):not(.checkbox) > nscale-icon,
.form-group.with-info > nscale-icon {
	width: 20px;
	cursor: help;
	border-radius: 20px;
	outline-offset: 4px;
}

/* Prozesskorb Header */
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar > .input-prepend,
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar > div:nth-child(4) > button:nth-child(2),
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar > div:nth-child(4) > label,
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar > div:nth-child(3) > button:nth-child(2),
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar > div:nth-child(1) > button:nth-child(3){
	display: none
}
li[data-snippet-id$="customviewbasket"] .nw-snippettoolbar .btn-group{
	margin-right: 0;
	border: none;
}

li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > .input-prepend,
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > div:nth-child(3),
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > div:nth-child(5) > button:nth-child(2),
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > div:nth-child(5) > label,
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > div:nth-child(4) > button:nth-child(2),
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar > div:nth-child(1) > button:nth-child(3){
	display: none
}
li[data-snippet-id$="processhandling___customvb"] .nw-snippettoolbar .btn-group{
	margin-right: 0;
	border: none;
}
/**/
.op-5{
	opacity: var(--contrast-number-1, .5)!important;
}
/**/
/* ------------------------- Dropdown Button ------------------------------------- */
.dropbtn {
	background-color: var(--base);
	color: var(--base-40);
	padding: 16px;
	font-size: 16px;
	border: none;
}

.nscale-icon-dots-menu-mask {
	-webkit-mask-image: url("/nscale_web/tap5assets/meta/snippets/ece4dddf/egov/dots_menu.svg");
}

/* The container <div> - needed to position the dropdown content */
.gov-fast-dropdown {
	position: relative;
	display: flex;
	margin-left: 4px;
}
.gov-fast-dropdown > button{
	display: flex;
	align-items: center;
	margin: 5px 0 5px 0px;
	background-color: var(--base);
	padding: var(--button-padding)!important;
	border-radius: 4px;
	color: var(--base-40);
	font-size: 14px;
}
.gov-fast-dropdown > button:hover,
.gov-fast-dropdown > button:focus,
.gov-fast-dropdown > button:focus-within{
	background-color: var(--base-highlight);
	color: var(--primary-2);
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display: none;
	position: absolute;
	bottom: 46px;
	background-color: var(--base);
	border-radius: 8px;
	min-width: 160px;
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	z-index: 9;
	max-height: 290px;
	overflow: auto;
}

/* Links inside the dropdown */
.dropdown-content a {
	color: var(--base-40);
	text-decoration: none;
	display: block;
}
.dropdown-content a > *{
	padding: 12px 16px;
}

.dropdown-content a label{
	white-space: nowrap;
}
.dropdown-content > a > input,
.dropdown-content > a > button{
	margin: 0;
	border: 0;
	width: 100%;
	color: unset;
	background-color: transparent;
	font-weight: unset;
	text-align: left;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover, .dropdown-content a button:hover{
	background-color: var(--base-highlight);
}
.dropdown-content a:hover *,
.dropdown-content a:hover{
	cursor: pointer;
}

/* Show the dropdown menu on hover */
.gov-fast-dropdown:hover .dropdown-content,
.gov-fast-dropdown:focus .dropdown-content,
.gov-fast-dropdown:focus-within .dropdown-content{
	display: block;
}


/* ------------------------- End Dropdown Button --------------------------------- */
/*-------------------------- Start Task History Styling ---------------------------*/
.task-history{
	container-type: inline-size;
	overflow: auto;
	border-radius: 8px;
}
.task-history-container {
	grid-gap: 20px 50px;
}
.egov-history-container{
	flex-shrink: 0;
}

.nw-snippet-panel-span:has(.task-history){
	container-type: inline-size;
}

.egov-card-details{
	padding: 12px;
	transition: .4s;
	max-height: 500px;
}
.egov-card-details-document{
	background-color: var(--base-15);
	border-radius: 8px;
}
.card-details-hidden{
	padding: 0 12px;
	max-height: 0;
	overflow: hidden;
}
@container (max-width: 350px) {
	.egov-card-date {
		display: block!important;
	}
	.nw-taskenvironment-row-one{
		margin-bottom: 30px;
		position: relative;
	}
	.egov-card-date{
		position: absolute;
		bottom: -20px;
		right: 0;
	}
	.nw-taskenvironment-card-timeline,
	.task-history-d-grid > .op-5{
		display: none!important;
	}
	.task-history-d-grid{
		grid-template-columns: 1fr!important;
	}
}

@container (min-width: 700px) {
	.task-history-container {
		flex-direction: row-reverse!important;
		grid-gap: 40px;
		padding: 0 10px;
	}
	.task-history-container>.egov-history-container{
		flex-shrink: 0;
	}
	.task-history-container>div:not(.egov-history-container){
		flex-grow: 1;
	}
}

.task-history-infopanel{
	border-radius: 8px;
	background-color: var(--base-10);
}
.task-history-infopanel-grid{
	display: grid;
	padding: 12px;
	grid-template-columns: auto 1fr;
	width: auto;
	grid-gap: 10px 8px;
	position: relative;
}


.task-history-d-grid{
	display: grid;
	grid-template-columns: auto auto 1fr;
	margin: 0 auto;
}

.task-history .nscale-card{
	background-color: var(--base-10);
	border: var(--contrast-number-1, 0) solid var(--contrast-base-40)
}

.task-history .nscale-card-content {
	background-color: var(--contrast-base-10, var(--dark-base-20, var(--base-10)));
}
.task-history .nscale-card > div.p-a-3:not(.nscale-card-content){
	border-top: var(--contrast-number-0, 1px) solid var(--base-20);
}
.task-history-documents .nscale-card-content{
	background-color: var(--base-10);
	border: var(--contrast-number-1, 0) solid var(--contrast-base-40);
	border-radius: 8px;
}
.task-history-documents .nw-snippet-disabled-text{
	min-height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--contrast-base-40,var(--base-20));
}

.task-history .nw-taskenvironment-card-timeline{
	margin: 0 20px;
	background-color: var(--contrast-base-40, var(--base-20));
	min-width: 2px;
	position: relative;
	display: flex;
}
.task-history .nw-taskenvironment-card-line{
	position: absolute;
	width: 10px;
	height: 10px;
	border-radius: 30px;
	background-color: var(--base-25, var(--base-40));
	top: calc(50% - 5px);
}
.task-history .task-history-d-grid > div:nth-child(2):before{
	content: "";
	height: 50%;
	width: 2px;
	background-color: var(--base);
	display: block;
}
.task-history .task-history-d-grid > div:nth-last-child(2):before{
	content: "";
	height: 50%;
	width: 2px;
	background-color: var(--base);
	position: absolute;
	top: 50%;
}
.egov-card-date{
	display: none;
}

.uploading-document {
	background-image: var(--loading-icon);
	background-repeat: no-repeat;
	background-position: 98%;
}
.gov-task-history-comment p{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;

	-webkit-box-orient: vertical;
	margin-bottom: 0;
}
.nscale-card:has(ul.egov-card-details.card-details-hidden) .gov-task-history-comment p{
	-webkit-line-clamp: 3;
}
/*-------------------------- End Task History Styling -----------------------------*/

/*-------------------------- Ladeanimation für Dokumentenanlegen -----------------------------*/

.egov-upload-document-animation {
	background-image: url("/nscale_web/tap5assets/meta/snippets/cdc3ab6a/egov/loading.svg");
	background-size: cover;
	width: 20px;
	height: 20px;
	margin-right: 5px;
	animation: spin-animation 2s linear infinite;
}

@keyframes spin-animation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

/*-------------------------- Ladeanimation für Dokumentenanlegen -----------------------------*/

/*-------------------------- Buttons immer sichtbar beim Dokumentenanlegen -----------------------------*/
.nw-snippet-containersnippet:has(.egov-create-document-container) > div,
.egov-create-document-container,
.egov-create-document-container > div,
.egov-create-document-container > div > div:nth-child(2),
.egov-create-document-container > div > div:nth-child(2) > .smartlayout-container{
	height: 100%;
	display: flex;
	flex-direction: column;
}

.egov-create-document-container form.nw-content-footer-container > .nw-sl-container{
	height: 0;
	flex-grow: 1;
	margin-bottom: 46px;
}

.egov-create-document-container form.nw-content-footer-container > .nsl-default-buttons-container{
	position: absolute !important;
	width: 100% !important;
	left: 0 !important;
	bottom: 0 !important;
	background: transparent !important;
}
/*-------------------------- Buttons immer sichtbar beim Dokumentenanlegen -----------------------------*/

.collapsible-height-reduction {
	height: calc(100% - 15px) !important;
}

/*nscale.listview setzt die Höhe der Tabelle auf 1px, deshalb überschreiben wir die Höhe */
/* ToDo entferne die css Klasse, wenn das Web-Team eine Lösung dafür anbietet */
.override-scrolling-container-height div div div.dt-scrolling-container {
	height: auto !important;
}