/* tibgeeks-main.css
 * Standards-based style sheet for tibetangeeks.com
 * -> This is loaded *first*, before special stylesheets
 * NOTES:
 * Classes may contain only the characters A-Z, a-z, 0-9, hyphens,
 *   and Unicode 161-255.  (No underscores, darn it.)
 * HISTORY:
 *    3 nov 2009 jw - converting from table to divs.
 *   19 mar 2007 jw - modified for tibetangeeks site.
 */

/* -----------------------------------------------------------
   *** { Standard Stuff - for all pages and page parts: *** 
   ----------------------------------------------------------- */

body {
  font-family: verdana, arial, helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  position: relative;
}

p, li, dt, dd {
  font-size:   90%;
  line-height: 130%;
}

/* { Links: */
a:link, a:visited {
  text-decoration: underline;
}
a:hover {
  text-decoration: underline;
}
a[name] {
  text-decoration: none;
}
a[name]:hover {
  text-decoration: none;
}

/* { external links */
span.outlink:after, a.outlink:after {
  margin-right: 6px;
  content: ' ' url(/images/buttons/outlink.png);
}


/* *** { Page parts: *** */

div#page {
  position: relative;
  background-color: #ffffff;
}


/* -----------------
   --- { Header:
   ----------------- */
div#pageHead {
  position:    absolute;
  top:         3px;
  left:        2px;
  width:       758px;
  height:      70px;
  margin: 0px 0px 0px 0px;
  text-align: center; 
  background-color: #ffffff;
}
body.dict div#pageHead {
  width:       900px;
}

div#pageHead div#logo {
  background-color: #cccccc;
  margin:   0px;
  padding:  0px;
  text-align: center;
  float: left; 
  width: 126px; 
  height: 72px;
  background-color: #0000cc;
}
div#pageHead div#logo a img {
  border: 0;
}

div#pageHead div#header {
  float: left; 
  height: 70px;
  width: 628px; 
  height: 72px;
  margin-left: 2px;
  background-image: url(/images/logos/logo-tibetangeeks-words.jpg);
  background-color: #0000cc;
  background-repeat: no-repeat;
  background-position: 5px 5px;
  position: relative;
}
body.dict div#pageHead div#header {
  width: 770px;
}

div#pageHead div#header h1 {
  display: none;
}
  /*
div#pageHead div#header h1 {
  color: #990000; 
  letter-spacing: .2em; 
  text-transform: uppercase;
  padding: 0;
  margin: 14px 0 13px 0;
}
div#pageHead h1 a:link, div#pageHead h1 a:visited, div#pageHead h1 a:hover {
  color: #cc0066; 
  text-decoration: none;
}
div#pageHead p {
  font-size: 120%;
}
  */

/* background image for site section: */
body div#pageHead div#header div#sec {
  background-image: url(/images/logos/bod_yig_tshig_dzod.png); 
  background-repeat: no-repeat;
  position: absolute;
  top: 20px;
  left: 280px;
  width: 100px;
  height: 43px;
}
body.dict div#pageHead div#header div#sec {
  background-image: url(/images/logos/bod_yig_tshig_dzod.png); 
  width: 216px;
}

/* -----------------
   --- { The nav/content area:
   ----------------- */
/* holds sidbar, meta nav, content. */
table#pageContent {
  position:         absolute;
  top:              78px;
  left:             0px;
  background-color: #ffffff;
  width:    756px;
  margin:   0px 0px 0px 2px;
  float: left;
  vertical-align: top;
}
div#pageContent {
  position:         absolute;
  top:              76px;
  left:             2px;
  background-color: #ffffff;
  width:    900px;
  margin:   0px;
}
body.dict div#pageContent { /* no sidebar nav */
  top:              70px;
  left:             2px;
}


/* -----------------
   --- { Sidebar navigation:
   ----------------- */
div#pageNav, 
td#pageNav {
  font-size:        90%;
  width:            126px;
  padding:          0;
}
div#pageNav { 
  position: relative;
}
div#pageNav h3, 
td#pageNav h3 {
  display: none;
}

div#pageNav ul, 
td#pageNav ul {
  list-style: none;
  margin:   0;
  padding:  0;
  width:    126px;
  border-top: 4px solid #ccc;
}
div#pageNav ul li, 
td#pageNav ul li {
  margin:   0;
  padding:  0;
  position: relative;
}

