/**
  Theme Name: Simply Crown And Bridge
  Version: 1
  Author: Dental Design Products
  Author URI: http://www.dental-design-products.co.uk
  */

/* =======================
-------- Contents --------
==========================

1.0 Normalize
2.0 Page Layout & Styles
3.0 Core Content
4.0 Media Queries

========================== */

/* =============================================
1.0  Normalize ---------------------------------
============================================= */

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}progress,sub,sup{vertical-align:baseline}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
}

/* =============================================
2.0  Page Layouts & Styles ---------------------
============================================= */

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* =============================================
3.0  Core Content -----------------------------
============================================= */

/*
* Imports
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*
* General Styles
*/
* {
    box-sizing: border-box;
}
html{
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
}
body{
  padding-top: 100px;
  font-size: 1rem;
}
img{
  max-width: 100%;
  height:auto;
}

section{
  padding: 150px 0;
}
p{
  line-height: 1.5;
  font-weight: 300;
  display: inline-block;
}

h1{

}

h2:not(.jtg-title){
  font-size: 3rem;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

h3{

}

h4{

font-size: 1.5rem;

font-weight: 600;

font-style: italic;

margin: 1rem 0;
}

.page-id-3 h3 {
    width: 100%;
}

.page-id-3 h2 {
    font-size: 2rem;
}

.container{
  max-width: 1200px;
  width: 90%;
  display: block;
  margin: 0 auto;
}

.container iframe {
    border: none;
}

.button{
  background-color: white;
  padding: 15px 30px;
  text-decoration: none;
  margin: 10px 0;
  text-transform: uppercase;
  font-weight: 600;
  color: #3b3759;
  transition: 0.5s;
  display: inline-block;
}
.button:hover{
  transform: scale(0.95);
  background-color: #3b3759 !important;
  color: white;
}
.button i {
    font-size: 0.9rem;
    margin-left: 4px;
    margin-top: -.25rem;
    display: inline-block;
    vertical-align: middle;
}
.button.pink{
  background-color: #a3577a;
  color: white;
}
.purple-background{
  background-color: #444769;
  color: white;
}

.gradient-background {
    background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d);
    color: white;
}

.flex-container{
  display: flex;
  flex-wrap: wrap;
}
.right-aligned{
  text-align: right;
}

.border-right{
  padding-right: 30px;
  position: relative;
}
.border-right::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0px;
  width: 5px;
  background-color: white;
}
.border-left{
  padding-left: 30px;
  position: relative;
}
.border-left::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  width: 5px;
  background-color: white;
}

/*
* Nav Bar
*/

header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

