
html, body {
    height: 100%;
	width: 100%;
	overflow: hidden;
	padding: 0;
	margin: 0;
	background: #FAFAFA;
	font-family: 'Helvetica Neue', arial, sans-serif;
	font-weight: 400;
	color: #444;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* padding-top: env(safe-area-inset-top); */
	/* overscroll-behavior-y: contain; */
}
/*
body.android {
	padding-top: 30px !important;
} */

body {
	padding: constant(safe-area-inset-top) constant(safe-area-inset-right) constant(safe-area-inset-bottom) constant(safe-area-inset-left);
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Tight Mode for global spacing reduction */
body.tight-mode  {
	font-size: 0.9rem !important; /* Smaller font size */
	line-height: 1.0rem !important; /* Tighter line height */
}

.tight-mode p,
.tight-mode h1, .tight-mode h2, .tight-mode h3, .tight-mode h4, .tight-mode h5, .tight-mode h6,
.tight-mode ul, .tight-mode ol, .tight-mode li,
.tight-mode div, .tight-mode section, .tight-mode article {
    margin: 0 !important;       /* Remove extra margins */
    /* padding: 0 !important;      Remove extra padding */
    line-height: 1.1 !important; /* Tighter line-height */
}

/* Optional: Override Bootstrap-specific elements for tighter spacing */
.tight-mode .container,
.tight-mode .container-fluid,
.tight-mode .row,
.tight-mode .col {
    padding: 0 !important;  /* Remove container padding */
}

/* Lists: remove padding/margin for tight layout */
.tight-mode ul, .tight-mode ol {
    padding-left: 1rem !important;  /* Optional: reduced padding */
    margin-bottom: 0 !important;    /* Remove bottom margin */
}

/* Tighten buttons and forms */
.tight-mode button,
.tight-mode input,
.tight-mode textarea {
    padding: 0.25rem 0.5rem !important; /* Tighter padding on form elements */
    margin: 0 !important;               /* Remove unnecessary margins */
}

/* Adjust table padding/margins for tighter spacing */
.tight-mode table {
    margin: 0 !important;
    padding: 0 !important;
}

/* Tighter margin utility classes */
.tight-mode .m-1 { margin: 0.1rem !important; }
.tight-mode .m-2 { margin: 0.2rem !important; }
.tight-mode .m-3 { margin: 0.3rem !important; }
.tight-mode .m-4 { margin: 0.5rem !important; }
.tight-mode .m-5 { margin: 0.75rem !important; }

/* Tighter padding utility classes */
.tight-mode .p-1 { padding: 0.1rem !important; }
.tight-mode .p-2 { padding: 0.2rem !important; }
.tight-mode .p-3 { padding: 0.3rem !important; }
.tight-mode .p-4 { padding: 0.5rem !important; }
.tight-mode .p-5 { padding: 0.75rem !important; }

/* Tighter margin and padding for specific directions (top, bottom, left, right) */
.tight-mode .mt-1, .tight-mode .mb-1, .tight-mode .ml-1, .tight-mode .mr-1 { margin: 0.1rem !important; }
.tight-mode .pt-1, .tight-mode .pb-1, .tight-mode .pl-1, .tight-mode .pr-1 { padding: 0.1rem !important; }

.tight-mode .mt-2, .tight-mode .mb-2, .tight-mode .ml-2, .tight-mode .mr-2 { margin: 0.2rem !important; }
.tight-mode .pt-2, .tight-mode .pb-2, .tight-mode .pl-2, .tight-mode .pr-2 { padding: 0.2rem !important; }


/* .bootstrap .fixed-top {
	top: env(safe-area-inset-top) !important;
} */

.hljs {
    color: #abb2bf !important;   /* default Atom One Dark text */
	background-color: #282c34 !important; /* dark bg */
    border-radius: 0.5rem;                /* rounded corners */
    padding: 0.75rem;                     /* some inner space */
    overflow-x: auto;                    /* scroll long lines */
}

/* optional: tweak code font & size */
.hljs code {
	color: #f0f0f0;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9rem;
}
.hljs-property {
    color: #E06C75 !important;  /* lighter, Atom One Dark “red” */
}

.selected {
	outline: 2px solid blue;
}


.islink {
	cursor: pointer;
}
.font-style-narrow {
	font-stretch: condensed;
}

.hoverelementonly {
    display: none;
}
.hoverElement:hover .hoverelementonly {
    display : inline;
}
.hoverElement:hover .hoverelementhide {
    display : none;
}

.box-container {
	border-radius: 15px;
}

.progress-bar-vertical {
    width: 40px;
    min-height: 100px;
    /* margin-right: 30px; */
    float: left;
    display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    align-items: flex-end;
    -webkit-align-items: flex-end; /* Safari 7.0+ */
}

.progress-bar-vertical .progress-bar {
    width: 100%;
    height: 0;
    -webkit-transition: height 0.6s ease;
    -o-transition: height 0.6s ease;
    transition: height 0.6s ease;
}

.progress-bar-container {
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}
.progress-bar-container .progress {
	height: 4px;
}
.progress-bar-container .progress-bar {
	/* background-color: #e9ecef; */
	height: 4px;
	position: relative;
}
.progress-dot-container {
	position: absolute;
	width: 100%;
	top: -10px;
	display: flex;
	justify-content: space-between;
}
.progress-dot {
	width: 20px;
	height: 20px;
	background-color: #dddddd;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 12px;
}
.progress-dot.active {
	background-color: #007bff;
}
/* Label styling */
.progress-label-container {
	position: absolute;
	width: 100%;
	top: -30px; /* Positioning labels above dots */
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: #333;
	text-wrap: nowrap;
}
.progress-label {
	position: relative;
	text-align: center;
	width: 20px;  /* Ensures labels are centered with dots */
}
.progress-label-text {
	position: absolute;
	top: 0px; /* Positioning text below dots */
	left: 50%;
	transform: translateX(-50%);
}

.vertical-text {
	display: inline-block;
	writing-mode: vertical-rl; /* Standard property */
    -webkit-writing-mode: vertical-rl; /* Safari */
    -ms-writing-mode: tb-rl; /* IE and old Edge */

    text-orientation: mixed; /* Standard property */
    -webkit-text-orientation: mixed; /* Safari */

    white-space: nowrap;
}

.keyboardShortcut {
	font-size: 0.8em;
	font-family:'Courier New', Courier, monospace;
}

/* custom.css (load this after bootstrap.css) */


/* Fallback for browsers that do not support writing-mode */
@supports not (writing-mode: vertical-rl) {
    .vertical-text {
        writing-mode: unset;
        -webkit-writing-mode: unset;
        -ms-writing-mode: unset;
        transform: rotate(90deg);
        transform-origin: left bottom;
    }
}

.top {
	vertical-align: top !important;
}
.middle {
	vertical-align: middle !important;
}
.bottom {
	vertical-align: bottom !important;
}
.baseline {
	vertical-align: baseline !important;
}

.w-1 {
	width: 1% !important;
}
.w-2 {
	width: 2% !important;
}
.w-3 {
	width: 3% !important;
}
.w-4 {
	width: 4% !important;
}
.w-5 {
	width: 5% !important;
}
.w-10 {
	width: 10% !important;
}
.w-15 {
	width: 15% !important;
}
.w-20 {
	width: 20% !important;
}

.w-95 {
	width: 95% !important;
}
.w-90 {
	width: 90% !important;
}
.w-85 {
	width: 85% !important;
}
.w-80 {
	width: 80% !important;
}

.input-plain[type="number"]::-webkit-inner-spin-button,
.input-plain[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
  	margin: 0;
}

.input-plain[type="number"] {
	-moz-appearance: textfield; /* Firefox */
	text-align: right;
}

.dragged {
    border: 2px dotted #ff0000;
}

.over {
    border: 2px dotted #00ff00;
}

.list {
    list-style-type: none;
}


.navbar-toggler-icon{
	font-size: 0.6em;
}
.navbar-toggler {
	padding-top: 2px !important;
    padding-bottom: 2px !important;
	padding-left: 5px !important;
	padding-right: 5px !important;
}

.bg-black {
	background-color: #0a0a0a;
}

.bg-orange {
	background-color: rgb(255,95,51);
}

.btn.btn-orange {
	background-color: rgb(255, 95, 51); /* Or use a specific orange hex code like #FFA500 */
    color: white;
}

/* Optional: Add hover effect */
.btn.btn-orange:hover {
    background-color: rgba(255, 95, 51, 0.853); /* Darker shade for hover */
    color: white;
}

.form-control-sm-no-height {
	height: inherit !important;
}

.tracking-nav .nav-link {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

* {
	box-sizing: border-box;
}

#app {
	height: 100%;
}

.imageRounded {
	width: 76px;
	min-width: 76px;
	height: 76px;
	min-height: 76px;
  	background-size: cover;
  	background-repeat: no-repeat;
	background-position: 50% 50%;
}

.imageRoundedXLarge {
	width: 250px;
	min-width: 250px;
	height: 250px;
	min-height: 250px;
}
.imageRoundedLarge {
	width: 150px;
	min-width: 150px;
	height: 150px;
	min-height: 150px;
}
.imageRoundedMediumPlus {
	width: 100px;
	min-width: 100px;
	height: 100px;
	min-height: 100px;
}
.imageRoundedMedium {
	width: 55px;
	min-width: 55px;
	height: 55px;
	min-height: 55px;
}
.imageRoundedSmall {
	width: 40px;
	min-width: 40px;
	height: 40px;
	min-height: 40px;
}
.imageRoundedThumb2 {
	width: 28px;
	min-width: 28px;
	height: 28px;
	min-height: 28px;
}
.imageRoundedThumb {
	width: 25px;
	min-width: 25px;
	height: 25px;
	min-height: 25px;
}
.imageRoundedIcon {
	width: 17px;
	min-width: 17px;
	height: 17px;
	min-height: 17px;
}
.imageRoundedSmallIcon {
	width: 13px;
	min-width: 13px;
	height: 13px;
	min-height: 13px;
}

.imageRoundedResponsive {
	width: 90px;
	min-width: 90px;
	height: 90px;
	min-height: 90px;
}
.imageRoundedResponsivePosition {
	top: -45px;
}

.badge-light {
	border: 1px solid #e6e6e6;
}
.badge-dark {
	border: 1px solid #191d21;
}
.badge-warning {
	border: 1px solid #efb506;
}
.badge-danger {
	border: 1px solid #c92f3f;
}
.badge-success {
	border: 1px solid #22933d;
}
.badge-primary {
	border: 1px solid #0073ee;
}
.badge-info {
	border: 1px solid #1492a6;
}


.bootstrap .rounded-lg,
.bootstrap-dark .rounded-lg {
	border-radius: 1.0rem !important;
}
.bootstrap .rounded-bottom-lg,
.bootstrap-dark .rounded-bottom-lg {
	border-bottom-left-radius: 1.0rem !important;
	border-bottom-right-radius: 1.0rem !important;
}
.bootstrap .rounded-top-lg,
.bootstrap-dark .rounded-top-lg {
	border-top-left-radius: 1.0rem !important;
	border-top-right-radius: 1.0rem !important;
}

.bootstrap .rounded-md,
.bootstrap-dark .rounded-md {
	border-radius: 0.5rem !important;
}
.bootstrap .rounded-bottom-md,
.bootstrap-dark .rounded-bottom-md {
	border-bottom-left-radius: 0.5rem !important;
	border-bottom-right-radius: 0.5rem !important;
}
.bootstrap .rounded-top-md,
.bootstrap-dark .rounded-top-md {
	border-top-left-radius: 0.5rem !important;
	border-top-right-radius: 0.5rem !important;
}

.bootstrap .rounded-lg-lg,
.bootstrap-dark .rounded-lg-lg {
	border-radius: 1.0rem !important;
}
.bootstrap .rounded-lg-md,
.bootstrap-dark .rounded-lg-md {
	border-radius: 0.5rem !important;
}

@media only screen and (max-width: 600px) {
	.bootstrap .rounded-lg-lg,
	.bootstrap-dark .rounded-lg-lg {
		border-radius: 0rem !important;
	}
	.bootstrap .rounded-lg-md,
	.bootstrap-dark .rounded-lg-md {
		border-radius: 0rem !important;
	}
}

.scrollbar {
	scrollbar-width: auto; /* Firefox */
	-ms-overflow-style: none;  /* Internet Explorer 10+ */
}

.no-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}
.no-scrollbar::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
	.imageRoundedResponsive {
		width: 100px;
		min-width: 100px;
		height: 100px;
		min-height: 100px;
	}
	.imageRoundedResponsivePosition {
		top: -50px;
	}
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 768px) {
    .imageRoundedResponsive {
		width: 120px;
		min-width: 120px;
		height: 120px;
		min-height: 120px;
	}
	.imageRoundedResponsivePosition {
		top: -60px;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.imageRoundedResponsive {
		width: 150px;
		min-width: 150px;
		height: 150px;
		min-height: 150px;
	}
    .imageRoundedResponsivePosition {
		top: -85px;
	}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .imageRoundedResponsive {
		width: 150px;
		min-width: 150px;
		height: 150px;
		min-height: 150px;
	}
    .imageRoundedResponsivePosition {
		top: -85px;
	}
}

.subtopmenu {
	line-height: 1.8em;
}

.calendarIsWeekend {
	background-color: rgba(255,50,50,0.2);
}

.calendarIsToday {
	background-color: rgba(23,162,184,0.2);
}

.calendarIsChosen {
	background-color: rgba(0,123,255,0.2);
}

.jumbotron-thumb {
	max-height: 450px;
    overflow: hidden;
}

.list-thumb {
	max-height: 200px;
    overflow: hidden;
}

.bootstrap-dark .nav-link {
	padding: .5rem 1.8rem;
	font-size: 1.2em;
}

.bootstrap-dark .form-control-plaintext {
	color: #d3d3d3;
}

.text-overflow {
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.text-strikethrough {
	text-decoration: line-through;
}

.pointerCursor {
    cursor: pointer;
    pointer-events: inherit;
}

.contain-images img {
	max-width: 100%;
}

.btn:focus, .btn:active, .btn:hover {
	outline: none !important;
	box-shadow: none !important;
}
.btn-outline-success:hover, .btn-outline-success:focus,
.btn-outline-primary:hover, .btn-outline-primary:hover,
.btn-outline-info:hover, .btn-outline-info:hover,
.btn-outline-danger:hover, .btn-outline-danger:hover,
.btn-outline-warning:hover, .btn-outline-warning:hover {
	background: none !important;
}

.map-marker {
	position: relative;
	background: #00aabb;
	border-radius: .4em;
}

.map-marker:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 20%;
	width: 0;
	height: 0;
	border: 30px solid transparent;
	border-top-color: #00aabb;
	border-bottom: 0;
	border-left: 0;
	margin-left: -15px;
	margin-bottom: -30px;
}

.bubble {
	text-overflow: ellipsis;
	white-space: nowrap;
	position: relative;
	width: 120px;
	height: 30px;
	padding: 0px;
	background: #FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: #7F7F7F solid 1px;
}

.bubble:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 40px 10px 0;
	border-color: #FFFFFF transparent;
	display: block;
	width: 0;
	z-index: 1;
	bottom: -40px;
	left: 50px;
}

