:root{
    --black: #575555;
    --nav-bg: #e2dcdc;
    --main-bg:#f9f9f9;
    --nav-hover: #2426c0;
    --nav-border: #2a2dc5;
    --white: #fff;
    --login:#0a9605;
    --empty:#5afd90;
    --logout:#ec260c;
    --table-head:#b41e04;
    --guest-login:#ffd207;
    --border:.2rem solid #ccc;
    --box-shadow:0 .5rem 1rem #5a56561a;
    --topbar-border: 0 7px 25px #16161657;
}

*{
  scroll-behavior: smooth;
}

::-webkit-scrollbar{
  width: 5px;
}
::-webkit-scrollbar-thumb{
  background: linear-gradient(transparent, var(--white), transparent);
}

@-webkit-keyframes shake{
    from{
        -webkit-transform: rotate(15deg);
    }
    to{
        -webkit-transform: rotate(-15deg);
        -webkit-transform-origin: center
        center;
    }
}
a{
  text-decoration: none;
}
.a{
  font-size: 18px;
  color: var(--black);
}
.empty{
  width: 100%;
  padding: 15px;
  background: var(--empty);
  color: black;
}

.about_container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}
.about_box{
  border-radius: 10px;

  width: 550px;
  height: 400px;

  padding: 0 15px;
  margin: 10px 15px;
  background: var(--white);
  box-shadow: var(--box-shadow);
  
  overflow-x: scroll;
  transition: .6s;
}
.about_box p{
  font-size: 16px;
  line-height: 25px;

  padding: 0 10px;
}
.about_box:hover{
  color: var(--white);
  background: var(--table-head);

  transition: .6s;
}
.about_box:hover h3{
  color: var(--nav-bg);
}
.about_box:hover h2{
  color: var(--guest-login);
}
.about_box h2{
  font-size: 18px;
  line-height: 25px;

  color: var(--table-head);
}

/* Scroll to top start */
#myBtn {
  display: none;
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  left: 50%; /* Place the button 30px from the right */
  z-index: 1000; /* Make sure it does not overlap */
  border: 2px solid var(--nav-border); 
  outline: none; /* Remove outline */
  background-color: var(--logout); /* Set a background color */
  
  border-radius: 50%; /* Rounded corners */
  
}
#myBtn ion-icon{
  color: white;
  font-size: 20px;
  font-weight: 600;
  padding: 8px; 
  cursor: pointer;
}
/* #myBtn ion-icon{
  color: white;
} */


#myBtn:hover {
  background-color: var(--black); /* Add a dark-grey background on hover */
}
/* Scroll to top end */

/* Main right side */
.right_Side{
    width: 15%;
    height: 550px;
    background: #fff;
    position: fixed;
    top: 60px;
    right: 0;
    padding-right: 2%;
    padding-top: 80px;
    overflow-y: scroll;
}
 .right_Side .comment_title{
    font-size: 13px;
    margin: 5px 0;
    padding-bottom: 15px;
    color: #5a5a5a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.right_Side .hr{
    height: 1.3px;
    width: 87%;
    background: #cde;
    border: 0;
}

.comment_content{
  margin-bottom: 13px;
  width: 100%;
  padding-left: 5px;
}

.comment_content .txt_comment{
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--nav-hover);
}
.comment_content .name{
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--black);
}
.comment_content .date{
  font-size: 12px;
  color: var(--logout);
}


.responsive_comments{
  display: none;
}


.subscriprion_list h3{
    font-size: 13px;
    margin: 20px 0;
    color: #5a5a5a;
}
.subscriprion_list a{
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
    align-items: center;
    margin-bottom: 18px;
    font-size: 13px;
}
.subscriprion_list a img{
    width: 25px;
    border-radius: 50%;
    margin-right: 20px;
}


/* Main left side starts */
.main_container{
    /* border: 2px solid red; */
    background: var(--main-bg);
    margin-top: 130px;
    padding: 20px 17% 2% 20px;

}


