@charset "UTF-8";
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Views
	1.1 Top Bar
	1.2 Login Page
	1.3 Dashboard
	1.4 Patient Detail
2.0 Overwrite

--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Views
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.1 Top Bar
--------------------------------------------------------------*/

/* BEGIN Logo VIRTUDESTETICA */

.logo {
	width: 100%;
}

/*.layout-topbar-dark .layout-topbar .layout-topbar-left .layout-menu-button {*/
/*	background-color: #e9628d!important;*/
/*}*/

.layout-topbar .layout-topbar-left .layout-topbar-logo {
	display: flex;
	width: 18rem;
	height: 100%;
	padding-left: 1rem;
	justify-content: start;
}

.follow-footer {
	font-family: 'Sacramento', cursive;
	font-size: 35px !important;
	color: #000000;
	position: absolute;
	top: 0.4rem;
	left: 4.6rem;
}

.layout-topbar .layout-topbar-left .layout-menu-button {
	display: flex;
	position: absolute;
	top: 50%;
	left: 14.5rem;
	width: 2.5rem;
	height: 2.5rem;
	margin-top: -1.2rem;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
}

.layout-topbar-white .layout-topbar .layout-topbar-left .layout-menu-button,
.layout-topbar-white .layout-topbar .layout-topbar-left .layout-menu-button:hover {
	background-color: rgb(245, 100, 49);
	color: #ffffff;
	transition: background-color 0.2s;
}

.layout-topbar .layout-topbar-right .layout-topbar-actions-left {
	margin-left: 2.5rem;
}

.pages-body.login-page .pages-panel .pages-header {
	background: #e9628d;
}

/* END Logo VIRTUDESTETICA */

/*--------------------------------------------------------------
1.2 Login Page
--------------------------------------------------------------*/

.pages-body .topbar {
	background-color: #1e1e1e;
}

.pages-body.login-page {
	background: transparent;
	background-color: whitesmoke;
} 

.logo-login {
	margin-top: 4px;
}

.follow-footer-login {
    font-family: 'Sacramento', cursive;
	font-size: 35px !important;
	color: #fff;
	position: absolute;
	top: 0.8rem;
	left: 16.5rem;
	justify-content: flex-end;
	display: flex;	
}

/*--------------------------------------------------------------
1.3 Dashboard
--------------------------------------------------------------*/
.vir-back-orange {
	background-color: #f56431;
}

.vir-back-cream {
	background-color: #f7e8d0;
}

.vir-back-pink {
	background-color: #e9628d;
}

.vir-back-black {
	background-color: #000000;
}

.vir-color-black {
	color: #000000;
}

.card.card-dashboard {
	overflow: hidden;
	min-width: 0;
}

.card.card-dashboard form {
	min-width: 0;
}

.dashboard-chart.ui-chart {
	display: block;
	position: relative;
	width: 100% !important;
	max-width: 100%;
	height: 300px !important;
}

.dashboard-chart.ui-chart canvas {
	width: 100% !important;
	max-width: 100% !important;
}

.dashboard-chart-donut.ui-chart {
	width: 230px !important;
	max-width: 100%;
	height: 230px !important;
	margin: 0 auto;
}

@media (max-width: 575px) {
	.dashboard-chart.ui-chart {
		height: 260px !important;
	}

	.dashboard-chart-donut.ui-chart {
		height: 220px !important;
	}
}

/*--------------------------------------------------------------
1.4 Patient Detail
--------------------------------------------------------------*/
.alert-diseases {
	border: 3px solid red;
	border-radius: 4px;
}

.alert-age {
	border: 3px solid #f56431!important;
	border-radius: 4px!important;
}

.dialog-patient-detail {
	overflow-y: auto;
	max-height: 1000px;
	background-color: #f7f7f7!important;
}

.buttons-drawing {
	margin-right: 10px;
	border-radius: 8px;
	padding: 6px;
	border: 1px solid;
	cursor: pointer;
}

.canvas-container {
	background-color: #ffffff;
}

.consent-signature-box {
	box-sizing: border-box;
	overflow: visible;
	background: #ffffff !important;
	border: 0 !important;
	outline: 2px solid #3f3f46;
	outline-offset: 0;
	border-radius: 4px;
	padding: 0;
}

.consent-signature-box:not(.drawing-width) {
	width: 100% !important;
	max-width: 100%;
	height: 500px !important;
}

