/*
Theme Name: MBS
Author: Atanas
Description: CSS for outside of default theme.
Version: 1.0
*/

/*  Blog Page Start  */

.bg-shadow {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-read-more{
	color: #400406;
	font-weight: 600;
	text-decoration: none;
}

.new-blog-title{
	color: #400406;
	font-weight: 700;
	text-decoration: none;
	font-size: 1.2em;
}

 .custom-container {
     max-width: 1140px;
     padding-left: 25px;
     padding-right: 25px;
     margin-left: auto;
     margin-right: auto;
 }


.blog-list .hero-over .post {
    padding: 12rem 2rem 2rem 2rem;
    width: 100%;
    height: 100%;
    margin-bottom: 12px;
    vertical-align: middle;
    background-size: cover;
    background-position: center top;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.blog-list .hero-over .post.half {
    padding: 6rem 2rem 2rem 2rem;
    height: 49%;
}

.blog-list .hero-over .post:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1));
    z-index: 0;
}

.blog-list .hero-over .post > div {
    position: relative;
    z-index: 2;
}

.blog-list .hero-over .post h2 {
    font-weight: 700;
    font-size: 2em;
}
.color-2, .color-hv-2:hover {
    color: #E3655B !important;
}

.text-white {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;
	text-decoration: none;
}

.a-tag-blog {
	text-decoration: none;
	color: #E3655B;
}

.color-1, .color-hv-1:hover {
    font-size: 1.25rem;
	text-decoration: none;
	color: #E3655B;
	font-weight: bold;
}

.more-blog-title {
	color: #E3655B;
}

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

.past-blog-side-title {
	color: #ffffff;
}

@media only screen and (min-width: 992px) {
    body.blog .hero-over .post h2 {
        font-size: 2em;
        font-weight: 900;
    }
}

@media only screen and (min-width: 1400px) {

     html,
     body {
         font-size: 16px;
     }

     .custom-container,
     .container,
     .container-lg,
     .container-md,
     .container-sm,
     .container-xl,
     .container-xxl,
     .wppb-container,
     .wppb-builder-container#wppb-builder-container .wppb-row-parent > .wppb-container,
     .wppb-carousel-content-wrap .wppb-container,
     .wppb-row-parent > .wppb-container {
         max-width: 1320px !important;
     }

     .wppb-builder-container#wppb-builder-container .wppb-row-parent > .wppb-container.wppb-container-full,
     .wppb-carousel-content-wrap .wppb-container.wppb-container-full {
         max-width: none !important;
     }



 }

/*  ---Blog Page End---  */


/*  Home Page Start  */

.feature-box-border .wppb-column {
    border: white 3px solid;
    border-radius: 30px;
    padding: 30px;
}

.feature-box-border {
    padding-bottom: 40px;
}

.feature-box-background .wppb-column {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 30px;
}

.feature-box-background {
    padding-bottom: 40px;
}


/*  ---Home Page End---  */


/* Form Start */

.main-form {
	width: 100%;
    padding: 8px 12px;
    border-radius: 15px;
    border: 2px solid white;
    background: white;
	margin-bottom: 10px;
}

.main-form-button {
	background-color: #e66a5b;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 28px 30px 25px 30px;
    font-size: 1em;
    line-height: 0;
    text-transform: uppercase;
	max-width: 160px;
}


.main-form-button-tag p{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

/*  ---Form End---  */


/* Search Start */

.entry-title a {
	color: #400406;
	text-decoration: none;
}

.color-gray a {
	color: #fff;
	background: #E3655B !important;
	border-color: #E3655B;
}

/*  ---Search End---  */

/* Random Start */

.wppb-row-1734547837725 {
	position: static !important;
}

.no-padding-boxes .wppb-container .wppb-row .wppb-column-parent {
	padding-left: 10px !important;
    padding-right: 10px !important;
}

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


.form-message {
	height: 150px !important;
	margin-bottom: 15px;
}

#wpadminbar {
	height: 46px !important;
	background: #000000 !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color: #E66A5B !important;
    background-color: transparent !important;
}

.navbar-nav .menu-item .dropdown-menu {
	background-color: #400406 !important;
}

.bounce-hv {
    transition: all .3s;
    z-index: 100;
}

.bounce-hv:hover {
    transform: translatey(-20px);
}