nav{
  background-color: #3b3759;
  display: block;
}
nav ul{
  text-align: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
nav ul li{
  display: inline-block;
  vertical-align: middle;
  position: relative;
}
nav ul li a{
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 24px 20px;
  font-weight: 600;
  transition: 0.25s;
}

nav ul li a:hover {
    color: #ab788f;
}
nav ul li .sub-menu{
  /* display: none; */
  position: absolute;
  top: 100%;
  z-index: 99;
  max-height: 0;
  transition: 0.5s;
  overflow: hidden;
  left: 0;
  background-image: linear-gradient(to bottom, #3b3759, #554067, #724972, #8f5279, #ab5c7d);
}
nav ul li:hover .sub-menu{
    color: #ab788f;
    display: block;
    max-height: 1000px;
}

nav ul li .sub-menu a {
    padding: 10px 15px;
}

nav ul li li, nav ul li li a  {
    display: block;
    width: 260px;
    text-align: left;
    font-weight: 300;
}

nav ul li.nav-logo a{
  padding: 0;
}
nav ul li.nav-logo img{
  width: 45px;
}

nav ul li li a:hover {
    color: white;
    font-weight: 600;
}

.under-nav{
  display: block;
  background-color: #ab5c7d;
  text-align: center;
  font-size: 0.7rem;
  padding: 15px;
}

.under-nav a{
  padding: 0 20px;
  text-decoration: none;
  color: white;
  border-right: 2px solid white;
  position: relative;
}
.under-nav a::after{
  content: "";
  width: 0;
  height: 1px;
  background-color: white;
  bottom: -3px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: 0.5s;
}
.under-nav a:hover::after{
  width: calc(90% - 40px);
}

.under-nav a:last-of-type{
  border: none;
}

.mobile-burger label{
 display:flex;
 flex-direction:column;
 width: 40px;
 cursor:pointer;
}

.mobile-burger label span{
  background: #fff;
  border-radius:10px;
  height:7px;
  margin: 3px 0;
  transition: .4s  cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.mobile-burger span:nth-of-type(1){
  width:50%;
}

.mobile-burger span:nth-of-type(2){
  width:100%;
}

.mobile-burger span:nth-of-type(3){
  width:75%;
}

.mobile-burger input[type="checkbox"]{
  display:none;
}


.mobile-burger input[type="checkbox"]:checked ~  span:nth-of-type(1){
  transform-origin:bottom;
  transform: rotatez(45deg) translate(5px,0px);
}


.mobile-burger input[type="checkbox"]:checked ~ span:nth-of-type(2){
  transform-origin:top;
  transform:rotatez(-45deg)
}


.mobile-burger input[type="checkbox"]:checked ~  span:nth-of-type(3){
  transform-origin:bottom;
  width:50%;
  transform: translate(19px,-8px) rotatez(45deg);
}

.nav-mobile {
    padding: 15px 0;
    background-color: #3b3759;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    display: none;
}

.nav-mobile-container {
    display: block;
    max-width: 90%;
    margin: 0 auto;
}

.mobile-burger {
    float: right;
    /* padding: 15px 0; */
}

.nav-mobile::after {
    content: "";
    display: block;
    clear: both;
}
.mobile-links {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1111;
    display: none;
    background-color: white;
}
.mobile-links a {
    width: 33.3333333%;
    text-align: center;
    color: white;
    padding: 15px 0;
    background-color: #ab5c7d;
}
.mobile-links a:nth-of-type(2) {
    background-color: rgb(171 92 125 / 80%);
}

.mobile-links a:nth-of-type(3) {
    background-color: rgba(171, 92, 125, 0.6);
}

.mobile-menu {
    position: fixed;
    left: -300px;
    width: 260px;
    top: 0;
    bottom: 50px;
    background-color: #a3577a;
    z-index: 9999;
    transition: 0.5s;
    overflow: auto;
    display: none;
}
.mobile-menu.open::-webkit-scrollbar {
  display: none;
}
.mobile-menu.open {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.mobile-menu.open {
    left: 0;
}
.mobile-menu ul{
  padding: 0;
  margin: 0;
  list-style: none;
}
.mobile-menu img {
    padding: 20px;
    background-color: #eee;
}
.mobile-menu ul li a{
  display: block;
  padding: 15px 0;
  font-size: 18px;
  text-align: center;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}
.mobile-menu ul li .sub-menu{
  max-height: 0px;
  overflow: hidden;
  transition: 0.5s;
}
.mobile-menu .nav-logo{
  display: none;
}
.toggle-submenu {
    position: absolute;
    right: 0;
    top: 0;
    width: 35px;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    color: white;
}

li.menu-item-has-children {
    position: relative;
}
.mobile-menu ul li.submenu-open .sub-menu {
    max-height: 500px;
}

.toggle-submenu i {
    transition: 0.5s;
}

.submenu-open .toggle-submenu i {
    transform: rotate(180deg);
}
.mobile-menu ul.sub-menu a {
    background-color: #3b3759;
}
/*
* Homepage
*/

/* Hero Section */
.homepage-hero{
  position: relative;
  height: calc(100vh - 100px);
  /* min-height: 600px; */
  width: 100%;
  overflow: hidden;
}

.homepage-hero video {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.homepage-hero-content{
  width: 90%;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  text-align: center;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.homepage-hero-content img{
  max-width: 600px;
  display: block;
  margin: 0 auto;
  padding-bottom: 75px;
  width: 100%;
}

a.slide-to-next-section {
    width: 60px;
    transition: 0.25s;
    text-decoration: none;
    display: block;
    margin: 0 auto;
    padding: 50px 0 0px;
    transition: 0.5s;
}

a.slide-to-next-section:hover{
  padding: 40px 0 10px;
}

a.slide-to-next-section svg {
    fill: #3b3759;
}

/* Homepage sections */
.text-section{
  width: 40%;
}
.image-section{
  width: 55%;
  background-position: center;
  background-size: cover;
}

.right-aligned .image-section {
    margin-left: 5%;
}

.left-aligned .text-section {
    margin-left: 5%;
}

.text-section strong{
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
}

.text-section h2{
  margin-top: 0;
}

/* Patient Journey */

.patient-journey-half {
    width: 45%;
}
.patient-journey-half:nth-of-type(2n) {
  width: 50%;
    margin-left: 5%;
}

.patient-journey h2 {
    color: #3b3759;
}

.patient-journey .border-left::after{
    background-color: #3b3759;
}

.patient-journey .button {
    background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d);
    color: white;
    position: relative;
}

.patient-journey .button::after{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3b3759;
    z-index: 0;
    opacity: 0;
    transition: 0.5s;
}
.patient-journey .button:hover::after{
   opacity: 1;
}
.patient-journey .button span {
    position: relative;
    z-index: 1;
}

.patient-journey ul{
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: my-sec-counter;
}
.patient-journey li{
  padding: 0 0 30px 75px;
  position: relative;
  line-height: 1.4;
  font-size: .85rem;
}

.patient-journey li::before{
  counter-increment: my-sec-counter;
  content: counter(my-sec-counter);
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px;
  color:white;
  font-size: 2.3rem;
  background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d);
  width: 3.3rem;
  height: 3.3rem;
  text-align:center;
  font-weight: 600;
  line-height: 1;
}

.patient-journey-half-left, .patient-journey-half-right {
    height: 120%;
    width: 50%;
    display: inline-block;
    vertical-align: top;
    margin-top: -10%;
}

.small-section-image, .big-section-image {
    height: calc(40% - 20px);
    margin: 10px 5px;
    background-color: #eee;
    position: relative;
    background-size: cover;
    background-position: center;
}

.big-section-image {
    height: calc(60% - 20px);
}

.patient-journey-half-left div span, .patient-journey-half-right div span {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    font-size: 8rem;
    color: white;
    font-weight: 600;
}

/* Triple Columns */
.triple-column{
  padding: 0;
}
.triple-column .flex-container .column {
    width: 33.333333333333%;
    min-height: 750px;
    position: relative;
}
.column.street-view iframe {
    border: none;
}
.column-content {
    max-width: 80%;
    position: relative;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    max-width: 425px;
    padding: 50px;
    left: 0;
    right: 0;
}

.column.street-view {
    background-image: url(img/street-view.jpg);
    background-position: center;
    background-size: cover;
}

.socials i {
    padding: 10px;
    border-radius: 50%;
    background-color: #b15f7c;
    width: 37px;
    text-align: center;
    transition: 0.25s;
    margin-right: 10px;
}
.socials a {
   color: white;
   text-decoration: none;
}

.socials i:hover{
  transform: scale(0.9);

}

/* Footer */
footer{
  padding: 40px 0;
  font-size: 0.8rem;
  text-align:center;
  background-color: #312e4e;
  color: white;
}
footer a{
  text-decoration: none;
  color: inherit;
  position:relative;
}
footer a::after{
  content: "";
  width: 0;
  height: 1px;
  background-color: white;
  bottom: -3px;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  transition: 0.5s;
}
footer a:hover::after{
  width: 80%;
}
footer li.last{
  border: none;
}
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li{
  display: inline-block;
  font-size: 0.8rem;
  border-right: 2px solid white;
  padding: 0px 15px;
  margin: 5px 0;
}

.site-acknowledgement {
    padding-top: 15px;
}
.site-acknowledgement i{
  color: #b15f7c;
}

.nav-logo {
    width: 45px;
    height: 45px;
    background: url(img/nav-logo.png) center center no-repeat;
    background-size: 48px auto;
    margin-left: -10px;
    display: inline-block;
}

li#menu-item-48 a {
    display: block;
    opacity: 0;
    height: 45px;
}

a.post-edit-link {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    background: #ff1a79;
    padding: 10px 20px;
    text-align: center;
    color: #fff;
    font-size: 20px;
}

.page-opening-text {
    background: #444769;
    padding: 40px 0;
    color: #fff;
    text-align: center;
}
.page-opening-text a {
    color: white;
    text-decoration: none;
}
.page-opening-text span {
    padding: 5px 0;
    display: block;
}

section#main-inner-pages {
    padding: 0;
}

.page-opening-text .container {
    max-width: 1000px;
    /* font-size: 20px; */
}

.inner-banner {
    background-image: url(img/homepage-hero.jpg);
    background-size: cover;
    background-position: top;
    position: relative;
    height: 60vh;
    /* margin-top: -20px; */
    overflow: hidden;
}

.inner-banner .homepage-hero-content {
    width: 100%;
    /* height: 100px; */
    max-width: 100%;
    display: block;
    margin: 0 auto !important;
    text-align: center;
    position: absolute;
    top: auto;
    bottom: 0;
    transform: translateY(0);
    z-index: 4;
    background: hsl(269deg 64% 93% / 90%);
}

.homepage-hero.inner-banner h1 {
    color: #3b3759;
    text-transform: uppercase;
    padding: 20px 0;
    margin: 0;
}

.treat-box-links {
    display: inline-block;
    width: calc(33% - 30px);
    min-height: 422px;
    background: #454769;
    overflow: hidden;
    /* display: block; */
    text-align: center;
    position: relative;
    color: #fff;
    margin: 0 15px 30px;
    min-width: 260px;
    padding-bottom: 52px;
}

.container:after,
.team-item:after,
#main-inner-pages:after {
  content:".";
  clear:both;
  height:0;
  display:block;
  visibility:hidden;
}

a.more-butt,
a.butt,
.team-item .team-item-text,
.team-item img,
.cont-form input.submit,
.referral-submit  {
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out !important;
}

.container.container-tb-padd {
    padding: 66px 0 85px 0;
    text-align: center;
}

.container.container-tb-padd h2 {
    font-size: 36px;
    text-transform: uppercase;
    text-align: center;
    color: #3b3759;
    margin-bottom: 66px;
}

.treat-box-links h3 {
    padding: 21px 0 0 0;
    margin: 0;
    font-size: 23px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 500;
    line-height: 27px;
}

.treat-box-links p {
    font-size: 16px;
    line-height: 21px;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 260px;
}

a.more-butt {
    position: absolute;
    left: 0;
    bottom: -20px;
    display: block;
    background: #ab5c7d;
    /* background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d); */
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    padding: 16px 0;
    width: 100%;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 300;
}

a.more-butt i {
    margin-right:5px;
}

a.more-butt:hover,
a.butt:hover {
    background: #b96085;
}

.highlighted-section {
    background: #ececec;
    padding: 76px 0 56px 0;
    text-align: center;
}

.highlighted-section h2 {
    font-size: 36px;
    text-transform: uppercase;
    text-align: center;
    color: #3b3759;
    margin-bottom: 87px;
}

.end {
  /* margin-right:0; */
}

.boxed {
    position: relative;
    display: inline-block;
    width: calc(50% - 33px);
    padding: 50px 20px;
    background: #ffffff;
    min-height: 295px;
    margin-bottom: 6%;
    font-weight: 300;
    line-height: 24px;
    font-size: 17px;
    text-align: center;
    min-width: 260px;
    margin: 0 15px 30px;
    vertical-align: top;
}

.boxed span {
    display: block;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    font-size: 30px;
    background: #ab5c7d;
    background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d);
    color: #fff;
    border-radius: 50%;
    margin: -77px auto 0 auto;
    font-weight: 600;
    position: absolute;
    left: 0;
    right: 0;
}

