@import url('https://fonts.googleapis.com/css2?family=Martel+Sans:wght@200;300;400;600;700;800;900&display=swap');
/* branding variables */
:root {
	--orange: #ef9538;
    --navy: #22667F;
	--umblue: #1a1a1a;
	--maize: #ffcb05;
    --red: #f38d68;
	--green: #3AB800;
    --darkGray: #343a40;
	--alice: #f3f9ff;
	--midnight: #0b0700;
    --minionYellow: #ef9538;
    --lightGray: #e2e2e2;
	--hover: #ef9538;
	--quartz: #998da0;
    --smooth: .3s ease-in-out;
    --quick: .15s ease-in-out;
    --slow: 1s ease-in-out;
}

/* app home styles */
.particles {
	position: fixed;
	inset: 0;
	overflow: hidden;
	background:
		radial-gradient(
			ellipse at center,
			#f3f3f3 0%,
			#bdbbba 70%
		);
	z-index: -1;
}

.dot {
	position: absolute;
	bottom: -20px;
	background: var(--orange);
	border-radius: 50%;
	opacity: 0;
	box-shadow: 0 0 10px rgba(255, 117, 24, 0.4);
	animation: floatUp linear infinite;
}

@keyframes floatUp {
	0% {
		transform: translateY(0) translateX(0);
		opacity: 0;
	}

	10% {
		opacity: var(--opacity);
	}

	50% {
		transform: translateY(-50vh) translateX(30px);
	}

	90% {
		opacity: var(--opacity);
	}

	100% {
		transform: translateY(-110vh) translateX(-20px);
		opacity: 0;
	}
}

.app-login {
	opacity: 1;
}

.app-login.grow {
	transition: var(--slow);
	transform: scale(1.2);
}

.smooth {
	transition: var(--smooth);
}

.text-xs {
	font-size:.6rem !important;
}
.text-sm {
	font-size:.8rem !important;
}

.text-md {
	font-size:.95rem !important;
}

.blurred {
	filter: blur(3px);
	user-select: none !important;
}

body {
	min-height: 100vh;
	background: #ffffff;
	background-size: cover;
	background-repeat: no-repeat;
	opacity: 1;
	transition: .3s ease-in-out;
}

body,html,body *, html * {
	font-family: "Martel Sans", sans-serif !important;
}

body * {
	font-family: 'Share Tech', sans-serif;
	font-size: inherit;
}

#checkin-badge-container .modal-content {
	box-shadow:  none !important;
}

.checkin-badge-container {
	background-color: var(--brand) !important;
}

#paywall-restriction {
	max-width: 100vw;
	min-height: 100vh;
	min-width: 100vw;
	background-color: var(--orange);
}

#content, #content::before {
	z-index: 2;
	flex: 0 1 10000px;
}

#content {
	padding-bottom: 25vh !important;
}

.menu-icon {
	cursor: pointer;
}

.menu-icon:hover {
	color: var(--orange);
}

main {
	position: relative;
	top: 0;
}

#menu  {
	background-color: #ffffff;
	max-width: 250px;
	min-width:250px;
	margin-left: -250px;
	display: block;
	z-index: 3;
	position: sticky;
	top: 0;
}

/* The side menu stays on screen while the page scrolls (all five apps share this).
   #menu is as tall as the page, so the part that sticks is the box inside it: one screen tall, pinned to the
   top. A menu longer than the screen scrolls inside that box, with the logo and Log Out pinned to its ends. */
#menu .menu-container {
	position: sticky;
	top: 0;
	left: 0;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
}

#menu .menu-container .logo {
	position: sticky;
	top: 0;
	z-index: 1;
}

#menu .menu-control {
	position: absolute;
	right: -40px;
}

#menu.expanded {
	margin-left: 0px;	
	/*box-shadow: 0 0 2rem 0 rgba(0,0,0,.05);*/
}

#menu.expanded .menu-container .active-link {
	background-color: var(--lightGray);
	color: var(--midnight);
}

#menu .menu-container {
	display: flex;
	flex-direction: column;
}

/* the menu items take the room between the logo and Log Out, which keeps Log Out at the bottom of the screen */
#menu .menu-container > .logo + div {
	flex: 1 0 auto;
}

