/*OPTIONAL Alternate IMPORT of Malayalam fonts FROM SMC
@import url("https://smc.org.in/fonts/manjari.css");
@import url("https://smc.org.in/fonts/keraleeyam.css");
@import url("https://smc.org.in/fonts/dyuthi.css");
@import url("https://smc.org.in/fonts/chilanka.css");
*/
@font-face {
  font-family: Malini;
  src: url('../fonts/Malini-VF.woff2') format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-optical-sizing: auto;
  font-style: oblique 0deg 12deg;
  unicode-range: U+0000, U+0020-007E, U+00A0-00A3, U+00A5-00B1,  U+00B4-00B8, U+00BA-00BB, U+00BF-0113, U+0116-012B, U+012E-0133,   U+0135-0137, U+0139-013E, U+0141-0148, U+014A-014D, U+0150-0161,
  U+0164-0165, U+0168-017E, U+01CD-01CE, U+01F0, U+0218-021B, U+0237,   U+02BB, U+02C6-02C7, U+02D8-02DD, U+0300-0304, U+0306-0308,   U+030A-030C, U+0312, U+0326-0328, U+03A9, U+03C0, U+0951-0952,
  U+0D00-0D0C, U+0D0E-0D10, U+0D12-0D44, U+0D46-0D48, U+0D4A-0D4F,   U+0D54-0D63, U+0D66-0D7F, U+1E80-1E85, U+1E9E, U+1EF2-1EF3,   U+200C-200D, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026,
  U+2039-203A, U+2044, U+20A9, U+20AC, U+20B9, U+2122, U+2212, U+25CC,   U+2E42;}
:root {
  --paragraph-margins: 0.9rem 0rem 0.9rem 0rem;
  --paragraph-margins-first: 1rem 0rem 0.7rem 0rem;
  --paragraph-margins-last: 0.7rem 0rem 8rem 0rem;
  --heading-margins-h1: 2rem 0rem 3rem 0rem;
  --heading-margins: 2rem 0rem 0.5rem 0rem;
  --table-margins: 1rem auto 1.5rem auto;
  --list-margins: 0.5rem 0rem 1rem 0rem;
  --list-nested-margins: 0rem 0rem 1rem 0rem;
  --paraline-height: 1.63rem;
  --paraquote-line-height: 1.4rem;
  --paratext-indent: 1.3rem;
}
html {
  font-size: 20px;
  scroll-padding-top: 55px; /*height of sticky header*/
}

