/*	Works on Mac browsers:
	Netscape 7.2, Firefox 1.5, Safari 1.2, MSIE 5, Opera 8.5
*/

html {
	font-size: 100%;
  	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	margin: 9px 18px;
}
body {
	margin:0 auto;
	min-width: 740px;
	max-width: 1200px;
	font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
	font-size: 14px;
	line-height:1.4em;
	background-color: white;
}

/* Links */
a {
  color: #04c;
  text-decoration: none;
}
a:visited {
  color: #84c;
}
a:hover {
	color: #c09;
	text-decoration: underline;
}

/* --- for iCab and Sunrise, possibly others:
	iCab rendered these with solid black fill,
	Sunrise rendered them with open transparent holes.
	For some reaason giving them a border fixes the problems.
	(It also gives them an ugly border on Safari, but I can live with it.)
input[type="text"] {
	border:1px solid black;
}
no such problem in iCab 5.2 --- */

/* td.ff { font-family: Arial,Helvetica,sans-serif; font-size: 10px } */
/* for non-javascript footer */
td.mm { font-family: Times New Roman,Times,serif; font-size: 12px; }

/* --- header: includes title and menuBar --- */
div.header {
	background-color: #135;
	min-width: 640px;
	margin: 9px auto;
}

div.title {
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 1.5em;
	padding: .5em 0 .1em;
}

/* Turn simple <ul> list into dynamic tabs */
/* --- menu bar navigation --- */
div.menuBar {
  background-color: #135;
  padding: 6px 2px 0px 2px;
  text-align: center;
}

div.menuBar a {
  font-size: 1em;
  background-color: #135;
  border: 2px solid #ccc;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-color: #135;
  color: #fff;
  left: 0px;
  top: 1px;
  margin: 1px;
  padding: 2px 6px;
  position: relative;
  text-decoration: none;
}
div.menuBar a:hover {
	font-weight:bold;
	background-color: #ddd;
	border-color: #999 #eee #eee #999;
	color: #135;
}
/* div.menuBar a.active, */
#index1 .nav1,
#index2 .nav2,
#index3 .nav3,
#index4 .nav4,
#index5 .nav5
{
	font-weight:bold;
	background-color: #fff;
	border-color: #999 #999 #fff #999;
	color: #135;
}
/* === start of new <nav> for the menubar 2022-06-14 === */
nav ul {
	font-size:1.125em;
	text-align: center;
	list-style-type: none;
}
nav li {
	display: inline-block;
	margin: 0 .5em;
}
nav  a {
	position:relative;
	top:-3px;
	padding: 2px .375em;
	border:2px solid #ddd;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-color:  #357;
	background:#357;
	color:white;
	text-decoration: none;	
}
nav a:visited {
	color: white;	
}
nav a:hover {
	background:#ddd;
	border-color: #999 #999 #ddd #999;
	color:#135;
	text-decoration: none;	
}
#index1 .nav1,
#index2 .nav2,
#index3 .nav3,
#index4 .nav4,
#index5 .nav5
{
	font-weight:bold;
	background-color: #fff;
	border-color: #999 #999 #fff #999;
	color: #135;
	font-size: 1.125em;
}
/* === end of new <nav> for the menubar 2022-06-14 === */


/* Middle section is |left-sidebar|main-content|right-sidebar| */
.middle {
	display: flex;
}

#leftSidebar, 
#rightSidebar {
	min-width:150px;
	max-width:150px;
	position:relative;
}
#mainContent {
	padding:0 6px;
	flex-grow: 1; /* Set the middle element to grow and stretch */
	font-size: 1.25em; 
}

/* sidebars are made up of sideboxes */
/* --- sidebox: used in left and right columns --- */
/* --- little palettes with nice blue backgrounds --- */
.sidebox {
	width: 100%;
	margin-top: .5rem;
	font-size: .7rem;
	line-height:1.2em;
	background-color:#def;
	text-align:center;
	-moz-border-radius:8px; -webkit-border-radius:8px;
	-o-border-radius:8px; -ms-border-radius:8px;
	border-radius:8px;
	padding:.5em 0;
}
.sidebox hr {
	width:75%;
}

/* --- left column --- */
#leftColumnWrapper {
    width:150px;
	float:left;
	position:relative;
}

/* --- color of "today" in calendar --- */
#today { color:#c00000; }

#leftColumnWrapper td,
#calendarStuff td,
#verseOTD td
{
	font-size : .8rem;
}

#permanentLinks span {
	margin: 0 .5em;
}

#quicklinks span {
	margin: 0 .5em;
}

span.head {
	margin-top: .5em;
	font-weight: bold;
}

/* --- middle column --- */
#middleColumnWrapper { font-size: 110%; }
#middleColumnWrapper table {
	font-size: 100%;
}
#middleColumnWrapper h4 {
	font-size: 110%;
}
#middleColumnWrapper img {
	border-radius: 8px;
}
#middleHeading,
.middleHeading {
	text-align: center;
	font-weight: bold;
	margin: 0; padding:0;
}

/* --- right column --- */

#rightColumnWrapper {	/* used by test-bootstrap.html */
    width:150px;
	float:right;
	position:relative;
}


#searchSite  {
	font-weight: bold;
}
.searchGlass {
	vertical-align: middle;
}
/* --- end right column --- */


.bland {
	margin-left:1.5em; margin-top:-1em;
	padding:0;
	font-size: .9em;
}

/* used to make h4 headings close to following paragraph, form, or list */
div.close {
	font-size: .9em;
}
div.close h4 {
	margin-bottom:0;
}
div.close p, div.close form {
	margin-top:0;
}
div.close ul {
	margin-left:1.5em;
	margin-top:0em;
	padding:0;
}

/* used to make h4 headings close to following paragraph, form, or list */
div.sc-close {
	font-size: .9em;
	line-height: 1.4em;
}
div.sc-close h4 {
	margin-bottom:0;
}
div.sc-close p, div.sc-close form, div.sc-close table {
	margin-top:0;
}
div.sc-close ul {
	margin-left:1.5em;
	margin-top:0em;
	padding:0;
	line-height: 1.4em;
}
div.sc-close li {
	line-height: 1.4em;
}

/* === positioning images === */
.left {
	float:left;
	position: relative;
	margin: 0 4px;
}
.right {
	float:right;
	position: relative;
	padding-left: 4px;
	margin:0;
}
.clear {
	clear:both;
}
figcaption {
	text-align: center;
}

/* my forms require javascript,
 * so hide them when javascript is disabled
 */
.no-js form { display: none;}
.js-disabled { display: none;}
.no-js .js-disabled { display: block;}
