/* load remaining fonts */
@font-face {
	font-family: 'Spectral';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(/Static/fonts/Spectral-italic-400-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Spectral';
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(/Static/fonts/Spectral-italic-400-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Spectral';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url(/Static/fonts/Spectral-italic-700-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Spectral';
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url(/Static/fonts/Spectral-italic-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(/Static/fonts/Spectral-normal-400-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/Static/fonts/Spectral-normal-700-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Spectral';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(/Static/fonts/Spectral-normal-700-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'OpenSans';
	font-style: normal;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url('/Static/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'OpenSans';
	font-style: italic;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url('/Static/fonts/OpenSans-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'OpenSans';
	font-style: italic;
	font-weight: 300 800;
	font-stretch: 100%;
	font-display: swap;
	src: url('/Static/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Synchronized with breakpoint below */
:root { --maxwidth:1500px; --midblue:#b8d1dc; --lightblue:#e1eaef; --darkblue:#073068; --lightbrown:#dcd5af; --lightgray:#eee; --pink:#f8f2ed }

.clearfix:before, .clearfix:after { content:""; display:table }
.clearfix:after { clear:both }

html { font-family: 'OpenSans', Verdana, sans-serif; font-size: 15px; -moz-text-size-adjust:none; -webkit-text-size-adjust:none; text-size-adjust:none }
html, body { margin: 0; text-align: left; background: #fff; padding:0 }
table { border-spacing: 0 }
td { vertical-align: top; padding: 0 }

.top-bar, .top-bar *, .tag-line, .issn-line, #top-search-outer, #top-search-outer *, .top-desktop, .top-desktop * { box-sizing:border-box }

.top-bar { display:flex; height:56px; padding:4px 0; background:#000 }
.top-bar .burger-menu { flex:none; display:flex; flex-direction:column; justify-content:space-between; width:54px; height:48px; padding:14px 5px 14px 18px; cursor:pointer; transition:transform .4s ease }
.top-bar .burger-menu .bar { transition:transform .4s ease, opacity .4s ease; width:100%; height:2px; background-color:#fff }
.top-bar .burger-menu .bar.one { transform-origin:top left }
.top-bar .burger-menu .bar.three { transform-origin:bottom left }
body.burger-active .top-bar .burger-menu { transform:scaleY(1.1) }
body.burger-active .top-bar .burger-menu .bar.one { transform:rotate(36.3deg); transform-origin:top left }
body.burger-active .top-bar .burger-menu .bar.two { opacity:0 }
body.burger-active .top-bar .burger-menu .bar.three { transform:rotate(-36.3deg); transform-origin:bottom left }

.top-bar .logo { flex:1; display:block; text-align:center; height:48px; transition:opacity .4s ease; opacity:1 }
.top-bar .logo img { height:24px; width:230px; margin-top:12px }
.top-bar .search-menu { flex:none; width:54px; height:48px; transition:opacity .4s ease; opacity:1 }
.top-bar .search-menu > .search-circle { display:block; margin:8px auto 0 auto; width:30px; height:30px; background:#fff; border-radius:15px }
.top-bar .search-menu img { width:18px; height:18px; margin:6px 0 0 5px }
body.burger-active .top-bar .logo { opacity:0 }
body.burger-active .top-bar .search-menu { opacity:0 }
body.search-active .top-bar .logo { opacity:0 }

#burger-open { display:none; position:absolute; top:56px; left:0; width:100%; bottom:0; background:#000; overflow:auto }
body.burger-active { overflow:hidden }
body.burger-active #burger-open { display:block }

.top-desktop-wrapper { background:#000; color:#fff }
.top-desktop { display:none; height:100px; padding:16px 0 0 0; box-sizing:border-box; margin:0 auto; max-width:var(--maxwidth) }
.top-desktop .logo { display:block; flex:none }
.top-desktop .logo img { margin:8px 0 0 24px; height:54px  }
.top-desktop .sep { flex: 1 }
.top-desktop .right { flex:none; margin-right:24px }
.top-desktop .right .top { height:30px }
.top-desktop .row1, .top-desktop .row2 { display:flex; justify-content:flex-end }
.top-desktop .row1 .language { flex:none; display:flex; align-items:center; justify-content:flex-start; position:relative; height:32px; padding:0 24px 0 12px; margin-right:36px }
.top-desktop .language .chevron { width:24px; height:24px; position:relative }
.top-desktop .language .chevron:before { content:""; position:absolute; top:50%; left:50%; border:solid #fff; border-width:0 2px 2px 0; display:inline-block; padding:3px; transform:translate(-50%, -50%) rotate(45deg) }
.top-desktop .row1 .language:hover { color:var(--midblue) }
.top-desktop .row1 .language:hover .chevron:before { border:solid var(--midblue); border-width:0 2px 2px 0 }
.top-desktop .row1 .desktop-search { flex:none }
.top-desktop .row1 .desktop-search > .search-circle { display:block; width:30px; height:30px; background:#fff; border-radius:15px }
.top-desktop .desktop-search img { width:18px; height:18px; margin:6px 0 0 5px }
.top-desktop .row2 { padding-top:12px; font-family:Spectral }
.top-desktop .row2 a { color:#fff; text-decoration:none; font-size:19px; display:block; margin-left:40px }
.top-desktop .row2 a:hover { color:var(--midblue) }

.langs-menu { display:none; position:absolute; background:#000; border:1px solid #444; top:32px; left:-7px; z-index:1 }
.langs-menu a { display:block; color:#fff; text-decoration:none; line-height:40px; width:130px; padding-left:18px; border-bottom:1px solid #444 }
.langs-menu a:hover { background:#444 }

.search-circle, .top-desktop .language { cursor:pointer }

.tag-line { background:#dcd5af; text-align:center; font-family:Spectral; font-size:15px; height:28px; line-height:28px }
.issn-line { background:#000; color:#fff; text-align:right; font-size:10px; height:22px; line-height:22px; padding:0 12px 0 0 }
.issn2 { display:none }

#top-search-outer { display:none; position:absolute; top:0; right:9px; height:56px; background:#000 }
.top-search { width:calc(100vw - 70px); max-width:480px; position:relative; margin:10px auto 0 auto }
#top-search-input { border:none; width:100%; line-height:30px; font-size:14px; padding:2px 38px 2px 18px; color:#444; background:#fff; border-radius:24px }
#top-search-input:focus { outline:0 }
#top-search-submit { position:absolute; right:10px; top:8px; width:20px; height:18px; width:18px }

#intro-hide, #intro-readmore { margin:24px 0 48px 0 }
#intro-hidden { height:0; overflow:hidden; transition:height 1s ease-out }
.tag-circle.intro { min-width:110px; text-align:center }

.bold { font-weight:bold }
.serif { font-family:Spectral, serif }
.nav2 { color:#666; background:var(--lightgray); line-height:25px; padding:6px 0 }
.nav2 .bold { text-transform:uppercase }
.nav2 .nav-title { display: block; text-decoration: none; padding:2px 14px; margin: 2px 0; position: relative }
.nav2 .nav-title.plus { display:flex }
.nav2 .nav-title.plus .text { flex:1 }
.nav2 .nav-title.plus .arrow { flex:0 0 18px; text-align:right; font-size:21px }
.leftcol .nav-title.mobile-only, #home-nav .nav-title.mobile-only { display:none }
.nav2-submenu { display:none }
#home-nav { max-width:600px; margin:0 auto }

#burger-open .nav2 { background:#000; color:#fff; padding:24px 24px 24px 18px; line-height:28px; max-width:500px; margin:0 auto }
#burger-open .nav2 a { color:#fff !important; text-decoration:none }
#burger-open .nav2 a:hover, #burger-open .nav2 a:active { background:#666 }

.fade-enter-active, .fade-leave-active { transition:opacity .4s ease }
.fade-enter-from, .fade-leave-to { opacity:0 }

.wrapper { box-sizing:border-box; width:100%; max-width:var(--maxwidth); margin:0 auto; padding:28px 20px; display:flex; justify-content:center }
.wrapper > .leftcol, .wrapper > .rightcol, .wrapper .sepcol { display:none }
.wrapper > .maincol { flex:0 1 800px; max-width:100%; overflow:hidden /* for long unbreakable lines on mobile screens */ }

.image-box { background: #dcd5af; text-align: center }
#image-plus.reparented { max-width:260px; margin:12px auto 32px auto }
#main-img { width:100% }

#further-info { text-align:center; margin-top:32px }
#further-info2 { text-align:center }
#further-info.reparented { display:inline-block }
#further-info .one { margin:6px 0 8px 0 }

#maintext .overview h2, #maintext .overview h3 { text-transform:uppercase; font-family:Spectral, serif; font-size:1.2rem; font-weight:normal }

.author-prayer-outer { font-family:Spectral, serif; font-style:italic; color:#444; font-size:1rem; margin:24px 0; text-align:center }
.author-prayer { display:inline-block; text-align:left }
.author-prayer p.EnglishText { color:#444; font-size:1rem; margin:0 0 4px 0 }

.wrapper a:link, .wrapper a:visited, .wrapper a:hover, .wrapper a:active { color: #444 }
.wrapper a:hover { color: #000; background-color: #ddd }

#share-links { margin:32px 0 0 0 }
#share-links img, #share-links-onecol img { border:1px solid #444; height:24px; width:24px; border-radius:12px; box-sizing:border-box; padding:2px; margin:0 1px 6px 1px; opacity:.6 }
#share-links a:hover, #share-links-onecol a:hover { background-color:inherit !important }
#share-links a:hover img, #share-links-onecol a:hover img { opacity:1 }
#share-links-onecol { margin:32px 0 0 0 }

p.caption { font-size:1.07rem; color:var(--darkblue); font-weight:bold; padding:4px 6px; margin:0 }
p.copyright { padding:0 6px 12px 6px; font-size:.78rem; display:block; line-height:14px; color:#444; font-style:italic }

hr { border: 1px solid gray; height: 1px }
img { border: 0 }

h1 { font-family:Spectral, serif; margin: 0 0 15px 0; font-size: 1.3rem; line-height:24px; color:var(--darkblue); font-weight: bold }
h1.tib { font-family:DDCUchen; font-size:16pt; font-weight:bold; margin-top:6px }	/* leave some margin for tib vowels */
h2 { font-size: .93rem; font-weight: bold }
h3 { font-size: 1.07rem; font-weight: bold }
h4 { font-size: 1rem; color:var(--darkblue); font-weight:bold }
h4.tib { font-family:DDCUchen; font-size:13pt }
h5 { margin: 20px 0 0 0; font-weight: bold; font-size: 1rem; color:var(--darkblue) }
h2, h3, h4 { margin: 1.15em 0 .9em 0 }

#maintext { font-size:1.24rem; font-family:Spectral, Georgia, serif }
#maintext h2 { font-size:1.18em }
#maintext > h2:first-child { margin:12px 0 0 0 }
#maintext h3 { font-size:1.12em }
#maintext h4 { font-size:1em }

p { margin: 0 0 1em 0; padding: 0 }
#content, .rightcol { color: #444 }

#downloads { margin-top: 24px }
#downloads-ui { margin:13px 10px; padding:15px; color:#666; border:1px dotted #888; border-radius:8px }
#downloads-ui img { vertical-align: baseline }

#lang-list { margin-bottom: 32px; line-height: 22px }
#lang-list a { font-size: 1rem; white-space: nowrap }
#lang-list a:hover, #lang-list a:active { background-color: #f0f0f0; color: #000 }

#content .categories { margin:20px 0 }
.tag-circle { display:inline-block; background:var(--lightblue); color:var(--darkblue); text-decoration:none; border:1px solid var(--lightbrown); border-radius:16px; padding:4px 16px; margin:0 4px 8px 0; font-size:.9rem; font-family:OpenSans, Verdana, sans-serif }
a.tag-circle:hover, a.tag-circle:active { background-color: #f0f0f0; color: #000 }
.tag-circle.restricted { background:#fff5ef; color:#722720 }
.tag-circle.restricted-link { cursor:pointer }

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

.index-container { text-align:left }
a.index-entry { vertical-align:top; display:inline-block; box-sizing:border-box; width:95%; margin:6px 0; padding:10px; text-align:center; text-decoration:none }
a:hover.index-entry { background-color:var(--lightgray) }
.index-image { height:180px; width:100%; object-fit:cover; object-position:center 12%; overflow:hidden; width:100%; display:block; border:none }
.index-title { margin-top:6px; font-weight:bold; font-size:1.1rem; font-family:Spectral, serif }

.subheadings { margin-top:28px }
.subheadings h4 { text-transform:uppercase; font-family:Spectral, serif; color:#444; font-size:1.2rem; font-weight:bold; margin-top:36px }
.subheadings h4.tib { text-transform:none; font-size:1.5rem }

/* subheading accordions */
.accordion summary::marker, .accordion summary::-webkit-details-marker { display:none }
.accordion summary, div.subheading-title { list-style:none; display:flex; gap:1rem; align-items:center; justify-content:space-between; cursor:pointer; text-indent:0px; transition:.3s; background:var(--lightblue); padding:6px 8px 6px 18px; margin:24px 0 0 0; border-radius:5px; overflow:hidden }
.subheadings .subheading-title h4 { color:#000; margin:0 }
details.accordion[open] summary { margin-bottom:24px; text-indent:12px }
div.subheading-title { margin:36px 0 24px 0 }
div.subheading-title:not(:first-child) { margin-top:64px }
details.accordion summary::after { content:'+'; width:24px; flex-shrink:0; text-indent:0; font-family:Spectral, serif; color:#444; font-size:24px; font-weight:bold }
details.accordion[open] summary::after { content:'-' }

.text-card { background:var(--lightgray); padding:18px 10px; margin-bottom:24px; font-family:Spectral, serif; font-size:1.08rem }
.text-card.topic, .home-card.topic { background:var(--pink) }
.text-card a.title { color:var(--darkblue); font-weight:bold; text-decoration:none; font-size:1.1rem }
.text-card .blurb { margin-top:12px }
.text-card .blurb a { text-decoration:none }
.text-card .tags { margin:12px 0 -12px 0; padding:0 8px 0 0; text-align:right }
.text-card .attrib { font-style:italic }
.subheadings div.related { margin:8px 0 }
.overview .text-card { margin-bottom:0; padding:0 }
.overview .text-card a { display:block; padding:8px 10px }
.text-card .attrib.tib { font-style:normal; font-family:DDCUchen; text-decoration:none }
.attrib.tib a { text-decoration:none }

.top-blurb { font-family:Spectral, serif; font-weight:bold; font-size:1.15rem }

p.TibetanExplanation.rteindent1 { margin-top:-2px }
p.rteindent1 { margin-left: 26px }

.footer-container { background:#131313; color:#fff; margin-top:24px }
.footer { text-align:center; padding:16px 20px 32px 20px; font-size:.9rem; max-width:var(--maxwidth); margin:0 auto }
.footer h2 { margin-top:0; font-size:1rem; color:var(--midblue); text-transform:uppercase; margin:16px 0 8px 0 }
.footer h2 a { color:var(--midblue); text-decoration:none }
.footer a { color:var(--lightbrown); text-decoration:none }
.footer a:hover { text-decoration:underline }
.footer .license-txt { margin-top:12px }
.footer .issn { color:var(--midblue) }

.overlay { position:fixed; top:100%; left:0; width:100%; background:rgba(0, 0, 0, 0.8); color:#fff; padding:40px 18px 24px 18px; box-sizing:border-box; transition:bottom 0.3s ease-in-out; overflow-y:auto; max-height:80%; min-height:120px }
.overlay a { color:var(--midblue) }
.overlay .reversefootnote { display:none }
.overlay.show { bottom:0 !important }
.overlay > a.Noline:first-child { display:none }
.overlay .close-btn { position:absolute; top:10px; right:10px; width:22px; height:22px; cursor:pointer; box-sizing:border-box }
.overlay .close-btn div { position:absolute; width:100%; height:2px; background-color:white; top:50%; left:0 }
.overlay .close-btn .line1 { transform:rotate(45deg) }
.overlay .close-btn .line2 { transform:rotate(-45deg) }

.home-bigcard { max-width:600px; margin:0 auto 36px auto; padding-bottom:12px; background:var(--lightgray); font-family:Spectral, serif; font-size:1.16rem; text-align:center }
.home-bigcard .pic { width:100%; display:block }
.home-bigcard .title { margin-top:20px; padding:0 10px }
.home-bigcard .title a { color:var(--darkblue); font-size:1.5rem; font-weight:bold; text-decoration:none }
.home-bigcard .attrib { margin-top:10px; color:#000; padding:0 10px; font-style:italic; font-weight:bold }
.home-bigcard .attrib a, .home-card .attrib a { color:#000; text-decoration:none }
.home-bigcard .blurb { margin-top:20px; padding:0 10px }
.home-bigcard .tags { margin-top:14px; padding:0 20px; text-align:right }
.tags .date, .tags .left { display:block; float:left; margin-right:8px; font-family:OpenSans, Verdana, sans-serif; color:#666; font-size:.9rem; font-weight:bold; line-height:28px }

.home-sectitle { font-family:Spectral, serif; font-size:1.2rem; margin-top:56px; text-transform:uppercase; font-weight:bold; color:var(--darkblue) }
.wrapper .home-sectitle a { color:var(--darkblue) }

.home-card { margin-top:28px; padding:10px; background:var(--lightgray); font-family:Spectral, serif; font-size:1.16rem; display:flex; flex-direction:column }
.home-card .left { text-align:center }
.home-card .left img { width:120px }
.home-card .title a { color:var(--darkblue); font-size:1.2rem; font-weight:bold; text-decoration:none }
.home-card .attrib { margin-top:8px; color:#000; font-style:italic; font-weight:bold }
.home-card .blurb { margin-top:12px }
.home-card .tags { margin-top:14px; text-align:right }

.home-left { font-family:Spectral, serif; margin:40px auto 0 auto; font-size:1.12rem; text-align:center; max-width:600px }
.home-left .one { padding:20px 12px; margin:0 auto 0 auto }
.home-left .one + .one { padding-top:24px }
.home-left .blu { background:var(--midblue) }
.home-left .quotes { background:var(--lightgray); display:flex; gap:20px; flex-direction:column }
.home-left .quotes > div { flex:1 1 50% }
.home-left .brn { background:var(--lightbrown) }
.home-left .updates { background:var(--pink); border:2px solid var(--lightbrown); margin-top:40px; max-width:300px }
.home-left a.btn { display:inline-block; line-height:32px; background:#fff; color:#333; font-weight:bold; border-radius:24px; padding:0 16px; font-family:OpenSans, Verdana, sans-serif; font-size:1rem; text-decoration:none; border:1px solid #aaa }
.home-left a.btn:hover { background:#eee }

.completion { position:absolute; background:#fff; color:#444; font-size:14px; border:1px solid #aaa; padding:6px; max-height:370px; overflow-y:auto; max-width:none; text-align:left; left:18px; right:18px }
.completion .one { line-height:28px; border-bottom:1px solid #eee; margin:0 -6px; padding:4px 10px; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis }
.completion .one:last-child { border-bottom:none; margin-bottom:-6px }
.completion .one:first-child { margin-top:-6px }
.completion .one.nomatch { font-style:italic }
.completion .one:hover, .completion .one:focus { outline:0; background:#eee }
.completion .one.nomatch:hover, .completion .one.nomatch:focus { outline:0; background:#fff }

.completion.popup { display:none; transition:opacity .2s ease; opacity:0; z-index:300 }
.completion.popup.open { display:block }
.completion.popup.opened { opacity:1 }

#restricted-ovl { z-index:1001; opacity:.6; background:#000; position:fixed; top:0px; left:0px; width:100%; height:100%; display:none; text-align:center }
#restricted-popup { z-index:1002; padding:18px; border:4px solid var(--lightbrown); border-radius:10px; background:#fff; color:#444; font-size:1.2rem; position:fixed; width:90%; max-width:600px; left:50%; top:50%; transform:translate(-50%, -50%); display:none; box-sizing:border-box }
#restricted-but { margin-top:24px; text-align:center }
#restricted-ok { display:inline-block; background:var(--lightbrown); color:#333; padding:2px 22px; border:1px solid #888; border-radius:5px; cursor:pointer }
#restricted-ok:hover { opacity:.8 }

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

.TibetanExplanation { font-family:DDCUchen; font-size:12pt; line-height:20pt; margin:12pt 0 0 0; color:#304b67; }
.Explanation { font-size:.9em; font-style:italic; margin:0 0 4pt 0; color:#304b67; line-height:normal }
.ExplanationBold { font-size:.9em; font-style:italic; margin:0 0 4pt 0; color:#304b67; line-height:normal; font-weight:bold }
.Credit { font-size:.8em; margin:8pt 0; color:#666; line-height:normal; padding-left:30px; text-indent:-30px }
.CreditTitle { font-size:.8em; margin:8pt 0; color:#666; line-height:normal; font-weight:bold }
p.gap + p.Credit + p.gap { height:8px }

/* .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:1.1em; font-style:normal; font-weight:bold; margin:16pt 0 8pt 0; color:#304b67; line-height:135% }

.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:.85em; font-style:italic; line-height:1.2;  margin-bottom:0; margin-top:0 }
.Emphasis { font-size:.85em; 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:.7em; position:relative; top:-8px; display:inline-block }
a.reversefootnote { text-decoration:none }
a.footnote, sup a { padding:10px 18px; margin:-10px -18px; text-decoration:none }
a.footnote:hover, sup a:hover { background-color:inherit !important }

/* 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 }

/* within Chinese, <em> is lower-case, i.e bottom aligned small chars, and <strong> is upper-case, i.e top aligned small chars */
.ChinesePrayer .EnglishPhonetics em,
.ChinesePrayer .EnglishText em, 
.ChinesePrayer .Footnote em,
.ChinesePrayer .Explanation em,
.ChinesePrayer .Heading3 em { font-size:9pt; font-style:normal }

.ChinesePrayer .EnglishPhonetics strong,
.ChinesePrayer .EnglishText strong, 
.ChinesePrayer .Footnote strong,
.ChinesePrayer .Explanation strong,
.ChinesePrayer .Heading3 strong { font-size:9pt; font-weight:normal; vertical-align:super }

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

.button { box-sizing:border-box; display:inline-block; color:#333; background:var(--lightbrown); font-size:15px; cursor:pointer; line-height:32px; border:1px solid var(--lightbrown); border-radius:2px; padding:0 8px; text-align:center; transition:background-color .1s ease-in-out, color .1s ease-in-out, border-color .1s ease-in-out; min-width:120px }
.button.decline { color:#fff; background:#888; border:1px solid #888 }

#tasty-cookies { position:fixed; width:100%; box-sizing:border-box; background-color:#333; color:#fff; opacity:.95; margin:0; left:0; bottom:0; padding:14px 8px; z-index:600; text-align:center; font-size:14px; display:none }
#tasty-cookies .options { display:block; margin:12px 0 0 0 }
#tasty-cookies .button { margin:0 4px }

.glossary-link { text-decoration:underline; text-decoration-color:var(--midblue); text-decoration-style:dashed; text-decoration-thickness:2px; text-underline-offset:6px; cursor:pointer }
.glossary-expl { font-family:Spectral, serif; font-size:1.2rem }
.glossary-term { font-family:Spectral, serif; font-weight:bold; font-size:1.3rem; margin-bottom:12px; }
.glossary-line { margin-bottom:12px }
.glossary-skt, .glossary-tib { margin-right:10px }
.glossary-wylie, .glossary-tib { margin-left:10px }
.glossary-tib { font-family:DDCUchen; font-size:13pt }
.glossary-skt, .glossary-wylie { font-style:italic }

.biblio { padding-left:30px; text-indent:-30px }

.next-prev { margin:42px 0 24px 0; text-align:center }
.next-prev .prev, .next-prev .next { display:block }
.next-prev .tag-circle { min-width:160px }
.next-prev .prev { margin-bottom:24px }

@media screen and (min-width:360px) {
	a.index-entry { width:47% }
}

@media screen and (min-width:480px) {
	.top-bar .logo img { height:28px; width:262px; margin-top:10px }
	.home-card { flex-direction:row; gap:18px }
	.home-card .left { flex:0 0 80px }
	.home-card .left img { width:100% }
	.next-prev { overflow:hidden; max-width:680px }
	.next-prev .prev { float:left; margin:0 }
	.next-prev .next { float:right }
}

@media screen and (min-width: 510px) {
	a.index-entry { width:29% }
	.home-left .quotes { flex-direction:row }
}

@media screen and (min-width:800px) {
	.wrapper > .rightcol { display:block; flex:0 0 180px }
	.wrapper > .sepcol.right { display:block; flex:1 0 18px }
	h1 { margin: 0 0 18px 0; font-size: 1.5rem }
	h2 { font-size: 1.214rem }
	p.caption { font-size:.93rem }
	.home-bigcard .title a { font-size:1.7rem }
	.home-card { padding:16px }
	.home-card .left { flex:0 0 120px }
}

@media screen and (min-width:900px) {
	.wrapper > .rightcol { display:block; flex:0 0 210px }
	div.col2 { float: left; width: 48.5%; margin-right: 2.9% }
	div.col3 { float: left; width: 48.5%; margin-right: 0 }
}

@media screen and (min-width:1024px) {
	.phone2 { display: none !important }
	.top-bar { display:none }
	.top-desktop { display:flex }
	.issn-line .txt { display:none }
	.tag-line { text-align:left; padding-left:24px; font-size:16.5px }
	.issn2 { display:block; float:right; margin-right:24px }
	#top-search-outer { right:21px; top:4px }
	#tasty-cookies .options { display:inline-block; margin:0 0 0 18px }

	.wrapper > .leftcol { display:block; flex:0 0 180px }
	.wrapper > .rightcol { display:block; flex:0 0 180px }
	.wrapper > .sepcol { display:block; flex:1 0 18px }
	.text-card { padding-left:14px; padding-right:14px }
	.home-left .quotes { flex-direction:column }

	.footer { display:flex; gap:24px; text-align:left }
	.footer .patreon { display:block; margin-top:12px }
	.footer > div { flex:1 1 20% }
	.footer > div.tiny { flex:1 1 12% }
	.footer > div.larger { flex:1 1 30% }
	.footer a.one { display:block }

	.overlay { padding-left:218px; padding-right:218px; padding-top:24px }
	.overlay .close-btn { top:24px; right:150px }
}

@media screen and (min-width:1200px) {
	.top-desktop .row2 a { font-size:21px }
	.wrapper > .leftcol { display:block; flex:0 0 210px }
	.wrapper > .rightcol { display:block; flex:0 0 210px }
	.overlay { padding-left:248px; padding-right:248px }
	.overlay .close-btn { right:180px }
}

@media screen and (min-width:1300px) {
	.wrapper > .leftcol { display:block; flex:0 0 240px }
	.wrapper > .rightcol { display:block; flex:0 0 240px }
	.wrapper > .sepcol.right-single { flex-grow:2 }
	p.caption { font-size:1.07rem }
	.overlay { padding-left:calc((100% - 800px) / 2); padding-right:calc((100% - 800px) / 2) }
	.overlay .close-btn { right:calc((100% - 950px) / 2) }
}

/* Synchronized with --maxwidth above */
@media screen and (min-width:1500px) {
	:root { --half:calc((100% - var(--maxwidth)) / 2) }
	.tag-line { padding-left:calc(24px + var(--half)); padding-right:var(--half) }
	#top-search-outer { right:calc(21px + var(--half)) }
}

