table.table tr td,

table.table tr td .btn

{

	font-size: 15px !important;

	padding-top: 1px !important;

	padding-bottom: 1px !important;

}



.custom-control-label

{

	font-weight: normal;

}



.cursor-pointer

{

	cursor: pointer !important;

}



.page a

{

	padding: 7px 10px !important

}



.page

{

	padding:  5px;

}



.swal-text

{

	text-align:center !important;

	font-weight: normal;

	font-size: 20px;

}



.sidebar-collapse .btn-side .btn-sidebar-text

{

	display: none;

}



label.control-label

{

	width: 100%;

	white-space: nowrap;

}



[disabled],

[readonly],

.select2-container--disabled .select2-selection--single 

{

	padding-left:0px !important;

	padding-right:0px !important;

	border-color: transparent !important;

	background-color:transparent !important;

	pointer-events: none;

}



.select2-container .select2-results__option.optInvisible {

    display: none;

}



.processes-list-scroll {
	overflow-x: auto;
	overflow-y: visible;
	width: 100%;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
}

table.processes-list-table {
	width: auto !important;
	max-width: none !important;
	table-layout: fixed;
	margin-bottom: 0;
	--list-font-size: 11px;
	--list-scale: 1;
	font-size: var(--list-font-size);
}

table.processes-list-table.processes-list-table--expanded {
	width: 100% !important;
}

table.table.processes-list-table tr th,
table.table.processes-list-table tr td,
table.table.processes-list-table tr td a,
table.table.processes-list-table tr td .badge {
	font-size: 1em !important;
	line-height: 1.3;
}

table.table.processes-list-table tr th {
	white-space: nowrap;
	font-weight: 600;
}

table.table.processes-list-table tr td .btn {
	font-size: 1em !important;
	padding: 0.1em 0.45em !important;
}

table.processes-list-table th,
table.processes-list-table td {
	vertical-align: middle !important;
}

table.processes-list-table td.list-col-clip {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: help;
	max-width: 0;
}