/* Slideshow container */
.slideshow-container {
	max-width: 98%;
	/* height: 400px; */
  height: 90vh;
	margin: auto;
  }
  
  /* Hide the images by default */
  .slideshow-container .mySlides {
	display: none;
  /* height: 400px; */
  height: 100%;
  }
  .slideshow-container .mySlides img{
	height: 100%;
  }

   /* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 10px;
	width: 10px;
	margin: 0 2px;
	background-color: var(--nav-bg);
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
  }
  
  .doted_active, .dot:hover {
	background-color: var(--login);
  }

  /* Motivational container starts*/
  .motivational_words_container{
    padding: 10px 5px;
    width: 100%;
    margin: 15px 0;
   
    box-shadow: var(--topbar-border);
    /* border: var(--border); */
  }
  .motivational_words_container h5{
    font-size: 25px;
    color: var(--nav-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }

  /* box */
  .motive_words_box{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    
  }

  .motive_words{
      box-shadow: var(--box-shadow);
      height: 150px;
      width: 330px;
      text-align: justify;
      overflow-y: scroll;

  }
  .motive_words:hover{
      border: var(--border);
      cursor: pointer;
      border-radius: 10px;
  }

  .motive_words h4{
    font-size: 21px;
    font-weight: 500;
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .motive_words p{
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 24px;
    color: var(--black2);
    display: flex;
    align-items: center;
    justify-content: justify;
    text-align: left;
    padding: 0 10px;
    transition: 1s;
  }
  .motive_words p:hover{
      color: var(--nav-hover);
      transition: 1s;
  }


  /* Banner Post start */
  .upcoming_event{
    height: 100%;
    width: 100% auto;

  }

  .upcoming_event h5{
    width: 100%;
    font-size: 23px;
    color: var(--white);
    padding: 15px;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-border);
  }
  .upcoming_event .event_wrapper{
    width: 100%;
    height: 245px;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    background: var(--white);
    overflow: hidden;
    /* border: 2px solid blue; */
  }
  .event_post{
    position: relative;
    width: 348px;
	  height: 100%;
	  margin: 0px 5px;
    /* border: 2px solid greenyellow; */
  }
  .event_post img{
    display: block;
    width: 100%;
    /* height: auto; */
    height: 100%;
  }

  .overlay_event_detail{
    position: absolute;
    top: 245px;
    background: var(--nav-hover);
    opacity: .9;
    overflow: hidden;
    width: 100%;
    height:100%;
    transition: .5s ease;
  }

  .event_post:hover .overlay_event_detail {
    top: 0;
    transition: .5s ease;
  }
  
  .event_text {
    color: white;
    font-size: 14px;
    text-align: justify;
    padding: 10px 5px 3px 5px;
  }


  .event-slideshow-container {
    display: none;
  }

  /* Event Post end */

  /* Sermon start */
  .sample_sermons{
    height: auto;
 }
  .sample_sermons .title{
    font-size: 24px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 15px;
    /* color: var(--white); */
 }
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px; 
    justify-content: center;
    align-items: center;

 }

 .sample_sermons .box_container .sermon_box{
    width: 230px;
    height: 300px;
    position: relative;
    margin: 15px 0;
    padding: 0 0;
    text-align: center;
    background-color: var(--white);
    transition: .6s;
    overflow: hidden;
    box-shadow: var(--topbar-border);

  }
 
 .sample_sermons .box_container .sermon_box:hover{
    margin-top: -15px;
    transition: .5s;
  }
 

 .sample_sermons .box_container .sermon_content{
    width: 100%;
    height: 100%;
    padding: 5px;
    background: var(--nav-bg);  
    border-bottom-left-radius: 10px;  
    border-bottom-right-radius: 10px;  
  }

 .sample_sermons .box_container .sermon_content .sermon_topic_box{
    display: flex; 
    align-items: left;
    justify-content: left;
  }

 .sample_sermons .box_container .sermon_content .sermon_topic_box img{
    width: 40px;
    height: 40px;
    margin-right: 3px;
    border-radius: 50%;
  }

 .sample_sermons .box_container .sermon_content .sermon_topic_box h3{
    color: var(--black);  
    font-size: 15px; 
    margin: 5px 0;
    text-transform: capitalize;
  }

 .sample_sermons .box_container .sermon_content .date{
    color: var(--logout);  
    font-size: 14px; 
    margin: 5px 0;
  }


  /* Sermon end */


  /* Motivational container ends */



  /* customer service start */
  .whatsApp_help{
    height: 40px;
    width: 40px;
    
    display: flex;
    align-items: center;
    justify-content: center;

    position: fixed;
    right: 17px;
    bottom: 55px;
    border-radius: 50%;
    background: var(--login);

  }

  .whatsApp_help h6{
    position: relative;

    font-size: 12px;
    color: var(--login);
    bottom: 32px;
    left: 16px;
    float: left;
  }

  .whatsApp_help ion-icon{
    font-size: 28px;
    color: var(--white);
    
    -webkit-animation: shake .4s ease-in-out 
        .5s infinite alternate;
  }

  /* customer service end */

  /* Telegrame group start */
    .Telegram_help{
      width: 40px;
      height: 40px;
      background: #2f86f8;
      border-radius: 50%;

      display: flex;
      align-items: center;
      justify-content: center;

      position: fixed;
      right: 17px;
      bottom: 100px;

      
    }
    .Telegram_help ion-icon{
      font-size: 23px;
      color: var(--white);
      margin-left: -4px;

      display: flex;
      align-items: center;
      justify-content: center;
      
    -webkit-animation: shake .7s ease-in-out 
    .6s infinite alternate;
    }
  /* Telegrame group end */

