/*
Theme Name: Stay N' Alive
Theme URI: http://staynalive.com
Description: The theme used on StayNAlive.com
Version: .01
Author: Jesse Stay and Brandon Babb
Author URI: http://staynalive.com/
*/


/* color palette FIXME peinar y revisar todos estos colores */
/*
default text color: #59564f;
text color on inputs: #59564f;
links / headings / top border of sidebar: #0000b8;
visited links: #606077;
borders for inputs/textareas: #adade3;
input button faces: backgrounded by background-blue.png;
block quote / pre text: #616193;
block quote / pre borders: #adade3;
border for the posts: #afadeb;
post metadata / slugs / comment metadata: #999999;
text for comments: #616193;
top border for sidebar and border for navigation controls placed in content: #0000b8;
border for sidebar: #afadeb;
border for sidebar LI buttons: #afadeb;
background for tooltips: #f1f1fb;
*/

/* include utility and advertising styles */
/* this goes above because the @import statement is REQUIRED to be before all other statements */

@import url(fbconnect.css);

/* print layout */
@media print {

	html, body {
		margin: 0px;
		padding: 0px;
		background-color: white;
	}


}

/* screen layout */
@media screen {

	html, body {
		margin: 0px;
		padding: 0px;
		background-image: url(images/bg_top.png);
		background-position: 814px 0px;
		background-repeat: repeat-x;
		background-color: #5e8a9f;
		height: 100%;
		min-height: 100%;
	}

	#hd {
		margin: 0;
		padding: 0;
		clear: both;
	}

	#Header1 {
		height: 79px;
		width: 100%;
		background-image: url(images/header_top_bg.png);
		background-position: top left;
		background-repeat: no-repeat;
		display: block;
		padding: 0;
		margin: -30px 0 0 0;
	}

	hr.clear {
		clear: both;
		height: 1px;
		width: 100%;
		visibility: hidden;
		margin: 0;
		padding: 0;
	}

	#headerimg {
		margin: 0 0 0 165px;
		padding: 0;
		text-align: top;
		height: 79px;
		vertical-align: top;
		display: inline;
		float: left;
	}

	#headerimg h1 {
		margin: 0;
		padding: 0;
	}

	#headerimg img {
		vertical-align: top;
	}

	#headerimg .description {
		margin: -12px 0 0 15px;
		color: #fff;
		font-size: .85em;
		font-weight: lighter;
	}

	#searchbox {
		width: 435px;
		display: inline;
		float: right;
		text-align: right;
		padding: 0;
		margin: 5px 0 0;
		clear: right;
	}

	/* lijit css */

	#lwp_main {
		margin: 10px 20px 0 0;
	}

	#lwp_f {
		display: none;
	}

	#lwp_ps div {
		display: none;
	}

	#lwp_ps div#lwp_cloud {
		display: block !important;
		margin: 2px 0 0 0;
	}

	#lwp_cloud h3 {
		display: none;
	}

	#lwp_cloud a:active, #lwp_cloud a:visited, #lwp_cloud a:hover, #lwp_cloud a:link {
		color: #9cbdcc;
	}

	#lwp_sbf { height: 19px; }
	#lwp_sbf div {
		vertical-align: bottom;
		padding: 0;
		margin: 0;
		display: block;
		clear: both;
	}

	input#lwp_sfd {
		border: 1px solid #fff;
		background: #a19e97;
		height: 15px;
		width: 300px;
		display: inline;
		padding: 0;
		margin: 0;
	}

	input#lwp_2_searchbutton {
		background:transparent url(images/button_bg_search.png) no-repeat;
		height: 19px;
		width: 60px;
		color: #fff;
		margin: 0;
		padding: 0;
		display: inline;
		text-transform: capitalize;
	}

	#Header2 {
		width: 100%;
		height: 31px;
		background-image: url(images/tab_bg_row.png);
		background-position: top left;
		background-repeat: no-repeat;
		display: block;
		margin: 0;
		padding: 0;
		clear: both;
	}

	#tabs {
		margin: 0 0 0 168px;
		height: 31px;
		display: block;
	}	

	#tabs li {
		width: 103px;
		height: 31px;
		text-align: center;
		padding: 0 0 0 0;
		margin: 0 0 0 3px;
		background-image: url(images/tab_bg_inactive.png);
		background-position: top left;
		background-repeat: no-repeat;
		list-style-type: none;
		float: left;
		display: inline;
	}

	#tabs li.active {
		width: 129px;
		background-image: url(images/tab_bg.png);
		padding: auto;
		margin: 0 2px 0 0;
		vertical-align: middle;
	}

	#tabs li.active h2 {
		margin: 5px 0 0 0;
		font-size: 1.4em;
	}

	#tabs li h2 {
		margin: 12px 0 0 0;
		padding: 0;
		font-size: 1.0em;
	}

	#tabs a:active, #tabs a:link, #tabs a:hover, #tabs a:visited {
		text-decoration: none;
		color: #59564f;
	}

	#custom-doc {
		height: 100%;
		min-height: 100%;
		margin: 29px 0 0;
		padding: 0;
		clear: both;
	}

	#bd {
		height: 100%;
		min-height: 100%;
		margin: 0;
		padding: 0;
		clear: both;
	}

	#yui-main {
		height: 100%;
		min-height: 100%;
		margin: 0;
		padding: 0;
		clear: both;
	}

	.yui-t4 #yui-main, .yui-t5 #yui-main, .yui-t6 #yui-main {
		float:left;
		margin-right:-435px;
	}

	#yui-main .yui-b {
		height: 100%;
		min-height: 100%;
		clear: both;
	}

	.yui-b {
		height: 100%;
		margin: 0;
		padding: 0;
	}

	.yui-t6 #yui-main .yui-b {
		margin-right: 435px;
		padding: 0;
	}

	.yui-g {
		background-image: url(images/content_right.png) !important;
		background-position: top right;
		background-repeat: repeat-y;
		width: 100%;
		background-color: #fff !important;
		display: block;
		margin: 0;
		padding: 0;
		clear: both;
	}

	#posts {
		margin: 20px 50px -100px 20px;
		height: 100%;
		min-height: 100%;
		clear: both;
		display: block;
	}

	#posts_left {
		float: left;
		margin-right: 390px;
		display: inline;
	}
	
	#posts_right {
		float: left;
		text-align: right;
		margin-left: -390px;
		width: 390px;
		display: inline;
	}

	.post {
		margin: 0 0 0 20px;
		width: 90%;
		clear: both;
		display: block;
	}

	.post img, .post object {
		margin: 10px;
	}

	.post div,.post p {
		margin: 15px 0;
	}

	.postmetadata div,.postmetadata p {
		clear: both;
	}

	.post strong {
		font-weight: bold;
	}

	.post blockquote {
		margin: 20px 50px;
		background-color: #c8d7dd;
	}

	.post blockquote em {
		font-weight: bold;
	}

	.post em {
		font-style: italic;
	}

	.post .caption {
		font-size: .8em;
	}

	.content-top {
		clear: both;
		display: block;
		height: 70px;
		width: 100%;
		background-image: url(images/content_right.png) !important;
		background-position: top right;
		background-repeat: repeat-y;
		background-color: #fff;
		text-align: right;
		margin: 0 0 30px 0;
	}
	
	.content-top p {
		float: right;
		width: 100%;
		text-align: right;
		margin: 5px 0;
	}

	.content-top p * {
		margin: 0 70px 0 0;
	}

	#logo_bubble_bottom {
		background-image: url(images/logo_bubble_bottom.png);
		background-position: top left;
		background-repeat: no-repeat;
		display: inline;
		float: left;
		margin: 0;
		padding: 0;
		width: 605px;
		height: 70px;
		text-align: left;
	}
	
	#whitespace {
		height: 0;
		float: left;
		text-align: right;
	}

	#top_buttons {
		float: right;
		text-align: left;
		padding: 0;
		height: 70px;
		width: 370px;
		margin: 0;
		background-image: url(images/content_upper_right.png);
		background-position: top right;
		background-repeat: no-repeat;
	}

	#top_buttons #subscribe_buttons {
		height: 70px;
		width: 310px;
		margin: 10px 20px 0 0;
	}

	#top_buttons img {
		padding: auto 0 auto 0;
		display: inline;
		margin: 15px 5px 0 0;
		float: right;
	}

	.button {
		margin: 0 5px 5px 0;
		padding: 0;
		width: 40px;
		height: 40px;
		display: block;
		float: left;
	}

	#subscribe_link {
		margin: auto 5px auto 0;
		padding: 0;
		display: block;
		float: left;
	}

	#subscribe_button {
		background: url(images/button_rss.png);
	}

	.button span {
		visibility: hidden;
		margin: 0;
		padding: 0;
		display: block;
	}

	#email_subscribe {
		background: url(images/button_email.png);
	}

	#twitter_subscribe {
		background: url(images/button_twitter.png);
	}

	#facebook_subscribe {
		background: url(images/button_facebook.png);
	}

	#page { /*where the background image is placed*/
	}
	
	#footer {
		text-align: center;
		display: block;
		clear: both;
		width: 100%;
		margin: 120px 0 0;
		padding: 0;
		height: 50px;
	}

	#sidebar {
		width: 435px;
		margin: 0;
		padding: 0;
		float: right;
	}

	#pageprintoutinfo {
		display: none;
	}

	#top_links {
		float: right;
		width: 100%;
		display: block;
		text-align: right;
		margin: 0;
		padding: 0;
		vertical-align: bottom;
	}

	.HTML {
		width: 100%;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	#sidebar_ads2 {
		width: 100%;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	.sb-blank-top {
		width: 100%;
		height: 13px;
		background-color: #88cce0;
		background-image: url(images/sidebar_ul.png);
		background-position: top left;
		background-repeat: no-repeat;
		margin: 0;
		padding: 0;
	}

	.sb-content {
		margin: 0 0 0 17px;
		clear:both;
		display:block;
	}

	.sb-content hr {
		color: #fff;
		background-color: #fff;
	}

	.sb-blank-bottom {
		width: 100%;
		height: 16px;
		background-color: #88cce0;
		background-image: url(images/sidebar_bottom.png);
		background-position: top left;
		background-repeat: repeat-x;
	}

	.sb-bl {
		width: 14px;
		height: 16px;
		background-image: url(images/sidebar_bl.png);
		background-position: top left;
		background-repeat: no-repeat;
		float: left;
		display: inline;
		text-align: left;
	}

	.square_ad {
		width: 115px;
		height: 115px;
		display: inline;
		float: left;
		margin: 5px;
		padding: 0;
		border: 1px solid #fff;
	}

	#ads_wrapper {
		height: 100%;
		width: 100%;
		clear: both;
		display: block;
	}

	#sidebar_about_preexpand {
		width: 435px;
		display: block;
		height: 43px;
		margin: 0;
		padding: 0;
		background-image: url(images/about_preexpand.png);
		background-position: top left;
		background-repeat: no-repeat;
	}

	#sidebar_about_postexpand {
		width: 435px;
		display: none;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	#about {
		height: 43px;
		margin: 0;
		padding: 0;
		background-image: url(images/about_postexpand.png);
		background-position: top left;
		background-repeat: no-repeat;
		cursor: pointer;
	}

	#sidebar_about_postexpand .sb-content {
		margin: 0 0 15px 52px;
		font-weight: lighter;
	}

	.sb-content, .sb-content a:link, .sb-content a:visited, .sb-content a:active, .sb-content a:hover {
		color: #fff;
	}

	#contact, #contact a:link, #contact a:visited, #contact a:hover, #contact a:active {
		margin: 0 20px 0 0;
		text-align: right;
		float: right;
		color: #fff;
		font-weight: normal;
		font-size: .85em;
		display: inline;
		position: relative;
		clear: right;
	}

	#contact a:link, #contact a:visited, #contact a:hover, #contact a:active {
		display: inline;
		text-decoration: underline;
		position: relative;
		float: none;
		margin: 0;
		font-size: 1em;
	}

	#sidebar_about_postexpand h3 {
		margin: 10px 0 0 0;
	}

	#sidebar_about_postexpand p {
		margin: 0 10px 0 15px;
	}

	#sidebar_about_postexpand img {
		margin: 0 10px 10px;
	}

	#sidebar_services {
		width: 435px;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	#services {
		margin: 0;
		padding: 0;
		height: 43px;
		margin: 0;
		padding: 0;
		background-image: url(images/services_header.png);
		background-position: top left;
		background-repeat: no-repeat;
	}

	#sidebar_services p {
		margin: 0 100px 15px 0;
		font-size: 1.5em;
		color: #59564f;
	}

	#sidebar_services a:link, #sidebar_services a:visited, #sidebar_services a:active, #sidebar_services a:hover {
		color: #59564f;
	}

	#sidebar_services span {
		width: 50%;
		float: right;
		margin: 0;
		padding: 0;
		text-align: right;
	}

	#sidebar_community {
		width: 435px;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	#community {
		margin: 20px 0 0 0;
		padding: 0;
		height: 43px;
		margin: 0;
		padding: 0;
		background-image: url(images/community_header.png);
		background-position: top left;
		background-repeat: no-repeat;
	}

	#sidebar_content {
		width: 435px;
		margin: 0;
		padding: 0;
		background-image: url(images/sidebar_left.png);
		background-position: top left;
		background-repeat: repeat-y;
		background-color: #88cce0;
		float: right;
	}

	#content {
		margin: 20px 0 0 0;
		padding: 0;
		height: 43px;
		margin: 0;
		padding: 0;
		background-image: url(images/content_header.png);
		background-position: top left;
		background-repeat: no-repeat;
	}

	ul.ful-col {
		width: 100%;
		margin: 0 0 0 0;
		display: block;
		clear: both;
		padding: 0;
	}

	ul.col {
		display: inline;
		width: 185px;
		float: left;
		margin: 0 0 0 0;
	}

	.widget-outlined {
		border: 1px solid #fff;
		padding: 5px;
		margin: 0 5px 5px 0;
		text-align: left;
		vertical-align: middle;
	}

	#dsq-combo-widget { color: #333; } 
	a:link.dsq-widget-thread, a:active.dsq-widget-thread, a:visited.dsq-widget-thread, a:hover.dsq-widget-thread { color: #5D87A1; }

}

