@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;
}

.btn-psc {
	color: #fff;
	background-color: #f60;
	border-color: transparent;
}

	.btn-psc:hover {
		background-color: #ea4e00;
		color: #fff;
	}

.psc {
	color: #f60;
}

	.psc:hover {
		color: #ea4e00;
	}

/*.bottom-navbar {
	align-items: stretch;
	background: #002159;
	bottom: 0;
	display: -ms-flexbox;
	display: flex;
	left: 0;
	margin: 0;
	padding: 0;
	position: fixed;
	width: 100%;
}

	.bottom-navbar a {
		color: #f60;
	}

.bottombar-link {
	border-right: 1px solid #000;
	border-bottom: 1px solid black;
	border-radius: 0;
	display: block;
	-ms-flex-positive: 1;
	flex-grow: 1;
	font-size: 1rem;
	margin: 0;
	padding: 1.25rem 0.625rem;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none !important;
}

	.bottombar-link:hover {
		background: #ea4e00;
		color: #fff;
	}

@media screen and (min-width:40em) {
	.bottombar-link {
		padding: 1rem
	}
}*/

.bottom-navbar {
	align-items: center; /* Align items centrally */
	background: #002159;
	bottom: 0;
	display: flex;
	left: 0;
	margin: 0;
	padding: 5px 0; /* Reduce padding */
	position: fixed;
	width: 100%;
	overflow-x: auto; /* Enable horizontal scrolling if needed */
	white-space: nowrap; /* Prevents wrapping */
}

	.bottom-navbar a {
		color: #f60;
		text-decoration: none;
	}

.bottombar-link {
	border-right: 1px solid #000;
	border-bottom: 1px solid black;
	border-radius: 0;
	flex-grow: 1;
	font-size: 0.8rem; /* Reduce font size */
	margin: 0;
	padding: 0.75rem 0.5rem; /* Reduce padding */
	text-transform: uppercase;
	text-align: center;
	text-decoration: none !important;
	min-width: 60px; /* Prevents the links from being too narrow */
}

	/* Hover effect remains unchanged */
	.bottombar-link:hover {
		background: #ea4e00;
		color: #fff;
	}

/* Responsive fixes for small screens */
@media screen and (max-width: 768px) {
	.bottom-navbar {
		font-size: 12px;
		padding: 3px 0; /* Reduce padding further */
	}

	.bottombar-link {
		padding: 0.5rem 0.3rem; /* Adjust padding to fit more links */
		font-size: 0.75rem; /* Reduce text size for better fit */
	}
}

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;
		z-index: 1000;
	}

		.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-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
	overflow-y: scroll;
}

	.sidebar .top-row {
		background-color: rgba(0,0,0,0.4);
	}

	.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 h5 {
			color: #d7d7d7;
			height: 3rem;
			display: flex;
			align-items: center;
			line-height: 3rem;
			text-transform: uppercase;
		}

		.sidebar .nav-item a {
			color: #d7d7d7;
			border-radius: 4px;
			height: 3rem;
			display: flex;
			align-items: center;
			line-height: 1rem;
		}

			.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;
			}

.accordion .card-header span {
	padding: 1.25rem;
}

.accordion .card-header {
	background-color: white;
	align-items: center;
	color: #f60;
}

	.accordion .card-header:hover, .accordion .card.expanded .card-header, .accordion.showAll .card-header {
		background: #f60;
		color: #fff;
	}

.accordion .accordion-position {
	background: #eff2f9;
	color: #2c2c2d;
	font-weight: 700;
	text-align: center;
	padding: 1.25rem;
	display: flex;
	align-self: stretch;
	align-items: center;
}

.accordion .card-header:hover .accordion-position, .accordion .card.expanded .accordion-position, .accordion.showAll .accordion-position {
	background: #ea4e00;
	color: #fff;
}


.accordion:not(.showAll) .card:not(.expanded) .card-body {
	max-height: 0;
	padding: 0;
	transition: all 0.3s ease-out;
}

.accordion .card-header {
	padding: 0;
}

.accordion .card-body {
	max-height: 500px;
	color: #f60;
	transition: all 0.3s ease-out;
	overflow: hidden;
}

.accordion .card.selected .card-header {
	background-color: #3adb76;
}

	.accordion .card.selected .card-header .accordion-position {
		background-color: #33b965;
	}

@media (max-width:767px) {
	.accordion .card {
		border: 1px solid rgba(0,0,0,.125) !important;
		border-bottom-left-radius: .25rem !important;
		border-bottom-right-radius: .25rem !important;
	}
}

sup {
	color: red;
}

.content {
	padding-top: 1.1rem;
}

.navbar-toggler {
	background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red !important;
}

.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: 275px;
		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;
	}
}

.announcementHeader {
	display: grid;
	grid-template-columns: auto minmax(0,1fr);
	grid-template-areas: "cal title";
	column-gap: 10px;
}

