@charset "utf-8";
* {
  margin: 0;
  padding: 0;
}

/* green brown palette
- #467411 - green
- #76a30c - light green
- #cff69b - smoke green
- #9d8b77 - smoke brown
- #582e22 - brown
*/

/*
red
- 094D1C - Traditional Forest Green
- E8E8E8 - smoke
- 6ACF65 - mantis
- 3DEC55 - ufo green
- 00FF00 - electric green

- 002C2B - sidebar (dark green)
- 00953a - 
- 9ED54C - sidebar (sbH1)
- 11644D - btnnav
red
- 990100 -
- B90504 - top
*/

html,
body {
  font-size: 16px; /*for using em&rem*/
  margin: 0px;
  padding: 0px;
}

img,
object,
embed,
video {
  max-width: 100%;
}
/* IE 6 does not support max-width so default to width 100% */
.ie6 img {
  width: 100%;
}

body {
    text-align: center;
  /* margin-top: 25px; */
  display: flex;
  justify-content: center;
  align-items: center;

  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: normal;
  background-color: #fff;

  overscroll-behavior: contain;
}

#wrapper {
  /*margin: 25px auto 0; */
  /* [disabled]clear: both; */
  clear: both;
  height: auto;

  width: 1220px;
  max-width: 98vw;
 
  margin: 0.3rem auto;
  padding: 0;
  text-align: left;
  /*position: relative; try transfer to gridcontainer*/
  background-color: #fff;
}

/*grid start*/
:root {
  --main-radius: 5px;
  --main-padding: 5px;
}

.hr1 {
  margin: 5px 0;
  border-top: 1px thin #CCC;
}

#gridContainer {
  position: relative;

  display: grid;
  min-height: 95vh;
  grid-template-columns: 0.5fr 1fr 1fr 1fr;
  grid-template-rows: minmax(auto, 7vh) minmax(auto, 14vh) minmax(74vh, auto) auto;
  grid-template-areas:
    "nav nav nav nav"
    "hdr hdr hdr hdr"
    "sidebar mainContent mainContent mainContent"
    "foot foot foot foot";
  grid-gap: 0.2rem;
  color: #111;
  text-align: center;
}

#gridMainContentNavDiv, #gridMainContentNav {
  display: none;
}

#gridNav {
  color: #004d40;
  background: #fff;
  grid-area: nav;
  padding-top: var(--main-padding);
  justify-content: space-between;
  align-items: end;

  font-size: 1rem;
  /* transfer to grid-area;
  height:10vh;
  */
}
#gridNav nav {
  width: auto;
  height: auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
  margin-bottom: 0;
  margin-top: 1em;
}

#gridNav nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#gridNav nav ul li {
  float: left;
  padding-bottom: 0.3em;
}
#gridNav nav ul li a {
  display: block;
  /*color: #fff;*/
  color: #095540;
  font-size: 1em;
  font-weight: normal;

  text-align: center;
  padding: 0.19em;
  text-decoration: none;
}

.header-login-a {
  /*make like a button*/
  height: auto;
  width: auto;
  padding: 0.13rem 0.6rem !important;
  color: #fff !important;
  background-color: #FB6900;
  border: 1.5px solid #EAFDE6;
  border-radius: 5px;
}

.header-login-a:hover {
  color: #fff !important;
  text-decoration: none;
  background-color: #095540;
}

.header-signup-a {
  /*make like a button*/
  height: auto;
  width: auto;
  font-size: 1.1em;
  padding: 0.13rem 0.6rem !important;
  color: #fff !important;
  background-color: #1a512e;
  border: 1.5px solid #b0d3bf;
  border-radius: 5px;
}

.header-signup-a:hover {
  color: #fff !important;
  text-decoration: none;
  background-color: #F2830C;
}

#gridNav nav ul li a:hover {
  text-decoration: underline;
}

#gridNav nav ul li input,
button {
  display: block;
  color: #000;
  font-size: 0.9em;
  font-weight: normal;
  padding: 2px;
  float: left;
}

#mainNav nav .menu-main {
  display: flex;
  margin: 0;
}

#gridNav nav .menu-main li {
  margin: 0 0.6em;
}

#gridNav nav .menu-member {
  display: flex;
  margin: 0;
}
#gridNav nav .menu-member li {
  margin: 0 0.6em;
}

#mainNav nav .push-right {
  margin-left: auto;
}
/*end mainNav*/

#gridCustInfoNav {
  font-size: 1rem;	
  border: 1px solid #e8e8e8;
  background: #fff;
  
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: row;
  flex: 1;
  
  height:auto;
  width: 76.5rem;
  position: fixed;
  bottom: 0vh;
}

#gridCustInfoNav p {
  color: #fff;
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
}

#gridCustInfoNav > #gridCustInfoNav-profile {
  float: right;
  background: #FF8A00;
  padding: 0;
  width: 20%;
  height: 1.6rem;
  cursor: pointer;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}
#gridCustInfoNav > #gridCustInfoNav-trans {
  float: right;
  background: #007E80;
  padding: 0;
  width: 20%;
  height: 1.6rem;
  cursor: pointer;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}
#gridCustInfoNav > #gridCustInfoNav-inbox {
  float: right;
  background: #004853;
  padding: 0;
  width: 20%;
  height: 1.6rem;
  cursor: pointer;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}
#gridCustInfoNav > #gridCustInfoNav-pd {
  float: right;
  background: #00B9BD;
  padding: 0;
  width: 20%;
  height: 1.6rem;
  cursor: pointer;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}

#gridCustInfoNav > #gridCustInfoNav-ap {
  float: right;
  background: #719A4E;
  padding: 0;
  width: 20%;
  height: 1.6rem;
  cursor: pointer;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}


/*sub details of Customer Info Nav - Tab Type*/
.gridCustInfoNav-subdetl {
  font-size: 1rem;	
  border: none;
  background: transparent;
  
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-direction: row;
  flex: 1;
  
  height:auto;
  width: 76.5rem;
  
  position: fixed;
  top: 20px;
  left: 5px;
}

.gridCustInfoNav-subdetl p {
  color: #fff;
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  border-radius: 5px;
  margin-right: 5px;
  
}
.gridCustInfoNav-subdetl p:hover{
  color: red;
  padding-left: 0.5em;
}
.gridCustInfoNav-subdetl p:active{
  color: red;
  padding-left: 0.5em;
}

.gridCustInfoNav-subdetl > .gridCustInfoNav-subdetl-box {
  float: left;
  background: #26ADE4;
  padding: 2px 5px;
  border-right: 1px solid #fff;
  width: auto;
  min-width: 5em;
  height: 1.6rem;
  cursor: pointer;

  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1;
}


/*end gridCustInfoNav*/

#gridHdr {	
  background-color: transparent;
  border-radius: 2px;
  grid-area: hdr;
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
  border-radius: 2px;
  overflow: -webkit-sticky; /*for safari*/
  overflow: hidden;
  
  /*
  postion: absolute;
  top: calc(~"100vh - 150px");
  */
}

#gridHdrAd {
  display:none;
}
#gridHdrMobile {
  display:none;
}

#txtItemGrpSearchNav {
  display: none;
}
#btnItemGrpSearchNav {
  display: none;
}

#gridSidebar {
  /*background: #fef9f0;*/
  grid-area: sidebar;
  max-height: 75vh !important;
  min-width: 5vw;
  font-size: 1.2em;
  font-weight: normal;
  letter-spacing: 2px;
  background: #00953a;
  
  border-radius: var(--main-radius);
  padding-top: var(--main-padding);
  overflow: scroll;
}

#gridSidebar::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}

#gridSidebar > div {
  /*border-bottom: 1px solid #e1e1e1;*/
  width: 90%;
  height: auto;
  padding: 2px 2px 5px 2px;
  margin: 5px auto 10px;
  display: flex;
  justify-content: center;
}

#gridSidebar > .sbH1 {
  font-size: 1em;
  letter-spacing: 1px;
  color: #9ED54C;
  text-transform: capitalize;
}

#gridSidebar .sidebarTbl {
  width: 90%;
  max-width: 95%;
  border-collapse: collapse;
  font-size: 0.9em;
  color: #fff;
  
}
#gridSidebar .sidebarTbl tr td {
  /*border-bottom: 1px solid #808080;*/
  border-bottom: solid thin #fff;
  line-height: 98%;
  text-align: left;
  padding: 5px 0 5px 3px;
  /*	display: inline-block;*/
  white-space: nowrap;
  word-wrap: break-word;
  cursor: pointer;
  text-transform: capitalize !important;
}

#gridSidebar .sidebarTbl tr td:hover {
  background-color: #095540;
  color: #fff;
  padding-left: 8px;
  transition: all 0.3s ease;
}

/*sidebar desktop search*/
#gridSidebar #divItemGrpSearch {
  padding: 15px 0 5px;
  border: none;
  border-bottom: solid thin #fff;
  width: 90%;
  align-items:left;
}

