/******  CSS file for all m_main.html Pages  ******/
/******  Catering for screen widths > 320px  ******/
:root {
	font-size: 18px;
}
* {
	box-sizing: border-box;
}
[class*="Panel"] {
	padding: 0 2px;
}
body {
	font-family: Verdana, "Trebuchet MS", Tahoma, "Lucida Sans Unicode", Impact, "Lucida Grande", Geneva, Helvetica, sans-serif;
	font-weight: normal; /* 400 is normal, 700 is bold */
	background-color: #eeeeee; /*very light grey*/
	color: #000000; /* black */
	line-height: 130%;
}
/* ------*/
.headerFlex {
	display: flex; font-size: 1.6rem; max-height: 2.5em;
}
.leftPanel { /*flex item of mainFlex*/
	display: none;
}
.middlePanel { /*flex item of mainFlex*/
	flex: 1 0 100%;
	height: 100%;
}
.rightPanel { /*flex item of mainFlex*/
	display: none;
}
.header {
	font-weight:bold;
	color:#0000ff; /*blue*/
	text-align: center;
	padding-top: 0.2em;
}
.byLine { /*Header byline*/
	font-weight: normal;
	text-align: center;
	font-style: italic; font-size: 0.5em;
	margin: 0.5em 0;
	color: #777777;
}
img {
	display: block;
}
img.book {
	width: 100%;
}
img.bible {
	width: auto; margin: 0 auto; max-height: 2.7em;
}
img.dove {
	width: auto; margin: 0 auto; max-height: 3em;
}
a {
	color: blue;
	text-decoration: none;
}
a:hover {
	color:#c44000;
}
/*-----*/
.topNavMenu { /*flex container for top navigation items*/
	display: flex;
	flex-wrap: wrap;
}
.topNavItem { /*flex item for topNavMenu*/
	flex: 0 1 33.33%;/* start with 4 top tabs*/
}
.btn {
	display: block; 
	border: 2px solid #aaaaaa; 	border-radius: 5px; 
	background-color: #ffee99; 	color: blue;
	font-size: 0.8rem; font-weight: normal;
	padding: 0.5em 0.2em; margin: 0;
	text-align: center;
}
/*-----*/
.mainFlex { /*flex container for left, main and right panels*/
	display: flex;
	flex-direction: row;
	height: calc(100vh - 256px);
	margin-top: 5px;
	/*border: 2px solid red;*/
}
iframe {
	width: 100%;
	border: none;
	height: 100%;
}
.label {
	background-color: blue;
	color: #ffee99;
	font-size: 1.3em; font-weight: bold;
}
.article {
	font-family: Calibri, Arial, Helvetica, sans-serif;
	/*font-size: 18px;*/
	margin-top:0; 
	background-color: white;
}
.midNavMenu { /*flex container for section navigation items*/
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2em;
}
.midNavItem { /*flex item for midNavMenu*/
	flex: 0 0 100%;/*start with 1 iframe tab*/
	font-size: 0.8em; font-weight: normal;
	background-color: #00e6e6; color: #555555;
	border: 2px solid white; border-radius: 5px;
	text-align: center; padding: 0.2em 0.5em;
}
/*-----*/
.bookLinks { /*flex container for book links*/
	display: flex;
	margin: 1em 0;
	flex-wrap: wrap;
}
.bookItem { /*flex item for bookLinks*/
	flex: 1 0 50%;
}
.bookExtra { /*flex item for bookLinks*/
	flex: 1 0 100%;
}
/*-----*/
h3 {
	color: #ff3399;
	margin: 1em 0;
}
h4 {
	color: #ff00ff;
	margin: 0.5em 0;
}
ul  {
	list-style-type: disc;
	}
.last  { /* bigger gap under last line */
	margin-bottom: 1.5em;
}
p.stars  { /* break between posts under a single heading */
	text-align:center;
	color: #c44000;  /* reddish */
}
.quote  { /* external quotes */
	color: #0000ff; /*blue*/
	font-style:italic; 	font-weight:normal;
	padding-left: 1em;
}
.indent {/*internal quotes*/
	font-style:italic; 	font-weight:normal;
	padding-left: 1em;
}
/* ----- @media coding for iframe widths*/
@media only screen and (min-width:355px) {
	.midNavItem {flex: 0 0 50%;}/* 2 iframe tabs*/
}
/* ----- @media coding for iframe widths*/
@media only screen and (min-width:655px) {
	.midNavItem {flex: 0 0 33.33%;}/* 3 iframe tabs*/
}
@media only screen and (min-width:873px) {
	.midNavItem {flex: 0 0 25%;}/* 4 iframe tabs*/
}
@media only screen and (min-width:1366px) {
	.midNavItem {flex: 0 0 16.66%;}/* 6 iframe tabs*/
}
/* ----- @media coding for screen widths*/
@media only screen and (min-width: 500px) {
	.topNavItem {flex: 0 0 25%;}/* 4 top menu tabs*/
	.mainFlex {height: calc(100vh - 214px);}
}
@media only screen and (min-width: 675px) {
	.topNavItem {flex: 0 0 16.66%;}/* 6 top menu tabs*/
	.mainFlex {height: calc(100vh - 172px);}
}
@media only screen and (min-width: 768px) {
	:root {font-size: 19px;}
	.headerFlex {max-height: 3em;}/*dove already at 3em, bible at 2.7em*/
	.header {padding-top: 0.4em;}
	.byLine {margin: 1em 0;}
	.topNavMenu {display: none;}
	.btn {padding: 0.7em 0.2em;}
	.leftPanel {flex: 0 0 20%; display: block;}
	.leftPanel > .btn {font-weight: bold;}
	.mainFlex {height: calc(100vh - 112px);}
	.middlePanel {flex: 0 0 65%;}
	.rightPanel {flex: 0 0 15%; display: block;}
}
@media only screen and (min-width: 992px) {
	:root {font-size: 20px;}
	.mainFlex {height: calc(100vh - 118px);}
}
@media only screen and (min-width: 1366px) {
	:root {font-size: 21px;}
	.headerFlex {max-height: 3.5em;}
	img.bible {max-height: 3em;}
	img.dove {max-height: 3.5em;}
	.header {padding-top: 0.7em;}
	.mainFlex {height: calc(100vh - 138px);}
}
@media only screen and (min-width: 1920px) {
	:root {font-size: 22px;}
	.headerFlex {max-height: 4em;}
	img.bible {max-height: 3.5em;}
	img.dove {max-height: 4em;}
	.mainFlex {height: calc(100vh - 161px);}
}