#loader {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	overflow: visible;
	opacity: 0.7;
	background: #000 url('../img/loading-bars.svg') no-repeat center center;
	background-size: 100px;
}

#loader .percent {
	font-size: 20px;
	color: #FFF;
	font-weight: bold;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
	left: 0;
	right: 0;
	margin-top: 50px;
}

@media (max-width: 991px) {
	.navbar-custom-menu>.navbar-nav>li>.dropdown-menu {
		right: 0;
	}
}

.table {
	width: 100% !important;
}

.dataTables_scrollHeadInner {
	width: 100% !important;
}

.modal {
	overflow-y: auto;
}

.unread {
	font-weight: bold;
}

.bold {
	font-weight: bold;
}

#search-sn {
	max-width: 100%;
}

.signature-pad {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	font-size: 10px;
	width: 350px;
	max-width: 100%;
	height: 350px;
	border: 1px solid #e8e8e8;
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .27), 0 0 40px rgba(0, 0, 0, .08) inset;
	border-radius: 4px;
	padding: 16px
}

.signature-pad::before, .signature-pad::after {
	position: absolute;
	z-index: -1;
	content: "";
	width: 40%;
	height: 10px;
	bottom: 10px;
	background: transparent;
	box-shadow: 0 8px 12px rgba(0, 0, 0, .4)
}

.signature-pad::before {
	left: 20px;
	-webkit-transform: skew(-3deg) rotate(-3deg);
	transform: skew(-3deg) rotate(-3deg)
}

.signature-pad::after {
	right: 20px;
	-webkit-transform: skew(3deg) rotate(3deg);
	transform: skew(3deg) rotate(3deg)
}

.signature-pad--body {
	position: relative;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	border: 1px solid #f4f4f4
}

.signature-pad--body canvas {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border-radius: 4px;
	box-shadow: 0 0 5px rgba(0, 0, 0, .02) inset
}

.signature-pad--footer {
	color: #c3c3c3;
	text-align: center;
	font-size: 1.2em;
	margin-top: 8px
}

.signature-pad--actions {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	margin-top: 8px
}

.signature-pad--actions .column {
	padding: .1em
}

.signature-pad--actions .button {
	margin: .2em
}

.img-preview-div {
  position: relative;
}

.img-preview {
  opacity: 1;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.img-overlay {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
	width: 100%;
}

.img-preview-div:hover .img-preview {
  opacity: 0.3;
}

.img-preview-div:hover .img-overlay {
  opacity: 1;
}

.mt-1 {
	margin-top: 1rem;
}

#location_qr_div img {
	margin: 0 auto;
}

.w-100 {
	width: 100%;
}

.d-none {
	display: none;
}

.d-inline-block {
	display: inline-block;
}