.boxed strong {
    text-transform: uppercase;
    font-size: 22px;
    color: #3b3759;
    margin-bottom: -2px;
    display: block;
    font-weight: 600;
}

body.page-id-20 .page-opening-text {
    background: #ab5c7d;
    background-image: linear-gradient(to right top, #3b3858, #554167, #714a72, #8e537a, #ab5c7d);
}

a.butt {
    display: inline-block;
    margin: 30px 5px 0 5px;
    background: #ab5c7d;
    padding: 13px 20px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 400;
}

a.butt i {
    margin-left:5px;
}

body.page-id-20 .boxed {
    min-height: auto;
    margin-bottom: 66px;
}

section.purple-background.gray-background.right-aligned {
    background: #ececec;
    padding: 105px 0 92px 0;
}

section.gradient-background.inner-gradient-background {
    padding: 105px 0 92px 0;
}

section.purple-background.gray-background.right-aligned .text-section h2, section.purple-background.gray-background.right-aligned .text-section p, section.purple-background.gray-background.right-aligned .text-section ul, section.purple-background.gray-background.right-aligned .text-section li {
    color: #3b3759;
}

section.purple-background.gray-background.right-aligned .text-section h2,
section.gradient-background.inner-gradient-background h2 {
    /* font-size: 44px; */
}

section.purple-background.gray-background.right-aligned .border-right::after {
    background-color: #3b3759;
}

h2.border-right.toppadd {
    margin-top: 33px;
}

section.purple-background.gray-background.right-aligned h3 {
    color: #454769;
}

.page-opening-text h2 {
    font-size: 44px;
    text-transform: uppercase;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

#main-inner-pages ul li,
#main-inner-pages ol li {
  /* color: #ffffff; */
  line-height: 1.5;
  font-weight: 300;
  margin:20px 0;
}

.page-opening-text a.butt {
    margin: 0px 5px 10px 5px;
}

section.purple-background a.butt,
section.gradient-background a.butt {
    margin: 0px 5px 0 5px;
}

section.gradient-background a.butt {
    background: #3b3759;
}

section.gradient-background a.butt:hover {
    background: #403a6f;
}
.team-item-container {
    display: flex;
    flex-wrap: wrap;
}

.team-item {
  position:relative;
  width: 25%;
  overflow: hidden;
  background: #000;
  border: 2px solid #fff;
  border-left: 0;
  border-top: 0;
  display: inline-block;
  /* min-width: 300px; */
}

.team-item-text h2,
.team-item-text h3,
.team-item-text h4,
.team-item-text h5 {
  text-align:center;
  margin: 4px 0;
  padding:0;
}

.team-item-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #3b3759;
    color: #fff;
    min-height: 138px;
}