.number-section-top .number-section {
	padding-left: 10px !important;
}
.icons-gray-box {
	width: 80px;
	margin-right: 20px;
}


.icon-text-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 5px;
}

.icon-container {
  flex-shrink: 0;
}

.text-container {
  flex: 1;
}

.text-gray-box {
	font-size: 1.2em;
    font-weight: 700;
}

/*  ---Random End---  */



/* Tablet or smaller */
@media (max-width: 992px) { 
.feature-box-background .wppb-column {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 10px;
}
	
	.feature-box-border .wppb-column {
		border: white 3px solid;
		border-radius: 30px;
		padding: 10px;
	}
	
	.wppb-row-parent .wppb-container .wppb-row .pr-10 {
		padding-right: 10px !important;
	}

	.wppb-row-parent .wppb-container .wppb-row .pl-10 {
		padding-left: 10px !important;
	}
	
	.wppb-row-1734547837725 {
    margin: 0px 0px 0px 0px !important;
}
	
	
}



/* mobile */
@media (max-width: 767px) { 
	.no-bubble-mobile {
		background-image: none !important;
	}
	.two-buttons .repeater-1 {
		padding-top: 10px;
	}
	
	.number-section-top .number-section {
		padding-left: 25px !important;
	}
	.number-section-top {
		background-color: transparent !important;
	}
	.white-on-mobile .wppb-column {
		background-color: #ffffff;
	}
}

.rainbow-overlay {
  position: relative;
  overflow: hidden;
}

.rainbow-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    #FF6767 4%,
    #FFBF62 20%,
    #FBF278 41%,
    #AAE98F 59%,
    #9BCCE8 76%,
    #B98CE2 95%
  );
  opacity: 0.5;
  pointer-events: none;
  z-index: 0; /* <-- Send to back */
}

/* Make sure all child content is above the overlay */
.rainbow-overlay * {
  position: relative;
  z-index: 1;
}

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


/*================================================================================*/
/* ===== Church Contact Form (Contact Form 7) ===== */
.church-form-wrap {
  max-width: 920px;
}

.church-form-row {
  display: flex;
  gap: 22px;
  margin-bottom: 2px;
}

.church-form-col {
  flex: 1;
}

/* Inputs */
.church-form-input,
.church-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  background: #d9d9d9;
  color: #333;
  border-radius: 3px;
  padding: 8px 14px;
  font-size: 14px;
  outline: none;

  /* subtle bottom shadow like your screenshot */
  box-shadow: 0 2px 0 rgba(0,0,0,0.15);
}

/* Textarea sizing */
.church-form-textarea {
  min-height: 60px;
  max-height: 130px;
  resize: vertical;
  padding-top: 16px;
}

/* Placeholder */
.church-form-input::placeholder,
.church-form-textarea::placeholder {
  color: rgba(0,0,0,0.45);
}

/* Actions */
.church-form-actions {
  margin-top: 6px;
}

.church-form-submit {
  border: 0;
  cursor: pointer;
  padding: 12px 34px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-radius: 4px;

  /* pink gradient button like screenshot */
  background: linear-gradient(315deg, #ff064d 0%, #a7126b 83%);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

.church-form-submit:hover {
  filter: brightness(0.97);
}

.church-form-submit:active {
  transform: translateY(1px);
}

/* Remove CF7 default spacing on validation tips if it pushes layout */
.church-form-wrap .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: 6px;
}

/* Mobile: stack columns */
@media (max-width: 650px) {
  .church-form-row {
    flex-direction: column;
    gap: 12px;
  }
}


/* Picture only slider */
.pic-only-slider .wppb-carousel-content-in {
	display: none;
}

.pic-only-slider .wppb-carousel-media-right {
	width: 100% !important;
}

.pic-only-slider .slick-dots {
    display: flex;
    justify-content: left;
    left: 36px;
}

/* Override for mobile screens */
@media (max-width: 768px) {
    .pic-only-slider .slick-dots {
        display: block;
		right: 0px;
    }
}

.pic-only-slider img {
    max-width: 100%;
}

.pic-only-slider .wppb-carousel-media-right {
    text-align: center;
}


.carousel-left .slick-dots li button {
	background: #fff !important;
	opacity: 1 !important;
}

.carousel-left .slick-dots .slick-active button {
	background-color: #BD0F64 !important;
}
/* ---- Picture only slider End ---- */
