html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 40px;
}

/* this needs to be added if the footer is on the page
@media (max-width: 991px) {
	body {
		margin-bottom: 112px;
	}
}
*/
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* 	height: 30px; */
	/* 	line-height: 30px; */
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: #fbfbfb;
	text-align: center;
}

.form-header {
	font-size: 2rem;
	border-bottom: 3px solid rgba(0, 0, 0, 0.125);
	text-align: right;
	margin-bottom: 0.5em;
}

.form-sub-header {
	font-size: 1.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.125);
	text-align: left;
	margin-bottom: 0.5em;
}

.form-footer {
	text-align: right;
	/* 	margin-bottom: 2em; */
}

tr[href]:hover, td[href]:hover, div[href]:hover, li[href]:hover,
	.clickable:hover {
	background-color: rgba(0, 0, 0, .05);
	cursor: pointer;
}

table.v-middle>tbody>tr>td, td.v-middle, table.v-middle>tbody>tr>th, th.v-middle {
	vertical-align: middle !important;
}

.v-bottom {
	position: relative;
	top: 100%;
	transform: translateY(-100%); 
}

.v-middle:not(table) {
	position: relative;
	top: 50%;
	transform: translateY(-50%); 
}

main {
	margin-top: 5px;
}

.content {
	margin-top: 0.25em;
}

.accordion .card-header .card-title:after {
	font-family: 'Font Awesome\ 5 Free';
	content: '\f0d8';
	font-weight: 900; /* Fix version 5.0.9 */
	float: right;
}

.accordion .card-header .card-title.collapsed:after {
	content: '\f0d7';
}

.accordion.menu {
	background-color: #f7f7f7;
}

.dropdown-menu-right {
	right: 0px !important;
	left: auto !important;
	top: 29px !important;
	transform: none !important;
}

.nav-tabs {
	margin-bottom: 5px;
}

.navbar-title {
	padding-left: 15px;
}

.navbar-bg {
	background-color: #ff8c00;
}

.navbar-bg-suite {
	background-color: #343a40 !important;
}

.navbar-bg-suite-uat {
	background-color: #521804 !important;
}

.navbar-bg-localhost {
	background-color: #390452 !important;
}

.navbar-toggler {
	color: #fff !important;
	border: none;
	cursor: pointer;
}

.card-header {
	cursor: pointer;
}

.field-spacer {
	margin-left: 0.5em;
}

a:hover {
	text-decoration: none;
}

.page-link.fa {
	line-height: 1.25;
}

.dropdown-toggle-no-caret:after {
	display: none;
}

label {
	font-weight: bold;
}

.table-menu {
	margin-top: 1em;
	margin-bottom: 0.5em;
}

.suite-card {
	margin-bottom: 5px;
}

/* The switch - the box around the slider */
.suite-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	margin-bottom: 0em;
}

/* Hide default HTML checkbox */
.suite-switch input {
	display: none;
}

/* 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%;
}

.middle {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.menu-icon {
	margin-left: 5px;
	width: 45px;
	text-align: center;
}

.avatar {
	margin-right: 15px;
}

.last-logged-in {
	color: #999686;
}

.suite-breadcrumb {
	margin-top: .25em;
	width: 100%;
	position: relative;
	display: flex;
	vertical-align: middle;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;

	--breadcrumb-active-color: #fff;
	--breadcrumb-active: #6a6e73;
	--breadcrumb-active-separator: #fff;
	--breadcrumb-active-hover: #4f5459;
	--breadcrumb-not-active-color: #fff;
	--breadcrumb-not-active: #a0a3a6;
	--breadcrumb-not-active-separator: #fff;
	--breadcrumb-item-color: #343a40;
	--breadcrumb-item: #f1f2f2;
	--breadcrumb-item-hover: #d6d7d9;
	--breadcrumb-item-border: #e9ecef;
}

.suite-breadcrumb>.suite-breadcrumb-item:first-child:not(:last-child) {
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}

.suite-breadcrumb>.suite-breadcrumb-item:last-child:not(:first-child) {
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
}

.suite-breadcrumb>.suite-breadcrumb-item:first-child {
	margin-left: 0;
}

.suite-breadcrumb .suite-breadcrumb-item:first-child {
    padding: 6px 6px 6px 10px;
}
.suite-breadcrumb>.suite-breadcrumb-item {
	position: relative;
	float: left;
}
.suite-breadcrumb-item {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    background-image: none;
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.suite-breadcrumb .suite-breadcrumb-item:not(:last-child):before {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    left: 100%;
    z-index: 3;
}
.suite-breadcrumb .suite-breadcrumb-item:not(:last-child):after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 10px solid white;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    margin-left: -1px;
    left: 100%;
    z-index: 3;
}
.suite-breadcrumb .suite-breadcrumb-item {
    padding: 6px 12px 6px 24px;
}
.suite-breadcrumb>.suite-breadcrumb-item:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.suite-breadcrumb-item:last-child {
    color: var(--breadcrumb-item-color);
    background-color: var(--breadcrumb-item);
    border-color: var(--breadcrumb-item-border);
    width: 100%;
}
a.suite-breadcrumb-item:last-child:hover {
    background-color: var(--breadcrumb-item-hover);
}
.suite-breadcrumb .suite-breadcrumb-item.active:not(:last-child):before {
    border-left: 10px solid var(--breadcrumb-active-separator);
}
.suite-breadcrumb .suite-breadcrumb-item.active:not(:last-child):after {
    border-left: 10px solid var(--breadcrumb-active);
}
.suite-breadcrumb .suite-breadcrumb-item.active:hover:not(:last-child):before {
    border-left: 10px solid var(--breadcrumb-active-separator);
}
.suite-breadcrumb .suite-breadcrumb-item.active:hover:not(:last-child):after {
    border-left: 10px solid var(--breadcrumb-active-hover);
}
.suite-breadcrumb .suite-breadcrumb-item:not(:last-child):not(.active):before {
    border-left: 10px solid var(--breadcrumb-not-active-separator);
}
.suite-breadcrumb .suite-breadcrumb-item:not(:last-child):not(.active):after {
    border-left: 10px solid var(--breadcrumb-not-active);
}
.suite-breadcrumb-item.active:not(:last-child) {
    color: var(--breadcrumb-active-color);
    background-color: var(--breadcrumb-active);
    border-color: var(--breadcrumb-active);
}
.suite-breadcrumb-item.active:hover:not(:last-child) {
    color: var(--breadcrumb-active-color);
    background-color: var(--breadcrumb-active-hover);
    border-color: var(--breadcrumb-active-hover);
}
.suite-breadcrumb-item:not(.active):not(:last-child) {
    color: var(--breadcrumb-not-active-color);
    background-color: var(--breadcrumb-not-active);
    border-color: var(--breadcrumb-not-active);
}

.filter-badge:first-child {
	margin-left: 0px;
}

.filter-badge {
	margin-left: 5px;
	font-size: 14px;
}

/* BEGIN: Twitter typeahead additions for bootstrap 4 */
span.twitter-typeahead .tt-menu {
	cursor: pointer;
}

.dropdown-menu, span.twitter-typeahead .tt-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	float: left;
	min-width: 160px;
	padding: 5px 0;
	margin: 2px 0 0;
	font-size: 1rem;
	color: #373a3c;
	text-align: left;
	list-style: none;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0.25rem;
}

span.twitter-typeahead .tt-suggestion {
	display: block;
	width: 100%;
	padding: 3px 20px;
	clear: both;
	font-weight: normal;
	line-height: 1.5;
	color: #373a3c;
	text-align: inherit;
	white-space: nowrap;
	background: none;
	border: 0;
}

span.twitter-typeahead .tt-suggestion:focus, .dropdown-item:hover, span.twitter-typeahead .tt-suggestion:hover
	{
	color: #2b2d2f;
	text-decoration: none;
	background-color: #f5f5f5;
}

span.twitter-typeahead .active.tt-suggestion, span.twitter-typeahead .tt-suggestion.tt-cursor,
	span.twitter-typeahead .active.tt-suggestion:focus, span.twitter-typeahead .tt-suggestion.tt-cursor:focus,
	span.twitter-typeahead .active.tt-suggestion:hover, span.twitter-typeahead .tt-suggestion.tt-cursor:hover
	{
	color: #fff;
	text-decoration: none;
	background-color: #0275d8;
	outline: 0;
}

span.twitter-typeahead .disabled.tt-suggestion, span.twitter-typeahead .disabled.tt-suggestion:focus,
	span.twitter-typeahead .disabled.tt-suggestion:hover {
	color: #818a91;
}