/* typography/colors */

body {
	font-family: helvetica neaue, sans-serif;
	font-size: 80%;
	color: #59564f;
}

a:link, a:active, a:visited, a:hover {
	color: #5d87a1;
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	color: #59564f;
	font-weight: normal;
}

h1 {font-size: 2em}
h2 {font-size: 1.4em}
h3 {font-size: 1.25em}
h4 {font-size: 1.1em}
h5 {font-size: 1em}

/* controls styles */

form {
	margin: 0px;
	padding: 0px;
}

textarea {
	width: 100%;
}

input[type=hidden] {
	border: none;
	background: none;
}

input[type=submit], input[type=button] {
	border: 1px outset #adade3;
	background: url(images/semitransparent-blue.png);
	color: #59564f;
}

input[type=submit]:active, input[type=button]:active {
	border-style: inset;
}


/* inline styles */

q { quotes: "«" "»" "‹" "›"; font-style: italic; }
abbr, acronym { border-bottom: 1px dashed #111145; }
/*code { font-size: 125%; background: url(images/semitransparent-blue-light.png); margin: 20px; padding: 10px; }*/

/* block styles */

.pagetitle { /* the page title for pages like archives and search results */
	text-align: center;
	font-size: 2em;
}
	
hr {
	height: 1px;
	background-color: #adade3;
	border: none;
}

blockquote {
	color: #5a5853;
	margin: 0px;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
	padding-bottom: 1em;
	background: url(images/semitransparent-blue-light.png);
	border: 1px dashed #adade3;
	-moz-border-radius: 2mm;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
	font-style: italic;
}

/* for the automated quotation linker  */
.blockquotesource { text-align: right; }

pre {
	color: #616193;
	margin: 0px;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
	padding-bottom: 1em;
	background: url(images/semitransparent-blue-light.png);
	border: 1px dashed #adade3;
	-moz-border-radius: 2mm;
	margin-top: 0.4em;
	margin-bottom: 0.4em;
	overflow: auto;
	font-size: 125%;
}

blockquote .intermediary-container  {
	min-height: 40px;
}

pre .intermediary-container {
	min-height: 32px;
}

/* ensure contained elements in blockquotes obey the blockquote's margins */
blockquote > *:first-child, blockquote .intermediary-container > *:first-child {
	margin-top: 0px;
	padding-top: 0px;
}

blockquote > *:last-child, blockquote .intermediary-container > *:last-child {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.center { text-align: center; } /* FIXME find out what this is for */

ul { padding-left: 1em; }
ol { padding-left: 1.4em; }
ol li {
	list-style-type: decimal;
	margin: 10px 0 5px 10px;
}
ul li { 
	list-style-type: disc;
	margin: 10px 0 5px 10px;
}

/* post styles */

.post {
	margin-bottom: 3em;
}

.post .storytitle {
	margin-top: 0px;
	margin-bottom: 0px;
}

.postmetadata { /* guess it should be in sync with .commentmetadata */
	color: #999999;
	margin: 0; padding: 0px;
	text-align: left;
	font-size: 1em;
}

.comments-slug { float: left; margin-right: 2em; }
.categories-slug { text-align: right; }
.categories-slug a { white-space: nowrap; }

.entry {
	margin-left: 10px;
}

/* navigation styles */

.navigation {
	display: table;
	width: 100%;
	margin-bottom: 1em;
}
.navigation .next {
	display: table-cell;
	text-align: right;
}
.navigation .previous {
	display: table-cell;
	text-align: left;
}

/* comment styles */

body#commentspopup {
	background: transparent;
	margin: 4px;
}

body#commentspopup #Header1 {
	display: none;
}

