/**
  Theme Name: Abbey Dental Care
  Theme URI: http://www.abbeydentalcare.co.uk/
  Version: 1.0
  Author: Dental Design Products Limited
  Author URI: http://www.dental-design.co.uk

  Description: A theme created for Abbey Dental Care by Dental Design Products Limited.
*/

* {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-size: 13px;
  color:#121212;
  background: url(images/bg.png) #000;
  overflow-x: hidden;
}

body,
.phone-no {
  font-family: 'telex', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.nav a,
.big_text,
.phone,
a.all-btn,
.cd-large-text,
ul.treatments a,
#referral-form .submit {
  font-weight: 300;
  text-transform: uppercase;
  font-family: 'Raleway', Helvetica, Arial, sans-serif;
}

h1 {
  font-size:36px;
  line-height:40px;
  padding:0 0 10px;
  margin:0 0 20px;
  color:#121212;
  border-bottom: 1px solid #eee;
}

h2 {
  font-size:26px;
  letter-spacing:-0.03em;
  color:#7ac1d0;
  margin-bottom:15px;
}

h3 {
  font-size:24px;
  letter-spacing:-0.03em;
  margin-bottom:5px;
  color:#121212;
}

h4 {
  font-size:20px;
  letter-spacing:-0.01em;
  margin-bottom:5px;
  color:#121212;
}

h5 {
  font-size:18px;
  margin:10px 0 10px;
  color:#7ac1d0;
}

h6 {
  font-size: 16px;
  margin:10px 0 20px;
  color:#121212;
  font-weight: 400;
}

a {
  color: #7ac1d0;
  text-decoration: none;
}

a:hover {
  color: #448d9c;
}

p {
  line-height:24px;
  margin:15px 10px;
}

ul, ol {
  line-height:24px;
  margin:15px 50px;
}

hr, hr.trans {
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(238, 238, 238, 1);
  margin: 30px 0;
  clear: both;
}

hr.trans {
  border-top: 0px solid rgba(0, 0, 0, 0);
  border-bottom: 0px solid rgba(238, 238, 238, 1);
}

.aligncenter,
div.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


.alignright,
.alignleft,
.video-right {
  padding:8px;
  background: #fff;
  border:1px #eee solid;
}

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

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

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

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

strong {
  font-weight: 700;
}

#gallery-1 img:hover {
  border: 2px solid #7ac1d0 !important;
}

/* font-awesome */

.fa-1 {
  font-size: 1.3em !important;
}

.fa-2 {
  font-size: 2em !important;
}

.fa-3 {
  font-size: 2.4em !important;
}

.fa-4 {
  font-size: 3em !important;
}

.fa-5 {
  font-size: 4.4em !important;
}

.fa-6 {
  font-size: 4.6em !important;
}

.fa-ul {
  padding-left: 20px !important;
}

.fa-li {
  top: .43185714em !important;
}

/* Header wrapper */

.header-wrapper {
  width: 100%;
  height: 200px;
  padding: 50px 0 0;
}

.header {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
  height: 200px;
  position: relative;
  text-align: center;
}

.logo {
  z-index: 10;
  width: 480px;
  height: 200px;
  margin: 3px auto;
}

.logo-index {
  z-index: 10;
  width: 480px;
  height: 200px;
  margin: 0 auto;
  padding-top: 50px;
}

.phone {
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
  position: absolute;
  bottom: 18px;
  right: 0;
}

.book-online a{
    color: #fff;
    background: #87c7d4;
    float: left;
    max-width: 100px;
    margin-top: 80px;
    padding: 3px 15px;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 3px;

}

.book-online a:hover {
  color: #87c7d4;
  background-color: #fff;
}

.phone-no {
  font-size: 28px;
}

.phone .fa-phone {
  font-size: 30px;
  margin-bottom: 5px;
  color: rgba(122, 193, 208, 0.95);
}

.social-icons {
  float: left;
  position: absolute;
  bottom: 23px;
  left: 0;
}

.social-icons {
  margin: 0px 1px 0;
  padding: 12px 0px;
  width: 42px;
  text-align: center;
}

.social-icons,
.social-icons a,
.social-icons a:hover {
  color: #fff;
}

.fb-icon, .twitter-icon, .google-icon, .insta-icon {
  background: #121212;
}

.fb-icon:hover {
  background: #36609f;
}

.twitter-icon {
  margin-left: 48px;
}

.twitter-icon:hover {
  background: #2caae1;
}

.google-icon {
  margin-left: 94px;
}

