/* tabbed popularity widget */ 

.tabbed-widget {
	-webkit-box-sizing: border-box;	
    -moz-box-sizing: border-box;  
    box-sizing: border-box;
}

.tabbed-widget .nav-tabs {
	margin: 0;
	border: 0;
}

.tabbed-widget .tab-inner ul li {
	padding: 0;
	margin: 0;
}

.tabbed-widget .nav-tabs > li > a {
	font-size: 12px;
	color: #999;
	text-align: center;
	padding: 10px 0;
	margin-right: 0;
	margin-left: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	border: 1px solid #eee;
	border-bottom-width: 0 !important;
	background-color: #2c2c2c;
	background-image: -moz-linear-gradient(top, #333333, #222222);
	background-image: -ms-linear-gradient(top, #333333, #222222);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
	background-image: -webkit-linear-gradient(top, #333333, #222222);
	background-image: -o-linear-gradient(top, #333333, #222222);
	background-image: linear-gradient(top, #333333, #222222);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
}

.tabbed-widget .nav-tabs > li > a:hover {
	color: #fff;
	margin: 0;
}

.tabbed-widget .nav-tabs > li.active > a {
	color: #444;
	background: #fff;
	border-color: #e4e4e4;
	
	/* IE10, IE9 */
	filter: none;
	
}

.tabbed-widget .tab-count-1 > li.active > a {
	color: #999;
	background-color: #2c2c2c;
	background-image: -moz-linear-gradient(top, #333333, #222222);
	background-image: -ms-linear-gradient(top, #333333, #222222);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
	background-image: -webkit-linear-gradient(top, #333333, #222222);
	background-image: -o-linear-gradient(top, #333333, #222222);
	background-image: linear-gradient(top, #333333, #222222);
	background-repeat: repeat-x;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
}

/* width to adjust for tab numbers */

.tabbed-widget .tab-count-1 > li > a {
	width: 298px;
}

.tabbed-widget .tab-count-2 > li > a {
	width: 148px;
}

.tabbed-widget .tab-count-3 > li > a {
	width: 98px;
}

.tabbed-widget .tab-count-4 > li > a {
	width: 73px;
}


.tabbed-widget .tab-content {
	display: block;
	width: auto;
	background: #fff;
	padding: 10px 10px 10px;   
	border: 1px solid #e4e4e4;
	border-top: 0;
	-moz-border-radius: 0 0 4px 4px;
	-webkit-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.tabbed-widget .tab-content ul {
	margin: 0;
	padding: 0;
}

.tabbed-widget .tab-content ul > li {
	padding: 15px;
	border-bottom: 1px solid #eee;
	list-style: none;
}

.tabbed-widget .tab-content ul > li:last-child {
	border-bottom: none;
}

.tabbed-widget .tab-content ul li a {
	font-weight: bold;
	font-size: 12px;
	line-height: 1;
	color: #555;
}

.tabbed-widget .tab-content ul li a:hover {
	text-decoration: underline;
}

.tabbed-widget .tab-content ul li span.latest-date {
	display: block;
	font-style: italic;
	font-size: 11px;
	color: #888;
}

.tabbed-widget a.latest-post-tn, .tabbed-widget a.popular-post-tn, .tabbed-widget a.latest-comment-tn {
	border: 1px solid #eee;
	padding: 2px;
	background-color: white;
	float: left;
	margin: 0 10px 0 0;
	width: 50px;
	height: 50px;
}

/* on phones */
@media (max-width: 480px) {
	.tabbed-widget .tab-content ul li {
		min-height: 50px;
	}

	.tabbed-widget .tab-count-1 > li > a {
		width: 279px;
	}
	
	.tabbed-widget .tab-count-2 > li > a {
		width: 138px;
	}
	
	.tabbed-widget .tab-count-3 > li > a {
		width: 91px; 
	}
	
	.tabbed-widget .tab-count-4 > li > a {
		width: 68px; 
	}	
}

/* Landscape tablets */
@media (min-width: 768px) and (max-width: 979px) {
	
	.tabbed-widget .tab-count-1 > li > a {
		width: 226px;
	}
	
	.tabbed-widget .tab-count-2 > li > a {
		width: 112px;
	}

	.tabbed-widget .tab-count-3 > li > a {
		width: 74px;
	}

	.tabbed-widget .tab-count-4 > li > a {
		width: 55px;
		font-size: 10px;
	}
}