body#commentspopup textarea {
	width: 98%; /* work around a IE which shows horz scrollbar on comments popup */
}

.commentmetadata { /* guess it should be in sync with .postmetadata */
	color: #999999;
	font-family: Georgia, Times New Roman, Times, serif;
	font-style: italic;
	margin: 0px; padding: 0px;
	text-align: right;
	font-size: 1em;
	margin-top: 0.7em;
}

.commentlist {
	padding-left: 5mm;
}

.commentlist>li {
	background-position: right top;
	background-repeat: no-repeat;
	color: #616193;
	margin: 0;
	padding-left: 1em;
	padding-right: 1em;
	padding-top: 1em;
	padding-bottom: 1em;
	overflow: hidden;
	background: url(images/semitransparent.png);
	border: 1px outset #adade3;
	margin-bottom: 1px;
	display: block;
}

.commentlist>li.alt {
	background: url(images/semitransparent-blue-light.png);
	border: 1px outset #adade3;
}

.commentlist>li.stub {
	display: none;
}


/*********** DIRLIST STYLES **********/

#dirlist td {
vertical-align: top;
}
#dirlist img {
vertical-align: baseline;
border: none;
}

/*********** ENDDIRLIST STYLES **********/


/*********** SIDEBAR STYLES **********/

/********** END SIDEBAR STYLES *************/



