/**
 * advasco.ticket.css
 *
 * advasco ticket system base style.
 *
 */

/* page layout */

html,
body {
	height: 100%;
}

.page-content-push {
	flex: 1 0 auto;
}

#page-footer-push {
	flex-shrink: none;
}

.container-mid-content {
	background-color: white;
}

/* header */

/* hide all but last two */
.breadcrumbs-sm > :not(:nth-last-child(-n+2)) {
	display: none;
}

/* pagination */

.pagination a {
	text-decoration: none;
}

/* ticket list */

#tickets-table tr td {
	vertical-align: middle;
	padding: 0.1rem;
}

.sortable {
	cursor: pointer;
}

.hidden-form {
	margin: 0px;
}

.text-muted-light {
	color: #aeb7bf;
}

/* ticket */

.ticketActionContainer {
	display: none; /* hidden by default */
}

/* links, attachments */
#ticket a {
	font-weight: bold;
}

/* communication */

.communication-internal {
	color: red;
}

.communication-internal .text-decoration-none {
	color: red;
}

.communication-creator {
	color: blue;
}

.no-transition {
	transition: none;
}

/* html editor */

.card-header.note-toolbar {
	background-color: white;
}

.note-editor.note-frame .note-statusbar {
	background-color: white;
}

/* badges */
.label-badge {
	vertical-align: middle
}


/* rating-radios */
.rating-radios.form-check p {
	font-size: 0.8em;
	text-align: center;
}

.rating-radios.form-check input.form-check-input {
	margin-right: 0rem;
	margin-left: 3px;
   	margin-right: 3px;
}

/* end of advasco.ticket.css */

#navCollapsed div.side-menu-col {
	display: none !important;
}

#navCollapsed .navbar-toggler {
	display: block;
}

#navCollapsed .container-head-content  div.container-mid-content {
	display: flex !important;
}

#navCollapsed nav .collapse:not(.show) {
	display: none !important;
}

#navCollapsed .collapse.show .container-mid-content {
	display: flex !important;
}

.readiness-time-pickers > div:nth-child(2) {
	position: relative;
	left: -120px;
}

.deepl-dropdown {
	min-width: 17rem;
}

.action-cell {
	width: 50px;
}

.matrix-table {
	max-width: 300px;
}

.flex-basis-auto {
	flex-basis: auto;
}

.d-contents {
	display: contents;
}

.visibility-info {
	display: flex !important;
	align-items: first baseline;
	font-size: 12px !important;
	color: #4A4E54;
}

.ticketActionContainer .visibility-info {
	margin-bottom: -8px;
}

.visibility-info .visible-info-item {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-left: 3px;
	border: 1px solid black;
}

.traffic-light {
	background: #393939;
	height: 40px;
	width: 20px;
	border-radius: 5px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	margin-right: 10px;
	margin-left: 10px;
}

.traffic-light-item {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #474747;
	margin: 0 auto;
}

.ticketLink {
	position: relative;
}

.amount-unread-replies {
	position: absolute;
	right: -8px;
	border-radius: 50%;
	background: #dc3545;
	width: 17px;
	height: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	top: -5px;
	font-size: 13px;
}

.packing-units {
	background: #eee;
}

.packing-units table {
	background: white;
	outline: 1px solid #959595;
	margin: 0;
}

.packing-units .selection {
	width: 290px;
}

.packing-units .complaint-description {
	width: 320px;
}

.packing-units .attachment-text {
	max-width: 130px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.packing-units .attachment {
	display: flex;
	align-items: center;
}

.packing-units input[type="file"] {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 155px;
	padding: 0;
}

.number-inputs > div {
	display: flex;
	align-items: center;
	gap: 5px;
}

.partsComplaintTicketIdContainer th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.partsComplaintTicketIdContainer td:has(select) {
	width: 300px;
}

.favorite-column i {
	color: rgb(255, 204, 1);
}

.ticket-favorite-control {
	position: fixed;
	right: 20px;
	bottom: 20px;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ticket-favorite-control i {
	position: relative;
	top: -1px;
}

.favorite-container {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	height: 100vh;
	padding: 15px;
	overflow-y: auto;
	min-width: 200px;
}

.favorite-container .subject {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 320px;
}

.favorite {
	display: flex;
	position: relative;
	gap: 8px;
	align-items: center;
	margin-bottom: 5px;
	border-radius: 10px;
	padding: 5px 30px 5px 5px;
}

.delete-favorite-btn {
	position: absolute;
	top: 5px;
	right: 8px;
}

.all-packing-units table :nth-last-child(-n+4){
	width: 240px;
}

.all-packing-units table {
	width: 100% !important;
}

.all-packing-units th {
	white-space: nowrap;
}

.all-packing-units > table thead {
	border-bottom: 1px solid #ccc;
}

.cockpit .legend {
	color: #4f4f4f;
	margin-top: 10px;
	display: flex;
	gap: 10px;
}

.cockpit .legend-group {
	display: inline-flex;
	gap: 5px;
	border: 1px solid #868686;
	border-radius: 6px;
	position: relative;
	flex-wrap: wrap;
	padding: 10px 0 10px 10px;
}

.cockpit .legend-group:nth-child(2){
	max-width: 937px;
}

.cockpit .legend-group:nth-child(1){
	max-width: 592px;
}

.cockpit .legend-group-name {
	position: absolute;
	top: -9px;
	z-index: 1;
	left: 10px;
	background-color: white;
	padding: 0 5px;
	font-size: 12px;
}

.cockpit .legend-name {
	font-size: 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cockpit .legend-entry {
	display: flex;
	gap: 3px;
	align-items: center;
	width: 110px;
}

.cockpit .legend-square {
	width: 15px;
	height: 15px;
	border: 1px solid;
	min-width: 15px;
}

.cockpit .custom-control:has(#average-reaction-time-switch) {
	position: absolute;
	left: 10px;
}

.lh-1 {
	line-height: 1 !important;
}

.desired-corrective-action-note {
	font-size: 12px;
}

.loading-wrapper {
	background: rgba(0, 0, 0, 0.5);
	height: 100%;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	display: flex;
	align-items: center;
	z-index: 9999;
}

.loading-wrapper i {
	margin: 0 auto;
	color: #ffffff;
	font-size: 72px;
}

.has-priority {
	background: #ff6000 !important;
	color: #fff;
}

.dataTable .has-priority i, .dataTable .has-priority button {
	color: white;
	border-color: white;
}

.has-priority .text-muted, .has-priority .text-muted-light {
	color: #fff !important;
}

.process-ticket-row th:first-child {
	position: relative;
}

.alternative-row th > i {
	color: black;
}

.uptime-checkbox {
	top: 2px;
}

.dispo-enquiry {
	max-width: 275px;
	white-space: normal;
}

.replacement {

}

.replacement small {
	position: absolute;
	top: -8px;
	color: #7b7b7b;
}

.process-lock-message {
	background: white;
	padding: 5px;
	border-radius: 5px;
	box-shadow: 2px 2px 2px #4f4f4f;
	margin-top: 5px;
	margin-bottom: 5px;
}

.ticket-read-control {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.mark-as-unread-indicator {
	top: 25px;
	right: 0;
}
