/**
  Theme Name: Barnton Dental
  Theme URI: http://barntondental.com
  Version: 1.0
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
  Description: A theme created for Barnton Dental by Dental Design.
*/

/* CSS Document */


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;
  }

body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color:#373b3f;
    background: url(../images/background.jpg);
    /* Set a specific height */
    height: 100%; 

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

p.invisp {
    font-size: 16px;
}

h2, h3, h4 {
  font-family: 'heroregular', sans-serif;
  text-transform: uppercase;
}

h1 {
  color: #2B9BDF;
  font-family: 'hero_lightlight';
  font-size: 26px;
  letter-spacing: 0em;
  text-transform: uppercase;
  position: relative;
  z-index: 100;
  display: block;
  opacity:0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
}

h2 {
  color: #2B9BDF;
  font-family: 'hero_lightlight';
  font-size: 26px;
  letter-spacing: 0em;
  text-transform: uppercase;
  position: relative;
  margin: 0;
  z-index: 100;
  text-align: l;
  display: block;
  opacity:0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
  clear:  both;
}

h3 {
  font-size: 20px;
  color:#2b9ce0;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  margin: 10px 0;
  color:#2b9ce0;
}

.highlight {
color:#2b9ce0;
font-size: 20px;
display:block;
margin-bottom:20px;
}

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

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

ul.bullet-point {
    margin: 0;
    padding: 0;
  line-height:24px;
}

ul.bullet-point li {
    margin: 0px 0 0 30px;
    padding: 2px 0 2px 20px;
    list-style: none;
    background: url(../images/bullet-point.png) no-repeat top left;
}

hr {
  border: 0;
  height: 1px;
  margin:30px 0;
  background: #eee;
  clear: both;
}

a {
  color: #2b9ce0;
  text-decoration: none;
}

a:hover {
  color: #1b86c7;
  
}

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

.alignright {
  float:right;
  margin:5px 0px 10px 20px;
  padding:8px;
  background:#f6f6f6;
  border: 1px solid #e6e6e6;
  text-align:center;
}

.alignleft {
  float:left;
  margin:24px 20px 10px 0px;
  padding:8px;
  background:#f6f6f6;
  border: 1px solid #e6e6e6;
  text-align:center;
}

.alignnone {
  margin:0 -10px 0 -10px;
}

.alignlogos {
  margin-left:-90px;
}

.halflist {
    width: 50%;
    float: left;
    margin-bottom: 30px;
}

.profile-img {
  float:right;
  margin:5px 0px 10px 20px;
  padding:8px;
  background:#f6f6f6;
  border: 1px solid #e6e6e6;
  text-align:center;
}

img.gold {
    margin-bottom: 20px;
}
.video-right {
float: right;
margin: 20px 0px 20px 20px;
padding: 8px;
background: #f6f6f6;
border: 1px solid #e6e6e6;
text-align: center;

}
.video-right1 {
    /* float: right; */
    margin: 2px 0 26px;
    padding: 8px;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    text-align: center;
}





h3.gallerylink {
    background: #f6f6f6;
    padding: 10px;
    border: 1px solid #dedcdc;
}

.go-right {
float: right;
margin: 27px 0px 20px 20px;
padding: 8px;
background: #f6f6f6;
border: 1px solid #e6e6e6;
}



/* Header */

.contact-holder h2 {
    margin-bottom: 10px;
}

