/* 
   css Copyright © 2005-2011 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;
}
.narrow.right {
    float:right!important;
    clear:right;
}

.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 { text-align:left; }
.ImageElement.center { text-align:center; }
.ImageElement.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; }

/* 
-- Carbone --
v2.0
A Design for Sandvox created by BehindTheRabbit
http://www.behindtherabbit.com/
*/

@import url("colors.css");

body {font-size: 76%; margin:0; padding:0; background-color: #333; font-family:"Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Arial, Helvetica, sans-serif; color:#333;}
h4 {font-size:1.2em; line-height:1.4em;}
ul {line-height:1.4em;}
img {border:none;}
img.narrow {display:block;float:right; clear:right; margin-left:10px;}
img.wide {display:block;clear:both;}
table { font-size:90%;}
dd, dl, pre {font-family: Courier, "Courier New", monospace; font-size:1.2em;}
pre {overflow:scroll;}
* html pre {padding:5px 10px; width:480px;}

.clear {clear: both; height: 0;}
.hidden {display:none;}
.timestamp {color:#999; font-family: "Monaco", Courier, "Courier New", monospace; text-align:right; margin:10px 0 20px 0; padding:0; clear:both;}
.video {margin:10px 0; padding:0;}
.js-kit-comments {color:#333;}
.ImageElement, .VideoElement { text-align:center;}
.Download-index a, .listing-index a {text-decoration:none;}
.Download-index .article-summary {font-size:1em;}
.sitemap-page a {text-decoration:none;}

#page-container {background:url(bg.png) 0 0 repeat-y; padding:0; width:920px; margin:0 auto;}
#page {background:url(header.png) 0 0 no-repeat;}
#title {padding:0; overflow:hidden; height:150px; margin:0 10px;}
* html #title {margin:0 5px;}
.has-custom-banner #title {background-position: 0 0; background-repeat:repeat-x;}
#title img { float:right; margin:10px 10px 0 0; padding:0; }
#title p {font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; padding:0 26px 0 26px; margin:0; font-size:1.2em; color:#FFF; text-shadow:0 0 2px #FFF;}
h1 {font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; font-size:2.8em; font-weight:normal; padding: 36px 26px 0 26px; color: #FFF; margin:0; text-shadow:0 0 3px #FFF;}
h1 a {color:#FFF; text-decoration:none;}
#sitemenu-container {background:url(sitemenu.png) 0 0 no-repeat; height:50px; padding:0; color:#999;}
#sitemenu-content ul {font-family:"Lucida Grande", Arial, Helvetica, sans-serif; text-shadow:1px 2px 1px #000; margin:0; padding:16px 26px 0 36px;}
#sitemenu-content li {display:inline; margin:0; padding:0 16px 0 0; list-style-type:none;}

#sidebar-container {width:274px; float:left; padding:30px 0 0 20px; margin:0 0 10px 0; line-height:1.8em;}
#sidebar-content {border-right:1px solid #DDD;}
#sidebar .pagelet {width:240px; padding:10px; word-wrap:break-word; overflow:hidden; margin:0 0 20px 0;}
#sidebar .bordered {border:1px solid #CCC; background:none; padding:10px; -webkit-box-shadow: 0 2px 2px #CCC; -moz-box-shadow: 0 2px 2px #CCC;}
#sidebar .pagelet h4 {margin:0 0 15px 0; padding:0; text-align:center;}
#sidebar ul {margin:10px 0 10px 20px; padding:0;}
#sidebar li {margin:0; padding:0;}

#main {min-height:450px; padding-top:30px;}
body.no-sidebar #main {padding:40px 80px;}
body.allow-sidebar #main {width:550px; float:right; padding-right:40px;}
#main-content {padding:0 0 20px 0;}
#main-content h2 {font-size:2.5em; margin:0; padding:0 0 10px 0;}
.article-content, .article-summary, .no-callouts {line-height:2.1em;}
.article h3 {font-size:2em; margin:0; padding:30px 0 10px 0; clear:both;}
.article h3 a:link, .article h3 a:visited {color:#333 !important; text-decoration:none !important;}
.article h3 a:hover, .article h3 a:active {color:#333 !important; text-decoration:underline !important;}
.article-thumbnail {float:left; margin-right:10px;}
.pagelet-body p, .callout-body p, .pagelet-body ul, .callout-body ul {font-size:0.9em !important;}
.pagelet-body p, .callout-body p {line-height:1.8em;}
.pagelet-body p {margin:10px 0; padding:0;}
.callout-container {width:250px; float:right; padding:0 0 0 20px;}
.callout ul {padding:0 20px;}
#main .pagelet {width:228px; word-wrap:break-word; overflow:hidden; margin:0 0 20px 0; padding:10px 5px 30px 5px; background:url(pagelet-bottom.png) bottom left no-repeat;}
#main .bordered {border:1px solid #DDD; background:none; -webkit-box-shadow: 0 2px 2px #CCC; -moz-box-shadow: 0 2px 2px #CCC; padding:10px;}
#main .pagelet h4 {margin:0 0 10px 0; padding:0; text-align:center;}
#main .pagelet-body .ImageElement {padding:5px 0 10px 0;}
.bordered p {padding-left:6px; padding-right:6px;}

.gridItem {float:left;	position:relative; width:176px; height:188px; overflow:hidden;	margin:0 4px 4px 0; text-align:center; padding: 4px 0;
border:1px solid #CCC; -webkit-border-radius:5px; -moz-border-radius:5px; -webkit-box-shadow:0 1px 1px #999; -moz-box-shadow:0 1px 1px #CCC;}
* html .gridItem {margin:0 2px 4px 0;}
.gridItem a {text-decoration:none;}
.gridItem h3 {font-size:0.9em; line-height:1.8em; font-weight:normal; padding: 0 4px; text-align:center; position:absolute; top:140px; width:168px;}
* html .gridItem h3 {position: relative; top: 0px;}
.gridItem img {margin: auto!important; display:block; position: absolute; top: 0; bottom: 48px; right: 0; left: 0;}
* html .gridItem img {position: relative;}

.collection-navigation {clear:both;}
.text-navigation {font-size:0.9em; padding:10px 0 20px 0;}
.text-navigation .previous-page, .text-navigation .next-page, .text-navigation .collection-index {display:block; text-align:right; border-right:4px solid #DDD; padding:2px 5px 2px 2px; margin-bottom:1px;}
.text-navigation a:link, .text-navigation a:visited { text-decoration:none;}
.text-navigation a:hover, .text-navigation a:active { text-decoration:underline;}

.photo-navigation {width:150px; margin:10px auto 0 auto; height:35px;}
.photo-navigation .previous-page { background: url(arrows.png) -50px -24px no-repeat;}							
.photo-navigation .previous-page .imageLink { background: url(arrows.png) -50px 0 no-repeat;}
.photo-navigation .previous-page .imageLink:hover { background: url(arrows.png) -51px 1px no-repeat;}
.photo-navigation .next-page { background: url(arrows.png) 0 -24px no-repeat;}
.photo-navigation .next-page .imageLink { background: url(arrows.png) 0 0 no-repeat;}
.photo-navigation .next-page .imageLink:hover { background: url(arrows.png) 1px 1px no-repeat;}
.photo-navigation .collection-index .imageLink { background: url(arrows.png) -100px 0 no-repeat;}
.photo-navigation .collection-index .imageLink:hover { background: url(arrows.png) -101px 1px no-repeat;}
.photo-navigation div,
.photo-navigation a:link,
.photo-navigation div, .photo-navigation a:link, .photo-navigation a:visited {display:block; float:left; width:50px; height:25px; text-indent: -9999px;}

.elementIntroduction {clear:both;}
.elementIntroduction p {margin:0;}
.photo-page .elementIntroduction {margin-bottom:20px;}
.photo {margin:10px 0;}
.pagelet img.imgelement {padding:0 !important;}
.caption p {margin:0 0 10px 0;}
#page-bottom {background:url(footer.png) 0 0 no-repeat #333; color:#999; font-size:0.9em; clear:both; text-align:center; margin:0; padding:40px 20px 20px 20px;}
#page-bottom a {color:#CCC;}
#page-bottom a:link, #page-bottom a:visited {text-decoration:none;}
#page-bottom a:hover, #page-bottom a:active {text-decoration:underline;}

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

