            /************************************/
            /*                                  */
            /* -------- Sitewide styles ------- */
            /*                                  */
            /************************************/

/* ---------- general styles ------------ */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: #4d4d4d;
}

body a {
    color: #000;
    font-weight: 700;
    text-decoration: none !important;
}

@media(hover: hover) and (pointer: fine) {
    body a:hover {
        color: #8f897e;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    padding: 5px 0;
}

ul {
    list-style-type: none;
}

/* dropdown menu toggle buttons */

.menu-toggle-btn {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    padding: 10px 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* to counter default Bootstrap button behaviour */
.menu-toggle-btn:focus:not(:focus-visible) {
    outline: none;
}

@media(hover: hover) and (pointer: fine) {
    .menu-toggle-btn:hover {
        color: #8f897e;
    }
}

.menu-toggle-btn span {
    transition: all 0.25s;
}

.menu-icon {
    width: 30px;
    margin-right: 10px;
    padding: 4px 0;
}

.menu-icon span {
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #4d4d4d;
    display: block;
}

.menu-icon span:nth-of-type(2) {
    margin: 5px 0;
}

.menu-btn-text {
    font-size: 1.25rem;
    padding-top: 5px;
}

.menu-toggle-btn-active .menu-icon span:nth-of-type(2) {
    display: none;
}

.menu-toggle-btn-active .menu-icon span:nth-of-type(1) {
    transform: translateY(2px) rotate(45deg);
}

.menu-toggle-btn-active .menu-icon span:nth-of-type(3) {
    transform: translateY(-2px) rotate(-45deg);
}

.toggle-btn {
    background: transparent;
    color: #4d4d4d;
    cursor: pointer;
}

/* general buttons */

.btn:focus {
    color: #fff !important;
}

.btn-cta {
    font-weight: bold;
    border-radius: 23px;
    width: 160px;
}

.btn-blu {
    color: #000;
    border: 1px solid #222f63;
    background: linear-gradient(135deg, #87CEFA, #4d9dd0);
}

.btn-darkgrey {
    color: #fff;
    border: 1px solid #0a0a0a;
    background: linear-gradient(135deg, #2c3136, #1d2023);
    width: auto !important;
}

.btn-effect, .btn-effect:focus {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7),
                -3px -3px 6px rgba(255, 255, 255, 0.15),
                inset 4px 4px 8px rgba(255, 255, 255, 0.2),
                inset -4px -4px 8px rgba(0, 0, 0, 0.7);
}

.btn-effect:active {
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.7),
                -3px -3px 6px rgba(255, 255, 255, 0.15),
                inset -4px -4px 8px rgba(255, 255, 255, 0.2),
                inset 4px 4px 8px rgba(0, 0, 0, 0.7);
}

@media(hover: hover) and (pointer: fine) {
    .btn-blu:hover, .btn-darkgrey:hover {
        color: #8f897e;
    }
}

.btn-blu:focus {
    border: 1px solid #222f63;
}

.btn-darkgrey:focus {
    color: #8f897e !important;
}

.link-btn {
    background: transparent;
    text-decoration: underline;
}

.btn-wide-fit {
    width: auto !important;
}

/* ------------ main header ----------- */

#main-header {
    background-color: #fff;
    height: 140px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 5;

    display: flex;
    justify-content: center;
}

#main-header a {
    color: #4d4d4d;
}

@media(hover: hover) and (pointer: fine) {
    #main-header a:hover {
        color: #8f897e;
        text-decoration: none !important;
    }
}

/* header logo */

#header-logo {
    height: 140px;
    margin-right: 10px;
}

#header-logo img {
    height: 130px;
    margin-top: 10px;
}

/* header navigation */

#main-menu {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    margin-right: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

#main-menu-btn {
    display: none;
}

.main-menu-responsive {
    position: absolute;
    top: 140px;
    left: 0;
    width: 100%;
    background-color: #fff;
    text-align: center;
}

