/*
Theme Name: Science Fair
Author: Robert Wolf
*/

/*-------------------- CSS Reset --------------------*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
ol,ul{list-style:none}
blockquote,q{quotes:none}
:focus{outline:0}
ins{text-decoration:none}
del{text-decoration:line-through}
table{border-collapse:collapse;border-spacing:0}

/*-------------------- Typography --------------------*/

body {
	font-size: 62.5%;/* Resets 1em to 10px */
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
	color: #262626;
}

#page {
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: left;
}

h1, h2, h3, h4 {
	color: #1a2b6b;
	font-family: Georgia, serif;
	font-weight: bold;
	padding: 8px 0 0;
}

h1, h1 a {
	text-align: center;
	text-decoration: none;
	font: bold 1.4em "Helvetica Neue", Helvetica, Arial, sans-serif;
	word-spacing: -2px;
}

h2 {
	font-size: 1.6em;
}

h3 {
	font-size: 1.5em;
}

h4 {
	font-size: 1.1em;
	color: #000;
	font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
}

p {
	padding: 4px 0;
}

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

small {
	font-size: 10px;
}

blockquote {
	padding: 0 0 0 40px;
	font-style: italic;
}

blockquote:before {
	color: #e5e5e5;
	display: block;
	font-size: 800%;
	position: relative;
	top: 30px;
	right: 55px;
	content: '\201C';
	height: 0;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
}

a {
	color: #1a2b6b;
}

a:hover {
	color: #213b99;
}

a.more-link, .postmetadata {
	clear: both;
	padding-top: 10px;
}

#sidebar h2 {
	color: #73b135;
	font-size: 1.3em;
	text-indent: 1.8em;
	padding-top: 30px;
}

#sidebar strong {
	color: #73b135;
}

#sidebar p {
	font-size: .9em;
	line-height: 1.5em;
	padding: 0 0 4px;
	margin-top: -2px;
}

#sidebar2 ul {
	list-style-type: none;
	padding: 0;
}

#sidebar2 li {
	padding: 0 0 10px 4px;
}

#sidebar2 a {
	font: 1.4em Georgia, serif;
	color: #262420;
	text-decoration: none;
	display: block;
	/* CSS3 */
	text-shadow: #f1ebd9 0 1px 1px;
}

#sidebar2 a:hover {
	color: #59544b;
	/* CSS3 */
	text-shadow: #fff8e5 0 1px 1px;
}

#footer {
	color: #262626;
	font-size: 10px;
	position: relative;
}

/*-------------------- Structure --------------------*/

body {
	background: #0a0f1e url(images/body.jpg) repeat-y center top;
}

#header {
	height: 100px;
	padding-top: 95px;
}

#header-pattern {
	background: url(images/header-pattern.jpg) repeat-x center top;
}

#page {
	margin: 0 auto;
	width: 960px;
}

#page-top {
	width: 960px;
	height: 537px;/* Forces image to show if content is too short */
	background: url(images/header.jpg) no-repeat center top;
}

#content {
	float: left;
	width: 430px;
	margin: 0 0 0 20px;
	display: inline;/* IE Fix */
}

#content-wide {
	width: 760px;
}

.post {
	margin: 0 0 20px;
	clear: both;
}

#sidebar {
	float: right;
	margin: 20px 65px 0 0;
	width: 180px;
	display: inline;/* IE Fix */
}

#sidebar2 {
	float: left;
	margin: 30px 0 0 65px;
	width: 180px;
	position: relative;
	display: inline;/* IE Fix */
}

#footer {
	clear: both;
	margin: 0 auto 10px;
	padding: 10px 0;
	width: 443px;
	border-top: 1px dotted #999;
}

#footer p {
	float: left;
	margin-left: 10px;
}

#footer-buttons {
	float: right;
	margin-right: 10px;
	padding: 4px 0;
}

/*-------------------- Navigation Menu --------------------*/

#navmenu ul {
	list-style-type: none;
	height: 24px;
	margin-left: 241px;
	padding-top: 20px;
}

#navmenu li {
	float: left;
}

#navmenu a {
	display: block;
	height: 24px;
	background: url(images/navmenu.png) no-repeat center top;
	text-indent: -9999em;
}

a#src-info {
	background-position: 0 0;
	width: 71px;
}

a:hover#src-info {
	background-position: 0 bottom;
}

a#media {
	background-position: -71px 0;
	width: 52px;
}

a:hover#media {
	background-position: -71px bottom;
}

a#sponsors {
	background-position: -123px 0;
	width: 74px;
}

