@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	background-color: #eef1f5;
}

h1:focus {
	outline: none;
}

a, .btn-link {
	color: #0071c1;
}

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

.blazor-error-boundary {
	background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2Qz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vZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
	padding: 1rem 1rem 1rem 3.7rem;
	color: white;
}

	.blazor-error-boundary::after {
		content: "An error has occurred."
	}

/*---------    LOGIN    ----------*/
.AppLogo-large {
	width: 15vw;
	padding-bottom: 2em;
}

.AppLogo-small {
	width: 90px;
}

.user, .pass {
	width: 76%;
	color: rgb(38, 50, 56);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 1px;
	background: rgba(136, 126, 126, 0.04);
	padding: 10px 20px;
	border: none;
	border-radius: 20px;
	outline: none;
	box-sizing: border-box;
	border: 2px solid rgba(0, 0, 0, 0.02);
	margin: 1em;
	text-align: center;
	font-family: 'Ubuntu', sans-serif;
}

	.user:focus, .pass:focus {
		border: 2px solid rgba(0, 0, 0, 0.18) !important;
	}

.submit {
	cursor: pointer;
	border-radius: 5em;
	color: #fff;
	background: linear-gradient(to right, #9C27B0, #E040FB);
	border: 0;
	padding-left: 40px;
	padding-right: 40px;
	padding-bottom: 10px;
	padding-top: 10px;
	font-family: 'Ubuntu', sans-serif;
	font-size: 13px;
	box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

form.form1 {
	padding-top: 40px;
	text-align: center;
}

.title {
	padding-top: 40px;
	color: #8C55AA;
	font-family: 'Ubuntu', sans-serif;
	font-weight: bold;
	font-size: 23px;
}

/*---------   NAVIGATION_BAR   ---------*/
.sidebar {
	min-height: 100vh;
	min-width: 11em;
	z-index: 9000;
	color: #757575;
	background-color: #37474f;
	background-image: none !important;
}

.sidebar-offset {
	margin-left: -1em !important;
	height: 3.5em;
	width: 90px;
	z-index: 20;
}

.nav-title {
	height: 3.5em;
	background-color: #7f6f98;
	padding-right: 2.5em;
}

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

.header-bar {
	display: inline-flex;
	width: 100%;
	z-index: 10000;
	position: fixed;
	top: 0;
	left: 0;
	max-height: 3.5em;
	min-height: 3.5em;
	padding-left: 0;
	background-color: #37474f;
	color: #757575 !important;
}

	.header-bar h1 {
		color: #455a64;
		background-color: #eef1f5;
		font-size: 32px;
		font-weight: 600;
		margin: 0 0 -5px 0;
		padding: 0.5em 1em 0.1em 1em;
		min-width: 6em;
	}

.header-skew1 {
	position: relative;
	top: 0;
	left: -5.75em;
	width: 4.75em;
	z-index: 10;
	display: block;
	background-color: #7f6f98;
	content: " ";
	-webkit-transform: skewX(30deg);
	-moz-transform: skewX(30deg);
	-ms-transform: skewX(30deg);
	-o-transform: skewX(30deg);
	transform: skewX(30deg);
}

.header-skew2 {
	position: relative;
	left: -9em;
	width: 3em;
	display: block;
	background-color: #37474f;
	content: " ";
	-webkit-transform: skewX(30deg);
	-moz-transform: skewX(30deg);
	-ms-transform: skewX(30deg);
	-o-transform: skewX(30deg);
	transform: skewX(30deg);
}

.header-bar .btn {
	color: #ffffff;
}

.header-bar .line {
	position: absolute;
	top: 0.5em;
	left: 18em;
	z-index: 2;
	width: 5em;
	height: 3px;
	background-color: #7a6a93;
	content: " ";
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0), 0 2px 2px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,0),0 2px 2px rgba(0,0,0,0.1);
	box-shadow: 0 1px 3px rgba(0,0,0,0), 0 2px 2px rgba(0,0,0,0.1);
}

.menuToggle {
	zoom: 1.5;
}

.logout {
	margin-left: auto;
	zoom: 1.75;
	z-index: 2000;
}

/*-----------   MAIN   ------------*/
.page {
	background-color: #eef1f5;
}

.main {
	width: 100vw;
}