/* About us page styling start */
.locationTittle{
  font-size: 25px;
  color: var(--black);
  letter-spacing: 3px;
}

.locationTittle span{
  font-size: 25px;
  color: var(--nav-hover);
  /* letter-spacing: 3; */
}

.mapLocation{
  width: 100%;
  height: 80vh;

}


  /* Schedule page */
  .schedule{
    position: relative;
    top: 50px;
    background: #fff;
    height: auto;
    width: 100%;
    padding-bottom: 30px;
}
.schedule h3{
    font-size: 30px;
    color: var(--table-head);
    text-align: center;
    padding: 15px;
}
.schedule table{
    width: 100%;
    padding: 20px;
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #ddd;

}
tr:nth-child(even){
  background-color: #ffdfdf
}
 table thead{
     background: var(--table-head);
 }
 table th{
     background: var(--table-head);
     color: var(--white);
 }
 table thead th{
  padding: 15px;
  color: #fff;
  }
 table tbody td{
  padding: 15px;
  }
/* //Schedule page */

/* About us page styling end */


/* Main left side ends */

/* Footer start */
.footer{
  width: 100%;
  background: linear-gradient(var(--white) , var(--nav-bg));
  box-shadow: var(--box-shadow);
}

.footer .box-container{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap:10px;
  align-items: flex-start;
  /* margin-left: 10px; */
  justify-content: space-around;
}

.footer .box-container .box h3{
  text-transform: uppercase;
  color:var(--black);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer .box-container .box a,
.footer .box-container .box p{
  display: block;
  padding:9px 0;
  font-size: 15px;
  color:var(--nav-hover);
  transition: .6s;
}

.footer .box-container .box a ion-icon,
.footer .box-container .box p ion-icon{
  color:var(--nav-hover);
  padding-right: 5px;
  font-size: 23px;
}

.footer .box-container .box a:hover,
.footer .box-container .box p:hover{
  text-decoration: underline;
  color:var(--logout);
  margin-left: 15px;
  transition: .6s;
}

.footer .credit{
  margin-top: 20px;
  padding: 13px 15px;
  padding-bottom: 2.5rem;
  line-height: 1.5;
  border-top: var(--border);
  text-align: center;
  font-size: 16px;
  color:var(--black);
}

.footer .credit span{
  color:var(--login);
  letter-spacing: 5px;
}

.footer form{
  width: 100%;
  background: var(--nav-bg);
  border-radius: 10px;
  margin-left: 5px;
}

.footer form input,
.footer form textarea{
  width: 100%;
  background:transparent;
  margin-bottom: 12px;
  padding-left: 6px;
  height: 40px;
  border: 1px solid #ccc;
  font-size: 15px;
}
.footer form input:focus,
.footer form textarea:focus{
  color: var(--nav-hover);
  font-size: 17px;
}

.footer form input:nth-child(1){
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.footer form textarea{
  resize: vertical;
  height: 100px;
}

.footer form .btn_post_comment{
  background: var(--nav-hover);
  font-size: 20px;
  color: var(--white);
  margin-bottom: 0;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  transition: .6s;
}

.footer form .btn_post_comment:hover{
  background: var(--logout);
  transition: .6s;
}


/* Footer end */




/* Responsiveness */

@media (max-width: 1159px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 240px;
  }

 }


@media (max-width: 1085px)
 {
  .right_Side{    
      width: 100%;
      height: 100%;
      background: linear-gradient(var(--nav-bg), var(--white));
      position: relative;
      top: 4px;
      padding-top: 5px;
  }

.right_Side .comments{
  display: none;
}

.right_Side .responsive_comments{
  display: block;
  width: 100%;
  padding-left: 10x;
  background: transparent;
}

.right_Side .marquee{
  height: 150px;
  width: 100%;
  border: none;
  border-radius: 0;
}

.comment_content{
  margin-bottom: 14px;
  width: 100%;
  padding-left: 10px;
}
.comment_content .txt_comment{
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--nav-hover);
}
.comment_content .name{
  font-size: 14px;
  letter-spacing: 3.5px;
  color: var(--black);
}
.comment_content .date{
  font-size: 12px;
  color: var(--logout);
}

.main_container{
    padding: 5px 0 2% 20px;
}

.slideshow-container {
	max-width: 98%;
	height: 350px;
	margin: 0 2px 20px 0;
  }
  .slideshow-container .mySlides {
    height: 350px;
    }

    .slideshow-container .mySlides img{
    height: 100%;
    }

  .dot {
    margin: 15px 2px;
    }

    .motivational_words_container{
      padding: 15px 0;
      width: 98%;
      margin: 8px 0;
      box-shadow: var(--topbar-border);
    }

    .motive_words_box{
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 100%;
    }

    .motive_words{
      width: 300px;
  }

  .upcoming_event{
        height: 320px;
        width: 98%;
      }

      .sample_sermons{
        width: 98%;
      }

 }


