/* Home Stationery */
.home-stationery-recommended .title-link-right,
.home-stationery-recommended .icon-attribute-product{
  display: none;
}

/* Product Page - Magazine */
.product-view .box-product-normal.magazine{
  /*min-width: 560px;*/
}
.magazine-wrapper{
  /*overflow: auto;*/
}

#anonymous_element_1.search-fixed{top: 71px !important; left: 58% !important;}

/* Product View */
@media screen and (max-width: 979px){
  .product-img-box .productlabel-wrap:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
  }
}

/* Mega Menu - 2 columns */
.nav .grid-cat.grid-2 .grid-item-wrapper{
  width: 47%;
  margin-left: 0;
  margin-right: 3%;
  float: left;
}
.nav .grid-cat.grid-2 .grid-item-wrapper.first{
  border-right: solid 1px #BDF7DF;
}
.nav li.grid-cat.grid-2 .grid-item{
  width: 95%;
  margin-left: 0%;
}

#product-options-wrapper .bought-together-products .products-grid.products-grid--max-3-col li.item{width:31.3333333333333%;}
#product-options-wrapper .bought-together-products .products-grid > li.item .productlabel-wrap{width: 80%;}
#product-options-wrapper .bought-together-products .products-grid > li.item .add-to-links{display:block;}
#product-options-wrapper .bought-together-products.products-grid > li{margin-bottom:3%;}

.mobile-menu,
.mobile-header .mobile-search{
  display: none;
}
.header-bottom,
.desktop-search{
  display: block;
}
.mobile-menu-button{
  display: none;
}
.mm-menu > .mm-panel > .mm-listview{
  position: absolute;
  width: 100%;
}
.box-search.mobile{
  display: none;
}
.logo{
  width:15.5%;
  padding: 32px 0 10px 0;
}
.toplinks-mobile{
  margin:15px 0 15px 10px;
}

@media screen and (max-width: 1239px){
  .box-hotstore-header li .box-detail a {color:#484848; font-size: 11px; line-height: 11px;}
}
@media screen and (max-width: 1023px){
  .logo{
    padding: 20px 0 10px 0;
  }
  .box-headercenter{
    width: 81.5%;
  }
}
@media screen and (max-width: 979px){
  .product-view .product-shop .product-content .add-to-links{
    float: none;
    margin: 0 auto 20px;
  }
  .product-view .box-reviewbooster .attribute-content{
    display: block;
  }
  .product-view .box-reviewbooster{
    padding: 0;
  }
  #customer_reviews h3{
    text-align: left;
    position: relative;
    padding: 12px;
  }
  #customer_reviews h3:before {content:"+"; text-align:center; color:#088C5B; position:absolute; width:40px; height:100%; line-height:44px; top:0px; right:0px;}
  #customer_reviews h3.active:before {content:"-";}
  .box-reviewbooster .review-bottom{
    padding:0 20px;
  }
  .checkout-cart-step-two .payment-method #payment_form_KBank .box-iconpayment br {  display: none; }
  .checkout-cart-step-two .payment-method #payment_form_KBank * {   text-align: left;}
}
@media screen and (max-width: 715px){
  .page-header .form-language{display: none;}
  .mobile-header .header-content{
    position: relative;
  }
  .mobile-header .box-search,
  .mobile-header .searchautocomplete{
    width: 100%;
  }
  .mobile-header .logo{
    float: none;
    margin: 0 0 0 55px;
    padding-top: 12px;
    min-height: 65px;
    z-index: 1100;
    position: relative;
  }
  .sticky-header,
  .box-search-cart .box-search,
  .header-bottom,
  .desktop-search{
    display: none;
  }

  .box-search.mobile,
  .mobile-header .mobile-search{
    display: block;
  }
  .mobile-header .box-search-cart{
    position: absolute;
    top: 0;
    right: 0;
  }
  .mobile-header .mobile-menu-button{
    position: absolute;
    left: 10px;
    top: 50%;
    margin-top: -12px;
    z-index: 1000;
    display: block;
    width: 30px;
    height: 20px;
    background: url(/National_Library/20160930123623oe_/http://www.asiabooks.com/skin/frontend/asiabooks/default/images/mobile-menu.png) center no-repeat;
    text-indent: -9999px;
  }
  .header-minicart { margin-top:12px;}
  .toplinks-mobile{margin: 8px 0 15px 10px;}
  .box-search-cart .toplinks-mobile .skip-content{
    right: -12;
  }
}
@media screen and (max-width: 768px){
#product-options-wrapper .bought-together-products .products-grid.products-grid--max-3-col li.item{width: 48.5%;}
#product-options-wrapper .bought-together-products .products-grid > li:nth-child(3n+1){clear:none !important;}
#product-options-wrapper .bought-together-products .products-grid > li:nth-child(3n) {  margin-right: 3%!important; }
#product-options-wrapper .bought-together-products .products-grid > li:nth-child(2n){margin-right:0 !important;}

}
@media screen and (max-width: 640px){
  .cms-promo-magento .product-view{
    margin-bottom: 20px !important;
  }
}
@media screen and (max-width: 620px){
  #product-options-wrapper .bought-together-products .products-grid.products-grid--max-3-col li.item,
  #product-options-wrapper .bought-together-products .products-grid > li.item .productlabel-wrap,
  #product-options-wrapper .bought-together-products .products-grid .product-info{width:100%;}
  #product-options-wrapper .bought-together-products .products-grid li .product-image .product-image-content>a{float:left;padding-bottom:128.7%;position:relative;text-align:center;width:100%}
  #product-options-wrapper .bought-together-products .products-grid > li.item .productlabel-wrap{width:38%;}
  #product-options-wrapper .bought-together-products .item-content{width: 55%;}
}
@media screen and (max-width: 419px){
  .toplinks-mobile {
    margin: 13px 12px 15px 0px;
  }
}

.product-linked{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@media only screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 568px){
  .product-linked input[type=text]{
    font-size: inherit;
  }
}
