/***** Main Template *****/
body {
	color: #333;
	margin: 0;
	padding: 0;
	background: #fff;
}

body, td, th, h3, textarea, input, select { /* redundant rules for bad browsers  */
	font-family: sans-serif;
	font-size:    x-small;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size:    small
} .clear-hack { display: none; }

#container { /* no relative positioning due to IE6 */
	margin: 0 auto;
	padding: 0 20px 3em 20px;
	min-width: 740px;
	max-width: 1000px;
}

#contents {
	width: 72%;
	float: right;
	padding-bottom: 5em;
}
#contents-user {
	width: 72%;
	float: right;
	position: relative;
	clear: both;
}
#contents-wide {
	width: 100%;
	clear: both;
	margin-top: 0;
	padding-top: 1em; 
}
div#contents-wide {
	position: relative;
	top:-1.8em;
/* only for IE */ *
	top:-2.8em;
}
#image_upload {
	width: 100%;
	float: left;
}

#sidebar {
	width: 25%;
	float: right;
	background: #fff; /* to cover adwords at small sizes */
	padding-bottom: 1em;
	margin-right: 3%;
}

#home #contents, #post #contents {
	width: 71%;
	float: left;
	margin-right: 3%;
	overflow: hidden;
}

#home #sidebar, #post #sidebar {
	width: 26%;
	float: left;
	margin: 0;
} * html #home #sidebar, * html #post #sidebar { width: 25%; }

/***** Common Content Formatting *****/

a {
	color: #06c;
}

a:hover, a:focus {
	color: #003;
}

a:active {
	color: #000;
}

.simple:link, .simple:visited {
	text-decoration: none;
	color: #666;
}

.simple:hover, .simple:active {
	color: #333;
	text-decoration: underline;
}

hr {
	height: 1px;
	background: #ccc;
	border: none;
}

.tight {
	white-space: nowrap;
}

.disabled {
	color: #666;
}

img {
	border: none;
}

p {
	line-height: 130%;
}

li {
	margin-bottom: 1em;
}

form {
	margin: 0;
}

.na {
	color: #999;
	font-weight: normal;
}

h2 {
	margin-top: 0;
	margin-bottom: 0.2em;
	font-size: 160%;
	font-weight: normal;
	clear: left;
	background: url(../img/underline.png) repeat-x 0 95%;
}

h2 span.deemphasize {
        color: #999;
}

h2 + p, h3 + p, h4 + p, h5 + p, div > p, fieldset p {
	margin-top: 0;
}

h2 .user-photo {
	border: 1px solid #ccc;
	float: left;
	margin-right: 5px;
}

h2 span {
	color: #999;
}

h3 {
	margin-top: 0;
	margin-bottom: 0.2em;
	font-size: 140%;
	font-weight: normal;
	clear: left;
	background: url(../img/underline.png) repeat-x 0 95%;
}

h4 {
	font-size: 100%;
	font-weight: bold;
	margin-bottom: 0.2em;
}

.first {
	margin-top: 0;
}

pre, code {
	font-size: 100%;
	color: #666;
	margin: 0;
}

.form-note {
	font-size: 85%;
	color: #666;
	margin-bottom: 0.3em;
	margin-top: 0;
	display: block;
}

.form-divide {
	padding: 0.3em 0;
	border-bottom: 1px solid #ddd;
}

.form-divide span {
	font-size: 85%;
}

.form-divide span img {
	vertical-align: middle;
}

.form-error, .form-error-basic, .error, .warning {
        color: #900;
        font-size: 85%;
        font-weight: bold;
        margin-bottom: 1em;
        background: url(../img/error.gif) no-repeat;
        padding: 2px 0 4px 18px;
}
.error {
	background: url(../img/msg-error.png) no-repeat;
	padding: 8px 0 20px 50px;
	color: #999;
}
.error h3, .warning h3, .positive h3 {
	font-size: 135%;
	color: #900;
	background: none;
	font-weight: bold;
}

.warning, .positive {
	background: url(../img/warning.png) 0 100% no-repeat;
	padding: 0 0 7px 0;
	color: #999;
} * html .warning, * html .positive { height: 35px; }

