/*general use*/
@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/full/roboto_c3.eot');
    src: url('/lib/fonts/full/roboto_c3.eot?#iefix') format('embedded-opentype'),url('/lib/fonts/full/roboto_c3.woff2') format('woff2'),url('/lib/fonts/full/roboto_c3.woff') format('woff'),url('/lib/fonts/full/roboto_c3.ttf') format('truetype'),url('/lib/fonts/full/roboto_c3.svg#RobotoCondensed') format('svg');
    font-display: swap;
    /* first .eot for IE9 Compat Modes, second .eot for IE6-IE8, .woff for modern browsers, .ttf for Safari, Android, iOS, .svg for legacy iOS */
    /*Android 2.2 does not support local*/
}
@font-face {
    font-family: 'CDAC-GISTSurekh';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/deva.eot');
    src: url('/lib/fonts/deva.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/deva.woff2') format('woff2'),
         url('/lib/fonts/deva.woff') format('woff'),
         url('/lib/fonts/deva.svg#CDAC-GISTSurekh') format('svg');
}
/*
@font-face {
    font-family: 'CDAC-GISTSurekhBold';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/devab.eot');
    src: url('/lib/fonts/devab.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/devab.woff2') format('woff2'),
         url('/lib/fonts/devab.woff') format('woff'),
         url('/lib/fonts/devab.svg#CDAC-GISTSurekhBold') format('svg');
}
*/
@font-face {
    font-family: 'Gentium Plus Regular';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/gentiumplus.eot');
    src: url('/lib/fonts/gentiumplus.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/gentiumplus.woff2') format('woff2'),
         url('/lib/fonts/gentiumplus.woff') format('woff'),
         url('/lib/fonts/gentiumplus.svg#gentium_plusregular') format('svg');
}
@font-face {
    font-family: 'Khmer OS Regular';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/khmeros.eot');
    src: url('/lib/fonts/khmeros.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/khmeros.woff2') format('woff2'),
         url('/lib/fonts/khmeros.woff') format('woff'),
         url('/lib/fonts/khmeros.svg#khmer_osregular') format('svg');
}
@font-face {
    font-family: 'FreeSerif Sinhala';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/sinha_fs.eot');
    src: url('/lib/fonts/sinha_fs.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/sinha_fs.woff2') format('woff2'),
         url('/lib/fonts/sinha_fs.woff') format('woff'),
         url('/lib/fonts/sinha_fs.svg#freeserifregular') format('svg');
}
@font-face {
    font-family: 'MyanmarVRI';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/mymr.eot');
    src: url('/lib/fonts/mymr.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/mymr.woff2') format('woff2'),
         url('/lib/fonts/mymr.woff') format('woff'),
         url('/lib/fonts/mymr.svg#Myanmar1') format('svg');
}
@font-face {
    font-family: 'FreeSerif Gujarati';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/gujr_fs.eot');
    src: url('/lib/fonts/gujr_fs.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/gujr_fs.woff2') format('woff2'),
         url('/lib/fonts/gujr_fs.woff') format('woff'),
         url('/lib/fonts/gujr_fs.svg#FreeSerif') format('svg');
}
@font-face {
    font-family: 'FreeSerif Gurmukhi';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/guru_fs.eot');
    src: url('/lib/fonts/guru_fs.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/guru_fs.woff2') format('woff2'),
         url('/lib/fonts/guru_fs.woff') format('woff'),
         url('/lib/fonts/guru_fs.svg#freeserifregular') format('svg');
}
@font-face {
    font-family: 'DoulosSIL';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/DoulosSIL.eot');
    src: url('/lib/fonts/DoulosSIL.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/DoulosSIL.woff2') format('woff2'),
         url('/lib/fonts/DoulosSIL.woff') format('woff'),
         url('/lib/fonts/DoulosSIL.svg#DoulosSIL') format('svg');
}
@font-face {
    font-family: 'Tibetan Machine Uni Regular';
    font-style: normal;
    font-weight: normal;
    src: url('/lib/fonts/tibmachuni_1901b.eot');
    src: url('/lib/fonts/tibmachuni_1901b.eot?#iefix') format('embedded-opentype'),
         url('/lib/fonts/tibmachuni_1901b.woff2') format('woff2'),
         url('/lib/fonts/tibmachuni_1901b.woff') format('woff'),
         url('/lib/fonts/tibmachuni_1901b.svg#tibetan_machine_uniregular') format('svg');
}