.bubble:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 40px 10px 0;
	border-color: #7F7F7F transparent;
	display: block;
	width: 0;
	z-index: 0;
	bottom: -41px;
	left: 50px;
}

.bubble2 {
	text-overflow: ellipsis;
	white-space: nowrap;
	position: relative;
	width: 120px;
	height: 30px;
	padding: 0px;
	background: #FFFFFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: #7F7F7F solid 1px;
}

.bubble2:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 10px 0;
	border-color: #FFFFFF transparent;
	display: block;
	width: 0;
	z-index: 1;
	bottom: -10px;
	left: 50px;
}

.bubble2:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 10px 10px 0;
	border-color: #7F7F7F transparent;
	display: block;
	width: 0;
	z-index: 0;
	bottom: -11px;
	left: 50px;
}


.bubble3 {
	position: relative;
	width: 200px;
	height: 30px;
	padding: 0px;
	background: #ffffff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: #7C7F7F solid 1px;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
}

.bubble3:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 0 5px 30px;
	border-color: transparent #ffffff;
	display: block;
	width: 0;
	z-index: 1;
	right: -30px;
	top: 10px;
}

.bubble3:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 0 5px 30px;
	border-color: transparent #7C7F7F;
	display: block;
	width: 0;
	z-index: 0;
	right: -31px;
	top: 10px;
}


