/* Multi-format version generated through http://www.fontsquirrel.com/fontface/generator 
   by Roger, 25 sep 2012 */
@font-face {
    font-family: "DDCUchen";
    src: url('./ddc_uchen-webfont.eot');
    src: url('./ddc_uchen-webfont.eot?#iefix') format('embedded-opentype'),
         url('./ddc_uchen-webfont.woff') format('woff'),
         url('./ddc_uchen-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}                     

html, body {
	margin: 0;
	text-align: left;
	background: #fff;
}
body, td {
	font: 13px 'Lucida Grande', Verdana, sans-serif;
	padding: 0;
}
table {
	border-spacing: 0;
}
td {
	vertical-align: top;
}
form {
	margin: 0;
	padding: 0;
}
hr {
	border: 1px solid gray;
	height: 1px;
}
img {
	border: 0;
}
ul, ol {
	margin-left: 2em;
	padding: 0;
}
ul.index-entry { 
	margin-bottom: 18px;
}
blockquote {
	margin: 1em;
}
h1 {
	margin: 0 0 18px 0;
	font-size: 21px;
	line-height:24px;
	color: #131313;
	font-weight: normal;
}

#content h1:first-child { margin-top:-4px }

h2 {
	font-size: 16px;
	font-weight: bold;
}
h3 {
	font-size: 14px;
	font-weight: bold;
}
h4 {
	font-size: 13px;
	/* color: #ba7d56; */
	color: #954a29;
	font-weight: bold;
}

h5 {
	margin: 20px 0 0 0;
	font-weight: bold;
	font-size: 13px;
}
h2, h3, h4 {
	margin: 1em 0;
}
p {
	margin: 0 0 1em 0;
	padding: 0;
}

#border {
	background-color: #dacf94;
	position: fixed;
	z-index: 999;
	top: 0;
	bottom: 0;
	left: 0;
	width: 12px;
}

#header-container {
	width: 100%;
	background-color: #000;
	color: #fff;
	border-bottom: 6px #242424 solid;
	margin-bottom: 24px;
}

#header {
	max-width: 994px;
	min-height: 162px;
	margin: 0 auto 0 auto;
	padding: 0 20px;
	overflow: auto;
	position: relative;
}
#header a {
	color: #fff;
	text-decoration: none;
	display: inline-block;
}
#header a:hover {
	text-decoration: underline;
	color: #b8d1dc;
}
#header a.active {
	color: #b8d1dc;
}
#header #logo {
	position: absolute;
	top: 42px;
	left: 20px;
}
#logo img {
	width: 238px;
	height: 82px;
}
#header-right {
	margin-left: 260px;
	text-align: right;
}
#header-langs {
	margin-top: 14px;
	margin-right: 6px;
	line-height: 24px;
	font-size: 12px;
}
#header-langs a {
	margin-left: 16px;
}
#header-links1 {
	margin-top: 7px;
	margin-right: 6px;
	line-height: 24px;
	font-size: 16px;
}
#header-links1 a {
	margin-left: 30px;
}
#header-links2 {
	margin-top: 13px;
	margin-right: 6px;
	line-height: 24px;
	font-size: 14px;
}
#header-links2 a {
	color: #d2a57f;
	margin-left: 16px;
}
#header-links2 a:hover, #header-links2 a.active {
	color: #fff;
}
#header-right a:first-child {
	margin-left: 0;
}
#search-form {
	margin: 20px 0 14px 0;
}
#search-form input {
	line-height: 15px;
	font: 13px/1.231 arial,helvetica,clean,sans-serif;
	margin-left: 6px;
	border-radius: 2px;
}
#id__search_input {
	padding: 0;
	width: 127px;
	border: 1px solid #ccc;
}
#search-button {
	padding: 1px 2px;
	border-radius: 3px;
	background-color: #eee;
}

div.error {
	background-color: #fef5f1;
	color: #8c2e0b;
	border: 1px solid #ed541d;
	margin: 6px 0;
	padding: 10px 10px 10px 50px;
	background-image: url("/Static/error.png");
	background-position: 8px 8px;
	background-repeat: no-repeat;
}

#wrapper {
	/* min-width: 650px; */
	max-width: 994px;
	margin: 0 auto 0 auto;
	padding: 0 20px;
	position: relative;
}

#toplines {
	width: 100%;
	/* min-width: 650px; */
	margin-bottom: 24px;
}
#maintable {
	width: 100%;
	/* min-width: 650px; */
}
.leftcol {
	width: 238px;
}
.sepcol {
	width: 14px;
}
.topline {
	border-top: 3px solid #151515;
}
#leftcol-inner {
	color: #505050;
	background: #d3a582;
	padding: 14px;
	line-height: 25px;
}

