:root {
  --theme-color-primary: #01203f;
  --theme-color-secondary: #01203f;
  --theme-color-accent: #00b6be;
  --theme-font-primary: "Montserrat", sans-serif;
  --theme-font-big: 18px;
  --theme-font-regular: 16px;
  --theme-font-small: 14px;
}

body {
  font-family: var(--theme-font-primary);
  color: var(--theme-color-primary);
  line-height: 1.4;
  font-size: var(--theme-font-regular);
  font-weight: 400;
}

body,
h1,
h2,
h3,
h4,
li {
  color: var(--theme-color-primary);
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 600;
}

a {
  color: initial;
  text-decoration: none;
}

a:hover {
  color: var(--theme-color-secondary);
}

.font-big {
  font-size: var(--theme-font-big);
}

.font-small {
  font-size: var(--theme-font-small);
}

.hero-item {
  background-size: cover;
  background-position: center;
  min-height: 500px;
  max-height: 500px;
}

.header {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

.menu {
  display: flex;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;

  & li {
    margin-inline: 5px;
    padding-inline: 12px;
    padding-block: 10px;
  }

  & a {
    color: var(--theme-color-primary);
    text-decoration: none;
  }
}

.sn-bg-secondary {
  background-color: var(--theme-color-secondary);
}

.sn-bg-accent {
  background-color: var(--theme-color-accent);
}

.hero-banner-text .main-title h1 {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--theme-color-secondary);

  & strong {
    color: var(--theme-color-accent);
    font-weight: 600;
  }
}

h1.main-title {
  font-size: 52px;
  line-height: 1.2;
  font-weight: 500;

  & strong {
    color: var(--theme-color-secondary);
    font-weight: 700;
  }

  & span {
    color: var(--theme-color-accent);
    font-weight: 700;
  }
}

.hero-desc h2 {
  font-size: 36px;
  font-weight: 400;
}

.btn-style-1 {
  border-radius: 4px;
  background-color: var(--theme-color-secondary);
  color: #fff;
  padding: 12px 28px;
  font-size: var(--theme-font-regular);
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
  border: solid 2px var(--theme-color-secondary);
  display: inline-block;
}

.btn-style-1:hover {
  background-color: transparent;
  color: var(--theme-color-secondary);
}

.top-title {
  color: var(--theme-color-accent);
  font-size: var(--theme-font-small);
  font-weight: 700;
  text-transform: uppercase;
}
.home-service-content h3{
  font-size: 26px;
}
.title,
h2.title {
  color: var(--theme-color-primary);
  font-size: 26px;
}

.focus-item {
  width: 25%;
}

h2 {
  font-size: 26px;
}

.title a {
  text-decoration: none;
  color: var(--theme-color-primary);
}

.appointment-cta h2 strong {
  color: var(--theme-color-secondary);
  font-weight: 600;
}

.min-title {
  font-size: 20px;
  font-weight: 400;
}

