.ny-landing-page {
    font-family: "Open Sans", sans-serif;

    header {
        display: flex;
        justify-content: flex-start;
        align-content: center;
        flex-wrap: wrap;
        height: 90px;
        padding-left: 25px;

        .rothman_logo {
            display: flex;
            width: 238px;
        }

        &.menu-collapsed {
            height: 90px;
        }
    }

    .row.main {
        padding-top: 90px !important;
        padding-bottom: 0;

        h2 {
            margin-top: 0;
            margin-bottom: 24px;
            font-size: 20px;
            font-weight: 600;
            line-height: 27px;
            text-align: left;
        }

        .ny-banner {
            display: flex;
            background: #fafafa;

            .ny-image {
                max-width: 40%;
                width: 100%;

                img {
                    width: 100%;
                    object-fit: cover;
                    height: 100%;
                    max-height: 592px;
                }
            }

            .banner-content {
                max-width: 60%;
                width: 100%;
                display: flex;
                flex-flow: column;
                justify-content: center;
                align-content: flex-start;
                flex-wrap: wrap;
                color: #142546;
                padding: 93px 0 93px 5%;

                h1 {
                    margin-bottom: 14px;
                    border-bottom: none;
                    padding-bottom: 0;
                    margin-top: 0;
                    font-size: 42px;
                    font-weight: 300;
                    line-height: 57px;
                    max-width: 577px;
                    letter-spacing: normal;
                }

                .banner-description {
                    font-size: 17px;
                    font-weight: 400;
                    line-height: 25px;
                    max-width: 577px;
                    margin-bottom: 25px;

                    p {
                        margin: 0;
                    }
                }

                .button-yellow {
                    max-width: 234px;
                    padding: 14px 0;
                    font-size: 11px;
                    margin: 0;
                }
            }
        }

        .group-1 {
            .advanced-banner {
                &:after {
                    display: none;
                }

                &:before {
                    background-image: url(https://rothmanortho.com/images/stories/flexicontent/item_3243_field_2139/l_2022-08-11_09.00.46.png);
                }
            }
        }

        section.quick-links {
            padding: 70px 0;

            > div {
                max-width: 1164px;
                margin: 0 auto;

                .flex-container {
                    justify-content: space-between;

                    .link {
                        align-content: center;
                        align-items: center;
                        background: #f2f2f2;
                        border: 1px solid #e5e5e5;
                        border-radius: 6px;
                        color: #142544;
                        display: -webkit-box;
                        display: -ms-flexbox;
                        display: flex;
                        -ms-flex-wrap: wrap;
                        flex-wrap: wrap;
                        font-size: 1.6rem;
                        font-weight: 600;
                        letter-spacing: -.1px;
                        line-height: 22px;
                        padding: 19px 32px;
                        text-decoration: none;
                        -webkit-transition: background-color .5s, border-color .5s;
                        transition: background-color .5s, border-color .5s;
                        width: calc(33% - 7px);

                        span {
                            width: calc(100% - 32px);
                            font-size: 1.6rem;
                            font-weight: 600;
                            letter-spacing: -.1px;
                            line-height: 22px;
                        }

                        &:hover {
                            background-color: #fff;
                            border-color: #142546;
                        }

                        &:before {
                            align-self: flex-start;
                            background-repeat: no-repeat;
                            background-size: 18px;
                            content: " ";
                            display: inline-block;
                            height: 18px;
                            margin-right: 14px;
                            width: 18px;
                            margin-top: auto;
                            margin-bottom: auto;
                        }

                        &.pay {
                            &:before {
                                background-image: url(https://rothmanortho.com/templates/lyquix/images/icons/pay-bill.svg);
                            }
                        }

                        &.patient {
                            &:before {
                                background-image: url(https://rothmanortho.com/templates/lyquix/images/icons/upload-medical-imaging.svg);
                            }
                        }

                        &.record {
                            &:before {
                                background-image: url(https://rothmanortho.com/templates/lyquix/images/icons/view-visit-summary.svg);
                            }
                        }
                    }
                }
            }
        }

        section.locations {
            padding: 0 0 70px 0;

            > div {
                max-width: 1164px;
                margin: 0 auto;
            }

            ul {
                display: flex;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 9px;
                list-style: none;
                padding-left: 0;
                margin: 0;

                .location {
                    width: calc(33% - 7px);
                    margin: 0;
                    background: #f2f2f2;
                    border-radius: 2px;
                    box-shadow: -1px 0px 3px 0px #00000027;
                    box-shadow: 0px 2px 4px 0px #00000025;


                    img {
                        width: 100%;
                        height: 100px;
                        object-fit: cover;
                    }

                    .location-content {
                        padding: 20px;
                        display: flex;
                        flex-flow: column;
                        color: #142546;
                        max-height: calc(100% - 100px);
                        height: 100%;

                        h3 {
                            margin-top: 0;
                            margin-bottom: 9px;
                            font-size: 17px;
                            font-weight: 600;
                            line-height: 25px;
                            text-align: left;
                        }

                        span {
                            font-size: 14px;
                            font-weight: 400;
                            line-height: 23px;
                            text-align: left;
                            margin-bottom: 18px;
                        }

                        a {
                            margin: auto 0 0 0;
                            padding: 8.5px 15px;
                            max-width: 172px;
                            font-size: 11px;
                            font-weight: 900;
                        }
                    }
                }
            }
        }

        section.physicians {
            background: #FAFAFA;
            padding: 70px 0;

            .physicians-wrapper {
                max-width: 1164px;
                margin: 0 auto;

                h2 {
                    margin-top: 0;
                    margin-bottom: 15px;
                }

                > p {
                    margin-top: 0;
                    margin-bottom: 32px;
                    color: #142546;
                    font-size: 17px;
                    font-weight: 400;
                    line-height: 25px;
                    text-align: left;
                }

                .ccb-physicians {
                    color: #142546;

                    li {
                        text-align: center;

                        img {
                            border-radius: 50%;
                            height: auto;
                            opacity: 1;
                            -webkit-transition: opacity .5s;
                            transition: opacity .5s;
                            width: 64.33%;
                        }

                        .button-yellow {
                            padding: 3px;
                        }

                        &:before {
                            display: none;
                        }
                    }
                }
            }
        }
    }

    footer {
        min-height: unset;
        max-height: 90px;

        .bottom-3 {
            padding: 45px 0;
        }
    }
}

body[screen=lg] {
    &.ny-landing-page {
        .row.main {
            .ny-banner {
                .ny-image {
                    img {
                        max-width: 725px;
                    }
                }
            }

            section.physicians {
                .physicians-wrapper {
                    p {
                        max-width: 80%;
                    }
                }
            }
        }
    }
}

body[screen=md] {
    &.ny-landing-page {
        header,
        header.menu-collapsed {
            height: 90px;
        }

        .row.main {
            section.quick-links,
            section.locations,
            section.physicians {
                > div {
                    margin-inline: 8.333%;
                }
            }

            .ny-banner {
                .ny-image {
                    max-width: 50%;

                    img {
                        max-height: 100%;
                    }
                }

                .banner-content {
                    padding: 47px 0 47px 5%;
                    max-width: 50%;

                    h1,
                    .banner-description,
                    .button-yellow {
                        margin-right: 16.666%;
                    }
                }
            }

            section.locations {
                ul {
                    .location {
                        .location-content {
                            a {
                                padding: 5px 0;
                            }
                        }
                    }
                }
            }
        }
    }
}

body[screen=sm] {
    &.ny-landing-page {
        header {
            height: 90px !important;
        }

        .row.main {
            .ny-banner {
                .ny-image {
                    max-width: 44.5%;
                }

                .banner-content {
                    padding: 35px 0 35px 5%;
                    max-width: 55.5%;

                    h1,
                    .banner-description,
                    .button-yellow {
                        margin-right: 36px;
                    }
                }
            }

            section.quick-links,
            section.locations,
            section.physicians {
                > div {
                    margin-inline: 36px;
                }
            }

            section.quick-links {
                .link {
                    flex-flow: column;
                    padding: 15px;

                    span {
                        width: 100%;
                    }

                    &:before {
                        margin-top: 0;
                        margin-bottom: 14px;
                    }
                }
            }

            section.locations {
                ul {
                    .location {
                        width: calc(50% - 5px);
                    }
                }
            }
        }
    }
}

body[screen=xs] {
    &.ny-landing-page {
        header.menu-collapsed {
            height: 90px;

            .header-top {
                .logo {
                    width: auto;

                    .rothman_logo {
                        img {
                            width: 237px;
                            height: 50px;
                        }
                    }
                }
            }
        }

        .row.main {
            .ny-banner {
                display: flex;
                flex-flow: column;

                .ny-image {
                    max-width: 100%;
                    order: 2;
                    height: 240px;

                    img {
                        aspect-ratio: 320 / 308;
                    }
                }

                .banner-content {
                    padding: 20px 0;
                    max-width: 100%;
                    order: 1;

                    h1,
                    .banner-description,
                    .button-yellow {
                        margin-inline: 10.625%;
                    }
                }
            }

            section.quick-links,
            section.locations,
            section.physicians {
                > div {
                    margin-inline: 10.625%;
                }
            }

            section.quick-links {
                .flex-container {
                    flex-flow: column;
                    gap: 14px;

                    .link {
                        width: 100%;
                        padding: 15px;
                    }
                }
            }

            section.locations {
                ul {
                    .location {
                        width: 100%;
                    }
                }
            }

            section.physicians {
                .physicians-wrapper {
                    .ccb-physicians {
                        gap: 8px;

                        li {
                            padding: 15px 18px;
                            margin: 0;

                            h3 {
                                padding-top: 0;
                                padding-bottom: 10px;
                                margin-bottom: 6px;
                            }

                            img {
                                background-color: transparent;
                                padding: 0;
                                width: 45px;
                            }

                            .phy-group-2 {
                                margin-left: 18px;

                                .field_phy_main_specialties {
                                    margin-bottom: 6px;
                                }

                                .button-row {
                                    padding: 0;

                                    a {
                                        padding: 0;
                                        display: flex;
                                        justify-content: space-between;
                                        align-items: center;
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}

body[screen=sm],
body[screen=xs] {
    &.ny-landing-page {
        .row.main {
            .ny-banner {
                .banner-content {
                    h1 {
                        font-size: 38px;
                        line-height: 45px;
                        margin-bottom: 18px;
                    }

                    .banner-description {
                        margin-bottom: 15px;

                        p {
                            font-size: 15px;
                            line-height: 20px;
                        }
                    }

                    .button-yellow {
                        width: 195px;
                        padding: 5px 0;
                    }
                }
            }

            section.quick-links {
                padding: 35px 0;
            }

            section.locations {
                padding: 0 0 35px 0;

                ul {
                    .location {
                        .location-content {
                            h3 {
                                font-size: 15px;
                                font-weight: 700;
                                line-height: 18px;
                            }

                            span {
                                font-size: 14px;
                                line-height: 20px;
                            }

                            .button-yellow {
                                margin: 0;
                                padding: 5px 10px;
                                max-width: 155px;
                            }
                        }
                    }
                }
            }

            section.physicians {
                padding: 35px 0;

                .physicians-wrapper {
                    h2 {
                        margin-left: 0;
                        margin-right: 0;
                        font-size: 17px;
                        line-height: 25px;
                    }

                    > p {
                        margin-bottom: 20px;
                        font-size: 12px;
                        line-height: 17px;
                    }
                }
            }
        }
    }
}