/*
Theme Name: Illinois Web Masters 2.0
Theme URI: http://webmasters.illinois.edu
Description: A custom theme for the U of I Web Masters Site
Author: David Dashifen Kees (ddkees@illinois.edu)
Version: 2.0
*/

@charset "utf-8";

@import url("styles/reset.css");
@import url("fontkit/stylesheet.css");

html {
	background: #000 repeat fixed top left;
}

html.bkg0 { background-image: url("bkgs/wm_background00.jpg"); }
html.bkg1 { background-image: url("bkgs/wm_background01.jpg"); }
html.bkg2 { background-image: url("bkgs/wm_background02.jpg"); }
html.bkg3 { background-image: url("bkgs/wm_background03.jpg"); }
html.bkg4 { background-image: url("bkgs/wm_background04.jpg"); }

body {
	color: #444;
	font-family: sans-serif;
	font-size: 14px;
	margin: 0 auto;
	width: 960px;
}

a {
	color: #F60;
	text-decoration: underline;
}

a:focus,
a:hover {
	color: #627A8C;
}


.widget,
.shadowed {
	border-radius: 10px;
		-moz-border-radius: 10px;
		-webkit-border-radius: 10px;
	
	box-shadow: 5px 5px 5px #333;
		-moz-box-shadow: 5px 5px 5px #333;
		-webkit-box-shadow: 5px 5px 5px #333;
}

.small-corners,
.categories-tags a {
	border-radius: 5px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;	
}

/*********************************************************************************************** HEADER STYLES */

header#main { 
	background: url("images/double_lines.png") left bottom repeat-x;
	height: 110px;
	margin-bottom: 20px;
	position: relative;
}

header#main h1 a,
header#main h2 a {
	background: url("images/wm_logo.png") top left no-repeat;
	display: block;
	height: 51px;
	left: 40px;
	position: absolute;
	top: 48px;
	width: 363px;
}

header#main a.ilogo span {
	background: url("images/illinois_logo.gif") top left no-repeat;
	display: block;
	height: 37px;
	position: absolute;
	top: 62px;
	width: 26px;
}

header#main nav {
	bottom: 9px;
	color: #FFF;
	font: bold 12px sans-serif;
	position: absolute;
	right: 0px;
}

header#main nav ul {
	display: inline;
	list-style-type: none;
	margin:  0;
	padding: 0;
}

header#main nav li {
	display: inline;
	text-transform: uppercase;
}

header#main nav li + li:before {
	content: "\00a0\00a0\\\\\00a0\00a0\00a0";				/* \00a0 is the non-breaking space in unicode */
}

header nav a,
header nav a:active,
header nav a:visited {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}

header nav a:hover,
header nav a:focus {
	color: #FFF;
	border-top: 1px solid #FFF;
}

/*********************************************************************************************** CONTENT STYLES */

div#body {
	position: relative;
}

section#content {
	background: #FFF;
	float: left;
	margin: 0 20px 20px 0;
	padding: 20px;
	width: 570px;
}

article.sticky {
	border-bottom: 1px solid #CCC;
	margin-bottom: 10px;
}

article.latest {
	float: left;
	width: 275px;			/* same width as our contribute img */
}

article.latest,
section#recent {
	margin-bottom: 5px;
}

article p, article ul, article ol {
	font-size: 12px;
	line-height: 17px;
}

#content header {
	font-family: Georgia, serif;
	position: relative;
}

article.page h2 {
	font-size: 125%;
}

article.latest header {
	padding-top: 40px;						/* leaves room for the <h2> that we move around with abso positioning */
}

#content h1 {
	font-size: 35px;
	line-height: 37px;
}

article.page h2,
#content h2 {
	font-family: Georgia, serif;
	font-weight: bold;
	font-size: 22px;
	line-height: 24px;
	color: #627A8C;
	margin-bottom: 15px;
	position: relative;
	border-bottom: 1px solid #E9E9E9;
}

#content h3 {
	font-weight: bold;
	font-size: 15px;
	line-height: 17px;
}

#content article.latest h2 {
	font-size: 23px;
	line-height: 25px;
	border-bottom: none;
	color: #333;
	font-weight: normal;
}

#content article.latest header p {
	padding-bottom: 10px;
}

article.page h1 {
	margin-bottom: 20px;
}

#content article.latest h3 {
	border-bottom: 1px solid #999;
	font-weight: normal;
	color: #627A8C;
	font-family: BebasNeueRegular, Tahoma;
	font-size: 130%;
	position: absolute;
	text-transform: uppercase;
	top: 4px;								/* lines up bottom border with the bottom of the #recent header */
	width: 100%;
}

