#subcategories{
	font-size:14px;
	display:inline-block;
}

#subcategories a, .filter{
	color:FFFFFF;
	text-decoration:none;
	background-color:#022000;
	display:inline-block;
	padding:6px;
	font-weight:bold;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#subcategories a:hover, .filter:hover, #subcategories a.active{
	background-color:#5F94DC;
}

@media screen and (max-width: 600px){
	#subcategories{
		overflow:hidden;	
		width:100%;
	}
	
	#subcategories a, .filter{
		float:left;	
		width:calc(100% - 12px);
		margin-bottom:5px;
		text-align:center;
	}
	
	.filter{
		float:none;
	}
	
	#subcategories a:last-child{
		margin-bottom:0px;
	}
}