﻿/* -----------------------------------------------
Global Styles
----------------------------------------------- */

body {
	background: #fff;
}

.rs-app-loading-container {
	width: 100%;
	height: 100%;
	min-height: calc(100vh - 115px);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Blazor-Framework Style Overrides */
#blazor-error-ui {
	display: none;
	width: 100%;
	background: #fff;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding: 1rem;
	text-align: center;
}

.validation-message {
	color: #dc3545;
}

/* Buffini.UI Style Overrides */
.b-app-footer {
	padding-bottom: 4rem;
}

/* General Styles */
.b-form-control.invalid {
	border-color: #dc3545;
}

/* General Styles */
.rs-app-container {
	display: flex;
	/*justify-content: space-between;*/
	flex-direction: column;
	min-height: 100vh;
	margin-top: 60px;
}

.rs-header {
	background: transparent;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.rs-header-primary {
	display: flex;
	align-items: center;
}

.rs-header-secondary {
	display: flex;
	align-items: center;
}

.rs-header-view-title {
	margin-top: 0.75rem;
	margin-left: 1rem;
	padding-left: 1rem;
	line-height: 3;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 1.125rem;
}

.rs-header-logo {
	width: 300px;
	transition: all 0.5s ease-in-out;
	margin-left: 1rem;
}

@media all and (max-width: 640px) {
	.rs-header-logo {
		width: 215px;
	}
}

.rs-view {
	min-height: calc(100vh - 180px);
	padding: 1rem;
}

.rs-view-loading {
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	width: 100%;
	max-height: 100vh;
}

.b-button.rs-button-red {
	color: #fff;
	background-color: #e53058;
	border-color: #e53058;
}

.b-button.rs-button-red:hover, .b-button.rs-button-red:focus {
	background-color: #e74468;
	border-color: #e74468;
}

.b-button.rs-button-outline-red {
	background-color: transparent;
	border-color: #e53058;
	color: #e53058;
}

.b-button.rs-button-outline-red:hover, .b-button.rs-button-outline-red:focus {
	color: #e74468;
	border-color: #e74468;
}

.b-button.rs-button-blue {
	color: #fff;
	background-color: #0160a3;
	border-color: #0160a3;
}

.b-button.rs-button-blue:hover, .b-button.rs-button-blue:focus {
	background-color: #0270be;
	border-color: #0270be;
}

.b-button.rs-button-light-blue {
	color: #fff;
	background-color: #0097d2;
	border-color: #0097d2;
}

.b-button.rs-button-light-blue:hover, .b-button.rs-button-light-blue:focus {
	background-color: #01a9eb;
	border-color: #01a9eb;
}

.b-button.rs-button-purple {
	color: #fff;
	background-color: #a82274;
	border-color: #a82274;
}

.b-button.rs-button-purple:hover, .b-button.rs-button-purple:focus {
	background-color: #bc207f;
	border-color: #bc207f;
}

.rs-view-loading {
	width: 100%;
	position: absolute;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	width: 100%;
	max-height: 100vh;
}

.rs-not-found-view-content {
	width: 95%;
	max-width: 550px;
	margin: auto;
	padding: 2rem;
	background: #fff;
	text-align: center;
	font-size: 1.125rem;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 5px;
}

.rs-global-error-view {
	width: 95%;
	max-width: 550px;
	margin: auto;
}

/*TODO: add this to Buffini UI*/
.b-overlay {
	display: none;
	pointer-events: none;
	z-index: 500;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	overflow: auto;
}

/*TODO: add this to Buffini UI*/
.b-overlay.is-visible {
	display: flex;
	pointer-events: all;
	cursor: pointer;
}