﻿html,
body {
    font-family: Roboto !important;
    overflow-x: hidden;
}

--bs-font-sans-serif,
--bs-body-font-family {
    Roboto !important;
}

@font-face {
    font-family: Roboto;
    src: url(/Includes/Common/Fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: Roboto-Black;
    src: url(/Includes/Common/Fonts/Roboto/Roboto-Black.ttf);
}

@font-face {
    font-family: Roboto-Bold;
    src: url(/Includes/Common/Fonts/Roboto/Roboto-Bold.ttf);
}

@font-face {
    font-family: Roboto-Light;
    src: url(/Includes/Common/Fonts/Roboto/Roboto-Light.ttf);
}

@font-face {
    font-family: Roboto-Med;
    src: url(/Includes/Common/Fonts/Roboto/Roboto-Medium.ttf);
}

a {
    color: #407EC9;
}

.section1 {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.section3 {
    font-size: 18px;
    font-family: Roboto;
    background: #fff;
    padding: 2rem 0 0 0;
}

    .section3 p.call {
        font-size: 24px;
    }

    .section3 p.disclaimer {
        font-size: 14px;
    }

    .section3 #hero_phone,
    .section3 .cta-phone {
        font-size: 24px;
        font-weight: bold;
        text-decoration: none;
        color: #407EC9;
    }

    .section3 h2 {
        font-weight: bold;
        color: #1A487E;
    }

.section4 {
    font-size: 18px;
    font-family: Roboto;
    padding: 42px 0;
}

    .section4 h2 {
        font-size: 1.5rem;
        font-weight: normal;
        padding: 16px 10px 0px 10px;
    }

    .section4 p.bullet-title {
        margin-bottom: 0;
        font-weight: bold;
    }

    .section4 .card img {
        width: 100%;
        border-radius: 8px 8px 0px 0px;
    }

    .section4 .card > a {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    .section4 .card.link {
        height: 322px;
    }

.section7 {
    background-color: #d7d7d7;
}

    .section7 h3 {
        font-weight: bold;
        color: #1A487E;
    }

@media only screen and (min-width: 960px) {
}

@media only screen and (min-width: 1182px) {
}

@media only screen and (min-width: 1440px) {
    /* styles for browsers larger than 1440px; */
}

@media only screen and (max-width: 992px) {
    img.logo {
        width: 172px;
        height: auto;
    }

    .section4 {
        height: auto;
        padding: 14px 0 14px;
    }

    .section5 .flip-card {
        height: 240px;
    }

        .section5 .flip-card img {
            height: 100%;
        }

    .section5 .flip-card-back {
        font-size: 14px;
    }

        /* card-body */
        .section5 .flip-card-back .card-body {
            padding-top: 6px;
            padding-bottom: 6px;
        }

    .section5 .card-text {
        font-size: 18px;
    }

    .section5 .card-text,
    .section5 p,
    .section5 ul {
        margin-bottom: 4px;
    }

    .section5 .flip-card-front .text-stroke {
        width: 154px;
    }

    .section5 .card-2 .card-block {
        margin-left: 30px
    }

    .section5 .row, .section6 .row {
        flex-direction: column-reverse;
    }

    .section6 .col {
        padding: 20px;
    }

    .moreless {
        font-size: 16px;
    }

    .section4 .card {
        margin: 10px 10px;
    }

    .section2 .card-img-overlay {
        position: relative;
        background-color: #407EC9;
    }

        .section2 .card-img-overlay.black {
            background-color: #000;
        }
}

.section-separator {
    background-color: #1A487E;
    width: 100vw;
    height: 30px;
}

.section5 {
    height: 328px;
    background-color: #1A487E;
    padding: 30px 16px;
}

    .section5 .flip-card img {
        height: 100%;
    }

    .section5 .flip-card h3 {
        color: #1A487E;
        font-weight: lighter;
    }

    .section5 .card-block {
        margin-left: 110%;
        width: 55%;
    }

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
    column-gap: 8px;
}

    .form-container .disclaimer,
    .form-container .disclaimer a {
        font-size: 14px;
        text-align: center;
        padding-top: 15px;
    }

    .form-container input[type=submit] {
        background-color: #3571bb;
        cursor: pointer;
        border-radius: 6px;
        border: none;
        text-transform: uppercase;
        font-size: 1.25em;
        padding: 6px;
    }

        .form-container input[type=submit]:hover {
            background-color: #2f65a7;
        }

    .form-container > div {
        display: flex;
        flex-direction: column;
    }

.moreless {
    float: right;
}

@media only screen and (min-width: 992px) {
    img.logo {
        width: 206px;
        height: auto;
    }

    .section2 div.card-block {
        margin-left: 2%;
        margin-right: 52%;
    }

        .section2 div.card-block.hero-text-right-aligned {
            margin-left: 52%;
            margin-right: 2%;
        }

    .section4 .btn-link {
        font-size: 13px;
    }

    .section5 .flip-card-back {
        font-size: .63em;
    }

    .form-container input[type=submit] {
        margin-inline: 25%;
    }
}

@media only screen and (min-width: 768px) {
    .section4 {
        max-height: 724px;
    }

        .section4 .row > * {
            padding: 0 5px;
        }
}

@media (min-width: 480px) {
    .form-container input[type=submit] {
        grid-column: 1 / span 2;
    }

    .form-container > div.form-check {
        grid-column: 1 / span 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}

@media only screen and (max-width: 480px) {
    .hide {
        display: none !important;
    }

    .section2 .card-img-overlay {
        color: #fff !important;
    }

    .form-container {
        grid-template-columns: 1fr;
    }
}

.section4 .card {
    background: #407EC9;
    color: #d8d8d8;
    border-color: white;
}

    .section4 .card.open {
        color: #000;
        background: #f1f1f1 !important;
        z-index: 1;
        box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    }

.section5 .flip-card-back {
    color: #000;
    background: #f1f1f1 !important;
    z-index: 1;
}

    .section4 .card.open .card-text,
    .section5 .flip-card-back .card-text {
        color: #147;
    }

.section4 .btn-link {
    color: inherit;
    text-decoration: none;
}

.section6 {
    background: #efefef;
}

    .section6 a {
        font-size: 18px;
        text-decoration: underline;
        font-weight: normal;
    }

.btn-container {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin: 0 20px;
}

    .btn-container .btn {
        margin: 10px 0;
    }

.btn.btn-outline-secondary {
    background-color: #fff;
}

    .btn.btn-outline-secondary:hover {
        background-color: #6c757d;
    }

.btn-request-one {
    color: #1A487E;
    margin-bottom: 1rem;
}

.btnsubmitchs {
    background: #407EC9;
    flex: auto;
}

.btn.main {
    color: #FFF;
    background-color: #407EC9;
}

.text-stroke {
    font-weight: bold;
}

.card {
    margin: 10px 10px;
}

.flip-card {
    height: 220px;
    transition: all 1s ease-in-out;
    transform-style: preserve-3d;
    background-color: #dadde3;
}

.do-flip {
    transform: rotateY(-180deg);
}

.flip-card-front,
.flip-card-back {
    height: 100%;
    backface-visibility: hidden;
    position: absolute;
    background-color: #d8dee6;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.section5 .card-img-overlay, .section6 .card-img-overlay {
    margin-top: 20%;
}

.section5 .flip-card-front .text-stroke {
    width: 216px;
}

/* video background */
.background-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

/* image background */
.background-image {
    width: 100vw;
    background-color: #181f2f;
    object-fit: contain;
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

/* page content */
@media (max-width: 750px) {
    #background-video {
        display: none;
    }
}

#hero-image-overlay {
    z-index: -1;
}

.text-shadow {
    text-shadow: 0px 2px 5px black;
}

.fancybox__content {
    padding: 0;
}

.fancybox__container:not(.is-compact) .fancybox__slide.has-close-btn {
    padding-top: 0;
}

.fancybox__backdrop {
    background: rgba(24, 24, 27, 0.8)
}

.marketing-campaign-header__cta-panel {
}

.marketing-campaign-header .marketing-campaign-header__cta-link {
    text-transform: uppercase;
    text-decoration: none;
    font-family: Roboto;
    font-size: 18px;
    color: black;
}

    .marketing-campaign-header .marketing-campaign-header__cta-link strong {
        font-weight: 900;
        color: #407EC9;
    }

.marketing-campaign-header .marketing-campaign-header__separator {
    height: 14px;
    margin-top: -4px;
}

.marketing-campaign-header.dark-theme {
    background-color: #407EC9;
}

    .marketing-campaign-header.dark-theme .marketing-campaign-header__cta-link,
    .marketing-campaign-header.dark-theme .marketing-campaign-header__cta-link strong {
        color: white;
    }

.hero {
    background-position: bottom;
    background-color: #ececec;
    top: 0px;
    height: auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
}

    .hero h1.subtitle {
        color: white;
        font-weight: 900;
        margin-top: 1em;
        margin-bottom: 1em;
        text-shadow: 0 0 10px rgba(0, 0, 0, 1.3);
    }

    .hero h2 {
        color: #5c5c5c;
        font-weight: 900;
        margin-top: 20px;
    }

    .hero .text ul {
        list-style-image: url(https://www.comhs.org/-/media/Images/Community-Healthcare-Only/Campaigns/Primary-Care/Chevron-Bullet);
        font-weight: 300;
        padding-inline-start: 0px;
        margin-left: 9px;
    }

        .hero .text ul > li {
            margin: 0.8em;
        }

.hero-content {
    background-image: url("https://www.comhs.org/-/media/Images/Community-Healthcare-Only/Campaigns/Primary-Care/hero-desktop-fall");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero > .text {
    margin-bottom: 20px;
}

.hero-content > h1 {
    max-width: 700px;
}

.CTA {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

    .CTA > img {
        width: 300px;
        border: 3px solid #407EC9;
    }

    .CTA > a.schedule {
        padding-top: 10px;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        margin: 10px 0;
    }

        .CTA > a.schedule > h3 {
            margin: 0;
            color: #407EC9;
            font-weight: 900;
        }

        .CTA > a.schedule > p {
            font-weight: 500;
            color: #000;
            line-height: 1.3;
            margin: 0;
            text-align: center;
        }

.location-detection #location {
    color: #FFF;
    background-color: #407EC9;
    padding: 10px;
}

.location-detection .location-detection__title {
    font-weight: bold;
}

/* MAP */

.map-container {
    height: 800px;
    display: flex;
    flex-direction: column;
    margin: 0 auto 60px auto;
}

    .map-container h3 {
        font-weight: 700;
        color: #407EC9;
        margin: 30px 0 10px 0;
    }

    .map-container h4 {
        color: #FFF;
        background-color: #636363;
        padding: 5px 0 5px 0;
        margin: 0;
        text-align: center;
    }

#map {
    position: relative;
    width: 100%;
    height: 100%;
}

.marker {
    display: block;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    padding: 0px;
}

.mapboxgl-popup {
    max-width: 350px;
}

.maplibregl-popup-content.mapboxgl-popup-content {
    background-color: #E8E6E5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-left .maplibregl-popup-tip {
    border-right-color: #E8E6E5;
}

.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-right .maplibregl-popup-tip {
    border-left-color: #E8E6E5;
}

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top .maplibregl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top-right .maplibregl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-top-left .maplibregl-popup-tip {
    border-bottom-color: #E8E6E5;
}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,
.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip {
    border-top-color: #E8E6E5;
}

h5 {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
}

.maplibregl-popup-content.mapboxgl-popup-content > p {
    font-family: 'Roboto', sans-serif;
    padding: 0;
    margin: 0;
    font-weight: 300;
    font-size: 16px;
    text-align: left;
}

.maplibregl-popup-content.mapboxgl-popup-content > img {
    margin-bottom: 20px;
}

.maplibregl-popup-content.mapboxgl-popup-content > h5 {
    text-align: center;
    text-wrap: pretty;
    margin-bottom: 5px;
}

.maplibregl-popup-content.mapboxgl-popup-content > p.address {
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 10px;
}

.maplibregl-popup-content.mapboxgl-popup-content > p.bio {
    font-weight: 300;
    font-size: 15px;
    line-height: 1.3;
}

.maplibregl-popup-content.mapboxgl-popup-content > div.make-appt {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.maplibregl-popup-content.mapboxgl-popup-content > div > a {
    font-family: 'Roboto', sans-serif;
    background: #407EC9;
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 0 auto;
    border-radius: 5px;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}
/* MAP END */

.physician-cards-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3px;
}

.physician-card > p {
    padding: 0;
    margin: 0;
    color: #000;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
    text-wrap: pretty;
}

    .physician-card > p > strong {
        font-weight: 500;
        font-size: 16px;
    }

.physician-card {
    background-color: #E1E0DE;
    display: flex;
    flex-direction: column;
    padding: 20px 0 10px 0;
    justify-content: space-around;
    align-items: center;
}

    .physician-card .physician-photo {
        width: 80%;
        height: auto;
        padding-bottom: 10px;
    }

    .physician-card > div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
    }

        .physician-card > div > a {
            font-family: 'Roboto', sans-serif;
            background: #407EC9;
            color: white;
            text-decoration: none;
            padding: 10px;
            border-radius: 5px;
            font-weight: 400;
            font-size: 14px;
            text-align: center;
        }

/* MODAL */

#ThankYou_FormModal .modal-header {
    background-color: #407EC8;
}

.download-guide .btn-heading {
    font-weight: bold;
    margin-bottom: 0;
}

.download-guide .btn.main {
    margin-bottom: 16px;
}

#map-modal .modal {
    position: fixed;
    z-index: 1000;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1200px;
    max-width: 100%;
    height: 100%;
    overflow: auto;
}

    #map-modal .modal.closed {
        display: none;
    }

