body {
min-height:100vh;
max-width: 900px;
min-width: 320px;
margin:auto;
}

div {
padding-left:10px;
padding-right:10px;
text-align:center;
word-wrap: normal;
white-space: normal;
}

#goodnewsimg {
float: center;
width: 100px;
border: 0.5px solid black;
}
	
#bannerimg {
padding-top:50px;
max-width: 100%;
height:100%;
}

/* Main Navigation */
#nav {
   display:flex;
   margin-top:20px;
   margin-bottom:10px;
}
 
ul#navigation {
    padding:0px;
    margin:auto;
    border-left:1px solid #c4dbe7;
    border-right:1px solid #c4dbe7;
}
 
ul#navigation li {
    display:flex;
    flex-wrap: wrap;
    font-weight:bold;
    float:left;
    position:relative;  /*controls sublabel position*/
    border:1px solid #c4dbe7;
}

ul#navigation li a {
    align-items:flex-start;
    margin:0px;
    font-family:'Times New Romans';
    font-size:22px;
    font-weight:bold;
    padding:10px; /*labels all-round*/
    color:#616161; /*label font colour*/
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    background: #e1e9f4;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}

 
ul#submenu li a {
    float:left;
    text-align:left;
    font-family:'Times New Romans';
    font-size:19px;
    font-weight:bold;
    padding:5px; /*labels all-round*/
    color:#616161; /*label font colour*/
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    display:flex;
    background: #e1e9f4;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
 
ul#navigation li a:hover {
    background:#f8f8f8;
    color:#282828;
}
 
ul#navigation li a.first {
    border-left: 0 none;
}
 
ul#navigation li a.last {
    border-right: 0 none;
}
 
ul#navigation li:hover > a {
    background:#fff;
}

/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
/*these 2 styles are very important,
being the ones which make the drop-down to appear on hover */
    visibility:visible;
    opacity:1;
}
 
ul#navigation ul, ul#navigation ul li ul {
    list-style: none;
    margin: 0;
    padding: 0;
/*the next 2 styles are very important,
being the ones which make the drop-down to stay hidden */
    visibility:hidden;
    opacity:0;
    position: absolute;
    z-index: 99999;
    width:180px;
    background: #e1e9f4; /*submenu background colour*/
    box-shadow:1px 1px 3px #ccc;
/* css3 transitions for smooth hover effect */
    -webkit-transition:opacity 0.2s linear, visibility 0.2s linear;
    -moz-transition:opacity 0.2s linear, visibility 0.2s linear;
    -o-transition:opacity 0.2s linear, visibility 0.2s linear;
    transition:opacity 0.2s linear, visibility 0.2s linear;
}
 
ul#navigation ul {
    top: 43px; /*sub menu top indentation*/
    left: 1px; /*sub menu left indentation*/
}
 
ul#navigation ul li {
    clear:both;
    width:100%;
    border:0 none;
    border-bottom:1px solid #c9c9c9; /*sub menu label border&bottom padding; left/right padding*/
}
 
ul#navigation ul li a {
    background:none;
    padding:7px 15px; 
    color:#616161;
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    display:inline-block;
    border:0 none;
    float:left;
    clear:both;
    width:150px;
}

/*Sidebar Navigation */
#navsidebar {
   display:flex;
   margin-top:5px;
   margin-bottom:5px;
}
 
ul#navigationsidebar {
    padding:0px;
    margin:auto;
    border-left:1px solid #c4dbe7;
    border-right:1px solid #c4dbe7;
}
 
ul#navigationsidebar li {
    display:flex;
    flex-wrap: wrap;
    font-weight:bold;
    float:left;
    position:relative;  /*controls sublabel position*/
    border:1px solid #c4dbe7;
}

ul#navigationsidebar li a {
    align-items:flex-start;
    margin:0px;
    font-family:'Times New Romans';
    font-size:18px;
    font-weight:bold;
    padding:5px; /*labels all-round*/
    color:#616161; /*label font colour*/
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    background: #e1e9f4;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}

 
ul#submenusidebar li a {
    float:left;
    text-align:left;
    font-family:'Times New Romans';
    font-size:16px;
    font-weight:bold;
    padding:5px; /*labels all-round*/
    color:#616161; /*label font colour*/
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    display:flex;
    background: #e1e9f4;
    -webkit-transition:color 0.2s linear, background 0.2s linear;
    -moz-transition:color 0.2s linear, background 0.2s linear;
    -o-transition:color 0.2s linear, background 0.2s linear;
    transition:color 0.2s linear, background 0.2s linear;
}
 