.main-menu-responsive ul {
    padding: 20px 0;
    margin: 0;
    border: 0;
}

.main-menu-responsive li {
    display: inline;
    text-align: center;
    padding: 20px 7.5px;
    margin: 0;
    border: 0;
}

.main-menu-item {
    font-size: 1.25rem;
}

/* navigation dropdown menus */

.navbar-dropdown-btn {
    display: inline-block;
    color: #4d4d4d;
    padding: 0 10px;
}

.navbar-dropdown-btn.menu-toggle-btn-active {
    color: #8f897e;
}

.navbar-dropdown-menu-container {
    position: relative;
}

.navbar-dropdown-menu {
    border-radius: 0 0 5px 5px;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    height: 0;
    width: 205px;
    overflow: hidden;
}

#navbar-info-menu {
    width: 275px;
}

.navbar-dropdown-menu ul {
    padding: 0 0 20px 0;
}

.navbar-dropdown-menu li {
    display: block;
    text-align: left;
    padding: 5px 10px 5px 20px;
}

.navbar-dropdown-item {
    font-size: 1.125rem;
}

.navbar-dropdown-open {
    height: auto;
}

/* active header navigation links */

.active-link {
    color: #8f897e !important;
}

/* -------- main page body -------- */

main {
    margin-top: 207px;
}

@media(hover: none) {
    main a {
        color: #000 !important;
    }

    main a.btn, main button {
        color: #000 !important;
    }

    main a.btn-darkgrey, main button.btn-darkgrey {
        color: #fff !important;
    }
}

.anchor-section {
    scroll-margin-top: 207px;
}

.page-divider {
    background-color: #4d4d4d;
    width: 80%;
    max-width: 980px;
    margin: 10px auto;
}

/* page banners */

.banner-container, .mini-banner {
    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.opaque-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-els-container {
    position: relative;
}

.banner-cta-btns {
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Jumbotron */

.jumbotron {
    background-color: transparent;
    margin: 0;
}

.jumbotron h1 {
    margin-bottom: 30px;
}

.jumbotron h1, .jumbotron h2, .jumbotron h3 {
    color: #fff;
    font-weight: bold;
}

/* accordions */

.accordion a:focus {
    text-decoration: none !important;
}

/* generic section styles */

.bg-inishowen {
    background: url('../images/inishowen_outline_1.jpg') no-repeat center center / contain;    
}

/* ------------ footer ------------ */

footer {
    font-family: 'Roboto Condensed', sans-serif;
    color: #4d4d4d;
    background-color: #fff;
}

footer hr {
    background-color: #4d4d4d;
    width: 90%;
    margin: auto;
}

footer .affil-logo-img {
    width: 200px;
}

.footer-contact-social-links {
    color: #4d4d4d;
    font-size: 1.5rem;
    list-style-type: none;
    margin-bottom: 0;
    text-align: center;
}

.footer-contact-social-links .link-btn {
    font-size: 1.5rem;
}

.footer-contact-social-links li {
    padding: 1.5rem 0;
}

.footer-contact-social-links span {
    font-size: 1rem;
    font-weight: 500;
    display: block;
}

.footer-contact-social-links i, footer a {
    color: #4d4d4d;
}

@media(hover: hover) and (pointer: fine) {
    .footer-contact-social-links i:hover {
        color: #8f897e;
    }

    .footer-contact-social-links a:hover {
        text-decoration: none !important;
    }
}

#copyright-statement, #hwd-plug {
    font-weight: 500;
    text-align: center;
}

#copyright-statement {
    margin-top: 10px;
    font-size: 1rem;
}

#hwd-plug {
    padding: 5px 0 10px 0;
    font-size: 0.75rem;
}



            /************************************/
            /*                                  */
            /* --------- Popup modals --------- */
            /*                                  */
            /************************************/

/* footer contact links */