.team-item-text h2 {
    font-size: 21px;
    font-weight:500;
}

.team-item-text h3 {
    font-size: 15px;
    font-weight:400;
}


.team-item-text h4 {
    font-size: 15px;
    font-weight:400;
    /* margin: 4px 0; */
}

.team-item-text h5 {
    font-size: 14px;
    font-weight:300;
}

.team-item a {
  color:#fff;
}

.team-item:hover .team-item-text {
  padding-bottom: 60px;
  background: #ab5c7d;
}

.team-item:hover img {
  transform: scale(1.1);
}

.container.downloads-container {
    padding: 75px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.twenty20 {
    /* float: left ; */
    max-width: calc(48% - 5px);
    display: inline-block;
    height: auto;
    padding: 0;
    clear: none;
    margin: 0 1%;
}



.cont-form {
    position:relative;
    display: block;
    margin: 0 auto;
}

.cont-form input {
    width: calc(48% - 3px);
    display: inline-block;
    padding: 23px;
    background: #ececec;
    border: 0;
    margin: 0 1% 1%;
    font-size: 15px;
    font-weight: 300;
}

.cont-form textarea {
    width: 98%;
    min-height: 300px;
    display: block;
    padding: 30px;
    background: #ececec;
    border: 0;
    margin: 0 1% 2%;
    /* float: left; */
    font-size: 15px;
    font-weight: 300;
}

:focus, :active {
    outline:none !important;
}

.cont-form input.submit {
    position: absolute;
    right: 0;
    bottom: -13px;
    background: #ab5c7d;
    text-transform: uppercase;
    color: #fff;
    max-width: 160px;
    z-index: 2;
    font-size: 16px;
    padding: 18px;
}

.cont-form input.submit:hover {
    background: #454769;
    cursor:pointer;
}

.cont-form .inner-gdpr {
    clear: both;
    font-size: 12px;
    font-weight: 500 !important;
    margin: 1%;
}

.cont-form input[type="checkbox"] {
    width: 13px;
    height: 13px;
    float: none;
    display: inline-block;
    padding: 0;
    margin: 0 6px;
}



a.download-item {
  position:relative;
  width: 27.333333333%;
  overflow: hidden;
  margin: 0 3% 20px;
  border: 2px solid #454769;
  line-height: 0;
}

a.download-item img {
    display:block;
}

a.download-item img.alignnone {
    margin: 0;
}

/* Pop */
@-webkit-keyframes hvr-pop {
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
@keyframes hvr-pop {
  50% {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}
.hvr-pop {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}
.hvr-pop:hover, .hvr-pop:focus, .hvr-pop:active {
  -webkit-animation-name: hvr-pop;
  animation-name: hvr-pop;
  -webkit-animation-duration: 0.3s;
  animation-duration: 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.banner-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: hsl(269deg 64% 93% / 0%);
    z-index: 1;
}
form.referral-form {
    max-width: 800px;
    margin: 0 auto;
    width: 90%;
}
li.form-title {
    text-transform: uppercase;
    background: #454769;
    padding: 16px 0 12px;
    color: #fff;
    /* text-transform: none; */
    letter-spacing: 1px;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-align: center;
    border-bottom: 3px solid #FFF;
    clear: both;
    /* margin-top: 10px !important; */
}

.referral-form input[type="file"] {
    margin-bottom: 4px;
    padding: 20px;
}

.referral-form ul {
    list-style: none;
    padding: 0 !important;
}
.referral-form select, .referral-form input, .referral-form textarea {
    width: 100%;
    border-radius: 0 !important;
    border: none;
    margin: 5px 0;
    padding: 23px 20px 20px 64px;
    font-size: 14px;
    color: #000000;
    font-weight: 300;
    background: #e8e8e7;
    resize: none;
}

.field1 {
    background-image: url(img/form/name.png) !important;
    background-position: 0 -1px !important;
    background-repeat: no-repeat !important;
}

.field2 {
    background-image: url(img/form/phone.png) !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
}

.field3 {
    background-image: url(img/form/email.png) !important;
    background-position: 0 -1px !important;
    background-repeat: no-repeat !important;
}

.field4 {
    background-image: url(img/form/comments.png) !important;
    background-position: 0 -6px !important;
    background-repeat: no-repeat !important;
}
.referral-form input.referral-submit {
    width: 200px !important;
    border-radius: 4px;
    background-color: #ab5c7d;
    color: #fff;
    padding: 20px 0;
    font-weight: 300 ;
    text-transform: uppercase;
    font-size: 18px ;
    margin-top: 20px;
}
.referral-form .gdpr-small {
    text-align: left !important;
    font-size: 15px;
    color: #000;
}
 .referral-form ul li div.gdpr input {
    float: none;
    width: 12px !important;
    margin: 0 4px;
}
.referral-form ul li {
    margin: 0 !important;
}
.cont-fax {
    display: inline;
    margin-left: 36px;
    font-size: 24px;
    letter-spacing: 1px;
}

.cont-fax i {
    color: #a02825;
    font-size: 24px;
    margin-right: 5px;
}

.field-treatment {
    background-image: url(img/form/treatment.png) !important;
    background-position: 0 1px !important;
    background-repeat: no-repeat !important;
}
.field-practice {
    background-image: url(img/form/practice.png) !important;
    background-position: 0 -1px !important;
    background-repeat: no-repeat !important;
}
.field-mapmarker {
    background-image: url(img/form/mapmarker.png) !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
}
.field-calendar {
    background-image: url(img/form/calendar.png) !important;
    background-position: 0 0 !important;
    background-repeat: no-repeat !important;
}

/* END footer form */

.referralforms select {
    width: 100%;
    height: 62px;
    border-radius: 0 !important;
    border: none;
    margin: 2px 0 3px 0;
    padding-left: 10.2%;
    text-indent: 15px;
    text-transform: none;
    font-size: 14px;
    color: #000000;
    font-weight: 300;
    background: #e8e8e7;
}

.field-select {
    background-image: url(img/form/name.png) !important;
    background-position: 0 1px !important;
    background-repeat: no-repeat !important;
}

select:focus {
    outline:0;
}

.referralforms input.referral-submit:hover {
    background-color: #3b3759 !important;
}

.referralforms ::-webkit-input-placeholder { /* Edge */
  color: #000;
}

.referralforms :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #000;
}

.referralforms ::placeholder {
  color: #000;
}

body.page-id-99 #about-intro.inner-pages-cont .container {
    max-width: 1100px !important;
}

.ref-form-image {
    width: 100%;
    clear: both;
    margin-top: 50px;
    float: left;
    overflow:hidden;
    height: 278px;
    position: relative;
}

.ref-form-image img {
    width:100%;
    height:auto;
}

.gdpr p {
    margin: 3px 0 0 0 !important;
    padding: 0 !important;
    line-height: 26px;
    font-weight: 400;
}

li.form-title.bottomspace {
    position: relative;
    top: -2px;
}

.ref-form-image h2 {
    position: absolute;
    z-index: 3;
    top: 107px;
    left: 0;
    background: rgb(255 255 255);
    padding: 30px 34px 22px 30px;
    font-size: 36px !important;
    color: #00b0ad !important;
    border-radius: 0 100px 100px 0;
}

.gdpr {
    color: #000;
}

.image-section .twenty20 {
    max-width: 100%;
    width: 100% ;
    display: inline-block ;
    height: auto ;
    padding: 0;
    clear: none;
    margin: 0;
    text-align: center;
}

.image-section img {
  width:100%;
  height:auto;
}

.inner-banner {
    background-image: none;
}

#main-inner-pages .text-section {
    width: 55%;
}