/* pop-out menus */
div#pageNav ul li ul.subsec, 
td#pageNav ul li ul.subsec {
  font-size: 85%;
  list-style: none;
  position: absolute;
  left: 100px;
  display: none;
  border: none;
  border-left: 2px solid #ccc;
  background-color: #fafafa;
  z-index: 30;
}
td#pageNav ul#sec-tech li ul.subsec {
  top: 160px;
}
td#pageNav ul#sec-resource li ul.subsec {
  top: 280px;
}
div#pageNav ul li ul.subsec {
  top: 0px;
  left: 126px;
}
/* make them display: */
div#pageNav ul li:hover ul.subsec, 
td#pageNav ul li:hover ul.subsec {
  display: block;
  border-bottom: 2px solid #ccc;
}

div#pageNav a:link, td#pageNav a:visited, 
td#pageNav a:link, td#pageNav a:visited {
  color:            #000000;
  text-decoration:  none;
  padding:          3px 6px 3px 10px;
  display:          block;
  border-top: 1px solid #ccc;
  /* this one is to keep the menu from "jumping" on hover below */
  border-bottom: 1px solid #eee;  
}
div#pageNav a:hover, 
td#pageNav a:hover {
  color:            #990000;
  text-decoration:  none;
  border-top:    1px solid #cc0000;
  border-bottom: 1px solid #cc0000;
}

/* { "you are here" for main nav */
body#news-index a#link-news, 
body#geek-index a#link-geek, 
body#forum-index a#link-forum, 
body#chat-index a#link-chat, 
body#wiki-index a#link-wiki, 
body#rvws-index a#link-rvws, 
body#tech-index a#link-tech, 
body#tech-index a#link-ltutor, 
body#using-index a#link-using, 
body#soft-index a#link-soft, 
body#dnld-index a#link-dnld, 
body#res-index a#link-res, 
body#learn-index a#link-learn, 
body#sol-index a#link-sol, 
body#vol-index a#link-vol, 
body#job-index a#link-job, 
body#bodyig.index a#link-bodyig, 
body#need-index a#link-need { 
  color:            #990000;
  text-decoration:  none;
  font-weight:      bold;
  font-size:        100%;
  padding:          5px 0px 7px 10px;
  display:          block;
  border-top:    1px solid #cccccc;
  border-bottom:    1px solid #cccccc;
  background-color: #ffffcc;
  background-image: url(/images/bullets/nav-here.gif);
  background-repeat: no-repeat;
  background-position: right;
  cursor: text;
}
/* { "you are in this section" for main nav */
body#news-page a#link-news, 
body#geek-page a#link-geek, 
body#forum-page a#link-forum, 
body#chat-page a#link-chat, 
body#wiki-page a#link-wiki, 
body#rvws-page a#link-rvws, 
body#tech-page a#link-tech, 
body#using-page a#link-using, 
body#soft-page a#link-soft, 
body#dnld-page a#link-dnld, 
body#res-page a#link-res, 
body#learn-page a#link-learn, 
body#sol-page a#link-sol, 
body#vol-page a#link-vol, 
body#job-page a#link-job, 
body#need-page a#link-need { 
  color:            #990000;
  text-decoration:  none;
  font-weight:      normal;
  font-size:        100%;
  padding:          5px 0px 7px 10px;
  display:          block;
  border-top:    1px solid #cccccc;
  border-bottom:    1px solid #cccccc;
  background-image: url(/images/bullets/nav-here.gif);
  background-repeat: no-repeat;
  background-position: right;
}
body#all {
  /* all the others. does nothing */
}



/* "you are here" for meta nav */
body#home a#link-home, 
body#about a#link-about, 
body#ctct a#link-ctct, 
body.dict a#link-by, 
body#forum a#link-frm, 
body#gstbk a#link-gstbk { 
  font-weight: bold;
  cursor: text;
}

/* subsection of section link */
div.subsec {
  margin-left: 2em;
}
#sectionLinks a.subsec:link, #sectionLinks a.subsec:visited {
  font-size:        80%;
  padding:          0px 0px 0px 0px;
  margin-left:      3em;
  margin-bottom:    5px;
  display:          block;
  border-top:       0;
}
div.subsec a:hover {
  font-weight:      bold;
  color:            #3300cc;
  background-color: #ffffff;
  text-decoration:  none;
}

#sectionImage {
  margin:           0px;
  padding:          0px;
  text-align:       center;
  background-color: #dddddd;
}

