/* ==================== */
/* Colours
/* ==================== */

/**
 * Edit, delete or add as needed
 */
:root {
  --brand-main: #39C4A4;
  --brand-main-hover: #2EAF92;
  --brand-sec: #39C4A4;
  --brand-sec-hover: #2EAF92;
  --off-grey: #EBEBEB;
}


/* ==================== */
/* Scroll Behaviour
/* ==================== */

html {
  scroll-behavior: smooth;
}


/* ==================== */
/* Global Font
/* ==================== */

body {
  font-family: 'Nunito Sans', sans-serif; /* Change to correct font */
  font-size: 16px;
}

.post, .page {
  margin: 0 !important;
}

/* ==================== */
/* Container
/* ==================== */

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-has-bg .container {
  position: relative;
  z-index: 2;
}

/* ==================== */
/* Sections
/* ==================== */

.section {
  padding: 2rem 0;
}

.section--off-grey {
  background-color: var(--off-grey);
}

.section--bg-brand {
  background-color: var(--brand-main);
  color: white !important;
}

.section-has-bg {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 2rem 0;
  /* margin-bottom: 2rem; */
}

.section-has-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

@media (min-width: 1280px){
  .section {
    padding: 50px 0;
  }

  .section-has-bg {
    padding: 100px 0;
    background-attachment: fixed;
  }
}


/* ==================== */
/* Reset H1 CSS
/* ==================== */