.prevent-selection {
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*-----------   YES_NO_ARE_YOU_SURE   -----------*/
.overlay {
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #000000;
	opacity: 0.75;
	z-index: 10001;
}

.overlay-Body {
	background-color: #FFFFFF;
	width: 70%;
	height: auto;
	margin: 1em auto;
	padding: 1em;
	border-radius: 1.5em;
	box-shadow: 0px 10px 35px 2px rgba(0,0,0, 0.15);
	z-index: 10002;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.modalClose {
	margin: 0 0 auto auto;
	zoom: 1.75;
	z-index: 2000;
	padding: 0;
}

	.modalClose:focus {
		box-shadow: none;
		outline: none !important;
	}

/*-----------   MODAL   -----------*/
.modal-main-Body {
	background-color: #FFFFFF;
	width: 70%;
	height: fit-content;
	margin: 1em auto;
	padding: 1em;
	border-radius: 1.5em;
	box-shadow: 0px 10px 35px 2px rgba(0,0,0, 0.15);
}

.title {
	padding-top: 40px;
	color: #8C55AA;
	font-family: 'Ubuntu', sans-serif;
	font-weight: bold;
	font-size: 23px;
}

.close {
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgba(0,0,0,0);
	zoom: 2;
	border: none;
}

.txt48 {
	font-size: 48pt;
}

.colorRed {
	color: red;
}

.spinnerCentered {
	width: 3rem;
	height: 3rem;
	margin: auto;
}

/*-----------   ACCORDION   -----------*/
.card-header {
	width: 100%;
	background-color: rgba(127, 111, 152, 0.75);
	border: 1px #CCCCCC solid;
	margin: 0.5em 0 0 0;
	border-radius: 0.25em;
}

.card-body {
	padding: 1em;
	border: 1px #CCCCCC solid;
	border-radius: 0.25em
}

/*-----------   BUTTONS   -----------*/
.AlignRight {
	text-align: right;
	padding: 2px;
}

.grid-command-button {
	padding: 0 !important;
}

.gridCommandButtons {
	padding: 0 !important;
}

/*-----------   TOOLTIPS   -----------*/
.tooltip {
	position: relative;
	display: contents;
	border-bottom: 1px dotted black;
	color: blue;
	font-size: 1.5em;
}

	.tooltip .tooltiptext {
		visibility: hidden;
		width: 220px;
		background-color: #00000070;
		color: #fff;
		text-align: center;
		border-radius: 6px;
		padding: 5px 0;
		/* Position the tooltip */
		position: absolute;
		z-index: 1;
	}

	.tooltip:hover .tooltiptext {
		visibility: visible;
	}

/*-----------   INPUTS AND TABLES   -----------*/
input:disabled {
	color: #000000;
	background-color: rgba(0,0,0, 0.20);
}

.table-input {
	height: 100%;
	padding: 0.5em !important;
}

input[type=checkbox] {
	zoom: 1.5;
	vertical-align: middle;
}

tr:nth-child(even) {
	background-color: #7f6f98;
	color: #FFFFFF;
}

.table td {
	padding: 2px;
}

table tr:first-child {
	background-color: #37474f !important;
	color: #ffffff !important;
	font-weight: 600 !important;
}

table input {
	width: 100%;
	padding: 0;
	background-color: rgba(0,0,0,0.2);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type=number] {
	-moz-appearance: textfield;
}

tr:nth-child(0) {
	font-weight: 600 !important;
}

.smBoldFirstCol tr th:first-child,
.smBoldFirstCol tr td:first-child {
	width: 5em;
	min-width: 10em;
	max-width: 12em;
	font-weight: 600;
	word-wrap: break-word;
}

.width95 {
	width: 95%;
}

@media screen and (max-width: 600px) {
	/*-----------   MODAL   -----------*/
	.modal-main-Body {
		background-color: #FFFFFF;
		width: 98%;
		height: fit-content;
		margin: 1em auto;
		padding: 1em;
		border-radius: 1.5em;
		box-shadow: 0px 10px 35px 2px rgba(0,0,0, 0.15);
	}

	.close {
		font-size: 36pt !important;
	}
}
/*-----------   DROPDOWN SEARCH  -----------*/
.searchFormInput {
	width: 50vw;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	zoom: 1.25;
	padding: 5px;
	font-size: 12px;
}

.searchableDropDownTableResult {
	margin-top: 1.25em;
	width: 100%;
}

	.searchableDropDownTableResult > tr, .searchableDropDownTableResult > td {
		background-color: transparent;
		background: #ffffff;
		color: #000000 !important;
	}

		.searchableDropDownTableResult > tr:first-child {
			background: #ffffff;
			color: #000000 !important;
			background-color: #ffffff !important;
			font-weight: 400 !important;
		}

		.searchableDropDownTableResult > tr:hover {
			background-color: #d4d4d4;
			cursor: pointer;
		}

/*-----------   QUOTE PAGES  -----------*/

.newQuote {
	margin: 1rem;
	width: fit-content;
}

.searchCol {
	display: grid;
	grid-template-columns: 1fr, 1fr;
	gap: 1rem;
}

.summaryTable {
	width: 30rem;
	padding: 8px;
	font-size: 12px;
	text-align: right;
}

.tableContainer {
	flex: 1;
	margin-right: 20px;
}

.leaseDetailsTable {
	margin-top: 5em;
	width: 100%;
}

	.leaseDetailsTable td {
		text-align: right;
	}

	.leaseDetailsTable > tr, .leaseDetailsTable > th, .leaseDetailsTable > td {
		background-color: transparent;
		font-size: 12px;
	}

.totals {
	padding-right: -5rem;
}

.btns {
	text-align: center;
}

	.btns button {
		margin: 10px;
		font-size: 15px;
	}

.itemsDetails {
	border: 1px solid grey;
	margin-top: 7rem;
}

.costAdjustmentDetails, .leadDetails {
	border: 1px solid grey;
}

.leadHeader {
	background-color: #655380;
	color: white;
	padding: 0.5rem;
}

.itemsDetailsHeader {
	background-color: #4f4d52;
	color: white;
	padding: 0.5rem;
}

.costDetailsHeader {
	background-color: #423654;
	color: white;
	padding: 0.5rem;
}

.contactsFirstCol, .contactsSecondCol {
	display: grid;
	grid-template-columns: 1fr, 1fr;
	gap: 1rem;
}

	.contactsFirstCol input {
		width: 40vw;
		height: 20px;
	}

	.contactsSecondCol input {
		width: 40vw;
		height: 20px;
	}

.mainBtns button {
	width: 10rem;
	font-size: 15px;
}

	.mainBtns button:hover {
		background: #d4d4d4;
	}

.btn-submit {
	background-color: #abcded;
}

	.btn-submit:hover {
		background-color: #8cb6db;
	}

.btn-save {
	background-color: #bce6d1;
}

	.btn-save:hover {
		background-color: #b0d6c3;
	}

.customerDetails {
	border: 1px solid grey;
	width: fit-content;
}

.customerDetailsHeader {
	background-color: #4f4d52;
	color: white;
	padding: 0.5rem;
}

.customerBillingDetailsHeader {
	background-color: #423654;
	color: white;
	padding: 0.5rem;
}

.customerShippingDetailsHeader {
	background-color: #655380;
	color: white;
	padding: 0.5rem;
}

.customerForm {
	display: flex;
	flex-direction: column;
	width: fit-content;
}

.details, .comments {
	border: 1px solid grey;
	width: 50%;
}

.leadHeader {
	background-color: #655380;
	color: white;
	padding: 0.5rem;
}

.detailsHeader {
	background-color: #4f4d52;
	color: white;
	padding: 0.5rem;
}

.commentsHeader {
	background-color: #423654;
	color: white;
	padding: 0.5rem;
}

.checklist {
	border: 1px solid grey;
	margin-top: 2rem;
}

.checklistHeader {
	background-color: #4f4d52;
	color: white;
	padding: 0.5rem;
}

.checklistMain {
	display: flex;
	flex-direction: column;
	padding: 10px;
}

.custDetailsTbls {
	padding: 1rem;
	display: flex;
	flex-direction: row;
	gap: 2rem;
}

/* CUSTOM RULES */
.bw-alternating-rows > tr:nth-child(even) {
	background-color: #cccccc !important;
	color: #FFFFFF;
}

.btn {
	margin-right: 1em;
}

.bw-alternating-rows > tr, .bw-alternating-rows > td {
	color: #eef1f5 !important;
}

.searchableDropDownTableResult > td {
	color: #000000 !important;
}
/* CUSTOM RULES END */

/* FINANCIAL HEADER */
.financialHeaderOne {
	position: fixed;
	top: 5em;
	width: 100%;
	background: #eef1f5;
	margin: -5em -10em -2em -5em;
	padding: 5em 10em 2em 5em;
	z-index: 8999;
}

.header {
	display: flex;
	flex-direction: row;
	color: white;
	background-color: #37474f !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 12px;
}

	.header label {
		width: 12em;
		text-align: left;
		display: flex;
		align-items: center;
	}

.rowData label {
	width: 12em;
	text-align: left;
}

.mainBody {
	display: flex;
	flex-direction: row;
	width: 100%;
	position: relative;
	z-index: inherit;
}

.mainBody2 {
	display: grid;
	justify-content: flex-end;
	width: 90%;
	position: fixed;
	right: 1em;
	z-index: 1;
	top: inherit;
}

.rowData {
	display: flex;
	flex-direction: row;
	font-size: 12px;
}

.container {
	display: flex;
	flex-direction: column;
	width: fit-content;
}

	.container label {
		padding: 0 1em 0 1em;
	}

/* FINANCIAL HEADER END */

@media screen and (max-width: 1690px) {
	.mainBtns {
		margin-right: 2rem;
	}

	.mainBody {
		flex-direction: column;
	}

	 html, body {
		zoom: 0.8;
	}

	.financialHeaderOne {
		position: absolute;
	}

	.newQuote{
		margin-top: 25em;
	}

	.customerForm {
		margin-top: 9em;
	}

	.leaseDetailsTable {
		margin-top: 2em;
	}

	.btns {
		margin-left: 10em;
	}

	.custDetailsTbls {
		flex-direction: column;
	}
}

@media screen and (max-width: 1080px) {
	.container {
		flex-direction: row;
	}

	.header {
		flex-direction: column;
	}

	.rowData {
		flex-direction: column;
	}

		.rowData label {
			display: flex;
			align-items: center;
			border: 1px solid grey;
		}

	.btns {
		margin-left: 1em;
	}
}