html,body {
	height: 100%;
	position: relative;
	margin: 0;
}
body { 
	background-color: #eef5ee;
	padding-bottom: 10px;
	position: relative; 
}
img {
	border-radius: 12px;
}
.lng {
	border-radius: 0px;
}
.button {
	background-color: #4CAFa0; /* Green */
	border: 1px solid green;
	color: white;
	padding: 15px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 18px;
	box-shadow: 3px 3px #878087; 
	text-shadow: 2px 2px 2px #434;
	border-radius: 12px;
	width: 50%;
}
.button:hover {
	padding: 12px 16px;
	background-color: #88DFc0;
	font-size: 22px;
}
.member-box {
	display: inline-block; 
	margin-top: 0px; 
	margin-right: 2px; 
	margin-left: 2px; 
	margin-bottom: 7px; 
	background-color: #fefefe;
	margin: 1% auto; /* 15% from the top and centered */
	padding: 4px;
	border: 1px solid #888; 
	border-radius: 12px; 
	opacity: 0.9; 
	box-shadow: 3px 3px #878087; 
	max-width: 80%; 
	height: auto;
	text-align: center;
	color: black;
	font-size: 1em;
	line-height: .8em;
	vertical-align:top;	
}
.box-left {
	text-align:left;
}
.box-right {
	text-align:right;
}	
.top-banner {
	display: inline-block; 
	margin-top: 0px; 
	margin-right: 7px; 
	margin-left: 5px; 
	margin-bottom: 7px; 
	background: no-repeat url('ShelfBiblesSlice.JPG'); 
	background-position:50% 50%;
	background-color: #fff; 
	border-radius: 12px; 
	opacity: 0.9; 
	box-shadow: 3px 3px #878087; 
	max-width: 100%; 
	height: auto;
	position: relative;
	margin: 0 auto;
}	 	
checkbox {
	border-radius: 7px;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 100; /* Sit on top */
	left: 100px;
	top: -100px;
	margin:0 auto;
	width: 80%; 
	height: 70%; 
	overflow: auto; 
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
	background-color: #fefefe;
	margin: 15% auto; /* 15% from the top and centered */
	padding: 40px;
	border: 1px solid #888;
	width: 60%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}		 	
.container {
	width: 100%;
	border: 1px solid gray;
	position: relative;
	min-height: 600px;
	z-index: 3;
}
/* Style the top navigation bar */
.topnav {
	overflow: hidden;
	background-color: #825;
	
/* THE ANIMATION WILL USE CONSTANT CPU */	
/*  animation: shiftshade 5s infinite; */
}
/*
@keyframes shiftshade {
  50% {background-color: #936;}
}
*/

/* Style the topnav links */
.topnav a {
	float: left;
	display: block;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}