.cal {
	grid-area: cal;
	display: inline-block;
	border: .1px solid #CCCAC5;
	background-color: #FFF;
	width: 80px;
	overflow: hidden;
	font-family: Arial, sans-serif;
	text-align: center;
	height: fit-content;
}

	.cal .month {
		height: 20px;
		line-height: 20px;
		font-size: .8rem;
		text-transform: uppercase;
		background-color: #E75951;
		color: #FFF;
		padding: .15rem;
	}

	.cal .date {
		font-size: 2rem;
		color: #585858;
		min-height: 50px;
		overflow: hidden;
	}

.announcementTitle {
	grid-area: title;
	text-align: center;
}


/* Toggle Button */
.switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

	/* Hide default HTML checkbox */
	.switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

	.slider:before {
		position: absolute;
		content: "";
		height: 26px;
		width: 26px;
		left: 4px;
		bottom: 4px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

	.slider.round:before {
		border-radius: 50%;
	}

/* End Toggle Button */

/* Start Toast Notifications */

.toast {
	display: none;
	padding: 1.5rem;
	color: #fff;
	z-index: 1001;
	position: fixed;
	width: 25rem;
	top: 2rem;
	border-radius: 1rem;
	left: 50%;
}

.toast-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 1rem;
	font-size: 2.5rem;
}

.toast-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-left: 1rem;
}

	.toast-body p {
		margin-bottom: 0;
	}

.toast-visible {
	display: flex;
	flex-direction: row;
	animation: fadein 1.5s;
	animation-fill-mode: forwards
}

@keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

/* End Toast Notifications */
/* Start Spinner */
.spinner-container {
	width: 100px;
	height: 100px;
	background-color: #00000077;
	border-radius: 50px;
	position: fixed;
	left: 50vw;
	top: 25px;
	z-index: 2000;
}

	.spinner-container.hidden {
		display: none;
	}

.lds-ring {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
	left: 10px;
	top: 10px;
}

	.lds-ring div {
		box-sizing: border-box;
		display: block;
		position: absolute;
		width: 64px;
		height: 64px;
		margin: 8px;
		border: 8px solid #fff;
		border-radius: 50%;
		animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
		border-color: #fff transparent transparent transparent;
	}

		.lds-ring div:nth-child(1) {
			animation-delay: -0.45s;
		}

		.lds-ring div:nth-child(2) {
			animation-delay: -0.3s;
		}

		.lds-ring div:nth-child(3) {
			animation-delay: -0.15s;
		}

@keyframes lds-ring {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

/* End Spinner */

/* Calendar Component*/

.calendar-container {
	margin-bottom: 20px;
}


.calendar-header {
	display: flex;
	justify-content: space-between;
}

.calendar-body {
	display: grid;
	grid-template-rows: 35px;
	grid-template-columns: repeat(7,1fr);
	width: 100%;
	margin-top: 10px;
	border-radius: 5px;
}

.day-label {
	text-align: center;
	background-color: #1b6ec2;
	color: white
}

	.day-label div {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100%;
	}

	.day-label:first-child {
		border: 1px solid #1b6ec2;
		border-top-left-radius: 5px;
	}

	.day-label:nth-child(7) {
		border-top-right-radius: 5px;
	}



.calendar-day {
	min-height: 125px;
	vertical-align: top;
	border: 1px solid #bdbdbd;
	border-top: none;
}

	.calendar-day:not(.not-selectable):hover {
		-webkit-box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		-moz-box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		cursor: pointer;
	}

	.calendar-day:not(:first-child):not(:nth-child(7n+1)) {
		border-left: none;
	}

	.calendar-day.not-this-month {
		color: #d1d1d1;
	}

	.calendar-day .day-number {
		margin: 2px;
		padding: 5px;
		text-align: center;
		width: 30px;
		height: 30px;
	}

	.calendar-day.today .day-number {
		background-color: #f60;
		color: white;
		border-radius: 50%;
	}

.calendar-event {
	margin: 35px 10px 5px 10px;
	align-self: start;
	font-size: .8em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: 1px solid black;
	border-radius: 10px;
	padding: 0 8px;
	text-transform: capitalize;
}

	.calendar-event.not-selectable{
		pointer-events:none;
	}

	.calendar-event:not(.not-selectable):hover {
		-webkit-box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		-moz-box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		box-shadow: 0px 0px 5px 0px rgba(27,110,194,1);
		cursor: pointer;
	}

	.calendar-event.did-wrap {
		border-top-left-radius: 0;
		border-bottom-left-radius: 0;
	}

	.calendar-event.wrap-event {
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}

.calendar-body .day-label .day-abbr-word {
	display: none;
}

@media(max-width:1100px) {

	.calendar-body .day-label .day-abbr-word {
		display: flex;
	}

	.calendar-body .day-label .day-full-word {
		display: none;
	}
}
/* End Calendar Component*/


.mud-dialog .mud-dialog-title {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	border-bottom: 1px solid #dee2e6;
}

.mud-picker-static{
	width:fit-content;
	margin:auto;
}