body{background-color: #ffffff; width:100% !important; -webkit-text; size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; font-family:Arial, sans-serif; }

#page-heading {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  background-color: #fff;
  z-index: 999;
}

.page-heading-wrapper {
  border-bottom: 1px solid #000;
  padding: 0.2em 0;
  text-align: center;
}

#privacy {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;
  padding: 20px;
  background: #aaf;
  z-index: 9000;
}

#mini-member-login-button, #mini-member-logout-button {
  padding: 16px;
  text-align: center;
}

#mini-member {
  position: absolute;
  top: 60px;
  right: 0px;
  width: 300px;
  padding: 10px;
  font-size: 12pt;
  text-align: left;
  border: 1px solid #aaa;
  z-index: 6000;
  background: #e6e6e6;
}

#mini-cart {
  position: absolute;
  top: 60px;
  right: 0px;
  width: 300px;
  padding: 10px;
  font-size: 12pt;
  text-align: left;
  border: 1px solid #aaa;
  z-index: 6000;
  background: #e6e6e6;
}

#mini-cart-data {
  background: #faa;
}
.mini-data-row {
  color: #fff
  background: #6a8dae;
  padding: 2px 10px;
}

.mini-buttons {
  padding: 16px;
  text-align: center;
}

#category-panel {
  z-index: 1;
  background-color:#afbdca;
}

#product-panel, #checkout-panel, #login-panel, #order-panel {
  z-index: 1;
  background: #4C6D8C;
}

#contact-panel {
  background:#afbdca;
  text-align: left;
}

.nowrap { white-space: nowrap; }
.panel { margin: 20px; }
.label { width: 180px; }
.value { }
.buttons { padding: 20px 0px; }
.right { float: right }

