/*GENERAL*/
/*Colours: #f2f2f3 (apple light grey), #fff (apple white), #eeeeee (current grey)*/


* {
    font-family: Arial, Roboto, sans-serif;
    margin: 0;
    line-height: 28px;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
}  
body {
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

a, .header-menu i{
    text-decoration:none;
    color: #254336;
}

a{
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a:hover, .sidebar-item a{
    color:#6c8f50;
    transition-duration: 400ms;
    transition-timing-function:ease;
}

.grey-hr {
    border: none;
    border-top: 1px solid #e0e0e0;
}

.d-block {
    display: block;
}

.w-100 {
    width: 100%;
}

ul {
    list-style-type: none;
}

.centerText {
    text-align: center;
}

.hidden {
    opacity: 0;
    filter: blur(px);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transition: all 1s;
}

.hidden.oneY {
    transform: translateY(50%);
}
.show.oneY {
    transform: translateY(0);
}

.hidden.twoX {
    transform: translateX(-70%);
}
.show.twoX {
    transform: translateX(0);
}

.offerings-item-wrapper:nth-child(2) .offerings-item {
    transition-delay: 100ms;
}
.offerings-item-wrapper:nth-child(3) .offerings-item {
    transition-delay: 300ms;
}
.offerings-item-wrapper:nth-child(4) .offerings-item {
    transition-delay: 500ms;
}

/*SCROLL BUTTON*/
#scrollButton {
    display: none;
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    right: 30px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0px;
    border-radius: 10px;
    background-color: #254336;
    color: white;
    height:60px;
    width:60px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#scrollButton.show {
    opacity:1;
    visibility: visible;
}
#scrollButton i{
    font-size: 32px;
}
#scrollButton:hover {
    background-color: #6c8f50;
}

/*HEADER*/
.nav-section {
    width: 100%;
    height: 110px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    gap: 2rem;
    list-style-type:none;
    align-items:center;
    padding: 0 50px 0 50px;
    width: 100%;
    font-size: 20px;
}
.header-logo {
    flex: 1;
}
.header-logo img{
    height:100px;
    width: auto;
    display: inline-block;
}
@media (max-width: 500px) {
    .header-logo img {
        width: auto;
        height: 50px;
    }
}
@media (max-width: 450px) {
    .nav-container {
        padding: 30px 40px;
        gap: 1rem;
        font-size: 15px;
    }
}
@media (max-width: 320px) {
    .nav-container {
        padding: 25px 15px;
    }
}

/*SIDEBAR*/
.green-line {
    border-top: 10px solid #0c5a38;
    z-index: 2000;
    position: relative;
}

.sidebar{
    height: 100%;
    width: 0;
    z-index: 100;
    position: fixed;
    background-color: #fcfcfc;
    overflow-x: hidden; /*disables horizontal scroll*/
    padding-top: 60px;
    transition: 0.5s ease;
    list-style-type:none;
    list-style: none;
    left: 0;
    border-right: 1px solid #e0e0e0; /* Right border */
}

.sidebar-ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    font-family: Inter, Roboto, sans-serif;
    padding: 0;
    margin: 0;
}

.sidebar a{
    text-decoration: none;
    font-size: 20px;
    display: block;
    transition: 0.3s;
    text-align:left;
    list-style-type:none;
    list-style: none;
    color: #3d443d;
}

.sidebar-item {
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 5px 15px;
}

.sidebar-item-text:hover {
    background-color: #f0f0f0;
}

.sidebar-item-text {
    transition: opacity 0.3s;
    padding: 10px 10px;
    display: block;
    border-radius: 10px;
}

.closeButton {
    position:absolute;
    top: 0;
    right: 25px;
    font-size: 36px !important;
    padding-top: 20px;
}

.sidebar-header {
    position:absolute;
    top: 18px;
    padding-top: 30px;
    left: 25px;
    font-size: 25px;
    color:#0c5a38
}

.sidebar-line {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 58px 15px 10px 15px;
}

@media screen and (max-height: 450px) {
    .sidebar {padding-top: 35px;}
    .sidebar a {
        font-size: 15px;
    }
}

/*TOP IMAGE*/

.upper-image {
    position: relative;
    text-align: center;
}

.upper-image img{
    display: block;
    width: 100%;
    height: 690px;
    filter: brightness(55%);
}

.carousel-iframe {
    margin: 0;
    padding: 0;
    display: block;
}

/*SERVICES CARD*/

.offerings-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
    gap: 4rem;
    align-items:flex-start;
    background-color: #f2f2f3;
    padding: 170px 0px;
}

