body {
	font-family: "Raleway", sans-serif;
}

.tooltip-inner {
	max-width: 300px!important;
}
.markdown>table, .table {
	--tblr-table-striped-bg: #ffffff;
}

#header {
	position: relative;
	background: #fff;
	padding: 30px 20px;
}

#header .container {
	max-width: none;
	width: auto;
	padding: 0;
}

#header .logo {
	width: 250px;
	margin: 0 auto;
}

#header .logo img {
	display: block;
	max-width: 100%;
}

#header .header-right {
	padding-top: 30px;
}

#header .user-info {
	display: none;
	text-align: right;
	font-size: 16px;
	line-height: 20px;
	color: #f00;
	font-weight: 600;
}

#header .user-info .title {
	color: #000;
	display: block;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width: 195px;
}

#header .user-info .c-name {
	display: block;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	max-width: 195px;
}

#header .btns, .card-body.btns {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	text-align: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

#header .btns a, .card-body.btns a {
	display: block;
	width: 90px;
	padding: 20px 8px 15px;
	border-radius: 6px;
	box-shadow: 0 0 4px rgba(0, 0, 0, .2);
	margin: 0 8px;
	font-size: 12px;
	line-height: 16px;
	color: #000;
	font-weight: 600;
}
.card-body.btns a {
	font-size: 16px;
	width: auto;
	min-width: 90px;
}
#header .btns a:hover, .card-body.btns a:hover,
#header .btns a.active, .card-body.btns a.active {
	box-shadow: 0 0 4px rgba(255, 0, 0, .4);
	text-decoration: none;
}

#header .btns a img, .card-body.btns a img {
	width: 18px;
}

#header .btns i, .card-body.btns i {
	display: block;
	margin: 0 0 8px;
	width: auto;
	height: auto;
}

#header .btns i img, .card-body.btns i img {
	display: inline-block;
	vertical-align: top;
}

.heading-bar {
	background-image: url("static/bg-page.png");
	background-color: #f00;
	background-blend-mode: multiply;
	background-size: cover;
	background-position: 50% 0;
	color: #fff;
	text-align: center;
	padding: 20px 20px;
}

.heading-bar h1 {
	font-size: 30px;
	line-height: 40px;
	font-weight: 600;
}

.main-content {
	padding: 30px 0 30px;
}

.main-content .form-box {
	max-width: 460px;
	margin: 0 auto;
	border-radius: 8px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .3);
	padding: 40px 26px;
	text-align: center;
	font-weight: 600;
	background: #fff;
}

.main-content .title {
	display: block;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	margin: 0 0 14px;
	text-align: center;
}

.main-content .use-field {
	display: block;
	font-size: 17px;
	line-height: 20px;
	color: #7d7e81;
	text-align: center;
	margin: 0 0 30px;
	font-weight: 600;
}

.main-content .form-group {
	margin: 0 0 30px;
	text-align: left;
}

.main-content .form-group label {
	display: block;
	font-size: 16px;
	line-height: 20px;
	color: #7d7e81;
	margin: 0 0 12px;
	font-weight: 600;
}

.main-content .update {
	display: block;
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	color: #000;
	margin: 0 0 20px;
	padding: 20px 0 0;
}

.main-content .link-text {
	font-size: 17px;
	line-height: 20px;
	display: block;
	color: #7d7e81;
}

.main-content .link-text.mb-0 {
	padding-bottom: 0;
}

.main-content .link-text a {
	color: #7d7e81;
	text-decoration: underline;
}

.main-content .link-text a a {
	text-decoration: none;
}

