/*
Theme Name: Template Theme
Author: Atanas
Description: A simple template theme
Version: 1.0
*/
                
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


.main-section .row {
  margin-right: 0px !important;
  margin-left: 0px !important;
}

.main-section .col-md-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}


body {
  margin: 0;
  font-family: "Raleway", sans-serif !important;                                
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  color: #333;
  background-color: #EDEBE3 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-family: "Raleway", sans-serif !important;  
}

h1, h2, h3, h4, h5 {
  font-family: "Raleway", sans-serif !important;
  font-weight: bold !important; 
  font-style: normal;
}

a, .btn, button {
  font-style: normal;
  text-decoration: none; 
}

.z-index-m1 {
  z-index: -1 !important;
}

.z-index-1 {
  z-index: 1 !important;
}

.z-index-100 {
  z-index: 100 !important;
}

.wppb-builder-container .wppb-column-parent-view {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

.neg-scale-8 {
    transition: all .3s !important;
}

.neg-scale-8:hover {
    transform: scale(.8) !important;
}

.mbs-popup{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.75);
  display: none;
}
.mbs-popup table{
  width: 100%;
  height: 100%;
}
.mbs-popup td{
  vertical-align: middle;
  text-align: center;
}
.yt-video-box, .img-pop{
  display: none;
  position: relative;
  width: min(900px, 92vw);
  margin: 0 auto;
}
.yt-iframe-wrap{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.yt-iframe-wrap iframe{
  width: 100%;
  height: 100%;
  display: block;
}
.mbs-popup-close{
  position: absolute;
  top: -44px;
  right: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}
.img-pop img{
  max-width: 92vw;
  max-height: 85vh;
  display: block;
  margin: 0 auto;
}


/* ------------------------------------------------------------------------------------------------------------------- */

/* header */

.btn-apply {
	border: 3px solid #C70E60 !important;
	color: #C70E60 !important;
	font-weight: bold !important;
}

.main_menu .navbar-brand img {
  max-width: 300px !important;
}
.main_menu .header_social_icon ul {
  list-style-type: none;
}
.menu-item {
  padding: 5px 15px;
}
.menu-item a {
  color: #ffffff;
  text-decoration: none;
}
.main_menu .row {
  margin: 0 !important;
  margin-right: 0 !important;
}

.navbar-nav li:hover > .dropdown-menu {
  display: block;
}


.menu-main .nav-item {
  position: relative;
  z-index: 10;
}


.navbar-nav .dropdown-menu {
  margin-top: 0;
  z-index: 0;
}

.relative-hdr{
  position: absolute;
  width: 100%;
  z-index: 100;
}

.red-bg {
  background-color:#400406;
}

.red-dark {
  background-color:#400406;
}

.header-custom {
  margin-top: auto !important;
  margin-bottom: auto;
}

.header-button button {
  background-color: #e66a5b;
  color: white;
  border: none;
  border-radius: 8px;
    padding: 10px 20px 10px 20px;
  text-transform: uppercase;
}

.header-button button:hover {
  background-color: #c45a4f;
  color: white;
  border: none;
  border-radius: 8px;
    padding: 13px 20px 10px 20px;
  text-transform: uppercase;
}


.m-header-searcbar {
  flex-grow: 1; /* Let the search bar take extra space */
  display: flex;
  justify-content: center; /* Center align the search bar */
}

.m-header-searcbar form {
  display: flex;
  align-items: center;
  max-width: 300px; /* Limit search bar width */
  width: 100%;
}

.m-header-searcbar input[type="search"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #fff;
  border-radius: 50px; /* Rounded edges */
  background-color: transparent;
  color: #fff;
}

.m-header-searcbar input::placeholder {
  color: #ddd;
}

.m-header-searcbar button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  margin-left: -40px;
  cursor: pointer;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23012060' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


.navbar-toggler {
  border-color: #012060 !important;
  background-color: transparent; 
	border-width: 2px !important;
}

.navbar-nav .nav-link {
  color: #1C2126; /* Initial color (replace #000 with your desired default color) */
  transition: color 0.3s ease; /* Optional: Smooth transition effect */
}

.navbar-nav .nav-link:hover {
  color: #E66A5B !important; /* Hover color */
}

.header-button button:active {
	background-color: #e66a5b !important;
}

.s_act {
	background-color: #ffffff;
}

.relative-hdr {
    position: fixed;
    width: 100%;
    z-index: 100;
}


/* ------------------------------------------------------------------------------------------------------------------- */

/* Footer */

.church-custom-footer {
    background: #f4faf4; /* light green from screenshot */
}

.church-custom-footer .footer-tagline {
    font-size: 14px;
    color: #333;
    letter-spacing: 0.3px;
}

.church-custom-footer .footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* allow wrapping on small screens */
}

.church-custom-footer .footer-links-label {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.church-custom-footer .footer-menu {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    list-style: none;
}

.church-custom-footer .footer-menu a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.church-custom-footer .footer-menu a:hover {
    text-decoration: underline;
}

 .footer-logo {
    max-width: 340px;
  }

/* MOBILE: stack label above links & tighten spacing */
@media (max-width: 575.98px) {
    .church-custom-footer .footer-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .church-custom-footer .footer-menu {
        gap: 12px;
        flex-wrap: wrap;
    }
	
	 .footer-logo {
    	max-width: 250px;
  	}
}



/* ------------------------------------------------------------------------------------------------------------------- */

/* Mobile styles (767px and under) */
@media only screen and (max-width: 767px) {
  /* Header */
  .main_menu .container {
    padding: 0;
  }

  .main_menu .navbar-brand img {
    max-width: 250px !important; /* Adjust the maximum width of your logo */
  }

  .main_menu .navbar-collapse {
    margin-top: 20px; /* Adjust the top margin as needed */
  }

  .main_menu .header_social_icon {
    margin-top: 20px; /* Adjust the top margin as needed */
  }

  .main_menu .header_social_icon ul {
    padding: 0;
    text-align: center;
  }

  .main_menu .header_social_icon li {
    display: inline-block;
    margin: 0 10px; /* Adjust the horizontal margin as needed */
  }

  .relative-hdr {
    position: relative;
    background-color: #ffffff;
}

  /* ---------- End of Header ---------- */


}

/* ------------------------------------------------------------------------------------------------------------------- */

/* Tablet Styles */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .main_menu .navbar-brand img {
    max-width: 200px; /* Adjust the maximum width of your logo */
  }

  .relative-hdr {
    position: relative;
    background-color: #ffffff;
}
}

/* ------------------------------------------------------------------------------------------------------------------- */

/* Desktop Styles */
@media only screen and (min-width: 992px) {
  .main_menu .navbar-brand img {
    max-width: 250px; /* Adjust the maximum width of your logo */
  }

  .main_menu .header_social_icon ul {
    padding: 0;
    text-align: right;
  }

  .main_menu .header_social_icon li {
    display: inline-block;
    margin-left: 10px; /* Adjust the horizontal margin as needed */
  }
}

/* ------------------------------------------------------------------------------------------------------------------- */

/* Larger than or equal to 992px */
@media only screen and (min-width: 992px) {
  .main_menu .navbar-brand img {
    max-width: 400px !important;
  }

}

/* ------------------------------------------------------------------------------------------------------------------- */

/* Tablet or smaller */
@media (max-width: 992px) {
	.m-space-footer {
		margin-top: 15px;
	}

}


/* Tablet Styles */
@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .main_menu .navbar-brand img {
    max-width: 300px !important;
  }
}

/* Tablet Styles */
@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .main_menu .navbar-brand img {
    max-width: 190px !important;
  }
}