* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: inherit;
}

body {
  margin: 0;
  padding; 1rem;
  background -color: rgb(176, 176, 176);
  background-color: rgb(255, 238, 219);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.body-text, #body-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  line-height: 1.5;
  background-color: rgb(255, 238, 219);
}
div#header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 3em;
  background: #222;
  color: #fff;
  width: 100%;
}
body.in-iframe, .in-iframe #body-container {
	margin:0 auto;
	padding:0;
	/*! overflow: hidden; */
}
.in-iframe #header {
	display: none;
}
h1 {
  font: bold 24px sans-serif;
  color: #7d2800;
  margin: 1em 0 0 0;
}

h2 {
  font: bold 1.4em sans-serif;
  color: #7d2800;
  margin: 1em 0px 0;
  clear: both;
}

h3 {
  font: 1.3em sans-serif;
  color: #7d2800;
  margin: 1em 0px;
  left: 0px;
}

h4 {
  font: 1.2em sans-serif;
  color: #7d2800;
  margin: 1em 0px;
}

table {
  border: 1px solid black;
  border-collapse: collapse;
  margin: 1rem 0;
}

table td {
  padding: 5px;
  vertical-align: top;
  border: 1px solid black;
}
.panel-buttons ul {
  margin: 0;
}

th {
  padding: 0.5em;
  font: bold 1em sans-serif;
}

.ref {
  margin-top: 0.5em;
  font-weight: bold;
}

hr {
  color: #d56500;
  margin: 0.5em auto;
}

button {
  border: 1px solid #949494;
  padding: 4px;
  font-size: 15px;
  background-color: #d4d4d4;
  border-radius: 5px;
  box-shadow: 1px 1px 2px;
  margin: 0.3em;
}

button:hover {
  cursor: pointer;
  background-color: #ffc145;
}
.panel-buttons {
  /*! margin-bottom: 1em; */
  padding-bottom: 0.5em;
}

summary {
  cursor: pointer;
}

fieldset {
  margin: 5px 15px 10px 0px;
  border: 1px solid #d56500;
}

.small {
  font-size: small;
}

.none, .is-none {
  display: none;
}
.center {
	text-align: center;
}

#container {
  margin: 14px;
  color: #333333;
  border: 2px solid #555555;
  border-radius: 10px;
box-shadow: 0px 0px 10px #ffffcc, 0px 0px 5px #ffffcc;
  min-height: 96vh;
  position: relative;
}

#main-content {
  padding: 1em;
  position: relative;
  min-height: 71vh;
  font-size: 16px;
}

.main-content-div > div, #phonotactics {
  max-width: 720px;
}

#top {
  border-bottom: 1px solid #a66d00;
  border-radius: 8px 8px 0px 0px;
  font-family: sans-serif;
  height: 100px;
  position: relative;
  font-size: 16px;
}

#top h1 {
  font-size: 1.5em;
  margin-bottom: 2px;
}

span#version, span#lastModified {
  font-size: smaller;
}

/* a red X to clear an input element */
.clearThis {
  position: absolute;
  right: 0px;
  border: 1px solid rgb(0, 0, 0);
  padding: 5px 4px;
  line-height: 10px;
  border-radius: 0px;
  font-family: sans-serif;
  font-size: 25px;
  top: 6px;
  background-color: rgb(255, 57, 57);
  color: rgb(255, 255, 255);
  cursor: pointer;
  height: 1.3rem;
  width: 1.5rem;
}
input[type="search"] {
  width: 100%;
  margin-top: 5px;
  padding: 1px;
  font-size: 10pt;
  position:relative;
}
.bg-white {
  background-color: white;
}

p, blockquote {
  margin: 1rem 0;
  line-height: 1.5;
  font-size: inherit;
}

p.scripture {
  background-color: #dddddd;
  padding: 10px;
}

