/*!normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css*/
progress,sub,sup {
    vertical-align: baseline
}

button,hr,input {
    overflow: visible
}

[type='checkbox'],[type='radio'],legend {
    box-sizing: border-box;
    padding: 0
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth
}

li.social-icon {
    /* background: #617c9f; */
    /* width: 33px; */
    height: 29px;
    /* text-align: center; */
    /* border-radius: 10px; */
    margin: 0px;
    /* padding: 0; */
    /* vertical-align: middle; */
}
#responsive-menu-container li.social-icon.responsive-menu-item {
    width: 100%;
    /* padding: 20px 0; */
    background: #617c9f;
    line-height: 40px;
    border-bottom: 1px solid #7b8a9e;
    color: #fff;
    background-color: #617c9f;
    height: 40px;
    line-height: 1;
}

#responsive-menu-container li.social-icon.responsive-menu-item svg{
    fill: white;
    display: inline-block
}
nav li.social-icon a {
    padding: 5px;
    display: inline-block;
    vertical-align: middle;
    height: 30px;
}

li.social-icon i, li.social-icon svg {
    color: #fff;
    
}
li.social-icon svg{
    width: 20px;
    display: block;
    vertical-align:middle;
    fill: #2a4560;
    height: 20px;
}
.scroll-fix li.social-icon svg{
    fill: white;
}

li.social-icon:hover {
    border: 0!important
}

nav ul li.social-icon:after {
    background: 0 0!important;
}

.video-home {
    max-width: 400px!important;
    width: 100%;
    height: auto!important;
    float: right;
    margin: 0 0 50px 50px
}

.container {
    max-width: 600px;
    width: calc(49% - 40px);
    display: inline-block;
    text-align: center;
    padding: 50px 20px;
    position: relative
}

.container:nth-of-type(1) {
    border-right: 2px solid #000;
    border-bottom: 2px solid #000
}

.container:nth-of-type(2) {
    border-left: 2px solid #000;
    border-bottom: 2px solid #000
}

.container:nth-of-type(3) {
    border-right: 2px solid #000;
    border-top: 2px solid #000
}

.container:nth-of-type(4) {
    border-left: 2px solid #000;
    border-top: 2px solid #000
}

.click-box {
    width: 50px;
    display: inline-block;
    height: 50px;
    position: relative;
    margin-bottom: 20px;
    background-image: url(https://i.ibb.co/K56trq4/tooth.png);
    transition: 0.5s;
    background-size: cover;
    counter-increment: section
}

.click-box:after {
    content: counter(section);
    font-size: 30px;
    position: absolute;
    bottom: -36px;
    left: 10px;
    width: 30px
}

.click-box.clicked:after {
    color: red
}

.click-box.clicked {
    background-color: red
}

.click-box input {
    bottom: -50px;
    position: absolute;
    margin: 0 auto;
    width: 20px;
    left: 0;
    right: 0
}

.select-all {
    font-size: 30px;
    position: absolute;
    top: 9px;
    left: 12px;
    display: flex
}

.select-all label {
    color: #617a9d!important;
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
    width: 100%!important;
    max-width: unset!important;
    position: relative
}

.referral-submit input {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    text-align: center;
    display: block;
    text-transform: uppercase;
    height: 40px;
    background: 0 0;
    background: #fff
}

.referral-submit input:hover {
    background-color: #fca205;
    border: 0
}

.referral-submit {
    padding-bottom: 40px;
    padding-top: 40px
}

ul.referral-form label span {
    color: red;
    font-size: 18px;
    margin-left: 10px
}

ul.justification-xray li {
    display: inline-block;
    width: calc(97% / 3);
    color: #fff
}

.referral-second-bg {
    background: #617b9e
}

ul.justification-xray {
    margin: 0
}

ul.justification-xray li input {
    margin-right: 14px
}

.container:nth-of-type(1) {
    counter-reset: section 19
}

.container:nth-of-type(3) {
    counter-reset: section 49
}

.container:nth-of-type(1) .click-box,.container:nth-of-type(3) .click-box {
    counter-increment: section -1
}

.container:nth-of-type(2) {
    counter-reset: section 20
}

.container:nth-of-type(4) {
    counter-reset: section 30
}

.container:nth-of-type(2) .click-box,.container:nth-of-type(4) .click-box {
    counter-increment: section 1
}

.tooth-one {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U8-.png)
}

.tooth-two {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U7-.png)
}

.tooth-three {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U6-.png)
}

.tooth-four {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U5-.png)
}

.tooth-five {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U4-.png)
}

.tooth-six {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U3-.png)
}

.tooth-seven {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U2-.png)
}

.tooth-eight {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U1-.png)
}

.tooth-right-one {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U1-.png)
}

.tooth-right-two {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U2-.png)
}

.tooth-right-three {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U3-.png)
}

.tooth-right-four {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U4-.png)
}

.tooth-right-five {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U5-.png)
}

.tooth-right-six {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U6-.png)
}

.tooth-right-seven {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U7-.png)
}

.tooth-right-eight {
    background-image: url(/wp-content/themes/rendlesham/images/referral/U8-.png)
}

.tooth-left-bottom-one {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L8-.png)
}

.tooth-left-bottom-two {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L7-.png)
}

.tooth-left-bottom-three {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L6-.png)
}

.tooth-left-bottom-four {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L5-.png)
}

.tooth-left-bottom-five {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L4-.png)
}

.tooth-left-bottom-six {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L3-.png)
}

.tooth-left-bottom-seven {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L2-.png)
}

.tooth-left-bottom-eight {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L1-.png)
}

.tooth-right-bottom-one {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L1-.png)
}

.tooth-right-bottom-two {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L2-.png)
}

.tooth-right-bottom-three {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L3-.png)
}

.tooth-right-bottom-four {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L4-.png)
}

.tooth-right-bottom-five {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L5-.png)
}

.tooth-right-bottom-six {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L6-.png)
}

.tooth-right-bottom-seven {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L7-.png)
}

.tooth-right-bottom-eight {
    background-image: url(/wp-content/themes/rendlesham/images/referral/L8-.png)
}

.click-box {
    width: 50px;
    display: inline-block;
    height: 117px;
    position: relative;
    margin-bottom: 36px;
    transition: 0.5s;
    background-size: cover;
    padding-bottom: 0;
    background-repeat: no-repeat
}

.click-box:after {
    font-size: 30px;
    position: absolute;
    bottom: -61px;
    left: 10px;
    width: 35px
}

.click-box.clicked:after {
    color: #617a9d
}

.click-box.clicked {
    background-color: #617a9d
}

.click-box input {
    bottom: -20px;
    position: absolute;
    margin: 0 auto;
    width: 20px;
    left: 0;
    right: 0;
    display: none
}

