@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");
html,
body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a,
.btn-link {
	color: #0366d6;
}

.btn-primary {
	color: #fff;
	background-color: #1b6ec2;
	border-color: #1861ac;
}

.content {
	padding-top: 1.1rem;
}

.valid.modified:not([type="checkbox"]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-message {
	color: red;
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

app {
	position: relative;
	display: flex;
	flex-direction: column;
}

.top-row {
	height: 3.5rem;
	display: flex;
	align-items: center;
}

.main {
	flex: 1;
}

.main .top-row {
	background-color: #f7f7f7;
	border-bottom: 1px solid #d6d5d5;
	justify-content: flex-end;
}

.main .top-row > a,
.main .top-row .btn-link {
	white-space: nowrap;
	margin-left: 1.5rem;
}

.main .top-row a:first-child {
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar {
	background-color: #3d1152;
}

.sidebar .top-row {
	background-color: #3d1152;
}

.sidebar .navbar-brand {
	font-size: 1.1rem;
}

.sidebar .oi {
	width: 2rem;
	font-size: 1.1rem;
	vertical-align: text-top;
	top: -2px;
}

.sidebar .nav-item {
	font-size: 0.9rem;
	padding-bottom: 0.5rem;
}

.sidebar .nav-item:first-of-type {
	padding-top: 1rem;
}

.sidebar .nav-item:last-of-type {
	padding-bottom: 1rem;
}

.sidebar .nav-item a {
	color: #d7d7d7;
	border-radius: 4px;
	height: 3rem;
	display: flex;
	align-items: center;
	line-height: 3rem;
}

.sidebar .nav-item a.active {
	background-color: rgba(255, 255, 255, 0.25);
	color: white;
}

.sidebar .nav-item a:hover {
	background-color: rgba(255, 255, 255, 0.1);
	color: white;
}

.content {
	padding-top: 1.1rem;
}

.navbar-toggler {
	background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type="checkbox"]) {
	outline: 0px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-message {
	color: red;
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

#blazor-error-ui .dismiss {
	cursor: pointer;
	position: absolute;
	right: 0.75rem;
	top: 0.5rem;
}

@media (max-width: 767.98px) {
	.main .top-row:not(.auth) {
		display: none;
	}

	.main .top-row.auth {
		justify-content: space-between;
	}

	.main .top-row a,
	.main .top-row .btn-link {
		margin-left: 0;
	}
}

@media (min-width: 768px) {
	app {
		flex-direction: row;
	}

	.sidebar {
		width: 250px;
		height: 100vh;
		position: sticky;
		top: 0;
	}

	.main .top-row {
		position: sticky;
		top: 0;
	}

	.main > div {
		padding-left: 2rem !important;
		padding-right: 1.5rem !important;
	}

	.navbar-toggler {
		display: none;
	}

	.sidebar .collapse {
		/* Never collapse the sidebar for wide screens */
		display: block;
	}
}

.content-card {
	background-color: white;
	border-radius: 10px;
	border-width: 1px;
	box-shadow: 1px 1px 2px #7c878e;
	list-style-type: none;
	margin-bottom: 10px;
	width: 40rem;
}

.content-management-header {
	margin-right: 100px;
	font-family: Arial, Helvetica, sans-serif;
}

.login-logo {
	max-width: 20rem;
}
.content-management-button {
	background-color: transparent;
	border: none;
	box-shadow: none;
}

.drag-drop-zone {
	border: 1px solid #8a1a9b;
	border-radius: 4px;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #eee;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
	color: #aeaeae;
	font-size: 0.9rem;
	cursor: pointer;
	position: relative;
}

.drag-drop-zone:hover {
	background-color: #c1c6c8;
}

.drag-drop-zone input[type="file"] {
	position: absolute;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.delete-icon {
	background: url("../images/Cancel_30.png") repeat 0 0;
	height: 30px;
	width: 30px;
	background-size: contain;
	display: block;
	/* Other styles here */
}

.rz-layout .rz-header {
	background-color: #8a1a9b;
	color: white;
}

.light-theme .rz-navigation-item .rz-navigation-menu .rz-navigation-item-text {
	color: #000;
}

.light-theme a.rz-navigation-item-link.active {
	background-color: #fff;
	border-radius: 4px;
	color: #8a1a9b;
}

.light-theme a.rz-navigation-item-link.active .rz-navigation-item-text {
	color: #8a1a9b;
}

.content-context-actions {
	display: flex;
	gap: 10px;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
	.content-context-actions {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Text styling */
.text-7xl {
	font-size: 9.625rem;
}
.text-6xl {
	font-size: 7.5rem;
}
.text-5xl {
	font-size: 5.625rem;
}
.text-4xl {
	font-size: 4.5rem;
}
.text-3xl {
	font-size: 3.5rem;
}
.text-2xl {
	font-size: 2.5rem;
}
.text-xl {
	font-size: 2rem;
}
.text-lg {
	font-size: 1.25rem;
}
.text-md {
	font-size: 1rem;
}
.text-sm {
	font-size: 0.875rem;
}
.text-xs {
	font-size: 0.75rem;
}

/* Radzen Dialogs */
::deep .rz-h-sm-100 .rz-dialog-content,
::deep .rz-dialog.rz-open.rz-h-sm-100 .rz-dialog-content,
.rz-h-sm-100 .rz-dialog-content,
.rz-dialog.rz-open.rz-h-sm-100 .rz-dialog-content,
.full-height-dialog {
	height: calc(100% - 50px) !important;
}

.full-height-dialog > div:first-child {
	height: calc(100dvh - 152px);
}

.full-height-dialog .rz-form,
.full-height-dialog form {
	height: 100%;
}