.google-icon:hover {
  background: #da4a37;
}

.insta-icon {
    margin-left: 140px;
}

.insta-icon:hover {
  background:#5D6EB6;
}
/* navigation */

.nav-wrapper {
  width: 100%;
  height: 50px;
  background: #0d0d0d;
  border-bottom: 1px solid #333;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.nav {
  width: 1200px;
  height: 50px;
  padding: 0;
  margin: 0 auto;
}

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

.nav ul li {
  position: relative;
  float: left;
  line-height: 16px;
  width: 143px;
}

.nav a {
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  padding: 18px 0px 16px;

  background: url(images/nav-arrow.png) center 50px no-repeat;
}

.nav ul li.nav-icon {
  width: 50px;
}

.nav a:hover {
  background: url(images/nav-arrow-hover.png) center bottom no-repeat #333;
  color: #fff;
}

.nav ul ul {
  background:#74371a;
  background:rgba(116,55,26,0);
  list-style:none;
  position:absolute;
  left:-9999px;
}
.nav ul ul li {
  padding-top:0px;
  float:none;
  border-right: 0px solid #988d7b;
  border-bottom: 1px solid #727272;
  width: 220px;
}

.nav ul ul li.wide200 {
  width: 200px;
}

.nav ul ul a{
  white-space:nowrap;
}
.nav ul li:hover ul {
  left:0;
}
.nav ul li:hover ul li a {
  background: #666;
  -webkit-border-radius: 0;
  border-radius: 0;
  color: #f6f6f6;
  min-width: 170px;
}
.nav ul li:hover ul a {
  text-decoration:none;
}
.nav ul li:hover ul li a:hover {
  background:#7ac1d0;
}

/* slider */

.slider-wrapper {
  width: 100%;
  height: auto;
  overflow: auto;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

a.all-btn {
  padding: 13px 20px 12px;
  color: #7ac1d0;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 9998;
  margin-top: 20px;

  border: 1px solid #dddddd;
  background: #fff;
}

a.all-btn:hover {
  background: #7ac1d0;
  border: 1px solid #7ac1d0;
  color: #fff;
  -webkit-border-radius: 40px;
  border-radius: 40px;
}

/* content */

.content-wrapper {
  width: 100%;
  height: auto;
  overflow: auto;
  padding: 50px 0;
  background: rgba(255, 255, 255, 0.95);
}

.content {
  width: 1200px;
  margin: 0 auto;
}

.content-home {
  width: 1100px;
  text-align: center;
  padding: 0 50px;
}

.black-home-wrapper {
  background: none;
}

.black-content-home {
  width: 1100px;
  text-align: center;
  padding: 0 50px;
}

.black-content-home, .black-content-home h1 {
  color: #ccc;
}

.black-content-home h1 {
  border-bottom: 1px solid #333;
}

.black-content-home h1 strong {
  color: #fff;
}

/* quicklinks */

.quicklinks {
  width: 100%;
  padding: 30px 0 0;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
}

/* page content */

.page-content, .page-full, .page-contact {
  width: 100%;
  min-height: 540px;
  position: relative;
  z-index: 16;
}

.page-content {
  float: left;
  position: relative;
  background: url(images/bg-page.png) repeat-y center #f4f4f4;
  z-index: 16;
}

.page-full {
  background: #f4f4f4;
  padding: 30px 0;
}

.content {
  width: 1200px;
  margin: 0 auto;
  position: relative;
}

.left-text {
  width: 830px;
  padding-right: 20px;
  float: left;
  }

.left-text, .sidebar {
  min-height: 450px;
  padding: 30px 0;
  z-index: 12;
  position: relative;
}
.sidebar-contact {
  min-height: 470px;
  padding: 30px 0;
  z-index: 12;
  position: relative;
}

.page-header {
  background: url(images/page-header.jpg) center no-repeat #e4e1d9;
  width: 100%;
  height: 220px;
}

/* Side Form */

#sideform {
    position: fixed;
    top: 200px;
    width: 300px;
    background: #7AC1D0;
    color: #fff;
    left: -300px;
    border-radius: 0 0 15px 0;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
	display: none !important;
}

#sideform-button {
    background: #7AC1D0;
    position: absolute;
    padding: 10px 20px;
    transform: rotate(90deg);
    right: -130px;
    top: 176px;
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    font-size: 23px;
	display: none !important;
}

#sideform.open {
    left: 0;
}

