/**
 * @license Copyright 2021 Lahuen Health SPA. All Rights Reserved.
 */
.l-root__grid {
	position: relative;
}

.l-root__grid .c-quick-table {
	height: 48rem;
	overflow-y: auto;
	overflow-x: hidden;
}

.l-root__grid .c-quick-table__table {
	border-collapse: separate;
	border-spacing: 0 0.5rem;
	table-layout: fixed;
	width: 100%;
}

.l-root__grid .c-table-header__row {
	background-color: var(--primary-f-light);
	color: var(--primary-d-normal);
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
	text-align: left;
}

.l-root__grid .c-table-header__cell {
	padding: 1rem;
	position: relative;
	text-align: left;
}

.l-root__grid :is(.c-table-header__cell, .c-table-body__cell):first-child {
	border-radius: 0.5rem 0 0 0.5rem;
}

.l-root__grid :is(.c-table-header__cell, .c-table-body__cell):last-child {
	border-radius: 0 0.5rem 0.5rem 0;
}

.l-root__grid .c-table-body {
	color: var(--gray-a);
	font: 400 1.2rem / normal 'Open Sans', sans-serif;
}

.l-root__grid .c-table-cell p {
	margin: 0;
}

.l-root__grid .c-table-body__row {
	background-color: #fff;
}

.l-root__grid .c-table-body__row:hover {
	border-radius: 0.5rem;
	box-shadow: inset 0 0 0.2rem var(--primary-a-normal);
	transition: box-shadow 0.3s ease;
}

.l-root__grid .c-table-body__cell {
	border-right: 0.1rem solid #dddde4;
	padding: 0.5rem 1rem;
	vertical-align: top;
	text-align: left;
}

.l-root__grid .c-table-body__cell:last-child {
	border-right: none;
}

.l-root__grid .c-table-body__cell--creation-date {
	text-align: center;
}

.l-root__grid .c-table-body__cell--state-date {
	text-align: center;
}

.l-root__grid .c-table-body__cell--diagnosis,
.l-root__grid .c-table-body__cell--nombre,
.l-root__grid .c-table-body__cell--name,
.l-root__grid .c-table-body__cell--origin,
.l-root__grid .c-table-body__cell--requester,
.l-root__grid .c-table-body__cell--location {
	position: relative;
}

.l-root__grid .c-table-cell__diagnosis-description {
	margin-right: 3rem;
}

.l-root__grid .c-table-body__cell--diagnosis .isGes {
	background-color: rgba(94, 136, 246, 0.3);
	border-radius: 0.5rem;
	margin-left: auto;
	padding: 0.3rem;
}

.l-root__grid .c-table-body__cell--diagnosis .c-table-cell__diagnosis-ges {
	background-color: #fff;
	border: 0.1rem solid #c9c9d5;
	border-radius: 0.3rem;
	display: flex;
	justify-content: center;
	position: absolute;
	right: 1rem;
	top: 0.7rem;
	width: 3rem;
}

.l-root__grid :is(.c-table-body__cell--creation-date, .c-table-body__cell--state-date, .c-table-body__cell--state) {
	text-align: center;
}

.l-root__grid .c-table-body__cell--state-pill .c-table-cell__content {
	background-color: lightblue;
	border-radius: 0.5rem;
	font-size: 1rem;
	padding: 0.2rem 0.5rem;
}

.l-root__grid :is(.c-table-body__cell--state-1, .c-table-body__cell--state-3) .c-table-cell__content {
	background-color: rgba(251, 219, 179, 0.5);
}

.l-root__grid :is(.c-table-body__cell--state-4, .c-table-body__cell--state-6) .c-table-cell__content {
	background-color: rgba(253, 198, 185, 0.5);
}

.l-root__grid :is(.c-table-body__cell--state-5, .c-table-body__cell--state-7) .c-table-cell__content {
	background-color: rgba(198, 222, 195, 0.5);
}

.l-root__grid .c-table-body__cell--state-2 .c-table-cell__content {
	background-color: rgba(209, 202, 295, 0.5);
}

.l-root__grid .c-table-body__cell--actions {
	position: relative;
}

.l-root__grid .c-table-body__cell--actions .c-table-cell__content,
.l-root__grid .c-table-body__cell--diagnosis .c-table-cell__content {
	overflow: visible;
}

.l-root__grid .c-table-actionbar {
	display: flex;
	align-items: center;
}

.l-root__grid .c-table-actionbar__all {
	display: flex;
	align-items: center;
	flex: 1;
}

