/* ----- Theme CSS ----- */
header,
nav,
section,
footer {
    width: 100%;
    margin: 0px;
    padding: 0px;
    position: relative;
}

#Header,
#Footer,
#Credibility,
#Main-Menu {
    max-width: 1200px;
    min-width: 300px;
    margin: 0px auto;
    padding: 0px;
    position: relative;
}

/* Selection CSS */
#Container ::selection {
    background: var(--themeOneBg);
    color: var(--fontLight);
}

/* Scroller CSS */
#Scroller a {
    background: var(--fontLight);
    border: 2px solid var(--themeOneBg);
    color: var(--fontDark);
    border-radius: 50%;
    box-shadow: inset 0 0 5px 2px rgba(0, 0, 0, 0.1);
}

/* Scroller CSS */
#gdpCookie,
#gdp_popup .cc-cp-foot-byline {
    font: 400 14px/20px var(--siteFont) !important;
}

/* ----- Header ----- */
/* .stickyHeader {
  position: sticky !important;
  position: -webkit-sticky !important;
  position: -moz-sticky !important;
  position: -ms-sticky !important;
  position: -o-sticky !important;
} */
#Header-Container {
    position: absolute;
    z-index: 99;
}

#Header {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    padding: 20px 10px;
    width: 300px;
}

.logo a {
    display: block;
}

.headerRight {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
    margin-left: auto;
}

.appoint {
    flex: 0 1 auto;
}

.appoint > ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.appoint li {
    text-transform: uppercase;
    font: 600 15px/20px var(--siteFont);
}

.appoint li a {
    display: block;
    padding: 5px 10px;
}

.appoint li a:hover {
    color: var(--themeOneBg);
}

.appoint li a::before {
    content: '';
    display: inline-block;
    vertical-align: text-top;
    width: 24px;
    height: 23px;
    margin-right: 5px;
    transition: ease .2s all;
}

.appoint li a:hover::before {
    transform: translateY(-2px);
}

.callAppoint a::before {
    background: url(/new-images/call-icon.png) no-repeat center center;
}

.patientportal a::before {
    background: url(/new-images/patient-portl-icon.png) no-repeat center center;
}

.bookAppoint a::before {
    background: url(/new-images/appointment-icon.png) no-repeat center center;
}

.headerMenu {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}



/* ----- Credibility ----- */
#Credibility {
    padding: 36px 10px 123px 10px;
    text-align: center;
}

#Credibility {
    width: 100%;
}

#Credibility ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#Credibility ul li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#Credibility ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#Credibility ul li img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

#Credibility ul li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(69, 66, 62, 0.16);
}

#Credibility ul li a:hover img {
    transform: scale(1.04);
}

#Credibility ul li a:focus-visible {
    outline: 2px solid #0065a0;
    outline-offset: 4px;
}

/* ----- Footer ----- */
footer {
    background: var(--themeTwoBg);
}

#Footer {
    padding: 40px 10px;
    text-align: center;
}

.footerLogo {
    margin-top: -136px;
}

.footerHead {
    font: 400 48px/52px var(--headingFont);
    text-transform: none;
    color: var(--fontLight);
    padding-top: 10px;
}

.footerAdd {
    font: 400 18px/40px var(--siteFont);
    color: var(--fontLight);
    padding: 12px 0 21px 0;
}

.footerQuicklinks ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 33px 0;
    list-style: none;
    width: 100%;
    border-top: 1px solid #3c3c40;
    border-bottom: 1px solid #3c3c40;
}

.footerQuicklinks ul li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 25%;
    padding: 0 20px;
    font: 400 20px/25px var(--siteFont);
    color: var(--fontLight);
}

/* Dividers */
.footerQuicklinks ul li + li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 40px;
    background: #4e4d51;
    transform: translateY(-50%);
}

/* Icons */
.footerQuicklinks ul li::before {
    content: "";
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
}

.footerQuicklinks .footCall::before {
    background: url(/new-images/call-icon.png) no-repeat center;
    width: 17px;
    flex-basis: 17px;
}

.footerQuicklinks .footFax::before {
    background: url(/new-images/fax-icon.png) no-repeat center;
}

