/* ----- Theme CSS ----- */
header,
nav,
section,
footer,
#Credibility-Container {
    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;

}

.stickyHeader,
.stickyHeader.stickyAnimate {
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;

}

.stickyActive {
    background: rgb(255, 255, 255);
    border-bottom: 1px solid #ccc;
}

#Header {
    min-height: 151px;
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 10px;
}

.logo {
	flex: 0 0 418px;
	width: 418px;
	height: 89px;
	margin: 33px 0 0 0;
	padding-right: 15px;
	border-right: 1px solid #ccc;
}

.logo a,
.logo img {
    display: block;
}

.colorado-logo {
    flex: 0 0 126px;
    width: 126px;
    height: 75px;
    margin: 49px 0 0 15px;
    padding: 0;
}

.colorado-logo a,
.colorado-logo img {
    display: block;
    width: 126px;
    height: 75px;
    margin: 0;
    padding: 0;
}

.appoint {
	flex: 0 0 506px;
	width: 506px;
	height: 96px;
	margin: 40px 0 0 auto;
	padding: 0;
}

.appoint ul {
	display: grid;
	column-gap: 8px;
	row-gap: 6px;
	width: 491px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.appoint li {
    margin: 0;
    padding: 0;
    font: 400 17px/21px var(--headingFont);
}

.appoint li a {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: var(--fontDark);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    padding: 8px 20px;
    align-items: center;
}

.patientPortal {
    grid-column: 1;
    grid-row: 2;
}

.patientPortal a,
.billPay a {
    border: 2px solid #76a3c0;
}


.appoint li.bookAppoint {
    grid-column: 2;
    grid-row: 1;
    font: 400 16px/21px var(--headingFont);
}

.appoint li.bookAppoint a {
    background: var(--themeOneBg);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--fontLight);
}
.appoint li.bookAppoint a:hover{
     background: var(--themeFourBg);
}
.billPay {
    grid-column: 1;
    grid-row: 1;
}


.callAppoint {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
}

.appoint li.callAppoint a {
	font-size: 20px;
	font-weight: 600;
	padding-left: 26px;
	color: var(--fontDark);
}

.appoint li.callAppoint a:hover{
    color: var(--themeFourBg);
}
.appoint li a::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 25px;
    background-repeat: no-repeat;
    background-position: left center;
    transition: transform 0.3s ease, filter 0.3s ease;
    vertical-align: middle;
    margin-right: 8px;
}


.patientPortal a::before {
    background: url(/images/patient-portal-icon.png);
}

.bookAppoint a::before {
    background: url(/images/appoint-icon.png);
}

.billPay a::before {
    background: url(/images/online-bill-pay-icon.png);
}

.appoint li.callAppoint a::before {
    background: url(/images/cal-icon.png) scroll no-repeat;
    height: 21px;
    width: 11px;
}


.patientPortal a:hover,
.billPay a:hover {
    border-color: var(--themeTwoBg);
    color: var(--fontDark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    background: var(--themeTwoBg);
}


.bookAppoint a:hover {
    background: var(--themeTwoBg);
    color: var(--fontLight);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}


.callAppoint a:hover {
    color: var(--themeTwoBg);
}

.appoint li a:hover::before {
    transform: scale(1.08);
}

.bookAppoint a:hover::before {
    filter: brightness(0) invert(1);
}

/* ----- Credibility ----- */
#Credibility {
    padding: 40px 10px 0px 10px;
    text-align: center;
}


#Credibility ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#Credibility li {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 10px 15px;
    margin: 0;
    border-radius: 8px;
    transition: transform 0.35s ease;
}

#Credibility li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#Credibility li img {
    display: block;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

#Credibility li:hover {
    transform: translateY(-5px);
}

#Credibility li:hover img {
    transform: scale(1.06);
}

/* ----- Footer ----- */
footer {
    background: url(/images/footer-bg.jpg) no-repeat center top;
    background-size: cover;
}

#Footer {
    padding: 226px 10px 40px 10px;
    text-align: center;
}

.socLogo {
    padding: 10px 0px 40px 0;
}