.bubble4 {
	position: relative;
	width: 200px;
	height: 30px;
	padding: 0px;
	background: #ffffff;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: #7C7F7F solid 1px;

	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}

.bubble4:after {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 0 5px 30px;
	border-color: transparent #ffffff;
	display: block;
	width: 0;
	z-index: 1;
	right: -30px;
	top: 10px;
}

.bubble4:before {
	content: '';
	position: absolute;
	border-style: solid;
	border-width: 5px 0 5px 30px;
	border-color: transparent #7C7F7F;
	display: block;
	width: 0;
	z-index: 0;
	right: -31px;
	top: 10px;
}

.commentBubble {
    max-width: 100%;         /* limit width so it looks like a bubble */
    padding: 0.75rem 1rem;
    margin: 0.5rem 0;       /* some vertical spacing between bubbles */
	margin-bottom: 0;
    border-radius: 1rem;    /* large radius for bubble edges */
    display: inline-block;   /* important for bubble shape */
    position: relative;      /* so we can do “arrow” effects if desired */
}

.commentBody {
	font-size: 1.0rem !important;
}

/* For your own comments (on the right, green-ish background) */
.myComment {
    /* background-color: #358cfc; */
	background-color: #efefef;
	/* color: #ffffff; */
    /* margin-left: auto;      push to the right */
	    margin-right: auto;     /* push to the left */

    /* You can also float or text-align right, but flex auto margin is simpler */
    text-align: left;       /* keep text left-aligned even if bubble is right */
}