h1.home-link,
a.home-link {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

.home-link__logo {
  display: block;
  max-width: 110px !important;
  width: 100%;
}

@media (min-width: 1280px){
  .home-link__logo {
    max-width: 180px !important;
  }
}


/* ==================== */
/* Site Titles
/* ==================== */

.rte h2, .rte h3, .rte h4,
.site-title {
  margin-top: 0 !important;
  color: var(--brand-main) !important;

}

.site-title--centre {
  text-align: center;
}

.site-title--dark {
  color: black !important;
}

.site-title--white {
  color: white !important;
}

.site-title--small {
  font-size: 18px !important;
}

.site-title span {
  color: var(--brand-main);
}

@media (min-width: 1280px){
  .site-title--sub {
    font-size:36px ;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .site-title--extra-margin {
    margin-bottom: 3rem;
  }
}


/* ==================== */
/* Site Buttons
/* ==================== */

.site-btn {
  display: inline-block;
  background-color: var(--brand-main);
  color: white !important;
  padding: 8px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: 0.2s;
}

.site-btn:hover {
  background-color: var(--brand-main-hover);
}

.site-btn--white {
  background-color: white;
  color: var(--brand-main) !important;
}


/* ==================== */
/* Typography
/* ==================== */

p:first-of-type {
  margin-top: 0;
}

.rte {
  line-height: 1.75 !important;
}

.rte ul {
  list-style-type: none !important;
  padding: 0 0 !important;
  margin: 0 0 1.5em 0 !important;
}

.rte ul li {
  position: relative;
  padding-left: 1.25rem;
}

.rte ul li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 8px;
  background-color: var(--brand-main);
  border-radius: 100%;
  top: 8px;
}



@media (min-width: 1280px){
  .rte--larger-text {
    font-size: 18px;
  }
}


/* ==================== */
/* Img
/* ==================== */

img.rounded {
  border-radius: 10px;
}


/* ==================== */
/* Misc Classes
/* ==================== */

.text-align-center {
  text-align: center !important;
}

.max-width--750 {
  max-width: 750px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.text--white {
  color: white !important;
}

.disp-block {
  display: block !important;
}

/* ==================== */
/* Grid
/* ==================== */

.row{
  display: flex!important;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.row-invert{
  display: flex!important;
  flex-direction: column-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.col-2, .col-3, .col-4, .col-2-small, .col-2-big, .col-2-no-space{
  width: 100%;
}

.col-2--mb {
  margin-bottom: 2rem;
}

.col-4{
  padding: 15px 0;
}

.vertical_center{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px){

  .row, .row-invert{
    flex-direction: row;
  }

  .col-4{
    width: 48.5%;
  }

}

@media (min-width: 1024px){

  .row, .row-invert{
    flex-direction: row;
  }

  .col-2{
    width: 48.5%;
  }

  .col-2--mb { 
    margin-bottom: 0;
  }

  .col-2-small{
    width: 31.5%;
  }

  .col-2-big{
    width: 64.5%;
  }

  .col-2-no-space{
    width: 50%;
  }

  .col-3{
    width: 31.5%;
  }

  .col-4{
    width: 23.5%;
  }

}

/* ==================== */
/* Top Bar
/* ==================== */

.top-bar {  
  background-color: var(--brand-main-hover);
  padding: 6px 0;
  text-align: center;
  display: none;
}


.top-bar__cta-btn {
  display: inline-block;
  color: white !important;
  font-size: 14px;
  text-decoration: none !important;
  background-color: var(--brand-main);
  padding: 8px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}

.top-bar__item {
  color: white;
}

.top-bar__item i {
  display: inline-block;
  margin-right: 5px;
}

.top-bar__item a {
  color: white !important;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 1.5rem;
  text-transform: uppercase;  
  font-size: 14px;
  cursor: pointer;
}

.menu-top-bar {
  display: flex;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.menu-top-bar li {
  margin-right: 1.5rem;
}

.menu-top-bar li:last-of-type {
  margin-right: 0;
}

.menu-top-bar li a {
  color: white !important;
  text-decoration: none !important;
  font-size: 14px;
}

.menu-top-bar li a:hover {
  text-decoration: underline;
}

@media (min-width: 768px){
  .top-bar {
    display: block;
    padding: 8px 0;
  }

  .top-bar__row {
    display: flex;
    justify-content: flex-end;
  }

}

/* ===================== */
/* Slideout Nav
/* ===================== */

.slideout-menu {    
  width: 350px;
  position: fixed;
  top: 0; 
  left: -350px; 
/*  left: 0;*/
  height: 100%; 
  background: #333;
  z-index: 100;
  /*overflow-y: scroll;*/
  background-color: var(--brand-main);
  transition: 0.5s;
}

body.admin-bar .slideout-menu {
  top: 46px;
}

.slideout-menu.active {
  box-shadow: 0 21px 27px rgb(0 0 0 / 90%);
  left: 0;
}

.slideout-menu i {
  font-family: "FontAwesome";
}

.slideout-menu h3 { 
  margin: 0;
  position: relative;
  padding: 12px 10px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 400;
/*  border-bottom: 4px solid #222;*/
}

/* Style up the toggle menu "x" */
.slideout-menu .slideout-menu-toggle {
  position: absolute;
  top: 12px;
  right: 10px;
  display: inline-block;
  padding: 6px 9px 5px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  line-height: 1;
  background: var(--brand-blue);
  color: white;
  text-decoration: none;
  vertical-align: top;
}

.slideout-menu .slideout-menu-toggle:hover {
  color: #fff;
}

/* Give the menu container some love */
.slideout-menu ul {
  list-style: none;
  font-weight: 300; 
  margin: 0;
  padding: 0;
}

/* And now the list items */
.slideout-menu ul li {
  /*border-top: 1px solid #454545;
  border-bottom: 1px solid #151515;*/
}

/* The anchor elements within the list items */
.slideout-menu ul li a {
  position: relative;
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
}

.slideout-menu ul li a button  {
  position: absolute;
  right: 10px;
}

.slideout-menu ul li a:hover {
  /*background: #000;
  color: #fff;*/
}

.slideout-menu ul li a i {
  position: absolute;
  top: 15px;
  right: 10px;
  opacity: .5;
}

.dropdown-toggle {
  background-color: transparent;
  border: 0;    
  content: "";
  height: 42px;
  padding: 0;
  position: absolute;
  text-transform: lowercase;
  top: 3px;
  right: 0;
  width: 42px;
}

.dropdown-toggle:after {
  font-family: "FontAwesome";
  color: white;
  content: "\f078";    
  line-height: 42px;
  position: relative;
  top: 0;
  left: 1px;
  width: 42px;
}

.dropdown-toggle.sub-menu-on:after {
  content: "\f077";    
}

/* Submenu */
.slideout-menu ul .sub-menu {
  display: none;
  position: relative;
  width: 100%;
}

.slideout-menu ul .sub-menu li {
  border: 0;  
}

.slideout-menu ul .sub-menu li a {
  text-align: center;
  background-color: var(--brand-main-hover) !important;
}

@media (min-width: 1024px){
  .slideout-menu {
    display: none;
  }
}

/* ==================== */
/* Main Header
/* ==================== */

.main-header {
  background-color: #FAFAFA;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.main-header__row {
  display: flex;
  justify-content: space-between;
}

.main-header__col--logo {
  flex-basis: 60%;
}

.main-header__col--nav,
.main-header__col--contact {
  display: none;
}

.main-header__burger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-header__burger-link {
  color: var(--brand-main) !important;
}

@media (min-width: 1024px){
  .main-header {
    padding: 1rem 0;
  }

  .main-header__col--logo {
    flex-basis: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main-header__burger {
    display: none;
  }

  .main-header__col--nav {
    display: flex;
    align-items: center;
  }

  .main-header__col--contact {
    display: block;
  }
}

@media (min-width: 1280px){
  .main-header {
    padding: 1.5rem 0;
  }
}


/* ==================== */
/* Header contact 
/* ==================== */

.header-contact {
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-contact__link {
  text-decoration: none !important;
  color: #000 !important;
  font-size: 14px;
}

.header-contact__icon {
  color: var(--brand-main) !important;
  margin-right: 5px;
}

@media (min-width: 1280px){
  .header-contact__item:first-child {
    margin-bottom: 0.5rem;
  }
}


/* ==================== */
/* Main Nav
/* ==================== */

.main-browse-nav {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
  display: flex;  
}

.main-browse-nav > li {
  margin-left: 1rem;
  position: relative;
}

.main-browse-nav > li > a {
  color: #000 !important;
  /* text-transform: uppercase !important; */
  font-weight: 600;
  text-decoration: none !important;
  font-size: 14px;
}

.main-browse-nav > li.menu-item-has-children > a {
  position: relative;
}

.main-browse-nav > li.menu-item-has-children > a::after {  
  content: "\f0d7"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  position: relative;
  margin-left: 3px;
}

@media (min-width: 1280px){

  .main-browse-nav > li { 
    margin-left: 2rem;
  }

  .main-browse-nav > li > a {
    font-size: 18px;
  }
}


/* ==================== */
/* Sub Menus
/* ==================== */

.sub-menu {
  position: absolute;
  left: 0;  
  margin: 0;
  padding: 0;
  width: 250px;
  display: none;
}

.sub-menu > li.menu-item {
  display: block;  
}

.sub-menu > li.menu-item a {
  color: white !important;
  display: block;
  background-color: var(--brand-main);
  padding: 8px;
  text-align: left;
  text-decoration: none !important;
}

.sub-menu > li.menu-item a:hover {
  background-color: var(--brand-main-hover)
}

.main-browse-nav > li:hover .sub-menu {
  display: block;
}


/* ==================== */
/* Slideshow
/* ==================== */

#slideshow {
  overflow: hidden;
}

.fp-slideshow__slide {
  height: 500px;
  position: relative;
  background-position: center;
  background-size: cover;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.fp-slideshow__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.fp-slideshow__content {
  position: relative;
  z-index: 1;  
  width: 90%;
  max-width: 1280px;  
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fp-slideshow__title {
  margin: 0;
  padding: 0;
  color: white;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: bold;
  text-align: center;
}

.fp-slideshow__text {
  color: white;
  margin: 0 0 0.75rem 0;
  max-width: 700px;
  text-align: center;

}

#slideshow .slick-dots {
  bottom: 1rem;
}

#slideshow .slick-dots li button:before {
  font-size: 14px;
  color: white;
}

#slideshow .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

#slideshow .slick-dotted.slick-slider {
  margin-bottom: 0;
}

@media (min-width: 1024px){
  .fp-slideshow__title {
    font-size: 32px;
  }

  .fp-slideshow__text {
    font-size: 18px;
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 1280px){

  .fp-slideshow__slide {
    height: 550px;
  }

  .fp-slideshow__logo {
    width: 550px;
  }

  .fp-slideshow__title {
    font-size: 50px;
  }

  .fp-slideshow__text {
    font-size: 22px;
  }

  #slideshow .slick-dots {
    bottom: 2rem;
  }
}


/* ==================== */
/* Footer
/* ==================== */

.site-footer-main {
  padding: 32px 0;
  background-color: var(--brand-main);
}

.site-footer-main__col--blurb {
  margin-bottom: 32px;
}

.site-footer__logo {
  max-width: 210px;
  margin-bottom: 1rem;
}

.site-footer__blurb {
  font-size: 14px;
  color: white;
}

.site-footer__title {
  color: white;
  position: relative;
  padding-bottom: 4px;
}

.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50px;
  height: 2px;
  background-color: white;

}

.footer-nav-wrap ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

ul.footer-legal-nav {
  margin-bottom: 1rem !important;
}

.footer-nav-wrap ul a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;
}

.footer-nav-wrap ul a:hover {
  border-color: white;
}

.site-footer__addr {
  color: white !important;
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
}

.site-footer__addr::before {
  content: "\f3c5"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;  
}

.site-footer__link-wrap {
  position: relative;
  padding-left: 32px;
}

.site-footer__link-wrap::before {
  content: "\f095"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link-wrap--email::before {
  content: "\f0e0";
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;  
}

.social-icons__link {
  font-size: 32px;
  color: white !important;
}

.social-icons__item {
  margin-right: 1rem;
}

.social-icons__item:last-of-type {
  margin-right: 0;
}

.social-icons__link--dark {
  color: var(--brand-main) !important;
}

.site-footer .social-icons__item {
  margin-right: 0.5rem;
}

@media (min-width: 768px){

  .site-footer-main__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-footer-main__col--blurb,
  .site-footer__blurb {
    margin-bottom: 0;
  }

  .site-footer__title {
    margin-top: 0;
  }
}

@media (min-width: 1024px){

  .site-footer-main {
    padding-top: 50px;
  }

  .site-footer-main__row {
    flex-wrap: nowrap;
  }

  .site-footer-main__col {
    flex-basis: calc(25% - 32px);
  }
}

@media (min-width: 1280px){

  .site-footer-main {
    padding-top: 75px;
  }

  .site-footer__blurb {
    padding-right: 32px;
  }
  
  .social-icons__link--lg {
    font-size: 45px;
  }

  .site-footer__blurb {
    line-height: 2;
  }
}


/* ==================== */
/* Site Info
/* ==================== */

.site-info {
  background-color: var(--brand-main-hover);
  overflow: hidden;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-info__text {
  margin: 0;
  color: white;
  font-size: 14px;
}

.site-info__copyright,
.site-info__designby {
  display: block;
  text-align: center;
}

.site-info a {
  color: white !important;
}

@media (min-width: 768px){
  .site-info__text {
    display: flex;
    justify-content: center;    
  }

  .site-info__copyright {
    margin-right: 8px;
    position: relative;
  }  

  .site-info__copyright::after {
    content: " |";
    display: inline-block;
    padding-left: 8px;
  }
}


/* ==================== */
/* Main Banner
/* ==================== */

.main-banner {
  background-size: cover;
  background-position: center;
  background-color: var(--brand-main); /* Default colour fallback for banner */
  height: 200px;
  display: flex;
  align-items: center;
  position: relative;
}

.main-banner--woo {
  height: 110px !important;
}

.main-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.main-banner__row {
  position: relative;
}

.main-banner__title {
  margin: 0;
  color: white;
}

@media (min-width: 1280px){
  .main-banner {
    /* height: 300px;     */
    height: 110px;
  }

  .main-banner__title {
    font-size: 38px;
  }
}


/* ==================== */
/* Page Builder
/* ==================== */

.page-wrap {
  background-color: #efefef;
  padding: 2rem 0 1rem 0;
}

.content-box__row {
/*  background-color: white;*/
/*  padding: 1rem;*/
  margin-bottom: 2rem;
/*  box-shadow: 0 0 4px rgba(0,0,0,0.4);*/
}

.content-box__row p:last-of-type {
  margin-bottom: 0;
}

.col-order-1 {
  margin-bottom: 2rem;
}

.content-box__title {
  margin-bottom: 1rem;
}

.content-box__body {
  margin-bottom: 1rem;
}

.section-has-bg .content-box__row {
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none;
}

.section-has-bg .site-title-pre,
.section-has-bg .content-box__title,
.section-has-bg .content-box__body .rte * {
  color: white !important;
}

@media (min-width: 1024px){

  .col-order-1 {
    margin-bottom: 0;
  } 

  .content-box__row {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
  }

  .content-box__row--single-row {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-box__col--txt {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .content-box__col--img {
    width: 400px;
  }

  .content-box__col--txt.col-order-1 {
    padding-right: 2rem;
  }

  .col-order-1 {
    order: 1;
  }

  .col-order-2 {
    order: 2;
  }
}

@media (min-width: 1280px){
  .content-box__row { 
    padding: 3rem 0;
  }

  .content-box__body {
    margin-bottom: 2rem;
  }
}


/* ==================== */
/* Contact Page 1
/* ==================== */

.contact-card {
  background-color: var(--brand-main);
  padding: 1rem;
  border-radius: 10px;
  display: flex;  
  align-items: center;
  margin-bottom: 1rem;
}

.contact-card__icon-wrap {
  margin-right: 1rem;
}

.contact-card__icon-circle {
  color: white !important; 
}

.contact-card__icon {
  color: var(--brand-main) !important;
}

.contact-card__text-wrap,
.contact-card__link {
  color: white !important;
}

.contact-card__link {
  text-decoration: none !important;
}

.opening-hours {
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.opening-hours__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.opening-hours__item::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted white;
}

.opening-hours__day,
.opening-hours__hours {
  background-color: var(--brand-main);
  display: inline-block;  
  position: relative;
  z-index: 1;
}

.opening-hours__day {
  padding-right: 8px;
}

.opening-hours__hours {
  padding-left: 8px;
}

.section-about-lower__col--hours {
  margin-bottom: 2rem;
}

.section-contact__col--form h2 {
  margin-bottom: 2rem !important;
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;
  gap: 16px;
}

.social-icons__link {
  font-size: 32px;
  color: var(--brand-main) !important;
}

.site-footer .social-icons__link {
  color: white !important;
}

@media (min-width: 1024px){
  .section-contact__row,
  .section-about-lower__row {
    display: flex;
    justify-content: space-between;
  }

  .section-contact__col--form {
    flex-basis: 60%;
  }

  .section-contact__col--text {
    flex-basis: 35%;
  }

  .section-about-lower__col {
    flex-basis: 40%;
  }
}


/*====================
Contact Page 2
====================*/

.contact_box_wrapper{
  background-color: var(--brand-main);
  padding: 30px;
  border-radius: 10px;
  color: #fff;  
  text-align: center;
  margin: 15px 0;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.2);
}

.contact_box_wrapper h2{
  font-size: 60px;
  margin: 0;
}

.contact_box_wrapper a{
  color: #fff;  
  text-decoration: none;
}

.contact_box_wrapper a:hover{
  color: var(--brand-secondary);  
  text-decoration: none;
}

.frm_button_submit{
  float: right;
}

.contact_form{
  background-color: var(--brand-main);
}

.contact_form h2{
  color: #fff;
}





/* ============================================================ */
/* Custom code starts below...
/* ============================================================ */

/* ==================== */
/* FP Tagline
/* ==================== */

.section-tagline {
  background-color: var(--brand-main);
}

.section-tagline__text {
  text-align: center;
  padding: 0.5rem 0;
  font-weight: 500;
  color: white;
}

@media (min-width: 1280px){
  .section-tagline__text {
    font-size: 20px;
    padding: 1rem;
  }
}


/* ==================== */
/* Services Grid
/* ==================== */

.services-grid {
  display: grid;
  gap: 1rem;
}

.services-grid__item {
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.services-grid__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.services-grid__content {
  position: relative;
  z-index: 1;
}

.services-grid__item-title {
  color: white !important;  
}

.services-grid__item-text {
  color: white !important;
}

@media (min-width: 768px){

  .services-grid {    
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }

  .services-grid__item:nth-child(1){
    grid-row: 1 / span 2; 
    grid-column: 1;       
  }

  .services-grid__item:nth-child(1) .services-grid__content {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 2rem);
  }
}

@media (min-width: 1280px){
  .services-grid {    
    gap: 2rem;
  }

  .services-grid__item {
    padding: 2rem;
  }

  .services-grid__item:nth-child(1) .services-grid__content {
    width: calc(100% - 4rem);
  }
}


/* ==================== */
/* Clinics Grid
/* ==================== */

.clinics-grid {
  display: grid;
  gap: 1rem;
}

.clinic-card {
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  display: block;
  background-color: white;
  padding: 0.5rem;
  border-radius: 10px;
  overflow: hidden;
  height: 280px;
  position: relative;
  transition: 0.2s;
}

.clinic-card:hover {
  transform: scale(1.02);
}

.clinic-card__img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 12px;
}

.clinic-card__txt-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  /* background-color: white; */
  background-color: white;
  height:60px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-right-radius: 10px;
}

.clinic-card__title {
  margin: 0 !important;
  padding: 0 !important;
  color: black !important;
  font-weight: 400;
}

@media (min-width: 1024px){
  .clinics-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }
}


/* ==================== */
/* 2 Image Mosiac
/* ==================== */

.image-mosaic {
  height: 300px;
  position: relative;
}

.image-mosaic__img-wrap {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
}

.image-mosaic__img-wrap:nth-child(1){
  z-index: 2;
  bottom: 0;
  left: 0;
  height: 70%;
  width: 90%;  
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.image-mosaic__img-wrap:nth-child(2){
  z-index: 1;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  top: 0;
  right: 0;
  width: 80%;
  height: 80%;
}

.image-mosaic__img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  display: block;
}

@media (min-width: 1024px){
  .image-mosaic {
    height: 100%;
  }
}


/* ==================== */
/* CTA Bar
/* ==================== */

.ftr-cta {
  padding: 1rem 0;
}

.cta-module {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cta-module__txt-wrap {
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: center;
  font-size: 18px;
}

@media (min-width: 768px){
  .cta-module {
    flex-direction: row;
  }

  .cta-module__txt-wrap {
    padding-right: 1rem;
    margin-bottom: 0;
  }
}



/* ==================== */
/* Intro Section
/* ==================== */

.site-intro__pre-title {
  font-weight: bold;
  color: #666;
  line-height: 1;
}

@media (min-width: 768px){
  .site-intro {
    display: grid;
    gap: 2rem;
    grid-template-columns: 4fr 2fr;
  }

  .site-intro__col--text {    
    padding-right: 3rem;
  }

  .site-intro__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* border: 1px solid red; */
  }
}


/* ==================== */
/* Cards
/* ==================== */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.card {
  background: white;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  height: 100%;
  display: flex;
  flex-direction: column;  
  transition: 0.2s;
  border-radius: 10px;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.02);
}

.card__img-wrap {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.card__img {
  display: block;
  object-fit: cover;
  object-position: center;
  height: 100%;
  width: 100%;
}

.card__text-wrap {
  padding: 1rem;
}

.card__title {
  margin-bottom: 0.5rem;
}

.card__text {
  margin-bottom: 0 !important;
}

.card__text--sm {
  font-size: 14px;
}

.card__readmore {

}

.card__footer {
  margin-top: auto;
  padding: 0 1rem 1rem 1rem;
}

.card__readmore-link {
  color: var(--brand-main) !important;  
  text-decoration: none !important;
}

.card__readmore-link::after {
  font-family: "FontAwesome";    
  content: "\f0d7";   
  display: inline-block;
  margin-left: 5px;
}

@media (min-width: 768px){
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px){
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    gap: 2rem
  }

  .card-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px){
  .card-grid--2 {
    gap: 10rem
  }

  .card-grid--3 {    
    gap: 2rem;
  }

  .card__text-wrap {
    padding: 2rem 2rem 1rem 2rem;
  }

  .card__text-wrap--news {
    padding: 1rem;
  }

  .card__footer {
    padding: 0 2rem 2rem 2rem;
  }

  .card__footer--news {
    padding: 0 1rem 1rem 1rem;
  }
}


/* ==================== */
/* Steps
/* ==================== */

.clinic-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.clinic-steps__step {
  text-align: center;
  max-width: 310px;
  margin-left: auto;
  margin-right: auto;
}

.clinic-steps__icon {
  height: 48px;
}

.clinic-steps__title {
  margin: 1rem 0 0.5rem 0;
}

@media (min-width: 768px){
  .clinic-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px){
  .clinic-steps {
    gap: 3rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}


/* ==================== */
/* Posts
/* ==================== */

.entry-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1fr;
}

.entry-meta {
  font-size: 14px;
  color: var(--brand-main);
  margin-bottom: 1rem;
}

.entry-content__col--sec {
  background-color: var(--brand-main);
  padding: 1rem;
  border-radius: 10px;
  color: white !important;
}

.entry-content__col--sec .frm_primary_label {
  color: white !important;
}

.entry-content__col--sec .frm_button_submit.frm_final_submit {
  background-color: white !important;
  color: var(--brand-main) !important;
}


@media (min-width: 1024px){
  .entry-content {
    grid-template-columns: 4fr 2fr;
    column-gap: 3rem;
  }
}

@media (min-width: 1280px){
  .entry-content {
    column-gap: 5rem;
  }
}



/* ==================== */
/* WooCommerce Settings
/* ==================== */

.section--woo {
  box-shadow: inset 0 4px 9px -3px rgba(0, 0, 0, 0.25)
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  text-align: center;
  /* box-shadow: 0 0 6px rgba(0,0,0,0.5); */
  padding: 1rem 1rem 2rem 1rem;
  background-color: white;
}

.woocommerce-loop-product__title {
  color: var(--brand-main) !important;
  font-weight: 400;
  font-size: 18px !important;
  margin-bottom: 0;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
}

.woocommerce-loop-category__title {
  color: var(--brand-main) !important;
}

.price .woocommerce-Price-amount.amount {  
  color: #666;
  font-size: 18px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #666;
}


@media (min-width: 1024px){
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: flex;
    flex-wrap: wrap;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: center;
  }  
}

.wc-block-cart__submit-container {
  background-color: var(--brand-main) !important;
}

.wc-block-cart__submit-container:hover {
  background-color: var(--brand-main-hover) !important;
}
.product_meta a,
.wc-block-components-sidebar-layout.wc-block-cart a {
  color: white !important;
  text-decoration: none !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  background-color: var(--brand-main) !important;
}




/* ==================== */
/* Woo Sidebar
/* ==================== */

.sidebar-filter__btn {
  font-weight: bold;
  color: var(--brand-sec) !important;
}

.sidebar-filter__btn::after {
  content: "+";
}

.sidebar-filter__btn--close::after {
  content: "-";
}

.sidebar-filter__wrap {
  /* box-shadow: 0 0 6px rgba(0,0,0,0.5); */
  border: 1px solid #cfcfcf;
  padding: 1rem 1rem 2rem 1rem;
  background-color: white;
  margin-top: 1rem;
}

@media (min-width: 1024px){
  .woo-container--has-sidebar {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 2rem;
  }

  .sidebar-filter__btn {
    display: none !important;    
  }
  
  .woo-container__sidebar,
  .sidebar-filter,
  .sidebar-filter__wrap {
    display: block !important;
  }

  .sidebar-filter__wrap {
    margin-top: 0;
  }
}



input[value="customise-me"] {
  display: none;
}

input[value="customise-me"] {
  display: none;
}

input[value="customise-me"] {
  display: none;
}

input[value="customise-me"] {
  display: none;
}

li.filter-item:has(input[value="customise-me"]) {
  display: none !important;
}


/* ==================== */
/* Category Pages
/* ==================== */

.woocommerce-loop-category__title .count {
  display: none !important;
}

.woo-banner {
  background: var(--brand-main);
  padding: 1rem;
  margin-bottom: 1rem;
}

.woo-banner--no-pad {
  padding: 0 !important;
}

.woo-banner img {
  display: block;
  width: 100% !important;
}

.woo-banner__title {
  color: white;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1;
}

.woocommerce nav.woocommerce-pagination ul {
  background-color: white;
  border: 0 !important;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);

}