#menu .menu-container .menu-item {
	cursor: pointer;
}

#menu .menu-container .menu-item a {
	color: var(--midnight) !important;
	text-decoration: none !important;
}

#menu .menu-container .menu-item a:hover {
	color: var(--hover) !important;
}

#menu .menu-container .app-label {
	position: sticky;
	bottom: 0;
	left: 0;
}

#menu #notifications {
	position: absolute;
	transition: var(--smooth);
	top: 14px;
	right: -100px;
}

#menu.expanded #notifications {
	top: 18px;
	right: 3px;
}

#notifications > ul.dropdown-menu.show {
	padding-right: 15px;
}

input,select,textarea {
	background-color: var(--lightGray);
}

header input {
	outline: none !important;
	background: transparent !important;
	border: none !important;
	color: #ffffff !important;
	padding: 6px 5px;
}

header input:focus {
	background: #41474d !important;
}

header input::placeholder {
	color: var(--minionYellow) !important;
}

.upload-pseudo-box {
	border-radius: 12px;
	border: 2px dashed var(--orange);
	background-color: #ffffff;
	transition: var(--smooth);
}

.upload-pseudo-box:hover {
	background-color: rgba(239, 149, 56,.5);
}

.leaflet-control-attribution {
  display: none !important;
}

.location-map {
	height: 400px;
	max-height: 50vh;
	border-radius: 5px;
	z-index:0;
}

.currency::before {
	content: '$';
	color: var(--green);
}

#content {
	padding: 0;
}

#content::before {
	display: none;
	min-height: 250px;
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	content: '';
	z-index: -1;
}

.card.shadow {
	box-shadow: none !important;
	transition: var(--smooth);
	transition-property: box-shadow;
	border: 1px solid #e6e6e6 !important;
}

.card.shadow:hover {
	-webkit-box-shadow: 6px 6px 19px #e6e6e6 !important;
	-moz-box-shadow: 6px 6px 19px #e6e6e6 !important;
	box-shadow: 6px 6px 19px #e6e6e6 !important;
}

#content::before, .logo {
	/*background-color: var(--midnight);*/
}

body.development-environment #content::before, .logo {
	/*background-color: var(--midnight);*/
}

.checkin-badge-container {
  position: fixed;
  bottom: 2%;
  right: 2%;
  min-height: 60px;
  z-index: 1000;
}

#report-btn {
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 1000;
	transform: scale(1.25);
	transform-origin: 100% 100%;
}

img {
	max-width: 100% !important;
}

.clear {clear:both !important;}

.page-link {
    font-weight: bold;
    color: var(--orange) !important;
}

.page-item.active .page-link {
    color: #ffffff !important;
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
}

.border-teal {
	border-color: var(--orange) !important;
}

.bg-orange {
	background-color: var(--orange) !important;
}

.bg-midnight {
	background-color: var(--midnight) !important;	
}

.bg-navy {
	background-color: var(--navy) !important;
}

.bg-teal {
	background-color: var(--orange) !important;
}

.bg-quartz {
	background-color: var(--quartz) !important;
}

.bg-red {
	background-color: var(--red) !important;
}

.bg-minion {
	background-color: var(--minionYellow) !important;
}

.bg-maize {
	background-color: var(--minionYellow) !important;
}

.bg-gray {
	background-color: var(--lightGray) !important;
}

.bg-grad-gray {
	background: #e8e8e8;
	background: linear-gradient(90deg, rgba(232, 232, 232, 1) 0%, rgba(255, 255, 255, 1) 99%)  !important;
}

.hero-gradient {
	background: linear-gradient(to right, rgb(239, 149, 56), rgb(217, 119, 6), rgb(146, 64, 14));
	border-radius: 20px;
	padding: 30px;
}

.hero-gradient.full {
	width: 200%;
	padding-left: 103%;
	margin-left: -100%;
}

.hero-gradient a.btn {
	background-color: rgba(255,255,255,.15);
}

.hero-gradient a.btn:hover {
	background-color: rgba(255,255,255,1);
	color: var(--minionYellow) !important;
}

.custom-control-input:checked~.custom-control-label::before {
	border-color: var(--orange) !important;
	background-color: var(--orange) !important;
}