.offerings-item {
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content: flex-start;
    text-align:center;
    border-radius: 1rem;
    background-color: white;
    height: 25rem;
    width: 15rem;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}



.offerings-item-wrapper {
    /* Initial state */
    transition: transform 0.3s ease;
}

.offerings-item-wrapper:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.offerings-logo img{
    height: auto;
    width: 70px;
    padding-top: 10px;
    color: #0c5a38;
}

.offerings-text {
    font-family: Arial, "Roboto", sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #0c5a38;
    margin-top: 20px;
    text-align: center;
}

.offerings-desc {
    text-align: center;
    padding:1rem;
    color: rgb(70, 70, 70);
}

/*SMALL ABOUT*/

.summary {
    background-color: #fff;
    padding: 50px 0px;
}

.summary h1 {
    color:#0c5a38;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
}

.summary h2 {
    color:#0c5a38;
    font-size: 35px;
    line-height: 1.2;
    font-weight: 700;
}

.summary hr {
    border: none;
    background-color: #f2f2f3;
    height: 2px;
    max-width: 1160px;
    margin: 0 auto;
}

.summary-top p{
    padding: 10px 0px;
}

.summary-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items:center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 40px 20px 80px 20px;
    margin: 0 auto;
}

.summary-left, .summary-right {
    flex: 0 0 45%;
    max-width: 45%;
}
.summary-right img{
    margin: 0 auto;
}
.summary-left p{
    text-align: left;
    margin-top: 10px;
    color: rgb(32, 32, 32)
}

@media (max-width: 768px) {
    .summary-left, .summary-right {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

/*REVIEWS*/
.reviews-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 90px 20px;
}
.reviews-header{
    color:#0c5a38;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}
.reviews-item {
    font-family: arial;
    font-size: 17px;
}

/*GOOGLE MAPS*/
.location-section {
    background-color: #f2f2f3;
}

.location-container {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 60px 20px 90px 20px;
    margin: 0 auto;
}

.location-header {
    color: #0c5a38;
    align-self: flex-start;
    font-size: 25px;
    font-weight: 700;
}

.google-maps {
    text-align: center;
}

/*FOOTER*/
.contact-container {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content:center;
    align-items: flex-start;
    color: white;
    padding: 45px 0px;
}

.contact-item {
    flex: 0 0 20%;
}

@media (max-width: 800px) {
    .contact-item {
        flex: 0 0 40%;
    }
}
@media (max-width: 460px) {
    .contact-item {
        flex: 0 0 80%;
    }
}

.contact-item-head {
    font-size: 25px;
}

.contact-item-info a{
    color: white;
}
.hours-table td, th{
    border-bottom: 1px solid #646e69;
}

footer {
    background-color: #313b47;
    color: #fff;
} /*#313b47 - NEW
 #495057 - OLD*/

.copyright{
    padding: 10px 10px;
    text-align: center;
    margin: 0 auto;
}

.copyright img{
    margin: 0px auto;
    height: 130px;
    width: auto;
}

/*ABOUT US . HTML*/

.about-us-section {
    background-color: #fff;
}

.about-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 70px 20px;
    gap: 1.5rem;
}

.about-us-header {
    color:#0c5a38;
    padding: 5px 0px;
}

.about-us-container img{
    border-radius: 20px;
    padding: 10px 0px;
    width: auto;
    height: auto;
}

/*PHARMACY FIRST . HTML*/

.pf-header h1{
    padding-bottom: 10px;
}

.pf-what-section {
    background-color: #fff;
    padding: 5px 0px;
}

.pf-what-container {
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 1.5rem;
    padding: 70px 20px;
}

.pf-what-intro {
    padding: 0px 0px 40px 0px;
}

.pf-what-intro h2, .pf-header{
    color:#0c5a38;
}

.pf-conditions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content:space-between;
    align-items: center;
}

.pf-conditions-item {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    background-color: white;
    height: 25rem;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.25);
    flex: 0 0 20%;
    padding: 20px;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.pf-conditions-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.pf-conditions-item:nth-child(5), .pf-conditions-item:nth-child(6), .pf-conditions-item:nth-child(7) {
    flex: 0 0 30%;
}

@media (max-width: 1100px) {
    .pf-conditions-item {
        flex: 1 0 30%;
    }
    .pf-conditions-item:nth-child(4), .pf-conditions-item:nth-child(5), .pf-conditions-item:nth-child(6), .pf-conditions-item:nth-child(7) {
        flex: 1 0 45%;
    }
}

@media (max-width: 715px) {
    .pf-conditions-item {
        flex: 1 0 45%;
    }
    .pf-conditions-item:nth-child(5), .pf-conditions-item:nth-child(6) {
        flex: 1 0 90%;
    }
}