.contact-form {
    padding: 25px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
    display: block;
    padding: 7px 10px;
    font-family: inherit;
    margin-bottom: 5px;
    border: 1px solid #841617;
    color: #333;
}

.contact-form p {
    margin: 10px 0;
}

.contact-form input.submit {
    text-transform: uppercase;
    background: #689aa5;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px;
}

.contact-form textarea {
    height: 75px;
    resize: none;
}

#sideform-button i {
    margin-right: 10px;
}

.contact-form h2 {
    text-transform: uppercase;
    font-size: 22px;
    padding-bottom: 5px;
    border-bottom: 1px solid;
    color: #fff;
}

.alignright {
   float: right;
   padding: 10px;
   background: #eee;
   border: 1px solid #ccc;
   margin-left: 20px;
   clear: right;
}

/* Sidebar */

.sidebar, .sidebar-contact {
  width: 300px;
  float: right;
}

.sidebar h2, .sidebar-contact h2 {
  margin: 20px 0 10px;
  font-size: 26px;
  color: #121212;
  font-weight: 300;
  letter-spacing: 0.03em;
}

.sidebar p {
  margin: 10px 0;
}

.sidebar-contact p {
  margin: 5px 0;
}

.sidebar-contact h2, .sidebar-contact p {
  color: #fff;
}

.sidebar-contact {
  background: rgba(0,0,0,0.7);
  position: absolute;
  top: 3%;
  right: 5%;
  padding: 0 30px 140px;
}

/* gdpr check box */

.gdpr {
    /* border: 1px solid #d8d8d8; */
    border-left: 0;
    border-right: 0;
    padding-bottom: 20px;
    /* margin: 15px; */
}

.gdpr p {
    font-size: 12px;
    /* margin: 0px 0; */
    line-height: 18px;
}

.gdpr input[type="checkbox"] {
    width: 14px !important;
    margin-left: 10px !important;
    height:auto !important;
    float: none !important;
}

.gdpr-small {
    font-size: 11px;
    text-align: center;
    padding-top: 20px;
    clear: both;
    float: left;
    line-height: 16px;
}

/* END gdpr check box */

/* contact form */

html {
  background-size: cover;
  height:100%;
}

#feedback-page {
  text-align:center;
}

#form-main {
  width:100%;
  float:left;
  padding-top:0px;
}

#form-div {
  width: 300px;
  float: left;
  position: absolute;
}

.feedback-input {
  color:#3c3c3c;
  font-family: "Open Sans", sans-serif;
  font-weight:300;
  font-style: italic;
  font-size: 15px;
  border-radius: 0;
  line-height: 22px;
  background-color: #fff;
  padding: 6px 13px 6px 54px;
  margin-bottom: 5px;
  width:100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
    border: 3px solid rgba(0,0,0,0);
}

.feedback-input:focus {
  background: #fff;
  box-shadow: 0;
  border: 3px solid #3498db;
  color: #3498db;
  outline: none;
  padding: 6px 13px 6px 54px;
}

.focused {
  color:#30aed6;
  border:#30aed6 solid 3px;
}

/* Icons ---------------------------------- */
#name {
  background-image: url(images/form/name.svg);
  background-size: 34px 18px;
  background-position: 11px 8px;
  background-repeat: no-repeat;
}

#name:focus {
  background-image: url(images/form/name.svg);
  background-size: 34px 18px;
  background-position: 8px 5px;
    background-position: 11px 8px;
  background-repeat: no-repeat;
}

#email {
  background-image: url(images/form/email.svg);
  background-size: 34px 18px;
  background-position: 11px 8px;
  background-repeat: no-repeat;
}

#tel {
  background-image: url(images/form/tel.svg);
  background-size: 27px 18px;
  background-position: 11px 8px;
  background-repeat: no-repeat;
}

#email:focus {
  background-image: url(images/form/email.svg);
  background-size: 34px 18px;
    background-position: 11px 8px;
  background-repeat: no-repeat;
}

#comment {
  background-image: url(images/form/comment.svg);
  background-size: 34px 18px;
  background-position: 11px 8px;
  background-repeat: no-repeat;
}

textarea {
    width: 100%;
    height: 120px;
    line-height: 150%;
    resize:vertical;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
  background-color:white;
}

#button-green{
  float:left;
  width: 100%;
  border: #fbfbfb solid 4px;
  cursor:pointer;
  background: rgba(122, 193, 208, 1);
  color:white;
  font-size:14px;
  padding:14px 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
    margin-top:-4px;
    font-weight:300;
    letter-spacing: 0.02em;
    font-weight: 300;
}