#gridSidebar #divItemGrpSearch  #txtItemGrpSearch {
  display:block !important;	
  width: 70%; 
  border-color: #c5cfc6;
  border-style: solid;
  border-width: thin;

  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;

  font-size: 1em;
  height: 1.58em;
  text-align: left;
  padding-left: 5px;
  
  outline:none;
}
#gridSidebar #divItemGrpSearch  #btnItemGrpSearch {
  display:block !important;
  width: 20%; 	
  background-color: #fff;
  color: green;
  border-style: solid;
  border-width: thin;
  border-color: #c5cfc6;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;

  font-size: 1.05em;
  height: 1.58em;

  text-align: center;
  
}
/*end sidebar desktop search*/

#sidebarTblCartCheckOut #CartCheckOut p::after {
	content: url("../_images/program/icons/shop-cart.png");
	padding:0;
    margin-left: 2px;
    height: 20px;
    width: 25px;
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
}

#gridMainContent {
 grid-area: mainContent;
  border-top: 2px solid #C4CEB7;	
  /*height: auto; transfer to grid-area*/
  /* background: #e8e8e8; */
  background: #fff;
  /* border-radius: var(--main-radius); */
  padding-top: 3px;
  padding-bottom: var(--main-padding);
  padding-left: 5px;
  padding-right: 5px;
  
  justify-content: space-evenly;

  /*scroll*/
  overflow-y: auto;
  white-space: nowrap;
}

#gridMainContent::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}

#gridFoot {	
  grid-area: foot;
  clear: both;
  border-top: 0.3rem solid #C4CEB2;
  background-color: #655643;
  /*
  border-top: 0.3rem solid #72a433;
  background-color: #333;
  */
  padding: 0.3rem;
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}

#gridFoot > .footSubDiv { 
  min-height: 3rem;
  height:auto;
  width: auto;
  padding: 0.3rem;
  
  font-size: 1rem;
  font-weight: normal;
  text-align: center;
  /*
  border: 1px solid #042608;
  */
  
  justify-content: flex-start;
  border-radius: var(--main-radius);
  padding-top: var(--main-padding);
}

#gridFoot > .footSubDiv > .hdrH2 {
  color: #80BCA3;
  /*color: #73b800;*/
  margin-bottom: 10px;
  font-size: 1rem;
}

#gridFoot > .footSubDiv > ul{
  margin-top: 10px;
  list-style: none;
  text-align: left;
  font-size: 1rem;
}

#gridFoot > .footSubDiv > ul li:not(:last-child){
  margin-bottom: 0.5rem;
}
#gridFoot > .footSubDiv > ul li a{
  font-size: 1em;
  text-transform: capitalize;
  color: #F6F7BD;
  /*color: #fff;*/
  text-decoration: none;
  font-weight: 300;
  display: block;
  transition: all 0.3s ease;
}
#gridFoot > .footSubDiv > ul li a:hover{
  color: #FF8A00;
  padding-left: 0.5em;
}
#gridFoot > .footSubDiv > ul li a:active{
  /*color: #A69779;*/
  color: #FF8A00;
  padding-left: 0.5em;
}
/*grid end*/

/*atc checkout details*/
#container-hdr {
  height: auto;
  width: 98vw;
  /*padding: 0 10px 2px 1px; */
  padding-bottom: 2px;
  clear: both;
  margin: 0px auto 2px;
  background: #fff;
  
}
	
#container-detl {
  height: auto;
  width: 98vw;
  max-height:50vh;
  clear: both;
  margin-top: 5px;
  margin-bottom: 2px;
  background: #fff;
  clear: both;

  overflow: hidden;
  overflow-y: auto;
  overflow: -webkit-sticky; /*for safari*/
  scrollbar-width: thin;

}

#container-footer {
  height: auto;
  width: 98vw;
  background-color: #FFF;
  border-top: 0.5px solid #848884;
  margin-bottom: 0.3rem; 
}

#container-footer > .flexRow > #btnSaveSODetl{
	height: auto;
	font-size: 1.2em;
	color: #fff;
	background-color: #00953a;
	/* background-color:#095540; */
	border: 1px solid #fff;
	border-radius: 5px;
	padding: 0.3rem;
	margin: 0.4rem 0 0.3rem;
}

#container-footer > .flexRow > .btnUpdateCancelSODetl{
	height: auto;
	font-size: 1.2em;
	color: #fff;
	background-color: #00953a;
	border: 1px solid #fff;
	border-radius: 5px;
	padding: 0.3rem;
	margin: 0.4rem 0 0.3rem;
	display:none;
}

#container-hdr .container-hdr-div {
  height: auto;
  float: left;
  background: #fff;
  /*display: table; causing autosize of img*/
  width: 98vw;
}

.flexRow {
  font-size: 1rem;	
  width: 100%;
  height: auto;
  /* border-bottom: 1px solid #f6f6f6; */
  border: none;
  padding: 1px;
  margin-bottom: 1px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
}
.flexRow:last-child {
  margin-bottom: 3px;
}

p.formTitle {
  font-family: Arial, sans-serif;
  /*orig 2em, ideal use vw*/
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 2px;
  margin: 10px 0 5px;
  color: #fff;
}

[class*="fcol-"] {
  float: left;
  height: 1.5rem;
  padding: 0 0 0 2px;
  font-size: 0.8rem;
  font-weight: normal;

  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap; /*auto down */
  flex-direction: row;
  justify-content: flex-start; /*flex-start/center/flex-end/stretch/space-evenly/space-between/space-around.. horizontal*/
  align-items: flex-end; /*vertical align-content = all items*/
  /* align-items: stretch; To Fill Height and Width of Cell */
}
/*base 1226px width*/
.fcol-lbl0 {width: 2rem;}
.fcol-lbl1 {width: 4rem;}
.fcol-lbl2 {width: 6rem;}
.fcol-lbl3 {width: 8rem; justify-content: flex-end;}
.fcol-cont-xs {width: 2rem;}
.fcol-cont-s {width: 4rem;}
.fcol-cont-m {width: 8rem;}
.fcol-cont-l {width: 19rem;}
.fcol-cont-xl {width: 38rem;}
.fcol-cont-xxl {width: 76rem;}
.fcol-cont-az {width: 98%;}
.fcol-sideinfo {width: 13rem; justify-content: flex-end;} /*flex-shrik/grow/basis*/

#container-hdr .flexRow input[type="text"] {
  line-height: 97%;
  text-align: left;
  vertical-align: middle;
  padding: 1px 0 0 2px;
  width: auto;
}
	
/*end atc checkout detl*/

/*add to cart details*/
.tblViewDetl {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 98vw;
  height:auto;
  font-size: 1rem;

  margin-left: auto;
  margin-right: auto;
}

.tblViewDetl td,
.tblViewDetl th {
   border: 1px solid #ddd; 
   padding: 1px; 
  word-wrap: break-word;
}

.tblViewDetl thead th {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  text-align: center;
  background-color: #fff;
  color: #005F6B;
  font-size: 0.8em;
  font-weight: normal;
  position: sticky;
  
  border: none;
  margin-bottom: 5px;
  
}

.tblViewDetl tr:click {
  background-color: #ddd;
}

.tblViewDetl tbody tr td:nth-child(1) {
  padding: 0 1px;
  background: #fff;
  text-align: center;
  vertical-align: middle;
  width:2em;
}

.tblViewDetl tbody tr td #myBtnIDRemRow {
  border: none;
  background-color: transparent;
  color: red;
  width: 2em;
  margin-left: 0;
  margin-right: 0;
}

.tblViewDetl tbody tr td #qtyDec{
  border-style: solid;
  border-width: thin;
  border-color: #ddd;
  width: 2em;
}

.tblViewDetl tbody tr td #qtyInc {
  border-style: solid;
  border-width: thin;
  border-color: #ddd;
  width: 2em;
}

.tblViewDetl tbody tr:last-child { 
  border: none;
  font-size: 1em;
  font-weight: bold;
}

.tblViewDetl tfoot tr td {
  height: auto;
  background-color: #A9DB66;
  border-bottom: 1px solid #556910;
  padding: 2px;
  margin-bottom: 2px;
  justify-content: center;
  align-items: center;
}

.tblViewDetl tr td input {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 0.9em;
}
.tblViewDetl tr td textarea {
   font-size: 0.8em;
   overflow: hidden;
   overflow-y: auto;
  overflow: -webkit-sticky; /*for safari*/
  scrollbar-width: thin;
}

#imgInfo {
	border: 1px solid #f5f5f5;
	width: 99vw;
	height: 85vh;
	padding-left: 5px;
	padding-bottom: 10px;
	background-color: #fff;
	margin-left: auto;
	margin-right: auto;
}

#custNavInfoDetlDiv {
	border: 1px solid #f5f5f5;
	width: 99vw;
	height: auto;
	padding-left: 5px;
	background-color: #fff;
	margin-left: 0;
	margin-right: 0;
}

.tblViewSubInfo-Head {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 98vw;
  height:auto;
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1rem;
  clear: both;
  overflow: auto;
}

