/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* @import url('https://fonts.googleapis.com/css?family=Kanit&display=swap'); */
:root {
  --active-color : #1967d2;
  --mainnav-active-color : rgba(255,255,255,0.25);
  --mainsidenav-background-color : #292929;
  --mainform-readonly-background-color : rgb(146, 36, 36);
  --mainform-background-color : #958b8bd6;
  --toolpopup-background-color : rgba(253, 253, 243, 0.94);
  --toolpopup-background-color-1: rgba(241, 221, 189, 0.94);
  --toolserialpopup-background: rgba(189, 241, 241, 0.94);

}
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/*Disable spin for number*/
input[type="number"] {
  -moz-appearance: textfield;
}
/*
input[type="date"] {
  -moz-appearance: textfield;
} */

a:link {
    text-decoration: none !important;
}


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

input[type=date]::-webkit-calendar-picker-indicator{
  display: none;
}

/*Error data*/
input[data-qx-type=date]:invalid {
  border: red solid 2px;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
  /* background-color: #f8f8f8; */
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.unstyled-button {
  /* cursor: pointer; */
  border: none;
  padding: 2px;
  background: none;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  /* margin-top: 80px; */
  /* margin-bottom: 50px; */
  /* font-family: 'Kanit', sans-serif;  */
  font-family: 'Prompt', sans-serif;
  /* background-color: white; */

}

.material-icons.md-18
{
  font-size: 18px;
}
.material-icons.md-32
{
  font-size: 32px;
}
.material-icons.md-60
{
  font-size: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}

.hmenu1 {
  /* Margin bottom by footer height */
  margin-top: 80px;
}

div.cookie-area {
  z-index: 1051;
}

.navbar-fixtop {
  height: 60px;
  overflow: hidden;
  /* position: fixed; */
  top: 0;
  width: 100%;
  z-index: 1;
}

div.screenname
{
  position: absolute;
  top: 5px;
  height: 3rem;
  font-size: 20px;
  max-width: 500px;
  min-width: 25px;
}


.bg-cancel{

  color:gray;
}

.card-form-bg{
  background-color: var(--mainform-background-color);
}

.card-form-bg-readonly{
  background-color: var(--toolpopup-background-color );
}


div.mainpage.card{
  border-radius: 0px;
}

div.mainpage.card:hover {
  outline: solid 3px var(--active-color);
  transition: box-shadow 0.6s linear;
  /* margin: 0.5em; */
}

.img-shopping{
  display: block;
  width:10vw;
  height:10vw;
  min-width: 150px;
  min-height: 200px;
  margin-left: auto;
  margin-right: auto;

}

.card-shopping{
width:12vw;
height:15vw;
min-width: 200px;
min-height: 380px;
width: 380px;
/* background-color: rgb(0, 153, 180); */
}


.img-listcover{
  display: block;
  width:10vw;
  height:7vw;
  min-width: 200px;
  min-height: 145px;
  margin-left: auto;
  margin-right: auto;

}

/* Style the sidebar - fixed full height */
.sidebar{
  /* height: 100%;
  width: 160px; */
  /* position: fixed; */
  /* z-index: 1; */
  top: 72px;
  left: 0;
  /* border-right: 1px solid #D2D2D2;  */
  color: black;
  /* overflow-x: hidden; */
  /* padding-top: 16px;  */
  /* background-color:greenyellow; */
}

/* Style sidebar links */
.sidebar a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  /* font-size: 20px; */
  color: #818181;
  display: block;
  /* padding-left: 5px; */
  padding-left: 15px;
}

/* Style links on mouse-over */
 .sidebar a:hover {
  color: var(--mainsidenav-background-color);
  background-color: #c26e02;
}

.userinfo-item{
  padding: 0.75rem 0.45rem;
}

.btn-primary{
  background-color:var(--active-color);
}

.btn-save{
  background-color: var(--active-color);
  color: white;
}

li.page-item.active>.page-link {
  /* background-color: var(--active-color); */
  border-color: var(--active-color);
}

div.nav-pills>a.nav-link.active{
  color: white;

  /* border-left: 5px solid #007bff; */
  /* outline : solid 5px #1f32d8;  */
 /* background-color: var(--active-color);  */

}
/* .sidebar a:active {
 color: red;
 background: #1f32d8;
 background-color: #1f32d8;
} */

.sidebar a:hover:not(.active) {
  /* background-color: #a2a2a5; */
  color: black;
}



.sidenav.toggled{
  width: 200px;
}

/*
 .sidenav.collapse.show
{
  width: 200px;
} */
/* Fixed sidenav, full height */
.sidenav {
  height: 100%;
  width: 200px;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  /* background-color: var(--mainsidenav-background-color); */
  background: linear-gradient(180deg, rgba(4,30,66,1) 0%, rgba(9,9,121,1) 41%, rgba(9,117,139,1) 95%);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 10px;
  padding-left: 5px;
}

/* sidenav brand */
.sidenav > .sidenav-brand{
  padding-left: 8px;
  color: white;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 16px;
  color: #818181;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

/* Close sidenav button */
/* .sidenav  .closeSidenav-btn { */
.sidenav .closeSidenav-btn {
  position: absolute;
  top: 0;
  /* left: 0;
  right: 150px; */
  font-size: 24px;
  margin-left: 150px;
  /* padding-left:170px;  */
  /* background-color: aliceblue; */
  display : none;


}
/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: #f1f1f1;
  /* background-color: var(--active-color); */
}