.focus-item-box {
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-height: 300px;
  max-height: 300px;
  overflow: hidden;
  position: relative;
  transition: 0.25s;

  .focus-image {
    overflow: hidden;
  }

  & img {
    scale: 1.2;
    min-height: 300px;
    max-height: 300px;
    object-fit: cover;
  }

  .focus-item-title {
    font-weight: 700;
    background-color: var(--theme-color-secondary);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    padding: 5px 20px;
    min-height: 55px;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: 0.25s;
    border-bottom: solid 1px transparent;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
}

.focus-item-box:hover .focus-item-title {
  background-color: #2EB1B7;
/*   color: var(--theme-color-secondary); */
  border-bottom: solid 1px var(--theme-color-secondary);
}

.service-card {
  border-radius: 4px;
  background: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  height: 100%;
  padding: 1.25rem;
  text-transform: capitalize;

  & p {
    font-weight: 500;
  }

  & img {
    max-width: 65px;
    width: 100%;
    object-fit: contain;
    height: 70px;
  }
}

.easicare-card {
  border-radius: 4px;
  border: 1px solid #00b6be;
  background: #fff;
  height: 100%;
  transition: 0.5s;

  & img {
    max-width: 100px;
    width: 100%;
  }

  .easicare-title {
    font-size: 18px;
    font-weight: 500;
  }

  & p {
    font-size: 12px;
  }

  &:hover {
    transform: translateY(-15px);
  }
}

/* Virtual Consultation Page - Certificate Section */
.certificates-section{
	margin-top:0px;
	background:#00B6BE;
	padding-bottom:50px;
}

.certificates-card {
  border: none;
  background: #fff;
  height: 100%;
  transition: 0.5s;
	& img {
    width: 100%;
  }
	&:hover {
    transform: translateY(-15px);
  }
}
.margin-zero{
	margin-bottom:0px!important;
    padding-bottom:0px!important;
}
.row-margin-zero {
    margin-bottom:0px!important;
}

/* END Virtual Consultation Page - Certificate Section */

.virtual-row {
  max-width: 85%;
  margin-inline: auto;

  .virtual-card {
    display: flex;
    align-items: center;
  }
}

.action-bar {
  min-height: 40px;

  & a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
  }

  & p {
    margin-bottom: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }

  > div {
    align-items: center;
    display: flex;
  }
}

.header-contact-text a:first-child {
  padding-right: 24px;
}

.social-icons a {
  padding-right: 15px;
}

.top-social-box a:last-child {
  padding-right: 0;
}

.sn-menu .btn-style-1 {
  padding: 0;
  margin-left: 12px;

  & a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
  }
}

.navbar {
  min-height: 90px;
}

.sn-menu .btn-style-1:hover a {
  color: var(--theme-color-secondary);
}

.navbar a {
  color: var(--theme-color-primary);
  font-size: var(--theme-font-small);
  transition: 0.25s;

  &:hover {
    color: var(--theme-color-secondary);
  }
}

.logo figure {
  margin-bottom: 0;

  & img {
    max-width: 215px;
  }
}

.menu ul,
.menu {
  margin-bottom: 0;
  padding: 0;
}

.copyright p {
  margin-bottom: 0;
}

#first-block.first-block img {
  max-width: 215px !important;
  width: 100%;
}

#footer {
  color: #fff;
  font-size: 14px;

  & a {
    text-decoration: none;
    color: #fff;

    &:hover {
      text-decoration: underline;
    }
  }

  & h5 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  & ul {
    list-style: none;
  }

  & li {
    margin-bottom: 15px;
  }
	& .contact-block p {
		padding-left: 1.5rem;
		position: relative; 
		& .iconify{
			position: absolute;
    		left: 0;
			top:1px;
		}
	}
}

#footer .footer-copyright {
  border-top: solid 1px rgba(255, 255, 255, 0.4);

  & p {
    font-size: 12px;

    & a {
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
}

.faq-accordion .card {
  margin-bottom: 20px;
  border-radius: 4px;
  border: 1px solid #00b6be;
  background-color: #fff;
  padding-left: 15px;
  padding-right: 5px;

  &:last-child {
    margin-bottom: 0;
  }

  .card-header {
    min-height: 55px;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
  }

  .card-header h4 {
    width: 100%;
  }

  .card-header h4 a {
    text-decoration: none;
    font-size: var(--theme-font-big);
    color: var(--theme-color-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;

    & svg {
      width: 20px;
      height: 20px;
      color: var(--theme-color-primary);
      transition: 0.25s;
    }
  }

  .card-header h4 a:not(.collapsed) {
    color: var(--theme-color-accent);

    & svg {
      transform: rotate(315deg) !important;
    }
  }
}

.mobile-btn {
  & svg {
    width: 40px;
    height: 40px;
    color: var(--theme-color-secondary);
  }

  &:focus {
    border: none;
  }

  &:active {
    border: none;
  }
}

#footer svg {
  width: 17px;
  height: 17px;
}

#first-block svg {
  margin-right: 5px;
}