a:hover#sponsors {
	background-position: -123px bottom;
}

a#connect {
	background-position: -197px 0;
	width: 67px;
}

a:hover#connect {
	background-position: -197px bottom;
}

a#links {
	background-position: -264px 0;
	width: 47px;
}

a:hover#links {
	background-position: -264px bottom;
}

a#awards {
	background-position: -311px 0;
	width: 61px;
}

a:hover#awards {
	background-position: -311px bottom;
}

a#contact {
	background-position: -372px 0;
	width: 66px;
}

a:hover#contact {
	background-position: -372px bottom;
}

/*-------------------- WordPress Navigation --------------------*/

#navleft a {
	float: left;
}

#navright a {
	float: right;
}

/*-------------------- Sidebar --------------------*/

#dates {
	padding: 0 0 0 16px;
	width: 164px;
	height: 240px;
	overflow: auto;
}

#ribbon {
	background: url(images/sprite.png) no-repeat -92px -1040px;
	display: block;
	width: 99px;
	height: 184px;
	position: relative;
	top: 10px;
	left: -40px;
}

.register-form-button {
	font-size: 1.6em;
	text-align: center;
	display: block;
	padding-top: 15px;
}

ul#how-register-names {
	margin: 0;
	padding: 5px 12px;
	position: absolute;
	z-index: 1;
	background: url(images/sprite.png) no-repeat -92px -92px;
	width: 173px;
	height: 90px;
	display: none;
}

ul#how-register-names li {
	margin: 0;
	padding: 2px 0;
	position:relative;
}

/* Alt Bubble
ul#how-register-names {
	margin: 0;
	padding: 5px 10px;
	position: absolute;
	background-color: #d8d2be;
	z-index: 1;
	-webkit-border-radius: 10px;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
	-moz-border-radius: 10px;
}

ul#how-register-names li {
	margin: 0;
	padding: 2px0;
}
*/

/*-------------------- Images --------------------*/

.aligncenter {
	margin: 10px auto 10px;
	padding: 2px;
	border: 2px solid #ccc;
	display: block;
}

.alignright {
	margin: 6px 8px 2px 0;
	padding: 2px;
	border: 2px solid #ccc;
	float: right;
}

.alignleft {
	margin: 6px 8px 2px 0;
	padding: 2px;
	border: 2px solid #ccc;
	float: left;
}

.wp-caption {
	border: 0;
}

.wp-caption img {
	padding: 2px;
	border: 2px solid #ccc;
}

.wp-caption-text {
	text-align: center;
	font-size: 10px;
	line-height: 12px;
	margin: 2px 0 0 0;
}

/*-------------------- Lists --------------------*/

ul {
	list-style-type: disc;
	padding: 2px 0 2px 20px;
}

li {
	padding: 2px 0 2px;
}

ol {
	list-style-type: decimal;
	padding: 2px 0 2px 20px;
}

ul.columnlist {
	float: left;
	padding: 0 0 10px;
	margin: 0;
	list-style-type: none;
	list-style-image: none;
}

ul.columnlist li {
	padding: 4px 4px 4px 15px;
	background: url(images/sprite.png) no-repeat -92px -833px;
}

/*-------------------- Comments --------------------*/

.alt {}

ul.commentlist {
	margin: 0;
	padding: 0;
	list-style: none;
}

.commentlist li {
	margin: 5px 0 5px;
	padding: 6px;
	border: 2px solid #e5e5e5;
	overflow: auto;
}

.commentlist p {
	margin: 5px 0 0 0;
}

.commentlist img {/* Gravatar */
	float: left;
	margin: 0 10px 0 0;
	padding: 2px;
	border: 2px solid #e5e5e5;
}

.commentlist cite, .commentlist cite a {
	font-style: normal;
	font-weight: bold;
}

.nocomments {
	text-align: center;
}

.commentmetadata {
	float: right;
}

/*-------------------- Form Elements --------------------*/

form {
	border-top: 1px dotted #999;
}

form p {
	clear: both;
}

form label {
	float: left;
	padding: 2px 0;
}

form strong {
	color: red;
	float: left;
}

form input {
	float: right;
	width: 330px;
	padding: 2px 0;
	border: 1px dotted #999;
}

form textarea {
	float: right;
	width: 330px;
	height: 330px;
	margin-bottom: 6px;
	border: 1px dotted #999;
	overflow: auto;/* IE Fix */
}

