/* Copyright © 2008 Tildeslash Ltd. All Rights Reserved. */

/* IE7 hacks start */

*: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; }
 
/* Firefox reduce dotted lines on links */
.photo-navigation a:focus, .replaced a:focus {overflow:hidden;}

/* IE7 hacks end */

a img { border: none; }

 /* General styles  */

.clear {
	clear: both;
	height: 0;
}

.hidden  {
    display:none;
}

/* Images embedded in text.  "narrow" are 200 pixels wide or smaller. */
img.narrow {
	display: block;
	clear: right;
    float: right;
}
img.wide {
	clear: both;
	display:block;
}

/* Block Level formatting, more or less in descending order */

body {
	font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif;
	font-size: 90%;
	margin: 0;
	background: #333 url(bkgd.png);
    word-wrap: break-word;
}

#page {
    margin: auto;
    width: 920px;
    background: #333 url(background.png) repeat-y;
}

body.no-sidebar #page {
    background: #333 url(background_no_sidebar.png) repeat-y;
}

#page-top {
    margin:0;
    margin-left: 17px;
    margin-right: 17px;
}

.has-custom-banner #page-top {
	overflow: hidden;
}

#title {
    background: #000044 url(top.png) center top no-repeat;
	margin: 0px;
    padding: 0px;
	height:170px;
}

.monit#title {
    background: #003300 url(top2.png) center top no-repeat;
}

h1 {
	font-family: verdana, arial, helvetica, sans-serif;
    color: #111;
    font-size: 1.9em;
    text-align: left;
    text-shadow: 0px 1.5px 2px black;
    display: block;
}

h1 a {
    text-decoration:none;
    color: #111;
}

h1 a:hover, h1 a:focus, h1 a:active {
    border-bottom: 1px solid black;
}

#sitemenu {
    clear:both;
    background-color: #1a1a1a;
    min-height: 34px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-top: 1px solid #999;
}

#sitemenu-content ul {
    text-align: left;
    padding:0;
    margin:8px 15px;
}

#sitemenu-content li {
    margin: 0;
    padding: 0;
    display: inline;
    padding-right: 10px;
    margin-top: 1px;
    font-size: 13px;
    font-family: verdana, arial, helvetica, sans-serif;
}

#sitemenu-content a{
    text-decoration: none;
    color: #999;
    text-shadow: 0px 1.5px 2px #333;
}

#sitemenu-content a:hover, a:focus, a:active {
    color: white;
    text-shadow: 0px 1.5px 2px #ccc;
}

#sitemenu-content .currentPage, #sitemenu-content .currentParent {
    color: white;
    text-shadow: 0px 1.5px 2px black;
}

#page-content {
    width: 890px;
    margin: 8px auto;
    clear: both;
}

body.no-sidebar #page-content {
    width: 870px;
}

#page .imageLink {
	border: 0px none;
}

#sidebar {
    float: left;
    width: 200px;
    word-wrap: break-word;
    font-size: 0.8em;
    padding-left:5px;
    font-size: 100%;
}

#sidebar p {
    margin-left: 5px;
    margin-right: 5px;
    text-align: left;
}

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

.pagelet h4 {
    margin: 10px 3px 0px 3px;
	padding-top:14px;
    font-weight: normal;
    font-size: 1.3em;
    background: url(pagelet_title_top.png)  no-repeat;
    text-shadow: 0px 1px 1px white;
    text-align: center;
}

.pagelet h4 span.in {
    background: url(pagelet_title_bottom.png) bottom left no-repeat;
	padding:0px 13px 16px 13px;
    display:block;
}


#main {
    min-height: 190px;
}

/* photo-page, html-page (in some cases), iframe-page don't have sidebar */
body.no-sidebar #main {
    margin-left: 2px;
    margin-right: 7px;
    font-size: 14px;
    width: 870px;
}

/* Most other pages have sidebars */
body.allow-sidebar #main {
    margin-right: 7px;
    float: right;
    width: 665px;
    font-size: 14px;
}