.warning div, .positive div {
	background: url(../img/warning.png) 0 0 no-repeat;
	padding: 8px 0 0 50px;
	min-height: 35px;
} * html .warning div, * html .positive div { height: 35px; }

.positive {
	color: #448400;
	background-image: url(../img/positive.png);
}

.positive h3 {
	color: #448400;
}

.positive div {
	background-image: url(../img/positive.png);
}

#google {
	margin: 1em 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	height: 90px;
}

#google-broad {
	margin: 0.5em 0 1em 0;
	border: none;
	text-align: center;
}


.note-temp, .boxed {
	background: url(../img/digg-box-3.gif) bottom right;
	margin-top: 1em;
}

.boxed-tabs {
	background: url(../img/digg-box-3.gif) bottom right;
	clear: both;
}

.boxed-tab1 {
	width: 50%;
	float: left;
	background: url(../img/split-tab.gif) 0 0;
}

.boxed-tab2 {
	width: 49.5%;
	float: right;
	background: url(../img/split-tab.gif) 0 0;
}

.boxed-tab1 a, .boxed-tab1 span, .boxed-tab2 a, .boxed-tab2 span {
	background: url(../img/split-tab.gif) 100% 0 !important;
	padding: 4px 1px !important;
	text-align: center;
	display: block;
	font-size: 85%;
}

.boxed-tab1 a, .boxed-tab2 a {
	border-bottom: 1px solid #000066;
}

.note-temp p, .note-temp div {
	padding: 1em 1.2em 0.7em 1.2em;
	margin: 0;
	background: url(../img/digg-box-3.gif) top left;
}

* html #sidebar .note-temp p {
	background-position: 0 1px;
}

.boxed div {
	background: url(../img/digg-box-3.gif) top left;
	padding: 0.5em 1em 0.7em 1em;
}

.boxed-tabs div.boxed-inner {
	border-left: 1px solid #000066;
	padding: 0.5em 1em 0.7em 1em;
}

.confirm {
	background: url(../img/confirm.png) no-repeat 0 50%;
	padding-left: 15px;
	color: #390;
}

.confirm:hover {
	color: #030;
}

h2 .confirm {
	font-size: 50%;
	float: right;
}

.deny {
	background: url(../img/deny.png) no-repeat 0 50%;
	padding-left: 15px;
	color: #c00;
}

.deny:hover {
	color: #900;
}


/***** Header *****/

#header {
	background: #036 url(../img/header-back.png) bottom right;
	height: 47px;
	color: #fff;
	position: relative;
}

#home #header {
	margin-bottom: 0.5em;
	background: #036 url(../img/header-back-home.png) bottom right;
}

#header a {
	color: #fff;
}

#header a:hover {
	color: #D2DCF3;
}

#header ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header li {
	float: right;
	margin: 0;
	padding: 0;
}

#header li a, #header li a:visited, #top-search {
	display: block;
	float: left;
	font-weight: bold;
	padding: 14px 1.5em 0 1.5em;
	background: url(../img/header-menu-back.png) no-repeat 0 -100px;
	height: 27px;
	font-size: 85%;
}


#header #top-search {
	padding-top: 12px;
	height: 29px;
}

#header li a:hover, #header li a:active, #style-switcher a:hover, #style-switcher a:active {
	background-position: 0 0;
}

#header h1 {
	font-size: 100%;
	margin: 0;
}

#header h1 a, #header h1 span {
	display: block;
	height: 47px;
	width: 60px;
	background: url(../img/logo.png) bottom left no-repeat;
	text-indent: -2000em;
	position: absolute;
	bottom: 0;
	left: 0;
	text-decoration: none;
	z-index: 1000; /* need for FX and IE */
}

#home h1 a {
        background: url(../img/logo-home.png) bottom left no-repeat;
}

#header input#top-keywords, #header input#top-username, #header input#top-password {
	margin: 0;
	font-size: 85%;
	opacity: .7;
	width: 85px;
	margin-bottom: 2px;
	color: #145693;
}

#header input#top-keywords:focus, #header input#top-username:focus, #header input#top-password:focus, #header input#top-keywords:hover, #header input#top-username:hover, #header input#top-password:hover {
	opacity: 1;
}