.header {
  padding: 30px 10px 20px;
  position: relative;
}
.background {
    background: rgba(43, 156, 224, 0.52);
    padding: 0;
    z-index: 99999;
    width: 100%;
    top: 0;
}
.content-holder {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.logo-heading h2 {
    color: #fff;
    font-size: 30px;
}
ul.heading-details li {
    display:  inline-block;
    margin:  0;
    padding: 0 2.5%;
}
ul.heading-details li a {
    color: #fff;
}

ul.heading-details.logo-heading {
    margin: 0 auto;
    padding:  0;
    display:  block;
    text-align:  center;
    vertical-align: middle;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.heading-details.logo-heading li p {
    font-size: 25px;
    color: #fff;
}

/* Body background image */

.background-image {

}
ul.header-details li {
    display:  inline-block;
}
ul.header-details li a {
    color: #fff;
}
/* End */


.logo {
    text-align: center;
}
.logo img {
    max-width: 100%;
    height: auto;
}
.header-phone-email {
  clear: left;
  text-align: center;
  margin: 0 20px 0 0;
}
.header-phone {
  color: #979ea4;
  /* text-align: center; */
  width: 60%;
  margin: 0 25%;
  padding: 0 0 0 0px;
  background: url(../images/icon-header-phone.png) no-repeat left;

  font-size: 32px;
  font-family: 'hero_lightlight';
}
.header-email {
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  padding: 0 0 0 24px;
}

.header-link {
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  padding: 0 0 0 24px;
}

.header-denplan {
  float: right;
  width: 250px;
  height: 70px;
  margin: -15px 0 0;
}

.mob-icons {
  display: none;
}

/* Navigation */

.nav-wrapper {
  width: 1000px;
  height: 55px;
  background: #959ca2;
  min-width: 1000px;
}

/* Some stylesheet reset */
.nav, .nav ul {
  margin: 0 0 -30px;
  padding: 0;
  list-style: none;
  float: left;
}

/* The main container */
.nav {
  /* Layout and positioning */
  display: block;
  position: relative;
}

.nav>li {
  display: block;
  position: relative;
  float: left;
  margin: 0;
  padding: 0;
}

/* The main navigation links */
.nav>li>a {
  /* Layout */
  display: block;
  padding: 16px 13px 15px;
  min-width: 56px;

  /* Typography */
  font-size: 13px;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;

  /* Effects */
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.nav>li>a.icon {
  padding: 10px 0 9px;
}

/* The active hover state */

.nav>li>a.active {
  background: #2b9bdf;
}

.nav>li>a.active::after {
  content: "";
  position: absolute;
  top: 41px;
  left: 18px;
  width: 5px;
  height: 5px;
  border-right: 1px solid #D4A674;
  -webkit-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -o-transform: rotate(225deg);
}

.nav>li>a.active:hover::after {
  top: 45px;
  border-color: #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

/* The hover state of the navigation links */
.nav>li>a:hover, .nav>li:hover>a {
  background: #2b9bdf;
  color: #fff;
}

.nav>.dropdown>a {
  /*padding-right: 26px;*/
}

/* The arrow indicating a dropdown menu */
.nav>.dropdown>a::after {
   content: "";
   position: absolute;
   top: 37px;
   left: 18px;
   width: 5px;
   height: 5px;
   border-right: 1px solid #d4a674;
   -webkit-transform: rotate(45deg);
   -ms-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
   -o-transform: rotate(45deg);
  }

/* Changing the color of the arrow on hover */
.nav>.dropdown>a:hover::after, .nav>.dropdown:hover>a::after {
  border-color: #fff;
  top: 45px;
}

.nav ul {
  position: relative;
  position: absolute;
  left: -9999px;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}

/* Level 1 submenus */
.nav>li>ul {
  padding-top: 0px;
  z-index: 950;
  top: 55px;
}

/* Making the level 1 submenu to appear on hover */
.nav>li:hover>ul {
  left: 0px;
}

/* Level 2+ submenus */
.nav ul ul {
  left: -9999px;
  top: 0px;
  z-index: 999;
}

/* Making the level 2+ submenu to appear on hover */
.nav ul>li:hover>ul {
  left: 184px;
  top: 0px;
}

/* The submenu link containers */
.nav ul li {
  position: relative;
  display: block;

  /* Creating the slide effect. The list elements which contain the links have 0 height. On hover, they will expand */
  height: 0px;
  -webkit-transition: height .6s;
  -moz-transition: height .6s;
  -o-transition: height .6s;
  -ms-transition: height .6s;
}

/* Expanding the list elements which contain the links */
.nav li:hover>ul>li {
  height: 40px;
}

.nav ul li:hover>ul>li:first-child {
  height: 40px;
} 

/* The links of the submenus */
.nav ul li a {
  /* Layout */
  display: block;
  width: 154px;
  padding: 8px 15px 8px 15px;
  margin: 1px 0 0;

  /* Typography */
  font-weight: 400;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  
  /* Background & effects */
  background: #2b9bdf;
}

/* The hover state of the links */
.nav ul li>a:hover, .nav ul li:hover>a {
  background: #137ab8;
  color: #fff;
}

.nav ul ul>li:first-child>a {
  border-top: 0px solid #c1c1c1;
}

.nav ul>li:last-child>a {
  border-bottom: 0px solid #cbc9c7;
}


/* The arrow indicating a level 2+ submenu */
.nav ul>.dropdown>a::after {
  content: "";
   position: absolute;
   top: 10px;
   right: 8px;
   width: 4px;
   height: 4px;
   border-bottom: 1px solid #a6a6a6;
   border-right: 1px solid #a6a6a6;
   -webkit-transform: rotate(-45deg);
   -ms-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
   -o-transform: rotate(-45deg);
}

.nav ul>.dropdown:hover>a::after, .nav ul>.dropdown>a:hover::after {
  border-color: #137ab8;
}

.right-bar, .right-bar-page {
  width: 380px;
  height: 100%;
  position: fixed;
  right: -100px;
  bottom: 100px;
  z-index: 9998;
}

.right-bar {
  background: #2b9bdf;
  opacity:0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
}

.right-bar-page {
  background: #2b9bdf;
}

.skew {
  transform:skew(-6deg,0deg);
  -ms-transform:skew(-6deg,0deg); /* IE 9 */
  -webkit-transform:skew(-6deg,0deg); /* Safari and Chrome */
}

.footer-bar, .footer-bar-page {
  width: 96%;
  height: 80px;
  padding: 10px 2%;
  position: fixed;
  bottom: 0;
  z-index: 9997;
}

.footer-bar {
  background: #2b9bdf;
  opacity:0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
}

.footer-bar-page {
  background: #2b9bdf;
}

.footer-logo {
  float: right;
  height: 42px;
  margin: 20px 0 0;
  position: fixed;
  z-index: 11;
  right: 30px;
}

.staff-pic, .staff-pic-page {
  position: fixed;
  z-index: 9999 !important;
  right: 22px;
  bottom: 90px;
  z-index: 10;
}

.book-online {
  position: fixed;
  bottom: 28px;
  left: 50%;
  margin-left: -120px;
}


/* implants pop up */

a.close-inner {
    font-weight: bold;
    text-align: left !important;
    color: black;
    font-size: 17px;
    text-decoration: underline;
}

.apptlist {
    background: #959CA2;
    padding: 20px;
    overflow: hidden;
}

h4.fillform {
    color: white;
}

#target-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: opacity 200ms;
  transition: opacity 200ms;
}
#target-content:target {
  pointer-events: all;
  opacity: 1;
  z-index: 9999999999;
}
#target-content #target-inner {
  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;
  /* float: none; */
  text-align: center;
  max-height: 85vh;
  overflow: auto;
}
#target-content #target-inner h2 {
  margin-top: 0;
}
#target-content #target-inner code {
  font-weight: bold;
}
#target-content 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;
}
#target-content a.close:hover {
  opacity: 0.4;
}

