/*
Theme Name: Pharmacy Mentor - B1 Advanced v2
Author: Pharmacy Mentor
Author URI: https://www.pharmacymentor.com
Version: 1.0.1
*/

/* Health Promo Page */
.theme-btn,
.theme-btn-s4 {
    background: var(--primary-color) !important;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color) !important;
    border-radius: 5px;
    transition: all 0.3s;
    font-family: "Red Hat Display";
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}
.theme-btn:hover,
.theme-btn-s4:hover {
    color: #fff;
}
.banner-section::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: dimgray;
    top: 0;
    opacity: .2;
}
.page-template-health .bg-image {
    z-index: 0;
}
.page-template-health .bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}
.presc-banner-content {
    position: relative;
}
.presc-banner-content h1 {
    font-size: 3.5rem;
}
.presc-banner-content p {
    margin: revert;
}
.page-template-health .title {
    margin-bottom: 1rem;
}
.page-template-health .important-link {
    display: flex;
    padding: 2rem 1rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-radius: .5rem;
    background: var(--_background,#eee);
    color: #333;
    text-align: center;
    height: 100%;
    transform: translateY(0);
    transition: all ease .3s;
}
.page-template-health .important-link i {
    font-family: "Font Awesome 5 Free";
    font-size: 2rem;
    font-weight: 700;
    font-style: inherit;
    color: #000;
}
.page-template-health .important-link h3 {
    font-size: 1rem !important;
    font-weight: 700;
    color: inherit;
    margin: 0;
      margin-bottom: 0px;
}
.page-template-health .leaflets {
    background: #eee;
}
.page-template-health .accordion-item {
    border: solid thin #e6e6e6;
    overflow: hidden;
}
.page-template-health .accordion-header {
    margin-bottom: 0;
    font-weight: 500;
  color: #002439;
}
.page-template-health .accordion-body {
    padding: 1.5rem;
    background: #fff;
}
.page-template-health .accordion-button[aria-expanded="true"] {
    background: var(--primary-color);
    color: #fff;
  }
.page-template-health .accordion-button {
    display: flex;
    padding: 1rem 1.5rem;
    width: 100%;
    color: #333;
    transition: all ease .3s;
    background: #fff;
    font-size: 1.2rem;
    border: none;
}
.page-template-health .accordion-button span {
    text-align: left;
    flex: 1;
    color: inherit;
    font-size: 16px;
}
.page-template-health .accordion-button::after {
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    aspect-ratio: 1;
    color: inherit;
  }
  
  .page-template-health .accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}
@media only screen and (min-width: 992px) {
    .page-template-health .lg-bg-image {
      position: absolute;
      inset: 0;
    }
    .page-template-health .lg-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center right;
    }
}