.woocommerce nav.woocommerce-pagination ul li a:focus, 
.woocommerce nav.woocommerce-pagination ul li a:hover, 
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--brand-sec);
  color: white ;
  border: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li a {
  color: var(--brand-main) !important;
}

.woocommerce nav.woocommerce-pagination ul li {
  border:0 !important;
}


/* 
===========================================================
  WooCommerce Grid Layout Override
  Replaces default float-based layout with CSS Grid.
  Removes clearfix artifacts and unnecessary legacy styles.
===========================================================
*/

.woocommerce ul.products {
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));   */
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
  overflow: visible;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  width: auto !important;
  float: none !important;
  padding: 0.5rem 0.5rem 1rem 0.5rem;
  /* box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); */
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.woocommerce ul.products li.product a {
  display: block;
  width: 100%;
}

/* Remove Woo's legacy clearfix */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product .button {
  background-color: var(--brand-main);
  color: white !important;
  font-weight: normal;
  width: auto;
  margin-top: 0;
}

.woocommerce ul.products li.product .button:hover {
  background-color: var(--brand-main-hover);
}

@media (min-width: 768px){
  .woocommerce ul.products {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px){

  .woocommerce ul.products {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
  }

  .woocommerce ul.products.columns-6 {
    grid-template-columns: repeat(6,1fr);
  }

  .woo-container__main--col--5 ul.products {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
  .woocommerce ul.products li.product .button {
    margin-top: auto;
    width: 90%;
    max-width: 270px;
    padding: 16px 16px;
  }

  .woocommerce nav.woocommerce-pagination {
    text-align: left;
  }
}

@media (min-width: 1280px){
  .woo-banner {
    padding: 2rem;
  }
}


/* ==================== */
/* Cart
/* ==================== */

.cart-custom {
  margin-bottom: 1rem;
}

.shop_table {
  background-color: white;
}

.customize-option p {
  margin-bottom: 0;
}

.cart_item {
  font-size: 14px;
}

.cart-actions .btn {
  line-height: 24px;
  font-size: 14px !important;
}


@media (min-width: 1024px){
  .cart-collaterals .cart_totals {
    width: 95% !important;
  }

  .cart-custom__h2 a {
    display: none !important;
  }
}

/* ==================== */
/* WooCommerce Tabs
/* ==================== */

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 0;
  border: 0 !important;
  background-color: #bec1c2;
  padding: 0 2rem;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: normal;
  color: white !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background-color: var(--brand-main);
  color: white;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
  display: none;  
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before {
  display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background-color: white;
  padding: 1rem;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.woocommerce-Tabs-panel h2 {
  display: none !important;
}

.woocommerce-Tabs-panel ul {
  margin-left: 0;
}

.woocommerce-Tabs-panel--description p:last-of-type {
  margin-bottom: 0;
}

.woocommerce-product-attributes-item__value a {
  color: var(--brand-main);
}



/* ==================== */
/* Yith
/* ==================== */

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > a, 
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > label > a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > a:hover,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > label > a:hover {
  color: var(--brand-main) !important;
}

/* === Custom Tooltip Color Override === */
.yith-wcan-filters .yith-wcan-filter .yith-wcan-tooltip {
  background-color: var(--brand-main) !important;
  color: #fff; /* keep white text for contrast */
}

/* Arrow for side tooltips */
.yith-wcan-filters .yith-wcan-filter .yith-wcan-tooltip:before {
  border-right-color: var(--brand-main) !important;
}

/* Arrow for top tooltips (used on color/label filters) */
.yith-wcan-filters .yith-wcan-filter .filter-color .with-tooltip .yith-wcan-tooltip:before,
.yith-wcan-filters .yith-wcan-filter .filter-label .with-tooltip .yith-wcan-tooltip:before {
  border-top-color: var(--brand-main) !important;
}


/* Container setup */
.woocommerce-account .woocommerce {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

/* === Sidebar Navigation === */
.woocommerce-MyAccount-navigation {
  flex: 1 1 250px;
  max-width: 250px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 0.75rem;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}

.woocommerce-MyAccount-navigation a:hover {
  background-color: #f3f8fb;
  color: var(--accent-color);
}

/* Active link */
.woocommerce-MyAccount-navigation .is-active a {
  /*background-color: var(--accent-color);*/
  background-color: var(--brand-main);

  color: #fff;
  font-weight: 600;
}

/* === Main Content Area === */
.woocommerce-MyAccount-content {
  flex: 1 1 600px;
  max-width: 100%;
  background: #fff;
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Content typography */
.woocommerce-MyAccount-content p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.woocommerce-MyAccount-content a {
  color: var(--accent-color);
  text-decoration: underline;
  transition: color 0.3s;
}

.woocommerce-MyAccount-content a:hover {
  color: var(--brand-main);
  text-decoration: none;
}

/* === Mobile Layout === */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
      flex-direction: column;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
      max-width: 100%;
      flex: 1 1 100%;
  }
}
/* === WooCommerce My Account: Login & Register Form Styles === */

/* Define accent colors (adjust these to match your theme if needed) */
:root {
  --accent-color: #0073aa;
  --accent-color-hover: #005780;
}

/* Layout & Two-Column Structure */
.woocommerce-account #customer_login {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;  /* space between columns */
  margin-top: 2rem; /* top spacing for the form section */
}
.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
  flex: 1 1 45%;  /* two columns each taking ~45% (flexible) of container */
  max-width: 100%;
  background: #fff;  /* panel background */
  border: 1px solid #ddd;  /* light border around each panel */
  border-radius: 5px;
  padding: 2rem;
  box-sizing: border-box;
  /* Soft shadow for panel */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* Stack columns on narrow screens (mobile) */
@media (max-width: 768px) {
  .woocommerce-account #customer_login {
      flex-direction: column;
  }
  .woocommerce-account #customer_login .u-column1,
  .woocommerce-account #customer_login .u-column2 {
      flex: 1 1 100%;
  }
}