#target-inner .close div {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  width: calc(47% - 10px);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#target-inner .close div:last-child {
  margin-right: 0;
}

#button {
  /* position: absolute; */
  /* top: 50%; */
  /* left: 50%; */
  /* -webkit-transform: translateX(-50%) translateY(-50%); */
  /* transform: translateX(-50%) translateY(-50%); */
  /* padding: 16px 24px; */
  border-radius: 1px;
  text-decoration: none;
  font-size: 24px;
  /* display: block; */
  color: white;
  background-color: #34495E;
  text-align: center;
  font-weight: 100;
  /* -webkit-transition: box-shadow 200ms; */
  /* transition: box-shadow 200ms; */
  border-radius: 4px;
}
#button:hover {
  box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.2);
}


/* Content area */



.page {
  max-width: 1200px;
  width: 100%;
  /* left: 50%; */
  position: relative;
  margin: 50px auto 0;
  /* padding: 50px; */
}

.content {
  /* width: 940px; */
  padding: 30px;
  background: #fff;
}

.text-area-home {
  text-align: center;
  margin: 0 auto;
  padding: 0 80px;
}

.text-area {
  width: calc(100% - 355px);
  float: left;
  margin: 16px 0;
}

.text-area img {
    max-width: 100%;
    height: auto;
}

.text-area h1{
  color: #fff;
  background: #2B9CE0;
  padding: 15px;
}

.sidebar {
  width: 300px;
  float: right;
  margin: 30px 0;
}

a.view-gallery {
  border:1px solid #2B9CE0;
  display: inline-block;
  padding:5px 10px 5px 40px;
  background: url(../images/gallery.png) no-repeat 5px #2B9CE0;
  color: #FFF;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a.view-gallery:hover {
  -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.55);
  -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.55);
  box-shadow: 0 1px 4px rgba(0, 105, 214, 0.55);
}

/* before and after2 */

.slides {
    padding: 0;
    width: 609px;
    height: 420px;
    display: block;
    margin: 0 auto;
    position: relative;
    clear: both;
}

