@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:ital,900&display=swap');

:root {
    --uc-green: #5e9732;
    --uc-blue: #00539b;
    --uc-navy-blue: #143157;
    --uc-sky-blue: #7ABEEA;
    --uc-red: #CF2E2E;
}

#sticky-cta {
    position: fixed;
    z-index: 99999;
    top: auto;
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    width: max-content;
    background-color: rgba(255, 255, 255, 0.92);
    box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.12);
    border-radius: 200px;
    backdrop-filter: blur(3px);
}

#sticky-cta #sticky-cta-wrapper {
    gap: 18px;
    width: fit-content;
    max-width: fit-content;
    padding: 20px 34px;
}

#sticky-cta #sticky-cta-wrapper:has(span) {
    padding-bottom: 7px;
}

#sticky-cta #appointment-online span {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 16px;
}

/* Buttons */

#sticky-cta a.uc-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    height: fit-content;
    padding: 6px 22px 8px 22px;
    border-radius: 200px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    border-width: 3px;
    border-style: solid;
    border-color: transparent;
    user-select: none;
    transition: all 100ms ease;
}

#sticky-cta a.uc-btn:hover {
    transform: scale(1.025);
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.25);
}

#sticky-cta a.uc-btn.disabled {
    pointer-events: none;
    opacity: 0.3;
    cursor: not-allowed;
}

#sticky-cta a.uc-btn.uc-btn-outline {
    background-color: transparent;
    border-color: var(--uc-blue);
    color: var(--uc-blue);
}

#sticky-cta a.uc-btn.uc-btn-green {
    background-color: var(--uc-green);
    color: #fff;
}

#sticky-cta .bold-blue-link {
    font-weight: 700;
    color: var(--uc-blue);
    font-size: 24px;
    line-height: 36px;
    max-width: fit-content;
    font-family: "Source Sans Pro", sans-serif;
}

/* Make an Appointment page */
body.page-id-499 #sticky-cta {
    display: block !important;
    z-index: 9999;
}

body.page-id-499 #sticky-cta .row #sticky-cta-wrapper > a {
    order: 2;
}

body.page-id-499 #sticky-cta .row #sticky-cta-wrapper > #appointment-online {
    order: 1;
}