img.ortho-img {
    float: right;
    width: 60%;
    height: auto;
    margin: 0 0 25px 25px;
    padding: 10px;
    border: 2px solid #f5f5f5
}

.white-bg-referral {
    background: #fff;
    box-sizing: border-box;
    padding: 20px
}

.referral-style li {
    display: inline-block;
    max-width: 47%;
    width: 100%
}

.inner-content-referral.clearfix {
    max-width: 1200px;
    width: 96%
}

ul.referral-form li {
    margin-bottom: 25px;
    list-style: none;
    margin-left: 30px;
    vertical-align: top
}

ul.referral-form h3 {
    color: #fff
}

ul.referral-form li input,ul.referral-form li select {
    width: 100%;
    height: 65px;
    margin-top: 10px;
    max-width: 500px;
    box-sizing: border-box;
    padding: 20px;
    line-height: 65px
}

ul.referral-form li input[type='checkbox'] {
    height: 17px;
    margin: 0
}

li.radio-buttons input {
    width: 25px!important;
    box-sizing: border-box
}

ul.referral-form li textarea {
    width: 100%!important;
    margin-top: 10px!important;
    box-sizing: border-box;
    height: 310px;
    padding: 10px
}

ul.referral-form {
    background: #617b9e;
    padding: 15px;
    margin-bottom: 0
}

ul.referral-form label {
    color: #fff
}

.gdpr p input {
    height: auto
}

.gdpr p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 18px;
    color: #fff
}

input[type='checkbox'] {
    width: 14px!important;
    margin-left: 10px!important
}

.gdpr-small {
    font-size: 11px;
    padding-top: 0;
    clear: both;
    color: #fff
}

body {
    margin: 0
}

article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
    display: block
}

audio,canvas,progress,video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden],template {
    display: none
}

a {
    background-color: #fff0;
    -webkit-text-decoration-skip: objects
}

a:active,a:hover {
    outline-width: 0
}

abbr[title] {
    border-bottom: 0;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,strong {
    font-weight: bolder
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background-color: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub,sup {
    font-size: 75%;
    line-height: 0;
    position: relative
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

code,kbd,pre,samp {
    font-family: monospace,monospace;
    font-size: 1em
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

button,input,select,textarea {
    font: inherit;
    margin: 0
}

optgroup {
    font-weight: 700
}

button,select {
    text-transform: none
}

[type='reset'],[type='submit'],button,html [type='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 {
    border: 1px solid silver;
    margin: 0 2px;
    padding: .35em .625em .75em
}

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-cancel-button,[type='search']::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-input-placeholder {
    color: inherit;
    opacity: .54
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

@font-face {
    font-display: swap;
    font-family: futurabook;
    src: url(/wp-content/themes/rendlesham/fonts/futura_0-webfont.woff2) format('woff2'),url(/wp-content/themes/rendlesham/fonts/futura_0-webfont.woff) format('woff');
    font-weight: 400;
    font-style: normal
}

body {
    font-family: lato,sans-serif;
    color: #41536b;
    font-weight: 400
}

a {
    color: #9bbad9;
    text-decoration: none
}

a:hover {
    color: #fca205
}

strong {
    font-weight: 700
}

h1,h2,h3,h4 {
    font-family: futurabook,lato,Helvetica,sans-serif
}

h1,h2.home-h2 {
    font-weight: 400;
    font-size: 2.5em
}

h2 {
    color: #6b2f52
}

p,ul,ol {
    line-height: 1.7
}

hr {
    border: 0;
    background: #e1e1e1;
    height: 1px;
    margin: 20px 0;
    clear: both
}

hr.trans {
    background: 0 0
}

.larger {
    font-size: 1.2em
}

.medium-blue-text {
    color: #617c9f;
    display: block;
    font-size: 31px;
    font-weight: bolder;
    text-transform: uppercase
}

span.small-orange-text {
    font-size: 20px;
    display: block;
    padding: 30px 0;
    color: #fca206;
    font-weight: 400
}

span.small-blue-text {
    font-size: 20px;
    display: block;
    color: #617c9f
}

.purple-text {
    color: #6b2f52
}

.orange-button {
    display: inline-block;
    background: #fca205;
    padding: 10px 25px;
    border-radius: 5px;
    color: #fff;
    border: 2px solid #fca205;
    text-transform: uppercase
}

.orange-button:hover {
    background: #fff;
    color: #fca205
}

.center-text {
    text-align: center
}

.container1200 {
    width: 94%;
    max-width: 1200px;
    margin: 0 auto
}

.two-col {
    width: 50%;
    float: left;
    padding: 0 2.5%;
    box-sizing: border-box;
    -webkit-box-sizing: border-box
}

.col-left {
    float: left
}

.col-right {
    float: right
}

.grey-box {
    background: #ebeff2;
    padding: 25px;
    margin-top: 25px;
    border-radius: 5px
}

.grey-box::after {
    content: '';
    display: block;
    clear: both
}

.header-wrap {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0 10px;
    z-index: 200;
    background: #fff;
    border-bottom: 2px solid #fca205
}

header {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto
}

.logo {
    display: block;
    width: 160px;
    /* float: left;
    height: 163px;
    background: url(/wp-content/themes/rendlesham/images/logo.png) no-repeat top center; 
    background-size: 100% */
}

.header-contacts {
    float: right;
    margin-top: 15px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out
}

.header-contact-box {
    float: left;
    padding: 15px 20px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 0 10px 10px 0
}

.header-contact-box p {
    margin: 0;
    line-height: 1
}

.header-contact-box a {
    color: #fff
}

.header-contact-box .fa {
    margin-right: 10px
}

.left-box {
    border-radius: 10px 0 0 10px
}

.right-box {
    border-radius: 0 10px 10px 0
}

.light-blue {
    background: #abc
}

.medium-blue {
    background: #617c9f
}

.dark-blue {
    background: #2a4560
}

nav {
    float: right;
    margin: 20px 0 0;
    -webkit-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative
}

nav ul li {
    display: inline-block;
    margin: 0 8px;
    padding: 0 0 5px;
    position: relative;
    vertical-align: middle;
}

nav>ul>li:after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    background: #8db3d9;
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    -o-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out
}

nav>ul>li:hover:after {
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1)
}

nav li a {
    display: block;
    text-decoration: none;
    padding: 3px 0px 3px;
    color: #2a4560;
    text-transform: uppercase;
}

nav li a:hover {
    color: #8db3d9
}

nav ul li ul {
    padding: 0;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    border-top: 2px solid #8db3d9;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    display: none
}

nav ul li ul li {
    display: block;
    float: none;
    margin: 0;
    border-top: 1px solid #ecf2f8;
    padding: 0
}

nav ul li ul li a {
    background: #2a4560;
    padding: 8px 25px;
    white-space: nowrap;
    display: block;
    color: #fff;
    font-size: .8em;
    letter-spacing: .02em;
    border-radius: 3px
}

nav ul li ul li a:hover {
    background: #617c9f;
    color: #fff
}

nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
    display: block
}

nav ul li:hover ul ul {
    position: absolute!important;
    left: 100%;
    opacity: 0;
    top: 0;
    border: 0;
    visibility: hidden;
    display: none
}

nav ul li:hover ul li:hover ul {
    opacity: 1;
    visibility: visible;
    display: block
}

nav ul li:hover ul li:hover ul {
    opacity: 1
}

nav ul li.book-online-nav a{
    background-color: rgb(252 162 5);
    color: white;
    text-transform: uppercase;
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 10px;
    border-radius: 10px;
}
nav ul li.book-online-nav:after{
    display:none;
}

.christmas-hours img {
    max-width: 672px!important;
    width: 100%;
    margin-top: 20px
}

.scroll-fix {
    background: #617c9f
}

.scroll-fix .logo {
    background-position: bottom center
}

.scroll-fix .header-contacts {
    height: 0;
    opacity: 0;
    margin: 0
}

.scroll-fix nav {
    margin-top: 5px
}

.scroll-fix nav a {
    color: #fff
}

.hero-wrapper {
    margin-top: 200px;
    height: 450px;
    background: #e7eaea;
    position: relative;
    background: url(/wp-content/themes/rendlesham/images/hero-slider-open-day.jpg) no-repeat;
    background-size: contain;
    background-position: center;
    background-color: #eaebf0
}

.hero-inner {
    position: relative;
    height: 100%;
    width: 94%;
    max-width: 1200px;
    margin: 0 auto;
    display: table;
    background-size: cover
}

.hero-text {
    display: table-cell;
    vertical-align: middle;
    width: 42%;
    padding: 4%;
    text-align: center
}

.hero-text p {
    font-size: 1.9em;
    line-height: 1.5;
    font-family: futura-pt,sans-serif;
    font-weight: 500;
    font-style: normal
}

.hero-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 730px;
    height: 100%;
    background-size: cover
}

.new-patient-bar {
    FONT-VARIANT: JIS83;
    position: relative;
    width: 61%;
    max-width: 1200px;
    margin: 30px auto;
    background: #8db3d9;
    overflow: hidden;
    color: #fff;
    border-radius: 5px;
    z-index: 100
}

.new-patient-bar {
    display: flex;
    flex-wrap: wrap
}

.bar-left {
    padding: 20px 30px;
    font-size: 1.25em;
    box-sizing: border-box;
    width: 100%;
    text-align: center
}

.bar-right {
    background: #fca205;
    font-size: 1.25em;
    position: relative;
    width: 100%;
    text-align: center;
    align-self: center;
    text-transform: uppercase
}

.bar-right:before {
    width: 0;
    height: 0;
    border-top: 57px solid #fff0;
    border-left: 40px solid #8db3d9;
    border-bottom: 57px solid #fff0;
    position: absolute;
    top: 0;
    left: 0
}

.bar-right a {
    color: #fff
}

.bar-right:hover .fa {
    -moz-transform: translateX(10px);
    -webkit-transform: translateX(10px);
    -o-transform: translateX(10px);
    -ms-transform: translateX(10px);
    transform: translateX(10px)
}

.content-wrapper {
    padding: 30px 0 40px
}

.home-content {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto
}

.main-content p,.main-content ul,.main-content ol {
    font-size: 1em
}

.inner-content {
    width: 96%;
    max-width: 820px;
    margin: 0 auto
}

.wide-inner {
    max-width: 1170px
}

.inner-content p,.inner-content ul,.inner-content ol {
    font-size: 1.05em
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    box-sizing: border-box
}

.testimonial-image-holder {
    text-align: center
}

.testimonial-image-holder img {
    margin: 10px
}

#swipebox-overlay {
    background: rgb(0 0 0 / .8)!important
}