table.processes-list-table td.list-col-clip .list-col-clip-text {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

table.processes-list-table td.list-col-process,
table.processes-list-table th.list-col-process {
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
	overflow: visible;
}

.list-col-w-item { width: calc(6.55em * var(--list-scale)); min-width: calc(6.55em * var(--list-scale)); }
.list-col-w-item-part { width: calc(3.27em * var(--list-scale)); min-width: calc(3.27em * var(--list-scale)); }
.list-col-w-id { width: calc(5.3em * var(--list-scale)); min-width: calc(5.3em * var(--list-scale)); }
.list-col-w-deadline { width: calc(8.9em * var(--list-scale)); min-width: calc(8.9em * var(--list-scale)); }
.list-col-w-process { width: calc(14.5em * var(--list-scale)); min-width: calc(14.5em * var(--list-scale)); }
.list-col-w-text { width: calc(12.7em * var(--list-scale)); min-width: calc(12.7em * var(--list-scale)); }
.list-col-w-service { width: calc(13.6em * var(--list-scale)); min-width: calc(13.6em * var(--list-scale)); }
.list-col-w-timbrado { width: calc(8.6em * var(--list-scale)); min-width: calc(8.6em * var(--list-scale)); }
.list-col-w-perito { width: calc(10em * var(--list-scale)); min-width: calc(10em * var(--list-scale)); }
.list-col-w-estimado { width: calc(7.3em * var(--list-scale)); min-width: calc(7.3em * var(--list-scale)); }
.list-col-w-status { width: calc(7.7em * var(--list-scale)); min-width: calc(7.7em * var(--list-scale)); }
.list-col-w-observacao { width: calc(21.8em * var(--list-scale)); min-width: calc(21.8em * var(--list-scale)); }
.list-col-w-trab { width: calc(10em * var(--list-scale)); min-width: calc(10em * var(--list-scale)); text-align: center; }
.list-col-w-situacao { width: calc(13.2em * var(--list-scale)); min-width: calc(13.2em * var(--list-scale)); }
.list-col-w-actions { width: calc(9.5em * var(--list-scale)); min-width: calc(9.5em * var(--list-scale)); white-space: nowrap; }

.list-col-w-fund-actions {
	width: calc(2.9em * var(--list-scale));
	min-width: calc(2.9em * var(--list-scale));
	max-width: calc(2.9em * var(--list-scale));
	padding-left: 0.25em !important;
	padding-right: 0.25em !important;
}
.list-col-w-fund-title { width: calc(14em * var(--list-scale)); min-width: calc(14em * var(--list-scale)); }
.list-col-w-fund-topic { width: calc(12em * var(--list-scale)); min-width: calc(12em * var(--list-scale)); }
.list-col-w-fund-tese { width: calc(18em * var(--list-scale)); min-width: calc(18em * var(--list-scale)); }
.list-col-w-fund-date { width: calc(10.5em * var(--list-scale)); min-width: calc(10.5em * var(--list-scale)); white-space: nowrap; }

table.processes-list-table.fundamentations-list-table {
	width: 100% !important;
}

table.processes-list-table.fundamentations-list-table th.list-col-w-fund-desc,
table.processes-list-table.fundamentations-list-table td.list-col-w-fund-desc {
	width: auto;
	min-width: calc(47em * var(--list-scale));
}

table.processes-list-table.fundamentations-list-table td.list-col-w-fund-desc.list-col-clip-lines {
	max-width: none;
}

.fundamentations-selected-wrap {
	margin-bottom: 13px;
}

.fundamentations-selected {
	min-height: 2.25rem;
	max-height: 120px;
	overflow-y: auto;
	background-color: #fff;
	border: 1px solid #ced4da;
	border-radius: 0.2rem;
	padding: 0.35rem 0.5rem;
	scrollbar-width: thin;
}

.fundamentations-selected-item {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	justify-content: space-between;
	gap: 0.35rem;
	padding: 0.2rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.fundamentations-selected-item:last-child {
	border-bottom: 0;
}

.fundamentations-selected-title {
	flex: 1;
	min-width: 0;
	font-size: 0.875rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fundamentations-selected-preview,
.fundamentations-selected-excerpt,
.fundamentations-selected-description,
.fundamentations-selected-title .decisao-selected-preview {
	display: none !important;
}

.fundamentations-selected-actions {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	flex-shrink: 0;
}

.parecer-drag-handle {
	cursor: grab;
	flex-shrink: 0;
	line-height: 1;
	min-width: 1rem;
	touch-action: none;
	user-select: none;
}

.parecer-drag-handle:active {
	cursor: grabbing;
}

.parecer-sortable-dragging {
	opacity: 0.55;
	background-color: #f8f9fa;
}

.decisoes-selected-wrap {
	margin-bottom: 13px;
}

.decisoes-selected-list {
	min-height: 0;
}

.decisoes-selected-list .text-muted.small:only-child {
	display: block;
	padding: 0.15rem 0;
}

.decisoes-despacho-section {
	margin-top: 1rem;
}

.decisao-selected-item {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.35rem;
}

.decisao-selected-item:last-child {
	margin-bottom: 0;
}

.decisao-selected-item .decisao-selected-view {
	flex: 1;
	min-width: 0;
	white-space: normal;
	word-break: break-word;
}

.decisao-view-texto {
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.fundamentations-pick-head,
.fundamentations-pick-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	gap: 0.5rem;
	align-items: center;
	padding-left: 1rem;
	padding-right: 1rem;
}

.fundamentations-pick-head {
	padding-top: 0.5rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid #dee2e6;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #6c757d;
	background-color: #f8f9fa;
}

.fundamentations-pick-list {
	max-height: 320px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.fundamentations-pick-row {
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid #eee;
}

.fundamentations-pick-row:last-child {
	border-bottom: 0;
}

.fundamentations-pick-col-title,
.fundamentations-pick-col-tese {
	min-width: 0;
	font-size: 0.875rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fundamentations-pick-col-title {
	font-weight: 500;
}

.fundamentations-pick-actions {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	flex-shrink: 0;
}

.fundamentations-pick-add,
.fundamentations-pick-view {
	line-height: 1;
	font-size: 1rem;
}

.fundamentations-pick-add.is-selected {
	color: #28a745 !important;
}

#modal-fundamentations-pick .modal-dialog {
	max-width: 52rem;
}

.fundamentations-picker-search-wrap .form-row {
	margin-left: 0;
	margin-right: 0;
}

.fundamentations-picker-search-wrap .col {
	min-width: 0;
}

.fundamentations-picker-search-field {
	width: 7.5rem;
	max-width: 100%;
}

.fundamentations-list-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.2rem;
	position: relative;
	z-index: 2;
}

table.table.processes-list-table.fundamentations-list-table tr td .fundamentations-list-actions .btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.1em !important;
	height: 2.1em !important;
	min-width: 2.1em !important;
	max-width: 2.1em !important;
	padding: 0 !important;
	line-height: 1 !important;
	font-size: 1.05em !important;
}

.fund-view-tese {
	white-space: pre-wrap;
	word-break: break-word;
}

.fundamentation-view-description {
	max-height: 50vh;
	overflow: auto;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	padding: 1rem;
	background: #fff;
	font-size: 12pt;
	line-height: 1.5;
	text-align: justify;
}

.fundamentation-view-description img {
	max-width: 100%;
	height: auto;
}

#modal-fundamentation-view .modal-dialog {
	max-width: 52rem;
}

.fund-view-meta [data-field] {
	word-break: break-word;
}

#modal-fundamentation-topics .modal-dialog {
	max-width: 28rem;
}

