/* 
	Fanciest Author Box
	Author: ThematoSoup
	Author URL: http://thematosoup.com
*/


/* Wrapper */
.ts-fab-wrapper {
	margin: 2em 0;
	clear: both;
}
.ts-fab-wrapper a {
	text-decoration: none !important;
}
.ts-fab-wrapper img {
	border: none !important;
	padding: 0 !important;
}


/* Tabs list */
.ts-fab-list {
	overflow: hidden;
	padding: 0 0 0 5px !important;
	margin: 0 !important;
}
.ts-fab-list li {
	display: block;
	float: left;
	list-style: none;
	margin: 0 5px 0 0 !important;
	padding: 0 !important;
	background: none !important;
}
.ts-fab-list li:before {
	display: none !important;
}
.ts-fab-list li a {
	display: block;
	line-height: 16px;
	height: 16px;
	padding: 8px 12px;
	background-color: #e9e9e9;
	border: 1px solid #e9e9e9;
	border-bottom: none !important;
	text-decoration: none;
	font-size: 13px;
	color: #333;
	font-weight: bold;
	outline: none;
	text-shadow: none !important;
	
	border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	
	box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
}
.ts-fab-list li a:hover {
	color: #333;
}
.ts-fab-list li.active a {
	background-color: #333;
	color: #fff;
	border-color: #333;
}


/* Tab icons */
.ts-fab-list li a {
	background-image: url('../images/fab_tab_icons.png');
}
	.ts-fab-list li.ts-fab-bio-link a {
		background-position: 8px 8px;
		background-repeat: no-repeat;
		padding-left: 27px;
	}
	.ts-fab-list li.ts-fab-bio-link.active a {
		background-position: -280px 8px;
		background-repeat: no-repeat;
		padding-left: 27px;
	}
		
	.ts-fab-list li.ts-fab-twitter-link a {
		background-position: 8px -42px;
		background-repeat: no-repeat;
		padding-left: 35px;
	}
	.ts-fab-list li.ts-fab-twitter-link.active a {
		background-position: -270px -42px;
		background-repeat: no-repeat;
		padding-left: 35px;
	}		

	.ts-fab-list li.ts-fab-facebook-link a {
		background-position: 8px -92px;
		background-repeat: no-repeat;
		padding-left: 23px;
	}
	.ts-fab-list li.ts-fab-facebook-link.active a {
		background-position: -284px -92px;
		background-repeat: no-repeat;
		padding-left: 23px;
	}		

	.ts-fab-list li.ts-fab-googleplus-link a {
		background-position: 8px -142px;
		background-repeat: no-repeat;
		padding-left: 30px;
	}
	.ts-fab-list li.ts-fab-googleplus-link.active a {
		background-position: -276px -142px;
		background-repeat: no-repeat;
		padding-left: 30px;
	}		

	.ts-fab-list li.ts-fab-linkedin-link a {
		background-position: 8px -242px;
		background-repeat: no-repeat;
		padding-left: 30px;
	}
	.ts-fab-list li.ts-fab-linkedin-link.active a {
		background-position: -276px -242px;
		background-repeat: no-repeat;
		padding-left: 30px;
	}		
	
	.ts-fab-list li.ts-fab-latest-posts-link a {
		background-position: 8px -192px;
		background-repeat: no-repeat;
		padding-left: 27px;
	}
	.ts-fab-list li.ts-fab-latest-posts-link.active a {
		background-position: -280px -192px;
		background-repeat: no-repeat;
		padding-left: 27px;
	}
	/* No background image for custom tab */
	.ts-fab-list li.ts-fab-custom-link a,
	.ts-fab-list li.ts-fab-additional-link a {
		background-image: none !important;
	}
	
/* Showing only icons (no text) in widgets */	
.ts-fab-widget .ts-fab-list li a,
.ts-fab-icons-only .ts-fab-list li a {
	text-indent: -9999em;
	padding: 8px 12px !important;
}	
.ts-fab-widget .ts-fab-list li.ts-fab-bio-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-bio-link a {
	width: 4px;
}
.ts-fab-widget .ts-fab-list li.ts-fab-twitter-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-twitter-link a {
	width: 12px;
}
.ts-fab-widget .ts-fab-list li.ts-fab-googleplus-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-googleplus-link a {
	width: 8px;
}
.ts-fab-widget .ts-fab-list li.ts-fab-linkedin-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-linkedin-link a {
	width: 8px;
}
.ts-fab-widget .ts-fab-list li.ts-fab-facebook-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-facebook-link a {
	width: 0;
}
.ts-fab-widget .ts-fab-list li.ts-fab-latest-posts-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-latest-posts-link a {
	width: 4px;
}
/* No text indent for custom tab in widget */
.ts-fab-widget .ts-fab-list li.ts-fab-custom-link a,
.ts-fab-icons-only .ts-fab-list li.ts-fab-custom-link a {
	text-indent: 0 !important;
}


/* Tabs content */
.ts-fab-tab {
	visibility: hidden;
	height: 0px;
	width: 0px;
	border: none;
	overflow: hidden;
	padding: 0;
}
.ts-fab-tab.visible-tab {
	visibility: visible;
	min-height: 64px;
	border: 2px solid #333;
	padding: 12px;
	background: #fff;
	width: auto;
	height: auto;
	box-sizing: content-box;
	-moz-box-sizing: content-box;
}
.ts-fab-tab:after {
	content: '';
	display: table;
	clear: both;
}
.ts-fab-tab:first-child {
	display: block;
}
	.ts-fab-widget .ts-fab-tab.visible-tab {
		padding: 8px;
	}


/* In-tab layout (gravatar, text) */
.ts-fab-avatar {
	display: block;
	float: left;
	width: 64px;
	height: 64px;
}
	.ts-fab-no-float .ts-fab-avatar {
		float: none;
		margin: 0 0 12px;
	}
.ts-fab-avatar img {
	display: block;
	border: none !important;
}
.ts-fab-text {
	margin-left: 76px;
	line-height: 1.5;
}
	.ts-fab-no-float .ts-fab-text {
		margin-left: 0;
	}


/* Tabs header */
.ts-fab-header {
	margin-bottom: 10px;
}
.ts-fab-text h4 {
	clear: none;
	font-size: 18px;
	line-height: 1 !important;
	font-weight: bold;
	margin: 0 0 0.2em !important;
	line-height: 1;
	padding: 0;
}
.ts-fab-description {
	font-size: 12px;
}

.ts-fab-follow {
	margin-top: 10px;
}
	
	
/* Latest posts */
.ts-fab-latest {
	margin: 0 !important;
	padding: 0 !important;
}
.ts-fab-latest li {
	list-style: none !important;
	line-height: 1.1;
	margin: 0 0 0.6em !important;
}
.ts-fab-latest li span,
.ts-fab-twitter-time {
	font-size: 12px;
}
.latest-see-all {
	font-weight: normal;
}


/* LinkedIn */
.ts-fab-wrapper iframe {
	margin-bottom: 0 !important;
}


/* RTL */
/* === */
body.rtl .ts-fab-avatar {
	float: right;
}
body.rtl .ts-fab-text {
	margin-left: 0;
	margin-right: 76px;
}
body.rtl .ts-fab-list {
	padding: 0 5px 0 0 !important;
}
body.rtl .ts-fab-list li {
	float: right;
	margin: 0 0 0 5px !important;
}


/* Facebook widget Firefox fix */
.ts-fab-wrapper .fb_iframe_widget > span,
.ts-fab-wrapper .fb_iframe_widget > span iframe {
	min-height: 64px !important;
}