.title-holder {
    margin-top: 200px;
    background: #f8f8f8;
    text-align: center;
    padding: 50px 0 20px
}

p#breadcrumbs {
    margin: -1em 0 1em
}

.home-h1 {
    background: url(/wp-content/themes/rendlesham/images/logo-symbol.png) center right no-repeat;
    background-size: 92px;
    margin-top: 1.3em
}

.home-highlights h3 {
    margin-top: 0;
    font-weight: 700
}

.home-highlights p {
    line-height: 1.5;
    margin: .67em
}

.highlight-img-holder {
    position: relative;
    background: #617c9f;
    float: left;
    margin: 5px 20px 20px 0;
    text-align: center;
    border-radius: 5px
}

.highlight-img {
    width: 150px;
    border-radius: 5px;
    display: block;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out
}

.highlight-img-holder:hover img {
    opacity: .7
}

.highlight-img-holder .fa {
    color: #fff;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 100;
    pointer-events: none;
    -webkit-transition: all 0.2s cubic-bezier(.18,.89,.32,1.28);
    transition: all 0.2s cubic-bezier(.18,.89,.32,1.28);
    -moz-transform: translateX(-50%) translateY(20px);
    -webkit-transform: translateX(-50%) translateY(20px);
    -o-transform: translateX(-50%) translateY(20px);
    -ms-transform: translateX(-50%) translateY(20px);
    transform: translateX(-50%) translateY(20px)
}

.highlight-img-holder:hover .fa {
    opacity: 1;
    color: #fff;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%)
}

.treatment-text-left {
    width: calc(100% - 360px);
    float: left
}

.treatment-vid-holder {
    width: 320px;
    float: right;
    padding-top: 1em
}

.treatment-vid-holder iframe {
    max-width: 320px;
    height: 240px;
    margin-bottom: 1em
}

.treatment-links {
    list-style: none;
    margin: 1em 0;
    padding: 0
}

.treatment-links li {
    float: left;
    width: calc((100% / 3) - 2px);
    margin: 1px
}

.treatment-links a {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: .9em;
    background: #617c9f;
    color: #fff;
    padding: 12px 0
}

.treatment-links a:hover {
    background: #fca205;
    color: #fff
}

.team-box {
    min-height: 750px;
    float: left;
    width: 47%;
    margin: 90px 1.5% 50px;
    background: #f8f8f8;
    text-align: center;
    box-sizing: border-box;
    padding: 0 25px 20px
}

.team-box img {
    width: 200px;
    height: auto;
    display: inline-block;
    margin-top: -110px;
    border-radius: 50%;
    border: 10px solid #fff
}

.team-box h2 {
    margin-bottom: 0
}

.team-box h3 {
    margin-top: 5px
}

.fees {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse
}

.fees td,.fees th {
    padding: 10px 15px
}

.fees th {
    background: #617c9f;
    color: #fff;
    font-size: 1.1em
}

.fees tr {
    border-bottom: 1px solid #ececec
}

.fees tr td:last-of-type {
    text-align: right
}