.tblViewSubInfo-Head td,
.tblViewSubInfo-Head th {
  border: 1px solid #ddd;
  padding: 1px;
  word-wrap: break-word;
}

.tblViewSubInfo-Head thead tr th {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  text-align: center;
  background-color: #fff;
  color: #111;
  font-size: 0.8em;
  font-weight: normal;
  position: sticky; 
}	

.tblViewSubInfo-Head tbody tr td {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  text-align: right;
  background-color: #fff;
  color: #111;
  font-size: 0.8em;
  font-weight: normal; 
}

.tblViewSubInfo-Head tbody tr:nth-child(odd) { 
	background-color: #f5f5f5;
}

.tblViewSubInfo-Head tfoot tr { 
	background-color: #ddd;
}

/*on click tblViewSubInfo-Head show details*/
.tblViewSubInfo-Detl {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 98vw;
  height:auto;
  font-size: 1rem;
  margin-bottom: 1rem;
  clear: both;
}

.tblViewSubInfo-Detl td,
.tblViewSubInfo-Detl th {
  border: 1px solid #ddd;
  padding: 1px;
  word-wrap: break-word;
}

.tblViewSubInfo-Detl thead th {
  padding-top: 0.4em;
  padding-bottom: 0.4em;
  text-align: center;
  background-color: #fff;
  color: #111;
  font-size: 0.8em;
  font-weight: normal;
  position: sticky; 
}	

.tblViewSubInfo-Detl tbody td {
  padding: 2px 0.4em;
  text-align: left;
  background-color: #fff;
  color: #111;
  font-size: 0.8em;
  font-weight: normal; 
}

.tblViewSubInfo-Detl tbody tr:nth-child(odd) { 
	background-color: #ddd;
}

.tblViewSubInfo-Detl tfoot tr { 
	background-color: #ddd;
}

.tblViewSubInfo-Search {
  padding: 2px 0 2px 8px; 
  text-align: left; 
  border:1px solid #008C9E; 
  border-radius: 5px; 
  font-size: 0.8em; 
  width: 50vw;
}

/*cart checkout qty*/
.cartQty {	
  /*background-color: #04aa6d; */
  color: white;
  padding: 2px 10px 2px 0;
  position: relative;
  display: inline-block;
  /*border: 1px solid #ddd;*/
  width:80%;
  margin-right: 5px;
}

.cartQty p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1em;	
  width:6em;
  /*background-color: #04aa6d;*/
  color: white;
  cursor: pointer;
  padding-left:0;
  /*
  font-size: 1em;
  text-align: center;
  margin: 0 5px;
  */
}

.cartQty:hover {
  background: transparent;
}

.cartQty .cartBadge {
  position: absolute;
  top: -10px;
  right: -14px;

  text-align:center;
  width: 25px;
  height: 20px;
  margin: 0 auto;
  border:solid 1px #f5f5f5;
  border-radius: 20px;
   
  background-color: #F63700;
  color: #fff;
}

/*end cart checkout qty*/

#myBtnIDRemRow {
  height: 1.5rem;
  width: 1.5rem;
}

#qtyInc, #qtyDec {
    height: 1.5rem;
    width: 1.5rem;
    border:1px solid #ddd;
    border-radius:5px;
}

#qtyInc:hover{
    background-color:green;    
    border:none;
}
#qtyDec:hover{
    background-color:red;
    border:none;
}

#myBtnIDRemRow:hover{
    background-color:red;
    border:none;
}
/*end atc details*/

#gridMainContent > #gridMainContBanner {
  height:100%;
  width:100%;
  background-color: #fff;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: none;
}

#gridMainContent > #gridMainContBanner > caption {
  text-decoration: none;
  word-spacing: 1.5px;
  font-weight: normal;
  line-height: 20px;
  padding: 3px 0;
  color: #111;
}

#gridMainContent > .mainSubDiv {
  border: 1px solid #d8d6d6;
  float: left;
  height: 80%;
  max-height:150px;
  width: 32%;
  background: #fff;
  border-radius: var(--main-radius);
  margin-left: 5px;
  margin-bottom: 5px;
  padding: 5px 1px;
  overflow: hidden;
  
  justify-content: space-evenly;
  align-items: center;
}

#gridMainContent > .mainSubDiv:hover {
	/* neon-green #49fb35 */
	border: 1px solid #00C176;
}

#gridMainContent > .mainSubDiv > .smallImg {
  float: right;
  height: 95%;
  width: 35%;
  max-width: 150px;
  /*this will avoid stretching image*/
  object-fit: contain;
   
  background-repeat: no-repeat; 
  cursor: pointer;
  /*border-radius: var(--main-radius);*/
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl {
  /*font-family: Roboto, Tahoma, Geneva, sans-serif;*/
  font-size: 0.9rem;
  float: right;
  height: 95%;
  width: 60%;
  max-width: 350px;
  background: #fff;
  margin-left: 5px;
  padding: 1px;
  overflow: hidden;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1; 
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgStockName {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-weight: normal;
  font-size: 0.9em;
  line-height: 1;
  letter-spacing: 1px;
  white-space: pre-wrap;
  width:100%;
  background-color:#fff;
  color:#111;
  clear:both;
}
#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgUPrice {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-weight: normal;
  font-size: 1em;
  white-space: pre-wrap;
  width: 100%;
  background-color: #fff;
  color: #F64E15;
  
  margin-top: 5px;
  clear:both;
  
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgOldUPrice {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-weight: normal;
  text-decoration: line-through;
  font-size: 0.8em;
  white-space: pre-wrap;
  width: auto;
  background-color: #fff;
  color: red;
  
  margin-top: 0.3rem; 
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl > #btnATCAddToCart {
  width:100%;
  border: 1px solid #EAFDE6;
  background-color: #519548;
  color: #fff; 
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  padding: 0.3em 0;
  margin-top: 0.3rem;
  clear: both;
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv {
  width:100%;
  height:auto;
  display: inline-block;
  padding:0;
  margin-top: 0.3rem;
  display:flex;
  justify-content: center;
}

#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv > #imgQtyOrd {
  width:4em;
  border:1px solid #ccc;
  text-align:center;
  padding: 0.19em 0;
  margin: 0 0.13rem;
  float:left;
  font-size: 1.1em;
}
#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv > #imgQtyOrdBtnMinus {
  width:1.5em;
  border:1px solid #ccc;
  background-color: #fff;
  color: #6C7068;
  font-size:1.3em;
  cursor: pointer;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0.13em 0.3em;
  float:left;
}
#gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv > #imgQtyOrdBtnPlus {
  width:1.5em;
  border:1px solid #ccc;
  background-color: #fff;
  color: #6C7068;
  font-size:1.3em;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 0.13em 0.3em;
  float:left;	
}

/*price table*/
#tblItemPriceTable {
 width: 98vw;	
}

/*gen.printed variation*/
#divVariationHdr {
	width:98vw; 
	clear: both; 
	height: auto; 
	border: none; 
	background: #fff; 
	text-align:center;
	
	margin-bottom:5px;	
}
#divVariationHdr #divVariationHdrTitle {
	font-family: Roboto, Tahoma, Geneva, sans-serif;
	font-size: 1.2em;
  letter-spacing: 2px;
	color: #990100;
	margin: 5px auto;
}

#divVariation {
  width:98vw; 
  height: 80vh; 
  border: none;
  padding-top: 10px;
  
  overflow: hidden;	
  overflow-y: auto;
  overflow: -webkit-sticky; /*for safari*/
  margin-left: auto;
  margin-right: auto;
  
}

#divVariation > .divVariationChild {
  border: 1px solid #d8d6d6;
  float: left;
  height: 80%;
  max-height:150px;
  width: 32%;
  background: #fff;
  border-radius: var(--main-radius);
  margin-left: 5px;
  margin-bottom: 5px;
  padding: 5px 1px;
  overflow: hidden;
  
  justify-content: space-evenly;
  align-items: center;
}

#divVariation > .divVariationChild:hover {
	/* neon-green #49fb35 */
	border: 1px solid #00C176;
}

#divVariation > .divVariationChild > .varImg {
  float: right;
  height: 95%;
  width: 35%;
  max-width: 150px;
  object-fit: contain;
  
  background-repeat: no-repeat; 
  cursor: pointer;
  /*border-radius: var(--main-radius);*/
}

#divVariation > .divVariationChild > .divVariationChildDetl {
  /*font-family: Roboto, Tahoma, Geneva, sans-serif;*/
  font-size: 0.9rem;
  float: right;
  height: 95%;
  width: 60%;
  max-width: 350px;
  background: #fff;
  margin-left: 5px;
  padding: 1px;
  overflow: hidden;
  
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-direction: column;
  flex: 1; 
}

