#main-slider .black-overlay {
    opacity: 0;
}

.modern-design .site-logo img {
    max-height: 105px;
}

.site-header .site-title {
    font-size: 25px;
}

.main-slider-contents .title a {
    color: #FCF55F;
}

@media screen and (min-width: 993px) and (max-width: 1111px) {
    .slick-slider {
        margin-top: 222px;
        margin-bottom: 9em;
    }
}

@media screen and (min-width: 1112px) {
    .slick-slider {
        margin-top: 184px;
        margin-bottom: 7.82em;
    }
}

@media only screen and (max-width: 768px) {
    .modern-design #info-text {
        margin-top: 0px !important;
    }
}

/* Yellow background */
body {
    background-color: #FFF69A;
}


/* Dark teal background on all pages */
.blog-post-wrap,
.blog-post-wrap .entry-content {
    background-color: #167D87 !important;
}


/* Match yellow background sections */
body.home .site-content,
body.home #content,
body.home #page,
body.home .site {
    background-color: #FFF69A !important;
}
 

/* Match the bottom yellow to the top yellow */
body.home .cloud-background.page-section {
    background: #FEF79F !important;
}


/* Northwest Montessori - Desktop Header */
@media screen and (min-width: 1024px) {

  /* Center logo and school name */
  .site-branding {
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* Move navigation below logo */
  #site-navigation {
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 15px auto 0 !important;
  }

  /* Display all five links horizontally */
  #site-navigation #primary-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px !important;
    width: 100% !important;
  }

  /* Prevent individual links from wrapping */
  #site-navigation #primary-menu > li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  /* Keep dropdown menus positioned correctly */
  #site-navigation #primary-menu > li {
    position: relative;
  }

}



/* Make room for navigation below logo */
@media screen and (min-width: 1024px) {
  #site-navigation {
    transform: translateY(225px) !important;
  }

  #masthead {
    padding-bottom: 55px !important;
  }
}


/* Remove green lines under logo */
@media screen and (min-width: 1024px) {
  #masthead .site-title,
  #masthead .site-description {
    display: none !important;
  }

  #masthead .site-branding::before,
  #masthead .site-branding::after,
  #masthead .site-logo::before,
  #masthead .site-logo::after {
    content: none !important;
    display: none !important;
  }
}


/* Make desktop logo bigger */
@media screen and (min-width: 1024px) {
  #masthead .site-logo img,
  #masthead .custom-logo-link img,
  #masthead .site-branding img {
    width: 320px !important;
    max-width: 320px !important;
    max-height: none !important;
    height: auto !important;
  }
}


/* Desktop: move menu above the logo */
@media screen and (min-width: 1024px) {

  #masthead {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  #site-navigation {
    order: -1 !important;
    position: relative !important;
    transform: none !important;
    margin: 0 auto 30px !important;
    width: 100% !important;
  }

  #masthead .site-branding {
    order: 1 !important;
    position: relative !important;
    top: 0 !important;
margin: -40px auto 0 !important;
    text-align: center !important;
  }

}


/* Reduce empty space below desktop logo */
@media screen and (min-width: 1024px) {
  #masthead {
    padding-bottom: 0 !important;
  }

  #masthead .site-branding {
    margin-bottom: 0 !important;
  }
}


/* Hide homepage title link above carousel */
body.home .entry-header .entry-title,
body.home .entry-title a {
    display: none !important;
}


/* Disable homepage slideshow banner links */
body.home #main-slider .slick-slide a {
    pointer-events: none !important;
    cursor: default !important;
}

/* NORTHWEST MONTESSORI CONTACT FORM */

/* Name, Email, and Message fields */
.contact-form .grunion-field {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px !important;
    background: #ffffff !important;
    border: 1px solid #cbdedc !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    margin-top: 6px !important;
}

/* Consistent spacing */
.contact-form .grunion-field-wrap {
    margin-bottom: 20px !important;
}

/* Message box */
.contact-form textarea.grunion-field {
    min-height: 160px !important;
    resize: vertical;
}

/* Form labels */
.contact-form label {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
}

/* Green Submit button */
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    display: inline-block !important;
    width: auto !important;
    background: #72a83b !important;
    color: #ffffff !important;
    padding: 14px 40px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

/* Submit button hover */
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    background: #58892d !important;
}

