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

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

textarea.fullWidth, input.fullWidth, select.fullWidth {
	width:96%;
	margin:4px 0;
}
textarea.fullWidth, select.fullWidth {
	margin: 4px 1px
}

form.contactElement input.submit {
	width:auto;
	display:block;
	margin-left:auto;
	margin-right:2%;
}
form.contactElement th {
	text-align:right;
	font-weight:normal;
	width:25%;
}

.contactError { color:red; font-weight:bold; }

/* Contact Element For IE 7 */
*:first-child+html form.contactElement input.submit {
	padding:0px 10%;
	min-width: 0px;
}

textarea {
    resize: vertical;
}

form.contactElement p {
	text-align: left;
}

/* 
-- Grafite --
v2.0.6 (206)
A Design for Sandvox created by BehindTheRabbit
http://www.behindtherabbit.com/
*/

/* Layout */
body {font-size: 76%; margin:0; padding:0 0 20px 0; background-color: #111; font-family:"Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Arial, Helvetica, sans-serif; color:#FFF;}
#page-container {margin:0 auto; padding:0; width:900px;}
#page {background-color:#222;}
#title img { float:right; margin:10px 10px 0 0; padding:0; }
h1 {font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; font-size:3em; font-weight:normal; padding: 36px 30px 0 30px; margin:0;}
h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {text-decoration:none; color:#FFF;}
#title p {font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; padding:0 30px; margin:0; font-size:1.4em;}
#page-bottom {text-align:center; color:#999; font-size:0.9em; padding: 20px; margin-bottom:20px; clear:both;}
#page-bottom a {color:#FFF;}
#page-bottom a:link, #page-bottom a:visited {text-decoration:none;}
#page-bottom a:hover, #page-bottom a:active {text-decoration:underline;}

/* Tags, elements, classes... */
.clear {clear: both; height: 0;}
.hidden {display:none !important;}
img {border:none;}
.right {margin-left:20px;}
.left {margin-right:20px;}
img.graphic {display:block !important;}
.ImageElement, .center.VideoElement { text-align:center;}
dd, dl, pre {font-family: Courier, "Courier New", monospace; font-size:1.2em;}
pre {overflow:scroll;}
* html pre {padding:5px 10px; width:480px;}
table { font-size:100%;}
table h3 {font-size:1.2em !important; padding:5px 10px !important;}
.dli1 {width:15%;}
.dli2 {width:25%;}
/* specific for this design */
b, strong {letter-spacing:0.1em;}
a:link, a:visited {color:#6CF; text-decoration:none;}
a:hover, a:active {color:#CF6; text-decoration:underline;}

/* Sitemenu */
#sitemenu {background-color:#111; margin:0; color:#999; border-top:1px solid #000; border-bottom:1px solid #000; text-align:right;}
#sitemenu ul {margin:0;}
#sitemenu li {padding:0; margin:0; display:inline; list-style-type:none;}
#sitemenu a {text-decoration:none; white-space:nowrap;}
#sitemenu li li a {text-decoration:none; white-space:normal;}
#sitemenu .in {background:url(images/sitemenu-bg.png) 100px 100px repeat-x;}
#sitemenu .in:hover {background:url(images/sitemenu-bg.png) 0 0 repeat-x #9A9C9B; color:#000;}
/* fixes for IE7 */
*+html #sitemenu .in:hover {background:none !important; color:#FFF !important;}
*+html .hasSubmenu ul li ul {top:5px !important;}
*+html #sitemenu a:hover {text-decoration:underline !important;}
*+html .gridItem {border:none !important;}
.hasSubmenu ul {-webkit-box-shadow:2px 2px 3px #000 !important; -moz-box-shadow:2px 2px 3px #000 !important; box-shadow:2px 2px 3px #000 !important; border:1px solid #000 !important;}
#sitemenu ul li ul li .in {display:block; padding:8px 4px 8px 8px !important; background-color:#333 !important; text-shadow:1px 1px 2px #000; border-bottom-color:#222 !important;}
#sitemenu ul li ul li .in:hover {background:url(images/sitemenu-bg.png) 0 0 repeat-x #9A9C9B !important; text-shadow:2px 2px 2px #666; color:#000;}
#sitemenu li ul li a:link, #sitemenu li ul li a:visited {text-decoration:none;}
#sitemenu li ul li a:hover, #sitemenu li ul li a:active {text-decoration:none !important;}

ul li .submenu-indicator {margin-left:5px;}
ul li ul li .submenu-indicator {top:10px !important;}

/* Sidebar */
#sidebar-container {width:260px; float:left; padding:0; margin:0 0 10px 0;}

/* Main */
#main {min-height:450px; font-size:1.1em; line-height:2.0em;}
body.allow-sidebar #main {width:570px; float:right; padding:30px 40px 20px 0; margin:0;}
.callout-container {width:250px; float:right; padding:0 0 0 20px; margin:0 0 10px 0;}
#main-content h2 {font-size:2.6em; margin:0; padding:0 0 20px 0; font-weight:normal; text-shadow:0 4px 0 #000; font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; line-height:120%;}
#main-content h2 a {text-decoration:none !important;}
.article h3 {font-size:2em; padding:30px 0 10px 0; margin:0; clear:both; font-weight:normal; text-shadow:0 3px 0 #000; font-family:"Century Gothic", "Avant Garde", Arial, Helvetica, sans-serif; line-height:120%;}
.article h3 a:link, .article h3 a:visited {color:#FFF !important; text-decoration:none !important;}
.article h3 a:hover, .article h3 a:active {color:#6CF !important;}
.article-thumbnail {float:left; margin:18px 10px 0 0;}
.timestamp {color:#999; font-family: "Monaco", Courier, "Courier New", monospace; text-align:right; margin:10px 0 20px 0; padding:3px; clear:both;}

/* Pagelets */
.pagelet  {word-wrap:break-word; overflow:hidden; margin:0 0 20px 0; padding:20px;}
.pagelet h4 {margin:0 0 15px 0; padding:0 0 6px 0; font-size:120%; border-bottom:1px solid #444;}
.pagelet p {line-height:1.6em;}
.pagelet ul {line-height:1.4em; padding:0 20px; margin:0; }
.pagelet li {margin:0; padding:0;}
.bordered {
	color:#1F1F1F; background:url(images/pagelet-bg.png) 0 0 repeat-x #9A9C9B;
	border-top:1px solid #999; border-left:1px solid #999;  border-bottom:1px solid #646464; border-right:1px solid #646464;
	-webkit-box-shadow:2px 2px 2px #000; -moz-box-shadow:2px 2px 2px #000; box-shadow:2px 2px 2px #000;
	padding:10px;
	margin-bottom:0;
	}
.bordered h4 {text-shadow:0 1px 0 #BBB; margin-top:0; border-bottom:none;}
.bordered a {color:#333;}
.bordered p:first-child {margin-top:0;}
.bordered p:last-child {margin-bottom:0;}

/* Site Map */
.wide .sitemap a {text-decoration:none; display:block;}
.wide .sitemap .figure-content {
	padding:5px 10px; margin:0;	border:1px solid #454545;
	-webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;
	-webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; transition:all 0.3s ease;
	}
.wide .sitemap .figure-content:hover {
	border:1px solid #CCC;
	}
.wide .sitemap .figure-content p {margin:5px 0;}
.wide .sitemap ul {border:1px solid #222; padding:5px 10px; margin:0; list-style-type:none;
	-webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; transition:all 0.3s ease;
	-webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;
	}
.wide .sitemap ul:hover {border:1px solid #CCC;}

/* Form */
input[type=text], input[type=email], textarea {
	border:none;
	background-color:#FFF; font-size:120%; padding:5px;
	-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
	-webkit-box-shadow:0 2px 3px #999 inset; -moz-box-shadow:0 2px 3px #999 inset; box-shadow:0 2px 3px #999 inset;
	}
/* thanks to http://webdesignerwall.com/tutorials/css3-gradient-buttons for this nice styling */

input[type=submit] {
	min-width:25% !important; border: solid 1px #555;
	-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
	background-color: #6e6e6e; padding:6px; font-size:100%; font-weight:bold; color:#e9e9e9; cursor:pointer; outline: none; text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); box-shadow: 0 1px 2px rgba(0,0,0,.2);
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	min-width:25% !important;
}
input[type=submit]:hover {
	background-color: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4B4B4B));
	background: -moz-linear-gradient(top,  #757575,  #4B4B4B);
}
input[type=submit]:active {
	position: relative; top: 1px; color: #AFAFAF;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
}

/* Grid */
.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 #444;
	-webkit-transition: all 0.3s ease; -moz-transition: all 0.3s ease; transition: all 0.3s ease;
	}
* html .gridItem {margin:0 2px 4px 0;}
.gridItem:hover {border:1px solid #666;}
.gridItem a {text-decoration:none;}
.gridItem a:link, .gridItem a:visited {color:#FFF !important;}
.gridItem a:hover, .gridItem a:active {color:#6CF !important;}
.gridItem h3 {line-height:1.2em; font-weight:normal; padding: 6px 6px 0 6px; text-align:center; position:absolute; top:140px; width:168px; font-family:"Lucida Grande", "Lucida Sans", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;}
* html .gridItem h3 {position: relative; top: 0px;}
.gridItem img {margin: auto !important; display:block; position: absolute; top: 0; bottom: 48px; right: 0; left: 0; -webkit-box-shadow: 0 2px 3px #111; -moz-box-shadow: 0 2px 3px #111;}
* html .gridItem img {position: relative;}
/* photogrid in sidebar */
.pagelet .photogrid-index .gridItem {margin:0 auto 10px auto !important; float:none;}
.pagelet .photogrid-index .gridItem h3 {width:160px;}

/* Navigation */
.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 .imageLink { background: url(images/arrows.png) -50px 0 no-repeat;
	opacity:0.5;
	-webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; transition:all 0.3s ease;
	}
.photo-navigation .previous-page .imageLink:hover {opacity:1;}
.photo-navigation .next-page .imageLink { background: url(images/arrows.png) 0 0 no-repeat;
	opacity:0.5;
	-webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; transition:all 0.3s ease;
	}
.photo-navigation .next-page .imageLink:hover {opacity:1;}
.photo-navigation .collection-index .imageLink { background: url(images/arrows.png) -100px 0 no-repeat;
	opacity:0.5;
	-webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; transition:all 0.3s ease;
	}
.photo-navigation .collection-index .imageLink:hover {opacity:1;}
.photo-navigation div, .photo-navigation a {display:block; float:left; width:50px; height:25px; text-indent: -9999px;}

/* 
-- Grafite --
-- default --
*/

#title {padding:0; margin:0; height:150px; overflow:hidden; border-bottom:1px solid #444;
	background:url(images/header-bg.png)  0 0 repeat-x;
	}
.has-custom-banner #title {background-position: 0 0; background-repeat:repeat-x;}

#sitemenu li a:link, #sitemenu li a:visited {color:#FFF;}
#sitemenu li a:hover, #sitemenu li a:active {color:#FFF;}
#sitemenu {padding:15px 0;}
#sitemenu ul {padding:0 10px;}
#sitemenu .in {padding:15px 8px;}
#sitemenu .in:hover {text-shadow:0 2px 2px #666;}
*+html .hasSubmenu ul {top:40px !important;}
.hasSubmenu ul {top:30px !important;}
.hasSubmenu ul li ul {-webkit-box-shadow:3px 3px 5px #000 !important; -moz-box-shadow:3px 3px 5px #000 !important; box-shadow:3px 3px 5px #000 !important; border:1px solid #000 !important; top:5px !important;}
#sitemenu li.currentPage {color:#999;}
li.currentParent > a {color:#999 !important;}
body.no-sidebar #main {padding:30px 85px 20px 85px;}
.gridItem h3 {font-size:0.9em;}

/* Custom Photo Page */
.gallery-page #title {display:none;}
.gallery-page #page {margin-top:20px; border:1px solid #444;}
* html .no-sidebar .gallery-page #page  {margin:0; border:1px solid #444;}
.gallery-page h2 {text-align:center;}
.gallery-page #sitemenu {font-size:0.9em; padding:6px 0;}
.gallery-page #sitemenu ul {padding:0;}
.gallery-page #sitemenu a:link, .gallery-page #sitemenu a:visited {color:#999;}
.gallery-page #sitemenu a:hover, .gallery-page #sitemenu a:active {color:#999;}
.gallery-page #sitemenu .in {padding:6px 8px;}
.gallery-page #sitemenu .in:hover {text-shadow:none;}
*+html .gallery-page .hasSubmenu ul {top:25px !important;}
.gallery-page .hasSubmenu ul {top:19px !important;}
.gallery-page .hasSubmenu ul ul {top:5px !important;}
.gallery-page #sitemenu .currentPage {color:#666 !important;}
.gallery-page li.currentParent > a {color:#666 !important;}
.gallery-page #page-bottom {padding:10px; margin:0;}

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

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