.l-root__grid .c-table-actionbar__exposed {
	display: flex;
	width: 100%;
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action {
	background: center/contain no-repeat;
	background-origin: content-box;
	border-radius: 0.5rem;
	padding: 0.3rem;
	height: 2.5rem;
	width: 2.5rem;
	margin-right: 0.3rem;
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action:hover {
	background-color: #f1f1f6;
	transition: background-color 0.3s ease;
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action .c-label {
	display: none;
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action .c-label.c-action__overlay {
	display: flex;
	justify-content: center;
	align-items: center;
	font: 600 1rem 'Open Sans', Sans-Serif;
	padding: 0rem 0.3rem;
	color: #fff;
	position: absolute;
	right: -0.2rem;
	top: 0;
	border-radius: 1rem;
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action .c-label.c-action__overlay--default {
	background-color: var(--primary-c-normal);
}

.l-root__grid .c-table-actionbar__exposed .c-table-actionbar__action .c-label.c-action__overlay--notification {
	background-color: var(--primary-a-normal);
}

.l-root__grid .c-table-actionbar__hidden {
	background-color: #fff;
	border-radius: 0.5rem;
	box-shadow: 0.2rem 0.2rem 0.5rem rgb(0 0 0 / 40%);
	display: flex;
	flex-direction: column;
	position: absolute;
	right: 0;
	top: 2.5rem;
	width: 14rem;
	z-index: 1;
}

.l-root__grid .c-table-actionbar__hidden .c-table-actionbar__action {
	background: none;
	padding: 0.5rem 1rem;
	text-align: left;
}

.l-root__grid .c-table-actionbar__hidden .c-table-actionbar__action:not(:last-child) {
	border-bottom: 0.1rem solid #e3e4ed;
}

.l-root__grid .c-table-actionbar__hidden .c-table-actionbar__action:hover {
	background-color: #e3e4ed;
	transition: background-color 0.3s ease;
}

.l-root__grid .c-table-actionbar__sandwich {
	background: url('/assets/skins/lahuen/worklist/images/icon_more_actions.svg') center/contain no-repeat;
	background-origin: content-box;
	border-radius: 0.5rem;
	margin-left: auto;
	padding: 0.3rem;
	height: 2.5rem;
	width: 2.5rem;
}

.l-root__grid .c-table-actionbar__sandwich:hover {
	background-color: #f1f1f6;
	transition: background-color 0.3s ease;
}

.l-root__grid .c-table-actionbar__sandwich .c-label {
	display: none;
}

.l-root__grid .c-quick-table__empty {
	align-items: center;
	background: #fff url('/assets/skins/lahuen/worklist/images/bg_empty_grid.svg') center 25%/18rem no-repeat;
	display: flex;
	height: 43rem;
	justify-content: center;
}

.l-root__grid .c-quick-table__empty .c-empty__body {
	margin-top: 10%;
	text-align: center;
}

.l-root__grid .c-empty__body .c-empty__title {
	color: var(--primary-d-normal);
	font: 600 1.5rem/1.5rem 'Lato', sans-serif;
	margin-bottom: 1rem;
}

.l-root__grid .c-empty__body .c-empty__subtitle {
	color: var(--primary-d-normal);
	font: 400 1.2rem/1.2rem 'Open Sans', sans-serif;
}

/* Orden de tabla */
.l-root__grid .c-quick-table__sortable .c-table-cell__content {
	cursor: pointer;
}

.l-root__grid .c-quick-table__sortable .c-table-cell__content:hover:before {
	background: #d2d3de url(/assets/skins/lahuen/base/images/icon_sort.svg) center/.8rem no-repeat;
	border-radius: 50%;
	content: '';
	cursor: pointer;
	height: 1.4rem;
	position: absolute;
	right: 0;
	transform: rotate(180deg);
	width: 1.4rem;
}

.l-root__grid .c-quick-table__sorted .c-table-cell__content:before {
	border-radius: 50%;
	content: '';
	cursor: pointer;
	height: 1.4rem;
	position: absolute;
	right: 0;
	top: 31%;
	width: 1.4rem;
}

.l-root__grid .c-quick-table__sorted.c-quick-table__sorted--asc .c-table-cell__content:before {
	background: url(/assets/skins/lahuen/base/images/icon_sort.svg) center/.8rem no-repeat;
	transform: rotate(180deg);
}

.l-root__grid
	.c-quick-table__sorted.c-quick-table__sorted.c-quick-table__sorted--asc
	.c-table-cell__content:hover:before {
	background: #d2d3de url(/assets/skins/lahuen/base/images/icon_sort.svg) center/.8rem no-repeat;
	transform: rotate(180deg);
}

.l-root__grid
	.c-quick-table__sorted.c-quick-table__sorted.c-quick-table__sorted--desc
	.c-table-cell__content:hover:before {
	background: #d2d3de url(/assets/skins/lahuen/base/images/icon_sort.svg) center/.8rem no-repeat;
	transform: none;
}

.l-root__grid .c-quick-table__sorted.c-quick-table__sorted--desc .c-table-cell__content:before {
	background: url(/assets/skins/lahuen/base/images/icon_sort.svg) center/.8rem no-repeat;
}

/* Spinner de tabla ocupada */
.l-root__grid .c-quick-table__spinner {
	position: absolute;
	width: 100%;
	top: 4.5rem;
	align-items: center;
	background-color: #ffffffb0;
	border-radius: 0.5rem;
	display: flex;
	height: 44rem;
	justify-content: center;
}

.c-table-body__cell--state-point .c-table-cell__content {
	display: flex;
	font: 600 1.2rem/1.2rem 'Open Sans', sans-serif;
}

.l-root__grid .c-table-body__cell--vertical-top {
	vertical-align: top;
}

.l-root__grid .c-table-body__cell--vertical-middle {
	vertical-align: middle;
}

.l-root__grid .c-table-body__cell--vertical-bottom {
	vertical-align: bottom;
}

.l-root__grid .c-table-body__cell--horizontal-left {
	text-align: left;
}

.l-root__grid .c-table-body__cell--horizontal-center {
	text-align: center;
}

.l-root__grid .c-table-body__cell--horizontal-right {
	text-align: right;
}

.c-table-body__cell--state-dot .c-table-cell__content {
	display: flex;
	align-items: center;
}

.c-table-body__cell--state-dot .c-table-cell__content:before {
	-webkit-mask: url('/assets/skins/lahuen/worklist/images/icon_priority_bullet.svg') no-repeat center;
	background-color: #bfc0cc;
	content: ' ';
	height: 1rem;
	margin-right: 0.5rem;
	width: 1rem;
}

/* Formatos standard */
.l-root__grid .c-diagnosis--single .c-diagnosis__description {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: var(--quick-table-cell-line-quantity);
	display: -webkit-box;
	overflow: hidden;
}

/* Celdas vacias */
.l-root__grid .c-table-actionbar:empty:before {
	content: '-';
}

.c-quick-table .c-table-cell__content:empty:before {
	content: '-';
}