.member-icon, .cart-icon {
  margin: 10px 5px 0 0;
  padding: 6px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

a.page-title, a.page-title:hover, a.page-title:active {
  color: #000000;
  cursor: pointer;
  text-decoration: none;
  padding-top: 0.5em;
}

.page-header, .category {
  display: inline-block;
  margin: 4px auto;
  text-align: center;
}

.category, .order-history {
  background-color: #6a8dae;
  border: 10px solid #4C6D8C;
  color: #000;
}

.header {
  padding: 0.5em;
}

.hide { display: none; }

.category a img {
  width: 180px;
  height:180px;
  object-fit: cover;
  padding: 0 2em;
}

.category a {
  padding: 0;
  margin: 0;
  height: 100%;
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
}

.category a:hover, .category a:active { background-color: #9cb3c9; cursor: pointer; }

.cat-title { font-size: 22px; color: #fff; padding: 4px; }
.cat-remark { font-size: 16px;color: #fff; }

.content-body {
  margin: 20px;
}

#x, .x {
  position: absolute;
  background: #fff;
  border: 4px solid #aaa;
  border-radius: 20px;
  font-size: large;
  text-align: center;
  color: #aaa;
  height: 40px;
  width: 40px;
  top: -10px;
  right: -10px;
}

.loader {
  border: 10px solid #f3f3f3;
  border-top: 10px solid #ddaadd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -moz-animation: rotateit 2s linear infinite;
  -webkit-animation: rotateit 2s linear infinite;
  animation: rotateit 2s linear infinite;
}
@-webkit-keyframes rotateit {
  from { -webkit-transform: rotate(360deg); }
  to { -webkit-transform: rotate(0deg); }
}
@-moz-keyframes rotateit {
  from { -moz-transform: rotate(360deg); }
  to { -moz-transform: rotate(0deg); }
}
@keyframes rotateit {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.data {
  text-align: left;
  padding: 20px;
}

#msg-panel {
  margin: 12px 20px;
  position: relative;
  z-index: 5000;
}

.msg {
  padding: 10px 20px;
}

.error {
  background: #faa;
}

.success {
  background: #aaf;
}

.errorborder{
  border: 1px solid #f00 !important;
}

.cart {
  margin: 10px 0px;
  position: relative;
  font-size: 14pt;
}

.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

.cart-item img {
  width: 100px;
  height:auto;
  object-fit: cover;
  padding: 0;
}

.cart-item, .field {
  display: inline-block;
  margin: 0 auto;
  padding: 2px 6px;
  text-align: left;
  vertical-align: middle;
  font-size: 14pt;
  color: #fff;
}

.flex1 {
  flex-grow: 1;
}
.flex2 {
  flex-grow: 2;
}
.flex3 {
  flex-grow: 3;
}

.history-create {
  width: 200px;
}
.history-ref {
  width: 200px;
}
.history-status {
  width: 100px;
}
.history-amount {}
.history-items {}
.history-item {}

.product {
  /* cursor: pointer; */
  margin: 20px 0px;
  position: relative;
}

.product:hover, .product:active { background-color: #9cb3c9; }

.added {
  border: 2px solid #ffaaaa;
  background-color: #ffaaaa;
}

.product-qty {
  position: absolute;
  background: #f00;
  border-radius: 20px;
  font-size: 12pt;
  text-align: center;
  color: #fff;
  height: 40px;
  width: 40px;
  top: -10px;
  left: 20px;
  line-height: 38px;
}

.product img {
  width: 240px;
  height:auto;
  object-fit: cover;
  padding: 0;
}

.product-item-image {
  width: 260px !important;
}

.product-item {
  display: inline-block;
  margin: 0 auto;
  padding: 0.4em 0 0.2em 0.5em;
  text-align: left;
  vertical-align: top;
  width: 400px;
  color: #fff;
}

a.eshop-btn {
  background-color: #e50640;
  border: 1px solid #e50640;
  color: #fff;
  padding: 0 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  min-width: 180px;
  margin: 10px 0;
  white-space: nowrap;
}

a.eshop-btn:hover, a.eshop-btn:active {
  background-color: #f02; cursor: pointer;
}

input[type=number] {
  border: 1px solid grey;
  border-radius: 4px;
  font-size: 14pt;
  margin: 4px;
  padding: 6px;
}

input[type=password] , input[type=text] {
  border: 1px solid grey;
  border-radius: 4px;
  font-size: 16px;
  margin: 4px;
  padding: 8px;
}

.fill {object-fit: fill;}
.contain {object-fit: contain;}
.cover {object-fit: cover;}
.scale-down {object-fit: scale-down;}
.none {object-fit: none;}

table td {border-collapse: collapse;}

.warning { color: #ff0000; display: none; }

.button {
  background-color: #ddd;
  border: 1px solid #aaa;
  color: #000;
  padding: 10px 15px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 8px;
}

.button:hover, .button:active { background-color: #44f !important; color: #fff !important; cursor: pointer; }

.activeButton {
  background-color: #66f !important;
  color: #fff !important;
}

.header { font-size: 30pt; color: #fff; }
.content { font-size: 16pt; color: #383838; }
.content-main { font-size: 16pt; color: #383838; background: #afbdca; text-align: center; position: relative; }
.title { font-size: 16pt; margin-top: 26px; text-indent: -1.5em; padding-left: 1.5em;}
.remark { font-size: 12pt; padding-left:1.8em}
.note { font-size: 12pt; text-align: center; margin: 4px; width: 50%; }

.textarea {
  width: 95%;
  font-size: 14pt;
  line-height: 26px;
  padding: 4px;
  margin: 4px;
  border-radius: 4px;
  border: 1px solid grey;
}

@media screen and (max-width: 900px){
      .page-banner { max-width: 85%; }
}

@media screen and (max-width: 830px){
      .page-banner { width: 70%; }
      *[class="mobile-column"] {display: block;}
      *[class="mob-column"] {float: none !important;width: 100% !important;}
      *[class="hide"] {display:none !important;}
      *[class="100p"] {width:100% !important; height:auto !important;}
}

@media screen and (max-width: 630px){
      .page-banner { width: 74%; }
      .data { padding: 10px 4px; }
      .panel { margin: 20px 4px; }
      .product-item { width: 90%; }
      .product img { width: 90%; }
}

