.product-name-overflow{
	height:60px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.alert-danger{
	color: red;
}

.text-danger{
	color: red;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url('/images/pageLoader.gif') 50% 50% no-repeat rgb(249,249,249);
    opacity: 1;
}

.table-responsive{
	max-width:1000px;
}

.whats-app {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 1.0rem;
	left:unset;
	right:1rem;
	background-color: #25d366;
	color: #FFF;
	border-radius: 50px;
	text-align: center;
	font-size: 30px;
	box-shadow: 2px 2px 3px #999;
	z-index: 100;
}

.my-float {
    margin-top: 16px;
}
#toTop{
	bottom: 5.5rem!important;
}

@media (min-width: 992px) {
	.sidebar-expand-lg.layout-fixed .app-sidebar .sidebar-wrapper {
		height: auto !important;
	}
}

/* ============================================================
 * Opt-in viewport-bound layout
 * Use on a page wrapper to keep header/sidebar/footer fixed
 * and confine scrolling to the wrapper's inner panes.
 *
 * Usage:
 *   <div class="page-viewport-scroll">
 *     <!-- panes inside should use overflow:auto + flex:1 -->
 *   </div>
 *
 * Override --page-chrome-offset for pages with extra chrome.
 * ============================================================ */
/* Fills whatever the body-chain lock left for it. No chrome math. */
.page-viewport-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.page-viewport-scroll > .col,
.page-viewport-scroll > [class*="col-"] {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    min-height: 0;
}
/* Modifier when content inside should stack vertically (header + scrollable body). */
.page-viewport-scroll--stack {
    display: flex;
    flex-direction: column;
}

/* Lock the body chain so the page itself doesn't scroll when this class is present.
 * Body must have class "viewport-bound-page"; :has() version is a bonus for pages
 * that use .page-viewport-scroll without remembering to add the body class.
 */
html:has(.page-viewport-scroll),
html.viewport-bound-page,
body.viewport-bound-page,
body.layout-fixed:has(.page-viewport-scroll) {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
body.viewport-bound-page .app-wrapper,
body.layout-fixed:has(.page-viewport-scroll) .app-wrapper {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}
body.viewport-bound-page .app-main,
body.layout-fixed:has(.page-viewport-scroll) .app-main {
    overflow: hidden !important;
    min-height: 0 !important;
}
body.viewport-bound-page .app-content,
body.layout-fixed:has(.page-viewport-scroll) .app-content {
    overflow: hidden !important;
    min-height: 0 !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}
body.viewport-bound-page .app-content > .container-fluid,
body.layout-fixed:has(.page-viewport-scroll) .app-content > .container-fluid {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