#button-green:hover{
  background: rgba(75, 149, 165, .9);
  color: #fff;
}

.submit:hover {
  color: #fff;
}

.ease {
  width: 0px;
  height: 48px;
  background-color: #fbfbfb;
  -webkit-transition: .3s ease;
  -moz-transition: .3s ease;
  -o-transition: .3s ease;
  -ms-transition: .3s ease;
  transition: .3s ease;
}

.submit:hover .ease{
  width:100%;
  background: rgba(75, 149, 165, .9);
}

#gallery {
  margin: 0;
  padding: 0;
  width: 100%;
  }
  ul#gallery li {
   float: left;
   display: inline;
   margin: 20px 1% 0 1%;
   text-align: center;
   background: #FFFFFF;
   padding: 10px;
   border: 1px solid #E9E9E9;
   width: 269px;
  }
  ul#gallery li img, ul#gallery li.right img {
   margin-bottom: 10px;
  }
  .clear {
   clear: both;
   width: 100%;
   margin: 0 auto;
   height: 30px;
   margin-bottom: 30px;
   border-bottom: 1px solid #D5D8DA;

}



.mobile-book a {
    float: none;
}

/* Testimonials */

.clearing {
    clear: both !important;
    border: solid 1px #ecebeb;
    margin: 30px 0;
}

.testimonial {
  width: 87%;
  margin:1% 1.5%;
  padding: 6% 5%;
  background:#f6f6f6;
  position: relative !important;
  display: inline-block;
}

.testimonial:before {
  content: '\f10d';
  font:normal normal normal 30px/1 FontAwesome;
  position: absolute;
  top:10px;
  left: 15px;
  color: #7ac1d0;
}

.testimonial cite {
  font-weight: 700;
}

.testimonial h3 {
  color: #333;
}

.post {
    background: white;
    padding: 30px;
}

.blog-holder {
    border: solid 1px #e1dddd;
    margin: 30px 0;
    padding: 30px;
    min-height: 500px;
}

#carousel {
position: relative;
width:60%;
margin:0 auto;
}

#slides {
overflow: hidden;
position: relative;
width: 100%;
height: 250px;
}

#slides ul {
list-style: none;
width:100%;
height:250px;
margin: 0;
padding: 0;
position: relative;
}

 #slides li {
width:100%;
height:250px;
float:left;
text-align: center;
position: relative;
font-family:lato, sans-serif;
}
/* Styling for prev and next buttons */
.btn-bar{
    max-width: 346px;
    margin: 0 auto;
    display: block;
    position: relative;
    top: 55px;
    width: 100%;
}

 #buttons {
padding:0 0 5px 0;
float:right;
}

#buttons a {text-align:center;display:block;font-size: 40px;float:left;outline:0;margin:0 60px;color: #7ac1d0;text-decoration:none;display:block;padding:9px;width:35px;}

a#prev:hover, a#next:hover {
color:#FFF;
text-shadow:.5px 0px #b14943;
}

.quote-phrase, .quote-author {
font-family:sans-serif;
font-weight:300;
display: table-cell;
vertical-align: middle;
padding: 5px 20px;
font-family:'Lato', Calibri, Arial, sans-serif;
}

.quote-phrase {
height: 200px;
font-size:24px;
color:#FFF;
font-style:italic;
text-shadow:.5px 0px #7ac1d0;
}

.quote-marks {
font-size:30px;
padding:0 3px 3px;
position:inherit;
}

.quote-author {font-style:normal;font-size:20px;color: #7ac1d0;font-weight:400;height: 30px;}

.quoteContainer, .authorContainer {
display: table;
width: 100%;
}

.christmasopening {
    text-align: center;
    margin: 10px 0 40px 0;
}

.christmasopening img {
    max-width: 500px;
    width: 100%;
}

div#ddl-cookies-header {
    background: #689aa5 !important;
}

a.ddl-cookies-review {
    color: #689aa5 !important;
}

a.ddl-cookies-btn.ddl-cookies-happy {
    background: #699ba6 !important;
}
a.popup-resource {
    padding: 20px;
    display: block;
    text-align: center;
    background-color: #404040;
    color: white;
    margin-bottom: 5px;
}