#main-inner-pages .image-section {
    width: 40%;
    text-align: center;
}

/* Sticky image on scrol - inner page content */
section.gradient-background.inner-gradient-background,
section.purple-background.gray-background {
  position:relative;
}


img.sticky,
.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 200px;
}
/* END Sticky image on scrol - inner page content */



#main-inner-pages .right-aligned {
    text-align: left;
}

section.purple-background.gray-background.right-aligned .border-right::after {
    background-color: #3b3759;
    left: 0;
    right: auto;
}

#main-inner-pages .border-right {
    padding-left: 30px;
    padding-right: 0;
}

.page-opening-text p:first-child {
  font-weight: 600;
}

body.page-id-44 #main-inner-pages h3 {
  text-align:center;
  padding: 0;
  margin: 0 0 37px 0;
}

body.page-id-44 section.purple-background.gray-background.right-aligned {
    padding: 77px 0 92px 0;
}

body.page-id-44 section.gradient-background.inner-gradient-background {
    padding: 78px 0 92px 0;
}

body.parent-pageid-38 .homepage-hero.inner-banner .homepage-hero-content {
    background: #444769;
}

body.parent-pageid-38 .homepage-hero.inner-banner {
    background-image: none;
    height: 132px;
    overflow: hidden;
    min-height: 0;
}

