a:link {
  color: #0000cc;
  text-decoration: underline;
}

a:visited {
  color: #996666;
  text-decoration: underline;
}

a:hover {
  color: #000080;
  text-decoration: underline;
}

a:active {
  color: #0000ff;
  text-decoration: underline;
}

blockquote {
  text-align: justify;
}

body {
  background-color: #e8e8ff;
  font-family: Verdana, Arial, sans-serif;
}

h1 {
  color: #663333;
  font-family: Arial, sans-serif;
  font-size: 17pt;
}

h2 {
  color: #663333;
  font-family: Arial, sans-serif;
  font-size: 15pt;
}

h3 {
  color: #663333;
  font-family: Arial, sans-serif;
  font-size: 13pt;
}

h4 {
  color: #663333;
  font-family: Arial, sans-serif;
  font-size: 12pt;
}

h5 {
  color: #663333;
  font-family: Arial, sans-serif;
  font-size: 12pt;
}

/* use mainly to insert special sentences or paragraphs as seen in scriptural.html */

p.insert {
  background: #ffc;
  font-style: italic;
  margin: 20px;
  font-size: 80%;
  padding: 5px;
}

p.insert2 {
  background: #ffc;
  margin: 20px;
  font-size: 80%;
  padding: 5px;
}

.black {
  color: #000000;
}

.callouttext {
  color: #663333;
  font-size: 15pt;
  font-weight: bold;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 18pt;
}

.callouttext2 {
  color: #663333;
  font-size: 11pt;
  font-weight: bold;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.callouttextsmall {
  color: #663333;
  font-size: 12pt;
  font-weight: bold;
  font-style: italic;
  font-family: Verdana, Arial, sans-serif;
  line-height: 16pt;
}

.callouttext12pt {
  color: #333333;
  font-size: 12pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.letter {
  color: #000000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 17pt;
  text-indent: 0.25in;
  margin-top: 1px;
  margin-bottom: 1px;
}

.source {
  color: #000000;
  font-size: 11pt;
  font-weight: bold;
  font-style: italic;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.textbody,
.hangbody {
  color: #000000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 17pt;
}

.hangbody {
  margin-left: 15pt;
  text-indent: 15pt;
}

.textbody2,
.hangbody2 {
  color: #000000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.hangbody2 {
  margin-left: 15pt;
  text-indent: -15pt;
}

.textheader {
  color: #ffffff;
  font-size: 11pt;
  font-weight: bold;
  font-style: normal;
  font-family: Verdana, arial, sans-serif;
  line-height: 14pt;
}

.textlink {
  font-size: 11pt;
  font-weight: bold;
  font-family: Verdana, Arial, sans-serif;
  font-style: normal;
  line-height: 14pt;
}

.textlink2 {
  font-size: 11pt;
  font-weight: normal;
  font-family: Verdana, Arial, sans-serif;
  font-style: normal;
  line-height: 14pt;
}

.booktitle {
  font-style: italic;
  font-weight: normal;
  /*  text-decoration: underline; */
}

/* DropDown Menu ID */

#dropmenu {
  line-height: 90%;
  position: absolute;
  visibility: hidden;
  z-index: 100;
}

#floatingtable {
  position: absolute;
  top: 50px;
  left: 50px;
}

.sidebar {
  color: #000000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.factoid {
  color: #000000;
  margin: 20px;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  text-indent: -0.58in;
  line-height: 17pt;
}

.alllink {
  color: blue;
  cursor: pointer;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-decoration: underline;
}

.RcV,
.RcV2,
.RcVinpar {
  color: #005090;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.RcV {
  text-indent: -10pt;
}

.RcVinpar {
  line-height: 17pt;
}

.RcVlink {
  color: #005090;
  cursor: pointer;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-decoration: underline;
}

.ministry,
.mincont,
.minhead,
.minref,
.minlist,
.mininpar {
  color: #006000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 16pt;
}

.ministry,
.mincont {
  text-indent: 20pt;
}

.mininpar {
  line-height: 17pt;
}

.minref {
  text-indent: -10pt;
  margin-left: 10pt;
  margin-top: -4pt;
}

.minhead {
  text-align: center;
  margin-bottom: -10pt;
}

.minlink {
  color: #006000;
  cursor: pointer;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-indent: -10pt;
}

.mincite {
  cursor: pointer;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-indent: -10pt;
}

.mincont {
  margin-top: -10pt;
}

.brothers,
.brthrscont,
.brthrsinpar {
  color: #00a474;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 16pt;
  text-indent: 20pt;
}

.brthrscont {
  margin-top: -10pt;
}

.brthrsinpar {
  line-height: 17pt;
}

.brthrslink {
  color: #00b080;
  cursor: pointer;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-indent: -10pt;
}

.dissent,
.dissentcont,
.dissinpar {
  color: #c02000;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
  text-indent: 20pt;
}

.dissentcont {
  margin-top: -10pt;
}

.dissinpar {
  line-height: 17pt;
}

.quote,
.quoteout {
  color: #4080c0;
  font-size: 11pt;
  font-weight: normal;
  font-style: normal;
  font-family: Verdana, Arial, sans-serif;
  line-height: 14pt;
}

.quoteout {
  text-indent: -25pt;
}

.table_of_contents {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: 1em;
}

#fixedtipdiv {
  position: absolute;
  padding: 5px;
  text-indent: -3px;
  color: #005090;
  border: 1px solid black;
  font-size: 11px;
  line-height: 18px;
  z-index: 100;
}