.covid-sidebar {
    max-width: 350px;
    width: 100%;
    float: right;
    border: solid 3px #2c2c2c;
    padding: 20px;
    margin-left: 50px;
    margin-bottom: 50px;
    box-sizing: border-box;
}
.website-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    /* padding: 20px 0; */
    background-color: #eee;
    z-index: 99;
}
@media only screen and (max-width: 580px) {
  #form-div{
    left: 3%;
    margin-right: 3%;
    width: 88%;
    margin-left: 0;
    padding-left: 3%;
    padding-right: 3%;
  }
}



li.plan-column1.hide-on-mobile {
    display: none;
}

ul.plan-row.row-headers {
    display: flex;
}

ul.plan-row.row-headers li.plan-column3 {
    background: #5a96a3;
}

ul.plan-row.row-headers .plan-column2, ul.plan-row.row-headers .plan-column3, ul.plan-row.row-headers .plan-column4 {
    width: 33.333%;
    box-sizing: border-box;
    margin: 0 0 20px;
    background: #5ca5b5;
	text-align:left;
	}


/* button morph */

.btn-morph-area {
  position: fixed;
  bottom: 20%;
  right: 0;
  z-index: 9999;
  margin-top: -100px;
}

.btn-morph-area section {
  float: left;
}

/* Treatments */

ul.treatments {
  list-style: none;
  margin: 20px 0 0 10px;
  padding: 0;
}

ul.treatments li {
  display: inline;
}

ul.treatments a {
  float: left;
  width: 31%;
  margin: 0 2% 2% 0;
  color: #fff;
  text-decoration:none;
  text-align: center;
  padding: 14px 0 12px;
  font-size: 15px;
  font-weight: 300;

  background: rgba(122, 193, 208, 1);
}

ul.treatments a:hover {
  background: rgba(75, 149, 165, 1);
  color: #fff;
}

/* Treatments */

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

ul.team li {
  margin: 1%;
  width: 19.8%;
  padding: 1%;
  min-height: 400px;
  background: #fff;
  border: 1px solid #eee;
  float: left;
  text-align: center;
}

ul.team li img {
  width: 100%;
  height: auto;
}

ul.team li h5 {
  font-size: 18px;
  margin: 10px 0 -10px;
}

ul.team li small {
  font-size: 1em;
  text-transform: uppercase;
}

/* fees and practice plan */

ul.fees-title, ul.plan-title {
  clear: both;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  background: #7ac1d0;
  font-size: 20px;
  overflow:hidden;
  color: #fff;
  border-bottom: 0px solid #eee;
}

ul.fees-row, ul.plan-row {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #eee;
  overflow: auto;

  font-size: 14px;
}

ul.fees-row:hover, ul.plan-row:hover {
  background:#ecf6f8;
  border-bottom: 1px solid #d1e4e8;
  padding: 0 2px 0 2px;
  color:#121212;
}

ul.fees-row li,
ul.fees-title li,
ul.plan-row li,
ul.plan-title li {
  padding: 8px 2%;
  display: inline;
}

ul.fees-row li.fees-item,
ul.fees-title li.fees-item {
  float: left;
  width: 56%;
}

ul.fees-row li.fees-from,
ul.fees-title li.fees-from {
  float: left;
  width: 12%;
  font-size:11px;
}

ul.fees-row li.fees-price,
ul.fees-title li.fees-price {
  float: right;
  width: 20%;
}

/* practice plan */

ul.plan-title {
  margin: 0;
  font-size: 16px;
}

ul.plan-row:hover {
  padding: 0;
}

ul.plan-row li.plan-column1,
ul.plan-title li.plan-column1 {
  float: left;
  width: 56%;
}

ul.plan-row li.plan-column1,
ul.plan-title li.plan-column1 {
  float: left;
  width: 51%;
}

ul.plan-row li.plan-column2,
ul.plan-title li.plan-column2,
ul.plan-row li.plan-column3,
ul.plan-title li.plan-column3,
ul.plan-row li.plan-column4,
ul.plan-title li.plan-column4 {
  float: left;
  width: 11%;
  text-align: center;
}

.bg-blue {
  background: #7ac1d0;
  color: #fff;
}

/* contact page */

.embed-container {
  width: 100%;
  position: relative;
}

.maps iframe{
  pointer-events: none;
}

/* opening hours */

ul.ophours {
  list-style: none;
  margin: 0;
  height: auto;
  overflow: auto;
  padding: 8px 2%;
  color: #fff;
}

ul.ophours li {
  display: inline;
}

ul.ophours li.opday {
  float: left;
  width: 60%;
}

ul.ophours li.ophours {
  float: right;
  width: 40%;
  text-align: left;
}

.ophours-alt {
  background: #4f92a0;
  background: rgba(79, 146, 160, 0.6);
}