#map-modal .modal-overlay {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

    #map-modal .modal-overlay.closed {
        display: none;
    }

#map-modal .modal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 60%;
}

#map-modal .modal-close-button {
    width: 100%;
    z-index: 100;
    margin-top: -20px;
    margin-right: -10px
}

#map-modal .close {
    padding: 3px;
}

#map-modal .modal-bio {
    width: 100%;
    margin-block: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #map-modal .modal-bio img {
        margin-bottom: 20px;
    }

    #map-modal .modal-bio h5 {
        margin-bottom: 5px;
    }

#map-modal .modal-header {
    width: 100%;
    text-align: center;
    display: block;
    padding: 0;
    border: 0;
}

    #map-modal .modal-header h2 {
        font-family: 'Roboto', sans-serif;
        font-weight: 900;
        color: #5c5c5c;
        text-align: center;
        margin: 0 0 5px 0;
    }

#map-modal .modal-body {
    display: grid;
    margin: 0;
    width: 100%;
    padding: 0;
}

    #map-modal .modal-body form .container .form-container {
        display: grid;
        grid-gap: 10px;
    }

#map-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    #map-modal .close:hover,
    #map-modal .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

/* UTILITY CLASSES */

.mobile-only {
    visibility: hidden;
    display: none;
}

.desktop-only {
    visibility: visible;
}