#leftcol-inner a {
	text-decoration: none;
}
#maintable #leftcol-inner a:hover, #maintable #leftcol-inner a:active {
	text-decoration: underline;
	background-color: inherit;
}

#leftcol-inner ul.menu {
	margin: 0 4px 0 26px;
	padding: 0;
	border: none;
	text-align: left;
	list-style: circle;
}

.nav-title {
	display: block;
	text-decoration: none;
	margin: 2px 0;
	position: relative;
}

#content, #rightcol-inner {
	color: #505050;
}
#content {
	position: relative;
	margin-right: 240px;
	padding-right: 14px;
}
#content.single {
	margin-right: 0;
	padding-right: 0;
}
div.col2 {
	float: left;
	width: 48.5%;
	margin-right: 2.9%;
}
div.col3 {
	float: left;
	width: 48.5%;
	margin-right: 0;
}

#categories {
	font-size: 12px;
}
#content #categories a {
	white-space: nowrap;
	background-color:#f0f0f0;
}
#author-prayer {
	font-family:Georgia, serif;
	font-style:italic;
	color:#505050;
  	font-size:10pt;
}
#author-prayer p.EnglishText { 
	color:#505050;
  	font-size:10pt;
	margin:0 0 3pt 0;
}

#rightcol-inner {
	position: absolute;
	right: -240px;
	top: 0px;
	width: 240px;
}
#caption {
	font-style: italic;
}
#copyright {
	color: rgb(211, 211, 211);
}
#rightcol-inner ul {
	margin-top: 8px;
}
#rightcol-inner ul li {
	margin-bottom: 6px;
}
#share-links {
	margin: 28px 0 20px 0;
}
#share-links-onecol {
	float:right;
	margin: 0 0 15px 15px;
}
#downloads {
	margin-top: 15px;
}
#downloads-ui { 
	margin:13px 10px; padding:15px; color:#666; border:1px dotted #888; border-radius:8px 
}
#downloads-ui img { 
	vertical-align: baseline;
}

#maintable a:link, #maintable a:visited, #maintable a:hover, #maintable a:active {
	color: #505050;
}
#maintable a:hover {
	color: #000;
	background-color: #ddd;
	/* 	
	text-decoration:underline;
	*/
}
#lang-list {
	margin-bottom: 22px;
	line-height: 20px;
}
#lang-list a {
	font-size: 12px;
	background-color: #f0f0f0;
	white-space: nowrap;
	border-top: 1px solid #fff;
}
#lang-list a:hover, #lang-list a:active {
	background-color: #f0f0f0;
	color: #000;
	border-top: 1px solid #5f5f5f;
}

#main-img {
	width: 240px;
	margin-top:4px;
}

#footer-container {
	width: 100%;
	background-color: #131313;
	color: #fff;
	border-bottom: 48px #262626 solid;
	text-align: left;
	margin-top: 21px;
	min-height: 250px;
	overflow: auto;
}
#footer {
	/* min-width: 650px; */
	max-width: 994px;
	margin: 0 auto 0 auto;
	padding: 46px 20px 14px 20px;
	overflow: auto;
	position: relative;
}
#footer h3, #footer h2 {
	font-size: 16px;
	color: #b8d1dc;
	margin: 0 0 16px 0;
	line-height: 17px;
	font-weight: normal;
	text-transform: uppercase;
}

#footer-donations {
	float: left;
}
#footer-license {
	float: right;
	width: 240px;
	padding-left: 14px;
}
#footer-quicklinks {
	float: left;
	padding-left: 14px;
	overflow: auto;
}
#quicklinks-container {
	float: left;
}
.quicklinks-block {
	float: left;
	width: 106px;
	margin-right: 14px;
	text-align: left;
}
.quicklinks-block a {
	display: block;
	color: #fff;
	font-size: 13px;
	text-decoration: none;
	line-height: 17px;
	padding-top: 2px;
}
.quicklinks-block a:hover {
	text-decoration: underline;
}

.quicklinks-block a.quicklinks-title, #quicklinks-block a:hover.quicklinks-title {
	color: #d2a57f;
	text-decoration: none;
	text-transform: uppercase;
}

#footer h3 a:link, #footer h3 a:visited, #footer h3 a:hover, #footer h3 a:focus, #footer h3 a:active {
	color: #d2a57f;
	text-decoration: none;
}

