/* https://meyerweb.com/eric/tools/css/reset/ 2. v2.0 | 20110126
  License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  display: flex;
  flex-direction: column;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* END: https://meyerweb.com/eric/tools/css/reset/ 2. v2.0 | 20110126
  License: none (public domain)
*/
#container {
  flex: 1 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    width: auto; /* ie8 */
}
body {
 background-color:#FFFAEF;
 background-image: url("images/sand-closeup-lt.gif");
 background-repeat: repeat;
   margin:0;
   padding:0;
   height:100%;
}

.about {
    background-color:#FFFAEF;
    color: black;
    border: 1px solid black;
    text-align: center;
    height: 128px;
    font-size: 120%;
    font-family: arial;
    position: static;
}

.img1 { max-height: 120px;
    padding:0;
    float: left;}
.img2 { max-height: 120px;
    padding:0;
    float: right;}

 
.headimgs {
text-align: center; margin: 5
}
.headsponsor {
text-align: center; margin: 5}
@media screen and (max-width: 699px) {
.headsponsor {display:none;}
}
@media screen and (max-width: 1400px) {
.headspace {display:none;}
}
@media screen and (max-width: 1000px) {
.about {display:none;}
.news {display:none;}
.prayerlist {display:none;}
}

.news {
    height: 30px;	
    width: 100%;  
    max-width: 400px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    animation: marquee 20s linear infinite;
    position: absolute;
    background-color:#FFFAEF;
    color: black;
    border: 1px solid black;
    text-align: center;
    line-height: 30px;
}
.praylist {
    height: 30px;	
    width: 400px; 
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
    animation: marquee 20s linear infinite;
    position: absolute;
    background-color:#FFFAEF;
    color: black;
    border: 1px solid black;
    text-align: center;
    line-height: 30px;
}
.lifesshort {
    height: 60px;	
    width: 200px;
    max-width: 100px;
    margin: 5px;
    box-sizing: border-box;
    position: relative;
    color: black;
    text-align: center;
    line-height: 25px;
    float: right;
    padding: 5px, 0, 0, 0;
    font-weight: bold;
    font-size: 19px;
    font-style: italic;
}
@media screen and (max-width: 600px) {
.lifesshort {display:none;}
}

p.opportunities {
    font-weight: bold;
    font-size: 20px;
    font-style: italic;
}
.opportunities {
   clear: both;
    position: static;
    height: 360px;	
    width: 300px;
    max-height: 360px;
    margin: 0;
    overflow-y: scroll;
    background-color:#FFFAEF;
    color: black;
    border: 1px solid black;
    text-align: center;
    padding: 10px, 0, 0, 0;
    margin: 10px;
    float: left;
}
p.opportunhead {
    font-weight: bold;
    font-size: 25px;
    font-style: italic;
}
.opportunhead {
   clear: both;
    position: relative;
    height: 60px;	
    width: 300px;
    max-height: 60px;
    margin: 0;
    overflow-y: hidden;
    background-color:#FFFAEF;
    color: black;
    border: 1px solid black;
    text-align: center;
    padding: 10px, 0, 0, 0;
    margin: 10px;
    float: left;
}
.scc {
    float: left;
    text-align: center;
    background-color:#FFFAEF;
    border: 1px solid black;
    margin: 10px;
    width: 500px;
}


.praylist:hover {
    animation-play-state: paused
}
.news:hover {
    animation-play-state: paused
}


@keyframes marquee {
    0% {
        text-indent: 27.5em
    }
    100% {
        text-indent: -120em
    }
}

#container2 {
    position: relative;
    width:100%;
}
#footer {
   clear: both;
   position: relative;
  right: 0;
  bottom: 0;
  left: 0;
   width:100%;
   height:50px;   /* Height of the footer */
    text-align: center;
}
.footer {
  position: relative;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1rem;
  text-align: center;
}


h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
}
