/*
Theme Name: MiaSci
Description: Semantic, SEO Optimised, Custom Wordpress Theme for XYZ
Author: Matthew Rochow
Author URI: http://www.matthewrochow.com
*/

/* Reset */
a, abbr, acronym, address, area, b, bdo, big, blockquote, body, button, caption, cite,
code, col, colgroup, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, html, i, images, ins, kbd, label, legend, li, map, object, ol, p, param, pre,
q, samp, small, span, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead,
tr, tt, ul, var {margin:0;padding:0;vertical-align:baseline}

/* Defaults */
:focus {outline:0}
a, a:visited {color:#064fb3;text-decoration:none}
a:hover {color:#ff0000}
abbr, acronym, dfn {border-bottom:1px dotted;cursor:help}
blockquote {background:#EEE;border-left:2px solid #CCC;margin:0 0 1em}
blockquote p {margin:.5em}
body {background:#FFF;color:#000;font:75%/125% Arial, Sans-Serif;padding:0 0 20px}
code, pre {font-size:1em}
del {text-decoration:line-through}
dfn {font-style:italic;font-weight:bold}
dt {font-weight:bold}
dd {margin:0 0 1em 10px}
fieldset {border:0}
fieldset p {margin:0 0 5px}
img {border:0;vertical-align:bottom}
ins {text-decoration:none}
h1 {border-bottom:1px solid #CCC;font:bold 1.75em/1.25em Arial, Sans-Serif;margin:10px 0 0 10px}
h2 {font:bold 1.5em/1.25em Arial, Sans-Serif}
h3 {font:bold 1.25em/1.25em Arial, Sans-Serif}
h4 {font:bold 1em/1.25em Arial, Sans-Serif}
hr {margin:0 0 0.5em}
p {margin:0 0 1em}
ul, ol {list-style:none;margin:0 0 1em}
textarea {font:1em Arial;overflow:auto}
tt {display:block;margin:0.5em 0;padding: 0.5em 1em}
th {background:#EEE;border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
td {border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
table {border:solid #CCC;border-width:0 1px 1px 0}

/* Containers */
#page {border:1px solid #006699;margin:0 auto;overflow:hidden;width:1000px}

/* Header */
#header {background:url(images/page-bg.jpg) left 48px no-repeat;height:374px;position:relative;width:100%}
#header #logo {height:132px;left:43px;position:absolute;top:64px;width:110px}
#navbar {background:url(images/navbar.png) left top no-repeat;height:48px;width:100%}
#header ul {float:left;list-style:none;margin:0 0 0}
#header ul li {background:url(images/divider.png) right top no-repeat;float:left;padding: 0 3px 0 0}
#header ul li a {color:#fff;float:left;height:32px;padding:16px 44px 0;text-decoration:none}
#header ul li a:hover, #header ul li.current_page_item a {text-decoration:underline}

	/*Search Form*/
	#header form {float:right;margin:10px 20px 0 0}
	#header form input#s {background:#fff;border:1px solid #91cae0;border-right:0;color:#000;float:left;font:1em Arial, Sans-Serif;padding:5px 5px;width:80px}

	/*Scroller*/
	#header #scroller {height:299px;margin:13px auto 0;position:relative;width:600px}
	#header #scroller a.prev {background:url(images/arrows.png) left top no-repeat;cursor:pointer;display:block;height:51px;position:absolute;right:-111px;top:100px;width:42px}
	#header #scroller a.next {background:url(images/arrows.png) right top no-repeat;cursor:pointer;display:block;height:51px;position:absolute;right:-131px;top:161px;width:42px}
	#header #scroller #scrolling {height:295px;margin:3px;position:relative;overflow:hidden;width:594px}
	#header #scroller #scrolling #scrolling-items {height:293px;left:0;position:absolute;top:3px;width:20000em}
	#header #scroller #scrolling #scrolling-items .item {color:#797979;float:left;height:293px;position:relative;width:594px}
	#header #scroller #scrolling #scrolling-items .item a {color:#797979}
	#header #scroller #scrolling #scrolling-items .item a:hover {color:#797979;text-decoration:underline}
	#header #scroller #scrolling #scrolling-items .item .block h2 {color:#fff;font-size:1.165em;font-weight:400;padding:0 0 5px}
	#header #scroller #scrolling #scrolling-items .item .block h2 a {color:#fff}
	#header #scroller #scrolling #scrolling-items .item .block h2 a:hover {color:#fff;text-decoration:underline}
	/* #header #scroller #scrolling #scrolling-items .item .block {background:url(images/slider-content.png) left top no-repeat;bottom:0;height:58px;left:0;padding:5px;position:absolute;width:584px} */
	
/* Content*/
#content {display:inline;float:left;overflow:hidden;margin:0 0 0 200px;padding:20px 0;width:600px}
#content ul {list-style:disc;margin:0 0 1em 18px}
#content ol {list-style:decimal;margin:0 0 1em 22px}
	
	/* Post */
	#content .post, #content .page {border-bottom:1px solid #006699;font-size:14px;margin:0 0 25px}
	#content .post .meta, #content .post .postmetadata {color:#797979;font-size:.714em;line-height:22px}
	#content .post h1 {border:0;margin:0}
	#content .sticky {background:#f5efca}
	#content .post h2 {font-size:1.714em;font-weight:400}
	#content .post h2 a {color:#333}
	#content .post .entry {clear:both;padding:10px 0 0}
	
		/*Icons*/
		#content .post .meta p.time {background:url(images/time.png) left center no-repeat;float:left;padding: 0 0 0 25px;width:156px}
		#content .post .meta p.comments {background:url(images/comments.png) left center no-repeat;float:left;padding:0 0 0 24px;width:135px}
		#content .post .meta p.author {background:url(images/user.png) left top no-repeat;float:left;padding:0 0 0 28px;width:135px}

/* Pagination */
#content ul#prev-next {list-style:none}
#content ul#prev-next .prev {float:left}
#content ul#prev-next .next {float:right}

/*Left Sidebar*/
#left-sidebar {display:inline;float:left;margin:0 -100% 0 -800px;padding:20px 12px 20px 5px;width:183px}

/* Sidebar */
#sidebar {display:inline;float:right;margin:0 0 0 -200px;padding:20px 8px 20px 9px;width:183px}
#sidebar ul {list-style:none;margin:0 0 1em 0}
#left-sidebar ul ul {list-style:none;margin:5px 0 10px 18px}
#left-sidebar ul ul li  {background:url(images/bullet.png) left 5px no-repeat;padding:0 0 0 9px}

#sidebar ul ul {list-style:none;margin:5px 0 10px 18px}
#sidebar ul ul li  {background:url(images/bullet.png) left 5px no-repeat;padding:0 0 0 9px}

	/*Common Sidebar items*/
	#sidebar h3, #left-sidebar h3 {background:url(images/headers.png) left top no-repeat;color:#fff;font-size:1.165em;font-weight:400;line-height:22px;text-align:center;width:100%}
	
	/*Calendar*/
	#sidebar #calendar_wrap {position:relative}
	#wp-calendar {border:0;margin:0 auto;position:relative;}
	#wp-calendar caption {padding:30px 0 0}
	#wp-calendar tfoot {position:absolute;top:0}
	#wp-calendar th, #wp-calendar td {background:#fff;border:0}
	#wp-calendar td a {border:1px solid #aaa;color:#424242}
	#wp-calendar tfoot td a {border:0}
	#wp-calendar #prev a{text-align:left}
	#wp-calendar #next a{text-align:right}
	
	/*Social links*/
	#sidebar ul#social {list-style:none;padding:15px 0 0}
	#sidebar ul#social li {height:31px;overflow:hidden;padding:0 0 10px 31px}
	#sidebar ul#social li a {display:block;height:31px;padding:0 0 0 42px}
	#sidebar ul#social li a#rss {background:url(images/social-icons.png) left top no-repeat;}
	#sidebar ul#social li a#myspace {background:url(images/social-icons.png) left -31px no-repeat;}
	#sidebar ul#social li a#twitter {background:url(images/social-icons.png) left -62px no-repeat;}
	#sidebar ul#social li a#facebook {background:url(images/social-icons.png) left bottom no-repeat;}
	
/* Footer */
#footer {border-top:1px solid #006699;clear:both;height:1%;padding:5px 10px;overflow:hidden}
#footer p {float:left}
#footer ul {float:right;list-style:none}
#footer ul li {display:inline;margin:0 0 0 20px}

/* Image Alignment */
img.centered {display:block;margin-left:auto;margin-right:auto}
img.alignright {display:inline;margin:0 0 2px 7px;padding:4px}
img.alignleft {display:inline;margin:0 7px 2px 0;padding:4px}
.alignright {float:right}
.alignleft {float:left}

/* Legacy Comments */
#comments #commentlist {list-style:none;margin:0 0 1em;padding:0;text-align:justify}
#comments #commentlist li {list-style:none;margin:15px 0 3px;padding:5px 10px 3px}
#comments #commentlist li.alt {background:#EEE}
#comments #commentlist li .avatar {background:#fff;border:1px solid #eee;float:right;padding:2px}
#comments #commentlist cite, #commentlist cite a {font-style:normal;font-weight:bold}
#comments #commentlist p {margin:10px 5px 10px 0}
#comments #commentmetadata {font-weight:normal}
#comments #commentform input.input {border:1px solid #CCC;font-size:1.1em;margin:5px 5px 1px 0;padding:2px;width:170px}
#comments #commentform input.input:hover {background:#EEE}
#comments #commentform textarea {border:1px solid #CCC;padding:2px;width:98%}
#comments #commentform textarea:hover {background:#EEE}
#comments #commentform #submit {}
#comments #commentform p {margin:0 0 .5em}
#comments #allowed-tags strong {display:block}
#comments .nocomments {margin:0;padding:0;text-align:center}
#comments .commentmetadata {display:block;margin:0}

/* 2.7+ Comments */
#comments_wrap ol {list-style:none}
#comments_wrap ol li {border-bottom:1px solid #CCC;margin:0 0 5px}
#comments_wrap .commentmetadata {margin:0 0 10px}
#comments_wrap .comment-author {border-bottom:1px solid #CCC;width:100%;overflow:hidden;padding:0 0 3px;line-height:32px;}
#comments_wrap .comment-author img {float:left;margin:0 10px 0 0}
#comments_wrap .comment-author cite {font-weight:bold}

/* Captions */
.wp-caption {background:#f3f3f3;border:1px solid #ddd;border-radius:3px;khtml-border-radius:3px;margin:10px;moz-border-radius:3px;padding-top:4px;text-align:center;webkit-border-radius:3px}
.wp-caption img {border:0 none;margin:0;padding:0}
.wp-caption p.wp-caption-text {font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}

/*IE6 PNG Transparency*/
* html #scroller #scrolling #scrolling-items .item .block {behavior: url("http://www.miasci.org/blog/wp-content/themes/miasci/script/iepngfix.htc")}
* html #scroller a.next {behavior: url("http://www.miasci.org/blog/wp-content/themes/miasci/script/iepngfix.htc")}
* html #scroller a.prev {behavior: url("http://www.miasci.org/blog/wp-content/themes/miasci/script/iepngfix.htc")}