/*parallel text, tipitaka*/
.ptispa {display:none}
.indnt0 {font-size:220%}
.indnt1 {font-size:200%}
.indnt2 {font-size:150%;margin-left:30px}
.indnt3 {margin-left:60px}
.center {text-align:center}
.bld, .paranum {font-weight:bold}
.hit {background-color: blue; color: white}
.indnt {text-indent:2em;margin-left:3em}
.hangnum {margin-bottom: -18pt;text-indent: 2em;}
.nikaya, .book, .chapter, .title, .subhead, .subsubhead {text-align:center;font-weight:bold;margin-top:0;margin-bottom:22px}
.nikaya {font-size:220%}
.book {font-size:200%}
.chapter {font-size:150%}
.fulllayout {margin-top:36px}
DIV#mainOne A:hover{text-decoration:none}
DIV.NxtSutta .Txt {font-size:24px;margin:0;text-align:right}
DIV.NxtSutta {border: 4px solid #FFB44F; padding:6px 25px; border-radius: 25px;background: #FFB858}
DIV.NxtSutta A {color:#333333}
DIV.NxtSutta A:hover {color:#333333}
.tpFN {border-top:4px solid #F0F0F0;padding:22px 0; margin-top:6px; -webkit-columns: 300px 3; -moz-columns: 300px 3;columns: 300px 3; -webkit-column-gap: 40px; -moz-column-gap: 40px; column-gap: 40px}

DIV.ptxtA .Txt {margin-bottom:20px}


@media (min-width: 995px) {
	.text2col {min-height:0}
	.offDesk {display:none}
	.ptxtA {display:table;width:100%;table-layout:fixed}
	DIV.ptxtA .Txt {font-size:21px;margin-bottom:22px}
	DIV.ptxtA .H1 {font-size:32px}
	DIV.tpr .H1 {font-size:28px}
	DIV.ptxt1 .Txt {font-size:24px}
	DIV.tpt .Txt {font-size:30px}
	DIV.tpc .Txt {font-size:20px}
	.ptxtR {display:table-row}
	DIV.ptxtR1 H1, DIV.ptxtR1 H2 {margin-top:0}
	.ptxt1, .ptxt2 {display:table-cell;width:46%}
	.ptispa {display:table-cell;width:8%}
}

/* gatha line 1,2,3, and last */
.ga1, .ga2, .ga3, .gal {margin-bottom:0 !important;margin-left:40px}
.gal {margin-bottom:22px !important}
.ptxtA {word-wrap:break-word}

@media (max-width: 994px) {/*d800, d480 and d320*/
/*linkuri mai mari*/
.sscics A {display:inline-block;padding:8px;margin-bottom:8px}
/*tipitaka*/
.hangnum {margin-bottom: 0}
}

@media (max-width: 450px) {
	/* smaller tipitaka titles*/
	.nikaya {font-size:180%}
	.book {font-size:160%}
	.chapter {font-size:130%}
	/*larger tipitaka text on mobiles*/
	.ptxtA p.Txt, p.Txt .iast {font-size:18px}
	.tpd p.Txt, .tpb p.Txt, .tpe p.Txt, .tpk p.Txt, .tpn p.Txt, .tpm p.Txt, .tpy p.Txt, .tph p.Txt, .tpg p.Txt, .tpu p.Txt, .tps p.Txt, .tpa p.Txt {font-size:20px}
	.ptxt1 p.Txt {font-size:21px}
	.tpt p.Txt {font-size:22px}
	.tpc p.Txt {font-size:17px}
	DIV.NxtSutta {border-radius: 12px}
}

/*book covers below*/
.ciwrp {width:100%;padding-top:50%;position:relative}/* 2:1 Aspect Ratio */
.ciwrpi {position:absolute;top:0;left:0;bottom:0;right:0;text-align:center}
.ciwrpi img.w13c, .ciwrpi img.w26c {width:auto;min-width:1px;max-height:100%}

/*increase layout on big displays
@media (min-width: 1600px) {
	.cst, .art1body {width: 1260px}
	.ptispa {width:60px}
	.ptxt1, .ptxt2 {width:600px}
}
*/

/* Tipitaka language fonts */
div.tpd .Txt, .tpd p, div.tpd .H1, .tpd {font-family: 'CDAC-GISTSurekh',serif}
/*.tpd h1.Txt {font-family: 'CDAC-GISTSurekhBold',serif}*/
div.tpr .Txt, .tpr p, div.tpr .H1, .iast, .tpr {font-family: 'Gentium Plus Regular',serif}
div.tpt .Txt, .tpt p, div.tpt .H1, .tpt {font-family: 'Tibetan Machine Uni Regular',serif}
div.tpk .Txt, .tpk p, div.tpk .H1, .tpk {font-family: 'Khmer OS Regular',serif}
div.tps .Txt, .tps p, div.tps .H1, .tps {font-family: 'FreeSerif Sinhala',serif}
div.tpm .Txt, .tpm p, div.tpm .H1, .tpm {font-family: 'MyanmarVRI',serif}
div.tpg .Txt, .tpg p, div.tpg .H1, .tpg {font-family: 'FreeSerif Gujarati',serif}
div.tpu .Txt, .tpu p, div.tpu .H1, .tpu {font-family: 'FreeSerif Gurmukhi',serif}
div.tpc .Txt, .tpc p, div.tpc .H1, .tpc {font-family: 'DoulosSIL',serif}

