/* Start of CMSMS style sheet 'dharmakirti : Main' */
* {
  margin: 0;
  /* padding: 0; */
}

body {
  text-align: left;
  font-family: georgia, serif;
}

img {border: 0}

#content a,
#content a:link 
#content a:active {

  background-color: inherit;
  color: #18507C;
  border: 1px solid transparent;

  -moz-transition-duration: 0.5s;
  -moz-transition-timing-function: linear;

	padding: 3px;
	-moz-border-radius: 5px;
	text-decoration: none;

}

#content a:visited {
  text-decoration: underline;
  background-color: inherit;
  color: #18507C;
  border: 1px solid transparent;

  -moz-transition-duration: 0.5s;
  -moz-transition-timing-function: linear;
}

#content a:hover {
  text-decoration: none;
   background-color: #ffa;
   border: 1px solid #9ff;
/*  background-color: #e92; */
/*  color: #fff; */

  -moz-transition-duration: 1s;
  -moz-transition-timing-function: linear;
}

/*****************
basic layout 
*****************/

html {
  background: #ffe9af;
  overflow-y: scroll;
}

body {
  background: #ffe9af;
  color: #333;
  margin: 0 1em 1em;
}

div#pagewrapper {
  border: 1px solid #666;
  border-top: none;
  border-bottom: none !important;
  margin: 0 auto;
  max-width: 70em;
  min-width: 42em;
  background: #fff url(uploads/dharmakirti/content_grad_bg.png) repeat-x 0 129px;
  color: #333;
}

#header {
  padding: 50px 0 5px 24px;
  height: 72px;
  border-bottom: solid 1px #ff6347;
  background: #dfd39a url(uploads/dharmakirti/header_bg.png) repeat-x top left;
}

#header h1 {
  float: left;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 37pt;
  line-height: 0.3;
  
}

#header h1 span.1 {
  -moz-transition-duration: 0.5s;
}

#header h1:hover span.1 {
  -moz-transition-duration: 0.4s;
  text-shadow: 1px 1px 8px black, 0 0 1em #008800, 0 0 0.2em #008800;
  color: #fff;
}

#header h1:hover span:nth-child(1) {
  -moz-transition-delay: 0s;
}

#header h1:hover span:nth-child(2) {
  -moz-transition-delay: 0.1s;
}

#header h1:hover span:nth-child(3) {
  -moz-transition-delay: 0.2s;
}

#header h1:hover span:nth-child(4) {
  -moz-transition-delay: 0.3s;
}

#header h1:hover span:nth-child(5) {
  -moz-transition-delay: 0.4s;
}

#header h1:hover span:nth-child(6) {
  -moz-transition-delay: 0.5s;
}

#header h1:hover span:nth-child(7) {
  -moz-transition-delay: 0.6s;
}

#header h1:hover span:nth-child(8) {
  -moz-transition-delay: 0.7s;
}

#header h1:hover span:nth-child(9) {
  -moz-transition-delay: 0.8s;
}

#header h1:hover span:nth-child(10) {
  -moz-transition-delay: 0.9s;
}

#header h1:hover span:nth-child(11) {
  -moz-transition-delay: 1.0s;
}


#header h1 a {
  display: inline;
  color: #efefef;
  padding: 25px 128px 50px;
  background: url(uploads/dharmakirti/hung_header.png) no-repeat 12px -5px;
  background-repeat: no-repeat !important;
  z-index: 2;
  font-weight: bold;
  text-decoration: none;
  -moz-text-shadow: rgba(0,0,0,0.6) 1px 1px 1px;
  text-shadow: rgba(0,0,0,0.6) 1px 1px 1px;
}

#header h1 a:hover {
  text-decoration: none;
  color: #fff;
  background-color: transparent;
  background-position: 12px -167px;
  -moz-text-shadow: rgba(0,0,0,0.6) 2px 2px 1px;
  text-shadow: rgba(0,0,0,0.6) 1px 2px 2px;
}

#header h1 a span#sub{
  color: #eaeaea;
  position: absolute;
  top: 65px;
  width:78em;
  margin-left: 128px;
  font-size: 12px !important;
  vertical-align:bottom !important;
  margin-top: 2em;
}

#header h1 a:hover span#sub{
  color: #fff;
  background-color: inherit;
}

#header h1 span #tibtext{
  margin-top: -5em;
  -moz-opacity:.8;
  opacity:.8;
}

#header h1 a:hover span #tibtext{
  -moz-opacity:1.2;
  opacity:1.2;
}

div#search {
  float: right;
  width: 23em;
  text-align: right;
  padding: 0.6em 0 0.2em 0;
  margin: 0 1em;
  font-size: 90%;
}

div.breadcrumbs {
  color: #333;
  padding: 8px 0;
  font-size: 14px;
  margin: 0 1em 1.5em;
  border-bottom: 1px solid #bbb;
}

div.breadcrumbs span.lastitem {
  font-weight: bold;
  color: #095eae
}