body {
  margin-top: 4rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  /*background: rgb(240, 240, 235); */
  font-family: 'Malini', sans-serif;
}
.body-text {
  margin-top: 4rem;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
}
* {
  scroll-behavior: smooth;
}
/*To avoid numbering of Table of Contents*/
/*If TOC has class=content-list; */
/*and IF each list (ol/ul) has id=toc*/
/*this directive should apply*/
.content-list #toc {list-style-type: none;}
.banner-image {
  max-width: none !important;
  position: absolute;
  left: 0px;
  right: 0px;
  top:45px;
  width: 100%;
  height: 700px;
  /*background-color: rgb(145, 0, 72);*/
  z-index: 7;
}
figure {
  max-width: 100%;
  margin: 30px 0px 30px 0px;
}
a:link {
  color: #1624e7;
  background-color: transparent;
  text-decoration: none;
}
a:visited {
  color: #c00ba2;
  background-color: transparent;
  text-decoration: none;
}
a:hover {
  color: #e3313d;
  background-color: transparent;
  text-decoration: underline;
}
a:active {
  color: #ff0000;
  background-color: transparent;
  text-decoration: underline;
}
.menu-link:link {
  color: #434444;
  background-color: transparent;
  text-decoration: none;
}
.menu-link:visited {
  color: #434444;
  background-color: transparent;
  text-decoration: none;
}
.menu-link:hover {
  color: #e3313d;
  background-color: transparent;
  text-decoration: underline;
}
/*To Display Verses and Notes inline on touch/click*/
/*<span class="more_info" title="tool tip">underline</span>*/
.more_info {
  border-bottom: 1px dotted;
  position: relative;
}
.more_info .title {
    z-index: 99;
    font-size: 18px;
    line-height: 1.5rem;
    text-align:left;
    background: #1b5d37;
    color: #dddddd;
    padding: 2px;
    white-space: pre-wrap;
}
/* Hyperlink colors for Dark Mode */
@media (prefers-color-scheme: dark) {
  body {
    background: rgb(22, 22, 22);
    color:rgb(196, 196, 196);
  }
  body a:link {
    color: #f5610b;
  }
  body a:visited {
    color: #f50b78;
  }
  body .colorfont2 {
    color:rgb(31, 109, 177);
  }
  body .highlight {
    color: rgb(254, 255, 209);
    background-color: rgba(114, 5, 5, 0.711);
  }
  /*body .box {
    background-color: rgb(15, 27, 13);  
  }*/
  body .redletter {
    /*background-color: rgba(114, 5, 5, 0.711);*/
    color:rgb(247, 237, 96);
    text-shadow: 2px 3px 3px rgb(0, 0, 0);
  }
}
/* Hyperlink colors for Light Mode */
@media (prefers-color-scheme: light) {
  body {
    background: #d6d6d6 ;
    color:  #171717;
  }
  body a:link {
    color: #1624e7;
  }
  body a:visited {
    color: #c00ba2;
  }
  body .colorfont2 {
    color:rgb(11, 9, 179);
  }
  body .highlight {
    color: rgb(114, 5, 5);
    background-color: rgb(254, 255, 209);
  }
}
/*---------------*/
hr {
  width: 30%;
  margin-bottom: 4rem;
  margin-top: 2rem;
}
.borderbottom {
  border-bottom: 1px solid;
}
img {
  display: block;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
a img {
  border: 0 none;
}
.image-link {
  background-color: transparent;
  background: none;
  text-decoration: none;
  border-bottom: none;
}
iframe {
  margin: 0 auto;
  background-color: rgb(240, 240, 235);
  display: block;
  border-style: none;
}

/*Top Bar - when position is fixed, top, left and right values determine position in the view port*/
.top-bar {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 45px;
  background-color: rgb(145, 0, 72);
  box-shadow: #575757;
  z-index: 8;
}
/*for one-sided shadow under the top bar*/
.one-edge-shadow {
  -webkit-box-shadow: 0 8px 6px -6px rgb(58, 58, 58);
  -moz-box-shadow: 0 8px 6px -6px rgb(59, 59, 59);
  box-shadow: 0 8px 6px -6px rgb(58, 58, 58);
}
.logo {
  width: 100px;
  margin: 5px 0px 0px 5px;
  float: none; /*float with position and display keeps the logo locked in position*/
  position: fixed;
  left: 2px;
  top: 2px;
  display: block;
  z-index: 10;
}

/*FONT FAMILY */
.manjari {
  font-family: "Manjari", sans-serif;
}
.script {
  font-family: "Chilanka Regular", "Chilanka", "Ezhuthu", cursive;
}
.hebrew {
  font-family: "Bona Nova", serif;
}
.gk {
  font-family: "Bona Nova", serif;
}
.eng {
  font-family: "EB Garamond", "Garamond Premier Pro", serif;
}
.lato {
  font-family: 'Lato', 'Noto Sans', sans-serif;
  font-size:0.85em;
}
.malini {
  font-family: "Malini", sans-serif; 
}
.title {
  font-family: 'Malini';
  font-weight: 500;
  font-stretch: 90%;
  font-optical-sizing: auto;
  line-height: 1.2;
}
.subtitle {
  font-family: 'Malini';
  font-weight: 200;
  font-stretch: 90%;
  font-optical-sizing: auto;
  line-height: 1.2;
  text-indent: 0;
}
h1 {
font-family: 'Malini', sans-serif; 
}
h2,h3,h4,h5,h6 {
  font-family: 'Malini';
  font-stretch: 80%;
  font-optical-sizing: auto;
  line-height: 1.1;
}
h2,h3 {
  font-weight: 400;
}
h4,h5,h6 {
  font-weight: 700;
}
.pullquote,.kicker { 
  font-family: 'Malini';
  font-weight: 170;
  font-stretch: 110%;
  font-optical-sizing: auto;
  line-height: 1.2;
}
/*---PARAGRAPH STYLES------*/
.title {
  font-weight: 400;
  font-size: 2.3rem;
  line-height: 3rem;
  text-align: center;
  margin: 2rem 0rem 3rem 0rem;
}
.subtitle {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2rem;
  text-align: center;
  margin: 2rem 0rem 3rem 0rem;
}

h1 {
  font-size: 2.3rem;
  line-height: 3rem;
  text-align: center;
  margin: var(--heading-margins-h1);
}
h2 {
  font-size: 2rem;
  line-height: 2.1rem;
  text-align: center;
  padding-top: 2.5rem;
  margin: var(--heading-margins);
}
h3 {
  font-size: 1.6rem;
  line-height: 1.8rem;
  text-align: left;
  margin: var(--heading-margins);
  padding: 20px 0 10px 0;  
}
h4 {
  font-size: 1.4rem;
  line-height: 1.3rem;
  text-align: left;
  margin-top: 1.8rem;
  margin-bottom: 10px;
}
.chapnum {
  font-family: 'Malini';
  font-weight: 170;
  font-stretch: 90%;
  font-optical-sizing: auto;
  line-height: 1.2;
  font-size:1.5rem; 
  text-align:center;
  padding-top: 2rem;
  margin-bottom: 2rem;
  text-indent: 0;
}
.chapheadnum {
  font-size: 0.65em;
  font-weight: 400;
}
p {
  /* font-family: "Manjari", sans-serif; */
  font-family: 'Malini', sans-serif;
  font-weight: 300;
  font-stretch: 110%;
  font-size: 1rem;
  margin-top: 0rem;
  margin-bottom: 0.6rem;
  line-height: 1.45;
  text-indent: var(--paratext-indent);
  /*text-align: justify;*/
}
.kicker {
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 2.2rem;
  margin-top: 1em;
  margin-bottom: 1.5em;
  text-indent: 0rem;
}
.pullquote {
  font-size: 1.2rem;
  font-weight: 200;
  line-height: var(--paraline-height);
  text-indent: var(--paratext-indent);
  border-top: 1px solid rgb(150, 150, 150);
  border-bottom: 1px solid rgb(150, 150, 150);
  padding-top: 0.7em;
  padding-bottom: 0.7em;
  padding-left: 0.7em;
  padding-right: 0.7em;
  margin: 1rem 1rem 1rem 1rem;
}
.box {
  border: 5px double rgb(150, 150, 150);
  border-radius: 2%;
  padding-top: 0.7em;
  padding-bottom: 0.7em;
  padding-left:1rem;
  padding-right:1rem;
  margin: 2rem 0rem 2rem 0rem;
  background-color: rgba(212, 212, 212, 0.819);
}
.box p, 
.box ol,
.box ul {
  font-size: 0.9rem;  
}
.centered {
  text-align: center;
  text-indent: 0rem;
}
.noindent {
  text-indent: 0rem;
}
.firstpara {
  text-indent:0rem;
  margin: var(--paragraph-margins-first);
}
.lastpara {
  margin: var(--paragraph-margins-last);
  text-indent: var(--paratext-indent);
}
.indented {
  text-align: left;
  line-height: var(--paraquote-line-height);
  padding-left: 1.74em;
  padding-right: 1.13em;
  text-indent:0rem; 
}
/*NOT USED BY Pandoc's blockquote*/
.quotation, blockquote p {
  font-size: 0.94rem;
  line-height: var(--paraquote-line-height);
  margin-top: 0.7em;
  margin-bottom: 0.9em;
  padding-left: 2rem;
  padding-right: 1.13rem;
  text-indent:0rem;
}
figcaption {
  font-size: 0.90rem;
  text-align: center;
  margin: var(--paragraph-margins);
  line-height: 1.3rem;
}
.caption {
  font-size: 0.94rem;
  font-style: normal;
  text-align: center;
  line-height: 1.3em;
}
.note {
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.2rem;
  margin-bottom: 0.7em;
}
.notes {
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.5em;
  margin-bottom: 0.7em;
}
.emphasis {
  font-style: italic;
}
.content-list {
  line-height: 1.63em;
  text-align: left;
  padding-left: 5px;
}
.content-entry {
  padding-bottom: 0.5rem;
}
.backtotop {
  font-size: 0.9em;
  margin-bottom: 0.7em;
  text-align: right;
}
.hangingindent {
  padding-left: 2rem;
  text-indent: -2rem;
}
.didache p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.63rem; 
  margin-top: 0rem;
  margin-bottom: 0.6rem;
  padding-left: 40px;
  text-indent: -40px;
}