/******** SEARCHFORM AND SEARCHPAGE STYLING ********/

.searchform {
	margin-left: auto; margin-right: auto;
	display: table;
	padding-left: 21px;
}

.searchresults .post .storytitle {
	font-size: 1.2em;
}
.searchresults .post {
	/*override to make it take less space in search results */
	margin-bottom: 2em;
}



/* ************* END SEARCHFORM STYLING ************* */




/************** THEMED OVERRIDES FOR PLUGINS *************/

/* gravatar override */
.themed .gravatar {
	float: left;
	margin-right: 0.7em;
	margin-bottom: 0.5em;
	border: 1px inset #adade3;
}


/* canary override */
.themed .loading {
	background: url(../../plugins/CanaryComment/blue_spin.gif);
	background-position: top right;
	background-repeat: no-repeat;
}


/* jp_bct override */
.themed div#bct {
	display: inline;
}


/* fancytooltips overrides */
.themed div.fancytooltip {
	background-color: #f1f1fb;
	-moz-opacity: 1.0;
	-moz-border-radius-bottomright: 0;
	-moz-border-radius-bottomleft: 2mm;
	-moz-border-radius-topright: 2mm;
	font-size: 1em;
}
.themed div.fancytooltip p {
	font-size: 1em;
}
.themed div.fancytooltip p.destination {
	font-size: 0.8em;
}