#header #top-login {
	width: auto;
	opacity: 1;
	font-size: 85%;
	float: right;
	margin-top: 3px;
}

label.inside {
	color: #145693;
	position:absolute;
	visibility:hidden;
}

#header form input:focus, #header form input:hover {
	opacity: 1;
	color: #000;
}

#header #search-submit {
	display: none;
}

/* only for IE */ * html #header h1 a, * html #header h1 span {
	bottom: -1px;
}

#header h1 span {
	background: url(../img/logo-home.png) bottom left no-repeat;
}

#nav-string {
	background: #F1E49F url(../img/string-first.png) left bottom no-repeat;
	margin: 0 19px 1.5em 23px;
	font-size: 85%;
	color: #988C39;
	text-transform: lowercase;
	padding-left: 10px;
	z-index: 2000;
}

#nav-string div {
	background: url(../img/string-second.png) right bottom no-repeat;
	padding: 0 10px 5px 0;
}

#nav-string a {
	color: #73681F;
}

#nav-string a:hover {
	color: #524A12;
}

/***** Footer *****/

#footer {
	clear: both;
	padding: 0 0 2em 0;
	font-size: 11px;
	text-align: center;
}

#footer ul {
	border-top: 1px solid #ccc;
	margin: 0;
	padding: 1em 0 0 0;
	list-style: none;
}

#footer li {
	float: left;
	margin: 0;
	padding: 0;
}

#footer li a, #footer li span {
	display: block;
	float: left;
	padding: 5px 1em;
	border-right: 1px solid #ccc;
}

#footer li span.copyright {
	border-right: none;
}

/***** News Articles *****/

.news-summary, .news-short-summary, .news-full, .news-full-confirm {
	padding: 0.5em 0 2.5em 0;
	position: relative;
	clear: left;
}

.news-short-summary {
	border-bottom-color: #eee;
	padding-bottom: 2.5em;
	padding-top: 0.5em;
}

.news-full, .news-full-confirm {
	padding: 1px 0 2em 0; /* need 1px top padding for IE */
}

.news-body {
	padding-left: 4.6em;
}

.news-full-confirm .news-body {
	padding-left: 0;
}

.news-short-summary .news-body {
	padding-left: 3.8em;
}

.news-body strong {
	font-size: 45%;
	color: #666;
}


.news-short-summary .news-digg {
	top: 0.4em;
	width: 3.7em;
}

.news-full .news-digg {
	top: 0;
	left: 0;
}

.news-digg li {
	border: 1px solid #fff; /* fixes IE margin bug */
	margin: 0;
	padding: 0;
}