body.parent-pageid-38 .homepage-hero.inner-banner h1 {
    padding: 21px 0;
    color: #ffffff;
}

body.parent-pageid-38 section.purple-background.gray-background.right-aligned h3 {
    color: #454769;
    font-size: 23px;
    margin-top: -4px;
    padding-top: 0;
}

body.parent-pageid-38 h4 {
    font-size: 20px;
    font-weight: 600;
    color: #ab5c7d;
    font-style: normal;
    margin: 1rem 0;
}

body.parent-pageid-38 h5,
body.parent-pageid-38 h5 a {
    color: #454769;
}

body.parent-pageid-38 #main-inner-pages .image-section img {
    border: 1px solid #dadada;
}

body.parent-pageid-38 section.purple-background.gray-background.right-aligned {
    padding: 94px 0 92px 0;
}

.column.socials.gradient-background h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    margin: 1rem 0;
}

.smile-gallery-page img.alignnone {
    max-width: 48%;
    display: inline-block ;
    height: auto;
    padding: 0 ;
    clear: none;
    margin: 0 1% ;
}


.site-acknowledgement-item {
    padding: 0 15px;
    display: inline-block;
    border-right: 2px solid white;
}
.site-acknowledgement .site-acknowledgement-item:last-of-type {
    border-right: none;
    padding-right: 0;
}
/* custom scrollbar */
::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #d6dee1;
  border-radius: 20px;
  border: 6px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a8bbbf;
}


