/* [bs] - End of new css, marker for easy to find it*/

#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;
}

/* Sets width of delete column in t:grid to matching width of delete icon. Therefore maximum amount of space is used for content */
th[data-grid-column="last"][data-grid-property="delete"] {
	width: 44px;
}

#quarantinelistviewZone .dt-scrolling-container {
	height: auto;
}

#floatingFileListZone .dt-scrolling-container {
	height: auto;
}

div[data-name="nscale-tabs"] .tab-content {
	height: calc(100% - 26px);
}

/* 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/z7003aa2b/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;
}

@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;
}
/*-------------------------- End Task History Styling -----------------------------*/

.egov-table-no-head thead {
	display: none;
}

.egov-table-first-col-30 tbody tr td {
	width: 33%;
}

.egov-delete-warn-icon icon {
	padding: 0 10px 0 0;
}
