/*
Theme Name: New Optimists
Theme URI: http://newoptimists.com/
Description: New Optimists theme
Version: 0.1
Author: Ant Ramm
Author URI: http://carouseldigital.com/
Tags: New Optimists

	#1076bc - text highlight blue
	#f0f8ab - pale green
	#252a2d - dark blue text colour
	#f9f9f9 - pale grey pod background
	#f3f3f3 - outline grey
	#d3e06a - green
	#c3e8f8 - mid blue
	#e5f4fb - pale blue
	#f0f8ab - lime pods
	#abdcf8 - orignal blog/blue pods
	#96c6f6 - new blog/blue pods
*/

/* http://meyerweb.com/eric/tools/css/reset/ v2.0b1 | 201101 NOTE: WORK IN PROGRESS USE WITH CAUTION AND TEST WITH ABANDON */
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, 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, article, aside, canvas, details, 
figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video 
	{margin:0;padding:0;border:0;outline:0;font-size:100%;font-weight:inherit;font-style:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block;}
body {line-height:1;}
ol, ul {list-style:none;}
blockquote, q {quotes: none;}
blockquote:before, blockquote:after, q:before, q:after {content:'';content:none;}
/* TODO: define visible focus styles! 
:focus {outline: ?????;} */
/* TODO: highlight inserts somehow! */
ins {text-decoration:none;}
del {text-decoration:line-through;}
table {border-collapse:collapse;border-spacing:0;}

/* FONTS */
body {font-family:"Helvetica Neue Light", "HelveticaNeue-light", "Helvetica Neue", Helvetica, Arial, sans-serif;font-weight:300;font-size:0.9em;line-height:1.4em;}
em {font-family:"Helvetica Neue Light Italic", "HelveticaNeue-lightitalic", Helvetica, Arial, sans-serif;font-style:italic;}
h1, h2, h3, h4, h5, h6, #nav {font-family:"GillSans-Light", "Gill Sans Light", "Gill Sans", "Gill Sans MT", GillSans, Calibri, "Trebuchet MS", sans-serif;}


@import url("http://newoptimists.com/wp-content/themes/newoptimist/css/lightbox.css");
/* Clearing */
.clear {clear:both;}
.clearfix:after {content:' ';clear:both;height:0;font-size:0;display:block;visibility:hidden;}
* html .clearfix {zoom:1;}
*:first-child+html .clearfix { zoom: 1; }

/* WP Default styles */
.alignright {float:right;margin:0 0 10px 10px;display:inline;clear:right;}
.alignleft {float:left;margin:0 10px 10px 0;display:inline;clear:left;}
.center {text-align:center;}
.hidden {display:none;}
.small {font-size:0.85em;}

h1, h2, h3 {font-size:1.5em;line-height:1.1;}
  h2 a {color:black;text-decoration:none;}
