/* 
   css Copyright (c) 2005-2009 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: #e6f564; }
#page-content a:hover { text-decoration: none; }

h1,h2,h3,h4,h5,h6 {
	margin-top: .6em;
	font-family: "century gothic","helvetica neue",helvetica,arial,sans-serif;
	font-weight: normal;
}
/*\*/
* html h1,* html h2,* html h3,* html h4,* html h5,* html h6 { font-weight: normal; }
/**/

h4, h5, h6 {
	margin: 0em 0em 0.8em 0em;
	font-size: 100%;
}

p {
	margin: 0px;
	padding: 1em 0px;
}

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: "Helvetica Neue",helvetica,arial,sans-serif;
	background: #38b64a url(bodybg.jpg) repeat-x top left;
	word-wrap:break-word;
}

#page {
	margin: 0 auto 10px auto;
	width: 763px;
	background: url(mod_mainareabg.gif) repeat-y top left;
}

#sidebar-container {
	width: 231px;
	margin-right: 12px;
	float: right;
	word-wrap: break-word;
}

* html #sidebar-container { margin-right: 6px;  }

#sidebar { line-height: 1.3em; font-size: .9em; background: #6a91b4;  position:relative;}
#sidebar-top { height: 13px; width:100%; background: url(mod_sidebartopbg.gif) no-repeat top left; position:absolute; top:0px; }
#sidebar-bottom { height: 13px; width:100%; background: url(mod_sidebarbottombg.gif) no-repeat top left; position: absolute; top:100%;}
#sidebar .pagelet.i1 {padding-top:16px;}



#main {
	width: 461px;
	float: left;
	margin-left: 12px;
	color: #2c557c;
}
/*\*/
* html #main { margin-left: 6px; }
/**/

.no-sidebar #main { width: 720px; float: none; margin-left: 12px; }

* html .no-sidebar #main { margin-left: 0; padding-left: 12px; }

#main-top { background: url(mod_contenttopbg.gif) no-repeat bottom left; height: 13px; }
#main-content {	padding: 0 12px; background: #97bfe3;}

#main-bottom { background: url(mod_contentbottombg.gif) no-repeat top left; height: 13px; }

.no-sidebar #main-bottom { background: url(nobar-contentbg-bottom.gif) no-repeat bottom left; height: 10px; }
.no-sidebar #main-top { background: url(nobar-contentbg-top.gif) no-repeat top left; height: 10px; }

* html #main-content { padding: 0 6px; }

#page-top {
	position: relative;
	background: url(headerbg_top.gif) no-repeat top left;
}

	#title {
		position: relative;
		left: 22px;
		width: 720px;
		min-height: 50px;
		padding: 25px 0px 0px 0px; 
	}
			
	/* kill from ie5/mac \*/
	* html #title { height: 50px; }
	/* end kill */


	#logo-container{ 
		float:left;
		margin: 12px 20px 8px 0px;
		display: block; 
	}

	.has-custom-banner #logo-container {
		margin: -12px 20px 0px 12px;
		height: 128px;
	}

	#title h1 {
		margin: 28px 36px 0 24px;
		font-size: 1.3em;
		color: #fff;
	}

	* html #title h1 {
		margin-top: 50px;
	}
	
	*:first-child+html #title h1 {
		margin-top: 50px;
	}


	#title h1 a { color: #fff; text-decoration: none; }
	#title h1 a:hover { text-decoration: underline; }

	#title p {
		margin: 15px 36px 0 24px;
		padding: 0px;
		color: #97bfe3;
	}



/* BANNER HANDLING */

body.has-custom-banner #page-top {
	padding-top: 21px;
}

body.has-custom-banner #title {
	background-position: center top;
	background-repeat: no-repeat;
	height:128px;
	margin:0px 21px 0px 0px; 
}

* html body.has-custom-banner #title {
	margin-bottom: 0px;
}

body.has-custom-banner h1, body.has-custom-banner #title p {
	font-weight: bold;
	text-shadow: #2c557c 2px 1px 2px;
}


/* SITEMENU */

#sitemenu-content {
	clear: both;
	font-size: .9em;
}

	#sitemenu-content ul {
		background:url(sitemenu-top.gif) top center no-repeat;
		list-style: none;
		margin: 0;
		padding: 8px 30px 20px 30px;
	}


	#sitemenu-content li {
		margin: 0 12px 0 0;
		padding: 0;
		display:inline;
		font-weight: normal;
	}

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

		.currentPage span.in, .currentPage, .currentParent span.in, .currentParent {  color: #fff;text-decoration: none }

#page-content {
	padding: 0px 9px;
	color: #fff;
	background: url(mod_mainareabg.gif) repeat-y top left;
}
/*\*/
* html .no-sidebar #page-content { margin-top: -16px; margin-bottom: -16px; }
/**/

.no-sidebar #page-content { background: url(nobar-mainareabg.gif) repeat-y top left; }

#page-content a { font-weight: bold; }

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

