/* 
   css Copyright © 2005-2012 Karelia Software. All rights reserved.
   css released under Creative Commons License  - http://creativecommons.org/licenses/by-sa/2.5/ 
   All associated graphics belong to their respective owners and are licensed separately. 
*/

/* IE7 hacks */

*:first-child+html .gridItem img {
	position:relative;
	top:0px;
}

*:first-child+html .gridItem h3 {
	position:relative;
	top:0px;
}

/* Navigation arrows */
div.text-navigation { text-align:center; margin-bottom:1em;}
div.text-navigation div { display:inline; margin:0px 0.5em; }
.collection-navigation .disabled-navigation { text-indent:-5000px; }

/* 2.0 wrap compatibility. 2.0-compatible designs can further adjust these if they need */
.wide { display:block; }

.narrow.left {   /* Some designs won't respect without !important */
    float:left!important;
    clear:left!important;
}
.narrow.right {
    float:right!important;
    clear:right!important;
}

.wide.left .graphic, img.wide.left { margin-left:0px; margin-right:auto; }
.wide.center .graphic, img.wide.center { margin-left:auto; margin-right:auto; }
.wide.right .graphic, img.wide.right { margin-left:auto; margin-right:0px; }

.ImageElement.left, .AudioElement.left { text-align:left; }
.ImageElement.center, .AudioElement.center { text-align:center; }
.ImageElement.right, .AudioElement.right { text-align:right; }

/* Captions should align themselves with the graphic */
.graphic-container.left .caption { text-align:left; }
.graphic-container.center .caption { text-align:center; }
.graphic-container.right .caption { text-align:right; }

/* Inline iframes need to display as a block to layout right */
.graphic iframe { display:block; }

/* Pagelet photo grids should be generally be auto width (some 1.x designs hardcoded an exact width) */
.pagelet .photogrid-index { width:auto; }

/* For content like amazon which forces white background. Design SHOULD set color for A tag and text color. */
.whiteBackground
{
	background-color:white;
}

.article-info
{
	margin-bottom:1em;
}
 
/* Firefox reduce dotted lines on links */
.photo-navigation a:focus, .replaced a:focus {overflow:hidden;}

/* Disqus correction to prevent overflow scroll bars in some designs */
#dsq-content { overflow:hidden; }
#dsq-content .dsq-auth-header { width: auto!important; }
#dsq-content .dsq-by { margin: 4px 6px 0px 0px; }
#dsq-content .dsq-by a, #dsq-content .dsq-by a:hover { border: 0px none; }
#dsq-content h3 { margin:0px; }

/* Site menus. Don't wrap the top level items, and wrap sub-menu items normaly. */
#sitemenu-content ul li {white-space: nowrap}
* html #sitemenu-content ul li {white-space: normal}
*:first-child+html #sitemenu-content ul li {white-space: normal}
#sitemenu-content ul ul li {white-space: normal}
#sitemenu-content span.in { position: relative; }

/* Keep tables with long content from pushing too far over */
table { word-break: break-all; }

/* ============================================ *
   -- Hydrogen --
   v1.0.4 (104)
   A Design for Sandvox created by BehindTheRabbit
   http://www.behindtherabbit.com/
   ============================================ */

