:root {
  --main-bg-color: AliceBlue;
  --see-through-bg-color: #f0f8ffC0;
  --control-bg-color: white;
  --error-color: red;
  --message-color: purple;
}

.headerBar {
	width: 100%;
	align: center;
	background-color: #bbddff;
}
.headerBarTitle {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	width: 70%;
	text-align: left;
}
.headerBarLinks {
	font-size: 0.8em;
	width: 30%;
	text-align: right;
}

.spaceBox {
	padding-top: 4px;
	padding-bottom: 10px;
}
.spaceBox2 {
	padding-top: 4px;
	padding-bottom: 4px;
}
.spaceBox3 {
	padding-top: 4px;
	padding-bottom: 20px;
}
.cardBack1 {
	background-color: #D5E9F7;
}
.cardBack2 {
	background-color: #D5E9F7;
}
.outerCard {
	width: 100%;
	margin: 0px, auto;
	border: 1px solid;
	border-radius: 4px;
	padding-top: 2px;
	padding-bottom: 4px;
}
.innerCard {
	align: center;
	border-style: hidden;
}
.innerCard0 {
	width: 0px;
	margin: auto;
	align: center;
	border-style: hidden;
}
.innerCard1 {
	width: 200px;
	margin: auto;
	align:center;
	border-style:hidden;
}
.innerCard2 {
	width: 800;
	margin: auto;
	align: center;
	border-style: hidden;
}
.innerCard3 {
	width: 1000;
	margin: auto;
	align: center;
	border-style: hidden;
}
.loginGrid {
	display: inline-grid;
	grid-template-columns: auto auto;
	column-gap: 10px;
	row-gap: 2px;
	margin-bottom: 4px;
}

.oneBigColumn {
	width: 100%;
	text-align: center;
}
.centeredBlock {
	display: block;
	text-align: center;
	margin: 0 auto;
}

.clientContracts {
	table-layout: fixed;
	margin-left: auto;
	margin-right: auto;
	padding: 4px 4px 4px 0px;
	border-radius: 4px;
	background-color: #D6EAF8;
}
.clientBox {
	width: 800px;
	padding: 0px 4px;
	background-color: #EBF5FB;
}
.contractBox {
	width: 800px;
	padding: 0px 4px;
	background-color: #EBF5FB;
}
.marketPools {
	table-layout: fixed;
	margin-left: auto;
	margin-right: auto;
	padding: 4px 4px 4px 0px;
	border-radius: 4px;
	background-color: #D6EAF8;
}
.marketPoolsBox {
	width: 600px;
	padding: 0px 4px;
	background-color: #EBF5FB;
}
.productsBox {
	table-layout: fixed;
}

.buttonLink {
	background:none!important;
	border:none; 
	padding:0!important;
	font: inherit;
	font-size: 0.8em;
	cursor: pointer;
	text-decoration: underline;
	float: left;
	align: center;
}

.dateField {
	width: 200px;
	text-align: center;	
	padding-left: 4px;
}
.phoneField {
	width: 40px;
	text-align: center;	
}
.extraWideField {
	width: 750px;
}
.widerField {
	width: 500px;
}
.wideField {
	width: 250px;
}
.mediumWideField {
	width: 160px;
}
.mediumField {
	width: 120px;
}
.smallField {
	width: 80px;
}
.smallerField {
	width: 56px;
}
.evenSmallerField {
	width: 40px;
}
.outlineCell {
	border: 1px solid #1E90FF;
	border-radius: 2px;
}
.outlineColor {
	color: #1E90FF;
}
.smallSpacer {
	width: 40px;
}

.hidden {
	display: none;	
}

.messageText {
	color: DarkMagenta;
	font-size: 0.8em;
}
.messageText0 {
	color: DarkMagenta;
}
.greyText {
	color: LightGrey;
}
.errorText {
	color: red;
}
.warningText {
	color: orange;
}
.okText {
	color: blue;
}
.activeStatus {
	color: green;
}
.inactiveStatus {
	color: red;
}
.bold {
	font-weight: bold;
}
.lessSlightlySmallText {
	font-size: 0.9em;
}
.slightlySmallText {
	font-size: 0.8em;
}
.smallText {
	font-size: 0.7em;
}
.slightlyLargeText {
	font-size: 1.1em;
}
.largeText {
	font-size: 1.2em;
}

.alignLeft {
	text-align: left;
}
.alignCenter {
	text-align: center;
}
.alignRight {
	text-align: right;
	padding-right: 4px;
}
.alignTop {
	vertical-align: text-top;
}

.subTable {
	display: table;
	table-layout: fixed;
	font-size: 1.0em;
}

.tooltip {
    position: relative;
    display: inline-block;
}
.tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 5px;
    border-radius: 4px;
    font-weight: normal;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
.primaryColor {
	background-color: #9FF7E8;
}
.secondaryColor {
	background-color: #F7F79F;
}
.tertiaryColor {
	background-color: #FEE38B;
}