/* For others’ comments (on the left, gray-ish background) */
.othersComment {
    background-color: #efefef;
    margin-right: auto;     /* push to the left */
}

.comment-replies {
	/* Only rounded on the right side */
	border-top-right-radius: 1rem;
	border-bottom-right-radius: 1rem;
	border-bottom-left-radius: 0.2rem;;
	border-top-left-radius: 0.2rem; /* no rounding on the left side */
	border-left: 3px solid #ddd; /* optional left border to separate from parent comment */
}

.likes {
	font-size: 1.0rem !important;
}
.likes-comment {
	font-size: 0.85rem !important;
}



/* If you want an arrow-like shape for the bubble:
   You can do something like a pseudo-element pointing out. */
.myComment2::after,
.othersComment2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.myComment2::after {
    border-width: 0.5rem 0 0.5rem 0.5rem;  /* top, right, bottom, left */
    border-color: transparent transparent transparent #358cfc; /* arrow color matches bubble */
    right: -0.4rem;
    top: 1rem;       /* adjust to place arrow where you want */
}

.othersComment2::after {
    border-width: 0.5rem 0.5rem 0.5rem 0;
    border-color: transparent #f1f1f1 transparent transparent;
    left: -0.4rem;
    top: 1rem;
}


@keyframes like-heart-animation {
	0%,
	to {
		opacity: 0;
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	15% {
		opacity: 0.9;
		-webkit-transform: scale(1.2);
		transform: scale(1.2);
	}
	30% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
	}
	45%,
	80% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

.likeStory {
	animation: 2s like-heart-animation ease-in-out forwards;
}

@keyframes unlike-heart-animation {
	0%,
	to {
		opacity: 0;
		-webkit-transform: scale(0);
		transform: scale(0);
	}
	15% {
		opacity: 0.9;
		-webkit-transform: scale(1.2);
		transform: scale(1.2);
	}
	30% {
		-webkit-transform: scale(0.95);
		transform: scale(0.95);
	}
	45%,
	80% {
		opacity: 0.9;
		-webkit-transform: scale(1);
		transform: scale(1);
	}
}

.unlikeStory {
	animation: 2s unlike-heart-animation ease-in-out forwards;
}


/* add to your global CSS or a module */
@keyframes pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.9); }
    100% { transform: scale(1); }
}