div#language{
  display: inline;
  float: right;
}

div#content {margin: .2em auto 2em 0}

div#main {
  margin-left: 29%;
  margin-right: 2%;
}

div#sidebar {
  float: left;
  width: 25.8em;
  display: inline;
  margin-left: 0;
/*  margin-top: -4em; */
}

div#footer {
  clear: both;
  color: #fff;
  padding-top: 40px;
  background: #dfd39a url(uploads/dharmakirti/footer_bg.png) repeat-x top left;
  border-bottom: 1px solid black;
}

div#footer p {
  font-size: 0.8em;
  padding: 1.5em 1em .7em;
  text-align: center;
  margin: 0;
  max-width: 100em;
}

div#footer span#validation {
  top: -1.5em;
  left: 0em;
  float: left;
  font: 12px monospace !important;
}

div#footer span#validation a {
  color: #fff;
  background-color: inherit;
}

div#footer span#validation a:hover {color: #000}

#validation img {margin-bottom: -4px !important}

div#footer span {
  font-size: 1.25em;
  float: right;
  position: relative;
  bottom: 1.5em;
  right: 1em;
}

div#footer p a {
  color: #fff;
  background-color: inherit;
}

div#footer p a:hover {
  color: #000;
  background-color: #ffa !important;
}

div.hr {
  height: 1px;
  padding: 1em;
  border-bottom: 1px solid #a7a7a7;
  margin: 1em;
}

div.left49 {width: 49%}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/

div#content {font-size: 62.5%}

#menu_vert {
  font-size: 1.4em;
  margin-top: 35px;
}

/* HEADINGS */

h2, h3, h4, h5, h6 {
  color: #095eae;
  font-weight: normal;
  letter-spacing: 0;
  text-align: left;
  text-shadow: rgba(0,0,0,0.5) 1px 1px 1px;
  max-width: 20em;  
}

div#content h2 {
  background: url(uploads/dharmakirti/hung_h.png) no-repeat left center;
  font-size: 2.4em;
  line-height: 1.2em;
  padding-left: 1.5em;
  margin-bottom: .5em;
}

div#content h3 {
  font-size: 1.9em;
  line-height: 1.3em;
  margin-bottom: .3em;
}

div#content h4 {
  font-size: 1.2em;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
}

div#content h5 {
  font-size: 1.1em;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
}

div#content h6 {
  font-size: 1em;
  line-height: 1.3em;
  margin: 0 0 0.25em 0;
}

/* TEXT */

p {
  font-size: 1.6em;
  margin: 0 0 1em 0;
  line-height: 1.5;
  padding: 0;
  max-width: 33em;
}

p.home {max-width: 70em}

div#main p{
  width: 94%;
  max-width: 99%;
  padding-left: .6em;
}

blockquote {
  border-left: 10px solid #ddd;
  margin-left: 10px;
}

q:lang(de)    { quotes:"\201E" "\201C" "\201A" "\2018"; }
q:lang(de-DE) { quotes:"\00BB" "\00AB" "\203A" "\2039"; }
q:lang(de-CH) { quotes:"\00AB" "\00BB" "\2039" "\203A"; }
q:lang(en)    { quotes:"\201C" "\201D" "\2018" "\2019"; }
q:lang(fr)    { quotes:"\00AB\00A0" "\00A0\00BB" "\2039\00A0" "\00A0\203A"; }

q:before { content:open-quote;}
q:after { content:close-quote;}
q q:before { content:open-quote;}
q q:after { content:close-quote;}

strong, b {font-weight: bold}

em, i {font-style: italic}

sup {font-size: 66.6% !important}

abbr {
  font-variant: small-caps;
  letter-spacing: 1px;
  text-transform: lowercase;
  cursor: help;
  border-bottom: 1px dotted #ccc;
}

object {margin: 1em}

div#content img {margin: 1em 0 1em .8em}

div#content img.left {margin: 1em 1.5em .5em 0}

fieldset {
  font: 83% 'Lucida Grande', 'Gill Sans', Tahoma, sans-serif !important;
  border: none;
}

fieldset div {margin: .1em 0 0 0}

textarea {
  margin: .2em;
  padding: .5em;
}

input {
  margin: .2em;
  padding: .1em;
  width: 15em;
}

.left {
  text-align: left;
  float: left;
}
img.left {
  padding:0 !important;
  margin: .4em .7em 0 0 !important;
}
img.left-shadow {
  text-align: left;
  float: left;
  padding:0 !important;
  margin: .4em .7em 0 0 !important;
  -moz-box-shadow: -4px 4px 2px #999;
  box-shadow: -4px 4px 2px #999;
}

.right {
  text-align: right;
  float: right;
}
img.right {
  padding:0 !important;
  margin: .4em 0 0 .7em !important;
}
img.right-shadow {
  text-align: right;
  float: right;
  padding:0 !important;
  margin: .4em 0 0 .7em !important;
  -moz-box-shadow: -4px 4px 2px #999;
  box-shadow: -4px 4px 2px #999;
}

