body {
  background-color: #ffffff;
  color: #444444;
  font-family: 'Kanit', 'Helvetica Neue',Arial,sans-serif;
}

.promobar-top {
  position: relative;
  height: 20px;
  background-color: #9d2121;
}

.promobar-top-cover {
  width: 100%;
}

.promobar-top-cover img {
  width: 100%;
}

.promobar-top-kevent {
  position: relative;
  height: 85px;
  background-color: black;
  color: white;
  padding: 4px;
}
.promo-text-kevent {
  font-size: 16px;
}

.promobar-top .promo-text {
  color: #ffffff;
}

.pk-navbar-top {
  background-color: #ffffff;
  margin-bottom: 8px;
}

#pknavtop.affix {
  width: 100%;
  top: 0;
}

.pk-nav-link {
  color: #333 !important;
}

ul.nav li {
  border-bottom: solid 1px #f5f5f2;
}

.pk-nav-button {
  border-width: 0px;
}
.pk-nav-button .icon-bar {
  background-color: #333 !important;
  height: 3px;
}
.pk-nav-brand {
  display: block;
  float: none;
  font-size: 22px;
  padding-left: 57px;
  padding-right: 0px;
  padding-top: 3px;
  padding-bottom: 0px;
}

.pk-nav-brand img {
  display: inline;
}

.shadow {
  -moz-box-shadow: 0 0 3px #aaa;
  -webkit-box-shadow: 0 0 3px #aaa;
  box-shadow: 0 0 3px #aaa;
}

.products-container {
  padding-left: 15px;
  padding-right: 15px;
}

.product-container {
  position: relative;
  padding: 1px 1px 10px 1px;
}

.product-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0.7; 
}

.product-badge-overlay {
  color: black;
  font-size: 14px;
  line-height: 20px;
  border-radius: 5px;
  background-color: white;
  padding-right: 10px;
  padding-left: 10px;
  min-width: 50px;
  display: inline-block;
  margin-left: 2px;
  margin-bottom: 2px;
}

.product-badge-overlay-sale {
  color: white;
  font-size: 14px;
  line-height: 20px;
  border-radius: 5px;
  background-color: red;
  padding-right: 10px;
  padding-left: 10px;
  min-width: 50px;
  display: inline-block;
  margin-left: 2px;
  margin-bottom: 2px;
}

@media(min-width:768px) { 
  .product-container {
    padding: 4px 4px 10px 4px;
  }
}

.product-details {
  background-color: white;
  padding: 6px 6px 6px 6px;
}

.product-code {
  font-size: 14px;
  text-transform: uppercase;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
}

.product-desc {
  color: #666;
  white-space: pre-line;
}

.product-tool-bar {
}

@media(min-width:768px) { 
  .product-tool-bar {
  }
}

.search-input-box {
  display: inline;
  border-radius: 0px;
  width: 50%;
}

@media(min-width:768px) { 
  .search-input-box {
    display: inline;
    width: 80%;
    border-radius: 0px;
  }  
}

.per-row-button {
  float: right;
}

.connect-button-left {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.connect-button-right {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.tool-button {
  background-color: #ffffff;
  color: #333;
}
.tool-button-active {
  background-color: #9d2121;
  color: #fff;
  border-color: #9d2121;
}
.tool-button-active:hover, 
.tool-button-active:visited, 
.tool-button-active:active,
.tool-button-active:focus  {
  background-color: #9d2121;
  color: #fff;
  border-color: #9d2121;
}
.tool-button-active:focus {
  outline: 0;
}

.type-button {
  border: none;
}

.price-button {
  border: solid 1px #ddd;
}

.search-button {
  border-radius: 0px;
}

.color-palette-item {
  padding: 4px;
  display: inline-block;
}

.color-palette-item-inner {
  width: 32px;
  height: 32px;
  border: solid 1px gray;
  cursor: pointer;
  border-radius: 16px;
}

.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0; bottom: 0; right: 0;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
}

.ui-modal-content {
  position: fixed;
  background: #fff;
  max-height: calc(95vh - 70px);
  overflow-y: auto;
  border: 1px solid #e5e5df;
  border-radius: 3px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  width: 100%;
  margin: auto;
  padding: 15px;
  top: 30px; left:0; right: 0;
  z-index: 1001;
}

@media(min-width:768px) { 
  .ui-modal-content {
    width: 500px;
  }
}

.pad-lr-8 {
  padding-left: 8px;
  padding-right: 8px;
}

.pad-t-8 {
  padding-top: 8px;
}

/* General pages */
.text-darkred {
  color: #9d2121;
}
.general-page-panel {
  padding: 30px;
}
.general-page-header {
  font-size: 32px;
}
.general-page-subheader {\
  margin-top: 0;
}
.general-hr {
  border: solid 2px #9d2121;
}
.text-quote {
  padding-left: 30px;
  padding-right: 30px;
}

#toTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: none;
    border-radius: 35px;
    transition: all 0.3s ease;
    z-index: 1001;
    cursor: pointer;
}
#toTop span {
    color: #fff;
    margin: 0;
    position: relative;
    top: 13px;
    font-size: 19px;
    transition: all 0.3s ease;
}