.quicklinks-wrapper {
    border-top: 4px solid #fca205;
    padding: 35px 0;
    background: #617c9f;
    background: -moz-linear-gradient(top,#617c9f 0%,#2a4560 100%);
    background: -webkit-linear-gradient(top,#617c9f 0%,#2a4560 100%);
    background: linear-gradient(to bottom,#617c9f 0%,#2a4560 100%)
}

.quicklinks-inner {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto
}

.quicklink {
    width: 22%;
    float: left;
    margin: 1.5%;
    background: #fff;
    text-align: center;
    border-radius: 150px;
    padding: 15px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box
}

.quicklink-img {
    position: relative;
    width: 100%;
    border-radius: 50%
}

.ql-img {
    width: 100%;
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    height: auto
}

.ql-hov {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 100;
    pointer-events: none;
    -webkit-transition: all 0.3s cubic-bezier(.18,.89,.32,1.28);
    transition: all 0.3s cubic-bezier(.18,.89,.32,1.28);
    -moz-transform: translateX(-50%) translateY(20px);
    -webkit-transform: translateX(-50%) translateY(20px);
    -o-transform: translateX(-50%) translateY(20px);
    -ms-transform: translateX(-50%) translateY(20px);
    transform: translateX(-50%) translateY(20px)
}

.quicklink:hover .quicklink-img {
    background: #617c9f
}

.quicklink:hover .ql-img {
    opacity: .7
}

.quicklink:hover .ql-hov {
    opacity: 1;
    color: #fff;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%)
}

.quicklink h3 {
    color: #6b2f52;
    margin-bottom: .5em;
    font-weight: 400
}

.quicklink p {
    margin-top: .4em;
    font-size: .9em;
    line-height: 1.5;
    padding: 0 0 20px
}

.quicklink a,.quicklink a:hover {
    color: #41536b
}

.treatment-highlight {
    padding: 70px 0;
    background: url(/wp-content/themes/rendlesham/images/treatment-highlight-bg.jpg) center;
    background-size: cover;
    font-size: 1.1em
}

.contact-wrapper {
    padding: 50px 0 0;
    background: url(/wp-content/themes/rendlesham/images/contact-wrapper-bg.jpg);
    background-attachment: fixed;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea
}

.contact-inner {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto 30px
}

.contact-wrapper h2 {
    margin-top: 0;
    color: #fff;
    font-weight: 400
}

.contact-form {
    width: 50%;
    float: left;
    margin: 0 10% 30px 0
}

.contact-form.contact-form-full {
    margin: 0 auto;
    float: unset
}

ul.treatment-links {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.contact-form ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none
}

.half-width-li {
    float: left;
    width: calc(50% - 20px);
    margin-right: 20px
}

.end-half {
    margin-right: 0
}

.contact-form input,.contact-form textarea {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    padding: 7px 10px;
    font-size: 1em;
    color: #fff;
    outline: 0;
    border: 0;
    background: 0 0;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    -webkit-border-radius: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    vertical-align: middle
}

.contact-form input:hover,.contact-form textarea:hover,.contact-form input:focus,.contact-form textarea:focus {
    border-bottom: 2px solid #fca205
}

.contact-form textarea {
    height: 160px;
    overflow: auto;
    vertical-align: top
}

.contact-form li {
    position: relative;
    overflow: hidden
}

.contact-form .submit {
    float: right;
    background: #fca205;
    color: #fff;
    text-transform: uppercase;
    font-size: 1em;
    font-weight: 300;
    width: 200px;
    height: 50px;
    margin: 0;
    border: 2px solid #fca205;
    padding: 10px 0 12px;
    letter-spacing: .04em
}

.contact-form .submit:hover {
    background: #fff;
    color: #fca205
}

::-webkit-input-placeholder {
    color: #fff
}

:-moz-placeholder {
    color: #fff
}

::-moz-placeholder {
    color: #fff
}

:-ms-input-placeholder {
    color: #fff
}

input:focus::-webkit-input-placeholder,textarea:focus::-webkit-input-placeholder {
    color: #cdcdcd
}

input:focus:-moz-placeholder,textarea:focus:-moz-placeholder {
    color: #cdcdcd
}

input:focus::-moz-placeholder,textarea:focus::-moz-placeholder {
    color: #cdcdcd
}

input:focus:-ms-input-placeholder,textarea:focus::-moz-placeholder {
    color: #cdcdcd
}

.contact-details.contact-page {
    float: unset;
    color: #000;
    margin: 0 auto
}

.contact-details.contact-page a {
    color: #000
}

.contact-details {
    float: left;
    width: 40%;
    color: #fff
}

.contact-details a {
    color: #fff;
    word-wrap: break-word
}

.inner-content a {
    word-wrap: break-word
}

.contact-details p {
    line-height: 2
}

.footer-parking {
    font-size: .9em
}

.contact-details hr {
    margin: 25px 0
}

.footer-hours {
    width: 100%;
    font-size: .9em;
    border-collapse: collapse
}

.footer-hours td {
    padding: 10px;
    text-align: center;
    border: 1px solid #cdcdcd
}

.map-wrapper {
    border: 15px solid #fff
}

.map-wrapper iframe {
    pointer-events: none
}

footer {
    text-align: center;
    padding: 2px 2%;
    font-weight: 300;
    position: relative;
    background-color: #fff
}

footer p {
    font-size: .9em;
    max-width: 900px;
    margin: 20px auto;
    line-height: 1.25
}

.scrollup {
    cursor: pointer;
    margin: 20px 0
}

.alignright,.alignleft {
    padding: 8px;
    background: #fff;
    border: 1px solid #ececec
}

.alignright {
    float: right;
    margin: 0 0 10px 20px
}

.alignleft {
    float: left;
    margin: 0 20px 10px 0
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@-moz-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.fade-in {
    opacity: 0;
    -webkit-animation: fadeIn ease-in 1;
    -moz-animation: fadeIn ease-in 1;
    animation: fadeIn ease-in 1;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-duration: 0.7s;
    -moz-animation-duration: 0.7s;
    animation-duration: 0.7s
}

.fade-in.one {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s
}

.fade-in.two {
    -webkit-animation-delay: 1s;
    -moz-animation-delay: 1s;
    animation-delay: 1s
}

.fade-in.three {
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s
}

.fade-in.four {
    -webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s
}

.mobile-home-banner {
    display: none
}

a,.header-wrapper,nav,input,textarea,.submit-icon,.bar-right .fa {
    -webkit-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out
}

.clearfix:after {
    content: '';
    display: table;
    clear: both
}

.special-offer-badge {
    width: 200px;
    float: right;
    position: absolute;
    top: 55%;
    right: 1%;
    z-index: 100
}

.special-offer-badge img {
    width: 200px
}

img.offerbadge {
    display: none
}

.xmasopening {
    max-width: 100%;
    height: auto
}

.hero-text h2 {
    font-size: 27px;
    color: #2b4661
}

a.hero-button {
    background: #2b4661;
    padding: 10px;
    font-size: 18px;
    color: #fff;
    border-radius: 4px
}

span.highlight {
    background: #fca306;
    color: #fff;
    padding: 10px
}

.invis-open a {
    background: #fca306;
    color: #fff;
    padding: 10px 5px
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%
}

.embed-container iframe,.embed-container object,.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.ddl-cookies-happy {
    background-color: #fca205!important
}

#ddl-cookies-header {
    background-color: #617c9f!important
}

.covid-homecare {
    text-align: center;
    display: block;
    font-size: 20px;
    margin-top: 20px;
    background-color: #fca206;
    padding: 15px;
    color: #fff!important
}

.testimonial-video {
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
    min-width: 300px
}

.testimonial-video-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.testimonial-video-holder h2 {
    width: 100%;
    text-align: center
}

@media only screen and (max-width: 1605px) {
    .special-offer-badge {
        top:102%;
        right: 0%
    }

    .special-offer-badge img {
        width: 180px
    }
}

@media only screen and (max-width: 1300px) {
    .hero-text p {
        z-index:99
    }

    .referral-style li {
        max-width: 46%
    }

    ul.referral-form li {
        margin-left: 30px
    }
}

@media only screen and (max-width: 1175px) {
    .hero-wrapper {
        display:none
    }

 

.new-patient-bar {
    width: 100%;
}

.new-patient-bar .bar-right {
    padding: 20px 0;
}

    nav ul li {
        margin: 0 5px
    }

    .home-h1 {
        background: 0 0;
        padding-right: 0!important
    }

    .hero-text {
        display: flex
    }

    .mobile-home-banner {
        margin: 205px auto 110px;
        display: block;
        text-align: center
    }

    .mobile-home-banner img {
        max-width: 85%;
        width: 100%;
        display: block;
        margin: 0 auto 20px
    }
}

@media only screen and (max-width: 1075px) {
    nav li a {
        font-size:.75em
    }
}

@media only screen and (max-width: 1061px) {
    .bar-left,.bar-right {
        font-size:.8em
    }

    .bar-right {
        padding: 20px 20px 20px 50px
    }

    .mobile-home-banner {
        margin: 290px auto 110px
    }

    .bar-left {
        width: calc(100% - 300px);
        margin-top: 30px
    }

    .bar-right {
        width: 300px
    }
}

@media only screen and (max-width: 930px) {
    .click-box:after {
        bottom:-36px
    }

    .referral-style li {
        max-width: unset
    }

    ul.justification-xray li {
        width: calc(97% / 2)
    }

    .referral-submit input {
        max-width: 320px
    }
}

@media only screen and (max-width: 905px) {
    .team-box {
        min-height:400px;
        width: 100%;
        height: inherit
    }

    .hero-text {
        margin: 50px 0 0
    }

    .hero-text p {
        background: rgb(255 255 255 / .7);
        font-size: 26px;
        padding: 10px
    }
}

@media only screen and (max-width: 900px) {
    img.offerbadge {
        display:block;
        margin: 0 auto;
        width: 200px
    }

    .title-holder {
        margin-top: 250px
    }

    .page-template-page-contact .title-holder {
        margin-top: 153px
    }

    .special-offer-badge {
        display: none
    }

    
}

@media only screen and (max-width: 850px) {
    .treatment-links li {
        width:calc((100% / 2) - 2px)
    }
}

@media only screen and (max-width: 820px) {
    .header-contact-box {
        font-size: 14px
    }
}

@media only screen and (max-width: 1175px) {
    .new-patient-bar {
        display:block;
        margin-top: 275px
    }

    .bar-left,.bar-right {
        width: 100%;
        text-align: center;
        box-sizing: border-box
    }

    .bar-right:before {
        display: none
    }
}

@media only screen and (max-width: 770px) {
    .header-contacts {
        margin:60px 0 0;
        display: none;
    }

    .new-patient-bar {
        margin: 220px 5% 25px;
        width: 90%
    }

    nav,.hero-text,.hero-wrapper {
        display: none
    }
    .title-holder {
        margin-top: 86px;
    }
}

@media only screen and (max-width: 750px) {
    .two-col,.contact-form,.contact-details {
        width:100%
    }

    .contact-form,.contact-details {
        padding: 20px;
        box-sizing: border-box
    }

    .quicklink {
        width: 46%;
        margin: 2%;
        border-radius: 150px 150px 0 0;
        min-height: 368px
    }

    .quicklink p {
        line-height: 1.2;
        padding: 0
    }

    .video-home {
        max-width: 250px!important;
        margin: 0 0 25px 25px
    }
}

@media only screen and (max-width: 669px) {
    .header-contacts {
        max-width:669px;
        width: 50%;
        margin: 40px 0 0
    }

    .header-contact-box {
        width: 100%;
        margin: 5px 0 0
    }

    .logo {
        margin: 0 0 10px 10px
    }

    .treatment-text-left {
        width: 100%
    }

    .treatment-vid-holder {
        width: 100%;
        float: left;
        text-align: center
    }
}

@media only screen and (max-width: 603px) {
    .alignright,.alignleft {
        width:50%
    }

    .testimonial-image-holder img {
        margin: 0
    }
}

@media only screen and (max-width: 500px) {
    h1 {
        font-weight:400;
        font-size: 1.5em
    }

    .treatment-links li {
        width: 100%
    }
       body.home {
    /* padding-top: 204px; */
}

    .new-patient-bar {
        margin: 0 0 30px;
        width: 100%;
        border-radius: 0;
        box-sizing: border-box
    }

    .page-template-page-home .new-patient-bar {
        margin: 224px auto 30px
    }

    .video-home {
        max-width: 100%!important;
        margin: 50px 0 25px 0
    }

    img.ortho-img {
        width: 100%;
        margin: 0 0 35px
    }
}

@media only screen and (max-width: 400px) {
    .inner-content {
        width:90%
    }

    .header-contacts {
        display: none
    }
}

@media only screen and (max-width: 350px) {
    .quicklink {
        width:96%;
        margin: 0 2% 2%
    }
}

@media only screen and (max-width: 333px) {
    .highlight-img-holder img {
        width:100%;
        max-width: 333px;
        height: auto
    }

    .highlight-img-holder {
        margin: 0 0 20px
    }

    .footer-hours td {
        width: 100%;
        float: left;
        box-sizing: border-box
    }
}

.contact-btn {
    display: block;
    width: 215px;
    height: 25px;
    background: #617c9f;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    font-weight: 700;
    line-height: 25px;
    margin: 10px 0;
    cursor: pointer
}

.contact-btn a {
    color: #fff
}

.contact-btn a:hover {
    color: #fff
}

@media only screen and (max-width: 400px) {
    .contact-btn {
        width:95%
    }
}

.center {
    text-align: center;
    display: block;
    margin: 0 auto
}

.grecaptcha-badge {
    display: none!important
}

.mobile-cta-bar {
    display: none
}

@media only screen and (max-width: 768px) {
    .mobile-cta-bar {
        display:grid;
        grid-template: 1fr / 1fr 1fr;
        gap: 2px;
        position: sticky;
        bottom: 0;
        z-index: 1000;
        background: #fca205;
        box-shadow: 0 0 40px rgb(0 0 0 / 40%)
    }

    .mobile-cta-bar {
        width: 100%
    }

    .mobile-cta-bar a {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #617c9f;
        font-size: 18px;
        color: #fff;
        padding: 16px 0
    }

    .mobile-cta-bar a:hover {
        color: #fca205
    }
}

@media only screen and (max-width: 600px) {
    .twocolpadd {
        margin-top:-2em
    }

    .twocolpadd>div {
        padding-left: 0px!important
    }
}

@media only screen and (max-width: 1075px) {
    .bar-left,.bar-right {
        font-size:1em
    }
}

.testimonial-cards {
    display: grid;
    grid-template: 1fr / 1fr 1fr;
    gap: 20px;
    margin: 25px 0
}

.testimonial-cards>.testimonial-card {
    padding: 25px;
    background-color: #9bbad9;
    color: #fff;
    border-radius: 8px
}

.testimonial-cards>.testimonial-card>p {
    margin: 0 0 15px 0
}

.testimonial-cards>.testimonial-card>p>.fa.fa-quote-left,.testimonial-cards>.testimonial-card>p>.fa.fa-quote-right {
    color: #6684ac;
    font-size: 22px
}

.testimonial-cards>.testimonial-card>p>.fa.fa-quote-left {
    margin-right: 3px
}

.testimonial-cards>.testimonial-card>p>.fa.fa-quote-right {
    margin-left: 3px
}

.testimonial-cards>.testimonial-card>.testimonial-stars {
    display: flex;
    gap: .1rem
}

.testimonial-cards>.testimonial-card>.testimonial-stars>.fa.fa-star {
    color: #ffd68f
}

@media only screen and (max-width: 800px) {
    .testimonial-cards {
        display:grid;
        grid-template: 1fr / 1fr;
        gap: 20px
    }
}

li.another-layer a::after {
    content: "";
    border-color: #fff;
    border-style: solid;
    border-width: 2px 0 0 2px;
    width: 10px;
    height: 10px;
    display: inline-block;
    transform: rotate(135deg);
    margin-left: 10px
}

li.another-layer li a::after,#responsive-menu li.another-layer a::after {
    display: none
}

.fifty-fifty {
    display: flex
}
.fifty-fifty.fifty-fifty-blue {
    background-color: #5b7698;
    color: white;
}
.fifty-fifty.fifty-fifty-blue .fifty-fifty-title span.title-motif img {
    filter: brightness(0) invert(1);
}

.fifty-fifty.fifty-fifty-grey {
    background-color: #eeeeee;
}

.fifty-fifty-media,.fifty-fifty-content {
    width: 50%;
    position: relative;
    box-sizing: border-box
}
.fifty-fifty-google-reviews {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.fifty-fifty.fifty-fifty-image-left .fifty-fifty-media {
    order: -1;
}

.fifty-fifty.fifty-fifty-image-left .fifty-fifty-media .video-holder svg{
    left: initial;
    right: 20px;
}

.fifty-fifty-media.alt,.fifty-fifty-content.alt {
    background-color: #eee
}

.fifty-fifty-media img,.fifty-fifty-media video {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}
.fifty-fifty-media video{
    z-index: 2;
}

.fifty-fifty-content {
    padding: 50px;
}
.page-template-page-acf .fifty-fifty-content {
    padding: 50px 0;
}
.fifty-fifty-container {
    max-width: 700px;
    margin: 0 auto;
    width: 90%;
}
.fifty-fifty-title {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}

.fifty-fifty-title  span.title-motif {
    min-width: 100px;
    margin-left: 20px;
    max-width: 100px;
}

.fifty-fifty-title  span.title-motif img {
    width: 100%;
}
.fifty-fifty-title h2 {
    color: inherit;
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 20px;
}
.fifty-fifty-content h1 {
    margin-top: 0;
    padding-right: 100px
}

@media(max-width: 1000px) {
    .fifty-fifty {
        flex-wrap:wrap
    }

    .fifty-fifty-media,.fifty-fifty-content {
        width: 100%
    }

    .fifty-fifty-content {
        order: -1
    }

    .fifty-fifty-media {
        min-height: 300px
    }
    .fifty-fifty-media.has-video{
        aspect-ratio: 16 / 9
        
    }
    .fifty-fifty.fifty-fifty-image-left .fifty-fifty-media {
        order: 2;
    }
    .fifty-fifty-google-reviews {
        transform: scale(.7);
        bottom: -10px;
        left: -15px;
    }
}


/* Practice Plan table */

/* Base table styling */
.dental-plan-table {width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; text-align: center;}
.dental-plan-table th, .dental-plan-table td {border: 1px solid #ddd; padding: 12px;}
.dental-plan-table thead th {background: #556c8a; color: #fff; font-weight: 600;}
.dental-plan-table tbody td:first-child, .dental-plan-table thead th:first-child {text-align: left;}
.dental-plan-table thead th {border-color: #EFF1F5; border-bottom-color: #627a9d; border-top-color: #627a9d;}
.dental-plan-table thead th:first-child {border-left-color: #627a9d;}
.dental-plan-table thead th:last-child {border-right-color: #627a9d;}
.dental-plan-table tbody tr:not(.monthly) td {background: #EFF1F5; font-weight: 500; border-color: #627A9D;}
.dental-plan-table tbody tr:not(.monthly) td:first-child {border-left-color: #EFF1F5;}
.dental-plan-table .monthly td {background: #fcae3d; color: #fff; font-weight: bold; border-color: #EFF1F5; border-bottom-color: #eff1f5;}
.dental-plan-table .monthly td:first-child {border-left-color: #fcae3d;}
.dental-plan-table .monthly td:last-child {border-right-color: #fcae3d;}

/* Responsive */
@media only screen and (min-width: 501px) {
    .hidedesk {display: none;}
}

@media (max-width: 768px) {
  /* .dental-plan-table, .dental-plan-table thead, .dental-plan-table tbody, .dental-plan-table th, .dental-plan-table td, .dental-plan-table tr {display: block;} */

  /* Hide header row visually 
  .dental-plan-table thead {display: none;} */

  /* Each column becomes a card 
  .dental-plan-table tr {margin-bottom: 20px; background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden;}
  .dental-plan-table td {text-align: left; border: none; border-bottom: 1px solid #eee; padding: 12px 15px; position: relative;} */

  /* Background colours on first column */
  .dental-plan-table tbody tr:not(.monthly) td:first-child {/* background: #556c8a; color: #fff; */ width: 33%;}

  /* Last item in card removes border
  .dental-plan-table td:last-child {border-bottom: none;} */

  /* Create labels using attr(data-label)
  .dental-plan-table td:nth-child(n+2)::before {content: attr(data-label); font-weight: bold; display: block; margin-bottom: 6px; color: #556c8a;} */

  /* Maintenance plan headers
  .dental-plan-table tr td:nth-child(2)::before { content: "1 + 1"; }
  .dental-plan-table tr td:nth-child(3)::before { content: "1 + 2"; }
  .dental-plan-table tr td:nth-child(4)::before { content: "2 + 2"; }
  .dental-plan-table tr td:nth-child(5)::before { content: "1 + 4"; }
  .dental-plan-table tr td:nth-child(6)::before { content: "2 + 4"; } */

  /* Complete plan headers
  .dental-plan-table.compplan tr td:nth-child(2)::before { content: "Level 1"; }
  .dental-plan-table.compplan tr td:nth-child(3)::before { content: "Level 2"; }
  .dental-plan-table.compplan tr td:nth-child(4)::before { content: "Level 3"; }
  .dental-plan-table.compplan tr td:nth-child(5)::before { content: "Level 4"; }
  .dental-plan-table.compplan tr td:nth-child(6)::before { content: "Level 5"; } */
}

@media only screen and (max-width: 500px) {
    .dental-plan-table {
        font-size: 70%;
    }
    .dental-plan-table th, 
    .dental-plan-table td {
        padding: 8px;
    }
}

/* Practice Plan table end */

.hidden{
    display: none;
}

/* New logos */

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.clearfix.header-flex::after {
    display: none;
}
.header-flex .header-group {
    max-width: calc(100% - 135px);
}

.stnd-logo {max-width: 160px;}
.sticky-logo {display: none; max-width: 160px;}
.scroll-fix .stnd-logo {display: none;}
.scroll-fix .sticky-logo {display: block;}

@media only screen and (max-width: 1100px) {
    .header-flex .logo {
        width: 140px;
    }
    .stnd-logo, .sticky-logo {max-width: 140px;}
}

@media only screen and (max-width: 921px) {
    .header-flex .logo {
        width: 102px;
    }
    .stnd-logo, .sticky-logo {max-width: 120px;}
    nav ul li {
        margin: 0 2px;
    }
}

@media only screen and (min-width: 771px) {
    .mob-home-logo {
        display: none;
    }
    .book-online-mob {
        display: none;
    }
}

@media only screen and (max-width: 770px) {
    .stnd-logo {display: none;}
    .sticky-logo {display: block;}
    .header-wrap {background: #617c9f;}
    .mob-home-logo {
        max-width: 90%;
        margin: 160px auto 0;
    }
    .mob-home-logo p {
        font-size: 2rem;
        text-align: center;
        padding-bottom: 20px;
        border-bottom: 1px solid #617c9f;
    }
    .page-template-page-home .new-patient-bar {
        margin: 40px 5% 25px;
    }
    .book-online-mob {
        position: fixed;
        right: calc(8vw + 55px);
        top: 15px;
    }
    .book-online-mob a {
        box-sizing: border-box;
        display: inline-block;
        background: #fca205;
        padding: 10px 25px;
        border-radius: 5px;
        color: #fff;
        border: 2px solid #fca205;
        text-transform: uppercase;
        min-height: 55px;
        display: flex;
        align-items: center;
    }
}

@media only screen and (max-width: 600px) {
    .stnd-logo, .sticky-logo {
        max-width: 100px;
    }
}

@media only screen and (max-width: 500px) {
    .page-template-page-home .new-patient-bar {
        margin: 80px auto 30px;
    }
    .mob-home-logo p {
        font-size: 1.6rem;
        padding-bottom: 15px;
    }
}

/* New logos end */




/* 
*   ACF styling
*/

.page-template-page-acf {
    margin-top: 150px;
}

@media only screen and (max-width: 770px) {
    .page-template-page-acf {
        margin-top: 85px;
    }
}

.header-wrap {
    border-bottom: #2f3b62 3px solid;
}

.contact-form .submit {
    background: #2f3b62;
    border-color: #2f3b62;
    cursor: pointer;
}
.contact-form .submit:hover {
    background: #fff;
    color:#2f3b62;
}
.contact-form input:hover, 
.contact-form textarea:hover, 
.contact-form input:focus, 
.contact-form textarea:focus{
    border-bottom: 2px solid #2f3b62;
}

.page-template-page-acf p, .page-template-page-acf ul,  .page-template-page-acf ol {
    line-height: 1.5;
    margin-top: 0;
}

/* Button styling new */
.btn-new {
    padding: 15px 20px;
    background-color: #2f3b62;
    color: white;
    border-radius: 10px;
    text-transform: uppercase;
    display: inline-block;
    box-sizing: border-box;
}
.btn-new:hover {
    background-color: #617c9f;
    color: white;
}

/* Banner ACF styles */
.banner-acf {
    position: relative;
    display: block;
    align-content: center;
}
img.banner-image {
    position: absolute;
    top: 0;
    /* left: 0; */
    right: 0;
    bottom: 0;
    height: 100%;
    width: 70%;
    object-fit: cover;
    z-index: 1;
    display: block;
}
.banner-content {
    width: 60%;
    z-index: 2;
    position: relative;
    background: #D5D5D5;
    background: linear-gradient(
110deg, rgba(213, 213, 213, 1) 0%, rgba(213, 213, 213, 1) 61%, rgba(237, 221, 83, 0) 77%);
    display: block;
    display: flex;
    justify-content: center;
    min-width: 389px;
}

.banner-content-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    max-width: 500px;
    margin: 0 auto;
    width: 70%;
    margin: 75px 10%;
    box-sizing: border-box;
}

.banner-content h1, .banner-content h2 {
    width: 100%;
    text-transform: uppercase;
    font-family: lato, sans-serif;
    font-size: 2.5em;
    margin-bottom: 1rem;
    color: #5b7da3;
    font-weight: 700;
}

.banner-content h1 strong, .banner-content h2 strong{
    color: #2f3b62;
}

.banner-additional-content {
    width: 100%;
}

.banner-additional-content :first-child {
    margin-top: 0;
}

.banner-review {
    margin-top: 2rem;
}

@media(max-width: 800px) {
    .banner-content {
        width: 100%;
        background: rgba(213, 213, 213, .9);
    }
    .banner-content-inner {
        width: 100%;
        margin: 30px;
    }
    img.banner-image  {
        width: 100%;
    }
}

/* Full width ACF styles */

.full-width-section {
    padding: 70px 0;
}
.full-width-section.bott-padd-off {
    padding-bottom: 0px;
}
.full-width-section.top-padd-off {
    padding-top: 0px;
}

.full-width-content {
    margin: 0 auto;
    max-width: 800px;
    width: 90%;
    text-align: center;
}
.full-width-content.fws-alignleft {
    text-align: left;
}
.full-width-content h2 {
    color: inherit;
    font-size: 40px;
    font-weight: 400;
    margin: 0 0 20px;
}
.full-width-section.contained-layout .btn-new {
    width: 100%;
    /* margin-top: 10px; */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.full-width-section.contained-layout {
    text-align:center;
}

.full-width-section.contained-layout .full-width-content {
    background-color: #5b7698;
    color:white;
    border-radius: 30px;
    overflow:hidden;
    padding: 30px 0 50px;
    width: 90%;
    position: relative;
}
.full-width-section.contained-layout h2{
    color:white;
    margin-top: 0;
    padding: 0 5%;
}
.full-width-section.contained-layout .full-width-text {
    padding: 0 5% 10px;
}

.full-width-section.contained-layout a:not(.btn-new){
    color:white;
    text-decoration:underline
}

.quicklinks-acf {
    padding: 50px 0;
    background: #617c9f;
    background: -moz-linear-gradient(top,#617c9f 0%,#2a4560 100%);
    background: -webkit-linear-gradient(top, #617c9f 0%, #2a4560 100%);
    background: linear-gradient(to bottom, #617c9f 0%, #2a4560 100%);
}

.quicklinks-container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    
}

a.quicklink-item {
    width: 23%;
    margin: 1%;
    padding: 18px;
    box-sizing: border-box;
    background-color: #eee;
    border-radius: 30px;
    color: initial;
    text-align: center;
    max-width: 300px;
    filter: drop-shadow(#466180 5px 10px 4px);
}
a.quicklink-item:hover{
    transform:scale(.95);
    filter: drop-shadow(#000000 5px 10px 4px);
}

a.quicklink-item img, 
a.quicklink-item .quicklink-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.5s;
}
a.quicklink-item .quicklink-image {
    position: relative
}
a.quicklink-item img{
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}
a.quicklink-item:hover img{
    width: 125%;
    margin: 0 auto;
    left: -12.5%;
    right: -12.5%;
}
a.quicklink-item h2 {
    max-width: 80%;
    color: #2f3b62;
    padding: 15px 20px;
    box-sizing: border-box;
    margin: 0 auto;
    border-bottom: 2px solid #2f3b62;
    font-size: 20px;
    line-height: 1.5;
}
a.quicklink-item p {
    max-width: 80%;
    margin: 20px auto;
    color: #394960;
    line-height: 1.5;
    font-size: 15px;
}

@media(max-width: 1100px) {
    a.quicklink-item {
        width: 48%;
        margin: 1%;
    }
    .quicklinks-container{
        max-width: 700px;
    }
}

@media(max-width: 500px) {
    a.quicklink-item {
        width: 95%;
        margin: 2.5%;
    }
}



.video-toggle{
    cursor: pointer;
}

.video-dialog {
    position: fixed;
    padding: 20px;
    height: 100vh;
    width: 100%;
    display: flex;
    left: 0;
    top: 0;
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .3s cubic-bezier(.5,0,.5,1);
}

.video-dialog--form {
    background: rgba(0,0,0,.9);
    overflow-x: hidden;
    overflow-y: auto;
    align-items: flex-start
}

@media (min-width: 992px) {
    .video-dialog--form {
        padding:40px 20px
    }
}

.video-dialog__overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0;
    cursor: pointer
}

.video-dialog__inner {
    position: relative;
    width: auto;
    max-width: 100%;
    z-index: 5;
    margin-bottom: 100px
}

.video-dialog__inner--form {
    width: 1000px
}

.video-dialog__body {
    text-transform: none;
    background: red;
    padding: 30px
}

.video-dialog__inner a {
    color: red;
    font-weight: 700
}

.video-dialog__inner a:hover {
    color: #000
}

.video-dialog iframe,.video-dialog video {
    position: relative;
    z-index: 10;
    box-shadow: 0 0 19px rgba(0,0,0,.16);
    width: 100%;
    height: 100%;
    max-height: 85vh;
    display: block
}

.video-dialog video {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center
}

.video-dialog__close {
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -15px;
    top: -15px;
    width: 40px;
    height: 40px;
    overflow: hidden;
    border-radius: 100%;
    border: 3px solid #000;
    padding: 0;
    transition: all .3s cubic-bezier(.5,0,.5,1);
    z-index: 150
}

.video-dialog__close .icon svg {
    display: block;
    fill: #000;
    transition: all .3s cubic-bezier(.5,0,.5,1)
}

.video-dialog__close:focus,.video-dialog__close:hover {
    background-color: #000
}

.video-dialog__close:focus .icon svg,.video-dialog__close:hover .icon svg {
    fill: #fff
}

.video-dialog--active {
    opacity: 1;
    visibility: visible
}

.video-dialog--active .video-dialog__overlay {
    opacity: .9
}

.icon--close {
    width: 15px;
    height: 15px;
    vertical-align: baseline
}

.video-dialog__close .icon svg {
    display: block;
    fill: #000;
    transition: all .3s cubic-bezier(.5,0,.5,1);
    width: 100%;
    height: 100%
}



.video-holder svg {
    position: absolute;
    left: 20px;
    /* right: 0; */
    bottom: 20px;
    margin: 0 auto;
    fill: #fff;
    z-index: 3;
    transition: .5s;
    height: 100px;
    width: 100px;
    background-color: #ffffff6b;
    border-radius: 50%;
    padding: 10px;
    box-sizing: border-box;
}
.video-holder img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    z-index: 1
}
.video-holder:hover svg {
    transform: scale(.85);
    fill: #2f3b62;
}


.video-holder-title {
    z-index: 999;
    position: absolute;
    bottom: 3%;
    width: 80%;
    text-align: center;
    left: 0;
    right: 0;
    margin: 0 auto;
    color: #fff;
    font-family: 'Cinzel',serif;
    font-weight: 600;
    font-size: 24px
}

@media(max-width: 600px) {
    .video-holder-title {
        font-size:20px
    }
}

.video-dialog__addtional-button {
    margin-top: 10px;
}
.video-dialog__addtional-button a {
    background-color: #ffffff;
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color:#000000;
    transition: .5s;
    text-transform: uppercase;
}
.video-dialog__addtional-button a:hover {
    background-color: #000000;
    color:#ffffff;
}

.fees tr td.linkcell:last-of-type {
    text-align: center;
}

/* Full Width Background */
.page-id-1251 .full-width-section:last-of-type {
    background: #f7f7f7;
}