/* { search form in nav: */
div#search {
  font-size: 80%;
  background-color: #cccccc;
  margin: auto;
  padding: 2px 8px 2px 4px;
  text-align: center;
}
div#search form {
  width: 100%;
}
div#search h3 {
  display: block;
  font-size: 90%;
  color:  green;
  margin: 2px 0;
}
div#search form p.radios {
  margin-top: .3ex;
  margin-bottom: 0;
  text-align:    left;
}
div#search form p.note {
  font-size: 80%; 
  color:     green; 
  margin-top: .5ex;
}
div#search form input.button-search {
  border-right: 2px solid green; 
  border-bottom: 1px solid green;
  -moz-border-radius: 4px;
  padding: 2px;
  background-color: #ffffff;
  margin-top: 1ex;
  text-align: center;
}
/* } search form in nav. */

div#pageNav div#adsense, 
td#pageNav div#adsense {
  display: table;
  width: 120px;
  margin: auto;
  margin-top: 2ex;
  /* can't control font size - javascript
    font-size: 90%;
  */
}

/* { Internet Traffice Report update */
div#pageNav div#itr, 
td#pageNav div#itr {
  display: table;
  width: 120px;
  margin: auto;
  margin-top: 2ex;
  padding: 0;
}
/* wups, it inherits link style */
div#pageNav div#itr a,
td#pageNav div#itr a,
div#pageNav div#itr a:visited, 
td#pageNav div#itr a:visited, 
div#pageNav div#itr a:hover, 
td#pageNav div#itr a:hover {
  display: inline;
  margin:  0;
  padding: 0;
  border: none;
}
div#pageNav div#itr img, 
td#pageNav div#itr img {
  margin: 0;
  padding: 0;
  border: none;
}

/* -----------------
   --- { Content:
   ----------------- */

/* the meta nav bar */
td#nav-meta {
  color: #eeeeee;
  text-align: right;
  font-size: 90%;
  width: 620px;
  height: 1ex;
  padding: 0;
  border-left: 2px solid #ffffff;
  background-color: #990000;
}
td#nav-meta a {
  color: #eeeeee;
  text-decoration: none;
  padding: 0 3px 0 3px;
}
div#nav-meta {
  clear: both;
  position: absolute;
  top: 0px;
  left: 128px;
  color: #eeeeee;
  text-align: right;
  vertical-align: middle;
  font-size: 90%;
  width: 624px;
  height: 2.4ex;
  padding: 2px;
  background-color: #990000;
}
body.dict div#nav-meta {  /* no sidebar nav */
  width: 894px;
  top: 4px;
  left: 0px;
}
div#nav-meta span.defn {
  float: left;
  margin-top: 2px;
}
div#nav-meta span.links {
  float: right;
}
div#nav-meta a {
  color: #eeeeee;
  text-decoration: none;
  padding: 0 3px 0 3px;
  font-size: 80%;
}



/* the actual content area */
div#content {
  font-size:  100%;
  width:      630px;
  position: absolute;
  top:  2.5ex;
  left: 128px;
  padding:    0;
  border-bottom: 4px double #cc0000;
  margin-bottom: 8px;
}
body.dict div#content { /* no sidebar nav */
  width: 900px;
  margin-bottom: 2ex;
  left: 0;
  top: 2.5ex;
}
/* for content blocks under h3s: */
div.incontent { 
  margin: 0 2em;
}

/* lists */
div#content ul {
  list-style-image: url(/images/bullets/bullet.gif);
  list-style-type: none;
  margin:          0;
  margin-bottom: 1ex;
  padding:         0;
}
body#page-home div#content ul {
  list-style-image: url(/images/bullets/bullet2.gif);
}
div#content li {
  margin-top:  2ex;
  margin-left: 2em;
}
div#content li:first-child {
}
div#content ul li ul li {
  font-size: 100%;
  padding-top: 0;
  margin-top: 0;
  list-style-type: circle;
  list-style-image: none;
}

div#content p {
 /*  padding-right: 1em; why? */
}

div#content dt {
  margin-top:  .7ex;
  padding:     0px 0px 0px 0px;
}
div#content dt:first-child {
  margin-top:  0;
}
div#content dd {
  margin-top:  .5ex;
  padding:     0px 0px 0px 0px;
}

div#content blockquote {
  margin:     0px 0px 0px 15px;
  padding:    0px 0px 0px 15px;
}
/* for using with quotes app: */
div#content blockquote.header {
  padding: 0 16px;
  width: 400px;
  float: right;
  background-color: #dfe2ff;
  border: 1px dashed #cccccc;
}