.footerQuicklinks .footHour::before {
    background: url(/new-images/office-hours-icon.png) no-repeat center;
    width: 21px;
    flex-basis: 21px;
}

.footerQuicklinks .footDir::before {
    background: url(/new-images/directions-icon.png) no-repeat center;
    width: 31px;
    height: 33px;
    flex-basis: 31px;
}

/* Links */
.footerQuicklinks li a {
    color: var(--fontLight);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover */
.footerQuicklinks li:hover,
.footerQuicklinks li:hover a {
    color: var(--themeOneBg);
}

.footerQuicklinks li:hover::before {
    transform: translateY(-2px) scale(1.08);

}

.socLogo {
    padding: 39px 0 25px 0;
}

.socLogo ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 43px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.socLogo li {
    width: 40px;
    height: 40px;
    font: 400 16px/40px var(--siteFont);
}

.socLogo li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socLogo li a::before {
    font-size: 30px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Twitter image icon */
.socLogo li.twitter a::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url(/new-images/twitter-icon.png) no-repeat center center;
    background-size: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.socLogo li.twitter a:hover::before {
    background: url(/new-images/twitter-icon-h.png) no-repeat center center;
}

.socLogo li span {
    display: none;
}

.socLogo li a:hover {
    background: var(--themeTwoBg);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.socLogo li a:hover::before {
    color: var(--themeOneBg);
    transform: scale(1.12);
}

.socLogo li.twitter a:hover::before {
    transform: scale(1.12);
}

.socLogo li a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.footLinks {
    text-align: center;
    padding: 0 0 15px 0px;
}

.footLinks ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 8px;
}

.footLinks li {
    font: 400 14px/20px var(--siteFont);
    position: relative;
    text-transform: uppercase;
}

.footLinks li:not(:last-child)::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--themeOneBg);
    border: 1px solid #000;
    position: absolute;
    z-index: 0;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}

.footLinks a {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 0px 8px;
    color: var(--fontLight);
}

.footLinks a:hover {
    color: var(--themeOneBg);
}

.copyright {
    padding: 10px 0 20px 0px;
}

.copyright h2 {
    font: 400 14px/20px var(--siteFont);
    text-transform: uppercase;
    color: var(--fontLight);
}

.footDoamin {
    font: 400 14px/24px var(--siteFont);
    text-transform: uppercase;
    color: var(--fontLight);
    padding-bottom: 15px;
}

.footDoamin a:hover,
.copyright h2 a:hover {
    color: var(--themeOneBg);
}

.ypoLogo {
    padding: 10px 0px;
}

.ypoLogo a {
    display: block;
}

@media screen and (max-width: 1127px) {
    .logo {
        width: 26%;
    }

    .appoint li {
        text-transform: uppercase;
        font: 600 14px/20px var(--siteFont);
    }

    .headerRight {
        gap: 5px;
    }
}

@media screen and (max-width: 979px) {
    .appoint li {
        font: 600 13px/20px var(--siteFont);
    }

    #Header {
        gap: 7px;
    }

    .headerRight {
        gap: 5px;
        flex-direction: column;
    }

    .appoint {
        order: 2;
    }

    .headerMenu {
        order: 1;
        margin-left: auto;
    }

    .footerQuicklinks ul {
        flex-wrap: wrap;
        padding: 0;
    }

    .footerQuicklinks ul li {
        width: 50%;
        min-height: 82px;
        padding: 18px 25px;
        font-size: 18px;
        line-height: 24px;
    }


    .footerQuicklinks ul li + li::after {
        display: none;
    }


    .footerQuicklinks ul li:nth-child(even)::after {
        display: block;
        left: 0;
        top: 50%;
        width: 1px;
        height: 40px;
        background: #4e4d51;
        transform: translateY(-50%);
    }


    .footerQuicklinks ul li:nth-child(n + 3)::before {}

    .footerQuicklinks ul li:nth-child(n + 3) {
        border-top: 1px solid #3c3c40;
    }

    #Credibility ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 20px;
    }

    #Credibility ul li {
        flex: 0 0 calc(33.333% - 14px);
    }

    #Credibility ul li a {
        min-height: 70px;
    }

    #Credibility ul li img {
        max-height: 62px;
    }
}

