body {
  padding: 0;
  background-color: #fff;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  font-family: "Open Sans", sans-serif;
  font-size:24px;
}
/* Material Design 
https://fezvrasta.github.io/bootstrap-material-design/
Icons https://cdn.materialdesignicons.com/3.4.93/
/* Bootstrap override */

.bg-primary, a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover {
  background-color: #1f3e57!important;
}

/* Bootstrap override */

#alert-container{
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index: 10;

}
/* Carousel caption */
.d-md-block {
    display: block!important;
}
/* Generalities */
p {
  color: #636363;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: #1f1f2c;
  line-height: 1.3;
  font-weight: 700;
}

.shadowText{
  color:white;
  text-shadow: 2px 2px #1f3e57;
}

.mb-100 {
  margin-bottom: 100px;
}
.section-padding-t-75 {
  padding-top: 75px;
}

.section-padding-t-100 {
  padding-top: 100px;
}



.section-padding-150 {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  text-align: center;
  max-width: 730px;
  margin: 0 auto 50px;
}
.section-heading h2 {
  font-size: 36px;
  text-transform: uppercase;
}
.section-heading p {
  font-size: 16px;
  color: #636363;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  #mainSection {
    height: 50vh;
    min-height: 775px;
    padding-top: 0;
    padding-bottom: 0;
  }
  #mainSection .header-content {
    margin-bottom: 0;
    text-align: left;
  }
  #mainSection .header-content h1 {
    font-size: 50px;
  }
  #calender{
    font-size: 0.9em;
  }
  #calender  h2{
    font-size: 1em;
  }
  .section-padding-100 {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

/* (max-width: 991px) and */
@media only screen and (min-width: 768px){
  #main-logo{
    width: 300px;
  }
  
  .carouselWrapper {
    position: relative;
    z-index: 1;
    height:600px;
  }

  .section-heading h2 {
    font-size: 30px;
    text-transform: uppercase;
  }
}

/* Small Screen */
@media only screen and (max-width: 767px){
  #main-logo{
    width:50%;
  }
  .email-address span, .phone span , .open span{
    display: none;
  }

  .navtop-icon{
    padding: 0px 10px;
  }

  .carouselWrapper {
    position: relative;
    z-index: 1;
    height:450px;
  }
  .section-heading h2 {
    font-size: 1.2em;
  }

  .section-heading p{
    font-size: 14px;
  }

  #floating-sign{
    width:150px;
  }

  #look-for-sign{
    font-size: 1em;
  }
  
  #calender{
    font-size: 0.5em;
  }
  #calender h2{
    margin-top: 10px;
    font-size: 1.5em;
  }

  .section-padding-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* Nav Togler */
#main-menu-sticky-wrapper{
  position: relative;
  z-index: 6;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: 0;
}

.navbar-toggler span {
   display: block;
   background-color: #444;
   height: 3px;
   width: 25px;
   margin-top: 4px;
   margin-bottom: 4px;
   -webkit-transform: rotate(0deg);
   -moz-transform: rotate(0deg);
   -o-transform: rotate(0deg);
   transform: rotate(0deg);
   position: relative;
   left: 0;
   opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
   -webkit-transition: transform .35s ease-in-out;
   -moz-transition: transform .35s ease-in-out;
   -o-transition: transform .35s ease-in-out;
   transition: transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
    opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    height: 12px;
    visibility: hidden;
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    position: absolute;
    left: 12px;
    top: 10px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    transform: rotate(-135deg);
    opacity: 0.9;
}
/* Nav Toggler */


/* Top Header  */
.top-header {
  position: relative;
  z-index: 5;
  background-color: #f3f3f3;
  width: 100%;
  color: #959595;
}
.top-header-content {
position: relative;
z-index: 1;
height: 50px;
}

.top-header-meta{
  display: inline-block;
}

.navtop-icon{
  font-size: 1.5em;
  padding: 0px 2px;
}

.top-header a, .top-header a:hover, .top-header a:focus {  
  text-decoration: none;
  outline: 0 solid transparent;
  color: #1f1f2c;
  font-weight: 500;
  font-size: 14px;
}
.open {font-size: 14px;color: #959595;}
.open:hover{
  color:#1f2357;
}
/* Top Header  */
/* Nav Bar  */
#main-menu{background-color: #ffffff;z-index: 100;}
#main-menu ul li a {
  color:#1f2357;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 12px;
  display: block;
  font-size: 14px;
  line-height: 34px;
}
.navbar-brand {  font-weight: 700; color: #232323;}
.navbar{ background-color: #ffffff; z-index: 10;}

.nav-item:hover::after{width:100%;}
.nav-link:hover{color:rgb(41, 128, 185);}
.nav-link{padding:5px 5px;transition:0.2s;}
.dropdown-item.active, .dropdown-item:active{color:#232323;}
.dropdown-item:focus, .dropdown-item:hover{background:rgb(41, 128, 185);}
/* Nav Bar  */

#mainSection {
  position: relative;
  z-index: 5; 
  /* Set a specific height */
  height:750px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 5;  
  color: white;
}

.bg-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transform: translateZ(0);
  will-change: transform;
  z-index: -1;
}

/* Header Section */

/* 
header.masthead {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 100px;
  background: url("../img/bg-pattern.png"), #3E92CC;
  background: url("../img/bg-pattern.png"), -webkit-gradient(linear, right top, left top, from(#3E92CC), to(#004385));
  background: url("../img/bg-pattern.png"), linear-gradient(to left, #3E92CC, #004385);
} */

#mainSection .header-content {
  /* max-width: 700px; */
  margin-bottom: 100px;
  text-align: center;
}