.hr { 
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
}

h1 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.1em;
}

h2 {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1.0em;
}

body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color: var(--main-bg-color);
}

label {
	text-align: right;
	font-weight: bold;
	font-size: 1.0em;
}

input {
	font-weight: normal;
}

th {
	text-align: left;
	padding-left: 4px;
	border-bottom: solid 1px;
}

tr.noPadding {
	padding: 0;
}
td.lrPadded {
	padding-left: 4px;
	padding-right: 4px;
}
td.noPadding {
	padding: 0;
}

table.data {
	table-layout: fixed;
	margin-left: auto; 
	margin-right: auto;
}
table.layout {
	table-layout: auto;
	margin: 0;
	padding: 0;	
}
table.layoutFixed {
	table-layout: fixed;
	margin: 0;
	padding: 0;	
}
.layoutLeft {
	margin-left: 0;
	text-align: left;
}
/* Spark BDC specific classes, contract editing */
.sparkBdcArea {
	margin-top: 8px;
	vertical-align: text-top;
	width: 640px;
}
.sparkBdcAreaCol1 {
	margin-left: 0;
	width: 120px;
}
.sparkBdcPhonesDisplay {
	margin: 0;
	overflow: auto;
	border: 1px solid #D6EAF8;
	padding: 2px;
	text-align: justify;
	background: transparent;
	float: left;
	line-height: 1em;
	height: 3em;
	width: 160px;
	font-size: 0.9em;
}

/* Spark BDC specific classes, transactions display */
.sparkBdcTransactionTries {
	width: 15px;
	text-align: center;
}
.sparkBdcTransactionTime {
	width: 80px;
	text-align: center;
}
.sparkBdcTransactionState {
	width: 60px;
	text-align: center;
}
.sparkBdcTransactionPhone {
	width: 70px;
	text-align: center;
}
.sparkBdcTransactionLeadName {
	width: 120px;
	text-align: center;
}
.sparkBdcTransactionContactId {
	width: 70px;
	text-align: center;
}
.sparkBdcTransactionLeadId {
	width: 60px;
	text-align: center;
}
.sparkBdcTransactionContractId {
	width: 60px;
	text-align: center;
}
.sparkBdcTransactionGuid {
	width: 120px;
	font-size: 0.7em;
	text-align: center;
}
.sparkBdcTransactionActivityModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.sparkBdcTransactionActivityModalContent {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modalEditWindow {
	display: none;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: #00000080;
}
/* user management pages */
.noteTextArea {
	width: 100%;
	max-width: 100%;
}
.rolesArea {
	width: 400;
	max-width: 500px;
}
.clientRolesArea {
	border: 1px solid black;
}
.userClientRolesList {
	display: grid;
	width: 500px;
	max-width: 500px;
	grid-template-columns: 80px, auto-fit;
	max-height: 6em;
	line-height: 1.2em;
	column-gap: 8px;
	overflow: auto;
}
.userClientRolesList .groupRole {
	grid-column: 1;
	text-align: right;
}
.userClientRolesList .client {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	grid-column: 2;
}
.clientRolesSelectBox {
	display: inline-block;
	position: absolute;
	left: 50%;
	top: 100px;
	transform: translate(-50%, -100px);
	background-color: var(--main-bg-color);
	margin: 15% auto;
	padding: 20px;
	border-radius: 4px;
}
/* client user roles for add/edit dealer */
.userRolesArea {
	border: 1px solid black;
}
.clientUserRolesList {
	display: grid;
	grid-template-columns: 80px, auto-fit;
	max-height: 6em;
	line-height: 1.2em;
	column-gap: 8px;
	overflow: auto;
}
.clientUserRolesList .groupRole {
	grid-column: 1;
	text-align: right;
}
.clientUserRolesList .user {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	grid-column: 2;
}
.userRolesSelectBox {
	display: block;
	position: absolute;
	left: 50%;
	top: 100px;
	transform: translate(-50%, -100px);
	background-color: var(--main-bg-color);
	margin: 15% auto;
	padding: 20px;
	border-radius: 4px;
}
.userRolesSelectRow {
	width: 320px;
	max-width: 320px;
	padding: 2px;
}
.userRolesSelect {
	width: 250px;
}
.userRolesSearch {
	width: 213px;
}
.primeLeadsGridTitle {
	font-weight: bold;
}
.primeLeadsGrid {
	display: inline-grid;
	grid-template-columns: max-content max-content minmax(min-content, 1fr) minmax(min-content, 1fr) minmax(min-content, 2fr);
	column-gap: 20px;
	row-gap: 4px;
	padding: 4px;
}
.primeLeadsGrid > .header {
	font-weight: bold;
	justify-self: center;
	align-self: end;
}
.primeLeadsGrid > span {
	justify-self: left;
}
.primeLeadsGrid > .row-border {
	border-top: 1px solid grey;
	grid-column: span 5;
}