#divVariation > .divVariationChild > .divVariationChildDetl > #imgStockName {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-weight: normal;
  font-size: 0.9em;
  line-height: 1;
  letter-spacing: 1px;
  white-space: pre-wrap;
  width:100%;
  background-color:#fff;
  color:#111;
  clear:both;
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgUPrice {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  font-weight: normal;
  font-size: 1em;
  white-space: pre-wrap;
  width: 100%;
  background-color: #fff;
  color: #F64E15;
  
  margin-top: 5px;
  clear:both;
  
}

#divVariation > .divVariationChild > .divVariationChildDetl > #btnATCAddToCart {
  width:100%;
  border: 1px solid #EAFDE6;
  background-color: #519548;
  color: #fff; 
  font-size: 1em;
  cursor: pointer;
  border-radius: 5px;
  padding: 0.3em 0;
  margin-top: 0.3rem;
  clear: both;
}

#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv {
  width:100%;
  height:auto;
  display: inline-block;
  padding:0;
  margin-top: 0.3rem;
  display:flex;
  justify-content: center;
}

#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv > #imgQtyOrd {
  width:4em;
  border:1px solid #ccc;
  text-align:center;
  padding: 0.19em 0;
  margin: 0 0.13rem;
  float:left;
  font-size: 1.1em;
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv > #imgQtyOrdBtnMinus {
  width:1.5em;
  border:1px solid #ccc;
  background-color: #fff;
  color: #6C7068;
  font-size:1.3em;
  cursor: pointer;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  padding: 0.13em 0.3em;
  float:left;
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv > #imgQtyOrdBtnPlus {
  width:1.5em;
  border:1px solid #ccc;
  background-color: #fff;
  color: #6C7068;
  font-size:1.3em;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 0.13em 0.3em;
  float:left;	
}
/*end gen.printed variations*/


.bg {
  background-image: url(../_images/program/login.jpg);
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


#compLogoHdr {
/*orig 70x57*/ 	
  height: 63px;
  width: 51.3px;
  object-fit: contain;
  border-radius: var(--main-radius);
  
  margin: 1px 5px 0 10px;
  float: left;
  /* background-image: url("../_images/comp/hdrLogo.png"); */
}

.compName {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 1.3rem; 
	font-weight:700;
	line-height: 8px;
	letter-spacing: 1px;
	display: flex;
	margin: 0;
	margin-left: 20px;
}

h1 {
  color: #fff;
  font-family: Monaco, Palatino, sans-serif;
  font-size: 40px;
  font-weight: normal;
  line-height: 30px;
  margin: 20px 0 10px;
  padding-top: 10px;
  text-align: center;
  /*text-shadow: -5px 5px 0px #005F6B, -10px 10px 0px #008C9E, -15px 15px 0px #00B4CC;*/
  text-shadow: -5px 5px 0px #005f6b, -10px 10px 0px #008c9e;
}
h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 10px;
  margin: 0 0 2px;
  text-shadow: 1px 1px 1px #c1c1c1;
}
h3 {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: normal;
  line-height: 5px;
  margin: 0 0 5px;

  text-shadow: -5px 5px 0px #00e6e6, -10px 10px 0px #01cccc,
    -15px 15px 0px #00bdbd;
  color: #fff;
  /* background: #203252; */
}

p {
  font-size: 16px;
  font-family: Roboto;
  color: #000;
  line-height: 20px;
}

caption {
  text-decoration: none;
  word-spacing: 1.5px;
  font-weight: normal;
  line-height: 20px;
  padding: 3px 0;
  color: #000;
}

hr {
	height:1px;
	border-width:0;
	color:gray;
	background-color:gray	
}

#dialogoverlay {
  display: none;
  opacity: 0.8;
  position: fixed;
  top: 0px;
  left: 0px;
  background: #fff;
  width: 100%;
  z-index: 10;
}
#dialogbox {
  display: none;
  position: fixed;
  background: #095540;
  border-radius: 7px;
  width: 300px;
  z-index: 10;
}

#dialogbox > div {
  background: #fff;
  margin: 8px;
}
#dialogbox > div > #dialogboxhead {
  color: #00953a;
  font-size: 1.5em;
  background: #fff;
  padding: 5px;
  border-bottom: 1.5px solid #095540;
}

#dialogbox > div > #dialogboxbody {
  background-color: #fff;
  padding: 5px 1px 5px;
  display: flex;
  justify-content: center;
}

#dialogbox > #dialogboxbody > #signupdiv, 
#dialogbox > #dialogboxbody > #logindiv {
  border: 0;
  width: 100%;
  height: auto;
  background-color: #fff;
  padding: 2px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.tblSignLogDetl {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
  height:auto;
  padding:0;
  margin: 10px 0;
  font-size: 1em;
}

.tblSignLogDetl td,
.tblSignLogDetl th {
  border: none;
  border-bottom: 1px solid #ddd;
  padding: 1px;
  word-wrap: break-word;
}

.tblSignLogDetl th {
  width: 38%;
  text-align: left;
  color: #00953a;
  font-size: 0.9em;
  font-style: normal;
  font-weight: normal;
}
.tblSignLogDetl td {
  width: 62%;
}

.tblSignLogDetl tr td:last-child {
  padding: 5px 1px;
  background: #fff;
  text-align: center;
  vertical-align: middle;
} 

.tblSignLogDetl tr td #btnSignup, .tblSignLogDetl tr td #btnCancelSignup, .tblSignLogDetl tr td #btnUpdateProfile, 
.tblSignLogDetl tr td #btnLogin, .tblSignLogDetl tr td #btnCancelLogin {
  height: auto;
  font-size: 0.9em;
  color: #fff;
  background-color:#095540;
  border: 1px solid #666;
  border-radius: 2px;
  padding: 3px 5px;
  margin-right: 8px;
}

.tblSignLogDetl tr td #btnLogin, .tblSignLogDetl tr td #btnCancelLogin {
  margin-top: 10px;
  margin-bottom: 10px;
}

.captchaCodeImg {
  text-align:center;
  background: yellow;
  border: none;
  font-size: 1.1em;
  font-weight:700;
  letter-spacing: 2px;
  padding: 8px 0;
  border-radius: 5px;
}

#dialogbox > div > #dialogboxfoot {
  background: #666;
  padding: 8px 5px;
  text-align: center;
}

/*fullscreen nav overlay*/
.fullNav {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  font-family: "Lato", sans-serif;
  height: 100vh;
  width: 0;
  padding: 5px 0 5px 0;
  display:none;

  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0, 0, 0); /* Black fallback color */
  background-color: rgba(0, 0, 0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.fullNav .fullNav-content {
  position: relative;
  top: 15vh; /* 25% from the top */
  width: 99vw;
  text-align: center; /* Centered text/links */
  margin-top: 3px; /* 30px top margin to avoid conflict with the close button on smaller screens */
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  min-height: 70vh;
  background-color: transparent;
  
  display: flex;
  justify-content: center;
}

.fullNav .fullNav-content #fullNav-content-hdr {
  font-size: 1.2em; 
  letter-spacing: 3px; 
  font-weight: bold; 
  color: #fff; 
  text-shadow: 2px 2px 4px #000000;
}

.fullNav .fullNav-content .content-hdr {
  border: 0;
  padding: 5px 2px;
  margin-bottom: 2px;
  background: #333;
  color: #fff;
  text-align: center;
}

.fullNav .fullNav-content .content-hdr 
#dtATCSO::-webkit-inner-spin-button, 
#dtATCSO::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

.fullNav .fullNav-content .content-hdr input[type="date"] {
  font-size: 0.9em;
}

/* Position the close button (top right corner) */
.fullNav .closebtnFullNav {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 40px;
  color: #fff;
}

#atcAlert-content {
  background-color: transparent;
}

#atcAlertDetl {
  font-size: 0.9em;
  width: 12em;
  height: 12em;
  background-color: #1a512e; 
  border:3px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  
  position:absolute; 
  top:5vh; 
  margin-left: auto;
  margin-right: auto;
  padding: 0
}

#atcAlertIcon {
	font-size:2em;
	color:#fff;
  width: 100%;
  margin-bottom: 5px;
}
#atcAlertNote {
	font-size: 1.2em; 
	letter-spacing: 3px; 
	color: #fff;
    text-align: center;
    width: 100%;

}

/*sideNavRight Overlay*/
.sidenavRight {
  font-family: "Lato", sans-serif;
  display: none;
  height:100vh;
  width: 100vw;
  padding: 5px; 
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #818181;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
  border-radius:5px;
}

.sidenavRight button {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
  display: block;
}

.sidenavRight button:hover {
  color: #e8e8e8;
}

.sidenavRight .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #fff;
}
/*end sideNavRight Overlay*/

/*start sideNavLeft Overlay*/
.sidenavLeft {
  font-family: "Lato", sans-serif;
  display: none;
  height:100vh;
  width: 100vw;
  padding: 5px; 
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: #818181;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
  border-radius:5px;
}

.sidenavLeft a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #fff;
  display: block;
}

.sidenavLeft a:hover {
  color: #e8e8e8;
}

.sidenavLeft .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #fff;
}

