       /* Absolute Center Spinner */
.loading {
  display: none;
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));

  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}
.loading:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}  

/* Animation */

  0% {
@-webkit-keyframes spinner {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.upload-wrapper {
	                margin-bottom: 20px;
			float: left;
	        }
	        .upload-wrapper input {
	        width: 0.1px;
	        height: 0.1px;
	        opacity: 0;
	        overflow: hidden;
	        position: absolute;
	        z-index: -1;
	        }
	        .upload-wrapper input + label {
	        border-radius: 3px;
	        font-size: 1.5rem;
	        font-weight: 700;
	        color: white;
	        background-color: #337ab7;
	        display: block;
	        padding: 10px 10px;
	        text-align: center;
	        }
	        .upload-wrapper input + label {
	        cursor: pointer; /* "hand" cursor */
	        }

.show-notifications {
	height: 25px;
	width: 25px;
	cursor: pointer;
}
.show-traces-request {
	height: 25px;
	width: 25px;
	cursor: pointer;
}
.task-notifications {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    padding: 0;
    border-radius: 10px;
    background: ghostwhite;
    box-shadow: 1px 1px 10px #ccc;
    max-height: 700px;
    overflow: scroll;
    list-style: none;
    z-index: 99999;
}
.traces-notifications {
    display: none;
    position: absolute;
    top: 65px;
    right: 0;
    padding: 0;
    border-radius: 10px;
    background: ghostwhite;
    box-shadow: 1px 1px 10px #ccc;
    max-height: 700px;
    overflow: scroll;
    list-style: none;
    z-index: 99999;
}
.show-notifications.active {
	background: crimson;
	border-radius: 50%;
}
.show-traces-request.active {
	background: crimson;
	border-radius: 50%;
}
.task-notifications.show {
	display: block;
}
.task-notifications li {
	padding: 10px;
	cursor: pointer;
}
.task-notifications a {
	text-decoration: none;
	color: #666;
}
.task-notifications li:hover {
	background: white;
}
/* ---------- */
.traces-notifications.show {
	display: block;
}
.traces-notifications li {
	padding: 10px;
	cursor: pointer;
}
.traces-notifications a {
	text-decoration: none;
	color: #666;
}
.traces-notifications li:hover {
	background: white;
}
/* ---------- */
.alertify .ajs-dialog {
	max-width: 90% !important;
}
.alertify .ajs-dialog table td {
	padding: 5px !important;
}
table.invoice-items {
  border: 1px solid #ccc;
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}

table.invoice-items caption {
  font-size: 1.5em;
  margin: .5em 0 .75em;
}

table.invoice-items tr {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  padding: .35em;
}
.btn-floating {
        background: #337ab7;
        color: white;
        position: fixed;
        bottom: 20px;
        right: 20px;
        border-radius: 50% !important;
        height: 50px;
        width: 50px;
        z-index: 9999;
}
.btn-floating i {
        line-height: 30px;
}
.showonmobile {
        display: none !important;
}
.hideonmobile {
        display: block !important;
}
.filter-form .select-group {
                        display: inline-block;
                        vertical-align: top;
                        width: 48%
                }
                .filter-form button {
                        display: inline-block;
                        vertical-align: top;
                        width: 48%;
                }
.swal2-modal h2{
	font-size: 24px !important;
	line-height: 48px !important;
}
.tr-action .dropdown-menu {
        left: -70px !important;
}
ul.related-products, ul.products-wrapper {
	list-style: none;
    padding: 0px;
    box-shadow: 0 0 5px #ddd;
    position: absolute;
    z-index: 99;
    background: white;
    width: 95%;
}
ul.related-products li, ul.products-wrapper li {
	padding: 8px 20px;
	cursor: pointer;
}
.tags-wrapper {
	display: block;
    margin: 20px 0 10px 0;
}
.tags-wrapper .related-tag {
    background: lightcoral;
    padding: 8px;
    margin: 5px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
}
#map {
        height: 400px;  /* The height is 400 pixels */
        width: 100%;  /* The width is the width of the web page */
}
#chatModal {
	overflow: hidden !important;
	z-index: 99999;
}
#chatModal .modal-dialog {
width: 100%;
padding: 0;
margin: 0;
}
#chatModal .modal-content {
	height: 100vh;
	overflow: hidden;
}
#chatModal .modal-content .chat-list {
	list-style: none;
	overflow: scroll;
	height: 100vh;
	padding: 0;
}
#chatModal .modal-content .chat-list li {
	padding: 10px 0 10px 20px;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
}
#chatModal .modal-content .chat-list li.new_messages {
    background: teal;
    color: white;
}
#chatModal .modal-content .chat-list li:hover {
	background: #eee;
	color: black;
}