.bg-green {
	background-color: var(--green) !important;	
}

.bg-transparent {
	background: transparent !important;
}

.bg-alice {
	background-color: var(--alice) !important;
}

.text-navy {
	color: var(--navy) !important;
}

.text-green {
	color: var(--green) !important;
}

.text-minion {
	color: var(--minionYellow) !important;
}

.text-red {
	color: var(--red) !important;
}

.text-teal {
	color: var(--orange) !important;
}

.alert .material-symbols-outlined {
	font-size: inherit !important;
	transform: scale(1.4);
}

a,.pointer,.table-striped tr,select,.btn,button,input,select,label,textarea {
	cursor: pointer;
}

button {
	
}

.btn, button {
	opacity: 1;
	transition: .3s ease;
	border-radius: 0 !important;
	transform: skew(0deg);
	background: rgba(255,255,255,.4);
	color:var(--midnight) !important;
}

.btn.text-white {
	/*color:var(--midnight) !important;	*/
	color: #fff !important;
}

.btn.text-white:hover,btn:hover, button:hover {
	transform: skew(-5deg);
	background: rgba(255,255,255,.95) !important;
	color: var(--midnight) !important;
}

.table-container {
	max-width: 90vw;
	overflow-x: scroll !important;
}

.pagination {
	position: sticky;
	top:0;
	left: 0;
}

.nav-tabs .nav-item .nav-link {
	font-weight: bold;
	color: var(--quartz);
}

.status-dot::before {
  transition: .5s ease;
  content: '';
  vertical-align: middle;
  height: 8px;
  width: 8px;
  display: inline-block;
  margin: -8px 10px 0px 5px;
  border-radius: 50%;
}

.status-dot.green::before {
  background: var(--green);
  box-shadow: 0px 0px 8px var(--green);
}

.status-dot.teal::before {
  background: var(--orange);
  box-shadow: 0px 0px 8px var(--orange);
}

.status-dot.yellow::before {
  background: var(--maize);
  box-shadow: 0px 0px 8px var(--maize);
}

.status-dot.red::before {
  background: var(--red);
  box-shadow: 0px 0px 8px var(--red);
}

.status-dot.blue::before {
  background: var(--navy);
  box-shadow: 0px 0px 8px var(--navy);
}

.stripes .striped:nth-child(odd) {
	background-color: var(--alice);
}

.stripes.light .striped:nth-child(odd) {
	background-color: var(--lightGray);
}

.scroll-box {
	max-height: 200px;
	overflow-y:scroll;
	overflow-x: hidden;
}

.scroll-box::-webkit-scrollbar {
  width: 5px;
  border-radius: 4px;
}

.scroll-box::-webkit-scrollbar-track {
  background:var(--quartz);
  border-radius: 4px;;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: var(--orange);
}

.scroll-box::-webkit-scrollbar-thumb:hover {
  background: var(--minionYellow);
}

.scroll-box.lg {
	max-height: 400px;;
}

.scroll-box.sm {
	max-height: 150px;
}

.scroll-box .scroll-title {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 2;
	box-shadow: 0px 1px 10px var(--lightGray);
}

form {
	max-width: 100%;
}

label.ast::after {
	content: '*';
	color: var(--red);
}

.btn span {
	padding-top: 6px;
}

.btn span.material-symbols-outlined {
	float: left;
	margin: 3px auto;
	padding: 0;
	width:auto;
}

.btn span.material-symbols-outlined.float-right {
	margin-left: 10px;
}

.btn span.material-symbols-outlined.float-left {
	margin-right: 10px;
}

span.material-symbols-outlined.sm {
	font-size: 1.1rem !important;
}

.modal-content {
	border-radius: 12px !important;
}

.modal-header {
	border: none !important;
}

.bg-success .modal-content {
	background-color:var(--success);
}

