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

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

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%;
	min-width:50%;
}
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;
}

/* Overall pagelet */
div.rssBadge
{
	margin: 10px;
}

/* Small icon option */
img.smallRSSBadgeIcon { vertical-align:middle; }
img.smallRSSBadgeIconLeft { margin-right:3px; }
img.smallRSSBadgeIconRight { margin-left:3px; }

/* Large icon option */
div.largeRSSBadgeIcon, p.largeRSSBadgeIcon
{
	margin: 0 10px;
	text-align:center !important;
}

img.largeRSSBadgeIcon { margin-bottom: 4px; }
p.largeRSSBadgeIcon { margin: 0; }

/*
	Based on nivo-slider.css and Nivo Slider Default Theme, version 2.7 and 2.7.1.
*/

/* The Nivo Slider styles */
.nivoSlider {
	position:relative;
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:8;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	margin-right:8px;
	z-index:9;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}

.nivo-dots, .nivo-numbers {
    margin-bottom:30px;
}

.nivoSlider {
	position:relative;
	background:#fff url(nivo-images/loading.gif) no-repeat 50% 50%;
	-webkit-box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}
.nivoSlider a {
	border:0;
}

.nivo-dots .nivo-controlNav {
	position:absolute;
	right:0;
    height:16px;
	bottom:-24px;
	border:none;
}

.nivo-numbers .nivo-controlNav {
	position:absolute;
	bottom:-24px;
}

.nivo-thumbs .nivo-controlNav {
	position:absolute;
	left:8px;
}

.nivo-dots .nivo-controlNav a {
	display:block;
	width:16px;
	height:16px;
	background:url(nivo-images/bullets.png) no-repeat;
	text-indent:-9999px;
	margin-right:3px;
	float:left;
	border: 0px none !important;
}

.nivo-dots .nivo-controlNav a.active {
	background-position:0 -22px;
}

.nivo-directionNav a {
	display:block;
	width:30px;
	height:30px;
	background:url(nivo-images/arrows.png) no-repeat;
	text-indent:-9999px;
	border: 0px none !important;
}
a.nivo-nextNav {
	background-position:-30px 0;
	right:15px;
}
a.nivo-prevNav {
	left:15px;
}

.nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}
.nivo-caption a {
    color:#fff;
    border-bottom:1px dotted #fff;
}
.nivo-caption a:hover {
    color:#fff;
}

.nivo-controlNav img {
	display:inline; /* Unhide the thumbnails */
	position:relative;
	margin:0 !important;
	border:none !important;
	padding:0 !important;
	-webkit-box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	-webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	-moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
	box-shadow: 0px 1px 5px 0px rgb(128,128,128);
	box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.5);
}

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

/* 
   css Copyright (c) 2005-2006 by 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. 
*/

a img { border: none; }

.clear { clear: both; height: 0; }
.hidden { display:none; }

a { color: #6699cc; }
#page-content a:hover { text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
	font-family: Verdana,sans-serif;
	font-weight: normal;
	margin-top: .6em;
}

img.narrow { display:block; clear:right; float:right; margin: 6px 0 6px 6px; }
img.wide { display:block; clear: both;}

body {
	margin: 0;
	font-size: 76%;
	font-family: Georgia,Times,serif;
	background: #999999;
	word-wrap:break-word;
}

#page {
	margin: auto;
	width: 764px;
	}

#sidebar-container {
	width: 220px;
	float: right;
	word-wrap: break-word;
}

#sidebar {
	color: #fff;
	padding: 0 6px;
	min-height: 256px;
}
/*\*/
* html #sidebar { height: 256px; }
/**/
#sidebar h4 { color: #6699cc; }

#main {
	width: 485px;
	float: left;
	padding: 0 10px;
	min-height: 370px;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 465px;
}
/*\*/
* html #main { height: 370px; }
/**/

#page {
	color: #ffffff;
	width: 768px;
	border: 2px solid #fff;
	border-top: none;
	background: #333333  url(bottomgradient.jpg) no-repeat bottom center;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 764px;
}

#page-top {
	height: 262px;
	background: url(headerbg.jpg) no-repeat top left;
	position: relative;
}

.no-sidebar #page-top { height: 209px; background: url(shortheaderbg.jpg) no-repeat top left; }

	#title {
		vertical-align: middle;
		padding-top: 101px;
		padding-left: 38px;
		width: 700px;
		height: 128px;
	}
	* html #title { padding-top: 102px; }

	.no-sidebar #title { padding-top: 46px; }
	* html .no-sidebar #title { padding-top: 49px; }

	#title h1 {
		margin: 35px 20px 0px 5px;
		font-size: 1.7em;
		color:white;
		text-shadow:black 2px 2px 1px;
		overflow: hidden;
	}
	
	* html #title h1 { font-weight: bold; }

	.has-logo h1 {
		width: 450px;
	}

	#title #logo-container {
		float:left;		
		height:128px;
	}

	#title img {
		padding-right:10px;
	}

	#title h1 a {
		position: static;
		display: inline;
		width: auto;
		height: auto;
		text-decoration:none;
		color: #ffffff;
	}
	#title h1 a:hover { color: #0755be; }

	#title p {
		width: 400px;
		height: 15px;
		font-size: 1em;
		color: #fff;
		position: absolute;
		top: 8px;
		left: 265px;
		text-align: right;
	}
	
	#title p a {
		color:#fff;
	}
	
	.no-sidebar #title p { margin-top: -32px; }