.fundamentation-topics-table-wrap {
	--fund-topic-row-height: 2.125rem;
	max-height: calc(var(--fund-topic-row-height) * 6);
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid #dee2e6;
	border-radius: 0.2rem;
	background: #fff;
}

.fundamentation-topics-table tbody tr {
	cursor: pointer;
	height: var(--fund-topic-row-height);
}

.fundamentation-topics-table {
	font-size: 0.8125rem;
}

.fundamentation-topics-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: #f8f9fa;
	border-bottom: 1px solid #dee2e6;
	font-weight: 600;
	padding: 0.35rem 0.5rem;
	height: var(--fund-topic-row-height);
}

.fundamentation-topics-table tbody td {
	padding: 0.35rem 0.5rem;
	vertical-align: middle;
}

.fundamentation-topics-table .btn-xs {
	padding: 0.1rem 0.35rem;
	font-size: 0.75rem;
	line-height: 1.2;
}

.fundamentation-topics-table .fundamentation-topic-name {
	word-break: break-word;
}

.fundamentation-topics-table .fundamentation-topics-col-action,
.fundamentation-topics-table td.text-right {
	width: 2.5rem;
	white-space: nowrap;
}

table.processes-list-table td.list-col-clip-lines {
	white-space: normal;
	cursor: help;
	max-width: 0;
	overflow: hidden;
	direction: ltr;
	unicode-bidi: isolate;
}

table.processes-list-table td.list-col-clip-lines .list-col-clip-text {
	display: block;
	overflow: hidden;
	white-space: pre-wrap;
	word-break: break-word;
	line-height: 1.3;
	max-height: calc(1.3em * 3);
	direction: ltr;
	unicode-bidi: isolate;
}

.list-cell-floating-tip,
.observacao-floating-tip {
	display: none;
	position: fixed;
	z-index: 1080;
	max-width: min(420px, 90vw);
	max-height: 280px;
	overflow-y: auto;
	padding: 0.5rem 0.75rem;
	background: #343a40;
	color: #fff;
	border-radius: 0.25rem;
	text-align: left;
	white-space: pre-wrap;
	word-break: break-word;
	font-size: 0.8125rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.list-cell-floating-tip.is-visible,
.observacao-floating-tip.is-visible {
	display: block;
	pointer-events: auto;
}


