
.modal-backdrop {
	z-index:10000040;
}
.modal.show {
		z-index: 10000041;
}
header figure {
    max-width: 1000px !important;
    margin: 0 auto !important;
}
header .wp-block-template-part:nth-child(2) {
    background-color: #29abff;
}
body.page-id-130207 header .wp-block-template-part:nth-child(2) {
    display: none;
}
/* Prevent navigation background from making page overflow. */
body {
    overflow-x: hidden;
}

/* Reset some weird word overflow behavior. */
.wp-block-column {
    overflow-wrap: normal;
    word-break: normal;
}

/* Make CTA buttons not all caps */
.wp-element-button, .wp-block-button__link {
    text-transform: none;
}

/* Make CTA buttons not all caps */
.wp-element-button:hover, .wp-block-button__link:hover {
    background-color: #25da95 !important;
}

/* Align header with main heading text */
body .is-layout-constrained > .alignwide {
    max-width: none;
    padding: 0 1.5%;
}

/* Make map grayscale */
canvas.syrup-canvas {
    filter: grayscale(100%);
}

/* Make the navigation change to mobile (hamburger) at wider screen widths */
@media (max-width: 930px) {
    .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
        display: none !important;
    }

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
        display: flex !important;
    }

    /* Make navigation have padding in mobile */
    .wp-block-navigation__responsive-container {
        padding: 30px !important;
    }

    /* Make top level navigation items blue */
    .wp-block-navigation-item__content:not(.wp-block-navigation__submenu-container .wp-block-navigation-item__content) {
        color: var(--wp--preset--color--primary) !important;
        border-bottom: 2px solid #25da95;
    }
}

/* Navigation hover styles */
@media (min-width: 930px) {
    ul.wp-block-navigation-submenu {
        padding-top: 65px !important;
        border: none !important;
    }

    ul.wp-block-navigation-submenu .wp-block-navigation-item__content {
        padding: 0.5em 0.2em !important;
        color: #274055 !important;
    }

    ul.wp-block-navigation-submenu .wp-block-navigation-item__content:hover {
        color: #25da95 !important;
    }

    ul.wp-block-navigation > li.wp-block-navigation-item:hover::before {
        content: '';
        position: absolute;
        top: -60px;
        height: 10px;
        width: 100%;
        background-color: #03cb79;
    }

    ul.wp-block-navigation > li.wp-block-navigation-item:hover {
        color: #25da95 !important;
    }

    ul.wp-block-navigation-submenu::after {
        content: '';
        position: absolute;
        top: 41px;
        height: calc(100% - 42px);
        width: 200vw;
        left: -100vw;
        background-color: white;
        z-index: -1;
        box-shadow: 0 4px 6px -4px #999;
        border-top: 1px solid #ddd;
    }
}

/* Move the CTA block below the image on mobile and hack it into position on desktop */
@media only screen and (min-width: 720px) {
    .home-cta-block {
        margin-top: -60px !important;
        align-items: start !important;
        justify-content: start !important;
    }
}

@media only screen and (min-width: 1100px) {
    .home-cta-block {
        margin-top: -140px !important;
    }
}

/* Don't let the main image overflow */
.medneo-main-homepage-image {
    max-width: 430px;
}

/* Use medneo graphic as background */
.medneo-interstatial-block {
    background-image: url('/wp-content/uploads/2023/08/brand-identity_usage-17.png?w=1024');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 25% 50%;
}

/* Crop profile images to circles. */
.circle-crop img {
    border-radius: 50%;
}

/* Hack to make the CTA block look good on mobile */
@media only screen and (max-width: 781px) {
    .consultant-page-cta {
        justify-content: flex-start !important;
    }
}

/* Hide mobile spacers on desktop  */
@media only screen and (min-width: 780px) {
    .mobile-spacer {
        display: none !important;
    }
}

/* Set max width on tables with this class (pricing tables) */
.max-width-table table {
    max-width: 650px;
    margin: auto;
}

/* Fix opacity of enquiry field in contact form */
.grunion-field-text {
    opacity: 1 !important;
}

/* Make paragraph links inherit font family */
p > a:where(:not(.wp-element-button)) {
    font-family: inherit !important;
}

/* Hide empty space in google review section */
.ti-widget-container p:empty {
    display: none;
}

/* Hide empty button in google review headers */
.ti-widget-container > p {
    display: none;
}

/* Hide cookie control icon */
#ccc-icon {
	display: none;
}