/* Fix Message label appearing as a white bar */
.contact-form .grunion-field-wrap label {
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
    display: block !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

/* Hide required text on Jetpack contact form */
.contact-form .grunion-label-text .required,
.contact-form .grunion-field-label .required,
.contact-form .required-text {
    display: none !important;
}

/* Hide (required) text but keep fields mandatory */
.contact-form .grunion-label-required {
    display: none !important;
}

/* Space between Contact Us logo and address */
@media screen and (max-width: 1024px) {
    body.page .entry-content img.wp-post-image,
    body.page img.wp-post-image[src*="cropped-Capture"] {
        margin-bottom: 40px !important;
    }
}



/* NWM Schedule a Tour Section */

/* Match the pale yellow homepage background */
.home #info-text {
    background: #FFF69A !important;
    background-image: none !important;
}

.home #info-text .container,
.home #info-text .entry-content {
    background: #FFF69A !important;
    background-image: none !important;
    box-shadow: none !important;
}


/* Teal heading */
.home #info-text h5 {
    color: #207f89 !important;
    font-size: 26px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* Teal button */
.home #info-text .btn.btn-default {
    background: #207f89 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 30px !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* Button hover */
.home #info-text .btn.btn-default:hover {
    background: #17636b !important;
    color: #ffffff !important;
}


/* Widen homepage sidebar */
@media screen and (min-width: 993px) {
    .home #secondary {
        width: 32% !important;
    }

    .home #primary {
        width: 66% !important;
    }
}


/* Keep homepage title on one line */
@media screen and (min-width: 993px) {
    .home #primary h2 {
        font-size: 34px !important;
        white-space: nowrap !important;
    }
}

/* Sidebar heading color */
.home #secondary .widget-title {
    color: #176B73 !important;
}

/* Center Schedule a Tour heading */
.home #secondary .widget-title {
    text-align: center !important;
}


/* Compact homepage tour section */
.home #info-text {
    padding: 1px 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
}


/* Reduce space before homepage content */
.home .cloud-background.page-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove extra spacing from homepage slider */
.home #main-slider .slick-slider {
    margin-bottom: 0 !important;
}

/* Hide breadcrumbs on interior pages */
body:not(.home) .breadcrumb,
body:not(.home) .breadcrumbs,
body:not(.home) .breadcrumb-wrapper,
body:not(.home) .breadcrumb-trail {
    display: none !important;
}

/* Larger interior page titles */
body:not(.home) .banner-wrapper h2.entry-title {
    font-size: 48px !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* Remove decorative underline */
body:not(.home) .banner-wrapper h2.entry-title::before,
body:not(.home) .banner-wrapper h2.entry-title::after {
    content: none !important;
    display: none !important;
}

/* Center titles within photo banners */
body:not(.home) .banner-wrapper .page-title {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    text-align: center !important;
}

/* Move titles toward vertical center */
@media screen and (min-width: 769px) {
    body:not(.home) .banner-wrapper .page-title {
        transform: translateY(90px) !important;
    }
}

/* Center Northwest Montessori logo */
@media screen and (min-width: 1024px) {
    #masthead .site-branding {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    #masthead .site-logo,
    #masthead .custom-logo-link {
        display: block !important;
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }
}

/* Hide dots beneath homepage photo carousel */
.home .slick-dots {
    display: none !important;
}

/* Hide photo carousel navigation dots */
.home #primary .slick-dots,
.home #primary .slick-dots li,
.home #primary .slick-dots button,
.home #primary .owl-dots,
.home #primary .owl-pagination,
.home #primary .swiper-pagination {
    display: none !important;
}

/* Desktop navigation links - teal hover */
@media screen and (min-width: 1024px) {
    #site-navigation #primary-menu > li > a:hover,
    #site-navigation #primary-menu > li > a:focus,
    #site-navigation #primary-menu > li:hover > a,
    #site-navigation #primary-menu > li.current-menu-item > a,
    #site-navigation #primary-menu > li.current-menu-ancestor > a {
        color: #207F89 !important;
    }
}

/* Interior pages - centered teal sidebar heading */
@media screen and (min-width: 993px) {
    body:not(.home) #secondary .widget-title {
        color: #207F89 !important;
        text-align: center !important;
        font-size: 28px !important;
        line-height: 1.3 !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }
}

/* Keep Schedule a Tour heading on one line */
@media screen and (min-width: 993px) {
    body:not(.home) #secondary .widget-title {
        font-size: 21px !important;
        white-space: nowrap !important;
        text-align: center !important;
        color: #207F89 !important;
    }
/* Reduce space beneath homepage photo gallery */
.home .wpcp-carousel-section {
    margin-bottom: -40px !important;
}

/* Remove extra spacing around gallery */
.home .wpcp-carousel-section .swiper-container,
.home .wpcp-carousel-section .swiper {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}
	
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap');