/* ----- Theme CSS ----- */
header,
nav,
section,
footer,
#Credibility,
#Map-Container{
    width: 100%;
    margin: 0px;
    padding: 0px;
    position: relative;
}

#Header,
#Footer,
#Credibility,
#Main-Menu,
#Map-intra{
    max-width: 1170px;
    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: fixed;
}
#Header-Container.stickyActive {
	 background: var(--themeThreeBg); 
}

#Header {
    padding: 25px 5px 30px;
}
#Header .flexDiv {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.logo ul {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo li {
    list-style: none;
}
.logo img {
     display: block; 
    max-width: 100%;
    height: auto;
}
.logo li:last-child {
    padding-left: 10px;
    border-left: 1px solid #3d4d65;
    margin-right: 10px;
}
.flexCell.appoint {
    top: 9px;
    position: relative;
}
.appoint > ul {
    display: grid;
    grid-template-columns: 167px 172px 302px;
    grid-template-rows: 40px 40px;
    column-gap: 10px;
    row-gap: 10px;
    margin: 0;
    padding: 0;
}
.appoint > ul > li:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
.appoint li {
    list-style: none;
    font: 400 16px/30px var(--headingFont);
}
.appoint li a {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: #fff;
    border-radius: 10px;
    transition: 0.3s;
    text-align: left;
}

.appoint li:nth-child(1) a, .appoint li:nth-child(2) a {
    border: 1px solid #828d9c;
     border-radius: 12px;
}
.appoint li:nth-child(1) a::before {
    background: url(/images/online-pay-icon.png) no-repeat center center;
}
.appoint li a:hover {
    background: #fff;
    color: #000;
    transform: translateY(2px);
}
.appoint li.callAppoint a:hover {
    background: none;
    color: var(--themeOneBg);
}
.appoint li:nth-child(1) a:hover::before {
    background: url(/images/online-pay-icon-h.png) no-repeat center center;
    transform: translateY(2px);

}
.appoint > ul > li:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
.appoint li:nth-child(2) a:before {
    background: url(/images/patient-portal-icon.png) no-repeat center center;
}
.appoint li:nth-child(2) a:hover:before {
    background: url(/images/patient-portal-icon-h.png) no-repeat center center;
}
.appoint li a::before {
    content: '';
    display: inline-block;
    vertical-align: text-top;
    width: 21px;
    height: 25px;
    margin-right: 10px;
}
.callAppoint {
    grid-column: 3;
    grid-row: 2;
}
.callAppoint a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font: 600 18px/40px var(--headingFont);
    padding: 8px 31px !important;
}
.appoint .callAppoint a::before {
    content: '';
    width: 17px;
    height: 18px;
    margin-right: 10px;
    background: url(/images/call-appoint-img.png) no-repeat center;
    background-size: contain;
}
.appoint .bookAppoint {
    grid-column: 3;
    grid-row: 1;
}
.appoint .bookAppoint {
    grid-column: 3;
    grid-row: 1;
}
.appoint .bookAppoint a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--themeOneBg);
    color: var(--fontDark);
    text-transform: uppercase;
    font: 600 16px/31px var(--headingFont);
}
.bookAppoint a::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: url(/images/book-appoint-img.png) no-repeat center;
    background-size: contain;
}
/* ----- Credibility ----- */
#Credibility {
    padding: 20px 0px 20px 0px;
    text-align: center;
}
#Credibility ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
#Credibility li {
    padding: 5px 0px;
}

#Credibility li a {
    width: 98%;
    display: block;
    margin: 0px auto;
}

/* ----- Footer ----- */
#Credibility {
    padding: 20px 0px 16px 0px;
    text-align: center;
}
#Credibility ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 46px;
    align-items: center;
    justify-content: center;
    padding: 39px 0px;
}
#Credibility li {
    padding: 5px 20px 0px 20px;
}
#Credibility li a {
    display: block;
    margin: 0px auto;
}
/* Map Container */
#Map-Container {
    background: url(/images/map-bg.jpg) no-repeat center top;
}
#Map-intra {
    min-height: 748px;
}
/* =========================================
   LOCATIONS & DIRECTIONS
   ========================================= */

.locationsSection {
    width: 655px;
    height: 650px;
    padding: 48px 20px 30px;
    box-sizing: border-box;
    background: #fff;
    top: 59px;
    position: relative;
    left: 5px;
    border-radius: 10px;
}