.footer-navmenu .menu {
  display: block;

  & li {
    padding: 0;
    margin-inline: 0;
  }
}

.newsletter-form {
  position: relative;
  z-index: 1;

  & input {
    padding-block: 10px;
    background-color: transparent;
    border: none;
    font-size: 16px;
    border-bottom: solid 1px #fff;
    color: #fff;
    width: 100%;
  }

  .form-submit input {
    display: none;
  }

  & input::placeholder {
    color: rgb(255 255 255 / 60%);
  }

  .form-submit {
    position: absolute;
    right: 0;
    top: 15px;

    & img {
      width: 15px;
      display: block;
      margin-left: auto;
      margin-right: 10px;
    }
  }

  & small {
    font-size: 11px;
  }

  & input:focus-visible {
    border: none;
    outline: none;
    box-shadow: none;
    border-bottom: solid 1px #fff;
  }
}

.virtual-box iframe {
  width: 820px;
  height: 460px;
  border-radius: 5px;
}

.single-banner {
  background-size: cover;
  background-position: center;
  min-height: 340px;
  max-height: 340px;

  .single-banner-image img {
    min-height: 340px;
    max-height: 340px;
    object-fit: cover;
	width:100%;
  }
}

.single-content-inner {
  & ol {
    list-style: none;
    padding: 0;
    display: block;
    margin-bottom: 30px;
    columns: 3;
  }

  & ol li {
    position: relative;
    text-transform: capitalize;
    padding-left: 32px;
    margin-bottom: 0.5rem;

    &:before {
      content: "";
      background-image: url(../images/check.svg);
      width: 20px;
      height: 20px;
      background-size: contain;
      background-repeat: no-repeat;
      position: absolute;
      left: 0px;
    }
  }

  & h2 {
    font-weight: 700;
    color: var(--theme-color-secondary);
    margin-bottom: 1rem;
  }

  & p {
    margin-bottom: 25px;
  }

  & a {
    color: var(--theme-color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
}

.single-approach {
  background: rgba(0, 174, 239, 0.2);

  .single-approach-content {
    max-width: 655px;
    padding-left: 1rem;

    & h2 {
      font-weight: 700;
      color: var(--theme-color-secondary);
    }
  }

  .single-approach-image {
    width: 100%;
    height: 100%;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.accord-image {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.single-banner-text,
.common-banner-content {
  max-width: 700px;
  margin-left: auto;
  width: 100%;
}

.single-approach-content ul li,
.single-content-inner ul li {
  margin-bottom: 0.25rem;
}

.contact-form .form-btn input {
  border-radius: 4px;
  background-color: var(--theme-color-secondary);
  color: #fff;
  padding: 15px 28px;
  font-size: var(--theme-font-regular);
  font-weight: 600;
  text-decoration: none;
  transition: 0.25s;
  border: solid 2px var(--theme-color-secondary);
  display: inline-block;
  width: fit-content;
}

.contact-form .form-btn input:hover {
  background-color: transparent;
  color: var(--theme-color-secondary);
}

.virtual-text {
  font-size: 18px;
}

.virtual-card-wrap {
  max-width: 1100px;
  margin-inline: auto;
}

.contact-form input,
.contact-form textarea {
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
  min-height: 65px;
  width: 100%;
  border: none;
  height: calc(100% - 30px);
  padding: 22px;
  font-size: 18px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 18px;
  color: rgba(9, 55, 31, 0.5);
}

.contact-form p {
  height: 100%;
  margin-bottom: 20px;
}

.contact-form .wpcf7-spinner {
  display: none;
}
.contact-address p {
	padding-left: 1.5rem;
	position: relative;
}
.contact-address p .iconify {
	position: absolute;
	left: 0;
	top: 3px;
}
.title.about-title {
  color: var(--theme-color-secondary);
  text-transform: uppercase;
  font-weight: 700;
}

.sn-container-small {
  max-width: 1100px;
}

.about-cta-section {
  background-color: rgba(0, 174, 239, 0.2);
}

.about-cta {
  font-size: 18px;
}

.common-banner-content .subtitle {
  font-size: 24px;
  font-weight: 500;
  color: rgba(9, 55, 31, 0.8);
}

.bg-cover {
  background-size: cover;
  background-repeat: no-repeat;
}

.blog-featured-image {
  min-height: 250px;
  max-height: 250px;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.blog-featured-image img {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  min-height: 250px;
  max-height: 250px;
}

.blog-item .title {
  width: 80%;
  text-transform: capitalize;
}

.blog-date {
  position: absolute;
  bottom: 16px;
  right: 0;
  background-color: var(--theme-color-secondary);
  color: #fff;
  text-align: center;
  min-width: 185px;
  font-size: 16px;
  max-height: 35px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.blog-desc a {
  color: var(--theme-color-accent);
  text-decoration: underline;
  text-underline-offset: 1.5px;
  overflow-wrap:anywhere;
}

.blog-meta > span {
  margin-right: 7px;
  padding-right: 14px;
  border-right: solid 1px;

  &:last-child {
    border: none;
  }
}

.blog-item .title:hover a {
  color: var(--theme-color-accent);
}

.blog-item .title a,
.blog-item img {
  transition: 0.5s;
}

.blog-item .blog-featured-image:hover img {
  scale: 1.1;
}

.pagination {
  color: #09371f;
  font-size: 24px;
  font-weight: 600;
  justify-content: center;

  .page-numbers {
    margin-right: 10px;
    padding-inline: 10px;
    border-bottom: solid 2px;
  }

  .page-numbers.current {
    color: var(--theme-color-accent);
  }

  .next.page-numbers,
  .prev.page-numbers {
    font-size: 20px;
    border: none;
    display: flex;
    align-items: center;
  }
}

.wp-block-search__input {
  border-radius: 4px 0px 0px 4px;
  border: 1px solid rgba(9, 55, 31, 0.5);
  min-height: 40px;
  max-height: 40px;

  &:focus-visible {
    outline: none;
  }
}

.wp-block-search__button {
  border: solid 1px var(--theme-color-secondary);
  margin: 0;
  background-color: var(--theme-color-secondary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  min-height: 40px;
  max-height: 40px;
  padding-inline: 30px;
  border-radius: 0 4px 4px 0;
  transition: 0.5s;

  &:hover {
    color: var(--theme-color-secondary);
    background-color: transparent;
  }
}

.sidebar-block .wp-block-heading {
  font-size: 26px;
  margin-bottom: 25px;
}

.sidebar-block .wp-block-categories-list {
  list-style: none;
  padding: 0;
  font-size: 18px;
  margin-bottom: 2.5rem;

  & li {
    margin-bottom: 20px;
  }
}

.sidebar-block .wp-block-latest-posts li {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 100px auto;
  font-size: 14px;
  padding-right: 1rem;

  .wp-block-latest-posts__featured-image {
    height: 80px;
    width: 80px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 2rem;

    & img {
      height: 100%;
      width: 100%;
      object-fit: cover;
      transition: 0.5s;
    }
  }

  &:last-child {
    margin-bottom: 1rem;
  }
}

.sidebar-block ul {
  padding: 0;
  list-style: none;
}

.single-featured-image img {
  width: 100%;
  height: auto;
}

.blog-desc ul {
  list-style: none;
}

.blog-desc li {
  margin-bottom: 1rem;
  position: relative;

  &::before {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: var(--theme-color-primary);
    left: -15px;
    top: 10.5px;
  }
}

.blog-desc p {
  margin-bottom: 1.75rem;
}

.single-listing .blog-meta {
  font-size: 14px;
}

.single-listing .blog-item .title {
  font-size: 32px;
  width: 90%;
}

.header {
  box-shadow: 0 5px 30px rgb(0 22 84 / 10%);
}

.single-post .header {
  box-shadow: none;
}

.section-banner {
  min-height: 340px;
  display: grid;
  align-content: center;
}

.current_page_item a,
.current-menu-item a {
  color: var(--theme-color-secondary);
}

.sc-header .sub-menu {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  top: 40px;
  left: 0;
  width: max-content;
  min-width: 200px;
  height: auto;
  background-color: #fff;
  box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  display: block;
  padding-block: 15px;
}

.sc-header .sub-menu::before {
  content: "";
  background-color: transparent;
  width: 100%;
  display: block;
  height: 20px;
  top: -15px;
  position: absolute;
}

.sc-header .sub-menu li {
  width: 100%;
  padding: 10px 15px;
  margin-right: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-left:0;

  & a {
    padding-bottom: 0;
  }
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children::after {
  position: absolute;
  content: "";
  background-image: url(../images/down-black.svg);
  width: 15px;
  height: 15px;
  right: -5px;
  bottom: 12px;
  background-repeat: no-repeat;
  background-position: center right;
  transition: 0.5s;
  opacity: 0.8;
}

.home .menu-item-has-children::after {
  background-image: url(../images/down-black.svg);
}

.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: inherit;
}

.menu-item-has-children .sub-menu .sub-menu {
	top:0;
	left:100%;
}

.sc-mobile-canvas {
  background-color: #fff;
}
  .sc-mobile-inner ul {
    padding: 0;
    list-style: none;
  }

  .sc-btn-close {
    background-color: transparent;
    border: none;

    & svg {
      font-size: 24px;

      & g {
        stroke: #fff;
      }
    }
  }
}

.sc-mobile-inner li {
  padding: 1rem;
  border-bottom: solid 1px var(--theme-color-secondary);

  &:last-child {
    border-bottom: none;
  }
}

.post-pagination {
  border-radius: 4px;
  background: rgba(0, 174, 239, 0.2);
  font-weight: 600;
  color: var(--theme-color-primary);
  font-size: 20px;

  .nav-links {
    display: grid;
    grid-template-columns: 46% 46%;
    gap: 8%;
  }

  .nav-previous {
    position: relative;

    &::before {
      content: "Previous Post";
      color: var(--theme-color-secondary);
      font-size: 16px;
      font-weight: 400;
      display: block;
    }
  }
  .nav-next {
    position: relative;
    text-align: right;

    &::before {
      content: "Next Post";
      color: var(--theme-color-secondary);
      font-size: 16px;
      font-weight: 400;
      display: block;
    }
  }
}

.top-banner .banner-text {
  max-width: 650px;
}


.service-listing-image {
  width: 215px;
  height: 215px;
  border-radius: 50%;
  margin-inline: auto;
  overflow: hidden;
  border: 5px solid transparent;
  transition: 0.5s;

  &:hover {
    border: 5px solid var(--theme-color-secondary);
  }

  &:hover img {
    scale: 1.1;
  }

  & img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
  }
}

.service-listing-title a {
  font-size: 24px;
  transition: 0.5s;

  &:hover {
    color: var(--theme-color-accent);
  }
}

.service-row-listing {
  max-width: 1100px;
  margin-inline: auto;
}

.single-services .service-listing-title a {
  font-size: 20px;
}

.single-services .service-listing-image {
  width: 175px;
  height: 175px;
}

.social-icons a:hover svg {
  scale: 1.1;
}

.single-banner-image {
  position: relative;

  &::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to right, rgb(246, 246, 246) 0%, transparent 50%);
  }
}

.common-banner-image {
  position: relative;
  height: 100%;

  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  &::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to right, rgb(246, 246, 246) 0%, transparent 50%);
  }
}

body .leaf-style:after {
	background-image:url('https://8wellness.ca/wp-content/uploads/2024/07/leaf-1.png');
	height:40px;
}

.breadcrumb-custom {
	list-style:none;
	padding-left:0;
	
	& a {
		color:var(--theme-color-accent);
	}
}

.sc-mobile-inner .menu-item-has-children {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	
	& svg {
		width:1.5rem;
		height:1.5rem;
	}
}