span.twitter-typeahead .disabled.tt-suggestion:focus, span.twitter-typeahead .disabled.tt-suggestion:hover
	{
	text-decoration: none;
	cursor: not-allowed;
	background-color: transparent;
	background-image: none;
	filter: "progid:DXImageTransform.Microsoft.gradient(enabled = false)";
}

span.twitter-typeahead {
	width: 100%;
}

.input-group span.twitter-typeahead {
	display: block !important;
}

.input-group span.twitter-typeahead .tt-menu {
	top: 2.375rem !important;
}

.input-group>.twitter-typeahead {
	position: relative;
	-ms-flex: 1 1 auto;
	-webkit-box-flex: 1;
	flex: 1 1 auto;
	width: 1%;
	margin-bottom: 0;
}

.input-group>.twitter-typeahead:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.input-group>.twitter-typeahead>.tt-input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.form-control.tt-input:focus {
	z-index: 3
}
/* END: Twitter typeahead additions for bootstrap 4 */

/* Make the date formatter have a white background */
.form-control.flatpickr-input {
	background-color: #fff;
}
.flatpickr-wrapper {
	width: 100%;
}

.vertical-align-middle {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

.form-inline>label {
	margin-right: 15px;
}

.navbar-suite {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: justify;
	justify-content: space-between;
	padding: .5rem 1rem;
}

.btn-email {
	padding-right: 0;
	padding-left: 0;
}

img.popup {
	cursor: pointer;
}

tbody.nowrap>tr>td {
	white-space: nowrap;
}

td.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

td.no-border, th.no-border {
	border: none !important;
}

.circle-100 {
	width: 100px;
	height: 100px;
	border-radius: 100%;
	border: 2px solid #212529;
	line-height: 80px;
	text-align: center;
	vertical-align: middle;
	display: inline-block;
}

.fa-circle {
	line-height: inherit;
	margin-top: 8px;
}

/* Tag/Attribute CSS - BEGIN */
.form-control.tags {
	padding: .0rem 0.25rem 0.25rem 0.25rem;
	height: auto;
}

.tag, .tag-add {
	margin-top: .25rem;
	margin-right: .25rem;
	font-size: initial;
	padding: 0.375rem 0.45rem 0.375rem 0.45rem;
}

.tag>span {
	padding: 5px;
}

.tag-add, .tag-edit, .tag-delete {
	cursor: pointer;
}

.tag>i {
	padding: .0rem 0.10rem .0rem .10rem;
}
/* Tag/Attribute CSS - END */
.trash {
	cursor: pointer;
}

.alert-outline {
	/* 	color: #383d41; */
	/*     background-color: #e2e3e5; */
	border-color: #d6d8db;
}

.tab-content-button-top {
	margin-top: -36px;
}

/* Table sorting */
.sortable {
	cursor: pointer;
}

.sortable:hover {
	background-color: #cce5ff;
}

.sorted-none:after {
	font-family: 'Font Awesome 5 Free';
	content: "\f0dc";
	float: right;
	padding-left: 1em;
}

.sorted-ascending:after {
	font-family: 'Font Awesome 5 Free';
	content: "\f0dd";
	float: right;
	padding-left: 1em;
	color: #0069d9;
}

.sorted-descending:after {
	font-family: 'Font Awesome 5 Free';
	content: "\f0de";
	float: right;
	padding-left: 1em;
	color: #0069d9;
}

.address-input-icon {
	cursor: pointer;
}

.address-secondary-line {
	width: 100%;
	margin-top: .25rem;
	font-size: 80%;
	color: #007bff;
}

.modal-map {
	height: 500px;
}

#history-modal .modal-dialog,
#history-modal .modal-content {
	height: 75vh;
}
#history-modal .modal-body {
/* 	max-height: calc(100vh - 195px); total height - header and footer */
}
#history-table-container,
#history-detail {
	max-height: calc(75vh - 217px); /* total height - header and footer */
	overflow-y: auto;
}

table.table-spreadsheet {
	font-size: 1em;
}
table.table-spreadsheet td,
table.table-spreadsheet th {
	white-space: nowrap;
	padding-left: 1em;
	padding-right: 1em;
	border: #dadce0 1px solid;
}

.h-20em {
	height: 20em!important;
}

button.float-right {
	margin-top: -7px;
}
