:root{
  --text-color: #3a3c3d;
  --back-global-color: #ffffff;
  --back-global-color-2: #dddddd;
  --button-pressed: #888888;
  --highlight-color-1: #C64239;
  --highlight-color-2: #a62219;
}

.indexcontent
{
	max-width: 1024px;
}

body
{
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: normal;
	color: var(--text-color);
	background-color: var(--back-global-color);
	max-width: 1024px;
	margin: 0 auto 60px;
	padding: 10px;
}

h1 {
	margin-bottom: 0.21cm;
	text-align: center;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 120%;
	font-weight: bold;
}
h2 {
	margin-bottom: 0.21cm;
	text-align: center;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 110%;
	text-align: center;
	font-weight: bold;
	color: var(--highlight-color-1);
}
h3 { text-align: left; font-variant: small-caps; color: var(--highlight-color-1); margin-bottom: 0.2em; margin-top: 0.8em; }
h4 { margin-bottom: 0.1cm; font-variant: small-caps; font-size: 100%; margin-bottom: 0.2em; margin-top: 0.1em; }
h5 { margin-top: 0.1cm; margin-bottom: 0cm; color: var(--highlight-color-1); font-weight: bold; font-size: 100%; }
h6 { margin-top: 0.1cm; margin-bottom: 0cm; font-weight: bold; font-size: 1em; }
div { margin-bottom: 0cm; }
select { font-size: 1em; max-width: 400px;}

ft {
  color: var(--highlight-color-1);
  vertical-align: super;
  font-size: smaller;
}

img {
	max-width: 100%;
  display: block;
  margin:auto;
}

img.menu-icon {
  padding: 10px 5px;
}

img.responsiveSmall { padding: 0px; }

a {
	color: var(--highlight-color-1);
	text-decoration: underline;
}

a:hover
{
  cursor: pointer;
  color: var(--back-global-color-2);
}

li::marker {
  color: var(--highlight-color-2);
}

.link {
  text-decoration: underline
}

.link:hover {
  cursor: pointer;
}

.bookImge {
  height: 8em;
  width: 8em;
  box-shadow: 4px 4px 8px;
  color: #123456;
  background-repeat: no-repeat;
  background-size: 90%;
  background-position: 50%;
  border-radius: 8em;
}

.chapterTitle {
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.searchHighlight {
  background-color: #FFF176;
}

.navButtons {
  display: flex;
  text-align: center;
  flex-direction: column;
}

.flexWrap {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5em;
}

.topSpace {
	margin-top: 0.5em;
}

.comment {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 100%;
  font-weight: normal;
  font-style: italic;
  color: var(--highlight-color-1);
  }
  
.salm {
  text-align:left;
  margin-left:0.5cm;
  text-indent:-0.5cm;
  margin-bottom: 0cm;
}
  
red, .red {
  color: var(--highlight-color-1);
}

sup {
  color: var(--highlight-color-1);
  font-size: 0.6em;
}

ff, fc, fa {
  /*color: var(--highlight-color-1);*/
  font-weight: bold;
}

ff::before {
	content : "[";
  /*color: var(--highlight-color-1);*/
}

ff::after {
  content : "]";
  /*color: var(--highlight-color-1);*/
}

fc::before {
	content : "[";
  /*color: var(--highlight-color-1);*/
}

fc::after {
  content : "]";
  /*color: var(--highlight-color-1);*/
}

fa::before {
	content : "[";
  /*color: var(--highlight-color-1);*/
}

fa::after {
  content : "]";
  /*color: var(--highlight-color-1);*/
}

parNo {
  color: var(--highlight-color-1);
}

.bookImage {
    height: 7em;
    width: 7em;
    box-shadow: 4px 4px 8px;
    color: #123456;
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: 50%;
    border-radius: 7em;
}

.header-image {
	position: relative;
	text-align: center;
	color: white;
  margin: -10px;
}

.header-image img {
	filter: brightness(65%);
  padding-bottom: 10px;
}

/* Centered text */
.centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
}

.caption {
	text-align: center;
  padding-top: 0.5em;
}

upwStop {
  font-family: Arial, Helvetica, sans-serif;
}

.gallery {
  align-items : center;
}

/* BOTTOM MENU */
.bottomMenu {
  z-index: 1;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--back-global-color-2);
}