.nofloat {float: none;}

.center {
  text-align: center;
  margin: 0 auto !important;
  display: block;
}

.clear{clear: both}

.displayNone {display: none}

.hr {
  margin: 6em auto 3em !important;
}

del { text-decoration: line-through; }

.sub, .sub2 {
  font-size: 1.7em !important;
  line-height: 1.2;
  font-weight: normal;
  color: #fa8200 !important;
  font-style: oblique;
  text-shadow: rgba(0,0,0,0.3) 1px 1px 1px;
  margin: -.7em 0 0.5em 2.2em !important;
}

.sub2 {
  font-size: 1em;
  font-weight: 400;
  margin-top: -1em;
}

.subdued {color: #444}

.prayer {max-width: 35em}

.spacer {margin: 1em}

img.jigten {margin: -2em 1em 0 1em !important}

.monospace {font-family: "Monaco", "Andale Mono", monospace !important}

.contactForm {font-size: 1.6em}

.contactForm label {margin: .5em}

.caps {font-variant: small-caps !important}

#content div.note {
  font-size: 1.1em;
  padding: 0;
  margin: 3em 0 2em 0;
  background: #fff5be url(/images/intro-br.gif) no-repeat bottom right;
  max-width: 50em;
}
 
#content .note p {
  margin: 0;
  padding: 30px;
  background: transparent url(/images/intro-bl.gif) no-repeat bottom left;
}

#content .note li {margin-left: 2em}

#content .note ul{
  list-style-image:url(images/cms/inner_count.png);
  margin: 0;
  background: transparent url(/images/intro-bl.gif) no-repeat bottom left;
  padding: 30px;
}

table.list {
  max-width: 72%;
  border: none;
  font-size: 1.3em;
  background-color: #FFF5BE;
  border: 1px solid #FFE482;
/*  border-bottom: 6px solid #FFE482; */
  font-family: Helvetica, sans-serif;
  margin: 1em 0 3em;
  padding: 0 -1px -10px -1px !important; 
  -moz-box-shadow: 4px 4px 2px #CFC39B;
  box-shadow: 4px 4px 2px #CFC39B;
}

table.list tr {

}

table.program {
  width: 42em !important;
  box-shadow: 4px 4px 2px #CFC39B !important;
  -moz-box-shadow: 4px 4px 2px #CFC39B;  
}

table.list td {
  vertical-align: middle;
  padding: .25em;
  margin: 0;
  border-left: none;
  border-right: none;
/*  border-top: 1px solid #FFE482;
  border-right: 1px solid #FFE482; 
  border-bottom: 1px solid #FFE4BC;
  border-left: 1px solid #FFE4BC; */
  box-shadow: 4px 4px 2px #CFC39B !important;
}

td.darkbg {
/*  background-color: #F9FFCC; */
/*  border-top: 1px solid #FFE482 !important;
  border-right: 1px solid #FFE4CC !important;
  border-bottom: 1px solid #FFE4CC !important;
  border-left: 1px solid #FFE482 !important; */
}

/*table.list .odd {background-color: #EBFFDE !important}*/
table.list .odd {background-color: #FFF5BE !important}
table.list .even {background-color: #FFF !important}

/* END TEXT */

/* LISTS */

div#main h2{
  padding-left: 0;
  background: none;
  width: 94% !important;
  max-width: 99% !important;
 }
div#main h3 {
  margin: -.7em 0 0.5em .2em !important;
  width: 94% !important;
  max-width: 99% !important;
}

div#main ul,
div#main ol,
div#main dl {
  font-size: 11pt;
  line-height: 1.5em;
  margin: 0 0 1.5em 0;
  max-width: 33em;
}
div#main ul {
  list-style-image:url(images/cms/inner_count.png);
}

div#main ul li,
div#main ol li {
  margin: 0 0 0.25em 3em;
}

div#main ul.extlink li {
  margin: 0 0 0.25em 3em;
  list-style-image: url(/images/cms/dl_bullet.png);
  list-style-position: inside;
}

div#main ul.extlink li:hover {
  list-style-image: url(/images/cms/dl_bullet1.png);
}

/* definition lists topics on bold */

div#main dl dt {
  font-weight: bold;
  margin: 0 0 0 1em;
}

div#main dl dd {margin: 0 0 1em 1em}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

ul.program {
  width: 50em !important;
  margin: 3em 0 !important;
  padding: 2.5em 0 1em !important;
  border-top: 1px solid #FFE482;
  border-bottom: 1px solid #FFE482;
}

/* END LISTS */

p#noIE {
  font: 1.4em Verdana, sans-serif;
  padding: .6em !important;
  background: yellow;
  border: 4px solid red !important;
  width: 33em;
  position: absolute;
  top: 1em;
  right: 1em;
}

p.stat {display: none}
/* End of 'dharmakirti : Main' */

