/* Reset
   
   Based on work by Eric Meyer:
   * meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/  */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {

	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;

}


body { line-height: 1.5; background: #fff; margin:1.5em 0; }

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

a img { border: none; }

/* Typography */

body {

	font-size: 100%;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;
    color: #262626;

}

strong, em, b, i {

    font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;


}

h1, h2, h3, h4, h5, h6, address {

    font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, sans-serif;

}

a {
	
	text-decoration: none;
	
}

p {

	margin: 0 0 1.5em;

}


/* DIV */

div#header {
	
	padding: 2px 0px 0px 0px;
	position: fixed;
	top: 0px;
	height: 82px;
	background: #333;
	width: 100%;
	z-index: 100;
	opacity: 0.8;
	
}

div#header a {
	
	color: #eee;
	
}

div#global_buttons {
	
	padding-right: 10px;
	float: right;
	
}

div#header div#identifier {
	
	clear:both;
	
}

div#canvas_content {
	
	background: none;
	
}

div#header h1 {
	
	letter-spacing: 2px;
	float: left;
	margin-left: 10px;
	color: #777;
		
}

span#header_desc {
	
	color: #777;
	font-size: .8em;
	float: right;
	margin-right: 10px;

}

img#loader {
	
	width: 32px;
	height: 32px;
	float: right;
	display: none;
	
}

div#canvas {
	
	/* needs to be reset with each new panel */
	/* width: 400px; */
	margin: 94px 10px 30px 10px;
	padding: 0px 20px;
	background: white;
	
}

div#panels {
	
	width: 0px;
	margin-left: auto;
	margin-right: auto;
	
}

div.panel {
	
	width: 500px;
	float: left;
	overflow: auto;
	padding: 10px;
	
}

div.last_update:before {
	
	content: "Last update: ";
}

div.last_update {
	
	color: #aaa;
	font-style: italic;
	padding: 10px;
	display: none;
	
}

div.tweet {

	margin: 4px;
	padding: 6px;
	display: none;
	
	
}


div.tweet_top {
	
}

div.tweet_bottom {
	
}

div.tweet_right {
	
}

div.tweet_left {
	
}

div.the_tweet {
	
	background: #e8e8e8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	
}

div.the_tweet:hover, div.selected_tweet div.the_tweet {
	
	background: #cfcfdf;
	
}

div.favorite_tweet .the_tweet {
	
	background: #faa;
	
}

div.tweet_buttons {
	
	width: 65px;
	float: right;
	margin-top: 1.25em;
	
}

div.reply_icon,div.favorite_icon,div.retweet_icon {
	
	color: #aaa;
	font-size: .8em;
	font-style: italic;
	cursor: pointer;
	margin-top: 1.5em;
	display: inline;
	
}

div.reply_icon img,div.favorite_icon img,div.retweet_icon img {
	width: 20px;
	height: 20px;
}



div.tweet a.user_name {
	
	font-weight: bold;
	color: #0084B4;
	text-decoration: none;
	
}

div.the_tweet {
	
	float: left;
	padding: 10px 15px 15px 15px;
	width: 390px;
	margin-bottom: 12px;
	
}

span.tweet_text {
	
	display: block;
	
}

span.tweet_meta {
	
	margin-top: 1.75em;
	color: #808080;
	font-style: italic;
	font-size: .75em;
	float: left;
	
}

span.tweet_meta a {
	
	color: #808080;
	
}

div.tweet img.avatar {
	
	width: 48px;
	height: 48px;
	
}

div.avatar_container {
	
	display: table-cell;
	vertical-align: middle;
	float: left;
	width: 55px;
	height: 100%;
	
}

span.dm_notify_box {
	
	font-size: .8em;
	font-style: italic;
	display: block;
	
}

div.twitter_inputs {
	
	margin-bottom: 10px;
	
}

textarea.tweet_input {
	
	width: 100%;
	font-size: 1.2em;
	
}

.add_hashtag {
  
  display: none;
  
}

input.tweet_submit, input.url_shortener_submit {
	
	float: right;
	width: 160px;
	margin-top: 4px;
	
}



/* nav */

div.more_tweets {
	
	cursor: pointer;
	
}

div#header_nav_buttons {
	
	display: none;
	
}

div.tweet_type_button,div#header_nav_buttons div.nav_button {
	
	background: #f3f3f3;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #aaa;
	padding: 4px 15px;
	float: left;
	cursor: pointer;
	overflow: hidden;
	color: #777;
	margin-left: -1px;
	margin-right: -1px;

}

div.tweet_type_button:hover, div#header_nav_buttons div.nav_button:hover {

	background: #ccc;

}

div.button_highlighted {
	
	color: #000;
	border: 1px solid #aaa;
	border-bottom: 1px solid #fff;
	width: auto;
	background: #fff;
	margin-left: 1px;
	margin-right: 1px;	
	
}

div#header_nav_buttons div.button_highlighted {
	
	background: #fff;
	border-bottom: 2px solid #fff;
	
}

div.button_highlighted:hover {

	background: #fff;

}

div.panel div.nav_button {
	
	padding-right: 2px;
	width: 100%;
	background: #88c;
	text-align: right;
	margin-bottom: 4px;
	
}