strong {font-weight:bold;}
a {color:#1177bc;text-decoration:none;}
	a:hover {color:#355796;}
hr {margin:1.5em 0;border:2px solid #d3e06a;border-width:0 0 5px;clear:both;}
p {margin:0 0 1em;}
	p:last-child {margin-bottom:0;}

/* Start stuff */
html, body {margin:0;padding:0;background:white;}
#container {width:952px;margin:20px auto;position:relative;background:white;padding:0;}
#header {padding:0  0 10px;position:relative;}
	#header #header-widgets {position:absolute;right:0;top:50px;}
	#header .widget-social {}
	#header .widget-social li {display:inline;}
	#header .widget-social li a {display:block;width:32px;height:32px;margin-left:7px;float:left;background:url(images/social_media_icons.png) no-repeat top left;text-indent:-9999em;}
	#header .widget-social li.rss a {background-position:0 0;}
	#header .widget-social li.youtube a {background-position:-37px 0;}
	#header .widget-social li.twitter a {background-position:-74px 0;}
	#header .widget-social li.facebook a {background-position:-111px 0;}
	#header .widget-social li.flickr a {background-position:-148px 0;}
	#header .widget-social li.linkedin a {background-position:-185px 0;}
	#header .searchform {position:absolute;right:0;top:90px;}
#nav {height:55px;background:url(images/menu_gradient_C.png) repeat-x;font-size:1.25em;
			-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;}
	#nav ul {padding:8px 0 0 20px;}
	#nav li {background:url(http://newoptimists.com/wp-content/themes/newoptimist/images/button_sprite.png) no-repeat 50% 0;color:white;display:block;float:left;line-height:32px;padding:0 15px;position:relative;margin-right:8px;}
	#nav li a {color:white;}
		#nav li a:before, #nav li a:after {content:"";width:15px;height:32px;background:url(http://newoptimists.com/wp-content/themes/newoptimist/images/button_sprite.png) no-repeat 0 0;display:block;position:absolute;top:0;}
		#nav li a:before {background-position:0 0;left:-1px;}
		#nav li a:after {background-position:100% 0;right:-1px;}
	#nav li:hover {background-position:50% -36px;}
		#nav li:hover a:before {background-position:0 -36px;}
		#nav li:hover a:after {background-position:100% -36px;}
	#nav li:active, #nav li:focus, #nav li.current_page_item, #nav li.current_page_parent, #nav li.current_page_ancestor {background-position:50% -72px;}
		#nav li:active a:before, #nav li:focus a:before, #nav li.current_page_item a:before, #nav li.current_page_parent a:before, #nav li.current_page_ancestor a:before {background-position:0 -72px;}
		#nav li:active a:after, #nav li:focus a:after, #nav li.current_page_item a:after, #nav li.current_page_parent a:after, #nav li.current_page_ancestor a:after {background-position:100% -72px;}

#content {border:1px solid #f3f3f3;border-width:0 1px;padding:17px 9px 9px;}
#footer {background:url(images/menu_gradient_C.png) repeat-x 0 100%;height:47px;text-align:center;padding-top:10px;line-height:47px;
				 color:white;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;}
	#footer a {color:white;}
#site-by {font-size:0.9em;text-align:center;margin-top:0.7em;}
  #site-by a {}
#left-col {width:616px;float:left;position:relative;margin-bottom:8px;}
	#left-col .pod {float:none;}
#sidebar {margin-left:8px;width:300px;float:left;list-style-position:outside;}
	#sidebar>li.widget {position:relative;margin-bottom:8px;}
	#sidebar>li>div, #sidebar>li>ul {background:#f9f9f9;border:1px solid #f3f3f3;border-width:0 1px 1px 1px;padding:11px 20px;}
	#sidebar>li>ul li a,
	  #sidebar>li>ul li.current-cat li a {border-bottom:1px solid white;padding:6px 0;display:block;background:#f9f9f9;color:#1076bc;}
	#sidebar>li>ul li.current-cat li a:before,
	  #sidebar>li>ul li a:before {content:'';margin-right:10px;width:6px;height:11px;background:url(images/blue_arrow.png);display:inline-block;}
	#sidebar>li>ul li.current-cat a, #sidebar>li>ul li.current_page_item>a {background:#1076bc;margin:0 -10px;padding:6px 10px;color:white;}
	#sidebar>li>ul li.current-cat a:before, #sidebar>li>ul li.current_page_item>a:before {background-position:0 -16px;}
	#sidebar>li>ul ul.children {margin-left:16px;}

	#sidebar>li>ul.cycle {border:none;padding:0;}
	#sidebar>li>ul.cycle li a {border:none;padding:0;}
	#sidebar>li>ul.cycle li a:before {display:none;}

.row {margin-bottom:8px;}
	.pod {margin-left:8px;float:left;position:relative;}
	.pod-1 {width:300px;}
	.pod-2 {width:608px;}
		.pod-2>.header {width:568px;}
	.pod>.header, .pod>h2, .widget>h3 {background:#f0f8ab;border:1px solid white;border-width:0 0 1px;min-height:30px;padding:13px 20px 6px;
							-webkit-border-radius:14px 14px 0 0;-moz-border-radius:14px 14px 0 0;border-radius:14px 14px 0 0;}
	.pod .body {background:#f9f9f9;border:1px solid #f3f3f3;border-width:0 1px 1px 1px;padding:11px 20px;}
	.pod-blue>h2 {background:#96c6f6;}
	.pod-books {border:20px solid #e5f4fb;width:260px;-webkit-border-radius:14px 14px 0 0;}

.row-advert {}
	.row-advert .body {height:248px;overflow:hidden;}
.cycle {height:298px;overflow:hidden;}

.body img {border:1px solid white;}
  .body ul, .body li, .body blockquote {margin:0 0 1em 30px;}
  .body ul {list-style:disc outside;}
  .body ol {list-style:decimal outside;}
  .body li {margin:0 0 0.2em;}

.featured {border:7px solid #dbe477;margin:8px;}
	.featured .body {padding:15px 12px;}
	.featured object {float:left;margin:0 10px 10px 0;}
  .hp-thumb {float:left;margin:0 10px 10px 0;}
    .hp-thumb a, .hp-thumb img {display:block;}
.entry {}
	.entry h2 {margin-bottom:0.5em;}
	.postmetadata {margin-bottom:1em;font-size:0.9em;}

#posts-nav {}
	.nav-previous {float:left;width:49%;}
	.nav-next {float:right;width:49%;text-align:right;}
#respond, #comments, .commentlist {clear:both;}
h3#comments, #respond h3 {margin:0 -20px 10px;background:#f0f8ab;padding:10px 20px;}
	.single h1 {margin-bottom:0.3em;}
	.single .postmetadata {margin:0;padding:10px 20px;background:#fcffdd;border:1px solid f3f3f3;border-width:0 1px;}
	.single .entry-utility {clear:both;margin:0 -20px;padding:10px 20px;background:#fcffdd;}
	.single .header, .single>h2 {border-width:0;}
	.single .tags {font-size:0.9em;}

ul#scientists {list-style:none;margin:1em 0; padding:0;}
	ul#scientists li {float:left;margin:0 16px 16px 0;background:#e5f4fb;padding:4px;}
	ul#scientists li .image {width:152px;height:152px;text-align:center;}
	ul#scientists li .caption {text-align:center;font-size:0.85em;}
	
/* Ad Gallery */
.ad-gallery{width:566px}
.ad-gallery,.ad-gallery *{margin:0;padding:0}
.ad-gallery .ad-image-wrapper{width:100%;height:377px;margin-bottom:10px;position:relative;overflow:hidden}
.ad-gallery .ad-image-wrapper .ad-loader{position:absolute;z-index:10;top:48%;left:48%;border:1px solid #CCC}
.ad-gallery .ad-image-wrapper .ad-next{position:absolute;right:0;top:0;width:25%;height:100%;cursor:pointer;display:block;z-index:100}
.ad-gallery .ad-image-wrapper .ad-prev{position:absolute;left:0;top:0;width:25%;height:100%;cursor:pointer;display:block;z-index:100}
.ad-gallery .ad-image-wrapper .ad-prev,.ad-gallery .ad-image-wrapper .ad-next{background:url(http://newoptimists.com/wp-content/themes/newoptimist/images/non-existing.jpg)\9}
.ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image,.ad-gallery .ad-image-wrapper .ad-next .ad-next-image{background:url(images/ad_prev.png);width:30px;height:30px;display:none;position:absolute;top:47%;left:0;z-index:101}
.ad-gallery .ad-image-wrapper .ad-next .ad-next-image{background:url(images/ad_next.png);width:30px;height:30px;right:0;left:auto}
.ad-gallery .ad-image-wrapper .ad-image{position:absolute;overflow:hidden;top:0;left:0;z-index:9}
.ad-gallery .ad-image-wrapper .ad-image a img{border:0}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description{position:absolute;bottom:0;left:0;text-align:left;width:100%;z-index:2;background:url(images/opa75.png);color:#000;padding:7px}
* html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description{background:none;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true,sizingMethod=scale,src='images/opa75.png')}
.ad-gallery .ad-controls{height:20px}
.ad-gallery .ad-info{float:left}
.ad-gallery .ad-slideshow-controls{float:right}
.ad-gallery .ad-slideshow-controls .ad-slideshow-start,.ad-gallery .ad-slideshow-controls .ad-slideshow-stop{padding-left:5px;cursor:pointer}
.ad-gallery .ad-slideshow-controls .ad-slideshow-countdown{padding-left:5px;font-size:.9em}
.ad-gallery .ad-slideshow-running .ad-slideshow-start{cursor:default;font-style:italic}
.ad-gallery .ad-nav{width:100%;position:relative}
.ad-gallery .ad-forward,.ad-gallery .ad-back{position:absolute;top:0;height:100%;z-index:10}
* html .ad-gallery .ad-forward,.ad-gallery .ad-back{height:100px}
.ad-gallery .ad-back{cursor:pointer;left:0;width:13px;display:block;background:url(images/ad_scroll_back.png) 0 30px no-repeat}
.ad-gallery .ad-forward{cursor:pointer;display:block;right:0;width:13px;background:url(images/ad_scroll_forward.png) 0 30px no-repeat}
.ad-gallery .ad-nav .ad-thumbs{overflow:hidden;width:100%}
.ad-gallery .ad-thumbs .ad-thumb-list{float:left;width:9000px;list-style:none}
.ad-gallery .ad-thumbs li{float:left;padding-right:5px}
.ad-gallery .ad-thumbs li a img{border:3px solid #CCC;display:block}
.ad-gallery .ad-thumbs li a.ad-active img{border:3px solid #616161}
.ad-preloads{position:absolute;left:-9000px;top:-9000px}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title,.ad-gallery .ad-thumbs li a{display:block}