.slides * {
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.slides input { display: none; }

.slide-container { display: block; }

.slide {
    top: 0;
    opacity: 0;
    width: 609px;
    height: 420px;
    display: block;
    position: absolute;

    transform: scale(0);

    transition: all .7s ease-in-out;
}

.slide img {
    width: 575px;
    height: 100%;
}

.nav label {
    width: 200px;
    height: 100%;
    display: none;
    position: absolute;

    opacity: 0;
    z-index: 9;
    cursor: pointer;

    transition: opacity .2s;

    color: #FFF;
    font-size: 156pt;
    text-align: center;
    line-height: 380px;
    font-family: "Varela Round", sans-serif;
    background-color: rgba(255, 255, 255, .3);
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.slide:hover + .nav label { opacity: 0.5; }

.nav label:hover { opacity: 1; }

.nav .next { right: 0; }

input:checked + .slide-container  .slide {
    opacity: 1;

    transform: scale(1);

    transition: opacity 1s ease-in-out;
}

input:checked + .slide-container .nav label {display: none;}

.nav-dots {
  width: 100%;
  bottom: 9px;
  height: 11px;
  display: block;
  position: absolute;
  text-align: center;
}

.nav-dots .nav-dot {
  top: -5px;
  width: 11px;
  height: 11px;
  margin: 0 4px;
  position: relative;
  border-radius: 100%;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.83);
}

.nav-dots .nav-dot:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.8);
}

input#img-1:checked ~ .nav-dots label#img-dot-1,
input#img-2:checked ~ .nav-dots label#img-dot-2,
input#img-3:checked ~ .nav-dots label#img-dot-3,
input#img-4:checked ~ .nav-dots label#img-dot-4,
input#img-5:checked ~ .nav-dots label#img-dot-5,
input#img-6:checked ~ .nav-dots label#img-dot-6 {
  background: rgba(0, 0, 0, 0.8);
}


/* before and after 2*/

/* before and after */

#images {
  width: 400px;
  height: 250px;
  overflow: hidden;
  position: relative;
  
  margin: 20px auto;
}
#images img {
  width: 400px;
  height: 250px;
  
  position: absolute;
  top: 0;
  left: -400px;
  z-index: 1;
  opacity: 0;
  
  transition: all linear 500ms;
  -o-transition: all linear 500ms;
  -moz-transition: all linear 500ms;
  -webkit-transition: all linear 500ms;
}
#images img:target {
  left: 0;
  z-index: 9;
  opacity: 1;
}
#images img:first-child {
  left: 0;
  opacity: 1;
}
#slider a {
  text-decoration: none;
  background: #E3F1FA;
  border: 1px solid #C6E4F2;
  padding: 4px 6px;
  color: #222;
}
#slider a:hover {
  background: #C6E4F2;
}


/* before and after */

.whyuse {
    border: solid 1px #35A1E1;
    margin-top: 25px;
}

img.interest-free {
    padding-top: 10px;
}


p.center {
    text-align: center;
}


img.whitening-free {
    /* padding-top: 28px; */
}

h2.lightbox {
    background: #2B9BDF;
    color: white;
    padding: 20px;
    font-size: 24px;
    margin: 15px 0 0 0;
}

i.fa.fa-caret-down.fa-lg {
    margin-right: 10px;
}
/* Navigation */



/* fee list */

ul.fees-title {
  clear: both;
list-style: none;
margin: 17px 0 0 0;
padding: 0;
background: #62B2F1;
font-size: 15px;
overflow: hidden;
color: #FFFFFF;
border-bottom: 0px solid #666;
width: 98%;
}

ul.fees-row {
  clear: both;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e6e6e6;
  
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
   width:98%;
}

ul.fees-row:hover {
  background:#eee;
  padding: 0 5px 0 0;
}

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

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

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

ul.fees-row li.fees-price,
ul.fees-title li.fees-price {
  float: right;
  text-align:center;
  width: 18%;
}


/* Quicklink */

.quicklinks-wrapper {
  width: 940px;
  margin: -120px 0 30px;
  position: relative;
  z-index: 9996;
}

.quicklink {
  width: 224px;
  height: 120px;
  float: left;
  padding: 0 5px;
  border-right: 1px solid #0f76b4;
  text-align: center;
  display: block;

  background: #2390d3;
  opacity:0.8;
  filter:alpha(opacity=80); /* For IE8 and earlier */
}

.quicklink:hover {
  background: #2390d3;
  opacity:1.0;
  filter:alpha(opacity=100); /* For IE8 and earlier */
  cursor: pointer;
}

.quicklink h2 {
  color:#fff;
  font-size: 18px;
  font-family: 'hero_lightlight';
}

.quicklink p {
  color:#fff;
  font-size: 13px;
  line-height: 18px;
}

/* Homepage gallery */

.practice-gallery {
  width: 610px;
  height: 455px;
  float: left;
  background: url(../images/title-gallery.png) top left no-repeat;
  padding: 40px 0 0;
  margin-bottom: -50px;

}