/* Form Headings */
.woocommerce-account #customer_login h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
  color: var(--brand-main);  
  /* border-bottom: 2px solid var(--accent-color); */
  display: inline-block;
  /* padding-bottom: 0.25em; */
}

.woocommerce form.checkout_coupon, 
.woocommerce form.login, 
.woocommerce form.register {
  margin-top: 0;
}

/* Form Field Styles */
.woocommerce-account form.woocommerce-form label {
  display: block;
  font-weight: normal;
  margin-bottom: 0.5em;
  color: var(--brand-main);
}
.woocommerce-account form.woocommerce-form input[type=text],
.woocommerce-account form.woocommerce-form input[type=email],
.woocommerce-account form.woocommerce-form input[type=password] {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  font-size: 1em;
  line-height: 1.2;
  box-sizing: border-box;
  transition: border-color 0.3s, box-shadow 0.3s;
}
/* Placeholder text style (optional) */
.woocommerce-account form.woocommerce-form input::placeholder {
  color: #999;
}

/* Field focus state */
.woocommerce-account form.woocommerce-form input:focus {
  border-color: var(--accent-color);
  outline: none;
  /* subtle focus ring */
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.2);
  /* Note: adjust the RGBA color if you change the accent color */
}

/* Checkbox styling */
.woocommerce-account form.woocommerce-form input[type=checkbox] {
  /* Use accent color for checkbox (modern browsers) */
  accent-color: var(--accent-color);
  margin-right: 0.5em;
  position: relative;
  top: -0.1em;
  /* Slight adjust to vertically center with label text */
}

