body
{
	font-size: 1rem;
	overflow-y: scroll;
}

.buttons-main-center { width: 100px; left: calc(50% + 4.1111%); }

.feather
{
	width: 16px;
	height: 16px;
	vertical-align: text-bottom;
}

.icon
{
	max-width: 100%;
	max-height: 100%;
}

/*
* Sidebar and topbar
*/
.logo 
{ 
	display: block;
	max-width: 100px;
	/*min-height: 26px;*/ 
}

.bg-light { background-color: #f5f5f5 !important; }

.sidebar
{
	position: fixed;
	top: 0;
	/* rtl:raw:
	right: 0;
	*/
	bottom: 0;
	/* rtl:remove */
	left: 0;
	z-index: 100; /* Behind the navbar */
	padding: 80px 0 0; /* Height of navbar */
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px)
{
	.sidebar
  {
		top: 0rem;
	}
	.topbar
  {
		display: none;
	}
}

.top-alert-pop-up
{
	font-family: monospace;
	white-space: pre-wrap;
}

.top-alert-pop-up-container-absolute
{
	position: absolute;
	width: calc(100% - 50px);
	margin: 25px 15px;
}

/*
* Top banner row
*/
.navbar-brand
{
	padding-top: .75rem;
	padding-bottom: .75rem;
	font-size: 0.75rem;
	background-color: rgba(0, 0, 0, .25);
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler
{
	top: .25rem;
	right: 1rem;
}

.navbar .form-control
{
	padding: .75rem 1rem;
	border-width: 0;
	border-radius: 0;
}

.form-control-dark
{
	color: #fff;
	background-color: rgba(255, 255, 255, .1);
	border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus
{
	border-color: transparent;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.dropdown-toggle { outline: 0; }

.nav-flush .nav-link
{
	border-radius: 0;
}

pre
{
  color: #039;
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

/*
* Forms
*/
input[type="checkbox"]
{
  cursor: pointer;
}

.scrollarea {
	overflow-y: auto;
}

.fw-semibold { font-weight: 600; }
.lh-tight { line-height: 1.25; }

.spinner-border { width: 1.2rem; height: 1.2rem; }
.cursor-default { cursor: default !important; }
.cursor-pointer { cursor: pointer !important; }

/*
 * Sidebar
 */
.sidebar
{
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px)
{
  .sidebar {
    top: 5rem;
  }
}

.sidebar-sticky
{
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link
{
  font-weight: 500;
  color: #333;
  margin-right: 1px;
  padding: 0.5rem 1.5rem;
}

.sidebar .nav-link .feather
{
  margin-right: 4px;
  color: #727272;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover
{
  color: #650085;
  background-color: #fff;
}

.sidebar .nav-link:active
{
	padding-left: 1.6rem;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather
{
  color: inherit;
}

.sidebar-heading
{
  font-size: .75rem;
  text-transform: uppercase;
}

/* Documentation lists */
ul.documentation { list-style: disc; }
ol.documentation { list-style: decimal; counter-reset: section; list-style-type: none; padding-right: 1rem; }
ol.documentation li { counter-increment: section; }
ol.documentation li:before  { content: counters(section, ".") " "; margin-left: -1.5em; }

/*
ol.documentation {
    counter-reset: section;
    list-style-type: none;
    margin-bottom: 1em;
    font-weight: bold;
}

ol.documentation > li {
  position: relative;
}

ol.documentation > li::before {
    counter-increment: section;
    content: "" counter(section) " ";
	position: absolute;
	left: -1.5em;
}

ol.documentation ol {
    counter-reset: absatz;
    list-style-type: none;
    margin-top: 0.5em;
    font-weight: normal;
}

ol.documentation ol > li::before {
    counter-increment: absatz;
    content: "(" counter(absatz) ") ";
}

ol.documentation ol ol {
    list-style-type: lower-latin;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

ol.documentation ol ol > li::before {
    content: none;
}
*/

/* Nav tabs */
.nav-tabs .nav-link
{
	color: #650085;
}
.nav-tabs .nav-link:hover
{
	color: #BE00FD;
}

/* Logs */
.log-list-item
{
	color: #666;
	text-decoration: none;
	cursor: pointer;
}

.log-list-item:hover
{
	text-decoration: underline;
}

.log-list-item.active
{
	font-weight: bold;
	color: #039;
}

.accordion-body { overflow-y: auto; height:20vh;  }

/* Sign-in form */
.eye-container { width: 44px; cursor: pointer; }
.eye
{
  width: calc(100% - 17px);
  height: calc(100% - 17px);
  margin: 7px;
}
.eye-container:hover, .eye-container:active
{
	background-color: #f5f5f5;
}
.eye-container:active
{
	margin: 0.5px -0.5px -0.5px 0.5px;
}

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

.input-reset-pin
{
	text-align: center;
	letter-spacing: 3px;
	color: #555 !important;
	font-weight: 700;
}

/***
** Editable tables
**/
.editable { border-left: 1px solid #0bd!important; }

[contenteditable]:focus
{
  outline: 1px solid #0cf;
  box-shadow: 3px 3px 4px #ccc;
  background-color: #fff;
  color: #000;
}

/***
** Pagination
**/
.pagination { height: 40px; }
.record-count { width: 95px; }
.sort-order { width: 95px;  }

/*
.page-link { color: #369; font-weight: 600; }
.page-link:hover { color: #0070c9; }
.page-item.active .page-link
{
    z-index: 3;
    color: #fff;
    background-color: #0070c9;
    border-color: #0070c9;
}*/
.page-item.disabled .page-link { color: #dde; }
.page-item.active .page-link { color: #0070c9; font-weight: 600; background: #fff; }

ul.pagination { padding: 0px; }

ul.pagination li
{
    background-color: #fff;
    display: block;
    float: left;
    line-height: 16px;
    list-style: none;
    position: relative;
    margin: 0 5px 0 0;
}

ul.pagination li a
{
    color: #111;
    font-weight: 400;
}
ul.pagination li a
{
    padding: 8px 12px 7px 13px;
}
ul.pagination li a
{
    border-radius: 3px;
    box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
    background: #eff1f3;
    background: -webkit-linear-gradient(top,#f7f8fa,#e7e9ec);
    background: linear-gradient(to bottom,#f7f8fa,#e7e9ec);
    border: 1px solid #6c6e73;
    border-color: #adb1b8 #a2a6ac #8d9096;
}
ul.pagination li a:hover
{
  background:#e0e3e9;
  background:-webkit-linear-gradient(top,#e7eaf0,#d9dce1);
  background:linear-gradient(to bottom,#e7eaf0,#d9dce1);
  border-color:#a2a6ac #979aa1 #82858a
}
ul.pagination li a, ul.pagination li.disabled
{
    display: block;
    text-decoration: none;
}
ul.pagination li a:focus
{
  box-shadow:0 0 3px 2px rgba(0,112,201,.5);
  outline:0
}
ul.pagination li a:active
{
  border-radius:3px;
  border-color:#0070c9; /* Orange #e77600 */
  box-shadow:0 1px 3px rgba(0,0,0,.2) inset;
  background-color:#e7e9ec;
  background-image:none
}

ul.pagination li a.ellipsis
{
  cursor: default;
  border-radius: 3px;
  box-shadow: none;
  background: transparent;
  background: transparent;
  background: transparent;
  border: 1px solid transparent;
  border-color: transparent;
  padding: 8px 2px 7px 4px;
}

/* Tree structure for UL/LI */
.tree * { margin: 0; padding: 0; list-style: none; }
.tree ul li 
{
  margin-left: 25px;
  position: relative;
  padding-left: 5px;
}
.tree ul li::before 
{
  content: " ";
  position: absolute;
  width: 1px;
  background-color: #888;
  top: 5px;
  bottom: -12px;
  left: -10px;
}
/*.tree ul > li:first-child::before {top: 12px;}*/
.tree ul li:not(:first-child):last-child::before {display: none;}
.tree ul li:only-child::before 
{
  display: list-item;
  content: " ";
  position: absolute;
  width: 1px;
  background-color: #888;
  top: 5px;
  bottom: 7px;
  height: 7px;
  left: -10px;
}
.tree ul li::after 
{
  content: " ";
  position: absolute;
  left: -10px;
  width: 10px;
  height: 1px;
  background-color: #888;
  top: 12px;
}

.tree span
{
	color: #666;
	text-decoration: none;
	cursor: pointer;
}
.tree span:hover
{
	text-decoration: underline;
	color: #000;
}
.tree .inactive
{
	color: #ccc;
}
.tree .selected
{
	color: #000;
	font-weight: bold;
}

.list-menu * { margin: 0; padding: 0; list-style-type: none; }
.list-menu li { padding: 3px 0px; } 
.list-menu span 
{
	color: #666;
	text-decoration: none;
	cursor: pointer;
} 
.list-menu span:hover
{
	text-decoration: underline;
	color: #000;
}
.list-menu .inactive
{
	color: #ccc;
}
.list-menu .selected
{
	color: #000;
	font-weight: bold;
}

.btn-remove-image-container
{
	position: absolute;
	margin-top: -23px;
	margin-left: -27px;
}

.field-label { color: #650085; text-align: right; }

/* Generic buttons */
.btn-properties, .btn-delete-row
{
	color: #333;
	background-color: #f5f5f5 !important;
	font-size: 1rem !important;
	z-index: 8 !important;
}
.btn-properties:hover 
{
	color: #000;
	background-color: #fff !important;
}
.btn-properties:active
{
	padding: 0.5rem 0.8rem 0.4rem 1.0rem !important;
	font-size: 1.1rem !important;
	z-index: 9 !important;
}

.btn-delete-row:hover
{
	color: #000;
	background-color: #fff !important;
}

.sku-image
{
	max-height: 280px;
	-webkit-transition: opacity 1s ease-in-out;
	-moz-transition: opacity 1s ease-in-out;
	-o-transition: opacity 1s ease-in-out;
	transition: opacity 1s ease-in-out;
}