/* Return to top */

#return-to-top {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgb(102, 102, 102);
  background: rgba(102, 102, 102, 0.7);
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  z-index: 9999;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  left: 16px;
  top: 10px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}

#return-to-top:hover i {
  color: #fff;
  top: 5px;
}

/* Testimonial Scroller */

#testimonial-wrapper {
  padding: 30px;
  background: rgba(238, 238, 238, 0.3);
}

.scroller {
  overflow: hidden;
  height: 80px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

#clientfeedback {
  position: absolute;
  left: 0;
  top: 90px;
  height: auto;
  width: 100%;
  -webkit-animation: slideshow 80s linear infinite;
  -moz-animation:    slideshow 80s linear infinite;
  -webkit-transform: translate3d(0, 0, 0);
  color: #fff;
  font-size: 15px;
}

table.smf-table td {
  display: block;
  text-align: center;
  width: 100%;
}

.smf-reviewer {
  text-align: center !important;
  padding-top: 10px;
  margin: 15px auto;
  border-top: 1px solid #757575;
  width: 50%;
}

td.smf-table-col-review b {
    margin-top: 5px;
    display: block;
    font-size: 18px;
}

p.more {
    text-align: center;
    font-size: 16px;
    padding-top: 10px;
    border-top: 1px solid #757575;
    width: 50%;
    margin: 15px auto;
}

@-webkit-keyframes slideshow {
  0%    { -webkit-transform: translateY(0); }
  100%  { -webkit-transform: translateY(-100%); }
}

@-moz-keyframes slideshow {
  0%    { -webkit-transform: translateY(0); }
  100%  { -webkit-transform: translateY(-200%); }
}


/* footer styles */

.footer-logo {
  left: -60px;
  width: 440px;
  height: 330px;
  position: absolute;
  z-index: 9;
}

.contact-details h2 {
  font-size: 26px;
  color: #999;
  padding: 0 0 10px;
  margin: 10px 0 10px;
  border-bottom: 1px solid #666;
  text-align: center;
}

.contact-details p {
  margin: 20px 0;
  line-height: 24px;
}


.contact-details {
  float: left;
  width: 379px;
  margin: 10px;
  text-align: center;
  min-height: 340px;
  position: relative;
  z-index: 10;
}

.contact-details .fa, .cd-large-text {
  color: #fff;
}

.cd-large-text {
  font-size: 32px;
  line-height: 40px;
}

/* opening hours */

.opening-hours-row, .opening-hours-row-first, .opening-hours-row-last {
  width:340px;
  height:auto;
  overflow:auto;
  padding:9px 0 7px;
  margin-left: 20px;
}

.opening-hours-row, .opening-hours-row-first {
  border-bottom:1px solid #4c4c4c;
}

.opening-hours-row-first {
  margin-top:14px;
}

.opening-hours-row:hover, .opening-hours-row-first:hover, .opening-hours-row-last:hover {
  background: rgba(0, 0, 0, 0.3);
}

.opening-hours-day {
  width:110px;
  padding-left:5px;
  float:left;
  text-align:left;
  display:inline;
}

.opening-hours-time {
  width:220px;
  float:right;
  text-align:right;
  padding-right:5px;
  display:inline;
}

a.btn-homecare {
    background: #74a5b0;
    color: white;
    font-weight: 600;
    padding: 20px 30px;
    border-radius: 10px;
    letter-spacing: 0.3px;
}

a.btn-homecare i {
    margin: 0 0 0 10px;
}

.review-logos {
  clear: both;
  text-align: center;
  background: #585858;
  padding: 10px;
}

.review-logos img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 20px;
}

.footer-wrapper {
  width:100%;
  padding: 45px 0 15px;
  margin: 1px 0 0;
  color: #ccc;
  margin-bottom: 50px;
}

.container {
  width:1200px;
  margin: 0 auto;
}

.copyright-wrapper {
  width:100%;
  padding: 10px 0 20px;
  background: rgba(0, 0, 0, 0.3);
}

.copyright {
  width:1000px;
  margin:0 auto;
  text-align: center;
  color:#ccc;
  font-size: 14px;
}

a.btn-pdf {
  padding: 5px 15px 30px;
  line-height: 1.5;
  border-radius: 3px;
  color: #fff;
  background: #333;
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  white-space: nowrap;

  font-size: 12px;
  text-transform: uppercase;
  float: left;
  width: 27%;
  margin: 1%;
}