.footer-contact-link-modal {
    height: 90vh;
}

.footer-contact-link-modal .modal-content {
    height: 100%;
    background-color: #4d4d4d;
    color: #fff;
}

.footer-contact-link-modal .close {
    color: #fff;
    font-size: 3rem;
}

.footer-contact-link-modal .modal-body {
    overflow-y: auto;
}

.footer-contact-link-modal a {
    color: #fff;
    text-decoration: none !important;
}

.footer-contact-link-modal .modal-body-content {
    padding-bottom: 80px;
}

#modal-phone-no {
    font-size: 1.5rem;
}

/* about section modals */

.about-section-modal .close {
    font-size: 3rem;
}

.about-modal-img-container {
    background: url('../images/Sinead1.jpg') no-repeat center center / cover;
    width: 200px;
    height: 200px;
    float: left;
    margin: 5px;
    border-radius: 50%;
}



            /************************************/
            /*                                  */
            /* --------- Landing page --------- */
            /*                                  */
            /************************************/

/* general styles */

#landing-banner.banner-container {
    height: calc(100vh - 207px);
    /* background: url('../images/child-with-autism-living-fantasy-world_23-2151248912.jpg') no-repeat center center / cover; */
    /* background: url('../images/mother-playing-with-her-autistic-son-using-toys_23-2150266524.jpg') no-repeat center center / cover; */
    /* background: url('../images/AILandingImage1.jpg') no-repeat center center / cover; */
    background: url('../images/NDT-Inishowen-2-of-12.jpg') no-repeat top center / cover;
    align-items: start;
}

/* Jumbotron */

#landing-banner .jumbotron {
    padding: 50px 0 0;
}

/* info section */

#landing-info ul {
    list-style-type: initial;
    margin-bottom: 0.25rem;
}



            /************************************/
            /*                                  */
            /* -------- Overview page --------- */
            /*                                  */
            /************************************/

/* general styles */

#overview-banner.banner-container {
    height: 50vh;
    background: url('../images/mom-helping-girl-exercise-ball_23-2148570181.jpg') no-repeat center center / cover;
}

#overview-banner h1 {
    margin-bottom: 0.5rem;
}

/* FAQ section */

.faq-section {
    background-color: rgba(0,0,0,.1);
    padding-top: 10px;
}

#faq-accordion .card {
    background: transparent;
    border: 0;
}

#faq-accordion .card-header {
    background: transparent;
    border: 0;
}

#faq-accordion .card-body {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px 20px;
}

.faq-accordion-link {
    color: #8f897e !important;
    display: flex;
}

.faq-accordion-link i {
    align-self: center;
}

.faq-accordion-link.collapsed {
    color: #4d4d4d !important;
}

.faq-accordion-link.collapsed i {
    transform: scale(-1, -1);
}

@media(hover: hover) and (pointer: fine) {
    .faq-accordion-link:hover {
        color: #8f897e;
        text-decoration: none !important;
    }
}

#faq-accordion p {
    margin-bottom: 0.5rem;
}

#faq-accordion ul {
    list-style-type: initial;
    margin-bottom: 0.5rem;
}

.faq-answer-container {
    padding: 0 15px !important;
}



            /************************************/
            /*                                  */
            /* --- Primitive Reflexes page ---- */
            /*                                  */
            /************************************/

/* general styles */

#prim-ref-banner.banner-container {
    background: url('../images/baby-toddler-banner.jpg') no-repeat bottom center / auto 200px;
    height: 205px;
}

#prim-ref-banner .opaque-overlay {
    background-color: rgba(0, 0, 0, 0.35);
}

.prim-r-article ul {
    list-style-type: initial;
}

/* mini-banners */

.prim-r-article .mini-banner {
    height: 175px;
    border-radius: 50% 20% / 10% 40%;
    overflow: hidden;
}

.prim-r-article .opaque-overlay {
    background-color: rgba(0, 0, 0, 0.35);
}