p.def {
  border-top: 1px solid gray;
  margin-top: 1em;
  padding-top: 1em;
}
sup {
  line-height: 1;
  font-size: small;
}
blockquote {
  border-left-style: solid;
  border-color: lightgray;
  padding-left: 10px;
  margin: 1em;
}
blockquote li {
  margin-left: 1em !important;
}
.quote {
  border-left: 1px solid gray;
  padding-left: 1em;
  margin-left: 30px;
}
p span.quote {
    border-left: 0px solid;
    padding-left: 0px;
    margin-left: 0px;
    background-color: antiquewhite;
}

ol {
	padding:0 15px 0;
  margin: 1em;
}
ul {
	margin-left: 1em;
}

li p {
	margin: 0;
}

ul li {
  list-style-type: inherit;
	padding: 0 ;
}

.keyword, .red {
  color: red;
}

.bold {
  font-weight: bold;
}

.parousia {
  background-color: #a3dba3;
}

.jw-quote {
  /*! font-style: italic; */
  /*! font-family: "Times New Roman", serif; */
  background-color: rgba(255, 209, 161, 0.54);
  padding: 1px 8px;
  /*! margin-left:-1em; */
}

.verseNumber {
  color: red;
  position: relative;
  top: -6px;
  right: -2px;
  font-size: smaller;
}

.greekword {
  font-family: 'Gentium Plus', "Times New Roman", serif;
  color: green;
  font-size: larger;
}

.greek {
  font-weight: normal;
  font-family: 'Gentium Plus', "Times New Roman", serif;
  color: red;
  font-size: 110%;
}


li.default {
  list-style: disc;
  /*! font-size: 14pt; */
  line-height: 1.5;
}

td.right {
  text-align: right;
  padding-right: 1em;
}

tr.header {
  background-color: #b9b9b9;
  font-weight: bold;
}

table.zebrarows tr:nth-child(2n) {
  background-color: #f2f2f2;
}

.zebra1 {
  background-color: #e1e1e1;
}

i, em, strong, q, b, u {font-size: inherit !important;}

.small {
  font-size: small;
}

.sidebar {
  position: relative;
  float: right;
  max-width: 40%;
  background-color: #e5e5e5;
  margin: 1em 0px 1em 1em;
  padding: 1em;
  border: 1px solid brown;
  box-shadow: 3px 3px 5px gray;
}

.sidebar h2 {
  margin-top: 0px;
}

.sidebar li {
}

.bt2 {
  border-top-width: 2px;
}
.br2 {
  border-right-width: 2px;
}

.bb2 {
  border-bottom-width: 2px;
}

.bl2 {
  border-left-width: 2px;
}
.bt1 {border-width:1px;}
.br1 {border-width:1px;}
.bb1 {border-width:1px;}
.bl1 {border-width:1px;}
.caption {
  margin-top: 2em;
  padding: 0px;
  font-weight: bold;
  font-size: 1.2em;
}

.columns {
  padding: 1em;
  column-rule: 1px solid lightgray;
  border: 1px solid black;
}

.col1 {column-count: 1;}
.col2 {column-count: 2;}
.col3 {column-count: 3;}
.col4 {column-count: 4;}
.col5 {column-count: 5;}
.col6 {column-count: 6;}
.col7 {column-count: 7;}
.col8 {column-count: 8;}

.theme-text {
  color: #444444;
}

.theme {
  background-color: #ffeb3b;
}

.theme-light {
  background-color: #fffde7;
  color: #444444;
}

.theme-l5 {
  background-color: #fff9c4;
  color: #444444;
}

.theme-l4 {
  background-color: #ffcf73;
  color: #444444;
}

.theme-l3 {
  background-color: #ffe284;
  color: #444444;
}

.theme-l2 {
  background-color: #fff176;
  color: #444444;
}

.theme-l1 {
  background-color: #ffee58;
  color: #444444;
}

.theme-d1 {
  background-color: #f0dc2c;
  color: #444444;
}

.theme-d2 {
  background-color: #e1cd1d;
  color: #444444;
}

.theme-d3 {
  background-color: #d2be0e;
  color: #444444;
}