.socLogo ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.socLogo li {
    width: 52px;
    height: 52px;
    font: 400 16px/40px var(--siteFont);
}

.socLogo li a {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    color: var(--fontDark);
    background-size: auto;
    transition: all 0.3s ease;
}


.socLogo li a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.socLogo li.facebook a {
    background: url(/images/facebook-icon.png) no-repeat center center;
}

.socLogo li.twitter a {
    background: url(/images/twitter-icon.png) no-repeat center center;
}

.socLogo li.instagram a {
    background: url(/images/instagram-icon.png) no-repeat center center;
}

.socLogo li.youtube a {
    background: url(/images/youtube-icon.png) no-repeat center center;
}

.socLogo li span {
    display: none;
}

.footLinks {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 0px;
}

.footLinks ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
}

.footLinks li {
    font: 400 17px/20px var(--siteFont);
    position: relative;
}



.footLinks a {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 2px 8px;
    color: var(--fontLight);
}

.footLinks a:hover {
    color: var(--themeTwoBg);
}

.copyright {
    padding: 30px 0px;
}

.copyright h2 {
    font: 400 17px/20px var(--siteFont);
    color: var(--fontLight);
}

.footDomain {
    font: 400 17px/26px var(--siteFont);
    color: var(--fontLight);
}

.footDomain a {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    padding: 1px 6px;
    color: var(--fontLight);
    text-decoration: none;
}

.footDomain a:hover {
    color: var(--themeTwoBg);
}

.ypoLogo {
    padding: 30px 0 10px 0px;
}

.ypoLogo a {
    display: block;
}

@media (max-width: 1142px) {
    #Header {
        align-items: center;
        gap: 15px;
    }

    .logo {
        flex: 0 1 399px;
        width: 399px;
        min-width: 0;
        height: auto;
        margin: 0;
    }

    .logo img {
        max-width: 100%;
        height: auto;
    }

    .colorado-logo {
        flex: 0 0 120px;
        width: 120px;
        height: auto;
        margin: 0;
    }

    .colorado-logo a,
    .colorado-logo img {
        width: 100%;
        height: auto;
    }

    .appoint {
        flex: 0 1 460px;
        width: auto;
        height: auto;
        margin: 0 0 0 auto;
    }

    .appoint ul {
        width: 100%;
        column-gap: 10px;
    }

    .appoint li {
        font-size: 16px;
    }

    .appoint li a {
        padding: 8px 10px;
    }

    .appoint li.bookAppoint {
        font: 400 13px/21px var(--headingFont);
    }
}

@media (max-width: 912px) {
    #Header {
        flex-wrap: wrap;
        padding: 20px 15px;
        justify-content: center;
        gap: 15px;
    }

    .logo {
        flex: 0 1 399px;
        width: 399px;
        padding-right: 15px;
    }

    .colorado-logo {
        flex: 0 0 126px;
        width: 126px;
        margin: 0;
    }

    .appoint {
        flex: 1 1 100%;
        max-width: 500px;
        margin: 15px auto 0;
    }

    .appoint ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .appoint li a {
        min-height: 42px;
    }

    #Credibility ul {
        gap: 8px 8px;
    }

    footer {
        background: #083451 url(/images/footer-bg.jpg) no-repeat center top;
        background-size: contain;
    }

    #Footer {
        padding: 94px 10px 40px 10px;
    }
}

@media screen and (max-width: 640px) {
    header {
        position: relative;
    }

    .logo {
        border-right: none;
        padding-right: 0;
    }

    .footLinks a {
        padding: 0px 6px;
    }

    #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: 2px !important;
    }

    .cookie-main li.cookie-content {
        margin: 0px !important;
    }

    #Credibility ul {
        gap: 0;
    }

    #Credibility li {
        min-height: auto;
    }
}

@media screen and (max-width: 514px) {
    .appoint li a::before {
        background-size: contain !important;
    }

    .appoint li a {
        padding: 4px 10px;
    }

    .appoint li.callAppoint a {
        font-size: 16px;
        padding-left: 18px;
    }

    .appoint li.bookAppoint {
        line-height: 17px;
    }

}