.hidden-desktop {
    visibility: hidden;
    display: none;
}

.hide {
    visibility: hidden;
}

/* MEDIA QUERIES */

@media (max-width: 900px) {
    .section3 h2,
    .section3 .btn-heading {
        text-align: center;
        text-wrap: pretty;
    }

    .section3 .btn {
        display: block;
        margin: 0 auto;
        margin-bottom: 2rem;
        width: fit-content;
    }

    .modal-body form div.form-container {
        grid-template-columns: 1fr;
    }

        .modal-body form div.form-container .form-check,
        .modal-body form div.form-container input[type="submit"] {
            grid-column: unset;
        }

        .modal-body form div.form-container .hide {
            display: none !important;
        }
}

@media (max-width: 1600px) {
    .container {
        width: 100%;
    }

    footer {
        padding: 0 5% 50px 5%;
    }
}
/* laptop */

@media (max-width: 1200px) {
    .hero {
        background-position: 80%;
    }

    .main {
        grid-template-columns: 1fr;
    }

    .CTA {
        padding: 0;
    }
}
/* tablet */

@media (max-width: 900px) {
    h1.subtitle {
        margin-left: 5%;
        margin-right: 5%;
        margin-bottom: 1em;
    }

    .hero {
        grid-template-columns: unset;
    }

        .hero > .text {
            margin-left: 5%;
            margin-right: 5%;
        }

        .hero h2 {
            text-align: left;
        }

    .hero-content {
        height: 40vh;
    }

    div.subtitle-container {
        width: 100%;
    }

    .desktop-only {
        visibility: hidden;
        display: none !important;
    }

    .nav {
        height: 60px;
    }

    .nav-logo {
        height: 50px;
    }

    .hero .text ul {
        padding-inline-start: revert;
    }

    .physicians-container {
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto 60px auto;
    }

        .physicians-container .main-content h4 {
            padding: 10px;
            text-align: center;
            text-wrap: pretty;
        }

    #map-modal .modal-content {
        width: 80%;
        margin-top: 20px;
    }

    .main {
        width: 100%;
        display: grid;
    }

    .main-content {
        width: 100%;
        padding-top: 40px;
    }

    .hidden-desktop {
        visibility: visible;
        display: block;
    }

        .hidden-desktop h4 {
            color: #FFF;
            background-color: #636363;
            font-weight: 500;
            line-height: 1;
            padding: 5px 0 5px 0;
            margin: 0;
            width: 100%;
        }

        .hidden-desktop > .CTA > a.schedule > p.CTA__text {
            font-size: 4em;
            font-weight: 600;
        }

        .hidden-desktop > .CTA > a.schedule > p.CTA__number {
            padding: 0;
            margin: 0 0 50px 0;
            font-weight: 700;
            color: #407EC9;
            font-size: 5em;
            line-height: 1;
        }

    footer {
        padding: 0 0 50px 0;
    }
}

@media (max-width: 700px) {
    .nav {
        flex-direction: column;
        height: 70px;
        justify-content: unset;
    }

    .nav-logo {
        height: 40px;
    }

    .destination-health {
        height: 20px;
    }
}
/* mobile */

@media (max-width: 450px) {
    h1.subtitle {
        width: 100%;
        margin-bottom: 10px;
    }

    div.subtitle-container {
        width: 100%;
        padding-left: 0%;
    }

    .dest-health-logo {
        width: 100%;
        max-width: 90%;
        padding-top: 10px;
    }

    .container {
        width: 90%;
    }

        .container.form-container {
            width: 100%;
        }

    .physician-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .physician-card > p {
        font-size: 18px;
    }

        .physician-card > p > strong {
            font-size: 18px;
        }

    .physician-card {
        padding: 20px 0 20px 0;
    }

    .modal-content {
        width: 80%;
    }

    .hidden-mobile {
        visibility: hidden;
        display: none;
    }

    .mobile-only {
        visibility: visible;
        display: block;
    }
}
/* MEDIA QUERIES END */