#footer a:link.pink, #footer a:visited.pink, #footer a:hover.pink, #footer a:focus.pink, #footer a:active.pink {
	color: #d2a57f;
	text-decoration: none;
}

.index-container {
	text-align:left;
}

div.index-entry {
	vertical-align:top;
	display:inline-block;
	box-sizing:border-box;
	width:31%;
	margin:6px 0;
	padding:10px;
	/* border:1px solid #ccc; */
	text-align:left;
}
div:hover.index-entry {
	background-color:#eee;
}

.index-image-cont {
	height:180px;
	width:100%;
	overflow:hidden;
}

.index-image {
	overflow:hidden;
	position:relative;
	top:-20px;
	width:100%;
	border:none;
}

.index-title {
	margin-top:6px;
	font-weight:bold;
	font-size:112%;
}
.index-title a { text-decoration:none }

.index-attrib {
	margin-top:4px;
}

.index-blurb {
	font-size:88%;
	margin-top:10px;
}

.index-blurb-topic {
	font-size:88%;
	margin-top:12px;
}

#maintext { line-height:1.5 }

.TibetanVerse { font-family:DDCUchen; font-size:15pt; line-height:28pt; margin:10pt 0 0 0; font-style:normal; color:#954a29; }
.EnglishPhonetics { font-size:11pt; font-weight:bold; margin:0 0 2px 0; line-height:normal }
.EnglishText { font-size:11pt; margin:1pt 0 10pt 0; color:#2b2b2a; line-height:110% }

.TibetanExplanation { font-family:DDCUchen; font-size:12pt; line-height:20pt; margin:12pt 0 0 0; color:#304b67; }
p.TibetanExplanation.rteindent1 { margin-top:-2px }
.Explanation { font-size:10pt; font-style:italic; margin:0 0 4pt 0; color:#304b67; line-height:normal }

/* .EnglishPhonetics + .TibetanExplanation, .TibetanVerse + .TibetanExplanation { margin-top:12pt } */
.TibetanVerse + .EnglishPhonetics { margin-top:-2px }
.TibetanVerse + .TibetanVerse { margin-top:-3px }

.HeadingTib { font-family:DDCUchen; font-size:16pt; line-height:24pt; margin:0 0 4pt 0; color:#304b67}
.Heading3 { font-size:12pt; font-style:normal; font-weight:bold; margin:16pt 0 8pt 0; color:#304b67; line-height:110% }

.TibetanVerseYigchung { font-family:DDCUchen; font-size:12pt; line-height:24pt;  vertical-align:baseline; position:relative; top:-3pt;}
.TibetanInlineEnglish { font-family:DDCUchen; font-size:10pt; line-height:16pt;}

ol.Footnote { margin:2em 0 0 0; line-height:normal }
ol.Footnote li { margin-bottom:1em }
.Footnote { font-size:10pt; font-style:italic; line-height:12pt;  margin-bottom:0cm; margin-top:0cm;}
.Emphasis { font-size:10pt; font-style:italic; }
.Insert { opacity:.85 }
a.Noline, a:hover.Noline { text-decoration: none }
a.hideline { text-decoration:none }

/* Within Tibetan, <em> is yigchung, <strong> is red text, <h2> is a heading */
.TibetanVerse em { font-size:12pt; line-height:24pt; vertical-align:baseline; position:relative; top:-3pt; font-style:normal }
.TibetanVerse strong { font-weight:normal; color: #d00 }
.TibetanVerse h2 { font-size:16pt; line-height:24pt; margin-bottom:4pt; margin-top:0cm; font-weight:normal }
.TibetanVerse p { margin-bottom: 1pt }
.TibetanVerse.MDFile { color: #2b2b2a }

a.footnote { font-size: smaller; vertical-align:super; }

/* Dom 18-May-2013 new InlineImage feature tests*/
.InlineImage {
height: 24pt;
width: auto;
vertical-align:baseline; position:relative; top:8pt;
}

/* Chinese text */
div.ChineseText { font-size: 18px }
div.ChineseText h1 { font-size: 25px; }
div.ChineseText h2 { font-size: 21px; font-weight:normal }
div.ChineseText h3 { font-size: 20px; font-weight:normal }
div.ChineseText h4 { font-size: 18px; }
div.ChineseText h5 { font-size: 18px; }

div.ChinesePrayer .EnglishPhonetics,
div.ChinesePrayer .EnglishText,
div.ChinesePrayer .Footnote,
div.ChinesePrayer .Emphasis,
div.ChinesePrayer .Explanation { font-size:14pt; line-height:normal }
div.ChinesePrayer .Heading3 { font-size:16pt; line-height:normal }

blk { display:inline-block; white-space:nowrap }

/* popup menus for global navigation */
div.popupnav2 { display:none; position:absolute; top:21px; left:226px; white-space:nowrap; z-index:3; padding:0; margin:0 }
div.popupnavcol { display:inline-block; width:250px; background:#d3a582; vertical-align:top; white-space:normal; margin-left:-5px; padding:5px 0 }

p.rteindent1 { margin-left: 26px }

/* section for phone screen sizes only are off by default */
.phone { display: none; }
#header a.phone { display: none; }
.tablet-down { display: none }

/* tablet or small notebook */
@media screen and (max-width: 970px) and (min-width: 671px) {
	#border { width: 4px; }
	#header, #wrapper { padding: 0 8px; }

	#header #logo { top: 44px; left: 8px; margin:0; }
	#header #logo img { width: 180px; height: 62px; }
	#header-right { margin-left: 210px }

	#footer { padding: 36px 8px 14px 8px; }
	.leftcol { width: 180px; }
	.sepcol { width: 10px; }
	#leftcol-inner { padding: 8px; }
	#rightcol-inner { right: -180px; top: 0px; width: 170px; margin-right: 0 }
	#footer-license { width: 170px; padding-left: 10px; } 

	#content { margin-right: 180px; padding-right: 0; }
	#main-img { width: 170px; }
	div.popupnav2 { left:180px; }
	div.popupnavcol { width:210px; }
}

@media screen and (max-width: 510px) {
	div.index-entry { width:47% }
}

@media screen and (max-width: 360px) {
	div.index-entry { width:95% }
}

@media screen and (max-width: 1040px) {
	#quicklinks-masters { display: none }
}
@media screen and (max-width: 765px) {
	#quicklinks-topics { display: none }
}
@media screen and (max-width: 860px) {
	div.col2, div.col3 { float: none; width: auto; margin: 0; }
}

/* phone or very small tablet */
@media screen and (max-width: 670px) {
	.nophone { display: none }
	.phone { display: inline; }
	#header a.phone { display: inline; }
	.tablet-down { display:block }

	#header { min-height: 86px }

	#header #logo { top: 17px; left: 12px; margin:0; }
	#header #logo img { width: 150px; height: 52px; }

	#header a.nophone { display: none }
	#header-right { margin-left: 165px; padding: 6px 0 }
	#header-links1 { font-size: 12px; line-height: 20px; margin: 0 6px 0 0 }
	#header-links1 a { margin-left: 14px }
	#header-links2 { font-size: 12px; line-height: 18px; margin: 12px 6px 0 0; min-height: 20px }
	#header-links2 a { margin-left: 14px }
	#search-form { margin: 14px 6px 0 0; min-height:20px; }

	#search-image { vertical-align: middle; width:18px; height:18px }
	#id__search_input { width: 95px; }
	#border { width: 2px; }
	#header, #wrapper { padding: 0 6px; }
	#footer { padding: 36px 8px 14px 8px; }

	#wrapper .leftcol { display: none }
	#header-langs, #search-form { display: none }

	.leftcol { width: 180px; }
	.sepcol { display:none }

	#content { margin-right: 0; padding-right: 0; overflow: auto }
	#rightcol-inner { right: -120px; top: 0px; width: 110px; margin-right: 0; float: right; right: 0; position: inherit; padding-left: 8px }
	#share-links { margin: 14px 0; }

	#main-img { width: 110px; }

	h1 { font-size: 18px; margin: 0 0 15px 0 }
	h2 { font-size: 14px }

	#footer { padding-top: 16px; font-size: 12px }
	#footer-donations { float: none; text-align: center; width: auto; }
	#footer-donations p { margin: 0; display: inline; }
	#footer-license { float: none; text-align: center; width: auto; padding: 0 }
	#footer-quicklinks { float: none; text-align: center; padding: 0 }
	#footer-container { border-bottom: 24px solid #262626; }
	#footer h3 { font-size: 15px; margin: 16px 0 8px 0 }
	#footer h2 { font-size: 15px; margin: 14px 0 0 0 }
	#quicklinks-container { float: none; overflow: auto; }
	.quicklinks-block { float: none; display: block; margin: 0 8px; vertical-align: top; width: auto; text-align: center }
	.quicklinks-block a { display: inline; line-height: inherit; font-size: 12px; }
	.quicklinks-block a.quicklinks-title { display: block; margin-top: 5px; } 
	.quicklinks-block span.phone { color: #d2a57f; }
	#license-txt { margin-top: 14px }
}