article p,
article ul,
article ol,
article form,
article table {
	margin-bottom: 20px;
}

article form table,
article table form {
	margin-bottom: 0;
}

article *:last-child {
	margin-bottom: 7px;
}

article header p {
	font-size:  11px;
	font-style: italic;
	margin: 10px 0;
	padding-bottom: 20px;
}

article span + span:before {
	content: "|\00a0\00a0";
}

section#recent {
	background: #E9E9E9;
	float: left;
	margin-left: 20px;
	width: 275px;
}

#content section#recent header h2 {
	color: #FFF;
	background: #939393;
	font-family: BebasNeueRegular, Tahoma;
	padding: 5px 5px 0;
	text-transform: uppercase;
	border-bottom: none;
	font-weight: normal;
	margin-bottom: 0px;
}

#content section#recent h2 {
	bottom: 2px;
	font-size: 130%;
	position: relative;
}

section#recent ul {
	list-style-type: none;
	margin: 0;
	padding: 3px 5px;
}

section#recent li {
	background: url("images/recent_bullet.gif") 3px 7px no-repeat;
	border-bottom: 1px dotted #939393;
	font-size: 12px;
	padding: 5px 0 5px 20px;
}

article.single {
	border-bottom: 5px solid #999;
	margin-bottom:  20px;
	padding-bottom: 20px;
}

/*********************************************************************************************** COMMENT STYLES */

.comment {
	background: #E9E9E9;
	
	/* we apply a the .small-corners class to the .comment divs in comments.php.  this rule turns off
	   the curve for the upper-left to make the quote hang work. */
	
	border-top-left-radius: 0px;
		-moz-border-radius-topleft: 0px;
		
	float: right;	
	font-size: 12px;
	margin-top: 10px;
	padding: 10px;
	position: relative;
	top: 10px;
	width: 355px;
}

.comment .author {
	background: url("images/comment_quotehang.gif") 175px 10px no-repeat;
	display: block;
	height: 30px;
	left: -195px;
	padding-right: 40px;
	position: absolute;
	text-align: right;
	top: -10px;
	width: 165px;
}

.comment .date {
	display: block;
	font-size: 11px;
	font-style: italic;
	left: -195px;
	position: absolute;
	text-align: right;
	top: 7px;
	width: 165px;
}

.comment p + p {
	margin-top: 10px;
}

form#comment {
	clear: both;
	padding: 20px 0 0 0;
}

form#comment legend {
	width: 100%;
}

.comments header h2,
form#comment legend label {
	border-bottom: 1px solid #E9E9E9;
	color: #627A8C;
	display: block;
	font-family: Georgia, serif;
	font-size: 175%;
	width: 100%;
}	

form#comment ol {
	list-style-type: none;
	margin: 20px 0;
}

form#comment li {
	font-size: 12px;
	margin-bottom: 10px;
}

form#comment li label {
	display: block;
	font-weight: bold;
}

form#comment li label em {
	font-size: 10px;
	font-weight: normal;
}

form#comment input {
	width: 66%;
}

form#comment textarea {
	width: 100%;
}

form#comment input[type=submit] {
	background: #CCC;
	border: 1px solid #999;
	padding: 2px;
	width: auto;
}


/*********************************************************************************************** ARTICLE FOOTER STYLES */

section#recent footer {
	font-weight: bold;
	padding: 5px;
	text-align: right;
}

section#content footer {
	clear: both;
}

section#content footer h2 {
	position: absolute;
}

section#content footer div {
	border-top: 1px solid #CCC;
	clear: both;
	overflow: hidden;
	padding: 7px 0;
	margin: 20px 0 0 0;
}

section#content footer div#badges a {
	display: block;
	float: left;
}

section#content footer div#badges a + a {
	margin-left: 20px;
}

section#content footer div#badges a#contribute span {
	background: url("images/contribute.jpg") top left no-repeat;
	display: block;
	height: 150px;
	width:  275px;
}

section#content footer div#badges a#subscribe span {
	background: url("images/subscribe.jpg") top left no-repeat;
	display: block;
	height: 150px;
	width:  275px;
}
	
section#content footer nav,
section#content footer p {
	clear: left;
	font-size: 10px;
	height: 12px;
	line-height: 10px;
	margin-bottom: 2px;
	overflow: hidden;
}

section#content footer p {
	left: 4px;
	position: relative;
}