.main-content .btn-primary {
	margin: 0 0 20px;
	font-size: 17px;
	line-height: 20px;
	border-radius: 26px;
	font-weight: 600;
	padding: 14px 20px;
	border: 0;
	display: block;
	width: 100%;
	background: -webkit-linear-gradient(left, #fe0000 0%, #a0241b 100%);
	background: linear-gradient(to right, #fe0000 0%, #a0241b 100%);
}

.main-content .btn-primary:focus {
	box-shadow: 0 0 0 .25rem rgba(254, 0, 0, .25);
}

.input-holder {
	position: relative;
}

.input-holder .icon {
	position: absolute;
	left: 0;
	top: 1px;
	height: 46px;
	width: 48px;
	border-right: solid 1px #cbcbcb;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.input-holder .form-control {
	border: solid 1px #cbcbcb;
	height: 48px;
	padding: 13px 15px 13px 65px;
	font-size: 15px;
	line-height: 20px;
	color: #000;
	text-overflow: ellipsis;
}

.input-holder .form-control::-webkit-input-placeholder {
	color: #b1b1b3;
}

.input-holder .form-control:-ms-input-placeholder {
	color: #b1b1b3;
}

.input-holder .form-control::placeholder {
	color: #b1b1b3;
}

.input-holder .form-control:focus {
	box-shadow: 0 0 0 .25rem rgba(254, 0, 0, .25);
}

.has-error .form-control {
	border-color: #f00 !important;
	box-shadow: 0 0 10px rgba(255, 0, 0, .6);
}

.main-holder {
	position: relative;
	background: #fff;
	border-bottom: solid 6px #000;
}

.main-holder:before {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	content: "";
	background: url("static/bg-page.png");
	background-size: cover;
}

.main-holder .main-content,
.main-holder .heading-bar {
	position: relative;
	z-index: 1;
}

.page-content {
	background: transparent;
	min-height: 58.2vh;
	border: none;
}

.main-holder.v2 {
	padding: 30px 0 0;
	min-height: 100vh;
}

.main-holder.v2 .logo {
	max-width: 250px;
	margin: 0 auto 30px;
	position: relative;
	z-index: 1;
}

.main-holder.v2 .logo img {
	display: block;
	max-width: 100%;
}

.main-holder.v2 .heading-bar {
	padding: 36px 20px;
}

.main-holder.v2 .heading-bar h2 {
	margin: 0;
	font-size: 24px;
	line-height: 26px;
	margin: 0 0 30px;
}

.main-holder.v2 .main-content {
	padding-top: 0;
	margin-top: -52px;
}

.main-holder.v2 .link-text a {
	color: #000;
}

.main-holder.v2 .link-text a:hover {
	color: #000;
}

.validation-message {
	display: block;
	color: #f00;
	background: rgba(255, 0, 0, .1);
	border-radius: 6px;
	padding: 12px 10px;
	margin: 0 0 20px;
	font-size: 15px;
}

.validation-message.success {
	color: #090;
	background: rgba(0, 255, 0, .1);
}
.validation-message.warning {
	color: #856404;
	background: #fff3cd;
}
.validation-message.info {
	color: #0c5460;
	background: #d1ecf1;
}

.footer-bottom-links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 30px 0 0;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	color: #898989;
}

.footer-bottom-links li {
	margin: 0 11px;
}

.footer-bottom-links li a {
	color: #898989;
}

.footer-bottom-links li a:hover {
	text-decoration: underline;
}

@media (min-width: 768px) {
	#header {
		padding: 20px 30px;
	}

	#header .container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}

	#header .logo {
		margin: 0;
	}

	#header .header-right {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		padding-top: 0;
	}

	#header .user-info {
		display: block;
	}

	#header .btns {
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
	}

	#header .btns a {
		margin: 0 0 0 15px;
	}

	.heading-bar h1 {
		font-size: 40px;
		line-height: 46px;
	}

	.main-content {
		padding: 50px 0 40px;
	}

	.main-content .form-box {
		padding: 40px 32px;
	}

	.main-content .update {
		padding: 20px 50px 0;
		font-size: 20px;
		line-height: 26px;
	}

	.main-content .btn-primary {
		margin: 0 20px 20px;
		width: calc(100% - 40px);
	}

	.main-holder {
		border-bottom: solid 10px #000;
	}

	.main-holder.v2 {
		padding: 60px 0 0;
	}

	.main-holder.v2 .logo {
		max-width: 350px;
		margin: 0 auto 50px;
	}

	.main-holder.v2 .heading-bar h2 {
		font-size: 31px;
		line-height: 36px;
		margin: 0 0 40px;
	}

	.validation-message {
		font-size: 17px;
	}
}

@media (min-width: 1024px) {
	#header .logo {
		width: 350px;
	}

	#header .user-info {
		padding: 0 20px 0 0;
		font-size: 18px;
		line-height: 23px;
	}

	#header .user-info .title {
		max-width: 280px;
	}

	#header .user-info .c-name {
		max-width: 280px;
	}

	#header .btns a {
		font-size: 15px;
		line-height: 18px;
		margin: 0 0 0 27px;
		width: 110px;
		padding: 27px 8px 20px;
	}

	#header .btns a img {
		width: 24px;
	}

	.heading-bar h1 {
		font-size: 48px;
		line-height: 52px;
	}

	.main-content {
		padding: 30px 0 74px;
	}

	.main-content .link-text {
		padding: 0 0 30px;
	}
}

@media (min-width: 1366px) {
	#header {
		padding: 20px 90px;
	}
}