.heart {
    cursor: pointer;
    transition: fill 0.2s ease;
    will-change: transform;
}

.heart.liked {
    fill: #e0245e;
}

.heart.animate {
    animation: pop 0.3s ease-out;
}

.bigHeart {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    animation: bigPop 0.8s forwards;
}

@keyframes bigPop {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    50%  { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.bigHeart svg {
    width: 120px;
    height: 120px;
    fill: rgba(224, 36, 94, 0.9);
}






@keyframes placeholderFade {
    0% {
        background-color: rgba(165, 165, 165, 0.1);
    }
    50% {
        background-color: rgba(165, 165, 165, 0.3);
    }
    100% {
        background-color: rgba(165, 165, 165, 0.1);
    }
}

.placeholder {
    animation: placeholderFade 1.5s infinite;
    height: 20px;
	min-width: 100px;
    margin: 0px 0;
    border-radius: 4px;
}

.table-placeholder {
    animation: placeholderFade 1.5s infinite;
    height: 20px;
    width: 100%;
    border-radius: 4px;
}

.table-header-sticky {
    /* Set an explicit or max height so the container can scroll */
    max-height: 80vh;
    overflow-y: auto;
}

.table-header-sticky thead th {
    position: sticky;
    top: 0;         /* Sticks to the top of the scrolling container */
    z-index: 2;     /* Ensures it's above the rows */
    background: #fff; /* So the header text isn’t obscured by rows scrolling underneath */
}

.skeleton-row {
    display: flex;
    justify-content: space-between;
}

.skeleton-cell {
    flex: 1;
    margin: 5px 5px;
    background-color: #eee;
}



.bootstrap .bg-light {
	background-color: rgb(242, 242, 246) !important;
}
.bootstrap .bg-success-light {
	background-color: rgba(40, 167, 69, 0.2) !important;
}
.bootstrap .bg-danger-light {
	background-color: rgba(255, 0, 0, 0.2) !important;
}
.bootstrap .bg-primary-light {
	background-color: rgba(0, 123, 255, 0.2) !important;
}
.bootstrap .bg-info-light {
	background-color: rgba(23, 162, 184, 0.2) !important;
}
.bootstrap .bg-warning-light {
	background-color: rgba(255, 193, 7, 0.6) !important;
}


.bg-darkmode,
.bootstrap .bg-darkmode,
.bootstrap-dark .bg-darkmode {
	background-color: #191d21 !important;
}

.bg-lightmode,
.bootstrap .bg-lightmode,
.bootstrap-dark .bg-lightmode {
	background-color: #fff !important;
}
.bootstrap .border-darkmode,
.bootstrap-dark .border-darkmode,
.border-darkmode {
	border-color: #191d21 !important;
	border-width: 4px !important;
}
.bootstrap .border-lightmode,
.bootstrap-dark .border-lightmode,
.border-lightmode {
	border-color: #fff !important;
	border-width: 4px !important;
}

.rounded-lg.inboxBubble {
	border-radius: 1rem !important;
	font-size: 1.1em;
}

.bootstrap .rounded-none,
.bootstrap-dark .rounded-none {
    border-radius: 0rem 0rem 0rem 0rem !important;
}
.bootstrap .rounded-pill-left,
.bootstrap-dark .rounded-pill-left {
    border-radius: 50rem 0rem 0rem 50rem !important;
}
.bootstrap .rounded-pill-right,
.bootstrap-dark .rounded-pill-right {
	border-radius: 0rem 50rem 50rem 0rem !important;
}
.bootstrap .rounded-pill-both,
.bootstrap-dark .rounded-pill-both {
	border-radius: 50rem 50rem 50rem 50rem !important;
}

.btn-circle {
	border-radius: 50% !important;
}

.loginContainer {
	color: #ffffff;
}

.storyPoll .markup p {
	margin-bottom: 0;
}

.noscroll {
	overflow: hidden;
}

.bg-img-cover {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

.nospace .markup p {
	/* margin-bottom: 0; */
}


.bootstrap-dark .custom-file-label {
	border-radius: 10px;
	border-style: dashed;
}
.bootstrap-dark .custom-file-input:lang(en) ~ .custom-file-label::after {
	display: none;
	content: "";
}

.bootstrap .custom-file-label {
	border-radius: 10px;
	border-style: dashed;
}
.bootstrap .custom-file-input:lang(en) ~ .custom-file-label::after {
	display: none;
	content: "";
}

/* for sm */
.custom-switch.custom-switch-sm {
	min-height: 1.5rem;
}
.c
.custom-switch.custom-switch-sm .custom-control-label {
    padding-left: 1rem;
    padding-bottom: 1rem;
}

.custom-switch.custom-switch-sm .custom-control-label::before {
    height: 1rem;
    width: calc(1rem + 0.75rem);
    border-radius: 2rem;
}

.custom-switch.custom-switch-sm .custom-control-label::after {
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    border-radius: calc(1rem - (1rem / 2));
}

.custom-switch.custom-switch-sm .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1rem - 0.25rem));
}

