/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
/* test */
body.home #page-container {
  opacity: 0;
}

.et-fb-root-ancestor body.home #page-container {
  opacity: 1 !important;
}

/* PRELOADER */
.et-fb-root-ancestor body.home .preloader {
  display: none !important;
}

body.home .preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fefefe;
  z-index: 100000;
  height: 100%;
  width: 100%;
  overflow: hidden !important;
}
body.home .preloader .status {
  width: 400px;
  height: 400px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url(https://rootcauses.com/wp-content/uploads/2021/11/rc-animated-icon.svg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: cover;
  background-size: cover;
}

/******************************************************
 Typography
 ******************************************************/

@font-face {
  font-family: 'Averta regular';
  src: url('/fonts/Averta-Regular.otf'); /* IE9 Compat Modes */
}

@font-face {
  font-family: 'Averta semibold';
  src: url('/fonts/Averta-Semibold.otf'); /* IE9 Compat Modes */
}

@font-face {
  font-family: 'Averta Bold';
  src: url('/fonts/Averta-Bold.otf'); /* IE9 Compat Modes */
}

/* Averta */
body {
  font-family: 'Averta regular';
  min-height: 1vw;
}

.averta-font {
  font-family: 'Averta regular';
}

.txt-purple {
  color: #776e64 !important;
}

.text-22 {
  font-size: 22px;
}

.flex-text * {
  display: inline;
}

/* ivy Journal Serif */
h1,
h2,
h3,
h4,
.main-nav .sub-menu a,
.testimonial-slider .et_pb_slide_content,
.pre-nav .sub-menu a {
  font-family: 'ivyjournal';
}

/* ivystyle sans serif*/
.ivystyle-sans-type *,
h5,
h6,
#main-header,
.et-l--header,
.et_pb_button,
.copyright-container,
.wdc-post-categories a,
.testimonial-slider .et_pb_slide_title,
.rc-call-to-action .et_pb_button,
.post-meta,
.more-link,
.et_pb_post_title .et_pb_title_meta_container,
.rel-posts h4,
.menu-item-description,
.functional-graphic h2,
.functional-graphic h4,
.functional-slider h2 {
  font-family: 'ivystyle-sans', sans-serif, arial, helvetica;
}

.et_pb_text b,
.et_pb_text strong {
  font-family: 'Averta Bold';
}

/* Home page typography */
.home-intro {
  font-size: clamp(55px, 5.61vw, 77px);
  line-height: 1em;
  letter-spacing: -0.04em;
}

.home-intro > span {
  opacity: 0.35;
}

.home-intro .slick-slide {
  cursor: auto;
}

.home-intro b {
  font-weight: normal;
  display: inline-block;
  font-style: italic;
}

.home-txt-rotate {
  display: block;
  position: relative;
  max-width: 275px;
  vertical-align: bottom;
}
/* fix alignment on theme editor */
.et-fb-root-ancestor .home-txt-rotate {
  vertical-align: top;
}

/* list styles in content */
.ul-50-50 ul li {
  display: inline-block;
  width: 49%;
}

.et_pb_text ul,
.et_pb_post_content ul,
.et_pb_text ol,
.et_pb_post_content ol {
  margin-top: 20px;
  padding-left: 0 !important;
}

.et_pb_text ul li,
.et_pb_post_content ul li,
.et_pb_text ol li,
.et_pb_post_content ol li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.et_pb_text ul li:before {
  content: '';
  display: inline-block;
  margin-right: 7px;
  margin-left: -19px;
  background: url(https://rootcauses.com/wp-content/uploads/2021/08/leaf.svg)
    no-repeat;
  width: 12px;
  height: 16px;
  background-size: cover;
  transform: translateY(1px);
}

.pricing-leaves ul li {
  margin-bottom: 20px;
  line-height: 1.5 !important;
}

/* Mobile portrait */
@media only screen and (max-width: 480px) {
  .ul-50-50 ul li {
    display: block;
    width: 100%;
  }

  /* make ul lists accordions */
  .make-lists-accordions p {
    margin-bottom: 8px;
  }

  .make-lists-accordions p:after {
    font-family: ETmodules;
    content: '3';
    font-size: 16px;
    position: relative;
    left: 8px;
    top: 0;
    font-weight: 800;
  }
  .make-lists-accordions ul {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
    padding: 0;
  }

  .make-lists-accordions ul.opened {
    max-height: 500px;
    /*overflow: auto;*/
  }
}
/******************************************************
 Navigation
******************************************************/
/* hide prenav on sitcky */
.has_et_pb_sticky .pre-nav {
  display: none;
}

/* resize logo on sticky */
.has_et_pb_sticky .et_pb_code_0_tb_header {
  width: 200px;
}

.pre-nav .menu-item a {
  border: 0 !important;
}
/* globalmenu */
.pre-nav .menu-item a:after {
  display: none;
}

.pre-nav .mega-menu > a {
  pointer-events: none;
}

.pre-nav .menu-item-description {
  font-size: 16px;
  color: #697a65;
  font-family: 'Averta regular';
  line-height: 1.4;
  margin-top: 7px;
}

.sub-menu .menu-item-description {
  display: block;
}

.pre-nav ul.sub-menu {
  width: 350px !important;
}

.pre-nav ul.sub-menu li {
  width: 100%;
}

.pre-nav ul.sub-menu li a {
  display: block !important;
  width: 100% !important;
  padding: 6px 0 30px !important;
}

/* main menu */

.main-nav .menu-item-has-children > a:first-child:before {
  content: '';
  opacity: 0;
  position: absolute;
  top: 13px;
  background: white;
  width: 15px;
  height: 15px;
  transform: rotate(45deg);
  right: 0;
  z-index: 10000;
}

.main-nav .menu-item-has-children.et-hover > a:first-child:before {
  opacity: 1 !important;
}

.et-menu.nav > li .sub-menu li {
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0s ease-in-out;
}

.et-menu.nav > li:hover .sub-menu li {
  transform: translateX(0);
  opacity: 1;
  transition: all 0.3s ease-in;
}

.main-nav .sub-menu li {
  display: block;
  width: 100%;
}

.main-nav .sub-menu li a {
  text-transform: capitalize !important;
  font-weight: 403 !important;
}

.main-nav .sub-menu li:last-child {
  padding-bottom: 0 !important;
}

.sub-menu li a:before {
  content: '';
  display: inline-block;
  background: url(https://rootcauses.com/wp-content/uploads/2021/08/leaves.svg)
    no-repeat;
  background-size: cover;
  height: 26px;
  width: 35px;
  margin-right: 10px;
  transform: translateY(5px);
}

.sub-menu li a:hover {
  background: transparent !important;
  opacity: 1 !important;
}

.main-nav .sub-menu li:last-child a {
  border-bottom: 0 !important;
}

.global-nav-item {
  display: none !important;
}

.global-has-sub a {
  padding-right: 0 !important;
}

/* Small Devices, tablets portrait */
@media only screen and (max-width: 980px) {
  /* navigation  */
  /* align hamburger to left */
  .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
    flex-flow: row-reverse !important;
  }

  .global-nav-item {
    display: block !important;
  }

  .global-nav-item a {
    font-size: 13px !important;
    text-transform: unset !important;
    color: #645c52 !important;
  }

  /* mobile arrow alignment fix */
  .global-nav-item a:after {
    top: 3px !important;
  }

  .main-nav .mobile_menu_bar:after {
    content: 'menu';
    display: inline-block;
    font-size: 16px;
    color: #695c52 !important;
    text-transform: uppercase;
    position: relative;
    letter-spacing: 0.07em;
    left: 3px;
    top: -7px;
  }

  .global-nav-item.renew-nav-link {
    /* this is temporary */
    display: none !important;
  }

  .renew-nav-link a {
    font-family: 'ivyjournal', sans-serif;
    letter-spacing: -0.04em !important;
    color: #645c52 !important;
  }

  .main-nav .sub-menu li {
    padding-left: 0;
  }

  .main-nav .sub-menu li a:before {
    height: 13px;
    width: 17px;
    transform: translateY(2px);
  }

  .main-nav .et_mobile_menu li a {
    border-color: transparent;
  }

  .main-nav .et_mobile_menu {
    box-shadow: 10px 10px 63px rgba(0, 0, 0, 0.16);
  }

  .main-nav .et_mobile_menu .sub-menu {
    display: none !important;
  }

  .main-nav .et_mobile_menu .sub-menu a {
    font-size: 16px !important;
    letter-spacing: -0.04em;
  }

  .main-nav .et_mobile_menu .sub-menu.open {
    display: block !important;
  }

  .et_mobile_menu .menu-item-has-children > a,
  .et_mobile_menu .menu-item-has-children > a:hover {
    background: transparent;
  }

  .et_mobile_menu .menu-item-has-children > a:after {
    font-family: ETmodules;
    content: '3';
    font-size: 16px;
    position: relative;
    left: 8px;
    top: 0;
    font-weight: 800;
  }

  .et_mobile_menu .menu-item-has-children > a.opened:after {
    transform: rotate(-180deg);
  }

  .main-nav .et_mobile_menu {
    width: 80vw;
  }

  .et_mobile_menu .menu-divider a {
    border-top: 1px solid #d4d4d4 !important;
    padding-top: 20px;
  }
}

.main-nav .et_mobile_menu {
  overflow: scroll;
  max-height: 70vh;
  top: 167%;
}

.mobile_nav .mobile_menu_bar {
  transform: translateY(6px);
}

.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
}

.mobile_nav.closed .mobile_menu_bar:before {
  content: 'a';
}

.open-main-search {
  width: 250px !important;
}

/*adjust mega menu position whens earch box is open*/
.et-menu-nav li.mega-menu ul.open-search-readjust-mega-menu {
  left: -250px !important;
}
/* Mobile portrait */
@media only screen and (max-width: 480px) {
  .nav-section.et_pb_sticky {
    transform: translateY(-15px);
  }

  .main-nav .sub-menu li a {
    font-size: 12px !important;
  }
}

/* iphone 5/SE Mobile portrait */
@media only screen and (max-width: 320px) {
  .et_pb_row_2_tb_header {
    align-items: stretch !important;
  }

  .main-nav .mobile_menu_bar:after,
  .et_pb_module .mobile_menu_bar:before {
    top: 0 !important;
  }

  .et_pb_menu .et_mobile_nav_menu {
    transform: translateY(-4px);
  }
}
/******************************************************
Helpers
******************************************************/
.fade-out {
  opacity: 0;
}

.hidden-temporary-remove-me {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/******************************************************
Buttons
******************************************************/

/* CTA section button, Especifity is a  b***h */
body
  #page-container
  .et_pb_section
  .rc-call-to-action.et_pb_promo
  a.et_pb_promo_button.et_pb_button {
  padding-left: 45px !important;
}

.rc-call-to-action .et_pb_button {
  position: relative;
  transition: all 0.4s ease-in-out !important;
}

.rc-call-to-action .et_pb_button:before {
  content: '';
  margin-left: -45px !important;
  background: url(https://rootcauses.com/wp-content/uploads/2021/08/light-arrow-btn.svg);
  width: 35px;
  height: 27px;
  background-size: cover;
  transition: all 0.5s ease-in-out;
}

.rc-call-to-action .et_pb_button:after {
  content: '';
  display: block !important;
  width: 0;
  height: 3px;
  background: white;
  position: absolute;
  z-index: 1;
  left: 46px;
  bottom: 0;
  visibility: visible !important;
}

.rc-call-to-action .et_pb_button:hover::after {
  width: calc(100% - 60px);
  opacity: 1;
}

/******************************************************
Layout
******************************************************/
/* hide scrolltop on all pages except blog post */
body:not(.single-post) span.et_pb_scroll_top.et-pb-icon {
  display: none !important;
}

/* home page intro */
#sticky-intro.make-it-stick {
  position: fixed !important;
  width: 41%;
  /*max-width: 661px;*/
}

#sticky-intro.remove-sticky {
  position: relative !important;
  /*padding-right: 5% !important;*/
  left: unset !important;
  /*opacity: 0;*/
}

.treated-contidions-list > div {
  width: 31% !important;
}

/* path to healing blurbs */
.path-blurbs .et_pb_blurb_container {
  display: flex !important;
  flex-flow: row nowrap;
  align-items: flex-start;
}

.path-blurbs .et_pb_blurb_container h4 {
  padding-right: 20px;
  line-height: 0.7;
}

.path-blurbs .et_pb_blurb_container h5 {
  text-transform: uppercase;
  font-size: 18px;
  color: #291d26 !important;
  letter-spacing: 0.07em;
  font-weight: 600;
}

@media only screen and (max-width: 980px) {
  /* providers page */
  .dr-charlotte-container > div {
    display: flex;
    flex-flow: column-reverse;
  }
}

/* Small Devices, tablets portrait */
@media only screen and (max-width: 768px) {
  .treated-contidions-list > div {
    width: 48% !important;
  }
}

@media only screen and (max-width: 480px) {
  .treated-contidions-list > div {
    width: 100% !important;
  }

  /* path to healing blurbs */
  .path-blurbs .et_pb_blurb_container {
    /*display: flex!important;*/
    flex-flow: column wrap;
    /*align-items: flex-start;*/
  }
  .et_pb_scroll_top.et-pb-icon {
    bottom: 40px;
  }
}

/******************************************************
Functional Medicine interactive
******************************************************/
.functional-graphic {
  cursor: url(https://rootcauses.com/wp-content/uploads/2021/08/leaf.svg), auto;
}

/* hide element on front end of the page */
.et-fb-root-ancestor .functional-graphic-p,
.et-fb-root-ancestor .functional-graphic .et_pb_blurb_description p,
.functional-graphic-hdr:hover + .functional-graphic-p,
.functional-graphic .functional-graphic-blurb:hover .et_pb_blurb_description p {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.functional-graphic-blurb:hover::after {
  transform: translatex(-50%) scale(2.5) !important;
  border: 1px solid #55a603 !important;
}

.functional-graphic .et_pb_blurb_description p {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.functional-graphic-blurb .et_pb_blurb_description h5 {
  font-size: 14px;
}

/* blurbs title cirle positions */
#functional-graphic-hdr-1:before,
#functional-graphic-hdr-1:after {
  left: 50%;
}

#functional-graphic-hdr-2:before,
#functional-graphic-hdr-2:after {
  left: 48.5%;
}

#functional-graphic-hdr-3:before,
#functional-graphic-hdr-3:after {
  left: 49%;
}
.functional-graphic.functional:after {
  background-image: url(https://rootcauses.com/wp-content/uploads/2021/10/personalized-care-2.png);
}

.functional-graphic.conventional:after {
  background-image: url(https://rootcauses.com/wp-content/uploads/2021/10/personalized-care-3.png);
}

.functional-graphic.personalized:after {
  background-image: url(https://rootcauses.com/wp-content/uploads/2021/10/personalized-care-4.png);
}

/* slider for mobile devices */
.functional-slider .et_pb_slides {
  height: 100% !important;
}

/* ipad tablet */
@media only screen and (max-width: 980px) {
  .functional-slider .et_pb_slides .et_pb_slide {
    background-size: 80%;
  }
}

/******************************************************
Testimonials
******************************************************/

.testimonial-slider .et-pb-controllers {
  left: 6%;
  text-align: left;
}

.testimonial-slider .et-pb-controllers a {
  border-radius: 0;
  width: 30px;
  height: 4px;
}

.testimonial-slider .et_pb_slides .et_pb_slider_container_inner {
  vertical-align: top;
}
/******************************************************
FAQs
******************************************************/

.faq-content .type-faqs {
  padding-bottom: 30px;
}

.faq-content .entry-title a {
  display: block;
}

.faq-content .entry-title a:after {
  color: #55a603;
  content: '\4c';
  font-family: ETmodules !important;
  font-size: 30px;
  position: absolute;
  margin-top: -0.5em;
  right: 0;
  top: 15px;
}

.faq-content .entry-title a.open:after {
  content: '\4b';
}

.faq-content .post-content {
  display: none;
  margin-top: 15px;
}

/*show pricing only faqs*/
#pricing-faqs-section article:not(.FAQs_categories-pricing) {
  display: none !important;
}

/*show general only faqs*/
#general-faqs-section article:not(.FAQs_categories-general) {
  display: none !important;
}

/******************************************************
Pricing
******************************************************/

.pricing-top-box {
}

.pricing-top-box h3 {
  font-size: 82px;
  margin-top: 20px;
}

.pricing-top-box h4 {
  font-size: 24px;
}

.pricing-top-box .et_pb_promo_button {
  width: 100%;
  border: 0;
  border-top: 1px solid #dadada;
}

.pricing-top-box .et_pb_promo_button:hover {
  border: 0;
  border-top: 1px solid #dadada;
}

.root-pricing-table .et_pb_pricing_table_wrap {
  justify-content: space-between;
  align-items: stretch;
}

.root-pricing-table .et_pb_frequency_slash {
  display: none;
}

.root-pricing-table .et_pb_dollar_sign {
  font-size: 50px !important;
  margin-left: -34px !important;
  top: 18px;
}

.root-pricing-table .et_pb_pricing_content_top {
  border-bottom: 0 !important;
  margin-bottom: 0;
  padding-bottom: 0;
}

.root-pricing-table.et_pb_pricing .et_pb_pricing_content {
  padding-top: 40px !important;
  padding-left: 25px !important;
  padding-right: 25px !important;
  margin-bottom: 45px !important;
}

.root-pricing-table .et_pb_pricing li span:before {
  content: '';
  display: inline-block;
  background: url(https://rootcauses.com/wp-content/uploads/2021/08/leaf.svg)
    no-repeat;
  width: 22px;
  height: 27px;
  background-size: cover;
  border: 0;
  margin-left: -14px;
  top: -7px;
}

.root-pricing-table .et_pb_button_wrapper {
  border-top: 1px solid rgba(0, 0, 0, 0.16);
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-bottom: 15px;
  padding-top: 10px;
}

/* desktop only */
@media only screen and (min-width: 769px) {
  .root-pricing-table .et_pb_pricing_table {
    display: flex;
    flex-flow: column;
  }

  .root-pricing-table .et_pb_pricing_table:first-child {
    width: 58% !important;
    max-width: 58% !important;
  }

  .root-pricing-table .et_pb_pricing_table:last-child {
    width: 38% !important;
    max-width: 38% !important;
  }

  .root-pricing-table.et_pb_pricing .et_pb_pricing_content {
    padding-top: 40px !important;
    padding-left: 55px !important;
    padding-right: 55px !important;
    margin-bottom: 45px !important;
  }
}
/******************************************************
blog pages & layout
******************************************************/
/* search box */
.blog-search form > div {
  display: flex;
  flex-flow: row-reverse;
}

.blog-search.et_pb_search input.et_pb_searchsubmit {
  right: unset !important;
  position: relative;
  padding: 0 0.715em !important;
}

.blog-search.et_pb_search input.et_pb_s {
  background-image: url(https://rootcauses.com/wp-content/uploads/2021/09/search-icon@2x.png) !important;
  background-size: 24px;
  background-repeat: no-repeat;
  background-position: 97% center;
  border-left: 1px solid #697a6561 !important;
  padding: 9px 0.715em !important;
}

/* layout  */
.blog-layout .type-post {
  display: grid;
  grid-template-columns: 45% 55%;
  grid-template-rows: 40px auto 1fr;
  grid-template-areas:
    'image cat'
    'image title'
    'image btn';
  margin-bottom: 60px;
}

.blog-layout .type-post .entry-featured-image-url {
  grid-area: image;
  margin-bottom: 0;
  margin-right: 40px;
  height: 250px;
  overflow: hidden;
}

.blog-layout .type-post .post-meta {
  grid-area: cat;
  padding-top: 10px;
}

.blog-layout .type-post .post-content {
  grid-area: btn;
  padding-top: 25px;
}

/* pagination */
.wp-pagenavi .pages,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  display: none;
}

.wp-pagenavi a,
.wp-pagenavi .current {
  font-size: 18px;
  margin-right: 10px;
  padding: 5px 10px;
}

.wp-pagenavi a {
  color: #697a65;
  border-color: #55a603;
  background: rgba(85, 166, 3, 0.05);
}

.wp-pagenavi .current {
  border-color: #697a65;
  color: #697a65;
}

.et_pb_post_title .et_pb_title_container {
  display: flex;
  flex-flow: column-reverse;
}

/* fake breadcrumbs */
#single-post-hdr .et_pb_title_meta_container .back-to-blog {
  color: #39323a !important;
}

/* recent posts widget list spacing */
.et_pb_widget ol li,
.et_pb_widget ul li {
  margin-bottom: 1em;
}

/* use myspace icon to share posts via email */
.et-social-myspace a.icon:before {
  content: '\e076';
}

/* hide results title on home blog page */
body:not(.search):not(.et_pb_pagebuilder_layout) .page-results-title,
body.blog .page-results-title,
body.category .page-results-title {
  display: none;
}

/* Mobile portrait */
@media only screen and (max-width: 980px) {
  .blog-search form > div {
    flex-flow: row;
  }

  .blog-search.et_pb_search input.et_pb_searchsubmit {
    background-image: url(https://rootcauses.com/wp-content/uploads/2021/09/search-icon@2x.png) !important;
    background-repeat: no-repeat;
    background-size: 25px;
    padding: 0 !important;
    width: 40px;
    background-position: right center;
  }

  .blog-search.et_pb_search input.et_pb_s {
    background-image: none !important;
    background-size: 25px;
    border-left-color: transparent !important;
    border-right: 1px solid #697a6561 !important;
  }

  body.category .page-results-title {
    display: block !important;
  }

  .categories-nav .et_mobile_menu {
    width: 80vw;
    right: 0;
    left: unset;
  }

  /*post images equal szie */
  .blog-layout .type-post a.entry-featured-image-url img {
    max-width: fit-content;
    height: 100%;
    width: auto;
  }

  /* expand recent posts */
  .widget_recent_entries {
    width: 100% !important;
  }
}

/* Mobile portrait */
@media only screen and (max-width: 480px) {
  /* blog posts */
  .blog-layout .type-post {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    grid-template-areas:
      'image'
      'cat'
      'title'
      'btn';
  }

  .blog-layout .type-post .entry-featured-image-url {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .blog-layout .type-post a.entry-featured-image-url img {
    max-width: 100%;
    height: 100%;
    width: 100%;
    position: absolute;
  }
}

/******************************************************
conditions + therapy custom post types
******************************************************/
/* home page carousel */

.conditions-carousel article {
  background: #3c353e;
  padding-top: 70px;
  padding-right: 110px;
  padding-bottom: 130px;
  padding-left: 50px;
  margin: 0 20px;
  opacity: 0.4;
  transition: all 0.6s ease-in-out;
  height: auto;
}

.conditions-carousel article.slick-current {
  background: #63802d;
  opacity: 1;
}

.conditions-carousel article:before {
  content: '';
  background: url(https://rootcauses.com/wp-content/uploads/2021/08/light-arrow-btn.svg)
    no-repeat;
  background-size: cover;
  height: 43px;
  position: absolute;
  right: 70px;
  top: 40px;
  width: 55px;
}

.conditions-carousel article .entry-title {
  font-family: ivystyle-sans, sans-serif, arial, helvetica;
}

.conditions-carousel article .post-content {
  font-family: 'ivyjournal', serif;
}

.slick-track {
  display: flex;
  flex-flow: row nowrap;
}

.slick-slider {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-slide {
  cursor: pointer;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  transition: all 0.4s ease-in-out;
  border: none;
  outline: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  z-index: 10;
}

.slick-prev {
  left: 2%;
  padding-right: 6px;
}
.slick-next {
  right: 2%;
}

.slick-prev:before,
.slick-next:before {
  font-family: ETmodules !important;
  font-size: 70px;
}

.slick-prev:before {
  content: '\34';
}

.slick-next:before {
  content: '\35';
}

.conditions-carousel:hover .slick-prev,
.conditions-carousel:hover .slick-next {
  background: #39323a;
  color: white;
}

/* archive page */
.blog-3-col > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.blog-3-col article {
  padding-bottom: 20px;
  margin-bottom: 0;
}

.blog-3-col article .entry-featured-image-url {
  height: 180px;
  overflow: hidden;
  margin-bottom: 10px;
}

.blog-3-col article .entry-title,
.blog-3-col article .post-content {
  /*padding: 0 20px;*/
}

.blog-3-col article .post-content,
.blog-3-col article .more-link {
  margin: 1em 0 0 0;
}

/* single page */

.conditions-therapies-intro .et_pb_button_module_wrapper {
  display: inline-block;
}

.conditions-content ul {
  display: grid;
  flex-flow: row wrap;
  list-style: none;
  margin: 50px 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
}

.conditions-content ul li {
  border: 1px solid #9cc354;
  line-height: 1.5;
  padding: 40px 40px 40px 73px;
  position: relative;
  border-radius: 2px;
}

.conditions-content ul li img {
  position: absolute;
  top: 42px;
  left: 30px;
  width: 30px;
  height: auto;
}

.conditions-content h3 {
  text-transform: uppercase;
  font-family: ivystyle-sans;
}

/* Small Devices, tablets portrait */
@media only screen and (max-width: 980px) {
  .conditions-carousel article {
    padding-top: 35px;
    padding-right: 110px;
    padding-bottom: 50px;
    padding-left: 50px;
  }

  .conditions-carousel article:before {
    height: 29px;
    right: 20px;
    top: 20px;
    width: 37px;
  }

  .conditions-content ul {
    width: 100%;
  }
  .blog-3-col > div {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small Devices, tablets portrait */
@media only screen and (max-width: 767px) {
  .conditions-carousel article {
    background: #9cc354;
    padding-top: 25px;
    padding-right: 52px;
    padding-bottom: 20px;
    padding-left: 20px;
  }
}

/* Mobile portrait */
@media only screen and (max-width: 480px) {
  .conditions-content ul {
    grid-template-columns: auto;
  }

  .blog-3-col > div {
    grid-template-columns: 1fr;
  }
}
/******************************************************
Footer
******************************************************/

/* row columns width on desktop only */
@media only screen and (min-width: 981px) {
  .footer-col-1 {
    width: 45% !important;
  }

  .footer-col-2 {
    width: 55% !important;
  }
}

/******************************************************
Schedule a demo
******************************************************/

.et-fb-root-ancestor .location-form {
  position: relative !important;
  display: block !important;
}

.form-location-title {
  display: none;
}

.et-fb-root-ancestor .form-location-title {
  display: block;
}

body
  #page-container
  .et_pb_section
  #location-tabs
  .contact-tabs.location-selected {
  color: #55a603 !important;
}

body
  #page-container
  .et_pb_section
  #location-tabs
  .contact-tabs.location-unselected {
  color: #52483e !important;
  opacity: 0.5;
}

.rc-form form {
  display: block;
  position: relative;
  margin: 0 auto;
}

/* form grid */
.rc-contact-form ._form-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
}

.rc-contact-form ._form_element {
  width: 48%;
}

.rc-contact-form ._button-wrapper {
  margin-top: 50px;
  width: 100%;
}

.rc-form label {
  font-size: 14px;
  color: #291d26 !important;
  font-weight: bold;
}

.rc-form input[type='text'],
.rc-form input[type='email'],
textarea,
select {
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
  min-height: 40px;
  font-size: 18px;
  font-weight: normal;
  line-height: 22px;
  color: #33475b;
  border: 1px solid #dddddd;
  margin-bottom: 40px;
}

.rc-form textarea {
  height: 80px;
  padding-top: 10px;
}

.rc-form button,
#mc-embedded-subscribe {
  cursor: pointer;
  background: #9cc354;
  border: 0;
  color: white;
  font-size: 20px;
  padding: 0.5em 2em;
  transition: all 0.3s ease-in-out;
  font-family: 'ivystyle-sans', sans-serif, arial, helvetica;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px;
}

.rc-form button:hover {
  background: #3d2b40;
}

.rc-form ._form-thank-you {
  display: block;
  color: #291d26 !important;
  font-family: 'ivyjournal';
  font-size: 30px;
  text-align: center;
  line-height: 1;
  letter-spacing: -1px;
}

._error-inner {
  color: red;
}

/* Mobile portrait */
@media only screen and (max-width: 480px) {
  .rc-contact-form ._form_element {
    width: 100%;
  }
}

/* Oubre medical modal notice  */
.et-fb-root-ancestor #oubre-rc-modal {
  display: block !important;
}

#oubre-rc-modal.show-o-modal {
  min-height: 100vh;
  z-index: 100000;
  position: fixed !important;
  top: 0px;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Blog post body text styles */
.blog-post-body h2 {
  line-height: 1.3;
}
.blog-post-body h3 {
  line-height: 1.5;
}

/******************************************************
team bios pop ups 
******************************************************/
.providers-bio .et_pb_team_member {
  cursor: pointer;
}
/*  hide description on the front end part */
.providers-bio .et_pb_team_member_description > div {
  display: none;
}
.modal-overlay .bio-pop-up-container {
  display: grid;
  grid-template-columns: 25% 75%;
  grid-template-rows: 40px auto 1fr;
  grid-template-areas:
    'image empty'
    'image name'
    'image title'
    'content content';
}

.modal-overlay .bio-pop-up-container .et_pb_team_member_image {
  grid-area: image;
  margin-bottom: 40px;
}

.modal-overlay .bio-pop-up-container .et_pb_module_header {
  grid-area: name;
}

.modal-overlay .bio-pop-up-container .et_pb_member_position {
  grid-area: title;
  margin-bottom: 0;
  margin-top: -5px;
}

.modal-overlay .bio-pop-up-container > div:last-child {
  grid-area: content;
}

/* Mobile portrait */
@media only screen and (max-width: 600px) {
  .modal-overlay .bio-pop-up-container {
    display: block;
  }
}

/******************************************************
Modal Windows
******************************************************/
.et-fb-root-ancestor .modal-overlay {
  display: block !important;
  position: relative !important;
}

.modal-overlay .et_pb_team_member,
.modal-overlay .bio-pop-up-container {
  background: white;
  border-radius: 5px;
  box-shadow: 0px 0px 12px rgb(0 0 0 / 20%);
  position: relative;
  max-height: 70vh;
  overflow-y: auto;
  padding-top: 40px !important;
  padding-right: 40px !important;
  padding-bottom: 40px !important;
  padding-left: 40px !important;
}

.modal-overlay .et_pb_member_position {
  margin-bottom: 20px;
}

.modal-overlay .et_pb_member_position,
.modal-overlay .et_pb_team_member h4 {
  font-family: 'Averta Bold';
  text-transform: uppercase;
  font-size: 16px;
  color: #645c52 !important;
}

.modal-overlay .et_pb_team_member h3,
.modal-overlay .et_pb_team_member h4 {
  margin-top: 10px;
}

button.close-team-bio {
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: white;
  font-size: 28px;
  font-weight: 300;
  color: gray;
}

/*********************************
Media Queries Desktop first
********************************/
/* Medium Devices, ipad landscape */
@media only screen and (max-width: 1024px) {
}

/* Small Devices, tablets portrait */
@media only screen and (max-width: 980px) {
  .modal-overlay .et_pb_team_member {
    display: block;
  }

  .modal-overlay .et_pb_team_member_image {
    margin-bottom: 40px;
  }
}

/* Mobile portrait */
@media only screen and (max-width: 600px) {
}

/* FOOTER FORMS */
.footer-form input {
  background: rgba(255, 255, 255, 0.4);
  border: 0 !important;
  margin-bottom: 10px !important;
  color: white !important;
  border-radius: 5px;
}

.footer-form input::placeholder {
  color: white !important;
}

.footer-form ._form-content {
  display: flex;
  flex-flow: row;
  justify-content: flex-end;
}

.footer-form ._form-content > div:first-child {
  width: 70%;
  margin-right: 20px;
}

.footer-form input:focus {
  color: white;
}

.footer-form ._button-wrapper._inline-style {
  text-align: left;
  padding-top: 5px;
}

.footer-form.rc-form button,
#mc-embedded-subscribe {
  background: transparent;
  color: #9cc354 !important;
  padding: 0;
}

.footer-form ._error-inner {
  color: white;
  text-align: left;
  background: red;
  padding-left: 8px;
}

.footer-form.rc-form ._form-thank-you {
  color: #ffffff !important;
  font-size: 24px;
}

div#mce-success-response,
#mce-error-response {
  color: white;
}
/*********************************
Media Queries Desktop first
********************************/

/* Small Devices, tablets portrait */
@media only screen and (max-width: 768px) {
  .footer-form ._form-content {
    justify-content: center;
  }
}

/* Mobile portrait */
@media only screen and (max-width: 480px) {
}

/* GLOBAL BUTTON BUG FIX
1 on divi set buttton hover background from white to transparent;
2 on the global button custom CSS ::after section replace everythign with: 
    content: '';
    display: block!important;
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 80px;
    transition: all .6s ease-in-out!important;
    background: #55a603;
    z-index: -1;


    Then change to hover state and replace everything with:
  content: '';
    display: block!important;
    position: absolute;
    width: calc(100% - 62px);
    left: 50px;
    background: rgb(156,195,84);    
    z-index: -1;
*/