.fullscreen .modal-content {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal-header h4 {
	font-size: 1.2rem;
}

.hover-trigger,.btn {
	transition: var(--quick);
	cursor: pointer;
}
.hover-trigger:hover,.btn:hover {
	background-color:var(--hover) !important;
	background:var(--hover) !important;
	color: #ffffff !important;
	border-color: var(--hover) !important;
}

.hover-trigger .toggle-icon {
	display:block;
	transform: rotate(0deg);
	transition: var(--quick);
}

.hover-trigger.not-collapsed .toggle-icon {
	transform: rotate(45deg);
}

.ninety {
	transform: rotate(90deg);
}

.mobile-only {
	display: none !important;
}
.ui-overlay div.position-absolute {
	position: fixed !important;
}
.ui-overlay div.position-absolute:nth-child(2) {
	text-align: center;
	top: 5% !important;
	left: 10% !important;
	width: 80% !important;
	transform: none !important;
}

.iframe-container {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-top: 56.25%;	
	border-radius: 10px;
}

.iframe-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
  }

@media screen and (max-width:1000px) {
	header.container-fluid {
		padding-left: 0 !important;
	}
	.modal-header h4 {
		font-size: 0.95rem;
	}
	.mobile-only {
		display: initial;
	}
	
	.app-login.grow {
		transform: scale(.9);
	}

}

@media screen and (max-width: 700px) {

	.container {
		padding-left: 7px !important;
		padding-right: 7px !important;
	}

	.card.shadow {
		box-shadow: none !important;
		border: 0 !important;
	}

	.card.shadow:hover {
		box-shadow: none !important;
	}

	.tabs .card-header ul li {
		display: block;
		width: 100%;
	}

	.tabs .card-header ul li a.active {
		background-color: var(--minionYellow);
		color: #ffffff;
	}

	.tabs .card-header { 
		background: #ffffff;
	}

	.credit-card, .credit-card.d-inline-block {
		display: block !important;
	}

}

/* Loading skeletons (assets/js/skeletons.js): grey shapes where content is about to appear */
.skel {
	background: linear-gradient(90deg, #e9ecef 25%, #f4f6f8 37%, #e9ecef 63%);
	background-size: 400% 100%;
	animation: skel-shimmer 1.4s ease infinite;
	border-radius: 4px;
}

.skel-line {
	height: 14px;
	margin-bottom: 8px;
}

.skel-line.skel-sm {
	height: 10px;
}

/* stands in for the welcome banner */
.skel-hero {
	border-radius: 20px;
	padding: 30px;
	min-height: 132px;
}

.skel-on-dark {
	background: rgba(255, 255, 255, 0.65);
	border-radius: 4px;
}

@keyframes skel-shimmer {
	0% { background-position: 100% 50%; }
	100% { background-position: 0 50%; }
}

/* people who ask for less motion get the shapes without the sweep */
@media (prefers-reduced-motion: reduce) {
	.skel {
		animation: none;
	}
}

/* Wide tables
   #content sits in a flex row beside the menu. A flex item will not shrink below its content's width unless
   told it may, so one wide table used to push the whole page wider than the screen. With min-width: 0 the
   page keeps the screen's width and each table scrolls sideways inside its own .table-responsive box. */
#content {
	min-width: 0;
}

.table-responsive {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

/* Please wait (assets/js/busy-buttons.js): a button whose form or action is on its way to the server.
   It keeps its place and size as far as it can, shows a spinner and "Please wait", and cannot be pressed. */
[data-busy="1"] {
	pointer-events: none !important;
	cursor: wait;
	opacity: 0.75;
}

a[data-busy="1"],
button[data-busy="1"] {
	font-size: 0 !important;
	white-space: nowrap;
}

/* the button's own wording and icon step aside for the label */
a[data-busy="1"] > *,
button[data-busy="1"] > * {
	display: none !important;
}

a[data-busy="1"]::before,
button[data-busy="1"]::before {
	content: "";
	display: inline-block;
	width: 0.85rem;
	height: 0.85rem;
	margin-right: 0.4rem;
	vertical-align: -0.1rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: busy-spin 0.75s linear infinite;
}

a[data-busy="1"]::after,
button[data-busy="1"]::after {
	content: "Please wait";
	font-size: 1rem;
}

a.btn-sm[data-busy="1"]::after,
button.btn-sm[data-busy="1"]::after,
a.sm[data-busy="1"]::after {
	font-size: 0.875rem;
}

@keyframes busy-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	a[data-busy="1"]::before,
	button[data-busy="1"]::before {
		animation: none;
	}
}