/* for md */
.custom-switch.custom-switch-md {
	min-height: 2rem;
}
.custom-switch.custom-switch-md .custom-control-label {
    padding-left: 2rem;
    padding-bottom: 1.5rem;
}

.custom-switch.custom-switch-md .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

.custom-switch.custom-switch-md .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch-md .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}

/* for lg */
.custom-switch.custom-switch-lg {
	min-height: 2.5rem;
}

.custom-switch.custom-switch-lg .custom-control-label {
    padding-left: 3rem;
    padding-bottom: 2rem;
}

.custom-switch.custom-switch-lg .custom-control-label::before {
    height: 2rem;
    width: calc(3rem + 0.75rem);
    border-radius: 4rem;
}

.custom-switch.custom-switch-lg .custom-control-label::after {
    width: calc(2rem - 4px);
    height: calc(2rem - 4px);
    border-radius: calc(3rem - (2rem / 2));
}

.custom-switch.custom-switch-lg .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2rem - 0.25rem));
}

/* for xl */

.custom-switch.custom-switch-xl .custom-control-label {
    padding-left: 4rem;
    padding-bottom: 2.5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::before {
    height: 2.5rem;
    width: calc(4rem + 0.75rem);
    border-radius: 5rem;
}

.custom-switch.custom-switch-xl .custom-control-label::after {
    width: calc(2.5rem - 4px);
    height: calc(2.5rem - 4px);
    border-radius: calc(4rem - (2.5rem / 2));
}

.custom-switch.custom-switch-xl .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(2.5rem - 0.25rem));
}