.button {
	color: #e3e7ef;
	font: 12px/10px Verdana, sans-serif;
	width: 100px;
	height: 24px;
	cursor: pointer;
	background: url(images/sprite.png) no-repeat -92px -366px;
	border: 0;
}

input.button {
	padding: 0 0 4px 0;/* Firefox Fix */
}

.button:hover {
	background-position: -92px -390px;
}

form #usermessage {
	font-weight: bold;
	text-align: center;
}

/*-------------------- Wordpress Search --------------------*/

#searchform input {
	width: 100px;
	float: left;
}

#searchform .button {
	width: auto;
	float: left;
	margin-left: 10px;
}

/*-------------------- Miscellaneous --------------------*/

a.print {
	color: #262626;
	text-decoration: none;
	padding: 10px 30px 10px 0;
	background: url(images/sprite.png) no-repeat -63px -594px;
}

a#wp-login {
	color: #262626;
	text-decoration: none;
	padding: 10px 30px 10px 15px;
	background: url(images/sprite.png) no-repeat -47px -632px;
}

a:hover.print, a:hover#wp-login {
	color: #213b99;
}

.notice {
	font-size: 1em;
	line-height: 1.6em;
	color: #57572c;
	margin: 8px;
	padding: 2px 4px;
	background-color: #fdffcc;
	border: 1px dotted #990;
}

.notice a {
	color: #57572c;
}

#ad img {
	display: block;
	margin: 40px 0 0 35px;
	border: 1px solid #857f6c;
}

/*-------------------- FancyBox --------------------*/

html, body {
	height: 100%;
}

div#fancy_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #262f4d;
	display: none;
	z-index: 30;
}

* html div#fancy_overlay {
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url(images/fancybox.png) no-repeat;
}

div#fancy_loading_overlay {
	position: absolute;
	background-color: #FFF;
	z-index: 30;
}

div#fancy_outer {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	padding: 18px 18px 33px 18px;
	margin: 0;
	overflow: hidden;
	background: transparent;
	display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #BBB;
	background: #FFF;
}

div#fancy_content {
	margin: 0;
	z-index: 100;
	position: absolute;
}

div#fancy_div {
	background: #000;
	color: #FFF;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -15px;
	height: 30px;
	width: 30px;
	background: url(images/fancybox.png) no-repeat -40px 0px;
	cursor: pointer;
	z-index: 181;
	display: none;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}

#fancy_ajax {
	width: 100%;
	height: 100%;
	overflow: auto;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 0px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	z-index: 111; 
	display: none;
	background-image: url(data:image/gif;base64,AAAA);
	outline: none;
}

a#fancy_left {
	left: 0px;
}

a#fancy_right {
	right: 0px;
}

span.fancy_ico {
	position: absolute; 
	top: 50%;
	margin-top: -15px;
	width: 30px;
	height: 30px;
	z-index: 112; 
	cursor: pointer;
	display: block;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url(images/fancybox.png) no-repeat -40px -30px;
}

span#fancy_right_ico {
	right: -9999px;
	background: transparent url(images/fancybox.png) no-repeat -40px -60px;
}

a#fancy_left:hover {
	visibility: visible;
}

a#fancy_right:hover {
	visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
}

div#fancy_bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(images/fancybox-x.png) repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(images/fancybox.png) no-repeat -55px -92px;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(images/fancybox-y.png) repeat-y -13px 0px;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(images/fancybox.png) no-repeat -55px -110px;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(images/fancybox-x.png) repeat-x 0px -18px;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(images/fancybox.png) no-repeat -42px -110px;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(images/fancybox-y.png) repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(images/fancybox.png) no-repeat -42px -92px;
}

div#fancy_title {
	position: absolute;
	bottom: -33px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 3px;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title table td {
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(images/fancybox.png) no-repeat -40px -130px;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(images/fancybox-x.png) repeat-x 0px -36px;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(images/fancybox.png) no-repeat -55px -130px;
}

/*-------------------- jScrollPane --------------------*/

.jScrollPaneContainer {
	position: relative;
	top: 10px;
	overflow: hidden;
	z-index: 1;
}

.jScrollPaneTrack {
	position: absolute;
	right: 0;
	cursor: pointer;
	width: 11px !important;
	height: 100%;
	background-color: #ddd;
	border: 1px solid #f5f5f5;
	border-top-width: 0;
	border-bottom-width: 0;
}

.jScrollPaneDrag {
	position: absolute;
	cursor: pointer;
	overflow: hidden;
	width: 11px !important;
	height: 42px !important;
	background: url(images/sprite.png) no-repeat -92px -1408px;
}