#ew-modal-lookup-dialog table {
  width: 100%;
}
#ew-modal-lookup-dialog thead {
  display: table; /* to take the same width as tr */
  width: calc(100% - 17px); /* - 17px because of the scrollbar width */
}
#ew-modal-lookup-dialog th:nth-child(1), 
#ew-modal-lookup-dialog td:nth-child(1) {
  width: 5px;  /* to enable "word-break: break-all" */
  word-break: break-all; /* 4. */
}
#ew-modal-lookup-dialog tbody {
  display: block; /* to enable vertical scrolling */
  max-height: 290px; /* e.g. */
  overflow-y: scroll; /* keeps the scrollbar even if it doesn't need it; display purpose */
}
#ew-modal-lookup-dialog table {
    width: 100%;
}
#ew-modal-lookup-dialog tr {
  display: table; /* display purpose; th's border */
  width: 100%;
  box-sizing: border-box; /* because of the border (Chrome needs this line, but not FF) */
}
.input-group>.form-control.ew-lookup-text {
    width: 100%;
}
.input-group {
    flex-wrap: nowrap !important;
}
table tr td,
table tr th
{
	white-space:nowrap;
}
@media (min-width: 992px){
	.modal-lg {
		max-width: 1200px;
	}
}

.bg-failed {
	background:#ff4d4d !important;
}

.col-sm-10 span{
	float: left;
	margin-right: 0;
}
.col-sm-10 span.ew-search-cond{
	padding: 10px;
}
.col-sm-10 span label{
	margin-right: 0;
}

.ew-quick-search {
	flex-wrap: inherit;
}

.ew-add-div div#r_Tgl,
.ew-edit-div div#r_Tgl{
	width: 510px;
    float: left;
}

#ew-modal-lookup-dialog tbody {
    max-height: 390px;
}

/* fix coloumn scroll*/
#tbl_all_datasheetlist table { 
	table-layout: fixed 
}
#tbl_all_datasheetlist tr>th:first-child,
#tbl_all_datasheetlist tr>td:first-child{
	position: sticky;
	left: 0;
	z-index: 1;
}
#tbl_all_datasheetlist tr>th:nth-child(2),
#tbl_all_datasheetlist tr>td:nth-child(2) {
	position: sticky;
	left: 105px;
	z-index: 1;
}
#tbl_all_datasheetlist tr:nth-child(odd) td {
	background: #fff;
}
#tbl_all_datasheetlist tr:nth-child(even) td {
	background: #f8edef;
}
#tbl_all_datasheetlist tr>th:first-child .ew-pointer {
	background: #b1174d;
}

#fmitemadd #r_name input,
#fmitemedit #r_name input { 
    text-transform: uppercase;
}
::-webkit-input-placeholder { /* WebKit browsers */
    text-transform: none;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    text-transform: none;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    text-transform: none;
}
::placeholder { /* Recent browsers */
    text-transform: none;
}

.ew-add {
	display: unset;
}
.form-group.mattributedetail_img {
	display: none;
}
[data-name="cleaning_advice"] img{
	width: 100%;
}
[data-name="costprice"] input{
	pointer-events: none;
}
[data-name="margin"] input{
	pointer-events: none;
}
#fmitemadd #tbl_mpricegrid tr td[data-name="costprice"]{
	display: none;
}
#fmitemadd #tbl_mpricegrid tr td[data-name="margin"]{
	display: none;
}
#fmitemadd #tbl_mpricegrid tr th[data-name="costprice"]{
	display: none;
}
#fmitemadd #tbl_mpricegrid tr th[data-name="margin"]{
	display: none;
}

#tbl_mpricegrid input[data-field="x_price"]{
	width: 100px;
}
#tbl_mpricegrid input[data-field="x_priceeuro"]{
	width: 100px;
}
#tbl_mpricegrid .form-control-plaintext {
	width: 100px;
}

input::placeholder { /* Standard syntax (most modern browsers) */
  color: #d6d6d6; /* A specific shade of grey */
  opacity: 1; /* Ensures the color is not transparent (Firefox default can be lower) */
}

input::-webkit-input-placeholder { /* Chrome, Opera 15+, Safari */
  color: #d6d6d6;
}

input:-ms-input-placeholder { /* IE 10+ */
  color: #d6d6d6;
}

input::-moz-placeholder { /* Firefox 19+ */
  color: #d6d6d6;
  opacity: 1; /* Override Firefox's default opacity */
}

input:-moz-placeholder { /* Firefox 4-18 */
  color: #d6d6d6;
  opacity: 1;
}
#r_Other_Options_in_Detail .ew-option,
#lu_x_Other_Options_in_Detail .ew-option,
.mitem_Other_Options_in_Detail .ew-option{
	display: block;
	float: none;
}
#lu_x_Other_Options_in_Detail .ew-option:not(:last-of-type)::after {
    content: "";
}
#lu_x_Other_Options_in_Detail{
	height: 100%;
}

#r_Other_Options_in_Detail .ew-option,
#lu_x_Other_Options_in_Thumbnail .ew-option,
.mitem_Other_Options_in_Thumbnail .ew-option{
	display: block;
	float: none;
}
#lu_x_Other_Options_in_Thumbnail .ew-option:not(:last-of-type)::after {
    content: "";
}
#lu_x_Other_Options_in_Thumbnail{
	height: 100%;
}

#tbl_mpricegrid a:not([href]):not([tabindex]) {
    color: #000000;
    text-decoration: none;
}
#tbl_mpricegrid a:not([href]):not([tabindex]):hover, 
#tbl_mpricegrid a:not([href]):not([tabindex]):focus {
    color: #ff0000;
    text-decoration: none;
}
#el_mitem_item_code_averp_btn{
	width:100%;
}
#x_item_code_averp{
	display: inline;
    width: auto;
}
.content-header{
	padding-top: 65px;;
}

#fmitemview .ew-add-edit-option{
	display:none;
}
.df1{
	font-weight:bold;
}
.df2{
	font-weight:normal;
}
.df3{
	color:#fe0000;
}
.has-treeview .nav-treeview{
	padding-left:20px;
}
.has-treeview .nav-treeview .nav-treeview{
	padding-left:20px;
}
[data-name="barcode128"] div{
	width: 100% !important;
}
[data-name="img3"] div{
	width: 100px !important;
}
#wrapper1 table { 
	display: grid;
    grid-template-rows: repeat(3, 1fr);
}
.main-sidebar{
	height: 100% !important;
}
.ew-grid .ew-table>thead>tr>th,.ew-grid .ew-table>thead>tr>td {
    background-color: #dc3545 !important;
    border-color: #ffffff !important;
}
#fmitemlistsrch #xsr_1{
	float:left !important;
}
#fmitemlistsrch #xsr_2{
	float:left !important;
}
#fmitemlistsrch #xsr_3{
	float:left !important;
}
#fmitemlistsrch #xsr_4{
	float:left !important;
}
a.ew-delete{
	color: #dc3545 !important
}
a.ew-copy{
	color: #f0ad4e !important
}
a.ew-edit{
	color: #23923d !important
}

footer{
	display:none;
}