a.btn-pdf:hover {
  background: #990000;
}

.btn-pdf .fa {
  margin: 10% 10% 5%;
}

/* Referral Form */

#referral-form {
  width: 680px;
  height: 299px;
  padding:0;
  margin:0;
  display:inline;
}


#referral-form h2 {
  margin:50px 0 10px;
}

#referral-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#referral-form li {
  height: auto;
  overflow: auto;
  padding: 3px 0 2px 0;
  margin: 0 0 5px 0;
  clear:both;
}

#referral-form select {
  float: left;
  margin: 20px 0 0 25px;
  border: 1px solid #EBEBEB;
  padding: 5px;
}

#referral-form li.standard {
}

#referral-form li.required {
}

#referral-form li.last {
  border:none;
  background:none;
}

#referral-form input {
  width: 60%;
  height: 15px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  float:right;
  border:1px solid #E6E6E6;
  font-style: italic;

}

.bigger-input-field {
  height:24px !important;
}

#referral-form textarea {
  width: 60%;
  height: 70px;
  padding: 10px 0 10px 10px;
  margin:10px 0 0;
  background: none;
  float:right;
  border:1px solid #E6E6E6;
  background:#fff;
  font-style: italic;
}

#referral-form label {
  width:225px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}

#referral-form label.bigger {
  width: 286px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}


#referral-form label.dental-wish {
  width: 394px;
  font-size:13px;
  float:left;
  padding:15px 0 0 10px;
  height:100%;
}


#referral-form .submit {
  max-width: 200px;
  margin:10px 0 0;
  color: #fff;
  text-decoration:none;
  text-align: center;
  padding: 14px 20px 12px;
  font-size: 15px;
  font-weight: 300;
  font-style: normal;
  height: 50px;
  cursor: pointer;

  background: rgba(122, 193, 208, 1);
}

#referral-form .submit:hover {
  background: rgba(75, 149, 165, 1);
}

/* clear any elements that contain floated divs */

.header-wrapper:after,
.page-content:after,
.quicklinks:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

/* transitions */

a,
.fb-icon,
.callus,
.social-icons,
#gallery-1 img,
ul.fees-row,
ul.plan-row,
#referral-form .submit {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.flexnav,
.mob-icons-wrapper,
.sidebar-mob {
  display:none;
}

/* VACANCIES */
.footer-vacancies > a {
  background: #7AC1D0;
  color: #fff;
  max-width: 150px;
  width: 100%;
  display: block;
  margin: 10px auto 0;
  text-align: center;
  padding: 10px;
  font-size: 17px;
}

.footer-vacancies > a:hover {
  background: #7ac1d0;
  -webkit-border-radius: 40px;
  border-radius: 40px;
}

.vacancies-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 200ms;
  transition: opacity 200ms;
  z-index:9999;
}
.vacancies-popup:target {
  pointer-events: all;
  opacity: 1;
}
.vacancies-popup #vacancies-target {
  position: absolute;
  display: block;
  padding: 48px;
  line-height: 1.8;
  width: 70%;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
  background: white;
  color: #34495E;
  max-width: 500px;
  width: 99%;
}
.vacancies-popup #vacancies-target h2 {
  margin-top: 0;
  text-align: center;
}
.vacancies-popup #vacancies-target code {
  font-weight: bold;
}
.vacancies-popup a.close {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #34495E;
  opacity: 0.5;
  -webkit-transition: opacity 200ms;
  transition: opacity 200ms;
}
.vacancies-popup a.close:hover {
  opacity: 0.4;
}

.close-inner {
  position: absolute;
  top: 10px;
  left: 10px;
  line-height: 16px;
  font-weight: 600;
}
.close-inner:before {
  content:'x';
  font-size: 27px;
  display: table;
  padding: 0px;
  vertical-align:top;
  text-align: center;
}

.logo img {
    max-width: 315px;
    width: 100%;
}

@media only screen and (max-width: 1280px) {

.JB_Slide_Content {
    width: 900px !important;
    margin-left: 10% !important;
}

}