.loading {
  display: block;
  background:#fff url(../images/loading.gif);
  width:32px;
  height:32px;
  margin-left:-16px;
  margin-top:-16px;
  border-radius:16px;
  border:2px solid #333;
}
.tiles-item .caption {
  background:rgba(221,135,51,0.9);
  color:#fff;
  font-size:12px;   
}
.tiles-item .caption span {
  margin:10px;
  display: block;
  font-size: 16px;
  font-weight: normal;
}
.tiles img {
  display: none;
}

.tiles {
  margin:0 auto;
}

/* Landing page */

.landing-page {
  width: 300px;
  padding: 40px 180px;
  left: 0;
  top: 0;
  position: fixed;
  text-align: center;
}

.footer-phone {
  float: left;
  width: 20%;
  color: #fff;
  margin: 18px 0 0;
  padding: 0 0 0 34px;
  background: url(../images/icon-footer-phone.png) no-repeat left;

  font-size: 36px;
  font-family: 'hero_lightlight';
}

.landing-buttons {
  margin: 0 auto;
  text-align: center;
  margin-left: -245px;
  position: fixed;
  left: 50%;
}

a.landing-button {
  background: url(../images/bg-landing-btn.png);
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  width: 160px;
  padding: 20px 30px;
  margin: 8px 5px !important;
  display: block;
  float: left;
  text-align: center;
}

a.landing-button:hover {
  background: #fff;
  color: #2b9bdf;
}

/* Footer styles */

ul.footer-container {
    max-width: 1200px;
    font-size: 0;
    text-align:  center;
    margin: 0 auto;
    padding:  0;
    /* height:  100%; */
}

.social-wrapper {
  margin: 0 auto;
  position: absolute;
  top: 10px;
  right: 157px;
}

.social-wrapper h2 {
  text-transform: uppercase;
  font-size: 24px;
  padding: 0 0 10px;
  margin: 0 0 20px;
  border-bottom: 1px solid #8f959b;
  color: #fff;
  text-align: center;
}

.social-wrapper p {
  margin: 20px 0;
  line-height: 24px;
  color: #fff;
}

.map {
  float: left;
  width: 630px;
  margin: 0 20px 30px 20px;
  text-align: center;
}

.contact-details {
    width: 270px;  
    text-align: center;  
    margin: 60px 0 0;
    padding: 20px 15px 10px;      
    color: #FFF;  
    opacity: 0.9;
    background: #3C3C3C;    
    font-size: 14px;  line-height: 26px;  font-family: 'Oxygen', sans-serif;  
}


.testimonials-wrapper {
  width: 100%;
  padding: 5px 0px 25px;
  background: #fff;
}

.testimonials {
  width: 1000px;
  margin: 0 auto;
  padding: 20px 0px;
  text-align: center;
  border-top: 1px solid #DFDFDF;
}

.testimonials p {
  margin: 10px 0 20px;
  padding: 0px 0px 10px;
  font-size: 27px;
  color: #5E5A58;
  line-height: 26px;

}

.testimonials-box,
.testimonials-box-right {
  width: 302px;
  padding: 0px 15px 0px 7px;
  float: left;
  border-right: 1px solid #DFDFDF;
  margin: 10px 8px 10px 0px;
}

.testimonials-box h3,
.testimonials-box-right h3 {
  font-size: 22px;
  color: #3B85CA;
  font-family: 'Exo 2', sans-serif;
  margin: 0px 0px 15px -3px;
}

.testimonials-box p,
.testimonials-box-right p {
  margin: 20px 0;
  font-size: 14px;
  color: #5E5A58;
  line-height: 26px;

  text-align: left;
}

.testimonials-box-right {
  border-right: none;
}

.before-after {
  width: 260px;
  margin: 10px 0 20px;
}


/* Contact form */

.apptlist li {
    font-size: 18px;
    line-height: 47px;
    text-align:left;
}

.apptlist {
    background: #959ca2;
    color: white;
    padding-top: 23px;
    min-height: 428px;
}


.apptlist li {
    list-style: none;
}
.contact-form {
  margin: 0 0 15px;
  background: #959CA2;
  padding: 20px;
}

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

.contact-form input,
.contact-form textarea,
.contact-form select {
  width:100%;
  height:35px;
  margin-bottom: 10px;
  padding:7px 10px 7px 35px;
  border:none;
  font-family: 'hero_lightlight';
  font-size:0.9em;
  color: #706e6f;
  outline: none;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  text-transform:  uppercase;
}

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


