@media (min-width: 1200px) {
	.ff-form .control-label{
		width:120px;
	}
	.ff-form .controls{
		margin-left:140px;
	}
	#product_image .product-thumb-holder .product-thumb{
		width:133px;
	}
	.product-item.gridview{
		padding-top:15px;
	}
}

@media (max-width: 979px){
	/* header style */
	#header_content{
		margin-top:0;
	}
	#header_content .container{
		width:auto;
	}
	#header_content .row{
		margin-left:0;
	}
	#header_content [class*="span"]{
		float:none;
		width:auto;
		margin-left:0;
	}
	#top_nav{
		margin:0;
	}
	#top_nav .navbar-inner{
		padding:0;
	}
	#bottom_nav .container{
		width:auto;
		margin:0 15px;
	}
	#main_content{
		width:100%;
		margin:0;
	}
	/* main-nav style */
	#main_nav{
		font-size:12px;
	}
	#main_nav.navbar .mainnav > li > a{
		display: block;
		padding:9px 0;
		margin-bottom:0;
		max-width:none;
		width:100%;
		height: inherit;
	}
	#main_nav .subnav{
		position:relative;
		border:none;
		display:block;
		width:auto;
		height:auto !important;
		left:0 !important;
		top:0 !important;
		padding:0 !important;
		opacity:1 !important;
		visibility: visible !important;
		background:none !important;
		box-shadow:none !important;
		-moz-box-shadow:none !important;
		-webkit-box-shadow:none !important;
	}
	#main_nav .subnav.shop-all{
		display:block !important;
	}
	#main_nav .subnav > li{
		padding-left:0;
	}
	#main_nav .subnav > li:hover > a{
		background:none !important;
	}
	#main_nav .subnav > li > a{
		padding:7px 0;
		margin-bottom:0;
		text-align:center;
	}
	#main_nav .subnav > li > a:hover{
		background:#eee !important;
	}
	#main_nav .subnav .subnav,
	#main_nav .subnav > .nav-header,
	#main_nav .subnav > .divider,
	#main_nav .subnav > .nav-pic{
		display:none;
	}
	#main_nav .collapse{
		overflow:hidden !important;
		height:0;
	}
	
	.product-item.gridview .ff-expand{
		display:none !important;
	}
	.product-item.gridview .product-meta span{
		float:none;
		display:inline-block;
	}

	/* notification style */
	#notification{
		position:relative;
		top:0;
		right:0;
	}
	#notification .alert{
		width:auto;
		margin:5px;
	}
	
	/* category page style */
	#subcategory{
		text-align:center;
	}
	#subcategory .span2{
		float:left;
		width:auto;
	}
	
	/* product page style */
	#product_image .product-thumb-holder ul li{
		float:none;
		display:inline-block;
	}
	
	/* product style */
	.grid .row,
	#footer .row,
	#ff-promotion .row{
		text-align:center;
	}
	.grid .span3,
	#footer .span2,
	#ff-promotion .span4{
		display:inline-block;
		float:none;
	}
	#footer .span3{
		width:100%;
		margin:0;
		text-align: center;
	}
	
	.grid .span3{
		height:270px;
		width:220px;
	}
	.list .span9{
		width:auto;
	}
	
	#ff-promotion .span4{
		width:300px;
	}
	#footer .span2{
		width:140px;
		vertical-align:top;
	}
}

@media (max-width: 979px) and (min-width: 768px) {
	/* slider style 
	#hero_slider, .slider-item .hero-content{
		height:225px;
		text-align:center;
	}
	.slider-item [class*="pos-"]{
		position:relative;
		margin:14px auto;
	}
	.slider-item [class*="size-"]{
		width:75% !important;
	}
	#extend .span3{
		width:450px;
	}*/
}

@media (max-width: 768px) {
	body{
		padding:0;
	}
	.container{
		margin:0 15px;
		width:auto;
	}
	.row{
		margin:0;
	}
	#logo{
		display:block;
	}
	
	#footer{
		margin-top:25px;
	}
	#main_nav.navbar{
		margin-left:-15px;
		margin-right:-15px;
	}
	#header_content .btn-navbar{
		right:5px;
	}
	
	/* product page style */
	#product_top .span6{
		width:100%;
		margin:0;
		float:none;
	}
	#product_top .divider{
		display:block !important;
	}
	#product_body .nav-tabs > li{
		width:100%;
		text-align:center;
	}
	#product_body .nav-tabs > li > a{
		margin-right:0;
		border-color:#ddd;
	}
	#product_info .dl-horizontal{
		width: 300px;
		margin:0 auto;
	}
	#product_info .dl-horizontal dt{
		width: 145px;
		float:left;
		text-align:right;
	}
	#product_info .dl-horizontal dd{
		width: 145px;
		margin-left:155px;
	}
	
	.ff-title{
		text-align:left;
	}
	.table-items{
		min-width:500px;
	}
	.table-items th,
	.table-items th{
		width:auto !important;
	}

	.order-list dt{
		width:120px;
		float:left;
		text-align:right;
	}
	.order-list dd{
		width:120px;
		margin-left:125px;
	}
	.order-view dt{
		width:140px;
		float:left;
		text-align:right;
	}
	.order-view dd{
		width:140px;
		margin-left:145px;
	}
}

@media (max-width: 480px) {
	#content{
		text-align:center;
	}
	#bottom_nav section{
		float:none;
	}
	#product_info > div{
		float:none;
	}
	#product_info .price-holder{
		background:#eee;
		padding:10px 0;
		text-shadow:1px 1px 0 rgba(255, 255, 255, 0.5);
	}
	#product_info .dl-horizontal{
		width: 260px;
		margin:0 auto;
	}
	#product_info .dl-horizontal dt{
		width: 125px;
		float:left;
		text-align:right;
	}
	#product_info .dl-horizontal dd{
		width: 125px;
		margin-left:135px;
	}	
	#product_action > form > div{
		float:none;
	}
	#product_action .action-holder p{
		display:inline-block;
		margin:0 10px;
	}
	#product_action .option-image{
		margin: 0 auto;
	}
	
	.addressbook .action{
		position:static;
	}
	.ff-action > .btn{
		margin:5px;
		float:none;
		display:inline-block;
	}
	.form-horizontal .control-label{
		float: left;
	}
	.cart-amount{
		width:85%;
		margin:0 auto;
	}
	.order-list dt{
		width:100px;
		float:left;
		text-align:right;
	}
	.order-list dd{
		width:100px;
		margin-left:105px;
	}
	.order-view dt{
		width:120px;
		float:left;
		text-align:right;
	}
	.order-view dd{
		width:120px;
		margin-left:125px;
	}
}