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



/* 
CUSTOMISATION
=============

See "Imagine" design for information on customizing.

*/




/*
GLOBAL

Try to define style properties as globally as possible. E.g. the basic font setting should be right there for the body element
*/

* { 
      margin:0px;
      padding:0px;
}

body {
      font-family: "Trebuchet MS", sans-serif;
      font-size: 76%; /* as recommended in CSS guide */
      background:#929d97 url(background.jpg) repeat-x;
      color:#440011;
      word-wrap:break-word;
      line-height:1.6;
}

h1, #title p, h1 a:link, h1 a:visited {
            font-family: "Palatino", serif;
            color:#402;
            text-decoration:none;
}

img {
      border:0px #000 none;
}

a:link, a:visited {
      color:#440011;
}

a:hover {
      color:#E3E3E3;
      background: #4F4552;
      background: rgba(31,31,47,0.5);
}

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


.article p, .pagelet p {
      margin-bottom: 0.8em;
}

.article-info {
      clear: left;
}

h5, h6 {
      font-size: 100%;
}



/* head */

#page-container {
      background: #E3E3E3;
      margin:auto;
      width:1000px;
      border-left:#4F4552 5px solid;
      border-right:#4F4552 5px solid;
}


#page-top {
      padding-top:200px;
      width:1000px;
      overflow:visible;
}


#title {
      height:200px;
      width:1000px;
      position:absolute;
      top:0px;
      color:#4F4552;
      border-style: solid;
      border-color: transparent;
      border-width: 0px 3px;
      margin-left:-3px;
      background: url(DefaultHeader.jpeg) no-repeat top center;
      text-align: left;
}


* html #title {
      border-color: #4F4552 !important;      
}


#logo-container {
      float: none;
      position: absolute;
      left: 0px;
      margin:20px 24px 34px 26px;
      padding:3px;
}

h1 {
      position:absolute;
      top: 165px;
      left: 10px;
      right: 40px;
      font-size:240%;
      line-height:133%;
      text-shadow: #000 3px 3px 4px;
      color: #4F4552;
}

h1 a:link, h1 a:visited {
      color: #4F4552;
      text-decoration:none !important;
}

#title:hover a, #title a:hover {
      text-decoration:red;
}

#title p {
      position:absolute;
      top: 175px;
      right: 18px;
      left: 180px;
      height: 1.5em;
      overflow:hidden;
}



/* sitemenu */
#sitemenu {
      color:#E3E3E3;
      background:#4F4552;
      padding-right: 7px;
}

#sitemenu a {
      color:#E3E3E3;
      text-decoration:none;
}

#sitemenu ul {
      list-style-type:none;
      padding:0px;
}

#sitemenu li {      
      display:inline;
      margin:0px;
      padding-top:2px;
      padding-bottom:3px;
}

#sitemenu li a, #sitemenu li.currentPage, #sitemenu li.currentParent  {
      padding-left: 0.6em;
      padding-right: 0.6em;
}

/* Hides from IE5-mac \*/
* html #sitemenu li a, * html #sitemenu li.currentPage, * html #sitemenu li.currentParent  {
      padding:2px 0.6em;
}
/* End hide from IE5-mac */

#sitemenu li.currentPage, #sitemenu li.currentParent, #sitemenu li.currentParent a {
      background:#E3E3E3;
      color:#020000;
}

#sitemenu li:hover, #sitemenu li:hover a, #sitemenu li a:hover  {
      background-color: #black;
      color: #E3E3E3;
}

#sitemenu li.currentPage span.in {
      text-decoration:bold;
}


/* headings */

h3 {
      margin-top:1em;
}



/* sidebar / callout / pagelets */

#main, #page-bottom {
      padding:12px;
}

body.allow-sidebar #page-content, body.allow-sidebar #page-bottom {
      background:url(sidebarbackground.gif) center repeat-y;
}

body.allow-sidebar #main {
      margin-right:245px;
}