section#content footer ul {
	display: inline;
	list-style-type: none;
	margin:  0;
	padding: 0;
}

section#content footer li {
	display: block;
	float: left;
	height: 10px;
	padding: 0 4px;
}

section#content footer li + li {
	border-left: 1px solid #000;
}

/*********************************************************************************************** TABLE STYLES */

table {
	border-style: none;
	margin-bottom: 7px;
	width: 100%;
}

table.t, tr.t th, tr.t td { border-top:    1px solid #999; }	
table.l, tr.l th, tr.l td { border-left:   1px solid #999; }
table.b, tr.b th, tr.b td { border-bottom: 1px solid #999; }
table.r, tr.r th, tr.r td { border-right:  1px solid #999; }

th {
	font-weight: bold;
	padding: 5px;
	text-align: left;
	vertical-align: bottom;
}

th.centered {
	text-align: center;
}

th[scope=row] {
	background: #FFF;
	vertical-align: top;
}

td {
	padding: 5px;
	vertical-align: top;
}

td.colorize,
table.colorize th {
	color: #FFF;
	background-color: #627A8C;
}

table.colorize th.colorless,
table.colorize th[scope=row] {
	background-color: transparent;
}

table.colorize tr.odd th,
table.colorize tr.odd td {
	background-color: #F0F0F0;
}

/*********************************************************************************************** SIDEBAR STYLES */

div#sidebar {
	float: left;
	width: 330px;
}

.widget {
	background: #FFF;
	font-size: 12px;
	margin-bottom: 30px;
	padding: 20px;
	width: 290px;
}

.widget header {
	background: #627A8C;
	color: #FFF;
	font-family: BebasNeueRegular, Tahoma;
	font-size: 175%;
	padding: 2px 5px 0;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.widget footer {
	text-align: right;
}

.widget ol,
.widget ul {
	list-style-type: none;
	margin: 0;
}

.widget.web-tools-calendar li {
	font-size: 12px;
	line-height: 17px;
	margin-bottom: 10px;
}

section#search {
	background: #E9E9E9;
	padding: 10px;
	width: 272px;
}

form#searchform {
	background: #FFF;
	border: 1px solid #999;
	height: 25px;
	position: relative;
}

section#search input#s {
	border-style: none;
	float: left;
	height: 23px;
	line-height: 23px;
	outline: none;
	width: 245px;						/* width of widget minus width of search image */
}

section#search input#searchsubmit {
	background: url("images/search.gif") 0px 4px no-repeat;
	border-style: none;
	height: 23px;
	position: absolute;
	right: 0px;
	top: 0px;
	width: 25px;
}

section#search input#searchsubmit:focus,
section#search input#searchsubmit:hover {
	background-position: -25px 4px;
}

section#social {
	border-top: 1px solid #CCC;
}

section#social,
section#social p,
section#social header {
	margin-top: 3px;
}

section#social header {
	background: #939393;
	font-size: 130%;
}

section#social p.tweet {
	background: #E9E9E9;
	font-size: 12px;
	padding: 10px;
}

section#social footer {
	background: url("images/twitter_quotehang.png") 90% 0 no-repeat;
	padding-top: 9px;
}

section#social footer a.twitter_link {
	float: right;
}

section#social footer a.twitter_link span {
	background: url("images/twitter_icon.png") top right no-repeat;
	display: block;
	height: 16px;
	width: 16px;
}

section#social footer p {
	font-size: 12px;
	margin-top: 0px;
	text-align: left;
}

section#social footer a {
	display: inline-block;
	line-height: 16px;
}

section#social footer span.rss a {
	background: url("images/rss_icon.png") top left no-repeat;
	padding-left: 20px;	
}

div.categories-tags li {
	display: inline;
	margin: 0 5px 0 0;
}

div.categories-tags a {
	white-space: nowrap;
	text-decoration: none;
	padding: 5px;
	margin-bottom: 5px;
	display: inline-block;
	color: #FF6600;
}

div.categories-tags a:link, div.categories-tags a:visited {
	background: #E9E9E9;
}

div.categories-tags a:hover, div.categories-tags a:active {
	background: #D8D8D8;
}

section.categories ul {
	margin-bottom: 20px;
}

/* 
 * Non-semantic helper classes taken from html5boilerplate.com and renamed for our purposes.
 */

.all_hide { display: none; visibility: hidden; }

.scr_hide { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
.scr_hide.focusable:active, .scr_hide.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

.img_repl { display: block; text-indent: -99999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; } 


/*
 * Print styles.
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */

@media print { }