/** COMMON **/
:root {
  --default-radius: 12px;
}

/* Typology */

/* set relative root font size for screen sizes
   assumes default 16px root browser font, allows browser to override
*/
@media (min-width: 769px) {
  html{      
    font-size: 1.125rem; /* ~20px */
  }
}



/* body text header and paragraph margins */
.content-text p:not(:last-child){
  padding-bottom: 1rem;
}

.content-text h1:not(:only-child), .content-text h2:not(:only-child), .content-text h3:not(:only-child), .content-text h4:not(:only-child), .content-text h5:not(:only-child){
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.content-text h1:first-child, .content-text h2:first-child, .content-text h3:first-child, .content-text h4:first-child, .content-text h5:first-child{
    margin-top: 0rem;
}

.content-text img{
  margin-bottom: 1.5rem;
  margin-left: 1rem;          
	box-shadow: 0px 10px 20px 0px var(--shadow);
}

.content-text img.img__lhs{
  margin-right: 1rem;
  margin-left: 0rem;          	
}

@media (max-width: 768px) {
  .content-text img{    
	float: none !important;
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2rem;    
  }
}


/* button animation */
.button-border a{
  border: none;
  outline: none;
	cursor: pointer;
  display: inline-block;  
  position: relative;  
}

.button-border a:before,
.button-border a:after {
  border-color: transparent;
  transition: all 0.3s;
  border-style: solid;
  border-width: 0;
  content: "";
  height: 24px;
  position: absolute;
  width: 24px;
}

.button-border a:before {
  border-left-width: 2px;
  border-top-width: 2px;
  left: -5px;
  top: -5px;
}

.button-border a:after {
  border-bottom-width: 2px;
  border-right-width: 2px;
  bottom: -5px;
  right: -5px;
}

.button-border a:hover:before,
.button-border a:hover:after{
  height: 100%;
  width: 100%;
}

.button-border__light a:before {
  border-color: var(--primary);
}
.button-border__light a:after {
  border-color: var(--primary);
}
.button-border__light a:hover{
  background-color: var(--primary);
}

.button-border__dark a:before {
  border-color: var(--accent);
}
.button-border__dark a:after {
  border-color: var(--accent);
}
.button-border__dark a:hover{
  background-color: var(--accent);
}
/* conact form - override GB for animation to work */
.button-border .ba-form-submit-btn:before{
  border-radius: 0px;
  opacity: 1;
  animation: none;
}



/* links */
.footer-links{
  list-style-type: none;
  font-size: 18px;
  margin: 0px;
  text-align:center;
}

p a{
  border-bottom: 1px solid;
}
footer p a{
  border-bottom: none;
}


/* common bullet point styling */
ul.bullet-points__std {
	position: relative;
	list-style: none;
	margin-left: 0;
	padding-left: 3rem;
}
ul.bullet-points__std li:before {
	content:"\20DD";
	position: absolute;
	left: 10px;
}
ul.bullet-points__std li{
  padding-bottom:1.5rem;
}

/* mobile menu - sub menus not collapsed */
    .ba-hamburger-menu.ba-collapse-submenu .deeper.parent:not(.visible-nav-child) > ul.mod-menu__sub,
    .ba-hamburger-menu.ba-collapse-submenu .deeper.parent:not(.visible-nav-child) > .tabs-content-wrapper,
    .ba-hamburger-menu.ba-collapse-submenu .deeper.parent:not(.visible-nav-child) > ul.nav-child {
        max-height: 0!important;
        overflow: hidden;
    }


/** ^^ TMP FIX **/


/** vv TMP FIX **/
@media (max-width: 1024px){
    .ba-tabs-wrapper .nav-tabs {
        flex-wrap: wrap !important;
    }
}

/** ^^ TMP FIX **/

/** vv TMP FIX  form sent email notification **/

@media (max-width: 480px){
  #ba-forms-notification {
      width: calc(100% - 100px) !important;
      right: 25px !important;
  }
}

/** ^^ TMP FIX **/




/* home CTA pop-up */

.home-cta .ba-form-field-item.ba-form-text-field p{
    color: var(--title-inverse);
}
.home-cta img, .home-cta .ba-form-page{
    border-radius: 12px;
}

.home-cta .ba-form-submit-btn{
    margin-top: 20px;
}
    
@media (max-width: 768px) {
    .home-cta .ba-image-wrapper, .home-cta .ba-form-headline-field{
        display:none !important;
     }

    .home-cta .ba-image-wrapper, .home-cta .ba-form-text-field{
        margin-top: -20px;
        font-size: 16px;
        line-height: 1.6em;
    }
       
}

/*
.open-menu i {
  font-size: 30px; 
  background: linear-gradient(90deg, var(--primary) 40%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor: pointer;
}
*/

/*
.btn-border-gradient a, .btn-border-gradient__secondary a, .btn-border-gradient__secondary .ba-form-submit-btn, .feature-box__border-gradient .ba-feature-box,
.feature-box__border-gradient--hover .ba-feature-box:hover{
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              linear-gradient(90deg, var(--primary), var(--secondary)) border-box;
  border: 2px solid transparent;
  border-radius: var(--default-radius);
}
*/
/*
.btn-border-gradient a:hover, .btn-border-gradient__secondary a:hover, .btn-border-gradient__secondary .ba-form-submit-btn:hover{  
  border: 2px solid var(--bg-primary);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}  
*/
/*
.btn-border-gradient__secondary a, .btn-border-gradient__secondary .ba-form-submit-btn, .feature-box__border-gradient .ba-feature-box,
.feature-box__border-gradient--hover .ba-feature-box:hover{
  background: linear-gradient(var(--bg-secondary), var(--bg-secondary)) padding-box,
              linear-gradient(90deg, var(--primary), var(--secondary)) border-box;  
}
*/
/*
.btn-border-gradient__secondary .ba-form-submit-btn{
  for contact btn
	transition:none;
}
.border-bottom-gradient{
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary) 40%, var(--secondary) 100%);
  border-image-slice: 1;
}

.border-top-gradient{
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--primary) 40%, var(--secondary) 100%);
  border-image-slice: 1;
}
*/

/* menu */
.menu-header .open-menu i{
  cursor: pointer;
}

@media (min-width: 769px) {
	.menu-footer ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
  }
}

/** HOME **/


.footer-divider-image img{
  opacity:0.5;  
}
.footer-divider-image__reverse img{	
  transform: rotate(180deg);
}

@media (max-width: 425px) {
  .Xfeature-img {
    background-position-x: 65% !important;
  }
}


/** ABOUT **/
/*
img.float-right{
  float: right;
}
@media (max-width: 769px) {
  img.float-right{
	float: none;
    display: block;
    #margin: 0 auto;
    margin-left: auto;
    margin-right: auto;
  }
}
*/


/** CONTACT PAGE **/
.contact-page .contact-cta-section{
  display: none!important;
}

.ba-form-field-item:first-child{
  margin-top:0px;
}

/** HARLOWES CLINIC **/

.harlowes-clinic .ba-item-icon-list ul.bullets-type li a:before{
	display: none;  /* BELIEVE plugin has been  removed */
}

.treatment-menu ul{
    display: grid !important;
    grid-template-columns: 1fr 1fr;  
}

/** POLICY **/
.policy-tabs ul.nav.nav-tabs{
  xbackground-color: var(--bg-secondary) !important;
  xborder-color: var(--primary) !important;
}
.policy-tabs ul.nav.nav-tabs li.active a:before {
  xbackground-color:  var(--secondary)!important;
}

/** GIFT VOUCHERS **/
.gift-voucher-tcs li{
  padding-bottom: 10px;
}