.didache .didache-indent {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.63rem; 
  margin-top: 0rem;
  margin-bottom: 0.6rem; 
  padding-left: 0px;
  padding-left: 70px;
  text-indent: -40px;
}
.publication-data {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  text-align: center;
  margin-top:4rem;
  line-height: 1rem;
  font-style: normal;
  line-height: 1.4rem;
  text-indent: 0;
}
.footnotes ol > li > p {
  font-size: 0.8rem;
}

/*==FOOTNOTE REFERENCE==*/
.noteref {
  font-size: 60%;
  position: relative;
  top: -0.5em;
  text-decoration: none;
}
/*called automatically by pandoc md conversion of ^[] */
.footnote-ref {
  font-size: 0.65rem;
  position: relative;
  top: -0.1em;
  text-decoration: none;
}

.verse-num {
  font-size: 0.6rem;
  vertical-align: super;
}
/*== CHARACTER STYLES ==*/
.emphasis {
  font-style: italic;
}
.smallcaps {
  font-size: 0.95em; 
  font-style: regular;
  font-variant-caps: small-caps;
  line-height: 1.4rem; /*fallback for IE*/
  line-height: var(--paraquote-line-height);
}
.allsmallcaps {
  font-size: 0.95em; 
  font-style: regular;
  font-variant-caps: all-small-caps;
  line-height: 1.4rem; /*fallback for IE*/
  line-height: var(--paraquote-line-height);
}
.redletter {
  color: #d40000ff;
}
.highlight {
  color: rgb(114, 5, 5);
  background-color: rgb(254, 255, 209);
}
.colorfont1 {
  color: rgba(211, 9, 103, 0.822);
}
.colorfont2 {
  color: rgba(7, 25, 189, 0.822);
}
.backtotop {
  font-size: 0.9em;
  margin-bottom: 0.7em;
  text-align: right;
}
.verse-num {
  font-size: 0.6rem;
  vertical-align: super;
}

