html, body, #root, .App {
	width: 100%;
	height: 100%;
}

#light {	
	background-color: #e9e9eb;
	color: black;
	width: 100%;
}

/*** container ***/

.container-padding {
	padding-bottom: 100px;
}

/*** navbar ***/

.navbar {
	padding-top: 1.2rem;
	padding-bottom: 1.2rem;
}

#light .navbar {
	background-color: #004982 !important;
}

.upload-form-box {
	padding-top: 20px;
}

a.dropdown-item {
	cursor: pointer;
}

/*** footer ***/

.percepthor-page-footer.dark {
	background-color: #2b2f31;
	position: fixed;
	bottom: 0px;
	width: 100%;
	height: 50px;
}

.percepthor-page-footer.dark .footer-copyright {
	padding-top: 3px;
	padding-bottom: 3px;
	text-align: center;
	background-color: #3c3c3c;
	border-color: #3c3c3c
}

.percepthor-page-footer.dark .footer-copyright p {
	margin: 10px;
	color: #ccc
}

@media (max-width: 900px) {
	.percepthor-page-footer.dark {
		height: 70px;
	}
}

/*** configuration ***/

.theme-card {
	height: 100px;
	border-radius: 7px;
	margin-bottom: 10px;
	cursor: pointer;
}

.selected-theme {
	border: 3px solid #0d6efd;
}

/*** buttons ***/

.submit-btn {
	background-color: #42506b !important;
	color: white !important;
}

.simple-btn {
	background-color: #3e619b !important;
	border-color: #3e619b !important;
	color: white !important;
}

.danger-btn {
	background-color: #ef4b4c !important;
	color: white !important;
}

.success-btn {
	background-color: #06c281 !important;
	color: white !important;
}

#light .image-btn {
	background-color: #f7f7f7 !important;
	border-color: #d2d2d2 !important;
	color: #212529 !important;
}

.btn:focus, .btn:active, .btn-close:focus, .btn-close:active {
	outline: none !important;
	box-shadow: none !important;
}

.info-btn {
	background: none !important;
	color: #1677FF !important;
	border: none !important;
	padding: 0 !important;
	font: inherit !important;
	font-weight: bold !important;
	cursor: pointer !important;
	outline: inherit !important;
	z-index: 1 !important;
}

.help-btn {
	cursor: help;
	background-color: #1677FF;
	color: white;
	margin-left: .5rem;
	border-radius: 50%;
	box-shadow: 0px 0px 1px 1px #0000001a;
	animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
	0% {
		box-shadow: 0 0 0 0px rgba(22, 119, 255, 0.5);
	}
	100% {
		box-shadow: 0 0 0 13px rgba(22, 119, 255, 0);
	}
}

/*** table ***/

.table-head {
	background-color: #415577 !important;
	color: white !important;
}

#light tbody tr {
	border-bottom: 1px solid #ceced0;
}

table a {
	color: #42506b !important;
}

.sticky-top {
	z-index: 0 !important;
}

/*** input ***/

input[disabled], input[disabled]:hover {
	background-color: white !important;
}

/*** loading ***/

#light .loading {
	background-color: #e9e9eb;
	width: 100%;
	height: 100%;
	z-index: -1;
}

/*** spinner ***/

.spinner-margin {
	margin-left: 2rem;
}

.spinner-text {
	font-size: 2rem;
}

@media (max-width: 900px) {
	.spinner-text {
		font-size: 1.5rem;
	}

	.spinner-margin {
		margin-left: 1rem;
	}
}

/*** images ***/

.not-found-img {
	height: 90vh;
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.ref-img {
	height: 30vh;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1rem;
}

.payload-img {
	height: 20vh;
	margin-bottom: 0.5rem;
	margin-left: 0.5rem;
	margin-right: 0.5rem;
}

@media only screen and (max-width: 600px) {
	.payload-img {
		width: 22vw;
		object-fit: cover;
		object-position: center center;
		margin-left: 0.5rem;
		margin-right: 0.5rem;
	}
}

/* landing image */
.image {
	height: calc(100vh - 275px);
}

.map {
	width: 100%;
}

@media only screen and (max-width: 600px) {
	.map {
		height: 200px;
		object-fit: cover;
	}
}

.map-annotations {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: white;
	padding: 8px;
	border: 1px solid #ccc;
}

.legend-container {
	display: flex;
	align-items: center;
}

.legend-line {
	width: 30px;
	height: 8px;
	background-color: #7575F7;
	margin-right: 5px;
	margin-left: 5px;
	border-radius: 10px;
}

/*** doughnut chart ***/

.doughnut {
	height: 700px;
	padding-bottom: 5rem;
}

.doughnut-filters {
	display: flex;
	justify-content: center;
	margin: 1rem auto 2rem;
}

.doughnut-filters-btn {
	padding: 0.5 !important;
	border-radius: 50rem !important;
	font-size: 12px !important;
	font-weight: bold !important;
}

.doughnut-filters-btn.selected {
	color: white !important;
	background-color: #415577 !important;
	border-color: #415577 !important;
	cursor: pointer !important;
}

.doughnut-filters-btn.unselected {
	color: #415577 !important;
	background-color: transparent !important;
	border-color: #415577 !important;
	cursor: pointer !important;
}

/*** location record type ***/

dl dt {
	display: inline-block;
	width: 20px;
	height: 20px;
	vertical-align: middle;
}

dl dd {
	display: inline-block;
	margin: 0px 10px;
	padding-bottom: 0;
	vertical-align: middle;
}

dl dt.payload {
	background: #d1e7dd;
}

dl dt.issue {
	background: #fff3cd;
}

dl dt.other {
	background: #cfe2ff;
}

/*** scrollbar ***/

/* Firefox */
.custom-scrollbar {
	scrollbar-width: auto;
	scrollbar-color: #c1c1c1 #f1f1f1;
}

/* Chrome, Edge, and Safari */
.custom-scrollbar ::-webkit-scrollbar {
	width: 7px;
}

.custom-scrollbar ::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.custom-scrollbar ::-webkit-scrollbar-thumb {
	background-color: #c1c1c1;
	border-radius: 10px;
	border: 1px solid #f1f1f1;
}

/*** pagination ***/

.page-link {
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	outline: inherit !important;
}

#light .page-link {
	color: #415577 !important;
}

.bi-bold {
	-webkit-text-stroke: 2px;
}

.rows-count {
	font-weight: bold;
}

#light .rows-count {
	color: #415577 !important;
}

/*** ticket indicator ***/

.btn-ticket-badge {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	/* cursor: pointer; */
	outline: inherit;
}

/*** card ***/

#light .card {
	border-color: transparent !important;
}

/*** process type ***/

.process-type {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: white !important;
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
}

/*** toast ***/

.custom-toast {
	left: 50%;
	position: fixed;
	transform: translate(-50%, -60px);
	z-index: 9999;
	width: fit-content;
}

.toast {
	width: auto !important;
}

/* En tu archivo CSS */
@media print {
	body {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	
	.sticky-print-fix {
		position: static !important;
		top: auto !important;
	}

	.percepthor-page-footer.dark {
		display: none;
	}

	#print-btn {
		display: none;
	}
}
