@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: #000000;
	background-color: #F4C600;
	border-color: #F4C600FF;
}

	.btn-primary:hover {
		color: #000000;
		background-color: #D4B600;
		border-color: #D4B600;
	}

app {
	position: relative;
	display: flex;
	flex-direction: column;
}

.top-row {
	height: 3.9rem;
	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;
		}

.navbar-black {
	background-color: black;
}

.strex-image {
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: 2.5rem;
}


.sidebar {
	background-color: black;
	height: 100vh;
	position: sticky;
	top: 0;
	overflow-y: auto;
	z-index: 1;
}

	.sidebar .top-row {
		background-color: black;
	}

	.sidebar .navbar-brand {
		width: 100%;
	}

	.sidebar .oi {
		width: 2rem;
		font-size: 1.1rem;
		vertical-align: text-top;
		top: -2px;
	}

	.sidebar .nav-item {
		font-size: 0.9rem;
		padding-bottom: 0rem;
	}

		.sidebar .nav-item:first-of-type {
			padding-top: 0rem;
		}

		.sidebar .nav-item:last-of-type {
			padding-bottom: 1rem;
		}

		.sidebar .nav-item a {
			color: #d7d7d7;
			border-radius: 4px;
			height: 2.5rem;
			display: flex;
			align-items: center;
			line-height: 2.5rem;
		}

			.sidebar .nav-item a.active {
				background-color: rgba(255,255,255,0.15);
				color: #F4C600;
			}

			.sidebar .nav-item a:hover {
				background-color: rgba(255,255,255,0.1);
				color: #F4C600;
			}

	.sidebar::-webkit-scrollbar, .column-chooser ul::-webkit-scrollbar {
		width: 5px;
	}

	.sidebar::-webkit-scrollbar-track {
		background: var(--sidebar-bg-color, black);
	}

	.sidebar::-webkit-scrollbar-thumb, .column-chooser ul::-webkit-scrollbar-thumb {
		background: var(--sidebar-webkit-scrollbar-thumb-color, #888);
	}

		.sidebar::-webkit-scrollbar-thumb:hover, .column-chooser ul::-webkit-scrollbar-thumb:hover {
			background: var(--sidebar-webkit-scrollbar-thumb-hover-color, #555);
		}

.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;
}

.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: 270px;
	}

	.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;
	}
}

.card table div > a {
	font-weight: bold;
	font-size: 14px;
}

.card table thead {
	background-color: #f6f6f6;
}

/*.card table tr:hover {
	background-color: #d4d4d4;
}*/

.card table tr {
	height: 36px;
}

.card table td {
	padding-left: 10px;
	font-size: 14px;
}

.card .datagrid-alternate:nth-child(even) {
	background-color: #f6f6f6;
}

.card .page-item {
	font-size: 14px;
}

	.card .page-item.active .page-link {
		color: black;
		background-color: #e9ecef;
		border-color: #e9ecef;
		font-size: 14px;
	}

.card .page-link {
	color: black;
}

.card .col-form-label {
	font-size: 14px;
}

.card .form-control {
	font-size: 14px;
}

.card .btn {
	font-size: 14px;
}

.card .dropdown-item {
	font-size: 14px;
}

.card .bg-primary {
	color: black !important;
	background-color: #e9ecef !important;
}

.spinner {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 10px;
}

.datepicker {
	width: 300px;
	margin-top: 6px;
	margin-bottom: 6px;
}

.widget {
	margin: 0px 19px 19px 0px;
	padding: 15px;
	min-width: 280px;
	min-height: 160px;
	float: left;
	box-shadow: rgb(50 50 93 / 25%) 0px 20px 13px -16px, rgb(0 0 0 / 30%) 0px 10px 10px -20px, rgb(10 37 64 / 35%) 0px 0px 6px -1px inset;
}

.widget-header {
	font-weight: 600;
}

.widget-content {
	font-size: 30px;
	font-weight: bold;
	word-break: break-all;
}

.widget ul {
	width: 100%;
	text-align: left;
	list-style: decimal;
	margin: 0px;
	padding-inline-start: 15px;
}

	.widget ul div {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

.margin-top-25 {
	margin-top: 25px;
}

.margin-right-5 {
	margin-right: 5px;
}

.margin-bottom-10 {
	margin-bottom: 10px;
}

.padding-top-5 {
	padding-top: 5px;
}

.expand-collapse .bg-primary {
	background-color: unset !important;
}

.expand-collapse .oi-chevron-bottom, .expand-collapse .oi-chevron-right {
	margin-top: 3px;
	width: 15px;
	font-size: 12px;
}

.expand-collapse .oi-chevron-bottom {
	display: none;
}

.expand-collapse .oi-chevron-right {
	display: block;
}

.expand-collapse .table-active .oi-chevron-right {
	display: none !important;
}

.expand-collapse .table-active .oi-chevron-bottom {
	display: block !important;
}

.expand-collapse .datagrid-alternate:hover {
	cursor: pointer;
}

.dxbs-gridview th {
	text-transform: uppercase;
}

.dxbs-gridview-row-details:hover {
	cursor: default;
}

.invoice-details-table {
	width: 100%;
	margin: 10px 0px;
}

.modal-dialog {
	max-width: 700px;
}

.modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal-header {
	background-color: #f4c600;
	padding-left: 2rem;
	font-weight: bold;
}

.invoice-edit-icon {
	cursor: pointer;
	color: #0056b3;
	margin: 5px;
}

.invoice-delete-icon {
	cursor: pointer;
	color: #ff1100;
	margin: 5px;
}

.invoice-edit-icon-sent, .invoice-delete-icon-sent {
	color: #949494;
	margin: 5px;
}

.btn-primary, .btn-primary:disabled, .btn-primary:focus {
	color: #000000;
	background-color: #F4C600;
	border-color: #F4C600FF;
}

.blazored-toast-container {
	z-index: 1051;
}

.dxbs-indent-cell {
	display: none;
}

.report-row {
	color: #959595;
	background-color: #f6f6f6;
	font-weight: 700;
	line-height: 2.25;
	margin-left: 0px;
	margin-right: 0px;
	border-left: 1px;
	border-right: 1px;
	border-bottom: 1px;
}

.report-header {
	color: #000000;
	background-color: #f6f6f6;
	font-weight: 400;
	font-size: 1.05rem;
	line-height: 2.5;
	margin-left: 0px;
	margin-right: 0px;
	border: 1px;
}

.report-footer {
	color: #000000;
	background-color: #ffffff;
	font-weight: 700;
	font-size: 1.0rem;
	line-height: 3;
	margin-left: 0px;
	margin-right: 0px;
	border: 1px;
}

	.report-header div, .report-row div, .report-footer div {
		padding-right: 10px;
		padding-left: 10px;
	}

.report-number {
	color: rgba(51,51,51,.7);
}

.export-file {
	padding: 3px 10px;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #333;
	font-size: 20px;
	border-radius: 5px;
	cursor: pointer;
}

	.export-file:hover {
		background-color: #e2e6ea;
		border-color: #dae0e5;
	}

.grid-wrapper {
	position: relative;
}

.grid-content-loading {
	background: #e9e9e9;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0.5;
	height: 100%;
	width: 100%;
	z-index: 10;
	text-align: center;
}

.link {
	color: #007bff !important;
	font-weight: normal !important;
	cursor: pointer;
}

	.link:hover {
		color: #0056b3 !important;
		text-decoration: underline !important;
	}

.search-box {
	width: 170px;
	float: left;
	margin-right: 5px;
}