/**
 * Header CSS
 */
.container {
  display: grid;
  grid-template-columns: 1fr fit-content(220px);
  background-color: rgb(255, 255, 224);
  border: 1px solid black;
}
.language-selector {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  grid-auto-columns: 109px;
  grid-auto-flow: column;
  border: 1px solid black;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.language-selector a {
  box-sizing: border-box;
  margin: 0 auto;
}

.leadRcV {
  color: #005090;
  background: transparent;
  font-size: 10pt;
  padding: 1.5em;
  font-weight: normal;
  font-style: normal;
  text-indent: -0.5em;
  border: 1px solid black;
}

.banner-img {
  width: 100%;
}

@media screen and (max-width: 375px) {
  .leadRcV {
    display: none;
  }
  .language-selector {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

/**
 * Footer CSS
 */
div.footer_search {
  width: 100%;
  max-width: 750px;
  height: 53px;
  display: grid;
  grid-template-columns: 128px 1fr 1fr;
  grid-column-gap: 20px;
  grid-template-areas: "a b c";
}

div.footer_search > div > input {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

div.footer_links {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  width: 321px;
}

@media only screen and (max-width: 762px) {
  div.footer_search {
    height: auto;
    grid-template-columns: 128px 1fr;
    grid-template-areas:
      "a b"
      "a c";
  }
  div.footer_links {
    width: 40vw;
  }
}

.copyright {
  color: #000000;
  font-size: 11px;
  font-weight: normal;
  font-style: normal;
  line-height: 10pt;
}

/**
 * NavBar CSS
 */

nav {
  display: inline-block;
  width: 100%;
  margin: 0.5em;
}

.clearfix {
  clear: both;
}

#menu ul {
  margin: 0;
  margin-left: 1em;
  padding: 0;
  background: #e8e8ff;
  list-style: none;
}

li {
  font-size: 1em;
}

#menu .main-menu {
  display: none;
}

#tm:checked + .main-menu {
  display: block;
}

#menu li,
#toggle-menu,
#menu .sub-menu {
  background: #e8e8ff;
}

#menu li,
#toggle-menu,
#menu a {
  position: relative;
  display: block;
}

#menu input[type="checkbox"] {
  display: none;
}

#menu,
#toggle-menu {
  background: #e8e8ff;
}

#menu a {
  padding: 0.4em;
  text-decoration: none;
  white-space: normal;
  color: black;
  transition: all 0.125s ease-in-out;
  -webkit-transition: all 0.125s ease-in-out;
}

#menu a:hover {
  background: #0000a0;
  color: white;
}

#menu .sub-menu {
  display: none;
}

#menu input[type="checkbox"]:checked + .sub-menu {
  display: block;
}

#toggle-menu .drop-icon,
#menu li label.drop-icon {
  position: absolute;
  right: 1.5em;
  top: 1em;
}

#toggle-menu span.drop-icon {
  top: 0.1em;
}

#menu label.drop-icon,
#toggle-menu span.drop-icon {
  border-radius: 50%;
  width: 1em;
  height: 1em;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.125);
  text-shadow: 0 0 0 transparent;
  color: rgba(255, 255, 255, 0.75);
}

#menu .drop-icon {
  line-height: 1;
}

@media only screen and (min-width: 52em) {
  #menu .main-menu {
    display: block;
  }

  #toggle-menu,
  #menu label.drop-icon {
    display: none;
  }

  #menu ul {
    margin-left: 0;
  }

  #menu li {
    float: left;
    border: 2px solid black;
    box-shadow: 5px 5px 10px -5px black;
    font-size: 0.9em;
    margin-right: 0.2em;
  }

  #menu .sub-menu li {
    float: none;
  }

  #menu .sub-menu {
    border-width: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 3000;
  }

  #menu a {
    white-space: nowrap;
  }

  #menu .sub-menu,
  #menu input[type="checkbox"]:checked + .sub-menu {
    display: none;
  }

  #menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }

  #menu li:hover > input[type="checkbox"] + .sub-menu {
    display: block;
  }

  /* Dropdown arrow */
  #menu ul li a:not(:only-child)::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
  }

  #menu ul li ul li a:not(:only-child)::after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.5em;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid;
  }

  #menu .drop-icon {
    display: none;
  }
}
