[x-cloak] {
	display: none !important;
}

.modal-card-body [data-tooltip]:not([disabled])::before {
	max-width: 570px;
}

/* Bulma's is-flex class uses important, which collides with the inline
  'display: none' Alpine uses to hide content */
.flex {
	display: flex;
}

.w-100 {
	width: 100%;
}

.control.has-icons-left .icon {
	z-index: 1;
}

.sync-error {
	width: 55%;
	margin: auto;
}

span[data-tooltip].icon {
	cursor: unset!important;
	border: none;
}

.table-container {
	max-width: 100vw;
}

.modal-hero {
	text-align: center;
	margin: 3rem;
	margin-bottom: 3.25rem;
}

.sms-text {
	margin: 1rem;
	font-size: 90%;
	line-height: 110%;
}

#qr-reader > video {
	width: 100%!important;
}

input.switch {
	/* Make sure the browser's input validation message is positioned correctly */
	margin-left: 2rem;
	margin-top: 1rem;
}

.is-ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

div.textarea:not([rows]) {
	height: auto;
	min-height: unset;
	max-height: unset;
}

.select:not(.is-multiple):not(.is-loading)::after {
	z-index: unset;
}

.collapsible>.summary {
	cursor: pointer;
	user-select: none;
	-moz-user-select: none;
}

.collapsible>.summary:hover {
	color: #949494;
}

.collapsible>.details {
	max-height: 0;
	scrollbar-width: thin;
	transition: all 0.25s ease;
}

.collapsible>.summary>span>i {
	transition: all 0.25s ease;
	transform: rotate(-90deg);
}

.collapsible>.summary>span .open {
	transform: rotate(0deg);
}

.list-item.is-selected {
	border-left: 2px solid #00ab00;
}

.is-hoverable a.dropdown-item {
	user-select: none;
	-moz-user-select: none;
}

.priority {
	cursor: pointer;
}

.priority.active, .priority:hover {
	text-decoration: underline;
}

[data-badge] {
	position: relative;
}

[data-badge]:after {
	position: absolute;
	right: -8px;
	top: -8px;
	line-height: 5px;
	padding: 5px 4px;
	color: white;
	background-color: #bf1f1f;
	font-size: 12px;
	font-weight: 600;
	border-radius: 20px;
	content: attr(data-badge);
	border: solid 1px #c93a3a;
}

.hero-image {
	/* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65)), url(/assets/img/hero-image.jpg) !important;
	/* Set a specific height */
	height: 100%;
	/* Position and center the image to scale nicely on all screens */
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}