img { max-width:100%;}

/*reset css virtuemart*/
.browse-view .row .product .spacer img, .related-products-view .row .product .spacer img, span.addtocart-button input.addtocart-button, span.addtocart-button input.notify-button, span.addtocart-button { max-width:100%;}
.addtocart-area span.quantity-box { width:auto; padding-top:2px;}
span.quantity-box input.quantity-input { padding:0 5px; line-height:28px; height:28px;}
span.quantity-controls { margin:0 10px;}
.orderby-displaynumber { border-top:none; padding:10px;}
span.addtocart-button, .horizontal-separator, .orderby-displaynumber { margin:0 !important;}
.vendor-store-desc { padding:10px;}
.product-field-type-B, .product-field-type-S, .product-field-type-I { padding:0; width:auto;}
.paddingtop8 { padding-top:8px;}

.wrap_thumbs { margin-right:10px;}


/*add style*/
h2.title_vm { font-size:16px; line-height:normal}

.vmblog { 	border:1px solid #CAC9C9; 	margin-bottom:20px; 	
-webkit-border-radius:  6px;    -moz-border-radius:     6px;    border-radius:          6px;}

.vmblog > h4 {	
	background: #e8e8e8 url(../images/button.png) repeat-x 0 0 !important;
padding:5px 10px 0 10px; 	line-height:35px; 	font-size:14px; 	
text-transform: capitalize; 	border-bottom:1px solid #CAC9C9;	
margin-bottom:0; color:#333; font-weight:bold;  text-shadow: 1px 1px 0 #FFFFFF;	
-webkit-border-radius:  8px 8px 0 0;    -moz-border-radius:     8px 8px 0 0;    border-radius:  8px 8px 0 0;
}

a.modal  { display:block;}

input.button , a.product-details , input.addtocart-button
{
	background: #e8e8e8 url(../images/button.png) repeat-x 0 -10px !important;
	border:1px solid #CAC9C9 !important; 
	color:#333 !important; 
	font-weight:bold;   
	text-shadow: 1px 1px 0 #FFFFFF; 
	padding:0 5px 4px !important; 
	height:30px !important; margin:0;
	font-size:100% !important;
	letter-spacing: 0 !important ;
	outline:none;

}

a.product-details  { padding:0 10px !important; line-height:28px; height:28px !important } 

input.button:hover , a.product-details:hover , input.addtocart-button:hover { background-position:0 -40px !important;}


.row_pd .equal  { border-left:1px solid #ddd;}
.row_pd .product:first-child .equal { border:none;}
.row_pd .spacer { padding:8px;}

.productdetails-view { padding:10px;}

	
#category-view .spacer h2 { margin:0; text-align:center}	


table.cart-summary {border:1px solid #CAC9C9; border-left:none;}
table.cart-summary tr th {		background: #e8e8e8 url(../images/button.png) repeat-x 0 -10px !important; padding:10px;  border-left:1px solid  #E1E6E8;
 }
table.cart-summary tr td	{ border-top:1px solid  #E1E6E8;  border-left:1px solid  #E1E6E8; padding:10px; background:#fff; }
table.cart-summary tr.sectiontableentry2 td { background:#f5f5f5}
table.cart-summary .inputbox { border:1px solid  #E1E6E8; height:22px;  }
.billto-shipto  { padding:10px;}
div.terms-of-service { border-top:none;}

#com-form-login-username input, #com-form-login-password input { height:22px;  border:1px solid  #E1E6E8; }
.checkout-button-top { margin-bottom:20px;}

.product-price > div { margin-bottom:5px;}


.product-field {  display:block !important;  float:none !important; width:auto !important; margin-bottom:10px;}
.product-field .product-fields-title { display:block; overflow:hidden; margin-bottom:5px; border-bottom:1px solid #CAC9C9; padding-bottom:5px;}
.product-field .product-field-display  { display:block; margin-bottom:5px;}
.product-field .product-field-display label  img  { height:30px;}
.product-field .product-field-display label { margin-right:20px;}
.product-field .product-field-desc { display:block; margin-bottom:5px;}

.product-fields .product-field input {    left: auto;}
.product-fields .product-field label {    float: none ;    left: auto;    margin-bottom:0;    text-align: left;    top: auto;    width: auto !important;}

#virtuemart_currency_id, .billto-shipto span, span.terms-of-service, #userForm .button { margin-bottom:10px;}
span.addtocart-button { padding-top:2px;}

.control-buttons button { margin-bottom:5px;}
select { padding:2px; border:1px solid #ddd;}

#browse-view > #bottom-pagination { overflow:hidden; padding:10px; border-top:1px solid #ddd;}
#bottom-pagination .pagination span, #bottom-pagination .pagination a { margin:0 5px;}
.category_description { margin-bottom:10px;}

#facebox .content { width:400px !important;}


body.rtl .floatleft  { float:right;}
body.rtl .row_pd .equal {    border-right: 1px solid #DDDDDD; border-left:none;}
body.rtl  span.quantity-box, body.rtl  span.quantity-controls, body.rtl span.addtocart-button { float:right;}
body.rtl  .wrap_thumbs { margin-left:10px;}