.table-no-row-markings td { border-bottom-color: transparent;}
.table-status-row td { box-shadow: none;}
.table-status-row .success { background-color: #2fb34450;}
.table-status-row .warning { background-color: #f7670750;}
.table-status-row .secondary { background-color: #656d7750;}
.table-status-row .danger { background-color: #d6393950;}
.table-status-row.table-striped>tbody>tr:nth-of-type(even).success { background-color: #2fb34460; }
.table-status-row.table-striped>tbody>tr:nth-of-type(even).warning { background-color: #f7670760; }
.table-status-row.table-striped>tbody>tr:nth-of-type(even).secondary { background-color: #656d7760; }
.table-status-row.table-striped>tbody>tr:nth-of-type(even).danger { background-color: #d6393960; }

.table-status-block .status-block { width: 1rem; padding-left: 0!important; padding-right: 0!important; box-shadow: none; }
.table-status-block .success .status-block { background-color: #2fb344;}
.table-status-block .warning .status-block { background-color: #f76707;}
.table-status-block .secondary .status-block { background-color: #656d77;}
.table-status-block .danger .status-block { background-color: #d63939;}
.table-status-block .purple .status-block { background-color: #ae3ec9;}

.col-1.max-10-cols {
	width: 10%;
}
.col-2.max-10-cols {
	width: 20%;
}
.col-3.max-10-cols {
	width: 30%;
}
.col-4.max-10-cols {
	width: 40%;
}
.col-5.max-10-cols {
	width: 50%;
}
.col-6.max-10-cols {
	width: 60%;
}
.col-7.max-10-cols {
	width: 70%;
}
.col-8.max-10-cols {
	width: 80%;
}
.col-9.max-10-cols {
	width: 90%;
}
.col-10.max-10-cols {
	width: 100%;
}

.report button {
	border: none;
    background: transparent;
    display: inline;
    padding: 0;
	text-align: left;
}

.report button.dropdown {
	
}
@media (min-width: 1400px) {
	.container {
		min-width: 100%;
	}
}

.break {
	border-bottom: solid 2px black;
}

.report tfoot td {
	border-top: solid 1px black;
	border-bottom-width: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.report .has-totals tbody tr:last-child td {
	padding-bottom: 20px;
}

.card-table th {
	color: white!important;
	font-weight: 800!important;
	font-size: 0.725rem!important;
	background: rgba(64,64,64,1)!important;
	box-shadow: none;
	white-space: nowrap;
}

.card-table td .note-add {
	color: rgba(0,0,0,0.25)!important;
	transition: color 0.25s ease-in-out;
}

.card-table td .note-add:hover {
	color: rgba(0,0,0,1)!important;
}

.card-table td .note-edit {
	color: rgba(0,0,0,1)!important;
}

.modal {
	background: rgba(0,0,0,0.5);
	margin-top: 0px;
}

.modal .btn {
	width: auto;
    margin: 0 0 20px;
    font-size: 17px;
    line-height: 20px;
    border-radius: 26px;
    font-weight: 600;
    padding: 14px 20px;
    border: 0;
    display: block;
}

.card-title {
	font-size: 1.1rem;
	color: #ff0000;
}

.highlevel td {
	font-size: 14px;
}

.heading-bar {
	background-image: none;
}

.timestamp {
	padding: 1rem;
	font-size: 12px;
	color: rgba(0,0,0,0.5);
	transition: all ease-in 1s;
}
.timestamp:hover {
	color: rgba(0,0,0,1);

}
#search {
	border-radius: 4px;
	border-color: rgba(101,109,119,.16);
	border-width: 1px;
	font-size: 16px;
	padding: 6px;
}

.report table {
	cursor: default;
	font-family: 'PT Mono', monospace;
	position: relative;
}

.back-button {
	position: fixed;
    top: 0px;
    right: 0px;
    width: auto;
    background-color: white;
	border-right: none;
}

.back-button .icon {
	margin: auto;
}

.report table td {
	vertical-align: top;
}

table th .arrow {
	display: none;
	color: rgba(255,255,255,0.5);
	background-color: rgba(255,255,255,0);
}

table th.sorted .arrow {
	color: rgba(255,0,0,1);
	background-color: rgba(255,255,255,1);
}

table th.sortable .arrow-down {
	display: inline-block;
}

table th.sorted.ascending .arrow-down {
	display: inline-block;
}

table th.sorted.ascending .arrow-up {
	display: none;
}

table th.sorted.descending .arrow-down {
	display: none;
}

table th.sorted.descending .arrow-up {
	display: inline-block;
}

table td.ab {
	background-color: #dddddd;
	box-shadow: none;
}
table td.abv {
	background-color: #eecccc;
	box-shadow: none;
}
table td.ab.abv {
	background-color: #ffdddd;
	box-shadow: none;
}
.table-striped>tbody>tr:nth-of-type(even) td.ab {
	background-color: #eeeeee;
}
.card-table td.ab .note-add {
	color: rgba(0,0,0,0.5)!important;
}
.card-table td.ab .note-add:hover {
    color: rgba(0,0,0,1)!important;
}

.inner-report {
	position: absolute;
	bottom: 10rem;
	top: 1rem;
	left: 1rem;
	right: 1rem;
}

.report .table-responsive {
	margin-bottom: 0;
	max-height: 100%;
	position: relative;
}

.inner-report table {
	white-space: nowrap;
}

.inner-report .sticky {
	position: absolute;
	top: 0;
	left: 0;
}

.inner-report .sticky thead th, .inner-report .sticky tbody td {
	visibility: hidden;
}

.inner-report .sticky thead th {
	position: sticky;
	visibility: visible;
}

.inner-report .sticky tbody td.fixed {
	position: sticky;
	visibility: visible;
}

.table-responsive {
	position: relative;
}

.table-responsive .table-floating, .table-responsive .table-fixed {
	display: table-cell;
}

.table-responsive thead th{
	position: sticky;
	top: 0;
	z-index: 1;
}

.table-responsive .table-fixed {
	position: sticky;
	left: 0;
	z-index: 2;
	border-right: solid 1px rgba(64,64,64,1);
}

.table-responsive thead th .icon {
	height: 1.1rem;
}

#header .user-info .buyer, #header .user-info .supplier {
	font-size: 12px;
	font-weight: 500;
	color: #000;
}

.messages-box {
	background: #333;
	padding: 20px 40px 10px 30px;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
	margin-left: 1.5rem;
	margin-right: 1.5rem;
	z-index: 2;
}

/*
@media (min-width: 768px) {
	.messages-box {
		height: 140px;
		padding: 20px 50px 20px 20px;
	}
}

@media (min-width: 1366px) {
	.messages-box {
		height: 140px;
	}
}
*/

.messages-box .messages-holder {
	padding: 14px 14px 14px;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	position: relative;
	z-index: 1;
	height: 100%;
	overflow: hidden;
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
}

.messages-box .messages-list {
	overflow: auto;
	height: 100%;
	overflow-x: hidden;
}

.messages-box .open-close-btn {
	position: absolute;
	left: 30px;
	top: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 1024px) {
	.messages-box .open-close-btn {
		left: 60px;
	}
}

.messages-box .open-close-btn li.active a {
	color: #f00;
}
		
@media (min-width: 1024px) {
	.messages-box .open-close-btn li.active a {
		padding: 12px 10px;
	}
}
	  
.messages-box .open-close-btn a {
	background: #fff;
	color: #808080;
	padding: 6px 10px;
	border-radius: 0 0 10px 10px;
	margin: 0 4px;
	border: solid 1px #a4a4a4;
	font-size: 14px;
	line-height: 20px;
	font-weight: 700;
	min-width: 100px;
	text-align: center;
	text-decoration: none;
	border-top: 0;
	display: block;
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
}
	
@media (min-width: 768px) {
	.messages-box .open-close-btn a {
		margin: 0 8px;
		font-size: 18px;
		line-height: 22px;
		padding: 8px 10px;
	}
}
		
@media (min-width: 1024px) {
	.messages-box .open-close-btn a {
		font-size: 20px;
		line-height: 26px;
	}
}

.messages-box .edit-link {
	position: absolute;
	left: -15px;
	top: 50px;
	background: #39b54a;
	width: 36px;
	height: 26px;
	border-radius: 5px 0 0 5px;
}
	
@media (min-width: 768px) {
	.messages-box .edit-link {
		width: 40px;
		height: 36px;
		left: -20px;
	}
}

.messages-box .edit-link:before {
	position: absolute;
	left: 50%;
	top: 50%;
	background-image: url("/static/icon-pencil.png");
	width: 14px;
	height: 16px;
	content: '';
	background-size: 100% 100%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
		
@media (min-width: 768px) {
	.messages-box .edit-link:before {
		width: 22px;
		height: 24px; 
	}
}

.messages-box .counter {
	position: absolute;
	right: 20px;
	top: 10px;
	width: 40px;
	height: 38px;
	z-index: 2;
	color: white;
	font-weight: 700;
	text-align: center;
	font-size: 20px;
	line-height: 30px;
}
	  
@media (min-width: 768px) {
	.messages-box .counter {
		right: 94px;
	}
}
	  
.messages-box .counter:before {
	position: absolute;
	left: 0;
	top: 0;
	background-image: url("/static/icon-chat.png");
	width: 100%;
	height: 100%;
	content: '';
	background-size: 100% 100%;
	z-index: -1;
}
	
.messages-box .expand-btn {
	position: absolute;
	right: -3px;
	top: 50px;
	background: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
	border-radius: 100%;
	width: 36px;
	height: 36px;
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
	z-index: 2;
}

@media (min-width: 768px) {
	.messages-box .expand-btn {
		width: 50px;
		height: 50px;
		right: -15px;
	}
}
	  
@media (min-width: 1024px) {
	.messages-box .expand-btn {
		width: 50px;
		right: -20px;
		height: 50px;
	}
}

.messages-box .expand-btn:before {
	position: absolute;
	left: 50%;
	top: 50%;
	background-image: url("/static/icon-arrow-down.png");
	width: 20px;
	height: 24px;
	content: '';
	background-size: 100% 100%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
		
@media (min-width: 1024px) {
	.messages-box .expand-btn:before {
		width: 24px;
		height: 30px;
	}
}

.messages-box.expanded {
	height: 100%;
}

.messages-box.expanded .expand-btn {
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
}
	  
.messages-box.expanded .messages-holder {
	padding-top: 55px;
}
	  
.messages-box.expanded .open-close-btn {
	opacity: 1;
	visibility: visible;
}
  
.message {
	min-height: 85px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: #fff5f5;
	margin: 0 0 10px;
	padding: 10px 15px;
	border-radius: 8px;
	position: relative;
}
	
@media (min-width: 768px) {
	.message {
		padding: 10px 20px;
	}
}

@media (min-width: 1366px) {
	.message {
		min-height: 95px;
	}
}

.message .text-holder {
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	width: 100%;
}

.message .initial-message {
	overflow: hidden;
}

@media (min-width: 1024px) {
	.message .initial-message {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
}

.message .initial-message .heading {
	font-size: 18px;
	line-height: 22px;
	font-weight: 600;
	margin: 0 20px 0 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
}

@media (min-width: 768px) {
	.message .initial-message .heading {
		font-size: 20px;
		line-height: 26px;
	}
}

/*
@media (min-width: 1366px) {
	.message .initial-message .heading {
		font-size: 24px;
		line-height: 28px;
	}
}
*/

.message .initial-message .time-holder {
	color: #666;
	font-style: italic;
	font-size: 14px;
	line-height: 18px;
	font-weight: 500;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}
		
@media (min-width: 768px) {
	.message .initial-message .time-holder {
		font-size: 18px;
		line-height: 20px;
	}
}
/*		
@media (min-width: 1366px) {
	.message .initial-message .time-holder {
		font-size: 20px;
		line-height: 22px;
	}
}
*/	
.message .reply, .message .closed {
	padding-left: 24px;
	position: relative;
	margin-top: 10px;
}
	  
@media (min-width: 768px) {
	.message .reply, .message .closed {
		padding-left: 34px;
	}
}
	  
@media (min-width: 1024px) {
	.message .reply, .message .closed {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		overflow: hidden;
	}
}

.message .reply:before, .message .closed:before {
	position: absolute;
	left: 0;
	top: 0;
	background-image: url("/static/icon-reply.png");
	width: 16px;
	height: 14px;
	content: '';
	background-size: 100% 100%;
}

.message .closed:before {
	background-image: none;
}

@media (min-width: 768px) {
	.message .reply:before, .message .closed:before {
		width: 20px;
		height: 18px;
	}
}
	  
.message .reply .heading, .message .closed .heading {
	font-size: 14px;
	line-height: 16px;
	font-weight: 600;
	margin: 0 10px 0 0;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	display: block;
}
		
@media (min-width: 768px) {
	.message .reply .heading, .message .closed .heading {
		font-size: 16px;
		line-height: 20px;
	}
}

/*
@media (min-width: 1366px) {
	.message .reply .heading, .message .closed .heading {
		font-size: 18px;
		line-height: 22px;
	}
}
*/
.message .reply .time-holder, .message .closed .time-holder {
	color: #666;
	font-style: italic;
	font-size: 11px;
	line-height: 13px;
	font-weight: 500;
	white-space: nowrap;
	-ms-flex-negative: 0;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.message .reply .time-holder, .message .closed .time-holder {
		font-size: 13px;
		line-height: 16px;
	}
}

/*
@media (min-width: 1366px) {
	.message .reply .time-holder, .message .closed .time-holder {
		font-size: 16px;
		line-height: 20px;
	}
}
*/

.message.urgent {
	background: #ffd9d9;
	padding-left: 44px;
}
	  
@media (min-width: 768px) {
	.message.urgent {
		padding-left: 60px;
	}
}
	  
.message.urgent:before {
	position: absolute;
	left: 14px;
	top: 18px;
	background-image: url("/static/icon-warn.png");
	width: 20px;
	height: 18px;
	content: '';
	background-size: 100% 100%;
}
		
@media (min-width: 768px) {
	.message.urgent:before {
		left: 17px;
		width: 30px;
		height: 28px;
	}
}
	
.message.no-bg {
	background: none;
}
	
.message .checklist-btn {
	position: absolute;
	right: 15px;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 6px;
	border: solid 1px #f00;
	background: #fff;
	box-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	-webkit-transition: linear 0.4s;
	transition: linear 0.4s;
	z-index: 1;
}

@media (min-width: 768px) {
	.message .checklist-btn {
		width: 46px;
		height: 46px;
		right: 20px;
	}
}
	  
.message .checklist-btn:before {
	position: absolute;
	left: 50%;
	top: 50%;
	background-image: url("/static/icon-files.png");
	width: 16px;
	height: 20px;
	content: '';
	background-size: 100% 100%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
		
@media (min-width: 768px) {
	.message .checklist-btn:before {
		width: 20px;
		height: 26px;
	}
}
	
.message:hover .checklist-btn {
	opacity: 1;
	visibility: visible;
}
  
#tabs-content, .tab-content {
	height: 100%;
}

div::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.lds-ring {
	display: none;
	position: absolute;
	width: 80px;
	height: 80px;
	top: calc(50% - 40px);
	left: calc(50% - 40px);
	z-index: 10;
	transition: display ease-in-out 0.25s;
}

.lds-ring div {
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid #f00;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: #f00 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
	animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
	animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
	animation-delay: -0.15s;
}
@keyframes lds-ring {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
}

.stockroom #header {
	padding: 10px 90px;
}

.stockroom #header .logo {
	width: 150px;
}

.stockroom #header .btns a {
	padding: 0px;
	font-size: 12px;
	width: 90px;
	margin: 0 0 0 20px;
}

.stockroom #header .user-info {
	font-size: 14px;
}

.stockroom .heading-bar {
	padding: 5px;
	height: 0px;
}

.stockroom .heading-bar h1 {
	position: relative;
	top: -70px;
	color: red;
	text-align: left;
	padding-left: 25%;
	pointer-events: none;
}

.stockroom .page-content {
	min-height: 80vh;
}

.stockroom .messages-box.expanded .messages-holder {
	padding-top: 35px;
}

.stockroom .message .initial-message .heading, .stockroom .message .initial-message .time-holder {
	font-size: 16px;
}

.stockroom .message .reply .heading {
	font-size: 14px;
}

.stockroom .message .checklist-btn {
	width: 30px;
	height: 30px;
}

.stockroom .message {
	min-height: unset;
}

.stockroom .message.urgent:before {
	top: 5px;
}

.stockroom .messages-box .open-close-btn a {
	padding: 5px 10px;
}

.stockroom .messages-box .open-close-btn li.active a {
	padding: 7px 10px;
}

td.r, th.r, a.r {
	text-align: right!important;
}

td.c, th.c, a.c {
	text-align: center!important;
} 

td.b, th.b, a.b {
    color: #206bc4!important;	
}

td.d, th.d, a.d {
    --tblr-text-opacity: 1;
    color: rgba(var(--tblr-danger-rgb),var(--tblr-text-opacity))!important;	
}
td.s, th.s, a.s {
    color: rgb(77, 175, 74)!important;	
}

td.s, th.s, a.s {
	font-weight: 600!important;
}

.card .zoom {
	position: absolute;
	bottom: 5px;
	right: 5px;
	color: #333;
}
.card .zoom .icon {
	width: 25px;
	height: 25px;
}
.heading-bar.supplier-admin {
	text-align: left;
	padding-left: 90px;
	padding-right: 90px;
}
.heading-bar.supplier-admin .container {
	padding: 0;
}
.heading-bar.supplier-admin h1 {
	display: inline-block;
}
#selected-supplier {
	float: right;
	color: white;
	vertical-align: middle;
	text-decoration: none;
	margin-top: 20px;
	font-weight: 600;
}
#modal-select-supplier .list {
	width: 100%;
	overflow-y: auto;
	height: 200px;
	border: solid 1px #333;
}
#modal-select-supplier .list a {
	display: block;
	color: #333;
	text-decoration: none;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
}
#modal-select-supplier table {
	width: 100%;
}
#modal-select-supplier table thead td {
	background: #333;
	color: white;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: 600;
}

#select-supplier-filter {
	display: block;
	width: 100%;
	padding: 5px;
}
.zoom .main-holder {
	border-bottom: none;
}
.zoom .page-content {
	min-height: 90vh;
}
.zoom .inner-report {
	bottom: 1rem;
}
.zoom-back-button .icon {
	margin: auto;
}
.card {
	max-height: 27rem;
}
.card.highlevel-zoom {
	max-height: fit-content;
}
.inner-report.supplier-terms {
	bottom: 5rem;
}
.ecovadis-outstanding {
	border-right: solid 10px #0B6822;
}
.ecovadis-advanced {
	border-right: solid 10px #00C43C;
}
.ecovadis-confirmed {
	border-right: solid 10px #C9EA39;
}
.ecovadis-partial {
	border-right: solid 10px #F39200;
}
.ecovadis-none {
	border-right: solid 10px #E3051B;
}
.ecovadis-missing {
	border-right: solid 10px #C0C0C0;
}
.ecovadis iframe {
	height: 100%;
}
.rating-ecovadis-outstanding {
	background: #0B6822!important;
	box-shadow: none!important;
}
.rating-ecovadis-advanced {
	background: #00C43C!important;
	box-shadow: none!important;
}
.rating-ecovadis-confirmed {
	background: #C9EA39!important;
	box-shadow: none!important;
}
.rating-ecovadis-partial {
	background: #F39200!important;
	box-shadow: none!important;
}
.rating-ecovadis-none {
	background: #E3051B!important;
	box-shadow: none!important;
}
.rating-ecovadis-missing {
	background: #C0C0C0!important;
	box-shadow: none!important;
}
tr.highlight-row td {
	font-weight: 600!important;
}
.ecovadis.highlevel .ecovadis-rating {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ecovadis.highlevel .ecovadis-rating a {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #232e3c;
	display: block;
	font-size: 40px;
    font-weight: 600;
    text-align: center;
    padding-top: 7rem;
	line-height: 1;
	text-decoration: none;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-outstanding {
	background-color: #0B6822;
	color: white;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-advanced {
	background-color: #00C43C;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-confirmed {
	background-color: #C9EA39;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-partial {
	background-color: #F39200;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-none {
	background-color: #E3051B;
	color: white;
}
.ecovadis.highlevel .ecovadis-rating a.ecovadis-missing {
	background-color: #C0C0C0;
}
.wrap {
	max-width: 15rem;
	white-space: normal;
}

.desc.wrap {
	max-width: 30rem;
}

#sig-graphic {
	max-width: 50%;
}

#modal-signature-list .signature.active {
	text-decoration: underline;
}
#end-impersonate, #end-switch-view {
	position: absolute;
	top: 0px;
	right: 60px;
	z-index: 1000;
	font-weight: 600;
}

#end-impersonate .title, #end-switch-view .title {
    font-weight: 600;
}

.btn-small {
	margin: 0!important;
	border-radius: 16px!important;
	padding: 5px 5px!important;
}

.btn-small .icon {
	margin: 0!important;
}

#modal-select-supplier .btn-small {
	float: right;
}

#modal-select-supplier .btn-small.example {
    float: none;
    min-height: auto;
    min-width: auto;
    width: auto;
    display: inline-block;
}

#modal-select-supplier tr:nth-child(even) {
	background-color: #eaeaea;
}
.form-control input[type='checkbox'] {
	display: block;
    width: 100%;
    height: 100%;
}

.custom-layout-editor {
	max-width: 100%!important;
}

.custom-layout-editor table {
	width: 100%;
	margin-top: 20px;
}

.custom-layout-editor table td {
	border: solid 1px #cccccc;
	width: 25%;
	position: relative;
}

.custom-layout-editor table thead td {
	text-align: center;
	background-color: #cccccc;
	padding-top: 5px;
	padding-bottom: 5px;
}

.custom-layout-editor table .no-report, .custom-layout-editor table .report {
	text-align: center;
	color: #cccccc;
	padding-top: 40px;
	padding-bottom: 40px;
	display: block;
}

.custom-layout-editor table .report {
	color: #111111;
}

.custom-layout-editor table .report-close {
	position: absolute;
	right: 0;
	top: 0;
	color: black;
}

.custom-layout-editor .available-reports tbody td {
	text-align: center;
}

.custom-layout-editor .available-reports tbody td div {
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: white;
}
.custom-layout-editor .layout .report-option-list {
	display: inline-block;
	text-align: left;
	margin: 0 auto;
}
.custom-layout-editor .layout label {
	display: block;
	margin-top: 5px;
	margin-bottom: 0;
}


.progress-bar {
    height: 40px;
    border-radius: 4px;
    margin: 0;
    margin-bottom: 30px;
    background-color: #e6e8ec;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
    color: black;
    font-weight: 600;
    font-size: 20px;
}

#progress-section input {
	width: 100px;
    text-align: center;
    border-radius: 4px;
    border: solid 1px black;
    margin: 10px;
}