#navCompInfoContent {
  width: 97vw;
  height: 90vh;
  margin-left: 1vw;
  margin-right: 1vw;
  background-color: #fff;
}
/*end sideNavLeft Overlay*/

/* samsung galaxy z fold3 5g 2208 x 1768*/

/*FOR TESTING of mobile device*/
/* smartphones, touchscreens */
@media screen and (hover: none) and (pointer: coarse) {	
	/*green*/
	.header-login-a { background-color: #2f812c; }
}

/* Nintendo Wii controller, Microsoft Kinect */
@media screen and (hover: hover) and (pointer: coarse) {

	/*light-green*/
	.header-login-a { background-color: #88C100; }
}

/* mouse, touch pad, stylus-based screens */
@media screen and (hover: hover) and (pointer: fine) {
/*desktop (jonel,norman)*/	
	/*holand orange #FF8A00*/
  .header-login-a { background-color: #990100; }
  
}

/*gumagana sa lahat ng mobile device, ipod, surface pro, */
/*All touch screen and mobile devices (including tablets, smartphones) can be detected with css with the following @media rule*/
/*WORKING (hovering on mobile devices has not been invented yet)*/
/*720x1612 vivo y22s*/
/*@media screen and (pointer: coarse), screen and (device-width: 720px) and (device-height: 1612px) { */
@media screen and (pointer: coarse), screen and (hover: none) {	
  .header-login-a { 
  	/*reddy pink FF003C or RED*/
  	font-size: 1em !important;
  	background-color: #06491d;
    border: 1.5px solid #f5f5f5;
  }
  .header-signup-a {
  	font-size: 1em !important;
  	background-color: #FF8A00;
    border: 1.5px solid #f5f5f5;
  }
  
  .compName {
  	display: none;
  	
  	font-family:'Walter Turncoat', cursive;
  	font-size: 1.3rem; 
  	font-weight:700;
    display: flex;
    margin: 0;   
  }
  
   html,
   body {
	  margin: 0px;
	  padding: 0px;
   }
   
   body {
    font-size: 16px; /*for using em&rem*/
    background: #fff;
   }

 :root {
   --main-radius: 5px;
   --main-padding: 5px;
  }
  
  /*customer info table*/
  .fullNav .closebtnFullNav {
     font-size: 2rem;
     margin-bottom: 1px;
  }
  
  .fullNav .fullNav-content {
	  position: relative;
	  top: 10%; /* 25% from the top */
	  margin-top: 3px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	  background: #fff;
  }
  
  #wrapper {
  	padding: 0 !important;
  	margin-left: 0 !important;
  	margin-right: 0 !important;
  	width: 100vw !important;
    
    clear: both;
    height: auto;
    overflow: hidden;
  }
 
  #gridContainer { 
  	width: 99vw !important;  
  }

  #gridContainer {
    min-height: 85vh;
    grid-template-columns: 98vw;
    grid-template-rows: minmax(auto, 80px) minmax(auto, 3rem) minmax(auto, 2.5rem) 2.5rem minmax(35rem, auto) auto;
    grid-template-areas:
      "hdrAd"
      "nav"
      "hdr"
      "maincontentnav"
      "maincontent"
      "foot";
    grid-gap: 0.1em;
    font-weight: normal;
    font-size: 1rem;
  }
  
  #gridSidebar {
    display: none;  
  }

  #gridNav {
    grid-area: nav;
    justify-content: space-between;
    align-items: end;
  }

  #gridNav nav {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding-top: 5px;
  }

  #compLogoHdr {
  	display: none;
  	opacity: 0 !important;
   
    height: 35px;
    width: 25.5px;
    object-fit: contain;
    margin: 0 5px 0 10px;
    float: left;
  }
  
  #gridNav nav .menu-main li {
    margin: 0 1px;
  }
  
  #gridNav nav .menu-main li a {
    font-size: 1em;
    padding: 1px;
  }
  
  #gridNav nav .menu-member li {
    margin: 0 1px;
  }
 #gridNav nav .menu-member li a {
    font-size: 0.6em;
    padding: 1px;
  }

  #gridCustInfoNav {
    font-size: 0.7em;	
    width: 99%;
    position: fixed; 
    bottom:0vh;
  }
 
  #gridHdr {
    display: none;
    /*
    background-color: transparent;
    margin-bottom: 1px;
    overflow: -webkit-sticky;
    overflow: hidden; 
    */
  }
  
  #gridHdrAd {
    display: block;
    grid-area: hdrAd;
    background-color: #1a512e;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    
    display: flex;
    justify-content: flex-end;
    
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
  }
  
  #gridHdrMobile {
    display: block;
    grid-area: hdr;
    background-color: #1a512e;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    
    display: flex;
    justify-content: flex-end;
  }
  
  /*mobile search*/
  #txtItemGrpSearchNav {
  	display:block !important;	
  	width: 43vw; 
  	/*padding-left: 2px;*/
  	border-color: #c5cfc6;
    border-style: solid;
    border-width: thin;
  	padding-top:2px;
	  padding-bottom: 2px;

    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
	
	  margin-right: 0;
	  margin-top: auto;
	  margin-bottom: 0;
	
    font-size: 1em;
    height: 1.58em;
    text-align: center;
	  align-items:center;
	  outline:none;
  }
  #btnItemGrpSearchNav {
    display:block !important;	
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    border-color: #c5cfc6;
    width: 3em;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    
    font-size: 1em;
    height: 1.58em;
    padding-top:2px;
	  padding-bottom: 2px;
    margin-right: 9px;
    margin-top: auto;
	  margin-bottom: 0;
  }
  
  #gridMainContentNavDiv {
    grid-area: maincontentnav;
    /*container only to avoid conflict of display:flex & none; of #gridMainContentNav*/
    padding:0;
    margin: 0;
  }

  #gridMainContentNavDiv, #gridMainContentNav {
    display: block;
  }
  
  /*replacement of cboItemGrpNav*/
  #divULItemGrpNav {
    margin: 0;
    padding: 0;
    max-width: 95vw;
    

    background-color: transparent;
    border-radius: 5px;
    float: left;
    overflow: auto;
    white-space: nowrap;
}

#divULItemGrpNav::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}
  #ulItemGrpNav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    width: auto;
  }
  #ulItemGrpNav li {
    display: inline-block;
    color: white;
    background-color: #058240;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    padding: 0.19em 1em;
    margin: 0 2px;
    text-transform:capitalize;
    
    border: 1px solid #fff;
    border-radius: 5px;
    
  }
  
  #ulItemGrpNav li:active {
    background-color: #589d62;
  }
  
 /*scroll button LR*/
  #divULItemGrpNav {
  	scroll-behavior: smooth;
  }
  
  #gridMainContentNav {
    display: flex;
    position: relative;
  }
  
  #gridMainContentNav ul { 
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
  }
  
  #gridMainContentNav > #divArrowLeft {
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 3px;
    left: 0.2em;
    padding: 0.8px 10px 1.4px;
    border-radius: 50%;
    background-color: #06491d;
    font-size: 1.2em;
    color: #EAFDE6;
    border: 1px solid #fff;
	border-width: thin;
    opacity: 0.7;
    display:none; 
  }

  #gridMainContentNav > #divArrowRight {
      display: flex;
      justify-content: flex-end;
      position: absolute;
      top: 3px;
      right: 0.2em;
      padding: 0.8px 10px 1.4px;
	  border-radius: 50%;
	  background-color: #06491d;
	  font-size: 1.2em;
	  color: #EAFDE6;
	  border: 1px solid #fff;
	  border-width: thin;
      opacity: 0.7;
  }
/*end scroll botton LR*/

   
  /*end replacement of cboItemGrpNav*/

	.menuIconBar1, .menuIconBar2, .menuIconBar3 {
	  width: 17px;
	  height: 3px;
	  background-color: #fff;
	  margin: 3px 0;
	  transition: 0.4s;
	}
	
  /*end menu icon*/
  
  #gridMainContentNav {
    width: auto;
    height: auto;
    margin-top: 0.5rem;
    padding: 6px 10px 6px 6px;
    margin-top: auto;
    margin-bottom: auto;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
  #gridHdrMobile > .push-left {
    border: none;
    width: 50px;
    margin-left: 5px;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: 5px;
  
    display: flex;
    justify-content: center;
  }
  
  #gridHdrMobile > .push-right {
    border: none;
    width: auto;
    margin-left: auto;
    margin-right: 5px;
    margin-top: auto;
	  margin-bottom: auto;
  
    display: flex;
    justify-content: center;
  }
  
  #gridHdrMobile .cartImg {
    padding:0;
    margin-right: 5px;
    margin-left: 2px;
    height: 20px;
    width: 25px;
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
    background-image: url("../_images/program/icons/shop-cart-dgreen.png");
  }

  #gridMainContentNav .cartImg {
    padding:0;
    margin-right: 10px;
    margin-left: 2px;
    height: 20px;
    width: 25px;
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
    background-image: url("../_images/program/icons/shop-cart.png");
  }

  #gridMainContent {
    grid-area: maincontent;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    padding-top: 3px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: var(--main-padding);
    
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #fff;
  }

  #gridMainContent > .mainSubDiv {
    float: left;
    height: 8.5rem;
    width: 95%;
    border-radius: var(--main-radius);
    margin-left: 5px;
    margin-bottom: 5px;
    
    justify-content: space-evenly;
    align-items: center;
  }
  #gridMainContent > .mainSubDiv > .smallImg {
    float: right;
    height: 98%;
    width: 35%;
    max-width: 150px;
    
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl {
    font-family: Roboto, Tahoma, Geneva, sans-serif;
    float: right;
    height: 98%;
    width: 60%;
    max-width: 350px;
    background: #fff;
    margin-left: 5px;
    padding: 1px; 
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgUPrice , #btnATCAddToCart , #imgQtyOrdDiv{
  margin-top: 2px;
  font-size: 1em;
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv > #imgQtyOrd , #imgQtyOrdBtnMinus , #imgQtyOrdBtnPlus{
    padding: 2px 0;
    border: 1px solid #ddd;	  
  }
  