div#content h1, div#content h2, div#content h3, div#content h4 {
    color: #000000;
}
div#content h1 {
  font-size:  150%;
  padding:    5px 0px 5px 0px;
}
div#content h2 {
  color:      #114477;
  font-size:  125%;
  margin-top: 0;
  padding:    5px; 
  background-color: #f7f2dc;
  border-bottom: 1px solid #cc0000;
}

div#content h3 {
  color: #555555;
  font-size: 110%;
  padding: 5px;
  background-color: #f7f2dc;
  text-transform: lowercase;
  margin-top: 0;
  text-transform: none;
}
body.dict div#content h3 {
  width:  880px;
}
body.dict div#content h3 span span.bo {
  font-size: 150%;
  font-weight: normal;
  margin-left: 1em;
}
body.dict div#content h3 span.inheader {
  font-size: 80%;
  font-weight: normal;
  margin-left: 6em;
}
body.dict div#content h3 span.inheader a {
  color: #006600;
}

div#content a.totop {
  font-size: 130%;
  font-weight: bold;
  margin: 0;
  padding: 0;
  margin-left: .5em;
}

div#content h4 {
  font-size: 90%;
}

/* no borders on links inside other tags */
div#content a img,
div#content h1 a,
div#content h2 a,
div#content h3 a,
div#content h4 a,
div#content h5 a {
  color: #555555;
  border: none;
  text-decoration: none;
}
div#content h3 a:hover {
  text-decoration: underline;
}



/* -----------------
   --- { Footer:
   ----------------- */
div#footer {
  width:       800px;
  color:       #666666;
  font-size:   80%;
  border-top:  1px solid #cccccc;
  padding:     5px 10px;
  text-align:  right;
  margin-top: 3ex;
  position: absolute;;
  left: 0;
  bottom: 0;
}
div#footer a { 
  text-decoration: none;
}
div#footer span.youarehere, 
td#siteInfo span.youarehere {
  font-weight:      bold;
}


/* ===============================================
   ===== { Special stuff - on special pages: =====
   =============================================== */

/* news, resources pages */
body#job-index span.title,
body#job span.title,
body#news-index span.title,
body#news span.title,
body#res-index span.title,
body#res span.title, 
body#tech-index span.title,
body#tech span.title {
  display: block;
  font-weight: bold;
}
body#job-index span.dateline,
body#job span.dateline,
body#news-index span.dateline,
body#news span.dateline,
body#res-index span.dateline, 
body#res span.dateline, 
body#tech-index span.dateline, 
body#tech span.dateline {
  font-size: 90%;
}
body#job-index span.link,
body#job span.link,
body#news-index span.link,
body#news span.link,
body#res-index span.link,
body#res span.link,
body#tech-index span.link,
body#tech span.link {
  display: block;
}

span.url {
  display: block;
  font-size: 90%;
  line-height: 130%;
  padding-top: .5ex;
}
/* Add these in if you want different style:
body#job-index span.url,
body#job span.url,
body#news-index span.url,
body#news span.url,
body#res-index span.url,
body#res span.url,
body#tech-index span.url,
body#tech span.url {
*/

span.loc {
  display: block;
}
/* Add these in if you want different style:
body#job-index span.loc,
body#job span.loc,
body#news-index span.loc,
body#news span.loc,
body#res-index span.loc,
body#res span.loc,
body#tech-index span.loc,
body#tech span.loc {
  display: inline;
}
*/

span.desc {
  display: block;
}
/* Add these in if you want different style:
body#job-index span.desc,
body#job span.desc,
body#news-index span.desc,
body#news span.desc,
body#res-index span.desc,
body#res span.desc, 
body#tech-index span.desc,
body#tech span.desc {
  display: inline;
}
*/


/* { *** page-specific styles: */

/* needs index page */
body#need-index dl {
  margin-bottom: 3ex;
}
body#need-index h4 {
  border-top: 1px solid #000000;
}



/* solutions index page */
body#sol-index span.more {
  display: block;
}
body#sol-index div#content ul {
  width: 400px;
}
body#sol-index div#content ul li:first-line {
  font-weight: bold;
}
body#sol-index div#content ul li ul li:first-line {
  font-weight: normal;
}

/* volunteer index page */
body#vol-index div.jobs {
  width: 30em;
  margin-left: 3em;
}
body#vol-index div.jobs dl dt {
  font-weight: bold;
}