/* bsuite overrides */
.themed #bstat_pulse {
	height: 130px;
	text-align:center;
	border: 2px solid #afadeb;
	-moz-border-radius: 2mm;
	padding: 1.3em;
	padding-top: 1em;
	padding-bottom: 1em;
	background: url(images/semitransparent.png);
} 
.themed #bstat_pulse img {
	display:inline; vertical-align: middle;
	background: url(images/semitransparent-blue.png); border: none;
	margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px;
	border-top: 1px solid #adade3;
	border-bottom: 1px solid #adade3;
}
.themed .hl0 { background-color: #FFFF99 }
.themed .hl1 { background-color: #FF99FF }
.themed .hl2 { background-color: #99FFFF }
.themed .hl3 { background-color: #FF9999 }
.themed .hl4 { background-color: #9999FF }

/* the style for the div that lists the hightlighted words - this is a nearly identical but more specific copy of the class information with a nice icon */
.themed .bstat_hilite {
	padding: 1em;
	background: url(images/semitransparent-blue-light.png);
	border: 1px dashed #adade3;
	-moz-border-radius: 2mm;
	margin: 1em 0em 1em 0em; background-image: url(images/highlight.png);
	background-repeat: no-repeat; background-position: 1em 1.0em; padding-left: 2.7em;
}
.themed .searchresults .bstat_hilite {
	display: none; /* hide the highlighting box in search results because it does not look good */
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	clear: both;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	float: right;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	float: left;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */

div.login-button {
	margin: 10px 0;
}

#fan_box {
	width: 88px;
	height: 26px;
	float: right;
	margin: 0;
	padding: 0;
	vertical-align: top;
}

/*#___plusone_0 {
	margin: 0;
	padding: 0;
}*/

