 /*.top-bar {
	 background-color: #000 !important;
 }
 
 .top-bar li a {
	 font-family: sans-serif;
	 font-size: 1em;
	 color: #fff;
 }
  .top-bar ul {
    background-color: transparent; 
	}*/
body {
  background: rgba(7,7,7,.4);  
}

.row h1 {
  text-align: center;  
}

.row h2 {
  text-align:center;
}

.container p {
  font-size: 1.8em;
}

.top-bar, .top-bar ul {
	background: rgba(18, 18, 64,.5);
	
}

.top-bar li, a {
	padding: 6px 0;
	margin: 2px 0 2px 0;
	text-align: center;
}

.submenu {
	  background-color: #000 !important;
	  
  }
.menu-text {
	color: #fff;
}
.hero {
   padding-bottom:0px; 
   margin-bottom: 15px; 
   background-image:url("../includes/bible.JPG");
   background-size:cover;
   height: 550px;
   box-shadow:inset 0px 0px 0 2000px rgba(0,0,0,0.2);
}
/*
.header {
  text-align: center;
  background: url("https://static.pexels.com/photos/6894/summer-photographer-pier-adventure-large.jpg") no-repeat center center;
  background-size: cover;
  padding: 4rem; 
  }
  
.header .main-header {
    color: #666; 
  }*/

.black-box {
	display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  	display: -ms-flexbox;  /* TWEENER - IE 10 */
  	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
  	-moz-box-pack: center;
  	-ms-flex-pack: center;
  	-webkit-justify-content: center;
	justify-content: center;
	-webkit-flex-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
	flex-direction: column;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	background: rgba(177, 21, 26,.5);
	font-weight:900;
	padding: 10px 0 5px 0;
	
}

.black-box p {
	font-weight:900;
	color: #fff;
	}

  .profile-card {

  padding: 1rem;

  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);

  margin: 2rem 0;

  background-color: #fff; 

  min-height: 710px;
}

  .profile-card img {

    width: 8rem;

    display: block;

    margin: 2rem auto;

    text-align: center;

    border-radius: 50%;

    box-shadow: 2px 2px 5px #888888; }

  .profile-card .profile-info {

    padding: 1rem; }

    .profile-card .profile-info h4 {

      margin-top: 0;

      text-align: center;

      text-transform: uppercase; }

    .profile-card .profile-info p {

      text-align: center; }

    .profile-card .profile-info .inline-list {

      text-align: center;

      margin-bottom: 1rem; }

      .profile-card .profile-info .inline-list li {

        float: none;

        display: inline-block; }

      .profile-card .profile-info .inline-list i.fi-social-facebook {

        font-size: 1.5rem;

        color: #3b5998; }

        .profile-card .profile-info .inline-list i.fi-social-facebook:hover {

          transform: scale(1.5);

          transition: all .5s ease-in-out; }

      .profile-card .profile-info .inline-list i.fi-social-twitter {

        font-size: 1.5rem;

        color: #55acee; }

        .profile-card .profile-info .inline-list i.fi-social-twitter:hover {

          transform: scale(1.5);

          transition: all .5s ease-in-out; }

      .profile-card .profile-info .inline-list i.fi-social-linkedin {

        font-size: 1.5rem;

        color: #0077b5; }

        .profile-card .profile-info .inline-list i.fi-social-linkedin:hover {

          transform: scale(1.5);

          transition: all .5s ease-in-out; }

      .profile-card .profile-info .inline-list i.fi-social-github {

        font-size: 1.5rem;

        color: #333; }

        .profile-card .profile-info .inline-list i.fi-social-github:hover {

          transform: scale(1.5);

          transition: all .5s ease-in-out; }

      .profile-card .profile-info .inline-list i.fi-social-youtube {

        font-size: 1.5rem;

        color: #cc181e; }

        .profile-card .profile-info .inline-list i.fi-social-youtube:hover {

          transform: scale(1.5);

          transition: all .5s ease-in-out; }

#calendar {
    width: 90%; 
    margin: 0 auto; 
}

#calendar a {
    color: #8e352e;
    text-decoration: none;
}

#calendar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

#calendar li {
    display: block;
    float: left;
    width:14.342%;
    padding: 5px;
    box-sizing:border-box;
    border: 1px solid #ccc;
    margin-right: -1px;
    margin-bottom: -1px;
}

#calendar ul.weekdays {
    height: 40px;
    background: rgba(18, 18, 64, .5); 
}

#calendar ul.weekdays li {
    text-align: center;
    text-transform: uppercase;
    line-height: 20px;
    border: none !important;
    padding: 10px 6px;
    color: #fff;
    font-size: 13px;
}

#calendar .days li {
    height: 180px;
}