/* Lost password link */
.woocommerce-account .woocommerce-LostPassword {
  margin-top: 1em;
}
.woocommerce-account .woocommerce-LostPassword a {
  font-size: 0.9em;
  color: var(--accent-color);
  text-decoration: none;
}
.woocommerce-account .woocommerce-LostPassword a:hover {
  text-decoration: underline;
}

/* Buttons (Login/Register) */
.woocommerce-account .woocommerce-form button,
.woocommerce-account .woocommerce-form input[type=submit] {
  background-color: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.1s;
}
.woocommerce-account .woocommerce-form button:hover,
.woocommerce-account .woocommerce-form input[type=submit]:hover {
  background-color: var(--accent-color-hover);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}
.woocommerce-account .woocommerce-form button:active,
.woocommerce-account .woocommerce-form input[type=submit]:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.woocommerce-account .woocommerce-form button:focus,
.woocommerce-account .woocommerce-form input[type=submit]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.3);
}

/* Form Row spacing */
.woocommerce-account #customer_login .form-row {
  margin-bottom: 1.5em;
}



/* ======================================== */
/* Prescription Shop                        */
/* ======================================== */

.form-wrap {
  padding: 1rem;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  background-color: #efefef;
}

@media (min-width: 1024px){
  .form-wrap {
    padding: 2rem;
  }
}


