@import url("reset.css");
@import url("layout.css");



body {
	font: 0.8125em Georgia, Serif;
	color: #333;
	line-height: 1;
}
strong {
	font-weight: bold;
}
a {
	color: #36a;
	text-decoration: none;
}
a:hover,
a:active {
	text-decoration: underline;
}
a:visited {
	color: #47b;
}

div#wrap {
	font-size: 100%;
}

div#header {
	padding: 0.5em 1em;

	background: #fff url('../img/fold.png') repeat-x bottom;
	border-bottom: 1px solid #e4e4e4;
	position: relative;
}
div#header a.logo {
	display: block;
	width: 176px;
	margin: 0.3em auto;
}

div#header a {
	color: #333;
	text-decoration: none;
}

div#footer {
	border-top: 1px solid #e4e4e4;
	padding: 2em 1.5em; 
	margin-top: 2em;
	color: #999;
}



/* home */
div#homehead {
	padding: 100px 0 50px 0;
	border-bottom: 1px solid #e4e4e4;
}
div#homehead h1 {
	text-align: center;
}


/* tabs -------------------------------------------- */

div.tabs {
	position: absolute;
	left: 1em;
	top: 0;
}
div.tabs a {
	display: block;
	float: left;
	margin-right: 5px;
}
div.tabs a.addfeed {
	text-indent: -1000em;
	width: 91px;
	height: 27px;
	background: #fff url('../img/add-feed-tab.png') no-repeat top;
	opacity: 0.8;
}	
div.tabs a.addfeed:hover {
	opacity: 1;
}
div.tabs a.addfeed.on {
	opacity: 1;
	background-position: bottom;
}



/* logged user -------------------------------------- */

div.user {
	position: absolute;
	top: 0;
	right: 0;
	padding: 5px;
	color: #333;
}

/* mid message */

div.midmessage {
	width: 500px;
	font-size: 1.5em;
	margin:  50px auto;
	line-height: 1.3em;
}
div.midmessage h1 {
	font-size: 1.5em;
	line-height: 1.5em;
	color: #476e47;
}
div.midmessage.centered {
	text-align: center;
	font-size: 150%;
}
/* forms  ------------------------------------------- */
div.form {
	width: 300px;
	margin: 5em auto;
}
div.form div.box {
	border: 1px solid #eee;
	margin-bottom: 1em;
	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	box-shadow: 0 0 20px #aaa;
	-moz-box-shadow: 0 0 20px #aaa;
	-webkit-box-shadow: 0 0 20px #aaa;
}
div.form div.message {
	padding: 10px;
	background: #8b2b39;
	color: #fff;	
}
div.form h1 {
	font-size: 160%;
	padding: 10px;
	background: #efefef;
	margin: 0;
}
form.normal {
	font-size: 120%;
	padding: 20px;
}
form.normal div.input {
	margin: 0 0 1em 0;
}
form.normal div.input label {
	display: block;
	margin-bottom: 0.2em;
	color: #555;
}
form.normal div.input.checkbox label {
	display: inline;
}
form.normal div.input input {
	font-size: 120%;
}
form.normal div.input.checkbox input {
	margin-right: 10px;
}


/* flash messages  ---------------------------------- */

div.flash {
	padding: 10px;
	color: #fff;
	background: #333;
}
div.flash.flash_success {
	background: #476e47;
}
div.flash.flash_failure {
	background: #df2846;
}

/* panel  ------------------------------------------- */