.profileSmallName {
	font-size: 18px;
	font-weight: 700;
}
.profileSmallHeader {
	font-size: 13px;
	font-weight: 700;
}
.profileSmallNumbers {
	font-size: 13px;
	font-weight: 400;
}
.profileMediumNumbers {
	font-size: 18px;
	font-weight: 510;
}
.header2 {
	font-size: 18px;
	font-weight: 700;
	line-height: 22px;
}
.header3 {
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
}
.header4 {
	font-size: 15px;
	font-weight: 510;
	line-height: 19px;
}

.widgetHeaderTop {
	font-size: 15px;
	font-weight: 700;
	line-height: 15px;
}


.widgetHeaderIcon {
	font-size: 16px;
	font-weight: 900;
	line-height: 24px;
}
.widgetHeaderIconLarge {
	font-size: 19px;
	font-weight: 900;
	line-height: 24px;
}
.widgetHeaderIconXLarge {
	font-size: 24px;
	font-weight: 900;
	line-height: 26px;
}
.widgetHeader {
	font-size: 15px;
	font-weight: 510;
	line-height: 22px;
}
.widgetHeaderLarge {
	font-size: 18px;
	font-weight: 510;
	line-height: 22px;
}
.widgetHeaderSmall {
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
}
.widgetSubHeaderSmall {
	font-size: 15px;
	font-weight: 400;
	line-height: 15px;
}

.widgetContentText {
	font-size: 28px;
	font-weight: 700;
	line-height: 30px;
	margin-top: 37px;
	margin-bottom: 37px;
}
.widgetContentTextMedium {
	font-size: 22px;
	font-weight: 600;
	line-height: 22px;
	margin-top: 10px;
}
.widgetContentTextSmall {
	font-size: 18px;
	font-weight: 510;
	line-height: 18px;
	margin-top: 10px;
}
.appHeader {
	line-height: 22px !important;
	font-size: 20px !important;
	font-weight: 400 !important;
}
.appMenu {
	line-height: 22px !important;
	font-size: 20px !important;
	font-weight: 400 !important;
}
.appNavigation {
	line-height: 22px !important;
	font-size: 17px !important;
	font-weight: 400 !important;
}
.appSegmentControllerPrimary {
	line-height: 18px !important;
	font-size: 15px !important;
	font-weight: 400 !important;
}
.appSegmentControllerSecondary {
	line-height: 22px !important;
	font-size: 17 !important;
	font-weight: 600 !important;
}
.markup-header .markup p {
	margin: 0px;
}

.markup > p:last-child {
	margin: 0px;
}
.markup img {
	max-width: 100%;
}

.drag {
	margin-right: 15px;
	cursor: move;
}

.tabbable .nav-tabs {
	overflow-x: auto;
	overflow-y:hidden;
	flex-wrap: nowrap;
 }
.tabbable .nav-tabs .nav-link {
	white-space: nowrap;
}

.box-header {
	font-size: 1.6em;
	line-height: 1.1em;
}
.box-header-info {
	font-size: 1.2em;
}
.bootstrap-dark .box-line {
	/* border-bottom: 2px solid #151515; */
}
.bootstrap .box-line {
	/* border-bottom: 2px solid rgb(242, 242, 246); */
}
.box-line:last-child {
	border-bottom: none;
}
.box-line:hover {
	cursor: pointer;
}

.box-line-add {
	font-size: 2.0em;
}
.bootstrap-dark .box-line-add {
	color: #505050;
}
.bootstrap .box-line-add {
	color: #d0d0d0;
}