.contact-form li {
  position: relative;
}

.contact-form li i {
  position: absolute;
  top:9px;
  left: 10px;
  color: #6D6E76;
}

.contact-form .submit {
  background: #94c353;
  color: #FFF;
  height:40px;
  text-transform: uppercase;
  width: 100%;
  margin:0;
}

.contact-form .submit {
  width: 160px;
  height: 40px;
  list-style:none;
  font-weight:300;
  font-size:14px;
  font-style:normal;
  text-indent:-68px;
  text-transform: uppercase;
  color:#fff;
  margin-left: 3px;
  border: 2px solid #fff;
  background: url(../images/paper-plane.png) top right no-repeat;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  font-family: 'hero_lightlight';
}

.contact-form .submit:hover {
  color:#1D8DD8;
  background: url(../images/paper-plane-ov.png) top right no-repeat #fff;
  cursor:pointer;
}

/* opening hours */

.opening-hours-row, .opening-hours-row-first {
  border-bottom:1px solid #8f959b;
  height:30px;
  padding:5px 0;
  color:#fff;
  font-size:13px;
}

.opening-hours-row-last {
  height: 30px;
  padding:5px 0;
  color:#fff;
  font-size: 13px;
}

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

.opening-hours-row:hover, .opening-hours-row-first:hover, .opening-hours-row-last:hover {
  background:#8a9197;
}

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

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

.twitter ul {
  list-style: none;
  margin-left: -40px;
}

.twitter ul li {
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #8f959b;
}

.twitter img {
  float: left;
  width: 60px;
  margin: 5px 0 0;
}

.twitter img.icon {
  float: none;
}

.twitter p {
  padding: 0 0 0 80px;
  text-align: left;
}
.footer-info p {
    color: #fff;
    font-size:  14px;
}
.footer-map iframe {
    height: 500px;
}

.footer-wrapper {
  width:100%;
  position: relative;
  padding:  50px;
}
.footer-wrapper ul li {
    display:  inline-block;
    width: calc(96% / 3);
    padding:  10px;
    background: rgba(60, 60, 60, 0.91);
    text-align:  center;
    margin: 0px 2% 0 0;
}
.footer-wrapper ul li:last-child {
    margin: 0;
}