#chatModal .modal-content .chat-list li .chat-user {
background: black;
color: white;
border-radius: 50%;
width: 50px;
display: inline-block;
height: 50px;
text-align: center;
line-height: 50px;
margin-right: 20px;
font-size: 20px;
}
#chatModal .modal-content .message-list {
	height: 85vh;
	list-style: none;
	overflow: scroll;
}
#chatModal .modal-content .message-list li {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
}
#chatModal .modal-content .message-list .left-message {
float: left;
width: max-content;
padding: 10px;
background: #f6f6f6;
text-align: left;
margin: 10px 0 0 10px;
}
#chatModal .modal-content .message-list .right-message {
float: right;
width: max-content;
padding: 10px;
background: lavender;
margin: 10px 10px 0 0;
text-align: right;
}
#chatModal .modal-content  .message-input {
width: 80%;
display: inline-block;
height: 50px;
vertical-align: top;
}
#chatModal .modal-content .btn-success {
display: inline-block;
width: 19%;
vertical-align: top;
}
.btn-chat {
position: fixed;
bottom: 100px;
right: 20px;
border-radius: 50% !important;
width: 50px;
height: 50px;
font-size: 2rem !important;
z-index: 9999;
}
.expand-all {
            position: fixed;
            top: 60px;
            right: 0;
            background: orangered;
            padding: 10px 20px;
            color: white;
            z-index: 9999;
        }
a:hover
{
	cursor: pointer;
}
.dataTables_wrapper
{
	overflow-x: scroll;
}
ul.user-accounts
{
	max-height: 90vh;
	overflow: auto;
}
.check_price
{
	margin-top: 5px;
	position: absolute; 
	right: 40px; 
}

.customContainer{
	padding: 40px 0;
	margin: 0px 0 !important;
	background: -webkit-linear-gradient(rgb(245, 245, 245), white);
}	
.customFontHead{
	font-size: 20px;
	text-align: center;
}	
.customTextBorder{
	border-bottom: 1px solid rgb(195, 193, 193);
	padding-bottom: 5%;
	margin-bottom: 5%;
}
.customSubMenu{
	margin-left: 2%;
}
.customMenuOne{
	padding-left: 5px;
	padding-right: 5px;
}
.shiftLeft{
	float: left;
}
.customMenuDiv{
	padding-bottom: 30px;
	float: left;
	width: 100%;
}
.hide-non-phone #collapseExample ul, .hide-non-phone #collapseExample ul li a
{
	list-style: none;
	color: white;
}
.hide-non-phone #collapseExample ul li 
{
	margin: 1em 0;
}
.inside-level
{
	margin-left: 3.5em;
}
.inside-level a
{
	color: white;
}
.inside-level a:hover {
	color: white;
}
.navbar-brand i 
{
	color: white !important;
}
.notifications
{
	margin: 0 1em; 
	position: relative;
}
.notifications .list
{
	position: absolute; 
	width: 300px; 
	background: white; 
	left: -18em; 
	top: 3em; 
	list-style: none;
	border: 2px solid #eee;
	padding: 0;
	-webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, .25);
}
.notifications .list li
{
	margin: 0;
	padding: 0;
	
}
.notifications .list .item
{
	padding: 0 1em;
}
.notifications .list:before
{
	content: '';
	border: 15px solid;
	position: absolute;
	border-color: transparent transparent white transparent;
	top: -1.7em;
	right: .5em;
}

.notifications .list .date
{
	color: #ccc;
}
.notifications .list #notificationFooter
{
	background-color: #e9eaed;
	text-align: center;
	font-weight: bold;
	padding: 8px;
	font-size: 12px;
	border-top: 1px solid #dddddd;
	position: relative;
	
}
@media screen and (max-width: 992px){
	.showonmobile {
                display: block !important;
        }
        .hideonmobile {
                display: none !important;
        }
        .listForm > .btn-group, .listForm > label, .listForm > .btn.btn-default {
                display: none;
        }
        .listForm #tableFilter {
                width: 100% !important;
        }
        .listForm .dataTables_wrapper, .invoice-items-wrapper {
                overflow: scroll;
        }
        .listForm .pull-right {

                width: 100%;
        }
        .listForm .pull-right > .btn.btn-primary {
                display: none !important;
        }
        .form-horizontal {
                padding: 0 !important;
        }
        .brands label.control-label {
                float: left !important;
        }
	        table.invoice-items {
    border: 0;
  }
  table.invoice-totals {
  width: 100% !important;
  }
  table.invoice-items-totals {
	width: 100% !important;
  }
  table.invoice-items caption {
    font-size: 1.3em;
  }

  table.invoice-items thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
   table.invoice-items tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .625em;
    padding-bottom: 25px;
  }
	 table.invoice-items td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .8em;
    text-align: right;
    max-width: 100% !important;
    overflow: visible;
  }
  table.invoice-items td input {
  display: inline-block;
      width: 70%;
  }
  table.invoice-items td .remove-item {
  position: absolute;
    right: -5px;
    top: 58px;
    background: crimson;
    color: white;
    width: 25px;
    text-align: center;
    height: 25px;
  }
  table.invoice-items td .remove-item i {
  color: white !important;
      line-height: 25px;
  }
  table.invoice-items td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    float: left;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 40px;
  }

  table.invoice-items td:last-child {
    border-bottom: 0;
  }

  ul.products-list {
  height: 50vh;
  top: 50px;
  }
  ul.products-list li {
  text-align: center;
  }
}