.theme-d4 {
  background-color: #c3af00;
  color: #444444;
}

.theme-dark {
  background-color: #985321;
  color: #444444;
}

.theme-action {
  background-color: #e1cd1d;
  color: #444444;
}

.theme-gradient {
  background-color: #ffc346;
  background-image: linear-gradient(to bottom, #ffc346, #ff9422);
}

.scripture {
  margin-left: 2em;
  background-color: antiquewhite;
  padding: 10px;
}

.source {
  font-weight: normal;
}

.inline {
  display: inline-block;
}

.hebrew {
  font-family: "Noto Serif Hebrew", "Basic Hebrew", sans-serif;
  direction: rtl;
  unicode-bidi: normal;
}

.comment {
  background-color: #ffcc66;
}

a[href*="jws-library.one"] {
  background-color: pink;
}
a[href*="archive.org"] {
	background-color: lightgreen;
}
a[href*="ctrussell.us"] {
  background-color: #c3f6ff;
}
#copyright_notice {
	margin: 1em 0;
}
#copyright_notice img {
  max-width: 80px;
  max-height: 30px;
}
hr.half {
  width: 50%;
  text-align: center;
  margin: 1em auto;
}
.christology {
	background-color: yellow;
	font-weight: bold;
}
#backToTop {
  position: fixed;
  height: 1.1em;
  width: 1.3em;
  bottom: 20px;
  right: 10px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 0 0 13px;
  text-align: center;
  border-radius: 10px;
  font-size: 30px;
  font-family: sans-serif;
}
#backToTop:hover {
  background-color: #555; /* Add a dark-grey background on hover */
}

/* CSS styles for mobile phones */
@media only screen and (max-width: 767px) {
	* {
      font- size: 0.90rem !important;
	}
  body {
      line-height: 1.5;
      margin: 0px !important;
      padding: 0px !important;
      margin-left: -0.7px;
    /*! font-size: 12pt !important; */
  }
  h1 {font-size: 1.2em;}
  header {
      text-align: left;
      margin-left: .5em;
    /*! border: 1px solid blue; */
  }
  #main_menu{}
  #tab-group{}

  nav {
    padding:0;
    margin:0 !important;
    left: 0;
  }
  p {
    line-height: 1.4;
    /*! padding: 5px; */
    /*! margin: 1em auto; */
  }
  p.quote, p.scripture {
    margin-left: 1em !important;
    padding: 0 5px;
  }
  .jw-quote {
    line-height: 1.5 !important;
    max-width: 95vw !important;
  }
  .container {
    padding: 10px;
  }
  .in-iframe #header {
  	display: none;
  }
  body.in-iframe {
  	padding: auto 0;
  }
  #main_content {padding: 5px;}
  #tab-panels {}

  div.panel-buttons ul {
    margin: 0 0 0 -4em;
  }
  div.panel-buttons li {
    margin: 5px;
    padding: 5px 0px 1px;
    font-size: small;
  }
  li.writer ul ul li {
    margin: 0 0 0 2em !important;
  }
  ol, ul {
    margin: 0;
  }
  ul.quote, ol.quote {
  	border-left: 0px solid white;
  	margin-left: 0px;
  }
  ul.quote li, ol.quote li {
  	margin-left:1em;
  	padding-left:0.2em;
  }
  ul.columns {
    column-count: 2;
  }
  li {
    margin-left: 1em;
  }

  img {
    max-width: 100%;
    height: auto;
    margin: 0 1em 1em 0;
  }
  button {
    padding: 5px;
    font-size: 14px;
  }
  blockquote {
    /*! padding-left: 5px; */
    margin-left: 1em;
  }
  .columns .col3 {
    column-count: 1 !important;
  }
  div.sidebar {
    min-width: 50% !important;
  }
  iframe {
    width: 100%;
    padding: 0em;
  }
  div.box {
    margin: 2em auto;
    font-size: 11px !important;
    width: 100%;
  }
}