/* =============================================
4.0  Media Queries -----------------------------
============================================= */


@media (max-width: 1400px) {

.homepage-hero.inner-banner {
    height: 50vh;
}

}

@media (max-width: 1140px) {

.homepage-hero.inner-banner {
    height: 40vh;
}
.team-item{
  width:33.3333333%;
}
}

@media(max-width: 1000px){
  .triple-column .flex-container .column {
      width: 50%;
  }

  .triple-column .flex-container .column:nth-of-type(3) {
      width: 100%;
  }
  #main-inner-pages .image-section, #main-inner-pages .text-section, .image-section, .text-section {
      width: 100%;
      margin: 0 0 50px;
      min-height: auto !important;
      padding: 0;
      max-height: 9999px !important;
 }
  .image-section img {
      max-width: 500px;
      margin: 0;
  }

  .image-section {
      order: -1;
      text-align: center;
      padding-bottom: 50px;
      margin-bottom: 50px;
      min-height: 400px;
      margin-left: 0 !important;
  }
    .home .image-section {
    min-height: 400px !important;
  }
  .left-aligned .text-section{
    margin-left: 0;
  }

  .patient-journey-half, .patient-journey-half:nth-of-type(2n) {
      width: 100%;
      min-height: 500px;
      margin: 0;
  }

  .patient-journey-half-left, .patient-journey-half-right {
      height: 100%;
      margin: 0;
  }

  .patient-journey-half:nth-of-type(2n) {
      margin: 0 -5px;
      order: -1;
  }
  img.sticky, .sticky{
    margin: 0 auto;
    position: initial;
    /* width: 100%; */
    /* text-align: center; */
  }
  .cont-form input.submit {
      position: initial;
      margin-top: 10px;
      max-width: 100%;
      width: 98%;
  }
  .image-section .twenty20 {
    max-width: 500px;
    display: inline-block;
    float: none !important;
  }
  .home .image-section {
      min-height: 500px;
  }

  .right-aligned {
      text-align: left;
  }

  .border-right::after {
      left: 0;
      right: 100%;
  }

  h2.border-right {
      padding-right: 0;
      padding-left: 30px;
  }

}
@media(max-width: 815px){
  .nav-mobile, nav{
    display: none;
  }
  .nav-mobile{
    display: block;
  }
  body {
      padding-top: 65px;
      padding-bottom: 47px;
  }
  .mobile-links{
    display: flex;
  }
  section{
    padding: 75px 0;
  }
  html{
  }
  .mobile-menu{
    display: block;
  }
  .team-item{
    width:50%;
  }
  a.download-item{
    width: 44%;
  }
  .homepage-hero.inner-banner h1 {
      font-size: 1.2rem;
      padding: 10px 0;
  }

}