.map-half {
  width: 50%;
  height: 600px;
  float: left;
  position: relative;
  border: 10px solid #F4F4F4;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}
.map-full {
  width: 100%;
  height: 600px;
  float: left;
  position: relative;
  border: 10px solid #F4F4F4;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing: border-box;
}

.half-contact-details {
  position: absolute;
  right: 10px;
  top:10px;
  width: 275px;
  text-align: center;
  padding: 20px 15px 10px;
  color: #FFF;
  opacity: 0.9;
  background: #3C3C3C;
  font-size: 14px;
  line-height: 26px;
  font-family: 'Oxygen', sans-serif;
}

.half-contact-details h2 {
  color: #FFF;
  font-size:24px;
  padding: 0 35px 10px;
  margin: 0 0 20px;
  border-bottom: 1px solid #8f959b;
}

.half-contact-details p {
  margin:5px;
}

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

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

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

.copyright p {
  margin:10px;
}

.copyright-wrapper a, .social-wrapper a {
  color: #8dc0e0;
  text-decoration: none;
}

.copyright-wrapper a:hover, .social-wrapper a:hover {
  color: #abd4ed;
}


input.kcv-failed, textarea.kcv-failed, select.kcv-failed {border:1px solid #ff0000!important;}
label.kcv-failed {color:#ff0000 !important;}

/* Return to top */

.scrollup {
    width:64px;
    height:64px;
    opacity:0.8;
    position:fixed;
    bottom:34px;
    right:10px;
    display:none;
    text-indent:-9999px;
    background: url(../images/icon_top.png) no-repeat;
}

a.landing-button, .staff-pic-page, .right-bar-page, .page, .quicklink, .nav a  {
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.right-bar-page, .staff-pic-page {
  display: none;
}
.copyright p a {
    color: #fff;
}



/* Slideshow */

.slider-wrapper-header {
    position:relative;
    width: 100%%;
    /* height: 400px; */
    margin: 0;
    background: white;
}

.slider-wrapper {
  position:relative;
  width: 62%;
  /* height: 400px; */
  margin: 0 auto;
  background: white;
}

.nivoSlider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

#slider {
  max-width: 940px;
  width: 100%;
  /* height: 400px; */
  margin: 0 auto;
  background-repeat: no-repeat;
  background-position: 0 0;
  overflow: hidden;
  text-align: center;
}  

#slider img {
display: none;
}

/* Footer */

.footer-wrapper iframe {
    /* padding: 32px; */
    /* max-height: 583px; */
    border: none;
    /* height: 268px; */
}

/* Clear any divs containing floated elements */

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

/* Hero Webfonts */

@font-face {
    font-family: 'hero_lightlight';
    src: url('fonts/hero_light-webfont.eot');
    src: url('fonts/hero_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/hero_light-webfont.woff') format('woff'),
         url('fonts/hero_light-webfont.ttf') format('truetype'),
         url('fonts/hero_light-webfont.svg#hero_lightlight') format('svg');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'heroregular';
    src: url('fonts/hero-webfont.eot');
    src: url('fonts/hero-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/hero-webfont.woff') format('woff'),
         url('fonts/hero-webfont.ttf') format('truetype'),
         url('fonts/hero-webfont.svg#heroregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
.header-left {
    width: 50%;
    float: center;
}

.header-right {
    width: 50%;
    /* height: 120px; */
    float: left;
}

.i4ewOd-pzNkMb-haAclf.qAWA2 {
display: none !important;
}

.map-holder {
    float: left;
    width: 100%;
}

.practice-map-holder {
    float: left;
    width: 100%;
}

.practice-map {
    float: left;
    width: 60%;
}
/* Accordion */

.demo-show {
  margin: 1em .5em;
}

.demo-show h3 {
  font-size: 18px;
  font-weight:normal;
  letter-spacing:-0.01em;
  color: #FFFFFF;
  text-transform: initial;
  background: #2B9CE0;
  padding: 15px;
  text-transform:  uppercase;
}

.demo-show div {
  padding: 0 .25em;
}

.ddental {
  text-indent: -9999px;
  display: inline-block;
  width: 23px;
  height: 23px;
  background: url(../images/ddental.png) no-repeat;
  background-size: 100% 100%;
  background-position-y: 1px;
  margin: 0 1px;
}
.ddental-white {
text-indent: -9999px;
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url(../images/ddental-white.png) no-repeat;
    background-size: 100% 100%;
    background-position-y: 1px;
    margin: 0 4px;
    line-height: 1;
}


.bookbutton h1 {
    color: white;
    background: #2B9BDF;
    padding: 20px;
    margin-bottom: -8px;
}



.testimonial-right {float: right;margin: 12px 0px 25px 20px;padding: 8px;background: #f6f6f6;border: 1px solid #e6e6e6;text-align: center;height: 391px;width:  285px;text-align: left;}


.fa-quote-left, .fa-quote-right {
  font-size: 22px;
  color: #2B9BDF;
}

.fa-quote-left {
  margin-right: 10px;
}
.fa-quote-right {
  margin-left: 10px;
}

.ql-sixmonthsmile {
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/six-month-smiles.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 0 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-sixmonthsmile:hover {
  -webkit-transition: all 0.3s ease-in; -moz-transition: all 0.3s ease-in; -ms-transition: all 0.3s ease-in; -o-transition: all 0.3s ease-in; transition: all 0.3s ease-in;
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/six-month-smiles-hover.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 0 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-invisalign {
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/invisalign.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 0 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-invisalign:hover {
  -webkit-transition: all 0.3s ease-in; -moz-transition: all 0.3s ease-in; -ms-transition: all 0.3s ease-in; -o-transition: all 0.3s ease-in; transition: all 0.3s ease-in;
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/invisalign-hover.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 0 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-inmanaligner {
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/inmanaligner.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 10px 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-inmanaligner:hover {
  -webkit-transition: all 0.3s ease-in; -moz-transition: all 0.3s ease-in; -ms-transition: all 0.3s ease-in; -o-transition: all 0.3s ease-in; transition: all 0.3s ease-in;
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/inmanaligner-hover.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 10px 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-cfast {
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/cfast.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 10px 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql-cfast:hover {
  -webkit-transition: all 0.3s ease-in; -moz-transition: all 0.3s ease-in; -ms-transition: all 0.3s ease-in; -o-transition: all 0.3s ease-in; transition: all 0.3s ease-in;
  background-image: url(http://www.barntondental.com/wp-content/themes/barnton-dental/images/treatments/cfast-hover.jpg);
  width: 200px;
  height: 129px;
  display: block;
  margin: 10px 0 0 11px;
  float: left;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: solid 2px #2b9ce0;
}

.ql > a {
    display: inline-block !important;
    float: none !important;
}

.ql {
    text-align: center;
    margin-bottom: 20px;
}

.text-area-top {
    margin: 0 auto 40px auto !important;
    /* max-width: 950px; */
    width:  100%;
    text-align: center;
}

.text-area-top h2 {
    background: #55afe6;
    color:  white;
    padding: 15px;
}
.top-provider {
    background: #a59f9f;
    color: #ffffff;
    font-family: 'hero_lightlight';
    font-size: 32px;
    text-transform: uppercase;
    position: relative;
    z-index: 100;
    font-weight: 800;
    line-height: 36px;
    margin: 0;
    padding: 15px;
}
.top-provider small{
  font-size:  12px;
  display: block;
  margin: 20px 0 0 0;
line-height: 20px;
}

.top-provider img {
    width: 100%;
    height: auto;
    margin: 20px 0 0;
    background: white;
    padding: 20px;
    background: white;
}



/* Responsive styles */

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

.apptlist img {
    display: none;
}
}

@media only screen and (max-width: 1500px){
.apptlist li {
    font-size: 17px;
    line-height: 49px;
    text-align: left;
}
}

@media only screen and (max-width: 1430px) {
.apptlist li {
    font-size: 15px;
    line-height: 47px;
    text-align: left;
}
}

@media only screen and (max-width: 1430px) {
.apptlist li {
    font-size: 15px;
    line-height: 42px;
    text-align: left;
}

}

@media only screen and (max-width: 1090px) {
    .footer-wrapper ul li {
        width: 100%;
        margin: 25px 10px;
        max-width: 400px;
    }
    .opening-hours-time {
        width: auto;
    }
    #target-inner .close div {
      width:100%;
    }
    .close h3 {
        display: none;
    }
    .footer-wrapper ul li:last-child {
        margin-bottom: 20px;
    }

}

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

  .video-right {
    float: none;
    margin: 10px 0;
    height: auto;
  }

  .video-right iframe {
    max-width: 100%;
  }
    ul.heading-details.logo-heading {
        display: block;
        height: auto;
    }
    ul.heading-details li {
        display: block;
    }
    .logo-heading h2 {
        font-size: 22px;
    }
    .background {
        padding: 15px;
    }
    .opening-hours-time {
        padding: 0px;
    }
    .footer-wrapper {
        padding: 0;
    }

}



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

  .logo img {
    width: auto;
    height: 35px;
  }

  .header-phone {
    width: 250px;
    margin: 0 auto;
  }

  .header-email, .header-link {
    padding-left: 0;
  }

  .header-phone-email {
      margin-right: 0;
  }

  .text-area {
    width: 100%;
    float: none;
  }

  .sidebar {
    width: 100%;
    float: none;
    text-align: center;
  }

  .testimonial-right {
      float: none;
      margin: 10px 1%;
      width: 98%;
      height: auto;
      padding: 1%;
      box-sizing: border-box;
  }

  .contact-holder {
    /* float: left; */
    max-width: 350px;
    width: 100%;
    margin: 10px auto;
  }

  .contact-form {
      width: 90%;
      padding: 5%;
  }

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

  .map-half {
    float: none;
    width: 100%;
    height: auto;
  }

  .map-half iframe {
      height: 290px;
  }

  .half-contact-details {
      position: relative;
      top: 0;
      right: 0;
      width: auto;
  }

  .half-contact-details p {
      /* display: inline; */
  }

  .half-contact-details p br {
      display: none;
  }

  .footer-wrapper {
      height: auto;
  }

}

@media only screen and (max-width: 600px) { 
  #target-content #target-inner{
    width: 90%;
    padding: 5%;
  }

  .mob-icons {
    display: block;
  }

  .header > div {
    width: 100%;
    float: none;
  }

  .header-left {
      padding-bottom: 10px;
      margin-bottom: 10px;
  }

  .header-phone-email {
      display: none;
  }

  .mob-icons {
      text-align: center;
  }

  .mob-icons a {
      width: 14px;
      height: 14px;
      text-align: center;
      padding: 10px;
      background: #2B9CE0;
      color: #fff;
      border-radius: 50%;
      vertical-align: top;
      display: inline-block;
      margin: 0 5px;
  }

  i.fa-desktop {top: 1px;/* left: -1px; */}

  .mob-icons i {
      position: relative;
  }

  .mob-icons i.fa-mobile {
      font-size: 18px;
      top: -1px;
  }

  .mob-icons a:hover {
      background: #1F79AF;
  }

  .content {
    padding: 3%;
  }

}

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

  .opening-hours-day {
    width: 49%;
    padding-left: 1%;
  }

  .opening-hours-time {
    width: 49%;
    padding-right: 1%;
  }

  .profile-img {
    float:none;
    margin:5px auto;
  }

}