@media only screen and (max-width: 1230px) {

.btn-morph-area {
  display: none;
}

.header,
.container,
.quicklinks,
.content,
.nav,
.opening-hours-row, .opening-hours-row-first, .opening-hours-row-last,
.copyright {
  width: 96%;
  padding: 0 2%;
}

.nav a {
  width: auto;
  padding: 18px 10% 16px;
  font-size: 12px;
}

.nav ul li {
  width: 12%;
}

.nav ul li.nav-icon {
  width: 3% !important;
}

.social-icons {
  left: 2%;
}

.phone {
  right: 2%;
}

.container img {
  width: 100%;
}

.quicklinks {
  padding: 2%;
}

.contact-details {
  width: 31%;
  margin: 1%;
}

.opening-hours-row, .opening-hours-row-first, .opening-hours-row-last {
  padding: 3% 2%;
  margin: 0;
}

.opening-hours-time {
  width: 58%;
  padding-right: 2%;
}

.opening-hours-day {
  width: 38%;
  padding-left: 2%;
}

.page-content {
  background: #fff;
}

.left-text {
  width: 60%;
  padding-right: 4%;
}

.sidebar {
  width: 30%;
  padding: 3%;
  background: #faf9f7;
}

}

@media only screen and (max-width: 1110px) {

.nav a {
  font-size: 9px;
  font-weight: bold;
}

ul.team li {
  width: 29%;
}

ul.treatments a {
  width: 48%;
}

#gallery-1 .gallery-item img {
  width: 90% !important;
  height: auto;
}

}

@media only screen and (max-width: 1020px) {

.nav a {
  padding: 18px 5% 16px;
}

}

@media only screen and (max-width: 960px) {


.nav-wrapper,
.first,
.right,
.footer-wrapper .container,
.slider-wrapper,
.sidebar-contact {
  display: none;
}

.flexnav,
.sidebar-mob {
  display: block;
}

.header-wrapper {
  padding: 0;
}

.contact-details {
  width: 48%;
  margin: 1%;
}

.content,
.logo {
  width: 96%;
  padding: 0 2%;
}

.logo {
  height: auto;
  margin: 0;
}

.left-text {
  width: 96%;
  padding: 2%;
  padding-right: 0;
  min-height: 0;
}

.sidebar {
  width: 94%;
  padding: 3%;
  padding-bottom: 174px;
  background: #faf9f7;
  text-align: center;
}


#form-div{
  left: 3%;
  margin-right: 3%;
  width: 88%;
  margin-left: 0;
  padding-left: 3%;
  padding-right: 3%;
}

.quicklinks {
  background: rgba(255, 255, 255, 0);
  margin-top: 40px;
}

ul.team li {
  width: 45%;
}

.phone {
  bottom: 37px;
}

.phone-no {
  font-size: 26px;
}
}

@media only screen and (max-width: 736px) {
.covid-sidebar{
  width: 100%;
  max-width: 100%;
}
    .mobile-book {
    display: block !important;
    text-align: center;
}

ul.plan-row li.plan-column2, ul.plan-title li.plan-column2, ul.plan-row li.plan-column3, ul.plan-title li.plan-column3, ul.plan-row li.plan-column4, ul.plan-title li.plan-column4 {
    font-size: 12px;
}

  .book-online {
    display: none;
}

.social-icons,
.phone {
  display: none;
}

.mob-icons-wrapper {
  display: block;
  width: 100%;
  height: auto;
}

.mob-icons {
  float: left;
  margin: 0.25%;
  text-align: center;
}

.mob-icons,
.mob-icons a,
.mob-icons:hover,
.mob-icons a:hover {
  width: 12.1%;
  padding: 3% 2%;
  color: #fff;
  cursor: pointer;
}

.mob-icons {
  background: #7ac1d0;
}

.mob-icons:hover {
  background: #4c818c;
}

/* clear any elements that contain floated divs */

.mob-icons-wrapper:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

.mob-icons,
.mob-icons a {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

}

@media only screen and (max-width: 515px) {

.page-header {
  display: none;
}

h1 {
  font-size: 28px;
  padding: 3%;
  margin: -8px -4% 10px;
  background: #f6f6f6;
  text-align: center;
}

h2 {
  font-size:22px;
}

h3 {
  font-size:20px;
}

h4 {
  font-size:18px;
}

h5 {
  font-size:16px;
}

h6 {
  font-size: 14px;
}

ul.team li {
  width: 96%;
}

ul.treatments a {
  width: 98%;
}

.video-right {
  width: 92%;
  margin: 2%;
  padding: 2%;
  text-align: center;
  border: none;
}

#referral-form label {
  width: 96%;
  padding: 2%;
}

#referral-form input,
#referral-form textarea {
  width: 95%;
  padding: 2%;
}

a.btn-pdf {
  width: 90%;
}

.alignright,
.alignleft {
  width: 30%;
  height: auto;
}

#gallery-1 .gallery-item {
  width: 100% !important;
}

}