@media(max-width: 700px){
  .triple-column .flex-container .column {
      width: 100%;
  }
  h2{
    font-size: 1.75rem;
  }
  .cont-form input{
    width: 98%;
  }
    .smile-gallery-page img.alignnone, .twenty20 {
    max-width: 100%;
    width: 100%;
  }
  .twenty20{
    margin-bottom: 20px;
  }
  h2:not(.jtg-title){
    font-size: 7vw;
  }
  .homepage-hero.inner-banner {
    height: 60vw;
  }
}


@media(max-width: 500px){
  .footer-links li, .site-acknowledgement-item{
    display: block;
    border-right: none;
    padding: 10px 0;
  }
  .site-acknowledgement{
    padding-top: 0;
  }
  html{
    font-size: 16px;
  }
  body.page-id-46 .page-opening-text span a, body.page-id-3 .page-opening-text span a, body.page-id-326 .page-opening-text span a, body.page-id-333 .page-opening-text span a {
      color: #fff;
      text-decoration: none;
      font-size: .8rem;
  }
  body.page-id-46 .page-opening-text span i, body.page-id-3 .page-opening-text span i, body.page-id-326 .page-opening-text span i, body.page-id-333 .page-opening-text span i {
      margin-right: 0;
      margin-top: 20px;
      display: block;
  }
  .team-item{
    width:100%;
  }

}