.presc-search {
	border: 1px solid #cfcfcf;
  background-color: #efefef;
  padding: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.presc-search__label {
	font-weight: bold !important;
}

.presc-search__input {
	border: 1px solid #cfcfcf !important;
	border-radius: 8px !important;
	padding: 5px 8px !important;
	margin-left: 16px !important;
	margin-right: 16px !important;
	font-weight: bold !important;
	margin-bottom: 16px !important;

}

.presc-search__btn {
	border: 0;
	display: inline-block;
	padding: 7px 32px !important;
	color: white;
	font-weight: bold;
	text-transform: uppercase;
	background-color: var(--brand-main) !important;
	border-radius: 8px !important;
	font-size: 12px;
  text-decoration: none !important;
  color: white !important;
}

.presc-search__btn--reset {
	background-color: #ff0a00 !important;
  margin-left: 16px;
  padding: 4px 32px !important;
}

@media (min-width: 768px){
	.presc-search__input {
		margin-bottom: 0 !important;
	}
}















.shop-intro-section {
	max-width: 1024px;
	margin: 0 auto;
	padding: 0 0 32px 0;
}

.section--scripts-shop h1,
.section--scripts-cart h1 {
	text-align: center;
	padding: 15px 0;
}

.script-products {
	list-style-type: none !important;
	/* max-width: 1024px; */
	margin: 0 auto !important;	
	padding: 0 !important;
	font-size: 14px;
	border-top: 1px solid #cfcfcf;
	border-left: 1px solid #cfcfcf;	
}

.script-products__line-item {
	border-right: 1px solid #cfcfcf;
	border-bottom: 1px solid #cfcfcf;	
	overflow: hidden;
}

.script-products__line-details {
	padding: 0.5rem;
	float: left;
	width: 60%;
}

.script-products__form {	
	float: right;
	width: 40%;
	padding: 0.5rem;	
	text-align: right;
}

.script-products__title {
	line-height: 1.1;
	margin-bottom: 3px;	
}

.script-products__title-text {
	font-size: 12px !important;
	font-weight: bold;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

.script-products__alt-title-text,
.script-products__title-text--alt {
	font-weight: bold;
	font-size: 12px;
	color: #a2a0a0;
}

.script-products__pack-size-text {
	font-size: 12px;
}

.mobile-label {
	font-size: 12px;
	font-weight: bold;
	color: #666;
}

.script-products__pack-size,
.script-products__pack-cost,
.script-products__alt-title {
	line-height: 1;
	margin-bottom: 3px;
}

.script-products__pack-price {
	font-weight: bold;
	color: #39c4a4;
}

.script-products__qty {
	padding: 6px 0;
}

.script-products__qty-input {
	border: 1px solid #666;
	border-radius: 4px;
	width: 50px;
    padding: 3px 5px;
}

.script-products__btn-link,
.btn-presc {
	background: #39c4a4;
	color: white;
	font-weight: bold !important;
	font-size: 10px !important;
	display: inline-block;
	padding: 4px 12px;
	text-transform: uppercase;
	min-width: 108px;
	text-align: center;
}

.btn-presc--red {
	background-color: red;
}

/* Functionality for the listing table */

.script-products__line-item { 
	display: none;
}

.script-products__line-item--active {
	display: block;
}

.script-products__more-wrap {
	text-align: center;
	padding-top: 35px;	
}

.script-products__more-btn {
	background: #39c4a4;
    color: white;
    font-weight: bold !important;
    font-size: 12px !important;
    display: inline-block;
    padding: 8px 42px;
    text-transform: uppercase;
    transition: 0.2s;    
}

.script-products__more-btn:hover {
	background-color: #2da98c;
}

/* Basket Icon */

.section-products-basket {
	position: fixed;
	bottom: 10px;
	right:  10px;
	text-align: center;
}

.script-products-basket {
	display: inline-block;
	border: 1px solid white;		
	z-index: 9999;
	background-color: #39c4a3;
	color: white !important;
	font-weight: bold !important;
	text-decoration: none !important;
	padding: 10px 40px;
	border-radius: 50px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);	
	text-align: center;
	line-height: 120%;
	margin-bottom: 10px;
}

.section-products-basket__btn {
	background-color: red;
	color: white !important;
	display: inline-block;
	padding: 5px 20px;
	text-align: center;
	border: 0;
	font-weight: bold;
	border-radius: 50px;
	margin: 0 5px;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);	
	border: 1px solid white;
}