#mr-banner {
    background: url('../images/noise-sensitivity-cropped.jpg') no-repeat center center / cover;
}

#tlr-banner {
    background: url('../images/shutterstock_184595435-baby-held-in-foetal-pos.jpg') no-repeat center center / cover;
}

#stnr-banner {
    background: url('../images/shutterstock_417211102-W-sitting-cropped.jpg') no-repeat center center / cover;
}

#atnr-banner {
    background: url('../images/immature-pencil-grip.jpg') no-repeat center center / cover;
}



            /************************************/
            /*                                  */
            /* ------- The Process page-------- */
            /*                                  */
            /************************************/

/* general styles */

#process-banner.banner-container {
    background: url('../images/psychologist-helping-little-girl.jpg') no-repeat center center / cover;
    height: 50vh;
}

#process-banner h1 {
    margin: 0;
}

/* steps sections */

.process-step-section .section-header {
    float: left;
    margin: 0 1rem 0 0;
    width: 33%;
    border-radius: 50% 20% / 10% 40%;
    overflow: hidden;
}

.process-step-section .even-section-header {
    float: right;
    margin: 0 0 0 1rem;
}

.process-step-section .section-content {
    padding-top: 1rem;
    text-align: justify;
}

.float-divider-div {
    clear: both;
    height: 1rem;
}

#s1-abt-questionnaire .section-footer .row {
    max-width: 750px;
    margin: 0 auto;
}

#abt-questionnaire-banner {
    background: url('../images/businessman-using-laptop-clipboard_23-2147985223.jpg') no-repeat center center / cover;
}

#initial-con-banner {
    background: url('../images/parents-kid-doing-therapy_23-2149305196.jpg') no-repeat center center / cover;
}

#diagnostic-as-banner {
    background: url('../images/close-up-woman-kid-indoors_23-2149063728.jpg') no-repeat center center / cover;
}

#home-prog-banner {
    background: url('../images/family-yoga-workout_23-2148542877.jpg') no-repeat center center / cover;
}

#diagnostic-rep-banner {
    background: url('../images/close-up-girl-therapy-session-with-parents_23-2149220301.jpg') no-repeat center center / cover;
}

#prog-revs-banner {
    background: url('../images/boy-having-occupational-therapy-session-with-psychologist_23-2149091525.jpg') no-repeat center center / cover;
}

#prog-conclusion-banner {
    background: url('../images/kids-jumping-log-cropped.jpg') no-repeat center center / cover;
}

#the-process .section-footer p {
    margin-bottom: 5px;
}

/* questionnaire section */

#questionnaire iframe {
    width: 100%;
    height: calc(100vh - 207px);
    border: 0;
}



            /************************************/
            /*                                  */
            /* --------- Contact page --------- */
            /*                                  */
            /************************************/

/* general styles */

#contact-banner.banner-container {
background: url('../images/gradient-purple-studio-room-background.jpg') no-repeat center center / cover;
height: 300px;
}

.contact-banner-img {
    height: 300px;
}

#contact-banner h1 {
margin: 0;
}

.contact-info-section .open-hours-info {
    font-weight: 700;
}

.contact-info-section .footer-social-link {
    font-size: 2rem;
    padding: 0 1.5rem;
}

#contact-page-form {
    margin: 0 auto;
    max-width: 70%;
}

#contact-page-form input::placeholder {
    color: #4d4d4d;
}

.cf-success-message, .cf-failure-message {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #a00101;
}

.cf-success-message p, .cf-failure-message p {
    margin-bottom: 0;
}

#modal-email-form .cf-success-message, #modal-email-form .cf-failure-message {
    color: #fff;
}

.cf-hidden {
    display: none;
}

.g-recaptcha {
    display: inline-block;
}



            /************************************/
            /*                                  */
            /* ------ 'More' menu pages ------- */
            /*                                  */
            /************************************/