/*gen.printed variations*/
#divVariation > .divVariationChild {
  float: left;
  height: 8.5rem;
  width: 95%;
  border-radius: var(--main-radius);
  margin-left: 5px;
  margin-bottom: 5px;
  
  justify-content: space-evenly;
  align-items: center;
}
#divVariation > .divVariationChild > .varImg {
  float: right;
  height: 98%;
  width: 35%;
  max-width: 150px;
}
#divVariation > .divVariationChild > .divVariationChildDetl {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  float: right;
  height: 98%;
  width: 60%;
  max-width: 350px;
  background: #fff;
  margin-left: 5px;
  padding: 1px; 
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgUPrice , #btnATCAddToCart , #imgQtyOrdDiv{
  margin-top: 2px;
  font-size: 1em;
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv > #imgQtyOrd , #imgQtyOrdBtnMinus , #imgQtyOrdBtnPlus{
    padding: 2px 0;
    border: 1px solid #ddd;	  
}
/*end gen.printed variations*/
  
  #gridCustInfoNav {	
	width: 98vw !important; 
  bottom: 0vh;
	/*bottom: calc(100vh - 1.7rem);*/
  }

  #gridFoot {
    grid-area: foot;
    margin-top: 5px;
  	padding-left: 0;
  	padding-right: 0;
  	background-color: #06491d;
  }
  #gridFoot > .footSubDiv {
    min-height: 2.5rem;
    height:auto;
    width: auto;
    padding: 0.5em;
    
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
  }
 
  #gridFoot > .footSubDiv > .hdrH2 {
    margin-bottom: 0.8rem;
    font-size: 0.5em;
  }
 
  #gridFoot > .footSubDiv > ul{
    margin-top: 0.3rem;
  }
  
  #gridFoot > .footSubDiv > ul li:not(:last-child){
    margin-bottom: 0.5rem;
  }
  #gridFoot > .footSubDiv > ul li a{
    font-size: 0.5em;
  }
  #gridFoot > .footSubDiv > ul li a:hover{
    padding-left: 0.3em;
  }

  p.formTitle {
    font-size: 1rem;
    color: #00953a;	
   }
   
   /*start tblviewdetl*/
   .tblViewDetl {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    height:auto;
    font-size: 0.8rem;
   }
   .tblViewDetl thead th {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 0.8em;
    font-weight: normal;
    border: none;
   }

   .tblViewDetl tbody tr {
    margin-top: 5px;
    border: none;
    border-bottom: 0.5px solid #ddd;
    border-collapse: collapse;
   }
   .tblViewDetl tbody td {
    border: none;
    font-size: 1em;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: bottom;
   }
   
   .tblViewDetl tbody tr td:nth-child(1) {
    padding: 0 1px;
    background: #fff;
    text-align: center;
    vertical-align: top;
    width:2em;
   }
   .tblViewDetl tbody tr td #myBtnIDRemRow {
    font-family: "Calibri", sans-serif;
    font-size: 0.8em;
    text-align:center;
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: auto;
	  margin-right: auto;
    border:solid 1px #f5f5f5;
    border-radius: 20px;
    
    background-color: #636363;
    color: #fff;
	}
	
   .tblViewDetl tbody tr td #qtyDec{
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    width: 2em;

   }
   .tblViewDetl tbody tr td #qtyInc {
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    width: 2em;
   }
   
   .tblViewDetl tbody tr:last-child { 
    border: none;
    font-size: 0.9em;
    font-weight: bold;
    background-color: #fff;
   }
   .tblViewDetl tfoot tr td {
    padding: 1em;
    margin-bottom: 1em;
   }
   .tblViewDetl tr td input {
     font-family: Arial, Helvetica, sans-serif;
     font-size: 0.9em;
     background-color: transparent;
     /* pointer-events: none; */
   }
   
   .tblViewDetl tbody tr td .txtDNetPrice {
     color: #029DAF; 
   }
   
   .tblViewDetl tbody tr td .txtDUPrice {
     color: #F64E15;
   }
   .tblViewDetl tbody tr td .txtDUOM {
     color: #F64E15;
   }
   .tblViewDetl tbody tr td .txtDImgUOM {
    color: #F64E15;
  }
   
   .tblViewDetl tr td textarea {
     font-size: 0.9em;
     background-color: transparent;
   }
   #container-footer > .flexRow > #btnSaveSODetl{
    font-size: 0.8em;
    border-radius: 5px;
   }
   #container-footer > .flexRow > .btnUpdateCancelSODetl{
    font-size: 0.8em;
    border-radius: 5px;
   }
   /*end .tblViewDetl*/
   
   #container-hdr {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: row;
    font-size: 1rem;
  }
 
  #container-hdr-div-col1 {
    width: 98vw;
    float:left;
  }
  #container-hdr-div-col2 {
    width: 49vw;
    float:left;
  }
  #container-hdr-div-col1 #rtxtATCNote {
    padding:2px; 
    resize:none; 
    border:none;
  }

  .tblViewSubInfo-Head {
    width: 98vw;
    font-size: 0.9rem;
  }
  .tblViewSubInfo-Head td,
  .tblViewSubInfo-Head th {
    padding-left: 0.5em;
    padding-left: 0.5em;
  }

  .tblViewSubInfo-Detl {
    width: 98vw;
    font-size: 0.9rem;
  }

  [class*="fcol-"] {
    font-size: 12px;
   }	
  .fcol-lbl1 {width: 2rem; font-size: 0.7em;}
  .fcol-lbl2 {width: 3rem; font-size: 0.7em;}
  .fcol-cont-s {width: 7rem;}
  .fcol-cont-m {width: 10em;} /*for s.o no*/
  .fcol-cont-l {width: 23rem;} 
  .fcol-cont-az {width: 98%;}
  .fcol-cont-s #dtATCSO, .fcol-cont-s #dtATCExpDO {
    font-size: 1em;
    width: 5.6rem;
  }

}

/* --- NestHubMax" ---  */
@media only screen 
  and (min-device-width: 1280px) 
  and (max-device-width: 1280px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  /*navy blue*/	
  .header-login-a { background-color: #0D4D72; }
  
   #gridMainContent > .mainSubDiv {
    height: 8.5rem;
    width: 46%;
    margin-left: 5px;
    margin-bottom: 5px;
   }
   /*gen.ptd variantion*/
   #divVariation > .divVariationChild {
    height: 8.5rem;
    width: 46%;
    margin-left: 5px;
    margin-bottom: 5px;
   } 

}
/*END CURRENTLY TESTED WORKING*/
/*END IPAD*/

/*for safety only*/

/*CHINA PHONE(HUAWEI)*/
@media only screen and (min-device-width: 1000px) and (pointer: coarse) and (hover: none) {
  
  /*orange*/	
  .header-login-a { background-color: #F2830C; }
  
   #gridMainContent > .mainSubDiv {
    border: 1px solid #d8d6d6;
    height: 8.5rem;
    width: 46%;
    margin-left: 5px;
    margin-bottom: 5px;
   }
   /*gen.ptd variantion*/
   #divVariation > .divVariationChild {
    border: 1px solid #d8d6d6;
    height: 8.5rem;
    width: 46%;
    margin-left: 5px;
    margin-bottom: 5px;
   }
}