.section-products-basket__btn--cart {
	background-color: green;
}

/* Hide some buttons on mobile */
.section-products-basket__btn--cart,
.section-products-basket__btn--empty {
	display: none;
}

.mobile-btn-hint {
	display: block;
	font-size: 12px;
}


@media (min-width: 768px){

	.section--scripts-shop h1,
	.section--scripts-cart h1 {
		text-align: center;
		padding: 32px 0 !important;
	}
	

	.script-products__line-details {
		padding: 0 2rem;
		float: left;
		width: 100%;
		display: flex;
		align-items: center;
	}

	.script-products__form {	
		float: right;
		width: 30%;
		padding: 1rem 1rem 1rem 0;
		text-align: right;		
		display: flex;
		align-items: center;
	}

	.script-products__title {
		float: left;
		width: 60%;	
		line-height: 1.5;	
	}

	.script-products__pack-size,
	.script-products__pack-cost {
		float: left;
		width: 25%;		
		text-align: center;
		
	}

	.script-products__qty {
		float: left;
		width: 40%;
	}
	
	.script-products__btn {
		float: left;
		width: 60%;
	}

	.script-products__qty .mobile-label,
	.script-products__pack-cost .mobile-label {
		display: none;
	}

	.script-products__title-text,
	.script-products__alt-title-text,
	.script-products__title-text--alt,
	.mobile-label,
	.script-products__pack-size-text,
	.script-products__pack-price  {
		font-size: 14px !important;
	}
}