/*==Buttons==*/
a.button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;

  text-decoration: none;
  font-weight: 700;
}
.buy-button {
  color: black;
  font-size: 0.9rem;
  font-weight: 700;
  background-color: orange;
  padding: 0.2rem 0.4rem 0.2rem 0.4rem;
}
.free-button {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  background-color: green;
  padding: 0.2rem 0.4rem 0.2rem 0.4rem;
}
.read-button {
  font-size: 0.8rem;
  font-weight: 700;
  background-color: rgb(198, 238, 198);
  padding: 0.2rem 0.5rem 0.2rem 0.5rem;
}

/*====LISTS=====*/
ul {
  font-family: 'Malini', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
  line-height: 1.63em;
  padding-left: 8%;
  margin-right: 1.1em;
  text-align: left;
  margin-top: 0.5em;
  margin-bottom: 1em;
}
ul.a {
  list-style-type: square;
  padding-left: 8%;
  margin-top: 0em;
  margin-bottom: 0.5em;
}
ul.aa {
  list-style-type: circle;
  font-size: 0.9em;
  margin-top: 0em;
  margin-bottom: 0.5em;
}
ol {
  font-family: 'Malini', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-align: left;
  line-height: 1.63em;
  padding-left: 8%;
  margin-right: 1.1em;
  text-align: left;
  margin-top: 0.5em;
  margin-bottom: 1em;
}
ol.b {
  list-style-type: lower-roman;
    font-size: 0.98rem;
  padding-left: 8%;
  margin-top: 0em;
  margin-bottom: 0.5em;
}
ol.bb {
  list-style-type: lower-roman;
  font-size: 0.95rem;
  margin-top: 0em;
  margin-bottom: 0.5em;
}

/*== TABLES ===*/
table {
  width: 80%;
  margin: var(--table-margins);
}
table,
th,
td {
  border: 0px solid gray;
  border-collapse: collapse;
}
th {
  font-family: 'Malini', sans-serif;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.2rem;
  text-align: center;
  margin-top: 1rem;
  padding-top: 0.5rem;
  vertical-align: bottom;
}
td {
  font-family: 'Malini', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.2rem;
  padding: 0.5rem;
}

/*Screens between 1340px and 1640px:*/
@media screen and (min-width: 1340px) and (max-width: 1640px) {
  body {
    margin-left: 27%;
    margin-right: 27%;
  }
}
/*Screens between 991px and 1340px:*/
@media screen and (min-width: 991px) and (max-width: 1340px) {
  body {
    margin-left: 20%;
    margin-right: 20%;
  }
  .banner-image {
    height: 600px;
  }
}
/*Screens between 991px and 640px:*/
@media screen and (min-width: 640px) and (max-width: 991px) {
  body {
    margin-left: 10%;
    margin-right: 10%;
  }
  /*h1 {font-size: 2rem;}h2 {font-size: 1.6rem;} */
  p, ol, ul {
    font-size: 1.1rem;
    text-align: left;
    line-height: 1.45rem;
  }
  .kicker {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
  .pullquote {
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-align: center;
  }
  .banner-image {
    height: 500px;
  }
}
/*Screen width up to 640px:*/
@media screen and (max-width: 640px) {
  body {
    margin-left: 3%;
    margin-right: 3%;
  }
  /*h1 {font-size: 1.8rem;}h2 {font-size: 1.6rem;}*/
  p, ol, ul {
    font-size: 0.95rem;
    text-align: left;
    line-height: 1.5rem;
  }
  .kicker {
    font-size: 1.3rem;
    line-height: 1.8rem;
  }
  .pullquote {
    font-size: 1.2rem;
    line-height: 1.6rem;
  }
  .banner-image {
    height: 500px;
  }
}