/* ====================
   COLORS
   --------------------
*/
a:link, a:visited,a:hover, a:active {color:#31BEF2;}
#title h1 {background-color:#333;}
#title h1, #title h1 a {color:#FFF;}
#title p {color:#CCC;}
.article h3 a, .article .article h2 a {color:#454545;}
.text-navigation a:hover, .text-navigation a:active {color:#31BEF2;}
#main .gridItem h3 a {color:#999 !important;}
#main .gridItem:hover h3 a {color:#454545 !important;}
form {background-color: #f5f5f5;}


/* ====================
   GENERAL
   --------------------
*/
body {
	margin:0; padding:0; background-color:#FFF; color:#454545;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size:62.5%;
}
a:link, a:visited {text-decoration:none;}
a:hover, a:active {text-decoration:underline;}
a.imageLink {text-decoration:none;}
h2, h3, h4 {margin-top:0;}
h2 {font-size:2.8em;}
h3, .article .article h2 {font-size:2.4em;}
h4 {font-size:1.6em;}
li li {font-size:1em !important;}
img {border:none;}
dl, dd {font-size:1.2em;}
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
.clear {clear: both; height: 0;}
.hidden {display:none !important;}
.right {margin-left:20px;}
.left {margin-right:20px;}
img.graphic {display:block !important;}
.ImageElement, .center.VideoElement { text-align:center;}
code, pre {
  padding: 0 3px 2px;
  font-family: Menlo, Monaco, "Courier New", monospace;
  font-size: 12px;
  color: #333333;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
code {
  padding: 3px 4px;
  color: #d14;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
}
pre {
  display: block;
  padding: 8.5px;
  margin: 0 0 9px;
  font-size: 12px;
  line-height: 18px;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  white-space: pre;
  white-space: pre-wrap;
  word-break: break-all;
}
pre code {
  padding: 0;
  background-color: transparent;
}
abbr {font-variant:small-caps;}
cite {font-family:Georgia, Times, "Times New Roman", serif; font-style:italic; color:#999;}
cite em {font-style:normal;}


/* ====================
   LAYOUT & PAGE TOP
   --------------------
*/
#page-container {width:960px; margin:0 auto;}
#page-top {position:relative; margin-bottom:40px;}
#title h1 {height:180px; position:relative; font-family:"Arial Black", "Helvetica Neue", Impact, Helvetica, Arial, sans-serif; font-size:4.8em; margin:0; padding:0;}
#title h1 .in {position:absolute; bottom:0; display:block; padding:10px 20px 5px 20px;}
#title h1 a {display:block; height:180px; text-decoration:none;}
#title p { margin:0; padding:5px 20px; font-size:1.4em; font-style:italic; font-family:Georgia, Times, "Times New Roman", serif;}
#logo {
	position:absolute;
	right:20px;
	top:65px;
	z-index:2;
}
body.allow-sidebar #main {width:600px;}
#main {padding:0 20px; min-height:300px;}
#sidebar-container {
	width:260px;
	padding:0 20px;
}
#page-bottom {
	clear:both;
	border-top: 1px solid #333;
	margin:30px 0;
	padding:10px;
	text-align:center;
	font-size:1.1em;
}

/* ====================
   SITEMENU 
   --------------------
*/
#sitemenu ul li {display:inline;}
#sitemenu ul li .in {background-color:#FFF;}
#sitemenu-container {position:absolute; top:0; width:960px; text-align:right; margin:0; padding:0; font-size:1.2em; text-transform:uppercase; height:45px;}
#title {padding-top:45px}
#sitemenu ul li .in {line-height:45px; height:45px;	display:inline-block; padding:0 8px;}
#sitemenu ul li ul li .in {height:auto !important; line-height:1.4em !important;}
#sitemenu {margin:0; text-align:right;}
#sitemenu a {color:#454545; text-decoration:none !important; white-space:nowrap;}
#sitemenu ul {margin:0;}
#sitemenu li {padding:0; margin:0; list-style-type:none;}
#sitemenu li li a {text-decoration:none; white-space:normal;}
#sitemenu ul {padding:0;}
#sitemenu a .in:hover {background-color:#EEE;}
li.currentParent > a {color:#999 !important;}

/* 2nd level
   -------------------- */
.hasSubmenu ul {
	top:30px !important;
	-webkit-box-shadow:none !important;
		-moz-box-shadow:none !important;
		box-shadow:none !important;
	border:1px solid #CCC !important;
}
#sitemenu ul li ul li .in {display:block; padding:8px 4px 8px 8px !important; border-bottom:none !important;}
#sitemenu ul li ul li .in:hover {}
ul .submenu-indicator {background-image:url(images/chevron-down.png) !important; margin-left:5px;}

/* 3rd level
   -------------------- */
.hasSubmenu ul li ul {
	-webkit-box-shadow:none !important;
		-moz-box-shadow:none !important;
		box-shadow:none !important;
	border:1px solid #CCC !important;
	top:5px !important;
}
#sitemenu li.currentPage {color:#999;}
#sitemenu li.currentPage .in {}
ul ul .submenu-indicator {background-image:url(images/chevron-right.png) !important; top:10px !important;}


/* ====================
   PAGELETS 
   --------------------
*/
.pagelet {margin:0 0 20px 0; padding-bottom:10px;	overflow:hidden; word-break:break-word;}
.pagelet h4 {padding:14px 0; border-top:4px solid #EEE; border-bottom:1px solid #EEE;}
.pagelet p, .pagelet li {font-size:1.2em !important;}
.pagelet p {margin-top:0;}
.bordered {
	border: 1px solid #DDD;
	-webkit-box-shadow:0 2px 2px #CCC;
		-moz-box-shadow:0 2px 2px #CCC;
		box-shadow:0 2px 2px #CCC;
	padding:0 15px 10px 15px;
}
.bordered h4 {border-top:none;}
.bordered.untitled {padding-top:14px;}
.caption {
	font-family:Georgia, Times, "Times New Roman", serif;
	font-style:italic;
	text-align:center;
	padding-left:15px;
	padding-right:15px;
}
.pagelet img {margin-bottom:10px;}
.pagelet .rssBadge img {margin:0 5px 0 0;}

/* Sidebar pagelets
   --------------------
*/
#sidebar p, #sidebar li {line-height:1.6em;}

/* Callout pagelets
   --------------------
*/
.callout-container {
	width:260px;
	float:right;
	margin-left:20px;
}
#main .pagelet h4 {text-align:center;}


/* ====================
   MAIN BODY 
   --------------------
*/
#main p, #main li {
	font-size:1.4em;
	line-height:1.6em;
}
body.no-sidebar #main h2 {text-align:center;}
.article .article {border-bottom:1px dashed #CCC;}
.article .article.last-item {border-bottom:none;}
.article h3, .article .article h2 {margin-top:20px;}

/* Collection - template 3
   --------------------
*/
.dli1 {width:100px;}
.dli2 {width:25%; text-align:center;}
.dli1, .dli2, .dli3, .dli4 {vertical-align:top;}
.dli1, .dli2, .dli4 {padding-top:12px;}
.dli2 h3 {font-size:1.4em; margin-top:0;}
.dli3 {font-size:0.9em;}
.dli4 .timestamp {color:#999; padding:0 0 0 12px; border:none;}
.dli4 .article-info {margin-top:0; padding:0;}

/* Collection - template 5
   --------------------
*/
.article-thumbnail {margin-right:20px; float:left;}
.article-thumbnail img {
	border:10px solid #FFF;
	-webkit-box-shadow:0 2px 2px #CCC;
		-moz-box-shadow:0 2px 2px #CCC;
		box-shadow:0 2px 2px #CCC;
}
.article-thumbnail img:hover {
	box-shadow:0 3px 3px #999;
	-webkit-transition:all 0.2s ease;
		-moz-transition:all 0.2s ease;
		-ms-transition:all 0.2s ease;
		transition:all 0.2s ease;
}

/* Article bottom
   --------------------
*/
.article-info {font-size:1.1em; margin-top:20px; padding:20px 0 10px 0; clear:both; text-align:right;}
.continue-reading-link {margin-bottom:15px;}
.continue-reading-link:before {content:"\21E2"; padding-right:5px; color:#454545;}
.timestamp {color:#999; display:inline; padding:3px 8px; border-radius:15px; border: 1px solid #EEE;}
.timestamp a {color:#999; text-decoration:none;}
.timestamp a:hover {color:#454545; text-decoration:none;}


/* ====================
   BLOCKQUOTES 
   --------------------
*/
blockquote {
	font-family:Georgia, Times, "Times New Roman", serif; font-style:italic; color:#999;
	padding:0 40px 0 50px; margin:20px 0; min-height:27px;
	background:url(images/quotes-open.png) 0 0 no-repeat, url(images/quotes-close.png) bottom right no-repeat;
}
blockquote em {font-style:normal;}


/* ====================
   NAVIGATION
   --------------------
*/

/* Photo navigation
   --------------------
*/
.photo-navigation {height:50px;}
.photo-navigation .previous-page a,
.photo-navigation .next-page a,
.photo-navigation .collection-index a {
	display:block;
	height:30px;
	text-indent:-9999px;
	overflow:hidden;
	border:1px solid #FFF;
	border-radius:5px;
}
.photo-navigation .previous-page a:hover,
.photo-navigation .next-page a:hover,
.photo-navigation .collection-index a:hover {
	border: 1px solid #EEE;
	-webkit-transition:all 0.2s ease;
		-moz-transition:all 0.2s ease;
		-ms-transition:all 0.2s ease;
		transition:all 0.2s ease;
}
/* with no sidebar
   .................... */
.no-sidebar .photo-navigation .previous-page a {background:url(images/arrows.png) 142px -48px no-repeat #FFF;}
.no-sidebar .photo-navigation .next-page a {background:url(images/arrows.png) 142px 2px no-repeat #FFF;}
.no-sidebar .photo-navigation .collection-index a {background:url(images/arrows.png) 142px -94px no-repeat #FFF;}
.no-sidebar .photo-navigation .previous-page {width:306px; float:left;}
.no-sidebar .photo-navigation .next-page {width:306px; float:right;}
.no-sidebar .photo-navigation .collection-index {width:308px; float:left;}

/* with sidebar
   .................... */
.allow-sidebar .photo-navigation .previous-page a {background:url(images/arrows.png) 87px -48px no-repeat #FFF;}
.allow-sidebar .photo-navigation .next-page a {background:url(images/arrows.png) 87px 2px no-repeat #FFF;}
.allow-sidebar .photo-navigation .collection-index a {background:url(images/arrows.png) 87px -94px no-repeat #FFF;}
.allow-sidebar .photo-navigation .previous-page {width:200px; float:left;}
.allow-sidebar .photo-navigation .next-page {width:200px; float:right;}
.allow-sidebar .photo-navigation .collection-index {width:200px; float:left;}

/* Text navigation
   --------------------
*/
.text-navigation {
	font-size:1.2em;
	font-family:Georgia, Times, "Times New Roman", serif;
	font-style:italic;
	border-bottom:1px solid #EEE;
}
.text-navigation a:link, .text-navigation a:visited {color:#CCC;}
.text-navigation .collection-index a:before {content:"\21A9"; padding-right:5px;}
.text-navigation .previous-page,
.text-navigation .next-page,
.text-navigation .collection-index {display:block; text-align:right; margin:0;}

/* ====================
   GRID
   --------------------
*/
body.no-sidebar #main .gridItem {width:200px; margin:21px 15px;}
body.allow-sidebar #main .gridItem {width:176px; margin:5px 24px 25px 0;}
#main .gridItem {float:left; position:relative; height:188px; overflow:hidden; word-break:break-word; text-align:center; padding: 4px 0;}
#main .gridItem h3 {font-size:1.1em; line-height:1.2em; font-weight:normal; padding: 0 6px 0 6px; margin-top:10px;}
#main .gridItem h3 a {display:block;}
#main .gridItem img {
	border:10px solid #FFF;
	-webkit-box-shadow:0 3px 4px #CCC;
		-moz-box-shadow:0 3px 4px #CCC;
		box-shadow:0 3px 4px #CCC;
}
#main .gridItem:hover img {
	-webkit-box-shadow:0 2px 6px #AAA;
		-moz-box-shadow:0 2px 6px #AAA;
		box-shadow:0 2px 6px #AAA;
}
#main .gridItem h3 a,
#main .gridItem img,
#main .gridItem:hover img,
#main .gridItem:hover h3 a {
	-webkit-transition:all 0.3s ease;
		-moz-transition:all 0.3s ease;
		-ms-transition:all 0.3s ease;
		transition:all 0.3s ease;
}

.photogrid-index-bottom {clear:both;}

/* Grid inside the sidebar
   --------------------
*/
#sidebar .gridItem {
	width:200px;
	margin:0 auto 10px auto;
	border: 1px solid #EEE;
	border-radius:10px;
	padding:10px 0;
	overflow:hidden; word-break:break-word;
	text-align:center;
}
#sidebar .gridItem:hover {border: 1px solid #DDD;}
#sidebar .gridItem h3 {
	font-size:1.1em;
	line-height:1.2em; 
	font-weight:normal; padding: 0 6px 0 6px;
	margin-top:10px;
}
#sidebar .gridItem h3 a {display:block; color:#999 !important;}
#sidebar .gridItem:hover h3 a {color:#454545 !important;}
#sidebar .gridItem:hover img {box-shadow:0 2px 2px #CCC;}
#sidebar .gridItem:hover h3 a, #sidebar .gridItem:hover img {
	-webkit-transition:all 0.3s ease;
		-moz-transition:all 0.3s ease;
		-ms-transition:all 0.3s ease;
		transition:all 0.3s ease;
}

/* ====================
   FORMS
   --------------------
*/
form {
	padding: 19px; margin-bottom: 20px; border: 1px solid #eee;
	-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
		-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
label {cursor: pointer;}
input, textarea, select {font-size:1.2em;}
input[type=text], input[type=email], textarea {
	padding: 4px; margin-bottom: 9px; border: 1px solid #ccc; color:#454545;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);	
	-webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
		-moz-transition: border linear 0.2s, box-shadow linear 0.2s;
		-ms-transition: border linear 0.2s, box-shadow linear 0.2s;
		-o-transition: border linear 0.2s, box-shadow linear 0.2s;
		transition: border linear 0.2s, box-shadow linear 0.2s;
	border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
}
select {
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	max-width: 200px;
	background-color: #ffffff;
	height: 28px;
	/* In IE7, the height of the select element cannot be changed by height, only font-size */
	*margin-top: 4px;
	/* For IE7, add top margin to align select with labels */
	line-height: 28px;
	display: inline-block;
	padding: 4px;
	margin-bottom: 9px;
	color: #555555;
	border: 1px solid #ccc;
	-webkit-border-radius: 3px;
		-moz-border-radius: 3px;
		border-radius: 3px;
	margin: 0;
	vertical-align: middle;
}
input[type=submit] {
	display: inline-block;
	padding: 4px 10px 4px;
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.4em;
	color: #333333;
	text-align: center;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
	background-color: #fafafa;
		background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
		background-image: -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
		background-image: -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-image: linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
		background-repeat: no-repeat;
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
	border: 1px solid #ccc;
	border-bottom-color: #bbb;
	-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
		border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
		-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
	cursor: pointer;
	*margin-left: .3em;
}
input[type=submit]:first-child {
	*margin-left: 0;
}
input[type=submit]:hover {
	color: #333333;
	text-decoration: none;
	background-color: #e6e6e6;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
		-moz-transition: background-position 0.1s linear;
		-ms-transition: background-position 0.1s linear;
		-o-transition: background-position 0.1s linear;
		transition: background-position 0.1s linear;
}
input[type=submit]:focus {
	outline: thin dotted;
	outline: 5px auto -webkit-focus-ring-color;
	outline-offset: -2px;
}
input[type=submit].active, input[type=submit]:active {
	background-image: none;
	-webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
		-moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
		box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
	background-color: #e6e6e6;
	background-color: #d9d9d9 \9;
	color: rgba(0, 0, 0, 0.5);
	outline: 0;
}
form table {font-size:1.4em;}
td[colspan="2"] {text-align:center;}
#main input[type=text], #main input[type=email] {max-width:260px;}
body.no-sidebar #main form {padding:19px 40px;}
#sidebar form.labelsOnSide {font-size:0.8em !important;}

/* ====================
   SITEMAP
   --------------------
*/
.wide .sitemap a {display:block;}
.wide .sitemap .figure-content {padding:5px 10px; margin:0;	border:1px solid #DDD; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
.wide .sitemap .figure-content p {margin:5px 0;}
.wide .sitemap ul {padding:5px 10px; list-style-type:none; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
.wide .sitemap li {margin-left:10px; padding-left:10px; border-left:10px solid #FFF;}
.wide .sitemap li:hover {border-left:10px solid #EEE;}
.wide .sitemap li li:hover {border-left:10px solid #DDD;}
.wide .sitemap li li li:hover {border-left:10px solid #CCC;}

/* ====================
   WIDGETS
   --------------------
*/
.flickr_badge_image {width:100px;}

/* ====================
   IE FIXES
   --------------------
*/
*+html .hasSubmenu ul {top:45px !important;}
*+html ul .submenu-indicator {width:20px !important;}
*+html #title h1 {z-index:-2;}
*+html #logo {z-index:-1;}

/* -------------------------------------------- *
   -- Hydrogen --
   -- Left-Sidebar variation --
   -------------------------------------------- */

/* ====================
   SIDEBAR
   --------------------
*/
body.allow-sidebar #main {float:right;}
#sidebar-container {float:left;}

.callout-container, .graphic-container { clear:right; }

body.has-custom-banner #title h1 { background-image: url("banner.png"); }