img.close_panel {
	
	width: 20px;
	height: 20px;
	margin-left: 4px;
	vertical-align: middle;
	cursor: pointer;
}

img.ui_icon, img#new_panel_button, img#logout_button, img#refresh_button, img#search_panel_button, img#settings_panel_button, img#add_account_button, img#load_state_button, img#save_state_button, img#add_filtered_panel_button {
	
	width: 32px;
	height: 32px;
	cursor: pointer;
	vertical-align: middle;
	
}

div#nav_buttons {
	
	width: 400px;
	
}

div#nav_buttons_wrapper {
	
	margin-bottom: 10px;
	
}


div#login_form, div#settings_form, div#save_state_form, div#search_form {
	
	display: none;
	line-height: 1.4em;
	padding: 20px;
	border: 1px solid #aaa;
	margin-bottom: 10px;
	text-align: center;
	background: white;
	position:fixed;
	z-index: 101;
	
}

div#login_form {
  
  text-align: left;
  
}

div#login_form,div#search_form {
	
	width: 400px;
	
}

div#login_form a {
  
  text-decoration: none;
  
}

div#settings_form {
	
	width: 600px;
	
}

div#save_state_form {
  
  width: 400px;
  
}


#account_type {
	
	
}

input#openid_identifier {
    border: 1px solid #666;
    width: 232px;
    background: url('/images/openid-bg.png') no-repeat;
    background-position: 4px 4px;
    padding: 4px 4px 4px 24px;
    font-size: 14px;
}

input#login_button {
	
	width: 200px;
	height: 30px;
	margin-top: 12px;
	
}

div#login_form label {
	
	width: 6em;
	display: block;
	float: left;
	
}

div#settings_form label {
	
	width: 10em;
	display: block;
	float: left;
	margin-bottom: 10px;
	
}

div#login_form form#old_login_form input[type="text"], div#login_form input[type="password"]  {
	
	width: 200px;
	
}

form#old_login_form {
  
  margin-top: 10px;
  
}

div.direct_options a {
	
	display: block;
	width: 190px;
	padding: 4px;
	background: #ccc;
	float: left;
	margin-right: 10px;
	text-align: center;
	color: black;
	
}

div.direct_options {
	
	width: 416px;
	margin: 10px auto;
	
}

br.clear_both {
	
	clear: both;
	
}


/* About */

div#about li {
	
	padding-bottom: 6px;
	
}

div#about ul li p {
	
	line-height: 1.4em;
	
}

div#about h2 {
	
	text-align: center;
	
}

h2.start_using a {
	
	color: red;
	
}

img.button_sample {
	
	height: 48px;
	width: 48px;
	vertical-align: middle;
	margin-right: 10px;
	
}

/* Notify window */

#notify_overlay {
	
	background: black;
	width: 100%;
	height: 500px;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 90;
	
}

#notify_window {
	
	position: absolute;
	background-color: white;
	border: 1px solid #aaa;
	width: 380px;
	padding: 10px;
	display: none;
	top: 10px;
	left: 10px;
	z-index: 100;
	
}

img#notify_close_button, img#alert_close_button {
	
	float: right;
	width: 20px;
	height: 20px;
	margin-left: 4px;
	vertical-align: middle;
	cursor: pointer;
}


/* for displaying a user */

#notify_window img.avatar {
	
	vertical-align: middle;
	padding: 6px;
	float: left;
	
}

#notify_window span.user_name {
	
	font-weight: bold;
	display: block;
	color: #0084B4;
	margin-bottom: 10px;
	
}

div.user_stats {
	
	clear: both;
	
}

#notify_window div.user_stats label {
	
	font-weight: bold;
	padding-right: 6px;
	
}

#notify_window div.user_tweets ul {
	
	padding-left: 20px;
	
}

#notify_window div.user_tweets ul li {
	
	padding-bottom: 10px;
	
}



/* footer */

div#footer {
	
	display: none;
	background: white;
	font-size: .8em;
	width: 400px;
	padding: 6px;
	margin: 16px auto;
	text-align: center;
	font-weight: bold;
	
}


div#html_canvas {
  
  margin: 50px;
  
}

div#html_canvas ul {
  
  padding-left: 20px;
  
}

div.startup_box {
  
  width: 80%;
  margin: 40px auto;
  border: 1px solid black;
  padding: 30px;
  
}

div.startup_box img {
  
  width: 32px;
  height: 32px;
  vertical-align: middle;
  
}

span.small_label {
  
  font-weight: bold;
  font-size: .8em;
  
}

div#flash_message {
  z-index: 1000;
  width: 50%;
  padding: 10px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.8;
  color: white;
  background: red;
}

div.login_hr {
  
  width: 70%;
  height: 3px;
  background: #999;
  margin: 10px auto;
  
}

div.url_shortener_container {
  
  display: none;
  
}

div#filter_edit_form {
  margin: 10px 0px;
}

input.edit_filter {
  width: 100%;
}

textarea#users_filter, textarea#content_filter {
  
  width: 370px;
  height: 120px;
  
}

input#filtered_panel_name {
  
}

span.filter_message {
  display: block;
  font-size: .9em;
  width: 80%;
  margin: 10px auto;
  background: #e8e8e8;
  padding: 6px;
}