.sidenav a.active
{
  color: white;
  background-color: var(--mainnav-active-color);
  padding-left: 16px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}


/* Main content */
.maincontent {
  margin-left: 200px;
  font-size: 14px;
  padding: 0px 10px;
}

footer.sticky-footer {
  position: fixed;
  bottom: 0px;
  right: 5px;
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
}
/* Add an active class to the active dropdown button */
/* .active {
  background-color: var(--mainsidenav-background-color)
  color: white;
  padding-left: 8px;
} */

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container.inactive {
  display: none;
  /* background-color:var(--mainsidenav-background-color); */
  padding-left: 16px;
}

.dropdown-container.active {
  display: block;
  padding-left: 16px;
  color : white;
}

button.dropdown-btn.active{
  color : white;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}

/*default don't display*/
.openSidenav-btn
{
  display :none;
}
/* Some media queries for responsiveness */
/*Less than 576*/
@media screen and (max-width: 576px) {
    .sidenav{
      width: 0px;
      padding-left: 0px;
    }

    .maincontent {
      margin-left: 0px; /* Same as the width of the sidenav */
      /* font-size: 18px; Increased text to enable scrolling */
    }
    .openSidenav-btn{
      display :block;
  }

  .sidenav .closeSidenav-btn{
    display: block;
  }

  div.screenname
  {
    font-size: 16px;
    max-width: 50%;
  }
}


/* Style the main content */
.main {
  margin-left: 160px; /* Same as the width of the sidenav */
  padding: 0px 10px;
}

.cardB1 {
  padding: 16px;
  /* position: relative; */
  box-sizing: border-box;
  background-color: var(--mainform-background-color);
  border-width: 1px;
  border-radius: 2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.card-contain{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
}

.cardlist-contain{
    display: grid;
    grid-gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
    margin: auto;
    width: 100%;
}
.cardlist-lineitem{
    padding-left: 5px;
}
/* .cardB2
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #d3d3d3;
    padding: 1rem;
    min-height: 150px;
    border-width: 2px;
    border-radius: 5px;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
} */

div.cardB1.active
{
    background: rgba(169, 212, 140, 0.712);
}

.ui-autocomplete.ui-menu{
  /* z-index: 5000; */
  list-style-type: none;
  background-color: #fcecd7;
  border-color: #fae5c7;
}

.toolPopup{
  transition: 0.5s;

  z-index: 100;
  overflow-x: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

tr.findTableRow
{
    height: calc(1.5em + 0.75rem + 10px);

}

.findProductPopup{
  height: 85%;
  padding: 15px;
  border: 1px solid #d2d2d2;
  background-color: var(--toolpopup-background-color);
  width: 60%;
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
}

.findPartnerPopup{
  height: 85%;
  padding: 15px;
  border: 1px solid #d2d2d2;
  background-color: var(--toolpopup-background-color);
  width: 60%;
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
}

.searchPopup.toggled{
  width: 60%;
}

th.tableColBttn,td.tableColBttn{
  width: 40px;
  /* border: solid red 3px; */
}

.bg-grp{
    background-color: var(--toolpopup-background-color);
}


th.tableColNumEditor,td.tableColNumEditor{
    width: 100px;
      /* border: solid red 3px; */
  }

/*Export table*/
table.font-size-12
{
  font-size: 12px;
}

.font-size-9
{
  font-size: 9px;
}

/*Replace thead-light when use with tableColEditable*/
.table-light th.tableColEditable
{
    /* background-color: #fffbf6; */
    border-top-color: cornflowerblue;
    border-top-width: 3px;
}


.editabletable-editor2{
    max-height: calc(1.5em + 0.75rem + 2px);
    border:  solid cornflowerblue 1px !important;
    background-color: whitesmoke;
    width: 150px;
}

.editabletable-editor{
    max-height: calc(1.5em + 0.75rem + 2px);
}

.editabletable-selector{
    max-height: calc(2.0em + 0.75rem + 10px);
}

.tableThumbnailImage
{
  width: 70px;
  height: 70px;
}

.tableThumbnailImage-x2
{
  width: 140px;
  height: 140px;
}

.bttn-w150px{
  width: 150px;
}
.loader {
  border: 10px solid #f3f3f3;
  top: 5px;
  left: 50%;
  margin-left: -30px;
  position: fixed;
  border-radius: 80%;
  border-top: 10px solid orangered;
  z-index: 200;
  /*border-bottom: 16px solid blue;*/
  width: 60px;
  height: 60px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

.bg-age75
{
    background-color:#ffd7002e;
}

.bg-ageover
{
    background-color:#ff000030;
}
iframe.approve_h_iframe {
    top: 50px;
    left: 10px;
    width: 100%;
    height: 500px;
    border: none;
}

iframe.docview_h_iframe {
    top: 50px;
    left: 10px;
    width: 100%;
    height: 500px;
    border: none;
}

button.btn-docoption {
  background-color : #004085;
}
button.btn-footer-tool{
    background-color : var(--active-color);
    color: #d2d2d2;
}
button.option-item{
  padding: 0rem;
  padding-left: 0.5rem;
}

.fixed-bottom.alert
{
    margin-bottom: 0px !important;
}

.tableRawData
{
    position: absolute;
    left:-3000px;
    top:-1000px;
    /* z-index: -10;*/
    font-size: 0px;
}

/* Add media queries for small screens (when the height of the screen is less than 450px, add a smaller padding and font-size) */
/* @media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

@media (min-width: 576px) {
  .card-columns {
      column-count: 2;
  }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 4;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 5;
    }
}


@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} */