#calendar .days li:hover {
    background: #d3d3d3;
}

#calendar .date {
    text-align: center;
    margin-bottom: 5px;
    padding: 4px;
    background: #333;
    color: #fff;
    width: 30px;
    border-radius: 50%;
    float: right;
}

#calendar .event {
    clear: both;
    display: block;
    font-size: 13px;
    border-radius: 4px;
    padding: 5px;
    margin-top: 40px;
    margin-bottom: 5px;
    line-height: 14px;
    background: #e4f2f2;
    border: 1px solid #b5dbdc;
    color: #009aaf;
    text-decoration: none;
}

#calendar .event-desc {
    color: #666;
    margin: 3px 0 7px 0;
    text-decoration: none;  
}

#calendar .other-month {
    background: #f5f5f5;
    color: #666;
}

.footer {
  background-color: rgba(177, 21, 26,.7);
  text-align: left;
  color: #fff;
  font-size: 1.2rem;
  padding: 1rem; 
}

.footer .social a {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background-color: #33383b;
  border-radius: 2px;
  font-size: 1.5rem;
  color: #fff;
}

@media(max-width: 768px) {

    #calendar .weekdays, #calendar .other-month {
        display: none;
    }

    #calendar li {
        height: auto !important;
        border: 1px solid #ededed;
        width: 100%;
        padding: 10px;
        margin-bottom: -1px;
    }

    #calendar .date {
        float: none;
    }
}

	

@media (min-width: 640px) {
	.hero {
	   margin-top: 0px; 
	}
	
	.top-bar li, a {
	display: hidden;
	}
	
   .header-subnav {
	  float: none;
	  position: relative;
	  top: 485px;
	  text-align: center;
	  margin-bottom: 0; 
	  margin: 0 auto;
	  width: 100%;
	  background: rgba(18, 18, 64,.5);
  }
  
.header-subnav li {
    float: none;
    display: inline-block;
  }
  
.header-subnav li a {
    padding: 0.9rem 1rem 0.75rem;
    font-size: 0.875rem;
    color: #fff;
    text-transform: uppercase;
    display: block;
    font-weight: bold;
    letter-spacing: 1px; 
  }
  
.header-subnav li a.is-active {
	background: rgba(250, 250, 250, 0.7);
	color: #333; 
  }
  
.header-subnav li a:hover {
	background: rgba(250, 250, 250, 0.7);
	color: #333;
	transition: all .25s ease-in-out; 
  }

.nav-wrap {
  position: absolute;
  margin: 485px auto 0 auto;
  width: 100%;
  background-color: rgba(18, 18, 64,.5);
  font-family: 'Cabin Condensed', sans-serif;
  font-size:1.1rem;
  
  }

.nav-wrap ul {
  list-style:none;
  position:relative;
  display: -webkit-box;  /* OLD - iOS 6-, Safari 3.1-6, BB7 */
  display: -ms-flexbox;  /* TWEENER - IE 10 */
  display: -webkit-flex;
  display:flex;
  -webkit-justify-content:space-around;
  justify-content: space-around;
  margin:0;
  padding: 15px 0;
  }

.nav-wrap ul a {
  display: block;
  color:#fff;
  ext-decoration:none;
  font-weight:700px;
  line-height:32px;
  padding:0 15px;
  
  }

.nav-wrap ul li {
  position:relative;
   
}

.nav-wrap ul li:hover {
  background-color:transparent;
  }
  
.nav-wrap a:hover {
  color: rgba(255,255,255,.2);
  transition:1s;
}

.nav-wrap ul ul {
  display:none;
  position:absolute;
  top:100%;
  left:0;
  background-color:rgba(18, 18, 64,.8);
  box-shadow:10px 5px 5px rgba(0,0,0,.2);
  padding:0;
}

.nav-wrap ul ul li {
  float:none;
  width: 200px;
}

.nav-wrap ul ul ul {
  top:0;
  left:100%;
}

.nav-wrap ul li:hover > ul {
  display:block;
  z-index:1000;
}

 
}