.photo-page h2 {
	min-height:23px;
}
.no-sidebar .has-photo-navigation h2 {
	padding-right:185px;
}
.allow-sidebar .has-photo-navigation h2 {
	padding-right:175px;
}

h2 {
    display: block;
    font-weight: normal;
    text-shadow: 0px 1px 1px white;
    background: url(new_title_bkgd.png)  repeat-x;
    padding-left: 15px;
    padding-top: 8px;
    padding-bottom: 14px;
    margin: 0px -5px 0px -10px;
    border-bottom: 1px solid rgb(212, 212, 212);
}

#main ul, #sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 5px;
}

li ul {
	padding-top:8px!important;
}

#main ul li, #sidebar ul li {
    padding-left: 25px;
    background: url(bullet.png) no-repeat;
    padding-bottom: 6px;
	padding-top:2px;
}

.blue-list li {
    background: url(bullet_blue.png) no-repeat!important;
}

ol {
	padding-left: 30px;
}

dd {
	margin-left: 30px;
}

.article, .no-callouts {
	margin:0px 10px 10px 10px!important;
}

.article h3, h3.no-outline {
    background: url(other_title.png) repeat-x;
    border: 1px solid rgb(212, 212, 212);
    padding: 5px;
    color: black;
    text-shadow: 0px 1px 1px white;
    font-weight: bold;
}

h3.no-outline {
    background: none;
    border: none;
    padding: 5px 0;
}

/* remove excessive spacing if the heading is used in a collection index */
li h3 {
	margin:0px;
}

.article h4 {
    color: #000;
    font-size: 110%;
}

.article h4.light {
    color: #333;
}

.article h4.lighter {
    color: #555;
}

.article h4.lightest {
    color: #777;
}

#page-content a, #page-bottom a  {
    color: black;
    text-decoration: none;
    border-bottom: 1px solid rgb(158, 158, 158);
}

#page-content a:hover, #page-content a:focus, #page-content a:active, #page-bottom a:hover, #page-bottom a:focus, #page-bottom a:active {
    border-bottom: 1px solid black;
    color: black;
}

.imageLink {
	border: 0px none;
}

.article img {
    border: none;
}

.article img.narrow{
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.article-thumbnail {
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.callout {
    background: rgb(239, 244, 248);
    float: right;
    margin: 10px;
    margin-right: 0px;
    padding: 5px;
    border: 1px solid rgb(158, 158, 158);
}

.callout ul li, #sidebar ul li {
    background: url(bullet_blue.png) no-repeat !important;
}

.callout h4 {
    font-weight: normal !important;
    font-size: 1.1em !important;
}

#page-bottom {
    background: url(footer.png)  no-repeat;
    font-size: 10px;
    color: #333;
    height: 24px;
	padding: 0px 0px 0px 23px;
}

#page-bottom p {
    padding-top:5px;
}

div.photo-viewer-summary .article {
    margin: auto;
}

.HTMLElement {
    margin-bottom: 10px;
}

.ImageElement, .VideoElement {
    text-align: center;
	padding-top:20px;
}


.caption {
    padding: 10px;
}

/* Used on Photo Grid Pages ... */

.photogrid-index {
    text-align: center;
    background: rgb(236, 242, 247);
    margin: 10px;
    padding: 5px;
    border: 1px solid rgb(158, 158, 158);
    overflow: auto;
    width: 480px;
}

body.no-sidebar .photogrid-index {
	width: 634px;
	margin-left:33px;
}

* html body.no-sidebar .photogrid-index {
	width:652px!important;
}

.photogrid-index a {
	color:#000;
	text-decoration:none;
	border:0px!important;
}

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

.gridItem {
    float: left;
    position:relative;
    width:152px;
    height:192px;	/* room for caption */
    overflow: hidden;
    margin: 3px;
    padding-top: 6px;
    background: url(thumbnail_bkgd.png) no-repeat;
}