.locationsInner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}
.locationHeading {
    text-align: center;
    margin-bottom: 29px;
}

.locationHeading span {
    display: block;
    margin-bottom: 10px;
    color: #005486;
    font: 500 18px / 23px var(--siteFont);
    letter-spacing: 5px;
}

.locationHeading h2 {
    margin: 0;
font: 600 45px / 53px var(--headingFont);
    padding-top: 10px;
}


/* =========================================
   LOCATIONS
   ========================================= */

.locationsList {
    width: 100%;

    display: flex;
    align-items: stretch;
    justify-content: center;
}

.locationBox {
    width: 50%;
    box-sizing: border-box;

    padding: 0 20px;

    text-align: center;
}

.locationBox + .locationBox {
    border-left: 1px solid #d9d9d9;
}
.locationImage {
    display: block;
    width: 100%;
    margin: 0 auto 28px;
}
.locationAddress {
    min-height: 46px;
    font: 400 16px / 23px var(--siteFont);
}
.directionsLink {
    display: inline-block;
    margin-top: 25px;
    padding-bottom: 2px;
    font: 400 17px / 23px var(--siteFont);
    color: #ff0000;
    text-decoration: none;
    border-bottom: 1px solid #ff2c2c;
    transition: all 0.25s ease;
}

.directionsLink:hover {
    color: #008f3c;
    border-color: #008f3c;
}


/* =========================================
   OFFICE HOURS
   ========================================= */

.officeHours {
    margin-top: 25px;

    text-align: center;

   font: 400 16px / 26px var(--siteFont);
}

.officeHours strong {
    font: 600 16px / 26px var(--siteFont);
}


/* =========================================
   CONTACT DETAILS
   ========================================= */

.contactDetailsF {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 19px;
    position: relative;
}
.contactItem {
    display: flex;
    align-items: center;
    gap: 3px;
    font: 400 16px / 26px var(--siteFont);
    color: #111;
    text-decoration: none;
    white-space: nowrap;
}

.contactIcon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 18px;
    flex: 0 0 17px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.callFoot .contactIcon {
    background: url(/images/callFoot-icon.png) no-repeat left center;
}

.callFax .contactIcon {
    background: url(/images/callFax-icon.png) no-repeat left center;
}

.callFax {
    position: relative;
    padding-left: 17px;
}

.callFax::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 1px;
    height: 20px;
    background: #d0d0d0;
    transform: translateY(-50%);
}
.contactDetailsF .phoneLink {
    padding-right: 28px;
}
.callFax span {
    padding-left: 3px;
}
.appointmentWrap {
       margin-top: 16px;
    text-align: center;
}
.appointmentWrap a {
    color: var(--fontDark);
    background: var(--themeOneBg);
    font: 600 17px/50px var(--siteFont);
    text-transform: uppercase;
    padding: 14px 14px;
    text-align: center;
    border-radius: 10px;
}
.appointmentWrap a:hover {
    background: var(--themeTwoBg);
    color: #fff;
}
.appointmentWrap a:hover::before {
    filter: invert(1);
}
.appointmentWrap a::before {
    background: url(/images/book-appoint-img.png) no-repeat center center;
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 19px;
    height: 26px;
    margin-right: 10px;
}
/* Footer */
footer {
  background:var(--themeThreeBg);
}

#Footer {
    padding: 81px 0px 40px 0px;
    text-align: center;
}

.socLogo {
  padding: 10px 0px;
}

.socLogo ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.socLogo li {
  width: 40px;
  height: 40px;
  font: 400 16px/40px var(--siteFont);
}

.socLogo li a {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 10px;
  color: var(--fontLight);
}

.socLogo li a:hover {
  background: var(--themeTwoBg);
    transform: rotate(9deg);
}

.socLogo li a::before {
  font-size: 23px;
}
.socLogo li.twitter a::before {
  content: "";
  background: url(/images/twitter-logo.png) no-repeat center center;
  display: block;
  height: 100%;
  background-size: auto;
}
.socLogo li span {
  display: none;
}
.socLogo li.instagram a::before {
  content: "";
  background: url(/images/insta-logo.png) no-repeat center center;
  display: block;
  height: 100%;
  background-size: auto;
}
.footLinks {
    text-align: center;
    padding: 12px 0px;
    border-top: 1px solid #647284;
    border-bottom: 1px solid #647284;
}

