
#main{padding:20px 0px;}
.content{
    padding-bottom:30px;
    position: relative;
    width: 96%;
    margin: auto;
}

#topbar{margin-bottom: 20px;}
#topbar>button{margin:0px 10px;}

#show_products>div
{padding: 0;
    margin: 2%;
    width: 29%;
    display: inline-block;
    text-align: center;}

.imgwrapper{height: 300pt;position: relative;}
.imgwrapper::before {
    content: '';
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}
.imgwrapper>img{max-height: 300pt;max-width: 100%;position: relative;}
img.remote{position: absolute;
    bottom: 0;
    right: 0%;}

#product_original_price{
  text-decoration: line-through;
    color: red;
}

#product_detail{display: none;width: 100%;}
#product_detail h2{font-weight: bold;}
#product_detail>div{display: inline-block;position: relative;vertical-align: top;}
#product_detail_img{max-height: 70vh;max-width: 90%;}
#product_quantity{width: auto;}
#product_detail_name,#product_detail_about,#product_quantity{margin-bottom: 30pt;}

#product_detail>div:nth-child(2)::before {
    content: '';
    height: 80vh;
    display: inline-block;
    vertical-align: middle;
}

#product_detail_options{
  width: auto;
  margin-bottom: 10pt;
}



#show_parts>div
{padding: 0;
    margin: 2%;
    width: 21%;
    display: inline-block;
    text-align: center;}

.part>.imgwrapper{
  height: 200pt;
}

.part>.imgwrapper>img{
  max-height: 150pt;
}


#confirm_addtocart{
  font-size: 30pt;
  text-align: center;
  color: white;
  background-color: #0d5dbb;
  display: none;
}

#cartcount{
    margin-left: 7pt;
    font-size: 12pt;
    color: #ef3d3d;
}

#cart{

  min-height: 50vh;
    min-width: 50%;
    color: #47516d;
    font-size: 14pt;
}

#cart>h1{margin: 20pt 0pt;}

#show_parts>h2>img{height: 80pt;margin-right: 20pt;}



.glyphicon-remove{margin-right:0;}
#cartlist td>button.btn-danger{margin-left:10pt;}

h1{margin-top:0;}
h2{font-size: 16pt;}
.fancybox-close-small{color: black;}
pre{font-size: 12pt;
    background-color: transparent;
    border: none;
    padding: 0;
    font-family: inherit;
    margin: 0;
    line-height: normal;
  }

#address_remarks{color: red;
    font-size: 16px;}

@media (min-width : 768px) and (max-width : 1200px)  {

}

@media (max-width : 767px)  {
  #show_parts>h2>img{display: block;}
  #show_parts>div{width: 45%;vertical-align: top;}
  #menu{left:-52vw;}
  div#product_detail>div {
    width: auto !important;
  }
  #product_detail>div:nth-child(2)::before{display: none;}
  #product_detail_img {
    max-height: 50vh;
  }
  #product_detail_name, #product_detail_about>pre, #product_quantity {
    margin-bottom: 10pt;
    width: 90vw;
  }
  #sf_address{width: 100%;}

  div#topbar>* {
    font-size: 10pt;
    padding: 6pt;
    margin: 3pt;
  }
  #cartcount {
    margin-left: 7pt;
    font-size: 8pt;
  }
}