#sitemenu-content {
	width: 700px;
	height: 14px;
	position: absolute;
	left: 28px;
	bottom: 3px;
	font-size: .9em;
}
* html #sitemenu-content { font-size: .8em; }

	#sitemenu-content ul {
		float: right;
		list-style: none;
		margin: 0;
		padding: 0;
	}

	#sitemenu-content li {
		margin: 0 0 0 10px;
		padding: 0;
		float: left;
	}

		.currentPage span.in, .currentPage, .currentParent span.in, .currentParent { text-decoration: underline; }

		#sitemenu-content a, .currentPage span.in, .currentPage { color: #fff; }
		#sitemenu-content a:link, #sitemenu-content a:visited { text-decoration: none; }
		#sitemenu-content a:hover, #sitemenu-content a:active { text-decoration: underline; }

#page-content { margin: 0 26px; }
/*\*/
* html #page-content { margin-top: -16px; }
/**/

.pagelet {
	width:200px;
	word-wrap:break-word;
	overflow:hidden;
}

	.pagelet h4 {
		height: 44px;
		line-height: 44px;
		padding: 0 6px;
		overflow:hidden;
	}

	.o h4 { background: url(sidebarbg.jpg) no-repeat;}
	.e h4 { background: url(sidebarbg.jpg) no-repeat;}


#main {
	border-top: none;
	padding-bottom: 2em;
}

#main h2 {
	color: #6699cc;
}
.no-sidebar #main {
	width: 692px;
}

#photo-page #main img { border: 2px solid #fff; }
#photo-page .caption { color: #fff; padding: 2px 4px; text-align: center;}
#photo-page #page-bottom { padding-top: 30px; }

ul {
	padding-left:28px;
}

h2 {
	margin-top: 16px;
	font-size: 1.4em;
}
* html h2 { font-weight: bold; }

.photo-page h2 {
	margin-right:150px;
}

* html #page-content h3 { font-size: 1em; }
* html #page-content h4 { font-size: .9em; }
* html #page-content h5 { font-size: .8em; }

.article p {
	line-height: 1.4em;
}

.article-thumbnail {
	float: left;
	margin: 6px 6px 6px 0;
}

.callout-container .callout {
	clear: both;
	float: left;
	font-size: .9em;
	margin-right: 8px;
	margin-bottom: 12px;
	border-right: 1px solid #ccc;
	padding-right: 6px;
	padding-bottom: 6px;
	width: 200px;
	word-wrap: break-word;
}

.callout-container .callout p { line-height: 1.1em; }


/* Used on Photo Grid Pages ... */
.photogrid-index {
   	text-align: center;
    overflow: auto;
}

.photogrid-index a {
	text-decoration:none;
}

.photogrid-index a:hover  {
	text-decoration:underline !important;
}

.gridItem {
	float:left;
	position:relative;
	width:150px;
	height:180px;	/* room for caption */
	overflow:hidden;
}

.gridItem h3 {
	font-size:1em;
	font-weight:normal;
	position:absolute;
	margin:0px 7px;
	top: 137px; /* needs to leave 38px from the bottom of the gridItem */
	width: 136px;
}

.gridItem img {
    border: 1px solid rgb(80, 80, 80);
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}
/* End hide from IE5-mac */


/* Used on index summary pages */

.listing-index ul {
}
		.listing-index li h3 a {
		    text-decoration:none;
		    font-size:1em;
		    font-weight:normal;
		}

/* Individual Photo Pages */

.ImageElement, .VideoElement{
	text-align:center;
}

.photo-navigation {
	float: right;
	margin-top: -40px;
	margin-right: 16px;
}

* html .photo-navigation { 	margin-top: -46px; margin-right: 8px; }

	.photo-navigation a { 
		display: block;  
		text-indent: -5000px; 
		height:100%; 
		width:100%;
	}
    .photo-navigation div {
    	margin-left: 18px;
    	float: left;
		width: 33px;
		height: 20px;
    }

	#previous-photo	{
		background: url(prev-disabled.gif) no-repeat center center;
	}
	#previous-photo	a {
		background: url(prev.gif) no-repeat center center;
	}

	#next-photo {
		background: url(next-disabled.gif) no-repeat center center;
	}

	#next-photo a {
		background: url(next.gif) no-repeat center center;
	}

	#photo-list {
		width: 33px;
		background: url(list-disabled.gif) no-repeat center center;
	}
	#photo-list a {
		width: 33px;
		background: url(list.gif) no-repeat center center;
	}

			#page-bottom {
				padding: 2px 30px 30px 30px;
			}

				#page-bottom p {
					margin: 0;
					font-size: .9em;
					color: #fff;
				}
				
				#page-bottom a {
					color: #fff;
					text-decoration:underline;
				}

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