.table-striped>tbody>tr:nth-of-type(even).table-primary td, tbody>tr.table-primary td {
    box-shadow: inset 0 0 0 9999px #c9cc3f;
}

.table-striped>tbody>tr:nth-of-type(odd).table-primary td {
	box-shadow: inset 0 0 0 9999px #b4c424;
}
.table-striped>tbody>tr:nth-of-type(even).table-primary td.ab, tbody>tr.table-primary td.ab {
    box-shadow: inset 0 0 0 9999px #c7c936;
}

.table-striped>tbody>tr:nth-of-type(odd).table-primary td.ab {
	box-shadow: inset 0 0 0 9999px #9eac20;
}

.table-responsive .component thead th {
	position: unset;
}
body.spend-by-component, body.price-increases-by-component {
	background-color: #dddddd;
}
.component .flex-row {
	min-width: 100%;
	background-color: #dddddd;
	position: relative;
}
.component .flex-row::before {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background-color: rgba(64,64,64,1)!important;
	border-bottom: 1px rgba(64,64,64,1) solid;
	content: ' ';
	white-space: pre;
	display: block;
	font-weight: 800!important;
    font-size: 0.725rem!important;
	line-height: 1.6;
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.component .where-used, .component .avl, .component .where-used, .component .details {
/*	background-color: #a9d08e; */
	background-color: #d9d9d9;
}

.component .avl tbody td, .component .where-used tbody td, .component tbody td.split {
	box-shadow: inset 0 0 0 9999px #d9d9d9;
    background-color: #d9d9d9;
}

.component tbody td {
	box-shadow: inset 0 0 0 9999px #d9d9d9;
	background-color: #d9d9d9;
	box-shadow: none;
}

.component tbody td.supplier-1 {
	box-shadow: inset 0 0 0 9999px #eeeeee;	
	background-color: #eeeeee;
}
.component tbody td.supplier-2 {
	box-shadow: inset 0 0 0 9999px #dddddd;	
	background-color: #dddddd;
}

.component table {
	border-collapse: separate;
	border-spacing: 0px;
}

.component .loss {
	background-color: #c65911!important;
	box-shadow: inset 0 0 0 9999px #c65911!important;
}

.component input {
	text-align: right;
	border: none;
	background-color: transparent;
}

body.spend-by-component h1, body.price-increases-by-component h1 {
	background-color: #f00;
	color: #fff;
	text-align: center;
	padding: 20px 20px;
	margin-bottom: 0;
	font-size: 48px;
	line-height: 52px;
	font-weight: 600;
}
body.spend-by-component.custom-layout h1, body.price-increases-by-component.custom-layout h1 {
	background-color: #45a92f;
}
body.spend-by-component .component h3, body.price-increases-by-component .component h3 {
	text-align: center;
	font-size: 24px;
	background-color: #d9d9d9;
	line-height: 48px;
	margin: 0;
}
body.spend-by-component .component td, body.price-increases-by-component .component td {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
	padding-left: 0.25rem;
	padding-right: 0.25rem;
	white-space: nowrap;
}
body.spend-by-component .component th, body.price-increases-by-component .component th {
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}
body.spend-by-component table td {
	border-top: solid 1px transparent;
	border-bottom: solid 2px transparent;
}

body.spend-by-component .component td:last-child, body.spend-by-component .component th:last-child, body.price-increases-by-component .component td:last-child, body.price-increases-by-component .component th:last-child {
	padding-right: 1rem!important;
}
body.spend-by-component .component, body.price-increases-by-component .component {
	border-bottom: solid 30px rgba(64,64,64,1);
}
body.price-increases-by-component .supplier-list .active {
	font-weight: 600;
}

body.price-increases-by-component .supplier-list a {
	color: black;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
	opacity: 1;
}
.component .excel-button {
	float: right;
	margin-top: 5px;
	margin-right: 5px;
	background-color: #eeeeee;
}
.component .show-where-used-button, .component .show-avl-button {
	float: left;
	margin-top: 5px;
	margin-left: 5px;
	background-color: #eeeeee;
}
.component .excel-button:hover, .component .show-where-used-button:hover, .component .show-avl-button:hover {
	color: black;
}
.component table td:first-child, .component .details table th:first-child {
	padding-left: 0.5rem;
}
.valid-until {
	font-size: 20px;
}

.report-card.sidepanel-visible .inner-report {
	right: 42rem;
}

.sidepanel .inner-report {
	left: unset;
	width: 40rem;
}