div.panel {
	padding: 50px;
	background: #444;
	color: #eee;
	line-height: 1.5em;
	font-family: Helvetica, Arial, Sans-serif;
}
div.panel div.status {
	color: #ead921;
}
div.panel form.feedsearch {
	color: #aaa;
}
div.panel form.feedsearch h2 {
	
}	
div.panel form.feedsearch input {
	font-size: 120%;
	width: 80%;
	padding: 0.3em;
	margin-right: 5px;
	font-family: Courier;
}
div.panel form.feedsearch button {
	padding: 6px 7px;
	font-size: 120%;
	background: #fff;
	border: none;
	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

/* error  ------------------------------------------- */
div.error {
	color: #d84434;
	padding: 5px 7px;
}	
div.status {
	margin: 1em 0;
}

/* feed -------------------------------------------- */
div.feed {
	line-height: 1.25em;
}
div.feed a {
	color: #333;
}
div.feed a:visited {
	color: #777;
}
div.feed div.inner {
	padding: 5px;
}

/* feed header */
div.feed div.header {
	border-bottom: 1px solid #e4e4e4;
	padding: 0.5em 0;
}
div.feed div.header h2,
div.feed div.header span.status {
	float: left;
}
div.feed div.header h2 {
	margin-right: 1em;
	font-weight: bold;
	font-size: 110%;
}
div.feed div.header h2 a,
div.feed div.header h2 a:visited {
	color: #333;
}
div.feed div.header span.status {
	font-size: 90%;
	color: #777;
}


div.feed ul.feed-items {
	margin-top: 5px;
}

div.feed ul li {
	margin-bottom: 0.5em;
}

/* today */
div.feed ul.generic li.recent span.meta,
div.feed ul.generic li.recent span.meta a.permalink {
	color: #c33;
}


div.feed div.header {
	cursor: move;
}

/* feed controls */
div.feed div.header div.controls {
	float: right;
}
div.feed div.header div.controls a {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	text-indent: -1000em;
	background-repeat: no-repeat;
	background-position: 0 0;
	margin-left: 2px;
}
div.feed div.header div.controls a:hover {
	background-position: 0 100%;
}
div.feed div.header div.controls a.reload {
	background-image: url('../img/reload-16.png');
}
div.feed div.header div.controls a.settings {
	background-image: url('../img/settings-16.gif');
}

div.feed.loading div.header div.controls a.reload {
	background-image: url('../img/reload-16-ani.gif');
}
div.feed.loading div.header div.controls a.reload:hover {
	background-position: 0 0;
}

/* feed settings */

div.feed div.settings {
	padding: 3px 6px;
	margin-bottom: 5px;
	background: #333;
	color: #fff;
	font-family: arial, sans-serif;
}
div.feed div.settings a.removefeed {
	color: #df2846;
}

/* meta data */
div.feed ul li span.meta {
	font-size: 11px;
}
div.feed ul li span.meta,
div.feed ul li span.meta a.permalink {
	color: #aaa;
	white-space: nowrap;
}
div.feed ul li span.meta a.permalink:hover {
	color: #333;
}


/* itunes link */
span.itunes {
	color: #3891dd;
}


/* feed item with image */
div.feed ul.twitter li {
	position: relative;
	min-height: 3.8em;
}
div.feed ul.twitter li span.img {
	position: absolute;
	left: 0;
	margin-right: 1em;
	width: 48px;
	height: 48px;
	display: block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	text-indent: 1000em;
	/*
	-moz-box-shadow: inset 0 0 3px #555;
	-webkit-box-shadow: inset 0 0 3px #555;
	box-shadow: inset 0 0 3px #555;
	*/
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
div.feed ul.twitter li p.text {
	margin-left: 55px;
	font-size: 90%;
	overflow: hidden;
}

div.feed ul.twitter li p.text strong.username {
	color: #555;
}





/* image feed */

div.feed ul li.image {
	float: left;
	width: 33.3%;
}
div.feed ul li.image a {
	display: block;
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	height: 7em;
	width: 100%;
	text-indent: -1000em;

}


/* lines theme */
div.feed {
	line-height: 1.5em;
}
div.feed ul.generic li,
div.feed ul.twitter li {
	padding-bottom: 0.5em;
	border-bottom: 1px solid #e4e4e4;
}
div.feed ul.twitter li p.text {
	line-height: 1.4em;
}


/* sortable */

div.feed.dragging {
	background: #fff;
	border: 0.5em;
	border: 3px solid #b3e3fa;
	
	z-index: 100;
	
	height: 10em !important;
	overflow: hidden;
	
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	
	-moz-box-shadow: 0 0 2em #aaa;
	-webkit-box-shadow: 0 0 2em #aaa;
	box-shadow: 0 0 2em #aaa;
	
}
div.feed.ui-sortable-placeholder {
	height: 10em !important;
	visibility: visible !important;
	
	border: 2px dotted #b3e3fa;
}

/* black theme */
/*
body {
	background: #151515;
	color: #eee;
}
a {
	color: #aaa;
}
a:hover {
	color: #def;
}
*/