.consent-signature-box .kbw-signature {
	width: 100% !important;
	height: 100% !important;
	border: 0 !important;
	box-shadow: none !important;
}

.consent-signature-box canvas {
	display: block;
	background: #ffffff !important;
}

.consent-sign-dialog {
	width: min(94vw, 1800px) !important;
	max-width: 94vw !important;
}

.consent-sign-dialog.ui-dialog-maximized {
	width: 100vw !important;
	max-width: 100vw !important;
}

.consent-sign-dialog .ui-dialog-content {
	overflow-x: hidden;
}

.consent-document-column,
.consent-signing-column {
	min-width: 0;
}

.consent-signature-actions {
	display: flex;
	justify-content: flex-start;
}

.consent-signature-actions .ui-button {
	width: auto !important;
}

.consent-form-section {
	width: 100%;
}

body .consent-doctor-options {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	width: 100%;
}

body .consent-doctor-options > span:not(.ui-helper-hidden) {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin: 0;
}

.consent-confirmation-panel {
	width: 100%;
	padding: 1rem;
	background: #f8fafb;
	border: 1px solid #d7dde0;
	border-radius: 4px;
}

.consent-confirmation-row {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
}

body .consent-confirmation-row .consent-checkbox-slot {
	display: inline-block;
	flex: 0 0 1.5rem;
	width: 1.5rem !important;
	min-width: 1.5rem;
	max-width: 1.5rem;
	height: 1.5rem;
	margin: 0.1rem 0 0;
}

body .consent-confirmation-row .consent-confirmation-checkbox {
	display: inline-block;
	width: 1.5rem !important;
	min-width: 1.5rem;
	max-width: 1.5rem;
	margin: 0;
}

body .consent-confirmation-row .consent-confirmation-label {
	display: block;
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	margin: 0;
	line-height: 1.5;
	white-space: normal;
	overflow-wrap: anywhere;
	text-align: left;
	cursor: pointer;
}

.consent-patient-acceptance {
	background: #fff7f3;
	border-left: 4px solid #f56431;
}

body .consent-signing-center .ui-button {
	background: #ffffff;
	border-color: #d8d2cf;
	color: #453b37;
}

body .consent-signing-center .ui-button.ui-state-active {
	background: #f56431;
	border-color: #d94c1f;
	box-shadow: inset 0 0 0 1px #d94c1f;
	color: #ffffff;
	font-weight: 600;
}

body .consent-signing-center .ui-button.ui-state-active .ui-button-text {
	color: #ffffff;
}

