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

a:hover {
	text-decoration: none;
}

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

/* Breadcrumb */
.core-breadcrumb {
	margin-top: 0.75em;
	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;
}

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

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

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

.core-breadcrumb .core-breadcrumb-item:first-child {
    padding: 6px 6px 6px 10px;
}
.core-breadcrumb>.core-breadcrumb-item {
	position: relative;
	float: left;
}
.core-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;
}
.core-breadcrumb .core-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;
}
.core-breadcrumb .core-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;
}
.core-breadcrumb .core-breadcrumb-item {
    padding: 6px 12px 6px 24px;
}
.core-breadcrumb>.core-breadcrumb-item:not(:first-child):not(:last-child) {
    border-radius: 0;
}

.core-breadcrumb-item:last-child {
    color: var(--breadcrumb-item-color);
    background-color: var(--breadcrumb-item);
    border-color: var(--breadcrumb-item-border);
    width: 100%;
}
a.core-breadcrumb-item:last-child:hover {
    background-color: var(--breadcrumb-item-hover);
}
.core-breadcrumb .core-breadcrumb-item.active:not(:last-child):before {
    border-left: 10px solid var(--breadcrumb-active-separator);
}
.core-breadcrumb .core-breadcrumb-item.active:not(:last-child):after {
    border-left: 10px solid var(--breadcrumb-active);
}
.core-breadcrumb .core-breadcrumb-item.active:hover:not(:last-child):before {
    border-left: 10px solid var(--breadcrumb-active-separator);
}
.core-breadcrumb .core-breadcrumb-item.active:hover:not(:last-child):after {
    border-left: 10px solid var(--breadcrumb-active-hover);
}
.core-breadcrumb .core-breadcrumb-item:not(:last-child):not(.active):before {
    border-left: 10px solid var(--breadcrumb-not-active-separator);
}
.core-breadcrumb .core-breadcrumb-item:not(:last-child):not(.active):after {
    border-left: 10px solid var(--breadcrumb-not-active);
}
.core-breadcrumb-item.active:not(:last-child) {
    color: var(--breadcrumb-active-color);
    background-color: var(--breadcrumb-active);
    border-color: var(--breadcrumb-active);
}
.core-breadcrumb-item.active:hover:not(:last-child) {
    color: var(--breadcrumb-active-color);
    background-color: var(--breadcrumb-active-hover);
    border-color: var(--breadcrumb-active-hover);
}
.core-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);
}

/* The switch - the box around the slider */
.core-switch {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
	margin-bottom: 0em;
}
.core-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%;
}

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

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

.form-footer {
	border-top: 2px solid rgba(0, 0, 0, 0.125);
	text-align: center;
	margin-top: 0.5em;
	padding-top: 0.5em;
}

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

/* 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 */
.address-secondary-line {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #007bff;
}

#downloadConfirmModal .modal-content .modal-body{
	max-height: calc(100vh - 3.7rem - 65px); 
	overflow-y: auto;
}

#filter-dropdown {
	max-height: 650px;
	overflow-y: auto;
}

#badge-change {
	color: red;
	font-weight: bold;
}

.modal-map {
    height: 500px;
}

#tab-version .btn.btn-icon {
    cursor: pointer;
}

.badge-pill:not(:first-child) {
	margin-left: .25rem;
}