/**
 * @license Copyright 2022 Lahuen Health SPA. All Rights Reserved.
 */
.l-new-patient-bar {
	position: absolute;
	top: 5.5rem;
	left: 0;
	right: 0;
	background-color: #fff;
	height: 11rem;
}

.patient-bar {
	width: -webkit-fill-available;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	background: url('/assets/skins/hjm/base/images/patient_background.svg') left center/13rem no-repeat;
	height: -webkit-fill-available;
	padding: 1rem;
}

.patient-bar.patient-bar__profile:before {
	content: '';
	background: var(--ehr-avatar) center/8rem padding-box no-repeat;
	height: -webkit-fill-available;
	position: absolute;
	padding: 0rem 15rem 0rem 0rem;
	margin-bottom: 1rem;
	border-radius: 50%;
}

/* Info del paciente */
.patient-bar__section--patient-info {
	margin-left: 14rem;
	display: grid;
	grid-gap: 0.25rem;
	width: 36rem;
	padding-right: 1rem;
}

.patient-bar__patient-name {
	font: 600 1.5rem 'Lato', sans-serif;
	color: var(--primary-c-normal);
	grid-column: 1/3;
}

.patient-bar__patient-data {
	font: 400 1.2rem/1.2rem 'Open Sans', sans-serif;
	display: flex;
	flex-direction: column;
}

.patient-bar__patient-data .c-label {
	font-size: 1.1rem;
	color: var(--primary-d-normal);
}

/* Info clínica */
.patient-bar__section.patient-bar__section--main {
	display: flex;
}

.patient-bar__sub-section {
	margin-right: 1rem;
	border-left: 0.1rem solid var(--gray-e);
	padding-left: 1rem;
	width: 23rem;
}

.patient-bar__sub-section-title {
	font: 400 1.3rem/1.3rem 'Lato', sans-serif;
	color: var(--primary-d-normal);
	margin-bottom: 0.5rem;
}

.patient-bar__sub-section-content {
	font: 400 1.2rem 'Open Sans', sans-serif;
	color: var(--gray-a);
}

.patient-bar__sub-section-content.patient-bar__sub-section-content--empty {
	color: var(--gray-e);
}

.c-formatted-diagnosis__group .c-formatted-diagnosis__label:before {
	content: '\25BA';
	color: var(--primary-c-normal);
	font-size: 0.7rem;
	margin-right: 0.5rem;
}

.c-formatted-diagnosis__group {
	display: flex;
	align-items: center;
}

.c-formatted-diagnosis__label {
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	display: -webkit-inline-box;
	overflow: hidden;
	word-break: break-all;
}

.patient-bar__sub-section-content li:before {
	content: '\25BA';
	color: var(--primary-c-normal);
	font-size: 0.7rem;
	margin-right: 0.5rem;
}

.patient-bar__sub-section-content-detail {
	width: 10rem;
	color: var(--gray-d);
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	display: -webkit-inline-box;
	overflow: hidden;
	word-break: break-all;
}

.patient-bar__sub-section-content li {
	margin-right: 1rem;
	display: flex;
	align-items: center;
}

.patient-bar__sub-section-content-desc {
	margin-right: 0.5rem;
}

.patient-bar__sub-section-content-date {
	margin-left: auto;
}

/* Botonera */
.patient-bar__section.patient-bar__section--actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.c-action.c-action--quaternary.patient-bar__action {
	padding: 0.5rem 1rem;
	width: 18rem;
}

.patient-bar__action .c-label {
	display: flex;
	align-items: center;
}

.patient-bar__action .c-label:before {
	content: ' ';
	height: 1.6rem;
	width: 1.6rem;
	background-color: var(--primary-a-normal);
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	margin-right: 1rem;
}

.patient-bar__action.patient-bar__action--patient-info .c-label:before {
	-webkit-mask-image: url('/assets/skins/lahuen/ehr/images/icon_patient_lines.svg');
}

.patient-bar__action.patient-bar__action--background .c-label:before {
	-webkit-mask-image: url('/assets/skins/lahuen/ehr/images/icon_folder.svg');
}

.patient-bar__action.patient-bar__action--history .c-label:before {
	-webkit-mask-image: url('/assets/skins/lahuen/ehr/images/icon_clock_back.svg');
}

.patient-bar__action.patient-bar__action--files .c-label:before {
	-webkit-mask-image: url('/assets/skins/lahuen/ehr/images/icon_document_clip.svg');
}

.patient-bar__action.patient-bar__action--patient-info .c-label {
	display: flex;
}