/* general styles */

.more-container {
    min-height: calc(100vh - 207px);
}

.bc-hidden {
    display: none;
}

/* animated loading screen */

.loadscreen {
    background-color: #fff;
    width: 100%;
    height: calc(100vh - 398px);
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 4;
    transition: all 0.5s ease-in;
}

.loader-hidden {
    height: 0 !important;
}

.loader-gone {
    display: none !important;
}

.bouncer {
    font-size: 5rem;
    font-weight: 700;
    margin: 0 2.5px;
    animation: bounce 1.5s infinite;
}
.bouncer:nth-child(1) {
    animation-delay: 0s;
}
.bouncer:nth-child(2) {
    animation-delay: 0.1s;
}
.bouncer:nth-child(3) {
    animation-delay: 0.2s;
}
.bouncer:nth-child(4) {
    animation-delay: 0.3s;
}
.bouncer:nth-child(5) {
    animation-delay: 0.4s;
}
.bouncer:nth-child(6) {
    animation-delay: 0.5s;
}
.bouncer:nth-child(7) {
    animation-delay: 0.6s;
}
.bouncer:nth-child(8) {
    animation-delay: 0.7s;
}
.bouncer:nth-child(9) {
    animation-delay: 0.8s;
}
.bouncer:nth-child(10) {
    animation-delay: 0.9s;
}

@keyframes bounce {
    0%, 50% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-20px);
    }
}

/* mini-banners */

.more-banner {
    height: 175px;
    overflow: hidden;
}

/* testimonials page */

#testimonials-banner {
    background: url('../images/hands-showing-positive-gesture_1134-313.jpg') no-repeat center center / contain;
}

.testimonial-wrapper:nth-of-type(2n) .testimonial {
    background-color: rgba(0,0,0,.1);
}

.testimonial {
    padding: 1.5rem;
    border-radius: 50% 20% / 10% 40%;
}

.testimonial-quote {
    font-style: italic;
}

.testimonial-quote p {
    margin-bottom: 0.25rem;
}

.testimonial-name p {
    margin-bottom: 0;
    font-weight: 700;
    text-align: right;
}

/* useful links page */

#useful-links-banner {
    background: url('../images/links-basic-rgb_53876-37712.jpg') no-repeat center center / cover;
}

.useful-link-wrapper p {
    margin-bottom: 0;
}

.useful-links-video {
    width: 60%;
}

/* further reading page */

#further-reading-banner {
    background: url('../images/close-up-photo-girl-studying-with-tablettextbooks-cup-coffee-desk-cozy-home_574295-3876.jpg') no-repeat center center / cover;
    height: 250px;
}

#further-reading .loadscreen {
    height: calc(100vh - 473px);
}

.fr-art h3 {
    margin-bottom: 0;
}

.fr-art p {
    margin-bottom: 0.25rem;
}

.fr-art-headline, .fr-art-subhead {
    text-align: center;
}

.fr-art-auth-pub {
    margin-top: 1rem;
}

.fr-art-author {
    font-weight: 700;
}

.fr-art-publication {
    font-style: italic;
}

.fr-art-summary {
    margin: 1rem 0;
}



            /************************************/
            /*                                  */
            /* --------- Media queries -------- */
            /*                                  */
            /************************************/

/* ---------- for responsive design ----------- */

/* for large screens, up to 1200 pixels wide (matches Bootstrap's lg - xl breakpoint) */

@media screen and (max-width: 1200px) {

    /* general bootstrap override */

    .container {
        max-width: none;
        margin: auto;
        padding: 0 30px;
    }
}

/* for medium-large-sized screens, up to 992 pixels wide (matches Bootstrap's md - lg breakpoint) */

@media screen and (max-width: 992px) {

    /* the process page */

    .process-step-section .section-header {
        width: 50%;
    }

    /* contact page */

    #contact-page-form {
        max-width: 100%;
    }
}