.footLinks ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 1px;
}

.footLinks li {
  font: 400 17px/17px var(--siteFont);
  position: relative;
    letter-spacing: 1px;
}

.footLinks li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  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: 10px;
  color: var(--fontLight);
}

.footLinks a:hover {
  color: var(--themeOneBg);
}
.copyright {
    padding: 28px 0px 20px 0px;
}

.copyright h2,.footDomains {
  font: 300 17px/26px var(--siteFont);
    color: var(--fontLight);
    letter-spacing: 1px;
}
.ypoLogo {
    padding: 40px 0px 10px 0px;
}

.ypoLogo a {
  display: block;
}
@media screen and (max-width:1170px) {
     .appoint > ul {
        grid-template-columns: 150px 155px 260px;
        column-gap: 8px;
    }

    .appoint li a {
        padding: 8px 12px;
        white-space: nowrap;
    }
     .locationsSection {
        width: 100%;
        max-width: 655px;
        height: auto;
        left: 0;
        top: 30px;
        padding: 45px 20px 35px;
    }

    .locationHeading h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .locationBox {
        padding: 0 15px;
    }


}
@media screen and (max-width:1024px) {
     #Header-Container {
        position: relative;
        background: var(--themeThreeBg);
    }

    #Header .flexDiv {
        flex-direction: column;
        gap: 25px;
    }

    .appoint .headerSocial a {
        min-height: auto;
    }

    .flexCell.appoint {
        top: 0;
    }

    .appoint .headerSocial {
        margin-top: 10px;
    }

    .appoint ul {
        max-width: 700px;
        margin: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .appoint li:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .bookAppoint {
        grid-column: 2;
        grid-row: 1;
    }

    .appoint li:nth-child(2) {
        grid-column: 1;
        grid-row: 2;
    }

   .callAppoint {
        grid-column: 1 / 4;
        grid-row: 2;
        justify-self: center;
        display: flex;
        justify-content: center;
        text-align: center;
    }
   
}
@media screen and (max-width: 980px) {
    .locationsSection {
        width: 100%;
        max-width: 100%;
        height: auto;
        top: 20px;
        left: 0;
        padding: 40px 20px 35px;
    }

    .locationHeading {
        margin-bottom: 25px;
    }

    .locationHeading span {
        font-size: 17px;
        line-height: 22px;
        letter-spacing: 4px;
    }

    .locationHeading h2 {
        font-size: 38px;
        line-height: 46px;
    }

    .locationImage {
        margin-bottom: 22px;
    }

    .locationAddress {
        font-size: 16px;
        line-height: 23px;
    }

    .directionsLink {
        margin-top: 20px;
        font-size: 16px;
    }

    .officeHours {
        margin-top: 22px;
        font-size: 15px;
        line-height: 25px;
    }

    .officeHours strong {
        font-size: 15px;
        line-height: 25px;
    }

    .contactDetailsF {
        margin-top: 17px;
    }

    .contactItem {
        font-size: 15px;
        line-height: 24px;
    }

    /* Reset fixed icon positions */
    .callFoot .contactIcon::before,
    .callFax .contactIcon::before {
        position: static;
        left: auto;
        right: auto;
        display: inline-block;
    }

    .appointmentWrap {
        margin-top: 18px;
    }

}
@media screen and (max-width: 800px) {
    .locationsSection {
        top: 0;
        padding: 35px 18px 30px;
    }

    .locationHeading {
        margin-bottom: 22px;
    }

    .locationHeading span {
        font-size: 16px;
        line-height: 21px;
        letter-spacing: 3px;
    }

    .locationHeading h2 {
        font-size: 34px;
        line-height: 42px;
    }

    .locationBox {
        padding: 0 12px;
    }

    .locationImage {
        margin-bottom: 20px;
    }

    .locationAddress {
        font-size: 15px;
        line-height: 22px;
    }

    .directionsLink {
        margin-top: 18px;
        font-size: 15px;
    }

    .officeHours {
        margin-top: 20px;
        font-size: 15px;
        line-height: 24px;
    }

    .officeHours strong {
        font-size: 15px;
        line-height: 24px;
    }

    .contactDetailsF {
        flex-wrap: wrap;
    }

    .contactItem {
        font-size: 15px;
    }

    .appointmentWrap {
        margin-top: 18px;
    }

    .appointmentWrap a {
        font-size: 16px;
        line-height: 46px;
        padding: 12px 13px;
    }
}
@media screen and (max-width: 767px) {
    .appoint .bookAppoint a {
 width: 300px;
    max-width: 90%;
    margin: 0 auto;
    }
    #Header {
        padding: 20px 20px 20px;
    }

    .appoint > ul {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .appoint > ul > li:nth-child(1),
    .appoint > ul > li:nth-child(2) {
        width: calc(50% - 4px);
    }

    .appoint .bookAppoint,
    .appoint .callAppoint {
        width: 100%;
    }

    .appoint li a {
        justify-content: center;
        white-space: nowrap;
    }
}
@media screen and (max-width: 640px) {
    .logo li:last-child {
        border-left: none;
        padding: 10px;
    }
         .logo ul {
        flex-direction: column;
        gap: 0px;
        text-align: center;
    }

     .locationsSection {
        width: 100%;
        padding: 30px 15px 28px;
        border-radius: 8px;
    }

    .locationHeading {
        margin-bottom: 25px;
    }

    .locationHeading span {
        font-size: 15px;
        line-height: 20px;
        letter-spacing: 2.5px;
    }

    .locationHeading h2 {
        padding-top: 7px;
        font-size: 30px;
        line-height: 38px;
    }

    .locationsList {
        flex-direction: column;
        gap: 30px;
    }

    .locationBox {
        width: 100%;
        padding: 0;
    }

    .locationBox + .locationBox {
        padding-top: 30px;
        border-left: 0;
        border-top: 1px solid #d9d9d9;
    }

    .locationImage {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 18px;
    }

    .locationAddress {
        min-height: auto;
        font-size: 15px;
        line-height: 22px;
    }

    .directionsLink {
        margin-top: 17px;
        font-size: 15px;
    }

    .officeHours {
        margin-top: 18px;
        font-size: 14px;
        line-height: 23px;
    }

    .officeHours strong {
        font-size: 14px;
        line-height: 23px;
    }

    .contactDetailsF {
        gap: 8px;
        margin-top: 16px;
    }

    .contactItem {
        font-size: 14px;
        line-height: 23px;
    }

    /* Remove fixed icon positioning */
    .callFoot .contactIcon::before,
    .callFax .contactIcon::before {
        position: static;
        left: auto;
        right: auto;
    }

    .appointmentWrap {
        margin-top: 18px;
    }

    .appointmentWrap a {
        display: inline-block;
        font-size: 15px;
        line-height: 24px;
        padding: 11px 13px;
    }

    .appointmentWrap a::before {
        width: 18px;
        height: 24px;
        margin-right: 7px;
    }
    header {
        position: relative;
    }

    .footLinks a {
        padding: 5px 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;
    }
}
@media screen and (max-width: 480px) {
    .copyright h2, .footDomains {
        padding: 10px;
    }

.locationsSection {
        padding: 28px 12px 25px;
    }

    .locationHeading {
        margin-bottom: 22px;
    }

    .locationHeading span {
        font-size: 14px;
        line-height: 19px;
        letter-spacing: 2px;
    }

    .locationHeading h2 {
        padding-top: 5px;
        font-size: 27px;
        line-height: 35px;
    }

    .locationsList {
        gap: 25px;
    }

    .locationBox + .locationBox {
        padding-top: 25px;
    }

    .locationImage {
        max-width: 270px;
        margin-bottom: 16px;
    }

    .locationAddress {
        font-size: 14px;
        line-height: 21px;
    }

    .directionsLink {
        margin-top: 15px;
        font-size: 14px;
    }

    .officeHours {
        margin-top: 16px;
        font-size: 14px;
        line-height: 22px;
    }

    .officeHours strong {
        font-size: 14px;
        line-height: 22px;
    }

    .contactDetailsF {
        gap: 6px;
        margin-top: 14px;
    }

    .contactItem {
        font-size: 14px;
        line-height: 22px;
    }

    .appointmentWrap {
        margin-top: 16px;
    }

    .appointmentWrap a {
        font-size: 14px;
        line-height: 22px;
        padding: 10px 12px;
        border-radius: 8px;
    }
}