/* Change color on hover */
.topnav a:hover {
	background-color: #ddd;
	color: black;
}
nav {
	float: left;
	max-width: 200px;
	min-width: 110px;
	width: auto;
	height: auto;
	margin: 0;
	padding: 5px;
	border: 1px solid gray;
}
nav ul {
	list-style-type: none;
	padding: 0;
	overflow-y:auto; 
	height:400px;
}  
nav ul a {
	text-decoration: none;
}
article {
	margin-left: 10px;
	/* border-left: 1px solid gray; */
	padding: 10px;
	overflow: hidden;
	height: auto;
}
.flex-container {
	display: flex;
	/* flex-direction: row; */
	/* flex-wrap: wrap; */
	flex-flow: row wrap;
	/* justify-content: center; flex-start; flex-end; space-around; space-between;*/
	justify-content: space-around;
	/* height: 300px; */
	/* align-items: flex-start; center; flex-end; stretch; baseline;*/
	align-items: baseline;
	padding: 10px;
}
.flex-container-head {
	display: flex;
	/* flex-direction: row; */
	/* flex-wrap: wrap; */
	flex-flow: row wrap;
	/* justify-content: center; flex-start; flex-end; space-around; space-between;*/
	justify-content: space-between;
	/* height: 300px; */
	/* align-items: flex-start; center; flex-end; stretch; baseline;*/
	align-items: center;
	padding: 10px;
}
textarea { 
	font-family: "Saysettha OT", "Saysettha MX";
	border-radius: 10px;
	/* resize: vertical; */
	resize: none;
	max-height: 500px;
	font-size: 140%; 
    line-height: 1.6;
}	
input {
	font-size: 100%;
	border-radius: 4px;
}
submit { font-size: 110%;  }
select { font-size: 80%;  }
.header, .footer {
	padding: 5px;
	color: white;
	background-color: #00504A;
	clear: left;
	text-align: center;
}
#footer {
	text-shadow: 2px 2px 2px #434;
	position: relative;	/* relative */
	height: 30px; 
	bottom: 0;
	left: 0;
	width: 100%;
}
.draggable {
	padding: 4px;
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 4px;
	margin-bottom: 4px;
	text-align: center;
	cursor: move;
	z-index: 3;
	background-color: #2168a8;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
table, th, td {
	border: 1px solid black;
	border-collapse: collapse;
}
table {
	border: 3px solid black;
	background-color: white;
	width: 100%;
}
tr:hover {
	background-color: #a0ffb0;
}
tr:nth-child(4n+1) {
	background-color: #dddddd;
}
th {
	padding: 10px;
	background-color: #e8eaff;
}
td {
	padding: 5px;
}
.nested { /* scripture */
	background-color: #ffffcc;
	overflow-y:auto;
	overflow-x:hidden;
	line-height: 1.6;
	height: inherit;
}
/* 
https://medium.com/the-z/making-a-resizable-div-in-js-is-not-easy-as-you-think-bda19a1bc53d
*/
.resizable {
	background: white;
	width: 100px;
	height: 250px;
	position: absolute;
	display: flex;
}
.resizable .resizers{
	width: 100%;
	height: 100%;
	min-width: 180px;
	min-height: 140px;
	border: 3px solid #4286f4;
	box-sizing: border-box;
	display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.resizable .resizers .resizer{
	width: 3px;
	height: 4px;
	border-radius: 50%;  /*magic to turn square into circle*/
	background: black;
	border: 3px solid #4286f4;
	position: absolute;
}
.resizable .resizers .resizer.top-left {
	left: -2px;
	top: -2px;
	cursor: nwse-resize; /*resizer cursor*/
}
.resizable .resizers .resizer.top-right {
	right: -2px;
	top: -2px;
	cursor: nesw-resize;
}
.resizable .resizers .resizer.bottom-left {
	left: -2px;
	bottom: -2px;
	cursor: nesw-resize;
}
.resizable .resizers .resizer.bottom-right {
	right: -2px;
	bottom: -2px;
	cursor: nwse-resize;
}
.compheader {
	padding: 1px;
	margin-left: 1px;
	margin-right: 1px;
	margin-top: 1px;
	margin-bottom: 1px;
	text-align: center;
	cursor: move;
	z-index: 3;
	background-color: #2168a8;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
}    
.boxwrapper { 
  padding: 8px; 
}
.searchheader {
	padding: 1px;
	margin-left: 1px;
	margin-right: 1px;
	margin-top: 1px;
	margin-bottom: 1px;
	text-align: center;
	cursor: move;
	z-index: 3;
	min-height: 40px;
	background-color: #683457;
	color: #fff;
	font-size: 14px;
	font-weight: bold;


	display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
	display: -ms-flexbox;  /* TWEENER - IE 10 */
	display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
	display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */

}	
.highlight {
	background-color: #22FF88;
}
.searchbutton {	color: #00c; }
.searchbutton:active { background-color: #08f; }
.searchbutton:focus { color: #0d0; outline: blue auto 5px;  }
.searchvisited { background-color: #fba; }

.hidden { display: none; }
.filler {
	position: absolute;
	bottom: 0px;
	padding: 10px;
}
#fill {
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    z-index: 100;
    background-color: #000;
    opacity: 0.8;
    filter: alpha(opacity=70);
    visibility: hidden;
}
.fullpage {
	height: 100%;
	padding: 5px;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 2px solid #c00;
  background-color: #d0e8f0;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: #e5f5f9;
  float: left;
  border: 1px solid #00a;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 0px 0px;
  border: 1px solid #ccc;
  border-top: none;
  font-size:18px;
  min-height: 140px;
  width: 98%;
  background-color: #9ae;
  text-shadow: 2px 2px 15px #fff;
}
/* Style the close button */
.topright {
  float: right;
  cursor: pointer;
  font-size: 34px;
}
.topright:hover {color: red;}

#toolpanel {
	padding: 5px;
	margin-left: 2px;
	margin-right: 2px;
	margin-top: 4px;
	margin-bottom: 4px;
	/* cursor: move; */
	z-index: 4;
	background-color: #d5d5d5;  /* 2168a8 */
	color: #004;
	font-size: 13px;
	min-height: 220px;
	min-width: 300px;
}

.updatebutton {	
	color: #fff;  
	background-color: #c20; 
	text-shadow: 1px 1px 1px #000;
	}
.updatebutton:active { background-color: #880; }
.updatebutton:focus { color: #fd0; outline: blue auto 5px;  }
.updatevisited { color: #fff; background-color: #2b8; }

.srow {
	display: flex;
	flex: auto;
	float: auto;
	flex-flow: row wrap;
	justify-content: space-between;
	}
.scol {
	margins: 10px;
	/* width: 30%; */
	flex: auto;
	float: auto;
	display: flex;
	flex-flow: column;
	}
#SR_query_div {
	display: flex; 
	float: right;
}

#SR_subs_div {
	display: flex; 
	float: right;
}
.SRheader {
	background-color: #88c;
}
.help {
	margin: 25px;
	font-size: 14pt;
	background-color: #fefefe;
	color: black;
}
.helptitle {
	margin:0; 
	margin-bottom: 0.2in;
	margin-top: 0.3in; 
	text-indent: 0.5in; 
	font-family: Times New Roman,serif; 
	font-size: 16pt; 
	font-weight: bold;
	line-height: 20pt;
}
.helppar {
	margin:0; 
	margin-bottom: 0.18in; 
	text-indent: 0.5in; 
	font-family: Times New Roman,serif; 
	font-size: 14pt; 
	line-height: 18pt;
}
ol, ul {
	margin-bottom: 0.18in;
	list-style-position: inside;
	text-indent: 1in;
	display: inline-block;
}
li {
	line-height: 14pt;
	font-size: 14pt;
	list-style-position: inside;
	text-indent: -1em;
    	padding-left: 1em;
    	margin-bottom: 0.1in;
}
#search_query {
	size: 1;
	min-width: 50px;
	width: 90%;
}
/* tip container */
.tip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
    // z-index: 10000;
}

/* tip text */
.tip .tiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  text-align: center;
  
  /* Position the tip text */
  position: fixed;
  min-height: 40px;
  top: 30px;
  //z-index: 10000;
}

/* Show the tip text when you mouse over the tip container */
.tip:hover .tiptext {
  visibility: visible;
  z-index: 10000;
}
.langdrop {
    background: url('/NewBiblasia_2020/BA_lang.png') top right no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #FFF;
    background-color: #008;
}
#wordlist {
	padding: 15px;
	/*background-size: small !important;*/
	white-space: nowrap;
}
#helpbox {
	display: none;
	padding: 20px;
	background-color: white;
	color: #005;
	z-index: 500;
	position: absolute;
	top: 15%;
	left: 15%;
	width: 70%;
	height: 60%;
        border: 6px solid #555;
  padding-top: 30px;
  overflow-y: auto;
  padding: 20px;
	overflow-y: auto;
}
#help_window {

}
#helphead {

}
.helpheader {
	padding: 16px;
	background-color: 99aaff;
	color: #005;
	margin-top: 2px;
	margin-right: 2px;
	position: relative;

}
/* Style the close button */
.closehelp {
  float: right;
  float: top;
  cursor: pointer;
  font-size: 34px;
  min-height: 40px;
  text-align: right;
    position: sticky;
    transform: translateX(-30%);
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    left: inherit;
  
}
.closehelp:hover {color: red;}