#sidebar .pagelet {
	margin-left:5px;
}

	.pagelet h4 {
		padding: 0 8px;
		color: #fff;
		padding: 5px 0 0 0;
	}

	.pagelet h4 span.in { display: block; padding: 4px 8px 9px 8px; }

	#main .o h4 { background: url(ba-h4bg-o-top.gif) no-repeat top left; }
	#main .e h4 { background: url(ba-h4bg-e-top.gif) no-repeat top left; }

	#main .o h4 span.in { background: #2c557c url(ba-h4bg-o-bottom.gif) no-repeat bottom left; }
	#main .e h4 span.in { background: #346694 url(ba-h4bg-e-bottom.gif) no-repeat bottom left; }

	#sidebar .o h4 { background: url(ms-h4bg-o-top.gif) no-repeat top left; }
	#sidebar .e h4 { background: url(ms-h4bg-e-top.gif) no-repeat top left; }

	#sidebar .o h4 span.in { background: #2c557c url(ms-h4bg-o-bottom.gif) no-repeat bottom left; }
	#sidebar .e h4 span.in { background: #346694 url(ms-h4bg-e-bottom.gif) no-repeat bottom left; }


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

ul, ol {
	padding-left:24px;
}

li a {
	text-decoration:none;
}

dd {
	margin-left: 24px;
}


h2 {
	margin-top: 0px;
	margin-left: -6px;
	padding: 5px 0 0 0;
	font-size: 1.4em;
	color: #fff;
	background: url(h2bg-top.gif) no-repeat top left;
}

* html h2 { margin-left: 0; }

.has-photo-navigation h2 {
	margin-right: -6px;	
}
* html .has-photo-navigation h2 {
	margin-right: 0px;	
}
.has-photo-navigation h2 span.in {
	padding-right: 110px;
}

h2 span.in {
	display: block;
	padding: 0 8px 5px 8px;
	background: #2c557c url(h2bg-bottom.gif) no-repeat bottom left;
}

.no-sidebar h2 {
	height: 33px;
	line-height: 33px;
	margin-top: 2px;
	padding-top: 0;
	background: url(headerbg-nosidebar.gif) no-repeat top left;
	width: 706px;
}
.no-sidebar h2 span.in {
	background: transparent;
}

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

.article, .no-callouts, .pagelet-body { padding-right:6px; padding-left:2px;}

.article, .no-callouts {
	clear: left;
}

.article p, .no-callouts p {
	line-height: 1.4em;
	position:relative;
}

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

.article-info {
	clear: left;
}

.callout-container .callout {
	clear: both;
	float: left;
	font-size: .9em;
	margin-right: 8px;
	margin-bottom: 12px;
	border-right: 1px solid #2c557c;
	padding-right: 6px;
	padding-bottom: 6px;
	margin-top: 14px;
	width: 221px;
	word-wrap: break-word;
	position: relative;
	z-index: 10;
}

/* hack ie/mac */
* html .callout-container .callout {
	border-right: none;
}
/*\*/
* html .callout-container .callout {
	border-right: 1px solid #2c557c;
}
/**/

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

.article form, .article form .submit {
	margin-bottom:0px;
}


/* Used for photo-index grids */
.photogrid-index {
	text-align:center;
	margin:10px 2px;
}

.photogrid-index a {	
	color:#2c557c;
	text-decoration:none;
	font-weight:normal!important;
}

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

.gridItem {
	float:left;
	position:relative;
	height:190px;	/* room for caption */
	width: 140px;
	font-size: .9em;
}

.gridItem h3 {
	font-size:1em;
	font-weight:normal;
	overflow:hidden;
	padding:0px;
	margin:0px;
	position:absolute;
	top: 142px; /* needs to leave 38px from the bottom of the gridItem */
	width: 140px;
}

.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;
	top:3px;
}

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


/* Used on index summary pages */

.listing-index ul {
	margin:0px;
}
		.listing-index li h3 {
			margin:0px;
		}

		.listing-index li h3 a {
		    text-decoration:none;
		    font-size:1em;
		    font-weight:normal;
		    color:rgb(44, 85, 124);
		}

/* Individual Photo Pages */

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

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

* html .photo-navigation {  margin-top: -45px; margin-right: 5px; }
*:first-child+html .photo-navigation {margin-top: -45px; margin-right: 5px; }

    .photo-navigation div {
    	margin-left: 18px;
		width: 17px;
		height: 20px;
    	float: left;
    }

	.photo-navigation a {
		display:block;
		width:100%;
		height:100%;
		text-indent: -5000em;
	}

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

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

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

			#page-bottom {
				height: 42px;
				background: url(mod_footerbg.gif) no-repeat top left;
				padding: 40px 30px 0 30px;
				font-size: .9em;
				color: #fff;
			}
			
				#page-bottom div {
					height: 20px;
					overflow:hidden;
				}

				#page-bottom p {
					display:inline;
					margin: 0;
				}
				
				#page-bottom p+p:before {
					content:' \002022  ';
				}

body.has-custom-banner #title { background-image: url("../_Media/softwarebarn07.png"); }