.shade-1 { background: #FFF299 url(../img/digg-box-1-shade-1.png); }
.shade-1 a { background: url(../img/digg-box-1-shade-1.png) bottom right; color: #93883F; }
.shade-1 strong { color: #A39A5D; }

.shade-2 { background: #FFF299 url(../img/digg-box-1-shade-2.png); }
.shade-2 a { background: url(../img/digg-box-1-shade-2.png) bottom right; color: #93883F; }
.shade-2 strong { color: #998D43; }

.shade-3 { background: #FFF299 url(../img/digg-box-1-shade-3.png); }
.shade-3 a { background: url(../img/digg-box-1-shade-3.png) bottom right; color: #93883F; }
.shade-3 strong { color: #897D2F; }

.shade-4 { background: #FFF299 url(../img/digg-box-1-shade-4.png); }
.shade-4 a { background: url(../img/digg-box-1-shade-4.png) bottom right; color: #93883F; }
.shade-4 strong { color: #73681F; }

.shade-5 { background: #FFF299 url(../img/digg-box-1-shade-5.png); }
.shade-5 a { background: url(../img/digg-box-1-shade-5.png) bottom right; color: #93883F; }
.shade-5 strong { color: #50470D; }

* html .shade-1, * html .shade-2, * html .shade-3, * html .shade-4, * html .shade-5, * html .shade6 { background-position: 1px 1px; }

.shade-1 strong, .shade-2 strong, .shade-3 strong, .shade-4 strong, .shade-5 strong {
	display: block;
}

.digg-count a , .digg-count-s a {
	display: block;
	padding: 0.5em 0;
	text-decoration: none;
	margin-bottom: 0;
}

.digg-count a:hover, .digg-count-s a:hover{
	color: #3C3508;
}

.news-summary .digg-count strong, .news-full .digg-count strong, .news-summary .digg-count-s strong, .news-full .digg-count-s strong {
	font-size: 190%;
	font-weight: normal;
	letter-spacing: -1px;
}

.news-short-summary .digg-count strong {
	font-size: 100%;
	font-weight: bold;
}

.news-short-summary .digg-count-s strong {
	font-size: 100%;
	font-weight: bold;
}

#spy-table .digg-count strong, #spy-table .digg-count a {
	font-size: 110%;
	letter-spacing: 0;
	padding: 0;
	font-weight: bold;
}

#spy-table .digg-count {
	width: 3.5em;
}

.digg-count img,  .digg-count-s img {
	position: absolute;
	top: 0;
	left: 0;
	border: none;
}

.digg-it {
	background: url(../img/digg-box-2.png) 0 0;
}
 /* only for IE */ * html .digg-it {
	background: url(../img/digg-box-2.png) 1px 1px;
}

.digg-it a, .digg-it span {
	display: block;
	padding: 5px 0 7px 0;
	background: url(../img/digg-box-2.png) bottom right;
}

.digg-it span {
	color: #999;
}

.news-short-summary .digg-it a, .news-short-summary .digg-it span {
	padding: 3px 0 5px 0;
}

.news-body h3 {
	margin: 2px 0 0 0;
	font-size: 135%;
	font-weight: normal;
	background: none;
}

.news-short-summary .news-body h3 {
	font-size: 80%;
	font-weight: bold;
	margin-bottom: 2px;
	background: none;
}

.news-body p {
	margin: 0.3em 0 0.1em 0;
}

.news-full .news-body p {
	margin: 0.3em 0 1em 0;
}

.news-summary .news-body .read-more {
	font-size: 65%;
	font-weight: bold;
}
.news-short-summary .news-body .read-more {
	font-size: 65%;
	font-weight: bold;
}

.news-submitted {
	padding: 0 0 0 ;
	color: #000;
	font-size: 85%;
	margin: 0;
}

.news-submitted a:link, .news-submitted a:visited {
	color: #666;
}

.news-submitted a:hover {
	color: #333;
}

.news-submitted img {
	border: 1px solid #ccc;
	vertical-align: middle;
}


.tab-box {
	background: url(../img/br.gif) 100% 100%;
	padding: 0 1px 1px 0;
} * html .tab-box { height: 1px; }

.tab-nav {
	background: #527BA2 url(../img/tabs.gif) 0 -3000px;
	margin: -1px 0 0 0;
	padding: 0;
	list-style: none;
	overflow: auto;
} * html .tab-nav { height: 1px; overflow: visible; background-position: 0 -2999px; }

.tab-box .tab-nav li {
	display: block;
	float: left;
	padding: 0 10px 0 0;
	margin: 0;
	font-size: 85%;
	font-weight: bold;
	color: #666;
}

.tab-box .tab-nav li.current {
	background: url(../img/tabs.gif) 100% -2000px;
} * html .tab-box .tab-nav li.current { background-position: 100% -1999px; }

.tab-box .tab-nav li a, .tab-box .tab-nav li span {
	display: block;
	float: left;
	padding: 4px 5px 4px 15px;
}

.tab-box .tab-nav li span {
 	background: url(../img/tabs.gif) 0 -1000px;
} * html .tab-box .tab-nav li span { background-position: 0 -999px; }
 
 .tab-box .tab-nav li.first span {
 	background: url(../img/tabs.gif) 0 0;
 } * html .tab-box .tab-nav li.first span { background-position: 0 1px; }
 
 .tab-box .tab-nav li.first a {
 	background: url(../img/tabs.gif) 0 -3000px;
 }

.tab-contents {
	clear: left;
	padding: 10px;
	border-left: 1px solid #8AE25E;
}