@media (max-width: 500px) {
    .pf-conditions-item {
        flex: 1 0 95%;
    }
}

.pf-conditions-logo {
    color: #0c5a38;
    font-size: 40px;
}

.pf-conditions-title {
    font-weight: bold;
    font-size: 25px;
    color: #0c5a38;
    margin: 20px 0px 5px 0px;
    text-align: center;
}

.faq-section {
    max-width: 1300px;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
    padding-bottom: 100px;
}

.faq-header {
    text-align: center;
    line-height: 1.2;
    font-size: 40px;
    font-weight: 600;
    padding: 50px 0;
}

.greenfaq{
    color:#0c5a38;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h3 {
    font-size: 18px;
    margin: 0;
}
.faq-icon {
    font-size: 35px;
    transition: transform 0.3s ease;
}
.faq-icon::before {
    content: '+';
    font-size: 35px;
    transition: opacity 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(90deg);
}
.faq-item.active .faq-icon::before {
    content: '|';
    font-size: 22px;
}
.faq-answer p {
    margin: 10px 0;
    font-size: 18px;
    color: #2a2d31;
}
.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    padding: 0 5px;
}

.faq-item.active .faq-answer {
    height: auto;
    opacity: 1;
    padding: 10px 5px;
}

/*ORDERING PRESCRPTIONS . HTML*/

.ordering-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px 0px 20px;
}

.prescriptions-header {
    padding: 5px 0px 35px 0px;
}

.prescriptions-header h1{
    color:#0c5a38;
    padding: 0px 0px 10px 0px;
}

.ordering-guide-block {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0px 30px 0px;
}
.ordering-bold-h3{
    font-size: 20px;
}

.ordering-guide-section-padding {
    padding: 0px 20px 0px 20px
}

.ordering-guide-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 20px 0px 20px;
    background-color: #f2f3f8;
    border-radius: 15px;
}

.ordering-guide-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content:space-around
}

.ordering-guide-item {
    display: flex;
    flex-direction: row;
    justify-content:space-between;
}

.ordering-guide-item-column {
    flex: 0 0 45%;
    font-size: 20px;
}
.ordering-guide-item-column-same {
    font-size: 20px;
}

.ordering-gap-section {
    padding-bottom: 70px;
}

@media (max-width: 610px) {
    .ordering-guide-item-column {
        font-size: 15px;
        flex: 0 0 40%;
    }
    .ordering-guide-item-column-same {
        font-size: 15px;
    }
}
@media (max-width: 500px) {
    .ordering-guide-item-column {
        font-size: 13px;
        flex: 0 0 40%;
    }
    .ordering-guide-item-column-same {
        font-size: 13px;
    }
}
@media (max-width: 400px) {
    .ordering-guide-item-column {
        font-size: 13px;
        flex: 0 0 80%;
    }
    .ordering-guide-item {
        flex-wrap: wrap;
    }
}


/*LEAFLETS . HTML*/
.leaflet-main { 
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.leaflet-header {
    padding: 5px 0px 35px 0px;
}

.leaflet-header h1{
    color:#0c5a38;
    padding: 0px 0px 10px 0px;
}

.downloads-box {
    padding: 20px 20px 20px 20px;
    background-color: #f2f3f8;
    border-radius: 15px;
}

.downloads-container {
    display: flex;
    flex-direction: column;
}

.downloads-item-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.downloads-item-left {
    flex: 0 0 40%;
}
.downloads-item-right {
    flex: 0 0 40%;
}
.downloads-item-right img{
    height: 80px;
    width: auto;
    border-radius: 15px;
}

/*BLOG . HTML*/

.blog-section {
    background-color: #fff;
}

.blog-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px 70px 20px;
    gap: 1.5rem;
}

.blog-header {
    padding-bottom: 20px;
}

.blog-header h1{
    color:#0c5a38;
    padding: 5px 0px 10px 0px;
}

.blog-item {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 15px;
}

.blog-item-date {
    color:#495850
}

.blog-item-header{
    color:#0c5a38;
    font-size: 22px;
    padding-bottom: 10px;
}

/*TEST CAROUSEL . HTML*/


/*PRIVACY POLICY*/
.privacy-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}

.privacy-header {
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 10px 20px 10px 20px;
}

/*FLU*/
.flu-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}
.flu-header h1{
    color:#0c5a38;
    padding: 5px 0px 10px 0px;
}

.flu-header {
    padding-bottom: 20px;
}
.flu-free {
    padding: 20px 0px 20px 0px;
}