@media (max-width: 1059px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 230px;
  }

 }

@media (max-width: 981px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 250px;
  }
  

 }


@media (max-width: 911px)
 {    
.footer .box-container{
  width: 100%;
  margin-right: 5px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:15px;
  align-items: flex-start;
  justify-content: space-around;
  padding: 20px 5px 0px 5px;

}


 }

@media (max-width: 799px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 220px;
  }

  /* About Us on Phones */
  .about_container{
    width: 100vw;
    /* display: block; */
    flex-direction: column;
    margin-top: 20px;
  }
  .about_box{border-radius: 10px;
    width: 100%;
    height: 300px;
  
    padding: 0 8px;
    
    overflow-x: scroll;
    transition: .6s;
  }
 }

@media (max-width: 711px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 270px;
  }

  /* Events Slides */
  .upcoming_event .event_wrapper{
    display: none;
  }
  .slide_overlay_event_detail{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--nav-hover);
    opacity: .9;
    overflow: hidden;
    width: 0;
    height:100%;
    transition: .5s ease;
  }

  .event-mySlide:hover .slide_overlay_event_detail {
    bottom: 0;
    width: 100%;
  }
  
  .slide_event_text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: justify;
  }

  .event-mySlides{
    position: relative;
    width: 100%;
	  height: 100%;
  }

  .event-mySlides img{
    display: block;
    width: 100%;
    /* height: auto; */
    height: 100%;
  }
  
  .event-slideshow-container {
    max-width: 100%;
    height: 245px;
    position: relative;
    margin: auto;
    display: block;
  }

  .event-mySlides {
    display: none;
  }
  
  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--white);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: var(--black);
  }


/* The dots/bullets/indicators */
.event_dot {
  cursor: pointer;
  height: 7px;
  width: 7px;
  margin: 0 2px;
  background-color: var(--black);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

/* .activeDot, .event_dot:hover {
  background-color: var(--login);
} */
.event_dot:hover {
  background-color: var(--login);
}


/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

 }


@media (max-width: 675px)
 {
   .main_container{
    padding: 5px 10px 2% 10px;
}

.slideshow-container {
	max-width: 100%;
	height: 250px;
	margin: 0 0 30px 0;
  }

  .slideshow-container .mySlides {
    height: 250px;
    }

  .dot {
    margin: 15px 2px;
    }

   .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 270px;

  }
  

  .mapLocation{
    height: 60vh;
  
  }
  
 }


@media (max-width: 577px)
 {

  .motive_words_box{
    display: block;
    overflow-y: scroll;
    height: 200px;
  }

  .motive_words{
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin-top: 15px;
}
  
.slideshow-container {
	max-width: 100%;
	height: 200px;
	margin: 0 0 10px 0;
  }
  .slideshow-container .mySlides {
    height: 200px;
    }
  .slideshow-container .mySlides h3{
    font-size: 15px;
    }


  .dot {
    margin: 35px 2px;
    }

    .sample_sermons .box_container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 8px; 
   }
  .sample_sermons .box_container .sermon_box{
      width: 250px;
  
    }

    .footer form{
      background: var(--white);
 }

}

@media (max-width: 537px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 230px;

  }

 }


@media (max-width: 527px)
 {
  
.slideshow-container {
	max-width: 100%;
	height: 200px;
	margin: 0 0 10px 0;
  }
  .slideshow-container .mySlides {
    height: 200px;
    }
  .slideshow-container .mySlides h3{
    font-size: 15px;
    }


  .dot {
    margin: 35px 2px;
    }

    .sample_sermons .box_container{
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
      gap: 8px; 
   }
  .sample_sermons .box_container .sermon_box{
      width: 210px;
  
    }

  
.mapLocation{
  height: 50vh;

}

 }

@media (max-width: 495px)
 {
  .sample_sermons .box_container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    gap: 8px; 
 }
.sample_sermons .box_container .sermon_box{
    width: 100%;

  }

    
.right_Side .responsive_comments{
  display: block;
  width: 100%;
  padding-left: 15px;
  background: transparent;

}
.right_Side .marquee{
  height: 150px;
  width: 100%;
  border-radius: 0;
}


 }