@media (min-width: 1024px){
	.section-products-basket__btn--cart,
	.section-products-basket__btn--empty {
		display: inline-block;
	}

	.mobile-btn-hint {
		display: none;
	}
}

@media (min-width: 1280px){
	.script-products__btn-link {
		/*font-size: 14px !important;*/
		padding: 4px 20px;
	}
}


/* ======================================== */
/* Prescription Payment Page                */
/* ======================================== */

.payment-table {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width:1024px){
  .payment-table {
    grid-template-columns: 3fr 1fr;
  }
}

@media (min-width:1024px){
  .payment-table {
    gap: 2rem
  }
}

.payment-warning-red {
	color: red !important;
	font-weight: bold !important;
}


.payment-products-header {
	background-color: #39C4A4;
	color: white;
	padding: 10px;	
}

.payment-products-header h4 {
	padding: 0 !important;
	margin: 0 !important;
	color: white;
	font-weight: bold;
}

.payment-products-all {
	border-top: 1px solid #cfcfcf;
	border-left: 1px solid #cfcfcf;
	margin-bottom: 32px;
}

.payment-products-all__row--hdr {
	display: none;
}


.payment-products-all__cell {	
	border-right: 1px solid #cfcfcf;
	padding: 0 5px;
}

.payment-products-all__cell--first {
	padding-top: 5px;
	line-height: 1.2;
}

.payment-products-all__cell--last {
	border-bottom: 1px solid #cfcfcf;
	padding-bottom: 5px;
}

.payment-products-all__cell-label {
	font-weight: bold;
}

/* Totals */

.payment-products-totals {
	padding: 16px 16px 0 16px;
	border: 1px solid #cfcfcf;
}

.payment-products-totals__row {
	overflow: hidden;	
	margin-bottom: 16px;
}

.payment-products-totals__label {
	font-weight: bold;
	float: left;
	width: 75%;
	font-size: 16px;
}

.payment-products-totals__price {
	float: right;
	width: 25%;
	font-size: 16px;
	font-weight: bold;
}

/* Button Wrap */ 

.payment-products-payment-form .frm_button_submit.frm_final_submit {
	display: block !important;
	width: 100% !important;
	font-weight: bold !important;
	font-size: 16px !important;
	text-transform: uppercase;
}

.payment-products-payment-form .with_frm_style .frm_form_fields > fieldset {
	padding-bottom: 0;
}

.payment-products-payment-form__info {
	font-weight: bold;
	color: #666;
}

@media (min-width: 768px){

	.payment-products-header { 
		padding-left: 16px;
	}

	.payment-products-all__cell {	
		padding: 0 16px;
	}

	.payment-products-all__cell--first {
		padding-top: 16px;
	}

	.payment-products-all__cell--last {
		padding-bottom: 16px;
	}
}

@media (min-width: 1280px){

	.payment-products-all__row-single {
		display: flex;
	}

	.payment-products-all__cell-label {
		display: none !important;
	}

	.payment-products-all__row--hdr {
		display: flex;
		font-weight: bold !important;
	}

	.payment-products-all__cell {				
		width: 20%;
		border-left: 1px solid #cfcfcf;
		border-bottom: 1px solid #cfcfcf;
		text-align: center;
	}

	.payment-products-all__cell--first {
		padding-top: 0;
		padding: 3px 16px;
	}

	.payment-products-all__cell--product {
		width: 40%;
		text-align: left;
	}
}


/* ======================================== */
/* Prescription Search Page                 */
/* ======================================== */

.presc-order-search-form {
	border: 1px solid #cfcfcf;
	padding: 16px;
	border-radius: 8px;
}

.presc-order-search-form__search-field {
	border: 1px solid #cfcfcf;
	border-radius: 8px;
	padding: 5px 8px;
	margin-left: 16px;
	margin-right: 16px;
	font-weight: bold !important;

}

.presc-order-search-form__search-btn {
	display: inline-block;
	padding: 5px 32px;
	color: white !important;
	font-weight: bold;
	text-transform: uppercase;
	background-color: #39c4a3;
	border-radius: 8px;
	font-size: 12px;
  text-decoration: none !important;
}

.presc-order-search-form__error {
	color: red;
	font-weight: bold;
	padding-top: 8px;
}


/* ======================================== */
/* Testimonials
/* ======================================== */

.testimonials-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.testimonial {
  background-color: var(--brand-main);
  padding: 1rem;
  border-radius: 10px;  
  height: 100%;
}

.testimonial__icon,
.testimonial__text,
.testimonial__name {
  color: white !important;
}

.testimonial__text {
  font-size: 18px;
  font-style: italic;
}

.testimonial__name {
  font-weight: bold;
}

@media (min-width: 768px){
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1280px){
  .testimonials-grid {    
    grid-template-columns: 1fr 1fr 1fr;
  }

  .testimonial__icon {
    font-size: 24px;
    margin-bottom: 1rem;
  }
}


/* ======================================== */
/* Locations
/* ======================================== */

.locations {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.location-card {
  background-color: var(--brand-main);
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
}

.location-card__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px;
  color: #fff;
}

.location-card__addr {
  color: white !important;
  margin-bottom: 5px !important;
}

.location-card__contact {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.location-card__link {
  color: white !important;
text-decoration: none !important;
}

.location-card__icon {
  color: white !important;
  margin-right: 5px;
}

@media (min-width: 768px){
  .locations {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px){
  .locations {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}