/*
 *@package name - WD Twitter Feed
 *@package version - 1.3.0
 *@author - Yoav Kadosh
 *@author URI - http://www.webdesk.co.il
 *@author email - yoavks@gmail.com
 *@script - A simple yet powerful plugin that allows you to view your tweets in various different ways 
*/

/* Fonts */

@font-face {
	font-family: pacifico;
	src: url("../fonts/Pacifico.ttf") format("truetype");
}
@font-face {
	font-family: bpdots;
	src: url("../fonts/BPdotsCondensedDiamond.ttf") format("truetype");
}

/* errors */
.askupa-twitter-error {
	background-color: rgb(255,150,150);
	border-right: 5px solid red;
	border-left: 5px solid red;
	padding: 10px 15px;
}

/*-----------------------*/
/* Tweet List
/*-----------------------*/

/* reset css */
.askupa-tweet-list.wrapper * {
	margin:0;padding:0;list-style:none;text-decoration:none;border:none;
}

/* Element margin */
.askupa-tweet-list.tweet-wrapper {
	margin: 0 0 5px 0;
	width: 195px;
}
.askupa-tweet-list.tweet-text,
.askupa-tweet-list.user-card,
.askupa-tweet-list.tweet-actions,
.askupa-tweet-list.retweet-credits {
	margin: 5px 8px !important;
}
.askupa-tweet-list.wrapper time {margin: 10px}
.askupa-tweet-list.screen-name {margin:5px}

/* Screen name */
.askupa-tweet-list.screen-name span {font-weight: bold}
.askupa-tweet-list.screen-name a {font-size: 12px}

/* Avatar */
.askupa-tweet-list.user-card img {
	border-radius: 3px !important;
	box-shadow:0 0 4px rgba(0,0,0,0.2) !important; 
	margin:5px;
}

/* font */
.askupa-tweet-list.tweet-wrapper time,
.askupa-tweet-list.user-card,
.askupa-tweet-list.tweet-text,
.askupa-tweet-list.retweet-credits
{
	font-family: "Arial", Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
	color: #777777;
	word-wrap: break-word;
	-webkit-hyphens: auto;
	font-size: 13px;
}
.askupa-tweet-list.tweet-wrapper a,
.askupa-tweet-list.tweet-wrapper a:active,
.askupa-tweet-list.tweet-wrapper a:visited {
	color: #21759b !important;
}
.askupa-tweet-list.tweet-wrapper a:hover {
	color: #3FA6D5 !important;
}
.askupa-tweet-list.tweet-text {line-height:1.5 !important}
.askupa-tweet-list.user-card {line-height:1 !important;}

.askupa-tweet-list.user-card {overflow:auto}