@media screen and (max-width: 767px) {
    #Header {
        flex-direction: column;
    }

    .logo {
        width: 300px;
    }

    .headerRight {
        margin-left: 0;
        width: 100%;
    }

    .headerMenu {
        position: absolute;
        top: 27px;
        right: 0;
    }

    .appoint > ul {
        justify-content: center;
        padding-bottom: 10px;
    }

    .footerQuicklinks ul {
        display: block;
        padding: 0;
    }

    .footerQuicklinks ul li {
        width: 100%;
        min-height: 65px;
        justify-content: flex-start;
        padding: 15px 20px;
        font-size: 17px;
        line-height: 22px;
        text-align: left;
    }


    .footerQuicklinks ul li + li::after {
        display: none;
    }


    .footerQuicklinks ul li + li {
        border-top: 1px solid #3c3c40;
    }

    .footerQuicklinks ul li::before {
        flex: 0 0 24px;
        width: 24px;
        height: 25px;
    }

    .footerQuicklinks .footCall::before {
        flex-basis: 20px;
        width: 20px;
    }

    .footerQuicklinks .footHour::before {
        flex-basis: 22px;
        width: 22px;
    }

    .footerQuicklinks .footDir::before {
        flex-basis: 28px;
        width: 28px;
        height: 30px;
    }

    #Credibility ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 15px;
    }

    #Credibility ul li {
        width: 100%;
        min-width: 0;
    }

    #Credibility ul li a {
        min-height: 65px;
    }

    #Credibility ul li img {
        max-width: 90%;
        max-height: 60px;
    }
}

@media screen and (max-width: 640px) {
    #Header-Container {
        position: static;
    }

    header {
        position: relative;
    }

    .logo {
        padding: 20px 10px 10px 10px;
    }

    .footLinks li {
        font: 400 14px/17px var(--siteFont);
    }

    .footLinks a {
        padding: 0px 10px;
    }

    #gdpCookie,
    #gdp_popup .cc-cp-foot-byline {
        font: 400 12px/20px var(--siteFont) !important;
    }

    .cookie-main {
        padding: 5px !important;
        line-height: unset !important;
        margin: 0px !important;
    }

    .cookie-main p {
        padding: 0px 0px 5px 0px !important;
        margin: 0px !important;
    }

    .cookie-main li.cookie-button a {
        margin: 0px !important;
    }

    .cookie-main li.cookie-content {
        margin: 0px !important;
    }

    .socLogo ul {
        gap: 9px;
    }

    .footerHead {
        font: 400 36px/46px var(--headingFont);
    }

    .footerQuicklinks ul li:nth-child(2n)::after {
        display: none;
    }

    #Credibility ul {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    #Credibility {
        padding: 16px 10px 100px 10px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        margin-right: auto;
        padding: 15px 10px;
        width: 70%;
    }

    #Header {
        gap: 0;
    }

    .footerQuicklinks ul li {
        min-height: 60px;
        padding: 14px 15px;
        gap: 12px;
        font-size: 16px;
        line-height: 21px;
    }

    .footerQuicklinks ul li::before {
        flex: 0 0 22px;
        width: 22px;
        height: 23px;
    }

    .footerQuicklinks .footCall::before {
        flex-basis: 18px;
        width: 18px;
    }

    .footerQuicklinks .footDir::before {
        flex-basis: 25px;
        width: 25px;
        height: 28px;
    }

    #Credibility ul {
        gap: 10px 0px;
    }

    #Credibility ul li a {
        min-height: 60px;
    }

    #Credibility ul li img {
        max-width: 95%;
        max-height: 55px;
    }

    .appoint li a {
        padding: 5px;
    }

}

@media screen and (max-width: 460px) {
    .appoint li a::before {
        vertical-align: central;
        margin-right: 0px;
    }

    .appoint li {
        font: 600 11px/20px var(--siteFont);
    }

    .callAppoint a::before {
        background-size: 50%;
    }

    .patientportal a::before {
        background-size: 70%;
    }

    .bookAppoint a::before {
        background-size: 60%;
    }
}
@media screen and (max-width: 360px) {
    .appoint li {
        font: 600 10px/16px var(--siteFont);
    }
    .appoint li a {
	padding: 2px;
}
}