.box-line-header {
	font-size: 0.8em !important;
	font-weight: 350;
}
.box-line-title {
	font-size: 1.1em;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 100%;
	white-space: nowrap;
}
.box-line-qty {
	font-size: 2.25em;
	font-weight: 100;
	width: 50px;
	min-width: 50px;
	display: grid;
  	align-items: center;
	justify-items: end;
}
.box-line-title-info {
	font-size: 0.9em;
	line-height: 1.0em;
	font-weight: 350;
}
.box-line-status {
	font-size: 1.0em;
}
.box-line-focused {
	border-left: 2px solid #007bff;
}
.box-line-info {
	font-size: 0.9em;
	font-weight: 350;
	text-overflow: ellipsis;
	overflow: hidden;
	max-width: 100%;
	white-space: nowrap;
}
.box-line-image {
	width: 100px !important;
	height: 90px;
}
.box-line-image-placeholder {
	width: 100px !important;
	height: 90px;
}
.box-line-image img {
	width: 100px !important;
	height: 90px;
	object-fit: cover;
}
.box-line-image-large {
	max-height: 300px;
	overflow: hidden;
}
.box-line-image-large img {
	max-height: 300px;
	object-fit: cover;
}

.bootstrap-dark .box-line-info {
	color: #505050;
}
.bootstrap .box-line-info {
	color: #a0a0a0;
}

.form-label-inline {
	position: absolute;
	top: 6px;
	left: 8px;
	font-size: 0.75em;
}

.bootstrap .fastlist-hide,
.bootstrap-dark .fastlist-hide {
	display: none !important;
}


.swipe-container > div:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.swipe-container > div:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.swipe-container > div:not(:last-child) {
	margin-right: 2px;
}


/* Make the video container fill the entire window */
.video-container {
	/* position: fixed; */
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: rgba(0, 0, 0, 0.8); /* Optional: background color */
}

/* Make the video player responsive */
.video-player {
	max-width: 100%;
	max-height: 50vh;
}

.resultLine .selected {
	background-color: #007bff;
	color: #ffffff;
}

.toastui-calendar-dropdown-menu-item .toastui-calendar-content {
	font-size: 1.0rem !important;
	font-weight: 400 !important;
}

.no-select {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
}

.leaflet-marker-icon.leaflet-div-icon {
	background: transparent;
	border: none;
}

tr.deleted td {
	text-decoration: line-through;
}

.scroll-wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.scroll-button {
	background-color: rgba(255, 255, 255, 1.0);
	border: none;
	cursor: pointer;
	font-size: 32px;
	padding: 10px;
	z-index: 1;
	opacity: 0.5;
	transition: opacity 0.3s;
	z-index: 100000;
	border: 2px solid #808080;
}

.scroll-button.left {
	position: absolute;
	top: 40%;
	left: 0 !important;
}

.scroll-button.right {
	position: absolute;
	top: 40%;
	right: 0 !important;
}

.scroll-button:hover {
	opacity: 1;
}

.scroll-button:disabled {
	opacity: 0.2;
	cursor: default;
}

@media print {
	/* @page {
		size: 210mm 297mm;
		margin-top: 20mm;
	} */

    body * {
        visibility: hidden;
    }
    .receipt, .receipt * {
        visibility: visible;
    }
    .receipt {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
		padding: 12mm;
        box-sizing: border-box;
        font-size: 9pt; /* Adjust as needed */
        color: black; /* Better for printing */
        background: white;
    }
	.receipt .container {
		width: 100%;

	}
	.page-break {
        display: block;
        page-break-before: always; /* Force page breaks */
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    .printPrescription, .printPrescription * {
        visibility: visible;
    }
    .printPrescription {
		width: 100%;
        position: absolute;
		font-size: 13px;
        top: 0;
        left: 0;
        margin: 0;
        padding: 15mm;
        box-sizing: border-box;
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    .viewForm, .viewForm * {
        visibility: visible;
    }
    .viewForm {
		width: 100%;
        position: absolute;
		font-size: 13px;
        top: 0;
        left: 0;
        margin: 0;
        padding: 5mm;
        box-sizing: border-box;
    }
}

.bootstrap .show-ipad-up {
  	display: none !important;
}

/* show (as flex) on md+ (>=768px) */
@media (min-width: 768px) {
	.bootstrap .show-ipad-up {
		display: flex !important;
	}
}
@media (max-width: 767px) {
	.bootstrap .w-50.w-ipad {
		margin-top: 10px !important;
		width: 100% !important;
	}
	.bootstrap .w-25.w-ipad {
		margin-top: 10px !important;
		width: 50% !important;
	}
}
@media (max-width: 1024px) {
	.bootstrap .w-50.w-ipad {
		margin-top: 10px !important;
		width: 100% !important;
	}
	.bootstrap .w-25.w-ipad {
		margin-top: 10px !important;
		width: 50% !important;
	}
}

/* iOS */
@media (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    body {
        padding-top: 44px; /* iPhone X, iPhone XS */
    }
}

