/* 
White Rabbit Design for Sandvox
http://www.behindtherabbit.com/sandvox/white-rabbit/
Version 1.2.3

CSS created by Cristiano Maria Gaston - BehindTheRabbit
http://www.behindtherabbit.com/
Released under Creative Commons License
http://creativecommons.org/licenses/by-sa/3.0/
Based on an original design by Karelia Software - http://www.karelia.com/
*/

/* General */
body {font-size: 76%; margin:0; padding:0; background-color:#FFF; font-family:Arial, Helvetica, sans-serif;}
table { font-size:90%;}
li {list-style-image:url(bullet.png);}
dl {font-family: "Monaco", Courier, "Courier New", monospace;}
pre {overflow:scroll;}
.clear {clear: both; height: 0;}
.hidden {display:none;}

h1, #title p {font-family:"Avant Garde", "Century Gothic", Arial, Helvetica, sans-serif; font-weight:normal;}
h2, h3, h4 {color:#333;}

/* Header */
#page-container { padding:0; width:770px; margin:0 auto; }
#page {padding:0;}
#page-top {	padding:0; margin:0; }
#title {height:150px; padding:0; margin:0; border-top:1px solid #FFF; overflow:hidden; background-repeat:no-repeat; background-position: 0 0;}
h1 {padding:40px 40px 0 0; color:#3B98E5; margin:0; font-size:230%;}
h1 a {text-decoration:none; color:#3B98E5;}
h1, h1 a:link, h1 a:visited {text-shadow:#3B98E5 0 1px 3px;}
h1 a:hover, h1 a:active {text-shadow:#CCC 0 0 4px;}
#title img { float:right; margin:10px 20px 0 0 ; padding:0; }
#title p {padding:0 20px 0 0; color:#3B98E5; font-size:120%;}

.has-custom-banner #page-top h1 {display:none;}
.has-custom-banner #page-top p {display:none;}

/* Sitemenu */
#sitemenu {height:40px; text-align:right; padding:0; margin:0; overflow:hidden;}
#sitemenu-content {padding:12px 0 0 0; margin:0;}
#sitemenu-content ul {margin:0;	padding:0 0 14px 0;}
#sitemenu-content li {display:inline; margin:0 0 0 2px;	padding: 5px 0 5px 10px; border-bottom:5px solid #3B98E5; }
#sitemenu-content a { text-decoration:none;}
#sitemenu-content a:link, #sitemenu-content a:visited { color:#3B98E5; }
#sitemenu-content a:hover, a:focus, a:active {color:#E53B6F;}
.currentPage {color:#E53B6F; border-bottom:5px solid #E53B6F !important;}

/* Sidebar */
#sidebar {width:230px; float:left; padding:20px 0 0 0; margin:0;}
#sidebar .pagelet {width:230px; word-wrap:break-word; overflow:hidden; margin:0 0 2px 0; padding:10px; font-family:Arial, Helvetica, sans-serif; border:1px solid #EEE; color:#333; font-size:90%; line-height:1.3em;}
#sidebar .pagelet h4 {font-size:140%; padding:0 0 10px 0; margin:0;}
#sidebar .bordered {border:1px solid #CCC !important; background-color:#EEE;}

/* Main Content */
body.no-sidebar #main {padding:10px 0; min-height:400px; }
body.allow-sidebar #main {float:right; width:490px; padding:10px 0 0 0; min-height:400px;}
#page-content a:link, #page-content a:visited  {color:#3B98E5; text-decoration:none; }
#page-content a:hover, #page-content a:active {color:#3B98E5; text-decoration:underline; }
h2 {margin:0; padding:10px 0 10px 0; text-shadow:#999 2px 2px 4px; font-size:180%; }
.article {padding-bottom:30px;}
.article .narrow img {float:right; padding:0 0 5px 5px; margin:0;}
.article h3 {margin:0; padding:10px 0 10px 0; font-size:140%; }
.article h3 a:link, .article h3 a:visited { color:#3B98E5; text-decoration:none;}
.article h3 a:hover, .article h3 a:active { color:#E53B6F !important; text-decoration:underline;}
.article-thumbnail {float:left; padding-right:5px;}
.article p {line-height:150%; color:#333; margin:0; padding:0 0 10px 0; }
#main p, #main ul {color:#333;}
.elementIntroduction {clear:both;}
.listing-index ul li {font-size:100%; list-style-image:url(bullet.png);}
.listing-index li h3 a {text-decoration:none; }
.timestamp {font-family:"Monaco", Courier, "Courier New", monospace; text-align:right; clear:both; padding:10px 0; color:#999;}
.js-kit-comments {color:#333;}

/* Pagelets and callouts */
.callout {padding:0 0 5px 10px; margin:0; width:220px; float:right;}
#main .pagelet {word-wrap:break-word; margin:0 0 10px 0; padding:10px;}
#main .pagelet h4 {font-size:140%; padding:3px; margin:0 0 10px 0; text-shadow:#999 1px 1px 2px;}
#main .bordered {word-wrap:break-word; margin:0 0 10px 0; padding:10px; background-color:#EEE; border-bottom:1px solid #CCC; border-right:1px solid #CCC;}
#main .bordered h4 {font-size:140%; padding:3px; margin:0 0 10px 0; background-color:#FFF; border-top:1px solid #CCC; border-left:1px solid #CCC; text-shadow:#999 1px 1px 2px;}
.pagelet-body p, .elementIntroduction p {padding-top:0; margin-top:0;}
.pagelet-body ul {margin:0; padding:0 0 0 15px;}

/* Footer */
#page-bottom {padding:20px 10px 10px 10px; margin-top:0px; clear:both; text-align:center; color:#CCC; font-size:90%; clear:both;}
#page-bottom a:link, #page-bottom a:visited {color:#999; text-decoration:none;}
#page-bottom a:hover, #page-bottom a:active {color:#999; text-decoration:underline;}

/* Images */
.ImageElement, .VideoElement { text-align:center;}
.ImageElement p, .VideoElement p { margin:auto; }
img {border:none;}
img.narrow {display:block; float:right; clear:right; margin-left:10px;}
img.wide {display:block;clear:both;}

/* Grids */
.allow-sidebar #index {padding:0; 	margin:0;}
.no-sidebar #index {padding-left:50px; 	margin:0;}
.gridItem {float:left;	position:relative;	width:150px; height:188px; overflow:hidden;	margin:0 4px 4px 0;	background-color:#EEE; text-align:center; padding: 4px 0; border-right:1px solid #CCC; border-bottom:1px solid #CCC;}
.gridItem h3 {	font-size:0.9em; font-weight:normal; padding: 0 4px;text-align:center; position:absolute; top:140px; width:138px;}
.gridItem img {border: 1px solid #222; margin: auto!important; display:block; position: absolute; top: 0; bottom: 48px; right: 0; left: 0;}

/* Navigation */
.collection-navigation {height:60px; }
.text-navigation {border-bottom:1px solid #CCC;}
.text-navigation .previous-page, .text-navigation .next-page, .text-navigation .collection-index {display:block; text-align:right;}
.text-navigation a { display:block;}
.photo-navigation {width:150px; margin:0 auto; }
.photo-navigation .previous-page .imageLink { background: url(previous.png) 0 0 no-repeat;}
.photo-navigation .previous-page .imageLink:hover { background: url(previous.png) -100px 0 no-repeat;}
.photo-navigation .next-page .imageLink {background: url(next.png) top left no-repeat;}
.photo-navigation .next-page .imageLink:hover {background: url(next.png) -100px 0 no-repeat;}
.photo-navigation .collection-index .imageLink {background: url(list.png) 0 0 no-repeat;}
.photo-navigation .collection-index .imageLink:hover {background: url(list.png) -100px 0 no-repeat;}
.photo-navigation div, .photo-navigation a:link, .photo-navigation a:visited {display:block; float:left; width:50px; height:60px; line-height:60px; text-indent: -9999px;}

/* IE Hacks */
* html .gridItem {margin:0 2px 4px 0;}
* html .gridItem img {position: relative;}
* html .gridItem h3 {position: relative; top: 0px;}