/* for medium-sized screens, up to 768 pixels wide (matches Bootstrap's sm - md breakpoint) */

@media screen and (max-width: 768px) {

    /* main header */

    #main-header {
        justify-content: space-between;
    }

    /* header navigation menu */

    #main-menu-btn {
        display: flex;
    }
    
    .main-menu-responsive {
        left: auto;
        right: 0;
        /* width: 100%; */
        width: 320px;
        height: 0;
        border-radius: 0 0 5px 5px;
        /* background-color: rgba(0, 0, 0, 0.9); */
        overflow: hidden;
        transition: all 0.25s;
    }

    .main-menu-responsive ul {
        /* align-items: center; */
        padding: 5px 0 20px;
        margin-bottom: 0;
    }

    .main-menu-responsive li {
        text-align: left;
        display: block;
        margin-left: 50px;
        padding: 5px 0;
    }

    .main-menu-open {
        height: auto;
    }

    /* navigation dropdown menus */

    .navbar-dropdown-btn {
        padding: 0;
    }

    .navbar-dropdown-menu {
        position: relative;
        top: 0;
        width: 100% !important;
    }

    .navbar-dropdown-menu ul {
        padding: 0;
    }

    .navbar-dropdown-menu li {
        margin-left: 20px;
        padding: 2.5px 0;
    }

    /* main page body */

    main {
        margin-top: 140px;
    }
    
    .anchor-section {
        scroll-margin-top: 140px;
    }

    /* landing page */

    #landing-banner.banner-container {
        height: calc(100vh - 140px);
    }

    #landing-banner .jumbotron-header {
        font-size: 1.9rem;
    }

    /* the process page */

    #questionnaire iframe {
        width: 100%;
        height: calc(100vh - 140px);
    }

    /* 'more' menu pages */

    .more-container {
        min-height: calc(100vh - 140px);
    }

    .loadscreen {
        height: calc(100vh - 331px);
    }

    #further-reading-banner {
        height: 200px;
    }

    #further-reading .loadscreen {
        height: calc(100vh - 356px);
    }
}

/* for smaller-sized screens, up to 576 pixels wide (matches Bootstrap's xs - sm breakpoint) */

@media screen and (max-width: 576px) {

    /* header navigation menu */

    .main-menu-responsive {
        width: 100vw;
    }

    /* landing page */

    #landing-banner .jumbotron-header {
        font-size: 1.39rem;
    }

    /* overview page */

    .faq-answer-content {
        padding: 0;
        margin-left: 0 !important;
    }

    /* the process page */

    .process-step-section .section-header {
        float: none;
        width: 100%;
        margin: 0 0 0.5rem 0;
    }

    .process-step-section .section-content {
        padding-top: 0.5rem;
        text-align: left;
    }

    /* 'more' menu pages */

    #testimonials-banner {
        background-size: cover;
    }

    .bouncer {
        font-size: 4.5rem;
    }

    .useful-links-video {
        width: 80%;
    }

    #further-reading-banner {
        height: 175px;
    }

    #further-reading .loadscreen {
        height: calc(100vh - 331px);
    }
}

/* for extra-small screens, up to 430 pixels wide */

@media screen and (max-width: 430px) {

    /* general styles */

    .longstring {
        font-size: 0.95rem;
    }

    .x-longstring {
        font-size: 0.9rem;
    }

    /* popup modals */

    .about-modal-img-container {
        float: none;
        margin: 0 auto;
    }

    /* 'more' menu pages */

    .bouncer {
        font-size: 3rem;
    }

    .useful-links-video {
        width: 90%;
    }

    /* landing page */

    #landing-banner .jumbotron {
        padding-top: 20px;
    }

    #landing-banner .jumbotron-header {
        font-size: 1.05rem;
    }

    /* overview page */

    #overview-cta-btns a {
        width: 149px;
    }
}