ul#navigationsidebar li a:hover {
    background:#f8f8f8;
    color:#282828;
}
 
ul#navigationsidebar li a.first {
    border-left: 0 none;
}
 
ul#navigationsidebar li a.last {
    border-right: 0 none;
}
 
ul#navigationsidebar li:hover > a {
    background:#fff;
}

/* Drop-Down Navigation */
ul#navigationsidebar li:hover > ul
{
/*these 2 styles are very important,
being the ones which make the drop-down to appear on hover */
    visibility:visible;
    opacity:1;
}
 
ul#navigationsidebar ul, ul#navigationsidebar ul li ul {
    list-style: none;
    margin: 0;
    padding: 0;
/*the next 2 styles are very important,
being the ones which make the drop-down to stay hidden */
    visibility:hidden;
    opacity:0;
    position: absolute;
    z-index: 99999;
    width:180px;
    background: #e1e9f4; /*submenu background colour*/
    box-shadow:1px 1px 3px #ccc;
/* css3 transitions for smooth hover effect */
    -webkit-transition:opacity 0.2s linear, visibility 0.2s linear;
    -moz-transition:opacity 0.2s linear, visibility 0.2s linear;
    -o-transition:opacity 0.2s linear, visibility 0.2s linear;
    transition:opacity 0.2s linear, visibility 0.2s linear;
}
 
ul#navigationsidebar ul {
    top: 30px; /*sub menu top indentation*/
    left: 1px; /*sub menu left indentation*/
}
 
ul#navigationsidebar ul li {
    clear:both;
    width:100%;
    border:0 none;
    border-bottom:1px solid #c9c9c9; /*sub menu label border&bottom padding; left/right padding*/
}
 
ul#navigationsidebar ul li a {
    background:none;
    padding:5px 10px; 
    color:#616161;
    text-shadow:1px 1px 0px #fff;
    text-decoration:none;
    display:flex;
    border:0 none;
    float:left;
    clear:both;
    width:150px;
}

/* below 660px remove banner and use minisidebar*/

@media screen and (max-width:660px) {
#bannerimg {display: none;
}
#nav {display: none;
}
#navsidebar {display: flex;
}
}

/* above 660px show banner and use main menu*/

@media screen and (min-width:660px) {
#nav {display: flex;
}
#navsidebar {display: none;
}
}

.grid-container {
display:inline-grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}

.box1 {
justify-items:end;
}

.box2 {
justify-items:start;
}

p.hyperlink {
text-align:center;
padding-top:10px;
padding-bottom:10px;
font-family:'Times New Romans';
font-size:18px;
font-weight:bold ;
text-decoration:underline;
}

p.headingtext {
text-align:left;
font-family:'Times New Romans';
font-size:26px;
font-weight:bold;
text-decoration:underline;
}

p.headingtextcenter {
text-align:center;
font-family:'Times New Romans';
font-size:26px;
font-weight:bold;
text-decoration:underline;
}

p.bodytext {
text-align:left;
font-family:'Times New Romans';
font-size:22px;
line-height:140%;
}

p.scripturetext {
text-align:center;
font-family:'Times New Romans';
font-size:20px;
font-weight:bold;
}

ul.listtext {
text-align:left;
list-style-position: outside;
list-style-type: square;
font-family:'Times New Romans';
font-size:22px;
line-height:140%;
}

table {
text-align:left;
border-collapse:collapse;
width:100%;
}

#tblimg {
width: 40px;
max-height:50px;
object-fit:contain;
}

th {
background:#2e0b7a ;
font-size:20px ;
font-weight:bold ;
color:#ffffff ;
text-align:center ;
font-family:'Times New Romans';
}

td {
padding-top:2px ;
padding-bottom:2px ;	
padding-right:2px ;
padding-left:2px ;
line-height:110% ;
text-align:left ;
font-family:'Times New Romans' ;
font-size:16px ;
border: 1px solid black;
}

#firstcell {
background:#ffffff ;
border-left:1px solid #ffffff ;
border-top:1px solid #ffffff ;
}

.link-container {
display:flex;
align-items: flex-start;
gap: 10px;
justify-content: left;
margin-left:0;
margin-right: 0;
}

.image-link {
display: block;
text-decoration: none;
}

.image-link img {
width: 40px;
height: 40px;
object-fit: cover;
display: block;
}