.askupa-tweet-list.tweet-actions {font-size: 13px;color:#333}

/* direction sensitive elements */
/* ltr */
.askupa-tweet-list.user-card.ltr img,
.askupa-tweet-list.tweet-wrapper time.rtl,
.askupa-tweet-list.screen-name.ltr
{float:left}
.askupa-tweet-list.tweet-actions.rtl,
.askupa-tweet-list.tweet-text.ltr,
.askupa-tweet-list.retweet-credits.ltr,
.askupa-tweet-list.screen-name.ltr
{direction: ltr}

/* rtl */
.askupa-tweet-list.user-card.rtl img,
.askupa-tweet-list.tweet-wrapper time.ltr,
.askupa-tweet-list.screen-name.rtl
{float:right}
.askupa-tweet-list.tweet-actions.ltr,
.askupa-tweet-list.tweet-text.rtl,
.askupa-tweet-list.retweet-credits.rtl,
.askupa-tweet-list.screen-name.rtl
{direction: rtl}


/*-----------------------*/
/* Scrolling Tweet List
/*-----------------------*/

.askupa-scrolling-tweet-list.tweet-text,
.askupa-scrolling-tweet-list.tweet-time
{
	font-family: "Arial", Helvetica, sans-serif;
	text-rendering: optimizeLegibility;
	-webkit-hyphens: auto;
}

.askupa-scrolling-tweet-list.wrapper {
	padding:10px;
	width:100%;
	height:50px;
}
.askupa-scrolling-tweet-list.tweet-text {
	height:25px;
	position:relative;
	overflow:hidden;
	font-size: 13px;
}
.askupa-scrolling-tweet-list.tweet-text > p {
	white-space: nowrap;
	position: absolute;
	top:0;left:0;
}
.askupa-scrolling-tweet-list.tweet-text > p span {font-family: 'pacifico', cursive}
.askupa-scrolling-tweet-list.tweet-time {
	font-style: italic;
	color: #CCC;
	font-size:12px;
}

/* skins */

/* led screen skin */
.askupa-scrolling-tweet-list.wrapper.led-screen-skin {
	border-radius: 10px;
	height:46px;
	position:relative;
	margin-bottom: 20px;
}
.askupa-scrolling-tweet-list.wrapper.led-screen-skin,
.askupa-scrolling-tweet-list.wrapper.led-screen-skin:after {
	border:2px solid #CCC;
	box-shadow: 0 0 5px rgba(0,0,0,0.7);
	background-color: #333;
}
.askupa-scrolling-tweet-list.wrapper.led-screen-skin:after {
	position:absolute;
	left:20px;
	bottom:-15px;
	border-top:none;
	box-shadow: none;
	border-radius: 0 0 10px 10px;
	padding: 0 10px 3px;
	content: '';
	width:120px;
	height:10px;
}
.askupa-scrolling-tweet-list.tweet-time.led-screen-skin {
	position: absolute;
	left: 40px;
	bottom:-10px;
	z-index: 2;
}
.askupa-scrolling-tweet-list.tweet-text.led-screen-skin > p,
.askupa-scrolling-tweet-list.tweet-text.led-screen-skin > p a,
.askupa-scrolling-tweet-list.tweet-text.led-screen-skin > p span {
	font-family: 'bpdots', cursive; 
	color:rgb(255,0,0);
	text-shadow: 0 0 15px rgb(255,0,0);
	font-size: 30px;
}
.askupa-scrolling-tweet-list.tweet-text.led-screen-skin {height:45px;}

/* default skin */
.askupa-scrolling-tweet-list.tweet-text.default-skin > p span {font-family: 'pacifico', cursive}

/*-----------------------*/
/* Sliding Tweet List
/*-----------------------*/

.askupa-sliding-tweet-list.wrapper {
	height:100px;
	overflow: hidden;
	position: relative;
}

.askupa-sliding-tweet-list.tweet-padder {
	position: absolute;
	height:100%;
	width: 100%;
}

.askupa-sliding-tweet-list.tweet-wrapper {
	position: relative;
	height: 100px;
}

.askupa-sliding-tweet-list.tweet-wrapper time {
	float: right;
	font-size: 12px;
	font-style: italic;
	color: #AAA;
}

.askupa-sliding-tweet-list.user-card {
	height: 35px;
}

.askupa-sliding-tweet-list.user-card img {
	float: left;
}

.askupa-sliding-tweet-list.screen-name {
	margin-left: 40px;
	padding: 5px 0;
	font-size: 12px;
	line-height: 12px;
}

.askupa-sliding-tweet-list.tweet-text {
	margin:0;
	height: 45px;
	font-size:13px;
	line-height: 22px;
	overflow: hidden;
}

.askupa-sliding-tweet-list.retweet-credits {
	margin:0 0 0 10px;
	font-size:12px;
	height: 20px;
}

.askupa-sliding-tweet-list.tweet-actions {
	position: absolute;
	bottom: 0px;
	list-style: none;
	margin: 0;
	right:5px;
	font-size:12px;
}

.askupa-sliding-tweet-list.tweet-actions li {
	display: inline;
	margin-left: 7px;
}

/* Debugging window */
#askupa-twitter-feed-debug {
	content: '';
	background-color: rgba(0,0,0,0.5);
	position: fixed;
	top:0;bottom:0;left:0;right:0;
}
#askupa-twitter-feed-debug > h2 {
	position: fixed;
	top: 60px;
	left: 20%;
	right: 20%;
	background-color: #555;
	border-radius: 10px 10px 0 0;
	color: white;
	padding:13px 20px;
	font-size: 13px;
	box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
#askupa-twitter-feed-debug > h2 > i {
	position: absolute;
	right: 15px;
	top: 10px;
	cursor: pointer;
	font-size: 16px;
	background-color: white;
	color: #555;
	padding:2px 5px 3px 6px;
	border-radius: 4px;
}
#askupa-twitter-feed-debug > h2 > i:hover {
	background-color: rgb(255,100,100);
}
#askupa-twitter-feed-debug > div.box {
	position: fixed;
	top: 100px;
	bottom: 10%;
	left: 20%;
	right: 20%;
	background-color: white;
	overflow: auto;
	padding: 10px 15px;
	border: 2px solid #555;
	border-radius: 0 0 10px 10px;
}

#askupa-twitter-feed-debug > div.box ol {
	list-style-type: decimal;
	margin: 0 15px;
}

#askupa-twitter-feed-debug > div.box li {
	margin-bottom: 10px;
}