/* ============================================
   ===== { Special stuff - on all pages: =====
   ============================================ */

/* for 'on this page' links in page header: */
div#content h2 span.pagenav {
  font-size: 70%;
  font-weight: normal;
  display: block
}
div#content h2 span.pagenav a {
  color: #0000cc;
  margin-left: .5em;
}
div#content h2 span.pagenav:before {
  content: '\2193';
}

/* for 'in this section' links in section header: */
div#content h3 span.pagenav {
  font-size: 70%;
  font-weight: normal;
  display: block
}
div#content h3 span.pagenav a {
  color: #0000cc;
  margin-left: .5em;
}
div#content h3 span.pagenav:before { 
  content: '\2193';
}

/* for 'in this section' links later in the page: */
p.pagenav {
  text-align: center;
}
p.pagenav:before, 
p.pagenav:after {
  content: '\2193';
}
p.pagenav a {
  margin-left: 4px;
  margin-right: 4px;
}

/* { for 'read more' links */
div#content span.more {
  white-space: nowrap;
  font-size: 90%;
}
div#content span.more:before {
  content: '... [ ';
}
div#content span.more:after {
  content: ' ]';
}
div#content span.more a {
  display: inline;
}


p#clustrmap {
  width: 170px;
  margin: auto;
}


/* We could do 
 *   div.photo {
 * for the definitions for all photos, and then
 *   div.photo[align=left] {
 *   div.photo[align=right] {
 * for the float and margin for left and right,
 * but MSIE totally ignores the align=left in the html
 * when this definition is in the stylesheet. 
 * Other browsers will do The Right Thing,
 *  but we have to define each separately and
 *  duplicate code because of MSIE.
 */
span.img {
  margin: 1ex 10px 6px 10px;
  text-align: center;
}
span.img-left {
  float: left;
  margin-right: 2em;
}
span.img-right {
  float: right;
  margin-left: 2em;
}
/* this one needs to be enclosed in a 'div align="center"' */
span.img-center {
}

span.img p {
  color: #408000;
  font-weight: normal;
  font-size: 80%;
  margin-top: 0ex;
  margin-bottom: 0ex;
  width: 300px;
}
span.img p.caption {
  text-align: left;
}
span.img p.credit {
  text-align: right;
}


/* for "new" items */
li.new {
  list-style-image: url(/images/bullets/new.gif);
}

/* for displaying code: */
pre {
  display: table;
  background-color: #eeeeee;
  padding: 5px;
}


/* for using at end of a div, to force clearing of following div */
div.clearall {
  clear: both;
}


/* --- Home page only -- */
table.hp-index {
}
table.hp-index td {
  font-size: 90%;
  vertical-align: top;
  padding-left: 8px;
  border-collapse: collapse;
}
table.hp-index td h3 {
  height: 24px;
  border-top: 3px solid #006600;
}
table.hp-index td ul {
  margin-left: 1em;
}

/* {{ special stuff: */

/* { for link lists: */
span.title {
  font-weight:    bold;
  display:         block;
}
span.title-tops {
  font-weight:    bold;
  display:         block;
  border: 1px dashed #cccccc;
}
span.desc {
  width:      60%;
  padding:    .5ex 1em 0ex 2em;
  font-size:      95%;
  line-height:    1.2em;
  display:        block;
}
span.link {
  padding-top:    0px;
  font-size:      1em;
  display:        block;
}
span.other {
  width:      60%;
  padding:    .5ex 1em 0ex 2em;
  font-size:      85%;
  line-height:    1.2em;
  display:        block;
}
span.date {
  width:      60%;
  padding:    .5ex 1em 0ex 2em;
  font-size:      85%;
  line-height:    1.2em;
  display:        block;
}

span.filesize {
  font-size: 80%;
}

/* new/updated items */
span.new {
  background-image: url(/images/bullets/new.gif);
  background-repeat: no-repeat;
  font-size: 80%; 
  padding-left: 30px;
}
span.updated {
  background-image: url(/images/bullets/updated.png);
  background-repeat: no-repeat;
  font-size: 80%; 
  padding-left: 50px;
}


p.notyet, 
div.notyet, 
span.notyet {
  background-color: #f5f5f5;
  color:  #cccccc;
  font-weight: normal;
}

*.bo {
  font-size: 130%;
  line-height: 140%;
  vertical-align: middle;
}


/* }} special stuff. */

/* e o f */
