/******************************************************************************
 * general *
 ******************************************************************************/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dd,dl,dt,li,ol,ul,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;font-weight:normal;font-style:normal;text-align:left;font-family:inherit;}table{border-collapse:collapse;border-spacing:0;}ol,ul{list-style:none;}q:before,q:after,blockquote:before,blockquote:after{content:"";}
body { font-family: gill sans; overflow: hidden; }
.pseudoLink, a, a:visited { text-decoration: none; color: #00b; cursor: pointer; }
li { list-style-type: none; }

/******************************************************************************
 * graceful-degradation view *
 ******************************************************************************/

#trail { padding: 10px; }
#trail h1 { font-size: 1.5em; margin-bottom: 1em; }
#trail h1 #ownerWrapper { font-size: small; }
.unscripted #topbar, .unscripted #resourceView { display: none; }
.scripted #trail { display: none; }

/******************************************************************************
 * IE6 support - because we <3 browsers older than the iPod
 ******************************************************************************/

img {
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(...);
}

/******************************************************************************
 * main elements *
 ******************************************************************************/

.scripted body { padding-top: 48px; }

/*
d5d3df
bdb9d6
*/
#topBar { position: absolute; top: 0; left: 0; width: 100%; height: 46px;
          z-index: 90000;
          /* background: #a8dae5; -moz-linear-gradient(top, #d3d3df, #a8dae5);   */
          background: #a8dae5;
          background-image: -webkit-gradient(linear, left top, left bottom, from(#d3ffff), to(#58dae5));
          background-image: -moz-linear-gradient(top, #d3ffff, #58dae5);
          border-bottom: 2px solid #666;
          line-height: 1; overflow: hidden;
          filter:progid:DXImageTransform.Microsoft.Gradient (GradientType=0, StartColorStr='#d3ffff', EndColorStr='#58dae5') }

#logo { float: left; width: 41px; height: 42px; }

#metaInfo { float: left; width: 150px; height: 100%; padding: 5px 10px 5px 0; }

#resourceView { position: absolute; width: 100%; height: 100%; overflow: visible; }
* html #resourceView { top: 48px; }

.clickster { font-size: 14px; float: right; padding: 2px 1px; cursor: pointer; width: 44px; height: 46px; text-align: center; float: right; }

#noteWrapper { position: absolute; top: 25px; right: 10px; z-index: 99999; }

#controls { float: left; padding: 0 10px 0; text-align: center; }
#controls div { text-align: center; }

#stretchy { margin-right: 50px; height: 100%; padding: 10px; }
#dropdown { float: left; text-align: center; font-size: 12px; font-weight: bold; }
#progress { width: 25px; height: 20px; background-image: url('../images/progress.gif'); background-position: 10px 0; background-repeat: no-repeat; float: left; visibility: hidden; }

/******************************************************************************
 * logo *
 ******************************************************************************/

#logo { background-image: url("../images/slogosmall.png"); background-repeat: no-repeat; margin: 6px 0 0 5px; }
* html #logo { width: 46px; }

/******************************************************************************
 * resourceView *
 ******************************************************************************/

#resourceView iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; }
#initialBacking { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
                  z-index: 1; text-align: center; padding-top: 200px; }

/******************************************************************************
 * metaInfo *
 ******************************************************************************/

#metaInfo { border-left: 1px solid #666; border-right: 1px solid #666; text-align: center; font-size: small; position: relative; padding: 3px 0 0; }
#metaInfoTitle { text-align: center; }
#infoLink { margin-left: 5px; }
#infoLink { background-image: url(../images/info16.png); background-position: 5px 0; background-repeat: no-repeat; width:25px; float: left; height: 36px; margin-top: 4px; cursor: pointer; }
#text { margin-left: 25px; text-align: center; }
#metaInfoEdit { font-size: small; margin-top: 4px; display: block; text-align: center; }
#info { position: absolute; left: 0; bottom: 0; text-align: center; width: 100%;
        background: #38626b; color: #a8dae5; height: 1.2em; padding-top: 0.1em; }
#strut { float: left; width: 25px; height: 1.2em; }
#infoTrailOwnerWrapper { text-align: center; }

/******************************************************************************
 * nav *
 ******************************************************************************/

#navWrapper { text-align: center; }
#nav { float: left; margin: 0 auto; height: 100%; }
* html #nav { margin-top: 6px; } /* PNG hack breaks background-position */
#nav span { cursor: pointer; overflow: hidden; background-repeat: no-repeat; float: left; width: 16px; height: 100%; width: 36px; position: relative; background-position: 0 6px; }
#nav span#next { background-image: url("../images/next.png"); }
#nav span#next:hover { background-image: url("../images/next-hovered.png"); }
#nav span#prev { background-image: url("../images/prev.png"); }
#nav span#prev:hover { background-image: url("../images/prev-hovered.png"); }
#nav span#end { background-image: url("../images/end.png"); }
#nav span#end:hover { background-image: url("../images/end-hovered.png"); }
#nav span#start { background-image: url("../images/start.png"); }
#nav span#start:hover { background-image: url("../images/start-hovered.png"); }

/* REMOVE
a.markerSelected,a.markerSelected:visited { color: #f00; }
a.marker.hovered,a.marker.hovered:visited { color: #ffb; }
a.markerSelected.hovered,a.markerSelected.hovered:visited { color: #f66; }
#predictedTitle { opacity: 0.5; filter:alpha(opacity=50); font-size: small; text-align: center; margin-top: 3px; color: #440; }
#chooser { width: 600px; float: left; }
*/

/* #resources { background: orange; } */

/*
#note { color: brown; overflow: hidden; height: 1em; padding: 3px 40px; text-align: center; text-align: center; clear: left; position: relative; }
#note .name { font-weight: bold; margin-right: 5px; }
#note .text { font-style: italic; }
*/
/* #note .more { display: inline; font-size: small; text-decoration: underline; margin-left: 5px; float: right; cursor: pointer; font-size: small; }  */

/****************************************************************************
  clickster
 ****************************************************************************/

.clickster { width: 40px; height: 100%; float: right; text-align: center; padding-top: 5px; }
.clickster:hover,a.clickster:hover { background: #5081b2; }
.clickster div, .clickster a { text-align: center; font-size: small; color: #000; }
.clickster div.icon { font-size: 20px; margin-bottom: 5px; }

#miniBar { position: absolute; top: 0; right: 0;
           text-align: right; z-index: 1; }
/* #miniBar.available { z-index: 99999; opacity: 0.00001; } */
/* #miniBar.available:hover { opacity: 0.9; } */
#miniBar #controls { background: #a8dae5; opacity: 0.9; padding: 4px;
                     border: 2px solid #38626b; border-top-width: 0; border-right-width: 0; }
#miniBar #controls, #miniBar a { color: #000; }
#miniBar #controls span:hover { color: #0000dd; }
#miniBar #controls span { margin: 0 4px; cursor: pointer; }

/****************************************************************************
  NOTECONTROL
 ****************************************************************************/

/* #noteControl { float: right; border-left: 1px solid #666; } */
#noteControl .icon { background-image: url("../images/note.png"); background-repeat: no-repeat; background-position: 9px 0; }
* html #noteControl .icon { background-image: url("../images/note.gif"); }
#noteControl.showing, #noteControl.showing div { background-color: #5bbac7; color: #333; }
.stat { color: #777; text-align: right; padding-right: 5px; }

#noteExpand { position: absolute; top: 28px; height: 16px; opacity: 0; }
.noteToggle { text-align: center; width: 100%; color: #038; cursor: pointer; }

/* #noteControl, #note {  background: #000; } */
/* #noteControl, #note {  background: #000; } */
#note {  background: #000; }

/****************************************************************************
  NOTE
 ****************************************************************************/
/* noteWrapper shouldn't need a z-index, but does due to IE6
 * http://www.quirksmode.org/bugreports/archives/2006/01/Explorer_z_index_bug.html */
#note { position: absolute; top: 48px; right: 5px; width: 200px; 
        border: 1px solid #444; border-top-width: 0;
        opacity: 0.9; filter:alpha(opacity=90);
        -moz-border-radius: 0 0 5px 5px; -webkit-border-radius: 0 0 5px 5px;
        padding: 2px 10px 10px; z-index: 999992; color: #fff; font-size: 12px; }
        

#note h4 { margin: 5px 0; text-align: right; font-style: italic; color: #333; cursor: pointer; }
#note h5 a, #note h5 a:visited { color: #fff; margin: 10px 0; font-weight: bold; }
#note h5 a:hover { text-decoration: underline; }
#note.prediction { height: 200px; overflow: hidden; }
#note.prediction h4 { color: #440; }
#note.prediction h5 a { color: #772; }
#note.prediction .content { color: #772; }

/****************************************************************************
  TOOLTIP
 ****************************************************************************/
 .tooltip { position: absolute; 
            background: #ff9; border: 1px solid #cc6; padding: 3px; 
            z-index: 9999999;
            font-size: x-small; }

/****************************************************************************
  WELCOME
 ****************************************************************************/

.modal { overflow-y: scroll; }

#explanation { margin: 10px 0 0; font-size: small; font-family: serif; }
#welcomeTemplate { display: none; }
#welcome { display: block; }
#welcome button {
  cursor: pointer;
  border: 1px solid black;
  background: #ff9; 
  margin: 5px 0 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
}
#welcome button:hover { background: #dd7; }
#welcome .selected { background: #fed; }
#welcome #options { margin: 10px 10px 0 0; font-size: x-small; font-family: serif; text-align: right; }
#welcome .note { background: #000; color: #fff; padding: 10px; font-size: small;
                 -moz-border-radius: 5px; -webkit-border-radius: 5px;
                 margin: 5px 10px 10px; }
.resourceItem { padding: 5px; cursor: pointer; }
.resourceItem:hover { background: #e9e9ff; }
