/*
 * Too much padding on buttons in Internet Explorer
 */

button{
    overflow:visible;
}

td.quantity-controls button.control{
    position: relative;
    top: 5px;
    margin: 0px 5px;
}

table.cart td.add,
div.block td.product_order{
    width: 105px;
}

/*
 * inline+zoom => inline-block (IE6-7)
 */

ul.blocks li,
ul.search_categories li,
ul.search_results li{
	display: inline;
	zoom: 1;
}

/*
 * force hasLayout
 */

section.products,
section.products ul{
	zoom: 1;
}


/*
 * max-width, max-height hack for IE6
 */
div.block img,
ul.blocks li img,
ul.search_results li img{
	width: expression(this.width > 196 ? 196: true);
	height: expression(this.height > 143 ? 143: true);
}
section.products li.product img{
	width: expression(this.width > 220 ? 220: true);
	height: expression(this.height > 150 ? 150: true);
}

div.block ul.small img{
    width: expression(this.width > 50 ? 50: true);
    height: expression(this.height > 50 ? 50: true);
}

ul.featured img{
    width: expression(this.width > 162 ? 162: true);
    height: expression(this.height > 162 ? 162: true);
}

ul.featured li{
    margin-right: 10px;
}

div.catalog-block div.block,
div.catalog-block ul.blocks{
    background: none;
}

body.light p.back{
    display: none;
}

p.back{
    display: block;
}

div.catalog-block aside nav{
    display: none;
}

div.catalog-block .categories{
    background: white;
    margin-left: 0px;
    padding-top: 1px;
    clear: both;
    zoom: 1;
    top: -18px;
    margin-bottom: -60px;
}

div.catalog-block .categories ul.featured
/*div.catalog-block .categories ul li*/
{
    display: none;
}

div.catalog-block .categories ul li.active{
    display: block;
}

div.block ul.small li a{
    display: block;
}

body.light div.block{
    left: 0px;
}

div.block{
    position: relative;
    left: 11px;
    overflow: hidden;
}

div.category div.fancyblock{
    display: block;
}

div.category div.viewblock{
    display: none;
}

div.url{
    display: none;
}