body.allow-sidebar #page-bottom {
      padding-right:245px;
}

#sidebar {
      float:right;
      position: relative;
      width:220px;
      padding:6px 10px 0px 10px;
      margin-bottom:-40px;
      background:#cccccc; 
      color:#440011;
}      

.callout {      
      width:220px;
      float:left;
      margin-right:18px;
}

.callout .pagelet {
      margin: 10px 0px;
      padding: 2px 10px;
      color:#302B2B;
      background:#302B2B;
}

.callout .pagelet a {
      color:#302B2B;
}

.callout .pagelet a:hover {
      color:#302B2B;
      background:#black;
}

.callout .pagelet.bordered {
      background:#cccccc;
      color:#4F4552;
      border:1px solid #4F4552;
}

.callout .pagelet.bordered a {
      color:#4F4552;
}

.pagelet {
      padding-bottom:6px!important;
      padding-top:4px;
}

.pagelet h4 {
      margin:6px 0px;
      font-size:120%;
}



/* lists */

ul, ol {
      padding-left:2em;
}

dd {
      margin-left: 2em;
}

/* photo album */

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: hidden; /* for IE 5 Mac */
}

/* IE 6 Hack */
/* Hides from IE5-mac \*/
* html .photogrid-index {
      height:1%; /* for IE 5, 6 Win */
      margin-left:-8px;
}

* html body.allow-sidebar .photogrid-index {
      width:490px;
}
/* End hide from IE5-mac */

.photogrid-index a {
      text-decoration:none;
      background-color:#E3E3E3;
      color:#4F4552;
}

.photogrid-index h3 a:hover {
      text-decoration:underline;
      color: #803;
}

.gridItem {
    float: left;
    position:relative;
    width:150px;
    height:180px;      /* room for caption */
      margin:5px;
    padding-top: 10px;
    background-color: #E3E3E3;
    color:inherit;
    overflow: hidden;
}

body.no-sidebar .gridItem {
      width:136px;
}

.gridItem h3 {
    font-weight: normal;
    font-size:100%;
      background-color:#E3E3E3;
    color: #4F4552;
    margin: 4px 7px 0px 7px;
      padding: 0px 2px;
    position:absolute;
      top: 140px; /* needs to leave 38px from the bottom of the gridItem */
      width: 136px;
}

body.no-sidebar .gridItem h3 {
      margin: 4px 2px 0px 4px;
      padding: 0px;
      width: 128px;
}

.gridItem img {
    border: 1px solid #000;
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}

* html .gridItem img {
      position:relative;
}



/* photo navigation */

.photo-navigation {
      position:relative;
    height: 21px;
    width:200px;
    margin:0px auto 8px auto;
}

.photo-navigation div {
      width:34px;
      height:21px;
      position: absolute;
    text-indent: -5000em;
}

.photo-navigation a {
      border-bottom:none;
      display:block;
      width:100%;
      height:100%;
}

#previous-photo      {
    background: url(photo-prev-off.gif)            no-repeat;
    left: 42px;
}
#previous-photo a {
    background: url(photo-prev.gif)            no-repeat;
}

#next-photo {
    background: url(photo-next-off.gif)            no-repeat;
    left: 124px; 
}
#next-photo a {
    background: url(photo-next.gif)            no-repeat;
}

#photo-list {
    background: url(photo-list-off.gif)            no-repeat;
    left: 83px;
}
#photo-list a {
    background: url(photo-list.gif)            no-repeat;
}

.image-controls a {
      border-bottom:none !important;
}

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

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


/* 
SANDVOX INTERNALS
*/

.clear {clear: both; height: 0;}
#main .clear {clear:left;} /* CHANGE from standard! */
/* IE Hack */
/* Hides from IE5-mac \*/
* html .clear{ display:inline;}
/* End hide from IE5-mac */
.hidden {display:none;}
img.narrow {float: right;  margin: 0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}