.consent-sign-dialog .ui-dialog-footer {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.consent-sign-dialog .ui-dialog-footer .ui-button {
	width: auto !important;
	margin: 0 !important;
}

body .consent-sign-dialog .ui-dialog-footer .consent-dialog-cancel {
	margin-left: 0.75rem !important;
}

.dialog-patient-detail > .ui-dialog-content {
	background-color: #f7f7f7!important;
}

.ui-button-success {
	background-color: #e9628d!important;
}

.ui-radiobutton-box.ui-state-active {
	border-color: #f56431!important;
	color: #f56431!important;
}

.ui-radiobutton-box.ui-state-active .ui-icon-bullet {
	background: #f56431!important;
}

@media (min-width: 1200px) {
	.drawing-width {
		width: 500px;
		height: 500px
	}

	.canvas-container,
	.canva-size {
		width: 800px!important;
		height: 500px!important;
	}

}

@media (min-width: 992px) and (max-width: 1199px) {
	.drawing-width {
		width: 400px;
		height: 500px
	}

	.canvas-container,
	.canva-size {
		width: 800px!important;
		height: 500px!important;
	}

}

@media (max-width: 991px) {
	.consent-sign-dialog {
		width: 96vw !important;
		max-width: 96vw !important;
	}

	.consent-document-column iframe {
		height: 55vh !important;
		min-height: 340px;
	}

	.consent-signature-box:not(.drawing-width) {
		height: 400px !important;
	}

	.drawing-width {
		width: 300px;
		height: 250px;
	}

	.dialog-patient-detail {
		overflow-y: auto;
		max-height: 1000px;
	}

}

@media (min-width: 576px) and (max-width: 991px) {

	.drawing-width {
		width: 500px;
		height: 500px
	}

	.canvas-container,
	.canva-size {
		width: 480px!important;
		height: 500px!important;
	}

}

@media (max-width: 575px) {
	.consent-sign-dialog .ui-dialog-content {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}

	.consent-document-column iframe {
		height: 48vh !important;
		min-height: 280px;
	}

	.consent-signature-box:not(.drawing-width) {
		height: 320px !important;
	}

	.consent-confirmation-panel {
		padding: 0.875rem;
	}

	body .consent-doctor-options {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	body .consent-doctor-options > span:not(.ui-helper-hidden) {
		width: 100%;
	}

	.consent-sign-dialog .ui-dialog-footer {
		justify-content: flex-start;
	}

	.consent-sign-dialog .ui-dialog-footer .ui-button {
		flex: 1 1 0;
		min-width: 0;
	}

	.drawing-width {
		width: 500px;
		height: 500px
	}

	.canvas-container,
	.canva-size {
		width: 300px!important;
		height: 400px!important;
	}

}

@media (max-width: 420px) {
	.consent-sign-dialog .ui-dialog-footer {
		flex-direction: column;
	}

	.consent-sign-dialog .ui-dialog-footer .ui-button {
		flex: 0 0 auto;
		width: 100% !important;
	}

	body .consent-sign-dialog .ui-dialog-footer .consent-dialog-cancel {
		margin-top: 0.75rem !important;
		margin-left: 0 !important;
	}
}

/*--------------------------------------------------------------
2.0 Overwrite
--------------------------------------------------------------*/

.ui-button-warning {
	background: #f7e8d0!important;
}

body .ui-button {
	background: #f56431;;
}

.ui-button-secondary {
	background: #f7e8d0!important;
}

.layout-topbar-white .layout-topbar a {
	color: #000000;
}
/*.ui-state-hover {
	background: #f7e8d0!important;
	color: #000000;
}*/
.card.card-dashboard {
  min-height: 390px;
}

@media (min-width: 992px) {

	.card.card-dashboard {
		min-height: 390px;
	}

}

body .ui-chkbox .ui-chkbox-box.ui-state-active {
	border-color: #f56431;
}

body.ui-input-filled .ui-chkbox .ui-chkbox-box.ui-state-active, body .ui-input-filled .ui-chkbox .ui-chkbox-box.ui-state-active {
	background: #f56431;
}

body .ui-datatable .ui-selection-column,
body .ui-datatable .table-selection-column {
	width: 3rem !important;
	min-width: 3rem !important;
	max-width: 3rem !important;
	padding-left: .5rem !important;
	padding-right: .5rem !important;
	text-align: center !important;
}

body .ui-datatable .ui-selection-column .ui-chkbox,
body .ui-datatable .ui-selection-column .ui-chkbox-all,
body .ui-datatable .table-selection-column .ui-chkbox,
body .ui-datatable .table-selection-column .ui-chkbox-all {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	width: 1.25rem !important;
	height: 1.25rem !important;
}

body .ui-datatable .table-selection-column .ui-chkbox-box,
body .ui-datatable .ui-selection-column .ui-chkbox-box {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 1.25rem !important;
	min-width: 1.25rem !important;
	height: 1.25rem !important;
	border: 1px solid rgba(0, 0, 0, .38) !important;
	background: #ffffff !important;
	color: #ffffff !important;
}

body .ui-datatable .table-selection-column .ui-chkbox-box.ui-state-active,
body .ui-datatable .ui-selection-column .ui-chkbox-box.ui-state-active {
	background: #f56431 !important;
	border-color: #f56431 !important;
}

body .ui-datatable .table-selection-column .ui-chkbox-icon,
body .ui-datatable .ui-selection-column .ui-chkbox-icon {
	display: inline-block !important;
	overflow: visible !important;
	font-size: 1rem;
	line-height: 1;
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -.5rem;
	margin-top: -.5rem;
}

body .ui-datatable .table-selection-column .ui-chkbox-box.ui-state-active .ui-chkbox-icon:before,
body .ui-datatable .ui-selection-column .ui-chkbox-box.ui-state-active .ui-chkbox-icon:before {
	content: "" !important;
	position: absolute;
	top: 6px;
	left: 1px;
	width: 4px;
	height: 10px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: translate3d(0, -10px, 0) rotate(45deg);
	transform-origin: 0% 100%;
}

body .ui-galleria-mask.attachment-gallery-mask {
	align-items: stretch;
	justify-content: stretch;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

body .attachment-gallery.ui-galleria.ui-galleria-fullscreen {
	position: fixed;
	inset: 0;
	background: #111418;
	width: 100vw;
	height: 100vh;
	min-width: 0;
	max-width: none;
	max-height: none;
	overflow: hidden;
	z-index: 1100 !important;
}

body .attachment-gallery .ui-galleria-content,
body .attachment-gallery .ui-galleria-item-wrapper,
body .attachment-gallery .ui-galleria-item-container,
body .attachment-gallery .ui-galleria-items,
body .attachment-gallery .ui-galleria-item {
	min-height: 0;
}

body .attachment-gallery .ui-galleria-content {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body .attachment-gallery .ui-galleria-item-wrapper {
	flex: 1 1 0;
	width: 100%;
	height: auto;
	overflow: hidden;
}

body .attachment-gallery .ui-galleria-item-container,
body .attachment-gallery .ui-galleria-items,
body .attachment-gallery .ui-galleria-item {
	width: 100%;
	height: 100%;
}

body .attachment-gallery .ui-galleria-items {
	align-items: stretch;
	margin: 0;
	padding: 0;
}

body .attachment-gallery .ui-galleria-item {
	min-width: 100%;
	overflow: hidden;
}

body .attachment-gallery .attachment-gallery-item {
	position: relative;
	isolation: isolate;
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 4.25rem 5rem 4.5rem;
	overflow: hidden;
	background: #111418;
}

body .attachment-gallery .attachment-gallery-main-image {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	object-position: center center;
	transform-origin: center center;
	transition: transform 180ms ease;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35));
}

body .attachment-gallery .attachment-gallery-rotate {
	position: absolute;
	z-index: 30;
	top: calc(1rem + env(safe-area-inset-top));
	right: calc(4.75rem + env(safe-area-inset-right));
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 50%;
	background: rgba(17, 20, 24, .82);
	color: #ffffff;
	cursor: pointer;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
	transition: background-color 150ms ease, border-color 150ms ease;
}

body .attachment-gallery .attachment-gallery-rotate:hover,
body .attachment-gallery .attachment-gallery-rotate:focus-visible {
	border-color: #f56431;
	background: #3a2d28;
	outline: none;
}

body .attachment-gallery .attachment-gallery-rotate .pi {
	font-size: 1.2rem;
}

body .attachment-gallery .attachment-gallery-caption {
	position: absolute;
	z-index: 10;
	left: 50%;
	bottom: .8rem;
	max-width: min(48rem, calc(100% - 3rem));
	padding: .5rem .75rem;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(17, 20, 24, .82);
	color: #ffffff;
	font-size: .9rem;
	line-height: 1.25rem;
	overflow-wrap: anywhere;
	text-align: center;
	white-space: normal;
	transform: translateX(-50%);
}

body .attachment-gallery .ui-galleria-item-nav {
	z-index: 20;
	width: 3rem;
	height: 3rem;
	background: rgba(17, 20, 24, .78);
	color: #ffffff;
}

body .attachment-gallery .ui-galleria-close {
	position: absolute;
	z-index: 40;
	top: calc(1rem + env(safe-area-inset-top));
	right: calc(1rem + env(safe-area-inset-right));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	background: rgba(17, 20, 24, .88);
	color: #ffffff;
	opacity: 1;
	visibility: visible;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

body .attachment-gallery .ui-galleria-thumbnail-container {
	flex: 0 0 auto;
	min-height: 0;
	padding-bottom: calc(.5rem + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(255, 255, 255, .12);
	background: #1a1e23;
}

body .attachment-gallery .ui-galleria-thumbnail-wrapper {
	flex: 0 0 auto;
	width: 100%;
	max-width: 100%;
	min-height: 0;
}

body .attachment-gallery .attachment-gallery-thumbnail {
	display: block;
	width: 100%;
	max-width: 6rem;
	height: auto;
	aspect-ratio: 3 / 2;
	border: 2px solid transparent;
	border-radius: 4px;
	object-fit: cover;
	opacity: .68;
	transition: border-color 150ms ease, opacity 150ms ease;
}

body .attachment-gallery .ui-galleria-thumbnail-item-current .attachment-gallery-thumbnail {
	border-color: #f56431;
	opacity: 1;
}

@supports (height: 100dvh) {
	body .ui-galleria-mask.attachment-gallery-mask,
	body .attachment-gallery.ui-galleria.ui-galleria-fullscreen {
		height: 100dvh;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	body .attachment-gallery .attachment-gallery-item {
		padding: 4.25rem 4rem 4.25rem;
	}

	body .attachment-gallery .attachment-gallery-rotate {
		right: calc(4.75rem + env(safe-area-inset-right));
	}

	body .attachment-gallery .attachment-gallery-thumbnail {
		max-width: 5rem;
	}
}

@media (max-width: 767px) {
	body .attachment-gallery .attachment-gallery-item {
		padding: 3.75rem 3.25rem 3.75rem;
	}

	body .attachment-gallery .ui-galleria-close {
		top: calc(.75rem + env(safe-area-inset-top));
		right: calc(.75rem + env(safe-area-inset-right));
	}

	body .attachment-gallery .attachment-gallery-rotate {
		top: calc(.75rem + env(safe-area-inset-top));
		right: calc(4rem + env(safe-area-inset-right));
	}

	body .attachment-gallery .ui-galleria-item-nav {
		width: 2.75rem;
		height: 2.75rem;
		margin: .25rem;
	}

	body .attachment-gallery .attachment-gallery-caption {
		bottom: .5rem;
		max-width: calc(100% - 1.5rem);
		padding: .375rem .5rem;
		font-size: .8rem;
		line-height: 1.1rem;
	}

	body .attachment-gallery .ui-galleria-thumbnail-container {
		padding-bottom: calc(.375rem + env(safe-area-inset-bottom));
	}

	body .attachment-gallery .attachment-gallery-thumbnail {
		max-width: 4.25rem;
	}
}

@media (max-width: 480px) {
	body .attachment-gallery .attachment-gallery-item {
		padding-right: 2.75rem;
		padding-left: 2.75rem;
	}

	body .attachment-gallery .attachment-gallery-thumbnail {
		max-width: 3.75rem;
	}
}

@media (max-height: 560px) {
	body .attachment-gallery .attachment-gallery-item {
		padding-top: 3.5rem;
		padding-bottom: 3.25rem;
	}

	body .attachment-gallery .attachment-gallery-thumbnail {
		max-width: 3.5rem;
	}
}

body .before-after-page {
	min-width: 0;
	overflow: hidden;
}

body .before-after-header h5 {
	margin: 0 0 1.75rem;
}

body .before-after-patient-field {
	width: min(100%, 44rem);
	margin-bottom: 1.5rem;
	padding-top: .75rem;
}

body .before-after-patient-search,
body .before-after-patient-search .ui-autocomplete-input {
	width: 100%;
}

body .before-after-workspace {
	min-width: 0;
}

body .before-after-patient-name {
	display: flex;
	align-items: center;
	gap: .625rem;
	min-width: 0;
	margin-bottom: 1rem;
	font-size: 1rem;
	font-weight: 600;
}

body .before-after-patient-name .ui-outputlabel,
body .before-after-patient-name span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

body .before-after-comparison {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1rem;
	width: 100%;
}

body .before-after-slot {
	min-width: 0;
}

body .before-after-slot-title {
	margin-bottom: .5rem;
	color: #3f4750;
	font-size: .85rem;
	font-weight: 700;
	text-align: center;
}

body .before-after-frame {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 2px solid #cbd0d6;
	border-radius: 6px;
	background: #f5f6f7;
	transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

body .before-after-frame-empty {
	border-style: dashed;
	color: #848b93;
}

body .before-after-frame-filled {
	border-color: #8d949c;
	background: #20252a;
}

body .before-after-empty-icon {
	font-size: 2rem;
}

body .before-after-main-image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	will-change: transform;
}

body .before-after-image-tools {
	position: absolute;
	z-index: 4;
	top: .625rem;
	left: .625rem;
	display: flex;
	gap: .375rem;
}

body .before-after-image-tools .ui-button {
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(26, 30, 35, .88);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

body .before-after-clear {
	position: absolute;
	z-index: 4;
	top: .625rem;
	right: .625rem;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(26, 30, 35, .88);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}

body .before-after-selected-meta {
	position: absolute;
	z-index: 3;
	bottom: .625rem;
	left: 50%;
	max-width: calc(100% - 1.25rem);
	padding: .35rem .55rem;
	overflow: hidden;
	border-radius: 4px;
	background: rgba(26, 30, 35, .82);
	color: #ffffff;
	font-size: .8rem;
	white-space: nowrap;
	transform: translateX(-50%);
}

body .before-after-comparison-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
}

body .before-after-download-button {
	min-height: 2.75rem;
}

body .before-after-drop-active {
	border-color: #6dc5d1;
	box-shadow: inset 0 0 0 1px #6dc5d1;
}

body .before-after-drop-hover {
	border-color: #238994;
	background: #e9f7f8;
	box-shadow: inset 0 0 0 2px #238994;
}

body .before-after-images-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 2rem 0 .75rem;
}

body .before-after-images-heading h6 {
	margin: 0;
}

body .before-after-image-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	height: 2rem;
	padding: 0 .5rem;
	border-radius: 1rem;
	background: #444b53;
	color: #ffffff;
	font-size: .8rem;
	font-weight: 700;
}

body .before-after-empty-state {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 5rem;
	padding: 1rem;
	border: 1px solid #d9dde1;
	border-radius: 6px;
	color: #656d75;
}

body .before-after-data-view .ui-dataview-header {
	display: none;
}

body .before-after-data-view .ui-dataview-content {
	padding: 0;
	border: 0;
	background: transparent;
}

body .before-after-data-view .ui-dataview-row {
	display: grid;
	grid-template-columns: repeat(auto-fill, 10.5rem);
	align-items: stretch;
	justify-content: start;
	gap: .75rem;
	margin: 0;
}

body .before-after-data-view .ui-dataview-column {
	flex: none !important;
	width: auto !important;
	padding: 0 !important;
}

body .before-after-thumbnail-item {
	min-width: 0;
	height: 100%;
}

body .before-after-thumbnail-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	border: 1px solid #d6dade;
	border-radius: 6px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(20, 25, 30, .08);
	transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body .before-after-thumbnail-card:hover {
	border-color: #929aa2;
	box-shadow: 0 4px 12px rgba(20, 25, 30, .14);
	transform: translateY(-1px);
}

body .before-after-thumbnail-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e9ecef;
	cursor: grab;
}

body .before-after-thumbnail-media:active {
	cursor: grabbing;
}

body .before-after-thumbnail-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

body .before-after-thumbnail-meta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: .25rem .5rem;
	min-width: 0;
	padding: .625rem .625rem .375rem;
	cursor: grab;
}

body .before-after-thumbnail-date {
	font-size: .85rem;
	font-weight: 700;
	white-space: nowrap;
}

body .before-after-thumbnail-source {
	color: #5f6871;
	font-size: .75rem;
	text-align: right;
	white-space: nowrap;
}

body .before-after-thumbnail-name {
	grid-column: 1 / -1;
	min-width: 0;
	overflow: hidden;
	color: #686f77;
	font-size: .75rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body .before-after-thumbnail-actions {
	display: flex;
	justify-content: center;
	gap: .375rem;
	margin-top: auto;
	padding: .25rem .5rem .5rem;
}

body .before-after-thumbnail-actions .ui-button {
	width: 2.25rem;
	height: 2.25rem;
}

body .before-after-thumbnail-card.ui-draggable-dragging {
	width: 11rem;
	opacity: .9;
	box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

@media (max-width: 767px) {
	body .before-after-page {
		padding-right: .75rem;
		padding-left: .75rem;
	}

	body .before-after-header h5 {
		margin-bottom: 1.5rem;
	}

	body .before-after-comparison {
		gap: .5rem;
	}

	body .before-after-frame {
		aspect-ratio: 3 / 4;
	}

	body .before-after-slot-title {
		font-size: .75rem;
	}

	body .before-after-clear {
		top: .375rem;
		right: .375rem;
		width: 2.25rem;
		height: 2.25rem;
	}

	body .before-after-image-tools {
		top: .375rem;
		left: .375rem;
		gap: .25rem;
	}

	body .before-after-image-tools .ui-button {
		width: 2.25rem;
		height: 2.25rem;
	}

	body .before-after-selected-meta {
		bottom: .375rem;
		font-size: .72rem;
	}

	body .before-after-download-button {
		width: 100%;
	}

	body .before-after-thumbnail-actions .ui-button {
		width: 2.5rem;
		height: 2.5rem;
	}
}

@media (max-width: 420px) {
	body .before-after-data-view .ui-dataview-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: .5rem;
	}

	body .before-after-thumbnail-meta {
		grid-template-columns: minmax(0, 1fr);
	}

	body .before-after-thumbnail-source {
		text-align: left;
	}

	body .before-after-thumbnail-name {
		grid-column: 1;
	}
}
