/* 
	GeeksNeverSleep global CSS by Tieson Trowbridge @ http://geeksneversleep.com/
*/
@media all {
	* { margin: 0; padding: 0; }
	html, body { font: 13px/20px "Helvetica Neue", Helvetica, sans-serif; color: #333; background: #fffbff; }
	img { border: none; }
	a, .note { color: #06f; text-decoration: none; }
	a:hover { color: #f40; }
	caption { margin: 5px 0; text-align: left; color: #06f; }	
	table { border: 1px solid #4D86AC; border-collapse: collapse; width: 100%; margin: 15px 0; color: #134875; }
	th, td { border: 1px solid #4D86AC; padding: 10px; }
	th { background: #4D86AC; color: #fffbff; text-align: left; }
	th.primary_key { background: #134875; }
	th.foreign_key { background: #99B9CF; }
	blockquote { margin: 15px; padding: 15px 25px; background: #e8e8e8; border: dotted 2px #ccc; }
	dl { margin: 15px 0; }
	dt { color: #334D80; font-weight: bold; }
	dd { padding-left: 25px; margin: 10px 0; }
	code, samp, kbd, var { color: #334D80; font-family: Consolas, "Courier New", "Andale Mono", Courier, monospace; }
	samp { display: block; border: dashed 2px #ccc; background: #e8e8e8 none; padding: 15px; }
	ol, ul { margin-left: 20px; }	
	label { display: block; margin: 5px 0 0; color: #666; }
	button, .button { padding: 2px 5px; }
	fieldset p { margin: 25px; }
	fieldset legend { padding: 0 5px; margin: 0 10px; }
	.wrapper { width: 925px; margin: 0 auto 35px; padding: 25px; background: #fffbff; }
	#top { top: 0; left: 0; padding: 15px 35px; clear: both; background: #111; }
	#header { margin: 0; padding: 0; }	
	#search { margin-bottom: 15px; width: 225px; float: right; }	
	#search h4 { color: #06f; }
	div#menu { display: block; clear: both; height: 55px; }
	ul#nav { max-width: 1110px; padding: 0 5px; margin: 0 auto; }
	ul#nav li { list-style-type: none; float: left; padding: 0; margin: 0; margin-right: 3px; text-align: center; }
	ul#nav a { float: left; width: 7em; padding: 5px 0; background: #9bc744; text-decoration: none; color: #fffbff; }
	/*ul#nav li.activelink a, ul#nav li.activelink a:hover { background: #69f; color: #fffbff; }*/
	li.activelink a, li.activelink a:hover { font-weight: bold; }
	ul#nav a:hover { background: #334D80; color: #fffbff; }
	.archivelink { background: #e8e8e8;}
	#logo, #logo a { font-family: "Segoe Script", "Lucida Handwriting", "Apple Chancery", "URW Chancery", cursive; color: #f40; }
	#logo { margin: 0; font-size: 3.25em; }
	#breadcrumbs { background: #ccc; padding: 5px 35px; margin:0; clear:both; border-top: #aaa solid 4px; border-bottom: #aaa solid 4px; }
	#breadcrumbs li { display: inline; list-style: none; }
	#breadcrumbs li a { color: #111; background: url('/images/bullet_arrow_right_dark.png') no-repeat left center; padding-left: 20px; }
	#breadcrumbs li a:hover { text-decoration: underline; }
	#breadcrumbs .first { background: none; padding: 0; }
	.paginate a { border: solid 1px #e8e8e8; padding: 2px 4px; margin: 0 2px; }
	.paginate a:hover { background: #666; color: #fffbff; }	
	a.current { background: #334D80; color: #fffbff; }
	.active { font-weight: bold; }
	#menu, .details { list-style: none; }
	#menu ul { margin-left: 20px; }
	#sidebar, #rightbar { margin: 15px 0 35px 65px; float: left; display: inline; width: 225px; }
	#sidebar h4 { font-size: 1em; }
	#sidebar h4 img { vertical-align: middle; height:1em; width:1em; }
	#rightbar p { margin: 5px 0; }
	.formbox { border: solid 2px #999; padding: 25px; }
	.nav-box { margin: 5px; margin-bottom: 25px; color: #ccc; }
	.nav-box li { margin: 2px 0; list-style: square inside; }
	.nav-box li ul { margin:0; padding: 0; margin-left: 20px; }
	.nav-box ul li { list-style: square inside; }
	.nav-box li:hover { color: #111; }
	.nav-box ul li:hover { color: #9bc744; }
	.ad-box, .details { margin: 5px 0 25px; }
	.ad-box td { padding: 3px; border: solid 1px #e8e8e8; }
	.ad-box td div { display:block; height: 125px; width: 125px; margin:2px; overflow:hidden; }
	.ad-box tfoot { font-size:9px; }
	#content { margin: 15px 25px 55px; width: 565px; float:left; }
	#content h2 { margin-bottom: 15px; }
	#content h3 { margin-top: 15px; margin-bottom: 15px; }
	#content p { padding-top: 5px; padding-bottom: 5px; }
	#meta, #quote { font-style: italic; }
	#quote { font-size: 11px; margin-bottom: 25px; }
	#quote p { margin: 5px; }
	#quote p strong { font-size: 10px; }
	.pageheader { border: dashed 1px #999; margin: 0 0 15px; }
	.pageheader h2 { 
		background: url('/images/my-blog.png') no-repeat left center; color: #409900; 
		font-weight: 500; font-family: "Segoe Script", "Lucida Handwriting", "Apple Chancery", "URW Chancery", cursive;
		margin: 15px;
		padding-left: 36px;
	}
	.pageheader h3, .pageheader p { margin: 15px; }
	.section-logo { float:right; margin-left: 10px; }
	.details { }
	.details li { padding-left: 20px; margin: 0 0 5px; }
	.details span { display:block; width: 65px; float: left; color: #444; }
	.permalink { float: right; background: url('/images/star.png') no-repeat left center; }
	.timestamp { background: url('/images/date.png') no-repeat left center; color: #409900; }
	.author { background: url('/images/user_suit.png') no-repeat left center; }
	.tags { background: url('/images/tag_blue.png') no-repeat left center; }
	.entry, .comments { border-bottom: dashed 1px #ccc; padding-bottom: 15px; margin-bottom: 45px; line-height: 1.4; }
	.entry h2 { color: #06f; font: normal 2em/1.15em "Gill Sans", "Gill Sans MT", "Helvetica Neue", "Helvetica", Arial, sans-serif; margin-bottom: 5px; }
	.entry h2.index { font-size: 2.75em; padding-left: 55px; background: url('/images/newest.png') no-repeat 0 center; }
	.entry h4, .entry h5, .entry h6 { margin: 10px 0; }
	.avatar { float: right; }
	.comment-head a { float: right; }
	.comment-list h4 { margin: 5px 0 2px; padding-left: 22px; }
	.comment-list h5 { margin: 0 0 10px; padding-left: 22px; }
	.comment-list li { margin: 15px 0; border-top: dotted 1px #ccc; }
	#footer { display:block; color: #999; margin: 45px 25px 0; font-size: 11px; clear:both; }
	#footer a { color: #999; }
	#footer a:hover { color: #06f; }
	#footer a:hover span { color: #409900; }
	#footer img { vertical-align: middle; }
	.tablehead { background: #999; color: #fffbff; }
	.altrow { background: #e8e8e8; }
	.errorbox, .infobox, .successbox { font-weight: bold; text-align: center; padding: 5px; margin: 2px 0; }
	.messagebox { border: dotted 1px #666; background: #eee; color: #666; padding: 10px 15px; margin: 5px 0; }
	.errorbox { border: dotted 1px #c00; background: #f7cbcA; color: #c00; }
	.infobox { border: dotted 1px #334D80; background: #B3CDFF; color: #334D80; }
	.successbox { border: dotted 1px #506E09; background: #D0EE89; color: #506E09; }
	.buttonbox { margin: 25px 0; padding: 15px; text-align: right; border: solid 1px #ccc; background: #e8e8e8; }
	.radiobox  { margin-top: 10px; border: solid 2px #69f; }
	.radiobox p { margin: 5px 25px; }
	.radiobox label { display:inline; margin-right: 15px; font-weight: bold; }
	.error, .info, .success { font-family: "Century Gothic", "Apple Gothic", "Futura Medium", "Trebuchet MS", sans-serif; padding-left: 22px; }
	.error { color: #c00; background: #fffbff url('/images/exclamation.png') no-repeat left 50%; }
	.info { color: #334D80; background: #fffbff url('/images/information.png') no-repeat left 50%; }
	.success { color: #506E09; background: #fffbff url('/images/tick.png') no-repeat left 50%; }
	.error ul { list-style: none; padding: 15px 0; }
	.downloadbox { border: solid 1px #334D80; color: #334D80; background: #B3CDFF; padding: 15px; margin-right: 25px; }
	.downloadbox a, .download-this a { font-weight: normal; }
	.download-this a { font-size: 1.45em; }
	.download-this { width: 250px; border: solid 2px #aaa; background: #ccc url('/images/download.png') no-repeat 15px center; color: #506E09; padding: 10px; padding-left: 50px; }
	.download-this p { margin: 0; padding: 5px 0; }
	.external-link { padding-right: 15px; background: url('/images/external-link.png') no-repeat right; }
	.legend { color: #334D80; margin-bottom: 5px; }
	.right { float: right; }
	.left { float: left; }
	.hideme { display: none; }	
	.abs h3 { border-bottom: #e8e8e8 solid 1px; margin-bottom: 5px; }
	.abs p { margin: 0; }
	.abs.link { text-decoration: underline; color: #007f0e; }	
	.textbox, .textbox2, .combobox, textarea { margin: 5px 0; }
	.textbox { width: 100%; font-size: 16px; }
	.combobox, .textbox2 { width: 50%; font-size: 16px; }
	.conditions { border: solid 1px #ddd; padding: 15px 25px 10px 35px; margin: 15px 0; }
	.conditions ul { margin-top: 5px; font-style: italic; }
	.conditions li { margin-bottom: 5px; }
	.frame { margin: 15px 0; }
	.frame video, .frame object { border: solid 4px #e2e2e2; padding: 0; margin: 0; }
	.pictureframe { float: right; margin: 15px; border: solid 4px #e2e2e2; padding: 0; }
	.pictureframe img { display: block; border: solid 2px #2b2b2b; }
	#txtComment, #txtProblemData, #txtContentData { height: 200px; width: 100%; }
	#login_form { padding: 5px 15px; width: 225px; }
	#login_form p { margin: 10px 0; }
	#login_error { width: 225px; height: 75px; overflow:auto; }
	#login_form.label { margin-bottom: 5px; }
	#login_error { display:none; }
	#content form div{ position:relative; margin:1em 0; }
	#content form .counter{
		position:absolute;
		right:0;
		top:0;
		font-size: 16px;
		font-weight:bold;
		color:#ccc;
		}
	#content form .warning{ color:#800; }	
	#content form .exceeded{ color:#e00; }

	/* CSS for code snippet styles by Jean-Claude Manoli @ http://www.manoli.net/ */
	.csharpcode { border: solid 1px #888; margin: 10px auto 25px; padding: 10px;}
	.csharpcode, .csharpcode pre { font-size: 12px; color: black; font-family: Consolas, "Andale Mono", "Courier New", Courier, monospace; background-color: #fff; }
	.csharpcode pre { margin: 0; }
	.csharpcode .rem { color: #008000; }
	.csharpcode .kwrd { color: #00f; }
	.csharpcode .str { color: #006080; }
	.csharpcode .op { color: #0000c0; }
	.csharpcode .preproc { color: #c63; }
	.csharpcode .asp { background-color: #ff0; }
	.csharpcode .html { color: #800000; }
	.csharpcode .attr { color: #f00; }
	.csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0; }
	.csharpcode .lnum { color: #606060; }
}

@media screen {
	
	/*	Nifty Corners Cube CSS by Alessandro Fulciniti @ http://www.html.it/articoli/niftycube/index.html
		The following classes are added dynamically by JavaScript, and their use should be avoided in the markup */
	b.niftycorners, b.niftyfill { display: block; }
	b.niftycorners * { display: block; height: 1px; line-height: 1px; font-size: 1px; overflow: hidden; border-style: solid; border-width: 0 1px; }
	/*normal*/
	b.r1 { margin: 0 3px;border-width: 0 2px; }
	b.r2 { margin: 0 2px; }
	b.r3 { margin: 0 1px; }
	b.r4 { height: 2px; }
	b.rb1 { margin: 0 8px;border-width: 0 2px; }
	b.rb2 { margin: 0 6px;border-width: 0 2px; }
	b.rb3 { margin: 0 5px; }
	b.rb4 { margin: 0 4px; }
	b.rb5 { margin: 0 3px; }
	b.rb6 { margin: 0 2px; }
	b.rb7 { margin: 0 1px;height: 2px; }
	b.rb8 { margin: 0;height: 2px; }
	b.rs1 { margin: 0 1px; }
	/*transparent inside*/
	b.t1 { border-width: 0 5px; }
	b.t2 { border-width: 0 3px; }
	b.t3 { border-width: 0 2px; }
	b.t4 { height: 2px; }
	b.tb1 { border-width: 0 10px; }
	b.tb2 { border-width: 0 8px; }
	b.tb3 { border-width: 0 6px; }
	b.tb4 { border-width: 0 5px; }
	b.tb5 { border-width: 0 4px; }
	b.tb6 { border-width: 0 3px; }
	b.tb7 { border-width: 0 2px;height: 2px; }
	b.tb8 { border-width: 0 1px;height: 2px; }
	b.ts1 { border-width: 0 2px; }

	/* CSS for code snippet styles by Jean-Claude Manoli @ http://www.manoli.net/ */
	.csharpcode { max-height: 825px; overflow: auto; }
}