/*galazy Z Fold3*/
@media only screen and (min-device-width: 2000px) and (pointer: coarse) and (hover: none) {
  /*orange*/	
  .header-login-a { background-color: #990100; }
  
   #gridMainContent > .mainSubDiv {
    height: 9rem;
    width: 30%;
    margin-left: 10px;
    margin-bottom: 10px;
   }
   /*gen.ptd variantion*/
   #divVariation > .divVariationChild {
    height: 9rem;
    width: 30%;
    margin-left: 10px;
    margin-bottom: 10px;
   }
   
   #gridNav {
	margin-bottom: 35px !important;	
   }
   
   #gridNav #compLogoHdr {
	height: 45px;
	width: 45px;
   }
   #gridNav nav .menu-main li, #gridNav nav .menu-member li {
	  font-size: 35px;
	  margin-left: 20px;
   }
   
   #gridHdr {
	  /*height: 10vh !important; 	*/
    display: none;
   }
   
   #gridHdrAd {
    display: block;
    height: 15vh !important; 	 
   }
   #gridHdrMobile {
    display: block;
    height: 15vh !important; 	 
   }
   
   
   #gridFoot .footSubDiv .hdrH2 {
   	  font-size: 32px;	
   }
   
   #gridFoot .footSubDiv li {
   	  font-size: 38px;
   }
}

/*start iOS device*/
/* ipad */
@supports (-webkit-touch-callout: none) {       
  .header-login-a { 
  	font-size: 1em !important;
  	background-color: #06491d;
    border: 1.5px solid #f5f5f5;
  }
  .header-signup-a {
  	font-size: 1em !important;
  	background-color: #FF8A00;
    border: 1.5px solid #f5f5f5;
  }
  
  .compName {
  	display: none;
  	
  	font-family:'Walter Turncoat', cursive;
  	font-size: 1.3rem; 
  	font-weight:700;
    display: flex;
    margin: 0;   
  }
  
   html,
   body {
	  margin: 0px;
	  padding: 0px;
   }
   
   body {
    font-size: 16px; /*for using em&rem*/
    background: #fff;
   }

 :root {
   --main-radius: 5px;
   --main-padding: 5px;
  }
  
  /*customer info table*/
  .fullNav .closebtnFullNav {
     font-size: 2rem;
     margin-bottom: 1px;
  }
  
  .fullNav .fullNav-content {
	  position: relative;
	  top: 10%; /* 25% from the top */
	  margin-top: 3px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	  background: #fff;
  }
  
  #wrapper {
  	padding: 0 !important;
  	margin-left: 0 !important;
  	margin-right: 0 !important;
  	width: 100vw !important;
    
    clear: both;
    height: auto;
    overflow: hidden;
  }
 
  #gridContainer { 
  	width: 99vw !important;  
  }

  #gridContainer {
    min-height: 85vh;
    grid-template-columns: 98vw;
    grid-template-rows: minmax(auto, 160px) minmax(auto, 3rem) minmax(auto, 2.5rem) 2.5rem minmax(35rem, auto) auto;
    grid-template-areas:
      "hdrAd"
      "nav"
      "hdr"
      "maincontentnav"
      "maincontent"
      "foot";
    grid-gap: 0.1em;
    font-weight: normal;
    font-size: 1rem;
  }
  
  #gridSidebar {
    display: none;  
  }

  #gridNav {
    grid-area: nav;
    justify-content: space-between;
    align-items: end;
  }

  #gridNav nav {
    margin-top: 2px !important;
    margin-bottom: 0 !important;
    padding-top: 5px;
  }

  #compLogoHdr {
  	display: none;
  	opacity: 0 !important;
   
    height: 35px;
    width: 25.5px;
    object-fit: contain;
    margin: 0 5px 0 10px;
    float: left;
  }
  
  #gridNav nav .menu-main li {
    margin: 0 1px;
  }
  
  #gridNav nav .menu-main li a {
    font-size: 1em;
    padding: 1px;
  }
  
  #gridNav nav .menu-member li {
    margin: 0 1px;
  }
 #gridNav nav .menu-member li a {
    font-size: 0.6em;
    padding: 1px;
  }

  #gridCustInfoNav {
    font-size: 0.7em;	
    width: 99%;
    position: fixed; 
    bottom:0vh;
  }
 
  #gridHdr {
    display: none;
    /*
    background-color: transparent;
    margin-bottom: 1px;
    overflow: -webkit-sticky;
    overflow: hidden; 
    */
  }
  
  #gridHdrAd {
    display: block;
    grid-area: hdrAd;
    background-color: #1a512e;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    
    display: flex;
    justify-content: flex-end;
    
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
  }
  
  #gridHdrMobile {
    display: block;
    grid-area: hdr;
    background-color: #1a512e;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 5px;
    
    display: flex;
    justify-content: flex-end;
  }
  
  /*mobile search*/
  #txtItemGrpSearchNav {
  	display:block !important;	
  	width: 43vw; 
  	/*padding-left: 2px;*/
  	border-color: #c5cfc6;
    border-style: solid;
    border-width: thin;
  	padding-top:2px;
	  padding-bottom: 2px;

    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
	
	  margin-right: 0;
	  margin-top: auto;
	  margin-bottom: 0;
	
    font-size: 1em;
    height: 1.58em;
    text-align: center;
	  align-items:center;
	  outline:none;
  }
  #btnItemGrpSearchNav {
    display:block !important;	
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    border-color: #c5cfc6;
    width: 3em;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    
    font-size: 1em;
    height: 1.58em;
    padding-top:2px;
	  padding-bottom: 2px;
    margin-right: 9px;
    margin-top: auto;
	  margin-bottom: 0;
  }
  
  #gridMainContentNavDiv {
    grid-area: maincontentnav;
    /*container only to avoid conflict of display:flex & none; of #gridMainContentNav*/
    padding:0;
    margin: 0;
  }

  #gridMainContentNavDiv, #gridMainContentNav {
    display: block;
  }
  
  /*replacement of cboItemGrpNav*/
  #divULItemGrpNav {
    margin: 0;
    padding: 0;
    max-width: 95vw;
    

    background-color: transparent;
    border-radius: 5px;
    float: left;
    overflow: auto;
    white-space: nowrap;
}

#divULItemGrpNav::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* make scrollbar transparent */
}
  #ulItemGrpNav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    width: auto;
  }
  #ulItemGrpNav li {
    display: inline-block;
    color: white;
    background-color: #058240;
    font-size: 1em;
    font-weight: normal;
    text-align: center;
    padding: 0.19em 1em;
    margin: 0 2px;
    text-transform:capitalize;
    
    border: 1px solid #fff;
    border-radius: 5px;
    
  }
  
  #ulItemGrpNav li:active {
    background-color: #589d62;
  }
  
   
  /*end replacement of cboItemGrpNav*/

	.menuIconBar1, .menuIconBar2, .menuIconBar3 {
	  width: 17px;
	  height: 3px;
	  background-color: #fff;
	  margin: 3px 0;
	  transition: 0.4s;
	}
	
  /*end menu icon*/
  
  #gridMainContentNav {
    width: auto;
    height: auto;
    margin-top: 0.5rem;
    padding: 6px 10px 6px 6px;
    margin-top: auto;
    margin-bottom: auto;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
  }
  
  #gridHdrMobile > .push-left {
    border: none;
    width: 50px;
    margin-left: 5px;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: 5px;
  
    display: flex;
    justify-content: center;
  }
  
  #gridHdrMobile > .push-right {
    border: none;
    width: auto;
    margin-left: auto;
    margin-right: 5px;
    margin-top: auto;
	  margin-bottom: auto;
  
    display: flex;
    justify-content: center;
  }
  
  #gridHdrMobile .cartImg {
    padding:0;
    margin-right: 5px;
    margin-left: 2px;
    height: 20px;
    width: 25px;
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
    background-image: url("../_images/program/icons/shop-cart-dgreen.png");
  }

  #gridMainContentNav .cartImg {
    padding:0;
    margin-right: 10px;
    margin-left: 2px;
    height: 20px;
    width: 25px;
    object-fit: contain;
    
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;
    
    background-image: url("../_images/program/icons/shop-cart.png");
  }

  #gridMainContent {
    grid-area: maincontent;
    border-top: none;
    border-bottom: none;
    border-radius: 0;
    padding-top: 3px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: var(--main-padding);
    
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: #fff;
  }

  #gridMainContent > .mainSubDiv {
    float: left;
    height: 8.5rem;
    width: 31%;
    border-radius: var(--main-radius);
    margin-left: 5px;
    margin-bottom: 5px;
    
    justify-content: space-evenly;
    align-items: center;
  }
  #gridMainContent > .mainSubDiv > .smallImg {
    float: right;
    height: 98%;
    width: 35%;
    max-width: 150px;
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl {
    font-family: Roboto, Tahoma, Geneva, sans-serif;
    float: right;
    height: 98%;
    width: 60%;
    max-width: 350px;
    background: #fff;
    margin-left: 5px;
    padding: 1px; 
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgUPrice , #btnATCAddToCart , #imgQtyOrdDiv{
  margin-top: 2px;
  font-size: 1em;
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl > #imgQtyOrdDiv > #imgQtyOrd , #imgQtyOrdBtnMinus , #imgQtyOrdBtnPlus{
    padding: 2px 0;
    border: 1px solid #ddd;	  
  }
  