#mainSection .header-content h1 {
  font-size: 2em;
}

#mainSection .device-container {
  max-width: 325px;
  margin-right: auto;
  margin-left: auto;
}

#mainSection .device-container .screen img {
  border-radius: 3px;
}




/* welcome Area */
#welcome-area{
  position: relative;
  background-color: white;
  z-index: 5;
}
.welcome-content {
  position: relative;
  z-index: 1;
}

.welcome-content img {
  border-radius: 5px;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 30px;
  height: auto;
  max-width: 100%;
}

.welcome-content-text h4 {
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}
/* welcome Area END */

/* Video Loop Start */
#video-section{
  position: relative;
  z-index: 1;
  height: 700px;
}

#video-overlay { 
  min-height:100%;
  background-color:rgba(0,0,0,.25) !important; 
  min-height: 100%;
  min-width: 100%;
  top: 0;
  right: 0;
  position: absolute;
}

#video-section video{
  /* min-height:100%;
  min-width:100%;
  position: fixed;
  top:0;
  right:0;
  z-index: -9;
  perspective:1000;
  width:auto; 

  margin:0 auto;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  background-size: cover;
  transition: 1s opacity;*/
  display: block;
    height: auto;
    left: auto;
    max-width: none;
    min-height: 100%;
    min-width: 100%;
    right: 0;
    left:0;
    bottom:0;
    position: fixed;
    top: 0;
    width: auto;
    z-index: 1;
}


.bg-img {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.video-text{
  /* -webkit-clip-path: polygon(0 0, 100% 0, 89% 96%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 89% 96%, 0 100%); */
  background-color: rgba(140, 151, 158, 0.7) !important;
}
.video-text p{
  font-size:1em;
}
/* Video End Start */

 
/* latest-sermons */
#latest-sermons, #latest-events{
  position: relative; 
  z-index: 5;
  background-color: white;
}
.single-latest-sermons {
  position: relative;
  z-index: 1;
}

.sermons-thumbnail img {
  border-radius: 5px;
  height: auto;
  max-width: 100%;
}

.sermons-thumbnail {
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}
.sermons-date {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.15);
  width: 80px;
  height: 80px;
  border-radius: 5px;
  position: absolute;
  left: 20px;
  bottom: -15px;
  background-color: #ffffff;
}

.sermons-date h6 {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  margin-bottom: 0;
  text-align: center;
  font-weight: 600;
  color: #636363;
}

.sermons-date h6 span {
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: #1f1f2c;
}

.sermons-cata {
  margin-bottom: 15px;
  /* a {
      color: $secondary-color;
      display: inline-block;
      margin-right: 20px;
      &:hover {
          color: $hover-color;
      }
  } */
}
.sermons-cata a {
  color: #959595;
  display: inline-block;
  margin-right: 20px;
}

.sermons-content {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.sermons-meta-data p {
  margin-bottom: 5px;
  color: #959595;
}
.sermons-content h4 {
  font-size: 1em;
  font-weight: 600;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 20px;
  margin-bottom: 0;
}



/* latest-sermons  END*/


#smartapps{
  position: relative;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1f2357+0,292d56+100 */
background: #254167 ; /* Old browsers */
background: -moz-linear-gradient(top, #254167  0%, #92aac9 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #254167  0%,#92aac9 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #254167  0%,#92aac9 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#254167', endColorstr='#92aac9',GradientType=0 ); /* IE6-9 */
  z-index: 5;
}



/* OUR LOCATION */
#our-location{
  position: relative;
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1f2357+0,292d56+100 */
background: #1f2357; /* Old browsers */
background: -moz-linear-gradient(top, #1f2357 0%, #292d56 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #1f2357 0%,#292d56 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #1f2357 0%,#292d56 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1f2357', endColorstr='#292d56',GradientType=0 ); /* IE6-9 */
  z-index: 5;
}



#our-location * , #smartapps *{
  color:white;
}

#look-for-sign{
  color:#1f2357;
  text-shadow: rgb(255, 255, 255) 2px 2px 2px;
}

#floating-sign{
  position: absolute;
  top:50px; right:50px;
  z-index: 4;
}

#floating-sign img{
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.6);
  border: 3px solid #1f2357;
}

.google-maps {
  position: relative;
  padding-bottom: 75%; 
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 75% !important;
}



/* OUR LOCATION */
footer {
  position: relative;
  background-color:#2f3d63;
  z-index: 5;
}

footer * {
  color:white;
}
#footer-logo{
  width: 6em;
}

.footer-icon{
  font-size: 1.5em;
}

.footer-social{
  font-size: 1.5em;
  margin-right:10px;
  color: #1f2357;
}

.footer-social:hover{
  color: #1f2357;
}

#scrollUp {
  background-color: #1f2357;
  border-radius: 0;
  bottom: 50px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 24px;
  height: 40px;
  line-height: 40px;
  right: 50px;
  text-align: center;
  width: 40px;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}

.shaded-5 {
  background-image: linear-gradient(rgba(40, 40, 40, 0.5), rgba(40, 40, 40, 0.5));
}


#calendar-section{
  background-color:white;
}

div.fc-content{
  font-size: 0.7em;
}

div.owl-item > div.item{
padding:3px;
}

/* carousel */
.carousel-item>img, .carousel-item>a>img {
  display: block;
  height: auto;
  max-width: 100%;
  line-height: 1;
  /* width: 100%;  */
}
.carousel-caption * {
  color: white;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 80px;
  width: 80px;
  outline: black;
  background-size: 100%, 100%;
  background-image: none;
}

.carousel-control-next-icon:after
{
  content: '>';
  font-size: 45px;
  color: #254167;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 45px;
  color: #254167;
}