html,
body {
	overflow-x: hidden; /* Prevent scroll on narrow devices */
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

body {
	padding-top: 180px;
	  font-size: 1.2rem;
}

a, a:hover, a:active, a:visited {
	text-decoration: none;
}

h1, h2, h3, h4, h5 {
	font-weight: 700;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input, select, textarea, select, radio {
	border-color: #f3f3f3 !important;
	background-color: #f3f3f3 !important;
}

@media (max-width: 991.98px) {
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out;
    transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
  }
  .offcanvas-collapse.open {
    visibility: visible;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}

.navbar-light {
	padding: 40px;
}

.navbar-brand {
	width: 200px;
	height: 60px;
	background: transparent url("/theme/images/logo.png") no-repeat 0% 50%;
	background-size: contain;
	text-indent: -100em;
}

.navbar-light .btn-primary {
	margin-top: 0 !important;
	font-size: 120%;
}

.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  color: rgba(255, 255, 255, .75);
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}



/*
 * Sign In
 */

.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-floating {
	margin-bottom: 15px;
}

.form-floating.submit-wrap {
	margin-top: 30px;
}

.form-floating.color-picker {
	width: 200px;
}

.nope {display: none;}

.dashboard-header {
	margin-bottom: 30px;
}

.actions .option {
	display: inline-block;
	height: 25.5px;
	width: 30.75px;
	line-height: 25.5px;
	margin-left: 15px;
}

.sharebox {
	text-align: center;	
}
.sharebox .share-success {
	display: none;
	position: absolute;
	width: calc(100% - 32px);
	background: rgba(54, 169, 224, 0.8);
	font-weight: bold;
	padding: 2px 3px;
}

.share-items div {
	clear: left;
	min-height: 70px;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.modal-content {
	border-radius: 2rem;
	padding: 20px;
}

.modal-title, .modal-header, .modal-body, .modal-footer {
	border: none !important;
}

#share-url {
	width: 1px !important;
	height: 1px !important;
	border: none;
	padding: 0px;
	margin: 0px;
}

.image-preview {
	padding: 10px;
	background: url("/theme/images/trans-grid.jpg");
	width: 100%;
	max-width: 600px;
}


.side-links {
	margin-top: 8px;
}

.dashboard .page-header {
	padding: 30px 0px 0px 0px;
}

.dashboard .page {
	padding: 30px 0px;
}

table td.actions {
	text-align: right;
}

table td {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

#subscriber-search input {
	background: url("/theme/images/icon-search.jpg") 5px 50% no-repeat;
	background-size: 22px;
	padding-left: 40px;
}

.alert p {
	margin: 0px;
}

.dashboard .table-header a {
	text-decoration: none;
}

.dashboard .table-header .create {
	float: right;
	font-size: 28px;
	margin: 0px;
	text-decoration: none;
}

.dashboard thead th {
	padding: 12px 0px;
	font-weight: bold;
}

.dashboard td {
	border-top: none;
	vertical-align: middle;
}

.dashboard .controls {
	text-align: right;
}

.dashboard td .btn {
	margin-bottom: 5px;
}

.dashboard td.no-indent {
	padding-left: 0px;
}

.dashboard th.add-indent {
	padding-left: 10px;
}

.dashboard td a, .dashboard td a:hover {
	text-decoration: none;
}

.stats {
	padding: 50px 0px;
}
.stats .number {
	font-size: 30px;
	font-weight: bold;
}
.stats .metric {
	font-size: 16px;
}

.points {
	padding: 10px 0px;
}

.points .point {
	margin-bottom: 30px;
	margin-top: 30px;
}

.dashboard td.important .link-icon, .dashboard td.important .view-icon {
	display: none;
}

.dashboard tr:hover td.important .link-icon, .dashboard td:hover .view-icon {
	position: absolute;
	margin-left: 5px;
	margin-top: 5px;
	display: inline-block;
	font-size: 13px;
}

.dashboard .small-only {
	display: none;
}

.form-control {
	border-radius: 0.5rem;
}

footer p {
  margin-bottom: .25rem;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

.hidden {
	display: none;
}

.tag-scroll-wrapper {
  position: relative;
}

.tag-scroll {
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.tag-scroll::-webkit-scrollbar {
  display: none;
}

/* Fade masks */
.fade-mask {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  right: 0;
  background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 1) 100%);
}
/* Chevron icons */
.scroll-icon {
  z-index: 2;
  cursor: pointer;
  color: #666;
  background: white;
  user-select: none;
}
.scroll-icon:hover {
  color: #000;
}
.scroll-icon.muted {
  opacity: 0.3;
  pointer-events: none;
}

.table {
  border-collapse: separate;
  border-spacing: 0;
}

.table-header th {
  background-color: #f5f5f5;
  padding: 1rem 1.25rem !important;
  vertical-align: top;
  border: none;
  border-right: 3px solid #fff; /* simulates spacing between cells */
}

.table-header th:last-child {
  border-right: none; /* no divider on the last cell */
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.table-header th:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.table-header .fw-semibold {
  font-size: 1rem;
}

.table-header small {
  font-size: 0.875rem;
}

.table tbody, .table tbody tr, .table tbody tr td {
	border-top: none !important;
}







/* FRONT END */

body.form-page {
	background-color: #28292b !important; 
	padding-top: 0px;
}
.form-page .form-container {
	max-width: 600px;
	margin: 2rem auto;
	padding: 2rem;
	background: #ffffff;
	border-radius: 0.5rem;
	box-shadow: 0 0 10px rgba(0,0,0,0.05);
}
.form-page .logo {
	max-width: 150px;
	margin: 0 auto 1rem;
	display: block;
}
.form-page .brand-logo img {
	width: 60%;
	max-width: 200px;
}
.form-page a, .form-page a:hover, .form-page a:visited, .form-page a:active {
	text-decoration: none;
	color: #4ea7f8;
}
.form-page .lower-text {
	width: 80%;
	max-width: 300px;
	margin: 0 auto;
}
.form-page .lower-text a:hover {
	text-decoration: underline;
}



.tags-input-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  background-color: #f3f3f3 !important;
  border-radius: 0.375rem;
  min-height: calc(2rem + 2px);
  overflow: hidden;
}

.tags-input-wrapper input {
  border: none;
  outline: none;
  flex-grow: 1;
  min-width: 120px;
  padding: 0.375rem 0;
}

.tags-input-wrapper:focus-within {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}

.tag {
  background-color: #0d6efd;
  color: #fff;
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
}

.tag .remove-tag {
  margin-left: 0.5rem;
  cursor: pointer;
}

.mb-3 > .tags-input-wrapper + label {
  padding: 1rem 0.75rem;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  align-items: center;
  transform-origin: 0 0;
  transition: all 0.1s ease-in-out;
  color: #6c757d;
}

.mb-3 > .tags-input-wrapper:focus-within + label,
.mb-3 > .tags-input-wrapper.filled + label {
  transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
  opacity: 0.65;
}


.step-progress {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 100%;
}

.progress-line {
  position: absolute;
  top: 24px; /* half of circle height */
  left: 0;
  right: 0;
  height: 6px;
  background-color: #e6e6e6;
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
  width: 25%;
}

.step .circle {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: #f8f9fa;
  border: 3px solid #e6e6e6;
  color: #adb5bd;
  font-weight: 600;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step .label {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #343a40;
}

.step.completed .circle {
  background-color: #4ade80;
  border-color: #4ade80;
  color: white;
}

.step.active .circle {
  background-color: white;
  border: 3px solid #4ade80;
  color: #4ade80;
}

.step.completed::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 6px;
  background-color: #4ade80;
  z-index: -1;
}

.highlight-button, .notes-button, .trash-button, .expand-button {
	background: none;
	border: none;
}
.response-row {
	background: #f3f3f3;
	border-radius: 2rem !important;
}

.bg-question-bar {
	background: #f3f3f3;
	border-color: #f3f3f3 !important;
}

.jumbotron {
    padding: 2rem 1rem;
    margin-bottom: 4rem;
    background-color: #e9ecef;
    border-radius: 0.3rem;
}
.jumbotron.with-image {
    padding: 4rem 1rem;
	color: #ffffff !important;
	text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
	min-height: 30vw;
}