/*gen.printed variations*/
#divVariation > .divVariationChild {
  float: left;
  height: 8.5rem;
  width: 31%;
  border-radius: var(--main-radius);
  margin-left: 5px;
  margin-bottom: 5px;
  
  justify-content: space-evenly;
  align-items: center;
}
#divVariation > .divVariationChild > .varImg {
  float: right;
  height: 98%;
  width: 35%;
  max-width: 150px;
}
#divVariation > .divVariationChild > .divVariationChildDetl {
  font-family: Roboto, Tahoma, Geneva, sans-serif;
  float: right;
  height: 98%;
  width: 60%;
  max-width: 350px;
  background: #fff;
  margin-left: 5px;
  padding: 1px; 
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgUPrice , #btnATCAddToCart , #imgQtyOrdDiv{
  margin-top: 2px;
  font-size: 1em;
}
#divVariation > .divVariationChild > .divVariationChildDetl > #imgQtyOrdDiv > #imgQtyOrd , #imgQtyOrdBtnMinus , #imgQtyOrdBtnPlus{
    padding: 2px 0;
    border: 1px solid #ddd;	  
}
/*end gen.printed variations*/
  
  #gridCustInfoNav {	
	width: 98vw !important; 
  bottom: 0vh;
	/*bottom: calc(100vh - 1.7rem);*/
  }

  #gridFoot {
    grid-area: foot;
    margin-top: 5px;
  	padding-left: 0;
  	padding-right: 0;
  	background-color: #06491d;
  }
  #gridFoot > .footSubDiv {
    min-height: 2.5rem;
    height:auto;
    width: auto;
    padding: 0.5em;
    
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
  }
 
  #gridFoot > .footSubDiv > .hdrH2 {
    margin-bottom: 0.8rem;
    font-size: 0.5em;
  }
 
  #gridFoot > .footSubDiv > ul{
    margin-top: 0.3rem;
  }
  
  #gridFoot > .footSubDiv > ul li:not(:last-child){
    margin-bottom: 0.5rem;
  }
  #gridFoot > .footSubDiv > ul li a{
    font-size: 0.5em;
  }
  #gridFoot > .footSubDiv > ul li a:hover{
    padding-left: 0.3em;
  }

  p.formTitle {
    font-size: 1rem;
    color: #00953a;	
   }
   
   /*start tblviewdetl*/
   .tblViewDetl {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    height:auto;
    font-size: 0.8rem;
   }
   .tblViewDetl thead th {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    font-size: 0.8em;
    font-weight: normal;
    border: none;
   }

   .tblViewDetl tbody tr {
    margin-top: 5px;
    border: none;
    border-bottom: 0.5px solid #ddd;
    border-collapse: collapse;
   }
   .tblViewDetl tbody td {
    border: none;
    font-size: 1em;
    padding-top: 5px;
    padding-bottom: 5px;
    vertical-align: bottom;
   }
   
   .tblViewDetl tbody tr td:nth-child(1) {
    padding: 0 1px;
    background: #fff;
    text-align: center;
    vertical-align: top;
    width:2em;
   }
   .tblViewDetl tbody tr td #myBtnIDRemRow {
    font-family: "Calibri", sans-serif;
    font-size: 0.8em;
    text-align:center;
    width: 20px;
    height: 20px;
    margin-top: 5px;
    margin-left: auto;
	  margin-right: auto;
    border:solid 1px #f5f5f5;
    border-radius: 20px;
    
    background-color: #636363;
    color: #fff;
	}
	
   .tblViewDetl tbody tr td #qtyDec{
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    width: 2em;

   }
   .tblViewDetl tbody tr td #qtyInc {
    background-color: transparent;
    color: green;
    border-style: solid;
    border-width: thin;
    width: 2em;
   }
   
   .tblViewDetl tbody tr:last-child { 
    border: none;
    font-size: 0.9em;
    font-weight: bold;
    background-color: #fff;
   }
   .tblViewDetl tfoot tr td {
    padding: 1em;
    margin-bottom: 1em;
   }
   .tblViewDetl tr td input {
     font-family: Arial, Helvetica, sans-serif;
     font-size: 0.9em;
     background-color: transparent;
     /* pointer-events: none; */
   }
   
   .tblViewDetl tbody tr td .txtDNetPrice {
     color: #029DAF; 
   }
   
   .tblViewDetl tbody tr td .txtDUPrice {
     color: #F64E15;
   }
   .tblViewDetl tbody tr td .txtDUOM {
     color: #F64E15;
   }
   .tblViewDetl tbody tr td .txtDImgUOM {
    color: #F64E15;
  }
   
   .tblViewDetl tr td textarea {
     font-size: 0.9em;
     background-color: transparent;
   }
   #container-footer > .flexRow > #btnSaveSODetl{
    font-size: 0.8em;
    border-radius: 5px;
   }
   #container-footer > .flexRow > .btnUpdateCancelSODetl{
    font-size: 0.8em;
    border-radius: 5px;
   }
   /*end .tblViewDetl*/
   
   #container-hdr {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-direction: row;
    font-size: 1rem;
  }
 
  #container-hdr-div-col1 {
    width: 98vw;
    float:left;
  }
  #container-hdr-div-col2 {
    width: 49vw;
    float:left;
  }
  #container-hdr-div-col1 #rtxtATCNote {
    padding:2px; 
    resize:none; 
    border:none;
  }

  .tblViewSubInfo-Head {
    width: 98vw;
    font-size: 0.9rem;
  }
  .tblViewSubInfo-Head td,
  .tblViewSubInfo-Head th {
    padding-left: 0.5em;
    padding-left: 0.5em;
  }

  .tblViewSubInfo-Detl {
    width: 98vw;
    font-size: 0.9rem;
  }

  [class*="fcol-"] {
    font-size: 12px;
   }	
  .fcol-lbl1 {width: 2rem; font-size: 0.7em;}
  .fcol-lbl2 {width: 3rem; font-size: 0.7em;}
  .fcol-cont-s {width: 7rem;}
  .fcol-cont-m {width: 10em;} /*for s.o no*/
  .fcol-cont-l {width: 23rem;} 
  .fcol-cont-az {width: 98%;}
  .fcol-cont-s #dtATCSO, .fcol-cont-s #dtATCExpDO {
    font-size: 1em;
    width: 5.6rem;
  }
}

/*iphone iPhone 6, 6S, 7 and 8*/
/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
  
  #gridHdrAd {
    max-width: 97vw;
    max-height: 25vh;
  }
  
  #gridMainContent > .mainSubDiv {
    float: left;
    height: 8.5rem;
    width: 95%;
    border-radius: var(--main-radius);
    margin-left: 5px;
    margin-bottom: 5px;
    
    justify-content: space-evenly;
    align-items: center;
  }
  #gridMainContent > .mainSubDiv > .smallImg {
    float: right;
    height: 98%;
    width: 35%;
    max-width: 150px;
    
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl {
    font-family: Roboto, Tahoma, Geneva, sans-serif;
    float: right;
    height: 98%;
    width: 60%;
    max-width: 350px;
    background: #fff;
    margin-left: 5px;
    padding: 1px; 
  }	
}

/*iphone X*/
/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) {
  
  #gridHdrAd {
    max-width: 97vw;
    max-height: 25vh;
  }
  
  #gridMainContent > .mainSubDiv {
    float: left;
    height: 8.5rem;
    width: 95%;
    border-radius: var(--main-radius);
    margin-left: 5px;
    margin-bottom: 5px;
    
    justify-content: space-evenly;
    align-items: center;
  }
  #gridMainContent > .mainSubDiv > .smallImg {
    float: right;
    height: 98%;
    width: 35%;
    max-width: 150px;
    
  }
  #gridMainContent > .mainSubDiv > .mainSubDivDetl {
    font-family: Roboto, Tahoma, Geneva, sans-serif;
    float: right;
    height: 98%;
    width: 60%;
    max-width: 350px;
    background: #fff;
    margin-left: 5px;
    padding: 1px; 
  }	
}

/* for using iPad Pro(12.9-inch 4th gen) (1024x1366) force to desktop theme */
/* 
When the width is between 600px and 900px OR above 1100px
@media screen and (max-width: 900px) and (min-width: 600px), (min-width: 1100px) {}
*/
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
  /*cobalt blue*/	
  .header-login-a { background-color: #0047AB; }
	
  #gridContainer {
    min-height: 85vh;
    grid-template-columns: 20vw 78vw;
    grid-template-rows: minmax(auto, 3rem) minmax(auto, 160px) minmax(35rem, auto) auto;
    grid-template-areas:
      "nav nav"
      "hdrAd hdrAd"
      "sidebar maincontent"
      "foot foot";
    grid-gap: 0.1em;
    font-weight: normal;
    font-size: 1rem;
  }
  
  #gridHdrMobile {
	 display:none;
  }

  #gridSidebar {
    grid-area: sidebar;
    display: block;
    font-size: 1.2em;
  }
  
  #gridFoot > .footSubDiv > .hdrH2 {
    margin-bottom: 10px;
    font-size: 1.1em;
  }
  #gridFoot > .footSubDiv > ul li a{
    font-size: 1em;
  }
    
}
/*end iOS device*/  