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

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


/* Random Start */

.show-more-button {
	border: none;
    background: #151515 !important;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: .8em;
    font-weight: 700;
	border-radius: 50px !important;
	padding: 12px 22px;
}


.min-hw {
	min-height: 200px !important;
}

/* Ensure nav link is positioned relative */
.nav-item > a {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* Base ::before line setup — invisible by default */
.nav-item > a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%; /* center point */
    transform: translateX(-50%); /* perfectly center the line */
    height: 3px; /* underline thickness */
    width: 0; /* hidden by default */
    background-color: #F0743E; /* underline color */
    border-radius: 6px;
    transition: width 0.3s ease;
}

/* Animate underline on hover (shorter width, e.g., 40%) */
.nav-item > a:hover::before {
    width: 75%;
}

/* Always show underline on current page (shorter width, e.g., 40%) */
.current-menu-item > a::before,
.current_page_item > a::before {
    width: 75%;
}



.wppb-addon-1746124872295 { 
  background-color: #ffffff !important;
}


.passaic-links-container {
  border-radius: 30px 30px 0px 0px;
  background-color: #ffffff;
  padding: 30px 30px 0px 30px;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.passaic-links-item {
  border-bottom: 1px solid #000000;
  padding: 15px 0;
  overflow: hidden; /* change from auto to hidden */
}

.passaic-links-link {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* allow top alignment if text wraps */
  width: 100%;
  text-decoration: none;
  font-weight: 700;
}

.passaic-links-link span:first-child {
  flex: 1;
  white-space: normal;
  word-break: break-word;
}

.passaic-links-arrow {
  margin-left: 10px;
  margin-right: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: right;
}


.mb-0 p {
	margin-bottom: 0px !important;
}

.dropdown-item:active {
    background-color: transparent !important;
}

/* Bootstrap-compatible dropdown styles */
.navbar-nav .dropdown-menu.show {
    display: block;
    top: 100%;
    margin-top: 0;
    z-index: 1000;
}

@media (min-width: 768px) {
  /* Buffer zone: helps mouse transition between link and submenu */
  .navbar-nav .dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 60px;
    background: transparent;
    pointer-events: auto;
    z-index: 1;
  }
}

.wppb-raw-html-content .mc-main .mc_general .event-title button:hover {
	background: #5954C9 !important;
}

.wppb-raw-html-content .mc-main .mc_general .event-title button {
    background: #68B5D1 !important;
}

.contact-nav-button{
    background-color: #FDFBEB;
    border-radius: 40px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1200px !important;
    }
}

body {
  background-image: url('../images/PassaicFamilyHeadstart%20(1).jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll; /* ensures it scrolls with the page */
  background-position: top center;
  background-color: #f8f4f9;
  overflow-x: hidden;
}

@media (min-width: 2561px) {
  body {
    background-size: cover;
    background-position: center top;
  }
}

.icon-circle {
  background-color: black;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-circle i {
  color: #91bfff; /* light blue */
  font-size: 1.5em;
}

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

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

#wpadminbar {
	height: 46px !important;
}

.main-section .row .col-md-12 #my_calendar_97 {
	display: none !important;
}

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

/*  Carousel Start  */

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

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

.bg-gray-1 .wppb-carousel-media-right {
	background-color: #212121;
}

.bg-gray-1 .slick-slide-item .wppb-carousel-content-wrap {
    background-color: #212121 !important;
}

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

.wppb-addon-1716559096945 .wppb-carousel .slick-dots {
    bottom: -25px !important;
}

.wppb-addon-1717423534394 .wppb-carousel .slick-dots {
  bottom: -25px !important;
}

.wppb-addon-1717597473039 .wppb-carousel .slick-dots {
  bottom: -25px !important;
}

.wppb-addon-1717423917346 .wppb-carousel .slick-dots {
  bottom: -25px !important;
}

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

/*  ---Carousel End---  */

.no-border .wppb-column{
	border-width: 0px 0px 0px 0px !important;
}

.hdr-bar .wppb-addon-title:after {
    content: "";
    border: #F0743E solid 2px;
    display: block;
    width: 100px;
    margin-top: 25px;
	margin-bottom: 25px;
    border-radius: 5px;
    height: 1px;
}
.hdr-bar.center .wppb-addon-title:after {
    margin-left: auto;
    margin-right: auto;
}



/*  Main Form Start  */
.main-form-passaic .contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.main-form-passaic p {
	margin-bottom: 0px !important;
}

.main-form-passaic .form-col input {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #ffd6bc;
  font-size: 16px;
  color: #333;
}

.main-form-passaic .form-full textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background-color: #ffd6bc;
  font-size: 16px;
  color: #333;
  height: 120px;
  resize: vertical;
}


.main-form-passaic .form-full {
  grid-column: span 2;
}

.main-form-passaic input::placeholder,
.main-form-passaic textarea::placeholder {
  color: #888;
}

.main-form-passaic .submit-wrapper {
  margin-top: 20px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.main-form-passaic input.wpcf7-submit {
  background-color: #111;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 999px;
	font-size: .8em;
  cursor: pointer;
}

.main-form-passaic input.wpcf7-submit:hover {
  opacity: 0.85;
}

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

/* Map Start */
.map-image-container {
    position: relative;
}

.map-image-container .popup {
    display: none;
    position: absolute;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    z-index: 2;
    max-width: 300px;
    font-size: .8em;
}

.map-image-container .popup:after {
    content: " ";
    position: absolute;
    left: -15px;
    top: 80px;
    border-top: 15px solid transparent;
    border-right: 15px solid #ffffff;
    border-left: none;
    border-bottom: 15px solid transparent;
}

.map-image-container #popup1 {
    top: 30%;
    left: 47%;
}

.map-image-container #popup2 {
    top: 58%;
    left: 51.5%;
}

.map-image-container area {
    outline: none;
}

.map-image-container area:hover {
    border: 1px dashed white;
}
/* Map End */


@media screen and (max-width: 767px) {
  .main-form-passaic .form-col input {
    font-size: 12px;
  }
	
	.main-form-passaic .form-full textarea {
	  font-size: 12px;
	}
	
	.passaic-links-arrow {
	  float: none !important;
	}

}


.details .sharing {
    display: none !important;
}

.address .map {
	display: none !important;
}

.sub-address .mc-events-link {
	display: none !important;
}

/* Hide the abbreviated day labels (Mon, Tue, ..., Sun) */
.mc-row .day-heading abbr,
.mc-row .weekend-heading abbr {
    display: none !important;
}

/* Show the full day names (Monday, Tuesday, ..., Sunday) */
.mc-row .day-heading .screen-reader-text,
.mc-row .weekend-heading .screen-reader-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: nowrap; /* optional, keeps names on one line */
}
