/**
 * @license Copyright 2022 Lahuen Health SPA. All Rights Reserved.
 */
.c-modal-antecedentes-patient-files .c-action.c-action--tertiary.c-actionbar__tool-attach:before {
	-webkit-mask: url('/assets/skins/lahuen/ehr/images/icon_clip.svg') no-repeat center;
	-webkit-mask-size: contain;
	background-color: var(--primary-c-normal);
	content: ' ';
	height: 1.2rem;
	width: 1.2rem;
	margin-right: 0.5rem;
	transition: background 0.3s ease;
}

.c-modal-antecedentes-patient-files .c-action.c-action--tertiary.c-actionbar__tool-attach:hover:before {
	background-color: var(--primary-a-normal);
}

.c-modal .c-modal-antecedentes-patient-files .c-table-actionbar__exposed .c-table-actionbar__action-downloads {
	background: transparent url('/assets/skins/lahuen/ehr/images/icon_download.svg') no-repeat center/1.4rem;
	padding: 1.3rem;
	border-radius: 0.3rem;
}

.c-modal .c-modal-antecedentes-patient-files .c-table-actionbar__exposed .c-table-actionbar__action-downloads:hover {
	background-color: var(--primary-e-bright);
}

.c-modal-antecedentes-patient-files .c-table-header__cell.c-table-header__cell--date {
	width: 11rem;
}

.c-modal-antecedentes-patient-files .c-table-header__cell.c-table-header__cell--type,
.c-modal-antecedentes-patient-files .c-table-header__cell.c-table-header__cell--attention,
.c-modal-antecedentes-patient-files .c-table-header__cell.c-table-header__cell--responsible {
	width: 20rem;
}

.c-modal-antecedentes-patient-files .c-table-header__cell.c-table-header__cell--actions {
	width: 5rem;
}

/* Modal adjuntar archivo */
.c-modal__ehr .c-modal.c-modal-subir-archivo {
	border-radius: 0.5rem;
	width: 46rem;
	padding: 2rem 3rem;
	border: none;
	top: -10rem;
	max-height: 54rem;
}

.c-modal-subir-archivo.c-panel {
	margin-top: -49rem;
	margin-left: 25rem;
}

.c-modal__ehr .c-modal .c-modal__preheader {
	top: 0.5rem;
	right: 0.25rem;
}

.c-modal__ehr .c-modal .c-modal__body {
	margin: 0;
}

.c-modal__ehr .c-modal-subir-archivo .c-panel__body {
	flex-direction: column;
	gap: 1rem;
}

.c-modal__ehr .c-modal-subir-archivo .c-pair .c-pair__label {
	font: 600 1.2rem 'Lato', sans-serif;
	color: var(--primary-d-normal);
	margin-bottom: 0.2rem;
}

.c-modal__ehr .c-modal-subir-archivo .c-pair {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	width: 24rem;
}

.c-modal__ehr .c-modal-subir-archivo .c-pair:last-child {
	width: -webkit-fill-available;
	position: relative;
}

.c-modal__ehr .c-modal-subir-archivo .c-pair:last-child .c-label:not(:first-child) {
	font: 400 1.2rem 'Open Sans', sans-serif;
	color: var(--gray-d);
}

.c-modal__ehr .c-modal-subir-archivo .c-pair:last-child .c-label:not(:first-child):before {
	content: '\25BA';
	color: var(--gray-d);
	font-size: 0.7rem;
	margin-right: 0.5rem;
}

.c-modal__ehr .c-modal-subir-archivo .c-panel__footer {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.c-fileselector input {
	display: none;
}

.c-fileselector {
	display: flex;
	align-items: center;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}

.c-fileselector__label {
	background: var(--primary-f-light);
	color: var(--primary-c-normal);
	font: 400 1.2rem 'Lato', sans-serif;
	text-transform: none;
	display: flex;
	padding: 0.5rem 1rem;
	border-radius: 0.3rem;
	align-items: center;
	width: fit-content;
	cursor: pointer;
}

.c-fileselector__label:hover {
	background: var(--primary-a-bright);
	color: var(--primary-a-normal);
	transition: all 0.3s ease;
}

.c-fileselector__label:hover:before {
	background-color: var(--primary-a-normal);
	transition: all 0.3s ease;
}

.c-fileselector__label:before {
	-webkit-mask: url('/assets/skins/lahuen/base/images/icon_upload.svg') no-repeat center;
	-webkit-mask-size: contain;
	content: ' ';
	height: 1.2rem;
	width: 1.2rem;
	background-color: var(--primary-c-normal);
	margin-right: 1rem;
}

.c-fileselector__state {
	font: 400 1.1rem 'Open Sans', sans-serif;
	color: var(--gray-c);
	margin-left: 1rem;
}

.c-fileselector__state.c-fileselector__state-file {
	margin-top: 1rem;
	width: -webkit-fill-available;
	border-bottom: 0.1rem solid var(--primary-e-normal);
	margin-left: 0;
	-webkit-box-orient: vertical;
	display: -webkit-inline-box;
	overflow: hidden;
	-webkit-line-clamp: 1;
	padding-right: 2.2rem;
	color: var(--gray-a);
	font-size: 1.2rem;
}

.c-modal .c-action__delete-file-uploaded.c-action.c-action--tertiary {
	background: url(/assets/skins/lahuen/base/images/icon_delete.svg) no-repeat center;
	background-size: 1.3rem;
	height: 1.2rem;
	width: 1.2rem;
	position: absolute;
	top: 4.6rem;
	right: 0rem;
	padding: 1rem;
}

.c-modal .c-action__delete-file-uploaded.c-action.c-action--tertiary:hover {
	background-color: var(--primary-e-bright);
}

.c-action__delete-file-uploaded.c-action.c-action--tertiary .c-label {
	display: none;
}

/* Spinner adjuntar archivo */
.c-modal-subir-archivo.c-panel.c-panel--busy {
	position: relative;
}

.c-modal-subir-archivo .c-spinner.c-panel__spinner {
	position: absolute;
	width: -webkit-fill-available;
	background-color: rgba(255, 255, 255, 0.7);
	display: flex;
	flex-direction: column;
	justify-content: center;
	top: 0;
	height: calc(100% - 2rem);
	margin: 3rem -1rem 0 -1rem;
	border-radius: 0.5rem;
}