.gridItem h3 {
    font-size:1em;
    font-weight:normal;
    margin-top: 10px;
    margin-left: 7px;
    margin-right: 7px;
    text-shadow: 0px 1px 1px white;
    height: 33px;
    overflow: hidden;
    position:absolute;
	top: 140px; /* 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;
}

* html .gridItem img {
	position: relative;
	top:6px;
}

/* Used on index summary pages */
.listing-index li h3 a {
    font-weight:normal;
}


/* make linked lists look less blue */
li a {
	text-decoration:none;
}

li a:hover {
	text-decoration:underline;
}

/* Individual Photo Pages */

.photo-navigation {
    position: relative;
    z-index: 100;
    height: 3px;
    padding:0px;
    margin-top:50px;
}


.photo-navigation a:active {
    border: none;
}

#previous-photo	{
    width: 49px;
    height: 42px;
    background: url(photo-buttons-disabled.png)		no-repeat;
    position: absolute;
    left: 648px;
    margin-top: -47px;
    text-indent: -5000em;
}

.allow-sidebar #previous-photo {
	left:348px;
}


#previous-photo a {
    width: 49px;
    height: 42px;
    display: block;
    background: url(photo-buttons.png)		no-repeat;
}

#next-photo {
    text-indent: -5000em;
    width: 50px;
    height: 42px;
    background: url(photo-buttons-disabled-03.png)		no-repeat;
    position: absolute;
    left: 764px;
    margin-top: -47px;
}

.allow-sidebar #next-photo {
	left: 564px;
}

#next-photo a {
    width: 50px;
    height: 42px;
    display: block;
    background: url(photo-buttons-03.png)		no-repeat;
}

#photo-list {
    text-indent: -5000em;
    width: 67px;
    height: 42px;
    background: url(photo-buttons-disabled-02.png)		no-repeat;
    position: absolute;
    left: 697px;
    margin-top: -47px;
}

.allow-sidebar #photo-list {
	left:397px;
}


#photo-list a {
    width: 67px;
    height: 42px;
    display: block;
    background: url(photo-buttons-02.png)		no-repeat;
}


/* BANNER STUFF */
body.has-custom-banner #title {
	margin: 0px 0px -14px 0px;
	/* background: url(banner_image.jpg) center top no-repeat; Not in use */
	height:160px;
}

* 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: #fff 0px 0px 3px;
}

/* Layout box elements */
.insetbox  {
    padding: 1em;
    background-color: rgb(237, 245, 255);
    border: 1px inset #ccc;
}
.borderbox  {
    padding: 1em;
    background-color: rgb(237, 245, 255);
    border: 1px solid #ccc;
}
.codebox {
    padding: 1em;
    background-color: rgb(237, 245, 255);
    border: 1px solid #ccc;
}
.announce {
    background-color: rgb(237, 245, 255); 
    border: 1px solid #ccc; 
    text-align:center; 
    padding:5px;
    margin:10px 10px;
}

/* Left Navigation */
.lntext {
    display:block;
    font-size: 75%;
    text-indent: 0px !important;
    margin-left:65px !important;
    margin-right:10px !important;
}
#leftnav, #download, #download_mmonit, #documentation, #screenshots, #who, #community, #screencast, #purchase, #plans, #iphone {
    width: auto;
    min-height: 80px;
    display: block;
    text-indent: 65px;
    color: #555;
    font: 16px "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
    margin: 15px 0;
}
#download {
  	background: url(download.png) left top no-repeat; 
}
#download_mmonit {
  	background: url(download_mmonit.png) left top no-repeat; 
}
#documentation {
  	background: url(documentation.png) left top no-repeat; 
}
#screenshots {
  	background: url(camera.png) left top no-repeat; 
}
#who {
  	background: url(whoweare.png) left top no-repeat; 
}
#community {
  	background: url(community.png) left top no-repeat; 
}
#screencast {
  	background: url(quicktime.png) left top no-repeat; 
}
#purchase {
  	background: url(purchase.png) left top no-repeat; 
}
#plans {
  	background: url(plans.png) left top no-repeat; 
}
#iphone {
  	background: url(iphone.png) left top no-repeat; 
}