/*  circle  */
.numberCircle {
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 5px;

  background: #fff;
  border: 2px solid #666;
  color: #666;
  text-align: center;
  font-size: 0.5em;
}

.btnNavigation {
  background-color: #aeaeae;
  border: none;
  color: white;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 50%;
}

.selected {
  background-color: #5e5e5e;
}

.btnNavigation:hover {
  background-color: #5e5e5e;
}

/* NOT USED */
/*
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 5px;}
  .sidenav a {font-size: 18px;}
}

/* FOLDABLE TEXT */
.foldableText {
  padding: 0 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}

* {
  box-sizing: border-box;
}

.left {
  float:left;
  width:50%;
  padding:10px;
}

.right {
  float:left;
  width:50%;
  padding:10px;
}

@media only screen and (max-width:500px) {
  /* For tablets and mobiles */
  .left, .right {
    width:100%;
  }
}

/* .left, .center, .right *

/* RESPONSIVE IMAGES */
@media screen and ( max-width: 450px ) {
img.responsive { width: 250px; }
}
@media screen and ( min-width:451px ) and ( max-width: 980px ) {
img.responsive { width: 400px; }
}
@media screen and ( min-width: 980px) {
img.responsive { width: 600px;}
}
img.responsive { height: auto; }

/* RESPONSIVE IMAGES */
@media screen and ( max-width: 450px ) {
img.responsive_landscape { width: 300px; }
}
@media screen and ( min-width:451px ) and ( max-width: 980px ) {
img.responsive_landscape { width: 400px; }
}
@media screen and ( min-width: 980px) {
img.responsive_landscape { width: 600px;}
}
img.responsive_landscape { height: auto; }

@media screen and ( max-width: 500px ) {
img.responsiveSmall { width: 100px; }
}
@media screen and ( min-width:501px ) and ( max-width: 1280px ) {
img.responsiveSmall { width: 150px; }
}
@media screen and ( min-width: 1281px) {
img.responsiveSmall { width: 200px;}
}
img.responsiveSmall { height: auto; }


/** TOAST MESSAGE **/
#toastMessage {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

@media screen and ( min-width: 1024px ) {
	#toastMessage {	width: 500px; margin-left: -250px; }
}
@media screen and ( min-width:600px ) and ( max-width: 1023px ) {
	#toastMessage { width: 400px; margin-left: -200px; }
}
@media screen and ( max-width: 599px) {
	#toastMessage { width: 250px; margin-left: -125px; }
}

#toastMessage.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation-iteration-count: 1;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

/** MODAL DIALOG **/

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 2; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 1.5em;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/*  MODAL IMAGE */


@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* UI Tab */
.ui-tabs {
    position: relative;
    padding: 0;
	/* max-width: 800px; */
}

.ui-widget.ui-widget-content {
    border:none;
}

.ui-tabs .ui-tabs-panel {
    display: block;
    border-width: 0;
    padding: 1em 1.4em;
    background: none;
    border: 1px solid #c5c5c5;
}

.ui-tabs .ui-tabs-nav {
    margin: 0;
    padding: 0;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #5a5a5a;
    background: var(--highlight-color-1);
    font-weight: normal;
    color: #fff;
}

.ui-visual-focus {

  box-shadow: 1 1 3px var(--highlight-color-1);
}

.ui-widget-header {
    border: none /*1px solid #ddd;*/;
    border-bottom: 1px solid #ddd;
    background: none;
    color: #333;
    font-weight: bold;
}

/** UI ACCORDION */
.ui-accordion-content {
  background-color: var(--background-color);
  color: var(--text-color);
}

.button {
  background-color: var(--back-global-color-2);
  box-shadow: 0 2px 4px darkslategray;
	border: none;
  color: var(--text-color);
  padding: 6px 20px;
  font-size: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 8px;
  margin: 20px
}

.button:active {
  background-color: var(--button-pressed);
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

/* NAVIGATION BUTTONS */
.button-navigation {
	background-color: transparent;
	border: none;
	display: inline-block;
	padding: 6px 16px;
}

select {
  padding: 2px;
  font-size: 1em;
  margin: 10px;
}

button.round {
  background-color: var(--back-global-color-2);
  color: white;
  border: none;
  padding: 5px;
  font-size: 31px;
  height: 50px;
  width: 50px;
  box-shadow: 0 2px 4px darkslategray;
  border-radius: 50%;

  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 3;
}