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

/* General */
body {font-size: 76%; margin:0; padding:0; background-color:#FFF; font-family:Georgia, "Times New Roman", Times, serif;}
table { font-size:90%;}
dl {font-family: "Monaco", Courier, "Courier New", monospace;}
pre {overflow:scroll;}
.clear {clear: both; height: 0;}
.hidden {display:none;}

/* Links */
a {text-decoration:none;}
a:link, a:visited {color:#000;}
a:hover, a:active {color:#999;}
h1 a:link, h1 a:visited {color:#000; border-bottom:1px solid #FFF; }
h1 a:hover, h1 a:active {color:#000; border-bottom:1px dotted #000;}
#sitemenu-content a:link, #sitemenu-content a:visited {color:#000; border-bottom:1px solid #FFF;}
#sitemenu-content a:hover, #sitemenu-content a:focus, #sitemenu-content a:active {color:#000; border-bottom:1px dotted #000;}
#sidebar .pagelet a:link, #sidebar .pagelet a:visited {color:#333;}
#sidebar .pagelet a:hover, #sidebar .pagelet a:active {color:#000; border-bottom:1px solid #000;}
#page-content a:link, #page-content a:visited  {color:#000; }
#page-content a:hover, #page-content a:active {color:#999; }
.article p a {padding-left:14px; background:url(arrow.png) 2px 2px no-repeat; border-bottom:1px dotted #000;}
.text-navigation a {display:block;}
.listing-index li h3 a {text-decoration:none; }

/* Page */
#page-container { padding:0; width:770px; margin:0 auto;}
#page {padding:0;}
#page-top {	padding:0; margin:0; border-bottom:3px solid #000; }
#page-content {border-top:1px solid #000; margin:1px 0 0 0; padding:0;}
#page-bottom {padding:20px 10px 10px 10px; margin-top:0px; clear:both; text-align:center; color:#999; font-size:90%; clear:both;}

/* Header */
#title {height:150px; padding:0; margin:0; border-top:1px solid #FFF; overflow:hidden;}
h1 {padding:50px 0 0 10px; margin:0; font-size:250%;}
#title p {padding:0 0 0 10px; margin:0; font-size:120%;}
#title img { float:right; margin:10px 20px 0 0 ; padding:0; }

/* Sitemenu */
#sitemenu {height:40px; text-align:right; padding:0; margin:0; overflow:hidden; margin-bottom:1px;}
#sitemenu-content {padding:12px 0 0 0; margin:0;}
#sitemenu-content ul {display:inline; margin:0;}
#sitemenu-content li {display:inline; margin:0 0 0 2px;	padding: 5px 0 5px 10px; }
#sitemenu-content li:before {content:"\00BB \0020";}
.currentPage {color:#999;}

/* Sidebar */
#sidebar {width:230px; float:left; padding:0; margin:0;}
#sidebar .pagelet {width:230px; word-wrap:break-word; overflow:hidden; margin:0 0 15px 0; padding:10px 10px 36px 10px; line-height:1.3em; background:url(sep.png) bottom 85px no-repeat;}
#sidebar .pagelet h4 {font-size:140%; padding:0 0 10px 0; margin:0; }
#sidebar li {font-size:100%; list-style-type:square;}
#sidebar .last-item {background-image:none !important;}
#sidebar .bordered {border:1px solid #333 !important; padding:10px !important; margin-top:20px; background-image:none !important;}
.pagelet-body p, .elementIntroduction p {padding-top:0; margin-top:0;}
.caption {padding-top:5px;}

/* 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;}

h2 {margin:0; padding:10px 0 10px 0; font-size:180%; }
.article {padding-bottom:20px;}
.article-summary p:first-line { font-variant: small-caps; font-size:130%;}
.article h3 {margin:0; padding:10px 0 10px 0; font-size:140%; }
.article h3 a:link, .article h3 a:visited { color:#000;}
.article h3 a:hover, .article h3 a:active { color:#000 !important; border-bottom:1px dotted #000;}
.article-thumbnail {float:left; padding-right:5px;}
.article p {line-height:150%; margin:0; padding:0 0 10px 0;}

#main p, #main ul {color:#333;}
.elementIntroduction {clear:both;}
.listing-index ul li {font-size:100%;}
.timestamp {font-family:"Monaco", Courier, "Courier New", monospace; text-align:right; clear:both; padding:3px 6px; color:#999; border-right:10px solid #CCC; }
.js-kit-comments {color:#333;}

/* Callouts */
.callout {padding:0 0 5px 10px; margin:0; width:220px; float:right;}
#main .pagelet {word-wrap:break-word; margin:0; padding:0 10px; border-bottom:1px solid #CCC;}
#main .bordered {background-color:#EEE;}
#main .pagelet h4 {font-size:140%; padding:5px 0; margin:0; color:#666;}
#main .pagelet-body p, #main .elementIntroduction p {line-height:140%;}
#main .pagelet-body p {padding-top:0; margin-top:0;	color:#666 !important;}
.pagelet-body ul {margin:0; padding:0 0 0 15px;}

/* 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 */
#index {padding:0; 	margin:0;}
.gridItem {float:left;	position:relative;	width:150px; height:188px; overflow:hidden;	margin:0 4px 4px 0;	text-align:center; padding: 4px 3px; border: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 {margin: auto!important; display:block; position: absolute; top: 0; bottom: 48px; right: 0; left: 0;}

/* Navigation */
.collection-navigation {height:70px; }
.text-navigation .previous-page, .text-navigation .next-page, .text-navigation .collection-index {display:block; text-align:right;}

.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) 1px 1px no-repeat;}
.photo-navigation .next-page .imageLink {background: url(next.png) 0 0 no-repeat;}
.photo-navigation .next-page .imageLink:hover {background: url(next.png) 1px 1px  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) 1px 1px no-repeat;}
.photo-navigation div, .photo-navigation a:link, .photo-navigation a:visited {display:block; float:left; width:50px; height:50px; 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;}
* html .clear {display:none;}
* html #sitemenu a:hover {text-decoration:underline;}