/**
  Theme Name: 310 dental care
  Version: 3
  Author: Dental Design Products
  Author URI: http://www.dental-design-products.co.uk
  */
.jump-buttons::after, .ds-jump-links .field-name-field-treatment-links a::after, .ds-rel-links .field-name-field-treatment-links a::after, a.panel-button::after{bottom:34px;}
.team-details .field-name-title p{text-align:center;}
  h1.title {
    z-index: 998;
    position: relative;
  }
  #logo img {
    z-index: 999;
    position: relative;
  }
  .google-translate {
    z-index: 9999;
    display: -webkit-inline-box;
    float: right;
    margin: 0 0 0 15px;
  }

.footer-full-width ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-full-width ul li {
  width: auto;
  margin: 0 15px 0 0;
}

  #footer-holder li:before {background:none}
  .main-content ul li {padding-bottom: 0!important;}
  ul.referral li:before {background: none;}
  .hiretx {width: 47%; vertical-align: top; float: left; margin: 0 0px 6px 3%;}
  .courses, .hire {float: left !important; width: 50% !important;}
  .courses .entity-courses, .hire .entity-courses { width: 98% !important; box-sizing: border-box !important;}
  .courses, .hire h2 {margin-top: 30px !important;}
  .owl-carousel.owl-loaded {}
  #footer-holder h2, #block-block-12 li:before, #block-block-16 li:before {color:white!important;}
  .owl-carousel .owl-items {display: inline-table; max-width: 225px; width: 100%;}
  .owl-carousel .owl-item {
    display: inline-table;
    width: 100%;
  }

  .owl-carousel .owl-stage-outer {
    overflow: visible;
  }

  .white-th {
    background: #FFF!important;
  }

  .white-th .topheader-content p, .white-th .topheader-content a, .white-th .topheader-content ul, .white-th .topheader-content li {
    color: #626262!important;
  }

  .jump-buttons {
    padding: 20px;
  }

  .field-name-field-other-testimonials>div a {
    font-size: 17px!important;
    padding: 10px;
  }


  .testimonialhalf {
    width: 50%;
    float: left;
    margin: 0 0 50px;
  }

  hr {
    display: block !important;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(116,114,114,0.75), rgba(0, 0, 0, 0));
  }

  .row hr {
    margin-bottom: 50px;
  }

  .writtentestimonial {
    border: solid 1px rgba(116, 114, 114, 0.6);
    padding: 30px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }

  .writtentestimonialmedical {
    border: solid 1px rgba(116, 114, 114, 0.6);
    padding: 30px;
    background-image: url("images/shades-medical-testimonial.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
  nav#block-menu-block-1 {
    z-index: 999;
  }
  i.fa.fa-comment-o.fa-3x {
    margin-bottom: 18px;
    float: right;
    color: #445a8c;
  }

  h1.testimonialtitle {
    text-align: center;
    font-size: 50px;
    color: #747272;
  }

  p.author {
    font-weight: bold;
    text-transform: uppercase;
    color: #000000;
  }

  #block-menu-block-1>ul>li {
    padding: 4px;
  }

  .topheader-content .home {
    text-decoration: none!important;
  }

  .google-translate {
    z-index: 9999;
    display: -webkit-inline-box;
    float: right;
  }

  .slide-tab {
    position: fixed;
    height: 210px;
    width: 55px;
    right: 0px;
    z-index: 999!important;
    z-index:10;
    border-radius: 4px 0 0 4px;
  }

  h1.title {
    z-index: 998;
  }

  .slide-tab:hover {
    right: -7px;
    cursor:pointer;
  }

  .tab-contact-medical {
    top: 175px;
    background: url(images/tab-medical.png) 1px 8px no-repeat #43537A;
  }

  .tab-contact-dental {
    top: 175px;
    background: url(images/tab-dental.png) 1px 8px no-repeat #333333;
  }
  /* modal window */

  #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: 9999!Important;
  }

  #target-inner h2 {
    font-size: 24px;
    margin: 10px 0;
  }

  #target-content #target-inner {
    position: absolute;
    display: block;
    line-height: 1.8;
    width: 33%;
    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);
    color: #34495E;
    background: #f2f2f2;
    border: 5px solid #e9e9e9;
    padding: 20px;
    max-height: 80vh;
    overflow-y: scroll;
  }

  #target-inner h4 {
    text-align:center;
    font-size:30px;
    border: none;
  }

  #target-content #target-inner h2, #target-content #target-inner p {
    text-align:center;
  }

  #target-content a.close {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #778B9E;
    opacity: 0.5;
  }

  #target-content a.close:hover {
    opacity: 0.4;
  }


  /* contact form */

  form {
    margin: 10px;
    /* padding: 0 30px; */
  }

  .feedback-input {
    color: #857C79;
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
    background-color: transparent;
    transition: all 0.3s;
    padding: 5px 10px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: 0;
    border: 2px solid #e9e9e9;
  }
  textarea {
    height: 130px;
    line-height: 150%;
    resize: vertical;
  }

  .slide-tab {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }

  .slide-bottom {
   display: none;
 }


 ul.half-box {
  width: 47%;
  display: inline-block;
  vertical-align: top;
  padding: 1%;
}

ul.half-box1 {
  width: 43%;
  display: inline-block;
  vertical-align: top;
  padding: 1%;
}

ul.half-box2 {
  width: 50%;
  display: inline-block;
  vertical-align: top;
  padding: 1%;
}

ul.half-box h2 {
  border-bottom: 1px solid;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

ul.half-box h2:after {
  display: none;
}

p.ostname {
  color: #43537a;
  font-size: 19px;
  font-family: Old Standard TT,serif;
  font-weight: 400;
}

img.reglogo {
  float: right;
  margin-top: -50px;
  margin-right: 15px;
}

.team {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  display: inherit;
}

.team-img {
  float: left;
  margin-right: 20px;
  text-align: center;
}

.team-img img {
  width: 180px;
  height: 210px;
  padding: 0;
  display: block;
  margin-bottom: 10px;
}

.team-img br {
  display: none;
}

.team-img strong {
  text-transform: uppercase;
  color: #677DB0;
}

.team-bio {
  float: left;
  width: calc(100% - 200px);
  text-align: justify;
}

.owl-prev, .owl-next {
  display: block !important;
}

.video {
  text-align:center;
}

.norotatingtweets .rotatingtweet {
  border:none!important;
}

p.treat {
  float: left;
  width: 45%;
}

#centerimages{
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 540px;
}
#centerimages2{
  /* center and margins bewteen */
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  float: left;
}
#centerimages2 img{
  margin: 23px;
}
#centerimages2 a img:hover{
  opacity: 0.8;
  filter:alpha(opacity=80;) /* For IE8 and earlier */
  -webkit-opacity:0.8;
  -moz-opacity:0.8;


}
#centeroneimage{
  position: relative;
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background-color: #fff;
  text-align: center;
  float: left;
  padding-top: 15px;
  margin-left: 25px;
}

div#wfilings {
  float: left;
}

/* Before After */

ul.before-after {
  list-style: none;
  background: #fbfbfb;
  text-align: center;
}

ul.before-after li {
  margin: 0;
  width: 49%;
  display: inline-block;
  vertical-align: top;
  padding: 20px !important;
  box-sizing: border-box;
}

ul.before-after li:before {
  display: none;
}

ul.before-after img {
  width: 100%;
  height: auto;
  padding: 0;
  border: 1px solid #666;
}

.youtube:before {
  font: normal normal normal 20px/1 FontAwesome;
  content: "\f166";
  z-index: 100;
}

img.paul {
  float: right;
  max-width: 200px;
  width: 100%;
  border: #0d004c solid 3px;
}

.mob-paul {
  display: none;
}

ul.plastic li:before {
  background: white;
}

i.fa.fa-check-circle-o {
  font-size: 20px;
  margin-right: 10px;
}

ul.plastic li {
  font-size: 16px;
  margin-bottom: 15px;
}

.our-fees h3{
  font-size: 18px;
  font-weight: bold;
  color: #213D54;
  margin-top: 30px;
  margin-bottom: 20px;
}
.our-fees ul{
  margin-top: 20px;
  margin-right: 10px;
}

.our-fees ul li{
  padding-top: 3px;
  padding-bottom: 3px;
  padding-left: 10px;
  list-style: none;
  margin-right: 20px;
}
li.extended{
  padding-bottom: 20px !important;
}
span.complete{
  margin-left: 20px;
  color: #50A6BD;
  font-weight: bold;
}
span.list-right{
  text-align: right;
  float: right;
  margin-right: 20px;
  padding: 0 0 0 20px;
  border-left: 1px solid #E6E7E8;
}
.our-fees ul li:nth-child(odd){
  background-color: #E6E7E8;
}

.aboutgall {
  margin: 0;
  padding: 0;
  width: 100%;
}

.aboutgall li {
  float: left;
  display: block;
  margin: 20px 1% 0 1%;
  text-align: center;
  background: #FFFFFF;
  padding: 10px;
  border: 1px solid #E9E9E9;
  width: 28% !important;
}

.aboutgall li img {
  width:  100%;
}

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


.aboutgall li::before {
  background: none !important;
}

img.img-treat-right {
    max-width: 400px;
    width: 100%;
    float: right;
    border-top: 10px solid #000000;
    border-right: 10px solid #000000;
    margin: -50px 0 0 0;
}

.pagecontainer {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 60px auto;
}

.three-section {
    width: 33%;
    display: inline-block;
    text-align: center;
    color: white !important;
    padding: 19px;
    vertical-align: top;
    min-height: 240px;
}

.green {
    background: #000000;
}

.three-section h3 {
    color: white;
}

.three-section i {
    color: white;
    font-size: 50px;
}

.three-section p {
    color: white;
}

.three-section a {
    color: white;
}

.red {
    background: #e74a61;
}

.blue {
    background: #445a8c;
}

.arrow-button, .field-name-field-home-contributions-link a {
    font-family: Old Standard TT,serif;
    color: #e03f59;
    font-style: italic;
    text-decoration: none;
    font-size: 17px;
}

.field-name-field-home-contributions-link a {
    background: white;
    padding: 10px 40px;
    border: 1px solid #e03f59;
}

.field-name-field-home-contributions-link {
    text-align: center;
    margin-top: -14px;
    margin-bottom: 60px;
}

.blue a {
    margin-top: 30px;
    background: #ececea;
    width: 80%;
    margin: 13px auto 0 auto;
    color: #445a8c;
    border-radius: 10px;
    font-size: 11px;
}

.line {
    border: solid 1px;
    padding: 30px;
}

.field-name-field-help-contributions-text {
    margin: 0 auto;
    padding: 60px 20px 20px;
    margin-top: -35px;
    border: 1px solid #e03f59;
    background: white;
    text-align: center;
    height: 895px;
    max-width: 1000px;
}

.learnforlife {
    height: 380px;
}

.field-name-field-home-contributions-logo img {
    padding: 8px 13px 2px;
    border: 1px solid #e03f59;
    background: white;
    max-width: 150px !important;
    width: 100% !important;
}

.field-name-field-home-contributions-logo {
    margin: 25px 0 0;
    text-align: center;
    position: relative;
    z-index: 5;
}

.field-name-field-our-contributions {
    margin: 50px 0;
}

.field-name-field-home-contributions-link {}

.cont-holder {
    margin-bottom: 50px;
}

.row img {
   /* max-width: 390px;
    width: 100%;*/
    height: auto;
    margin: 1%;
}

ul.referral {
    list-style: none !important;
    width: 60%;
    margin-bottom: 60px;
}

ul.referral li {
    width: 46%;
    display: inline-block;
}


.greyborder {
    border: solid 1px #d9d9d9;
    margin: 40px 0;
}

.row h2 {
    margin: 0px 0 30px;
    font-size: 20px;
}

.field-name-title {
    text-align: left;
    clear: both;
    margin-top: 20px;
}

.field-name-field-courses {
    margin-bottom: 50px;
}

.gdpr {
    padding: 0 20px;
    margin: 10px 0;
    width:  100%;
    float:  left;
    text-align:  center;
}

.gdpr p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 18px;
    float: none;
}

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

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

input.webform-submit.button-primary {
    margin: 0 auto;
    display: block;
}

@media(min-width:1120px){
  #logo img  {
    width: 100%;
  }
}

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

  #target-content #target-inner {
    width: 63%;
    padding: 20px;
  }
}


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

  .three-section {
    width: 90%;
    margin: 1% 4%;
}

ul.referral {
    width: 100%;
}

.main-content {
    padding: 1% 2%;
}

  .courses, .hire {
    float: left !important;
    width: 100% !important;
  }

  .entity-courses img {
    padding-bottom: 10px;
    width: 90%;
  }

}

@media (min-width: 768px) {
  #block-menu-block-1>ul>li {
    display: inline-block;
    margin-right: -0.7em !important;
    background: none;
  }

  #block-menu-block-1>ul>li:last-child {
    margin-right: 0 !important;
  }

  #logo img  {
    width: 80%;
  }

  #block-block-4, #block-block-5, #block-block-12, #block-block-16, #block-sp-twitter-sp-twitter-block {
    padding-bottom: 15px;
    padding-left: 18px;
    padding-right: 18px;
    width: 30%;
    float: left;
  }

  #footer-holder #block-block-4 {
    width: 32%!important;
    box-sizing: border-box;
  }

}

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

  img.paul {
    display: none;
  }


  .mob-paul {
    display: block;
    text-align: center;
    margin: 10px 0;
  }

  .mob-paul img {
    border: 3px solid #0d004c;
    max-width: 170px;
    width: 100%;
  }

  .ds-text {
    margin: 0px 2%;
  }
}


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

  ul.half-box {
    width: 98%;
  }

}

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

  #target-content #target-inner {
    width: 85%;
    padding: 10px;
  }
}

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

  .team-img {
    float: none;
    margin-right: 0
  }

  .team-img img {
    margin: 10px auto;
  }

  .team-bio {
    float: none;
    width: 100%;
    margin-top: 20px;
  }

  .hiretx {
    width: 97%;
  }

}

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

  ul.before-after li {
    width: 100%;
  }

}

@media only screen and (max-width: 400px) {
  .slide-bottom {
    display: block;
    position:fixed;
    bottom: 0;
    background: #000000;
    width: 100%;
    text-align: center;
    color: white;
    padding: 15px;
    z-index: 99;
  }

  .blue {
    background: #000000;
  }

  .red {
    background: #000000;
  }

  .footer-full-width {
    padding: 0 0 100px;
}

  .slide-tab {
    display:none;
  }
}

/**
  theme requirements as per
  http://codex.wordpress.org/CSS
  */
  .aligncenter,
  div.aligncenter {
   display: block;
   margin-left: auto !important;
   margin-right: auto !important;
 }

 .alignleft {
   float: left;
 }

 .alignright {
   float: right;
 }

 .padding-bottom{
  padding-bottom: 15px;
 }




.visible-mobile {
  display: none !important;
}

@media (max-width: 650px) {
  .visible-mobile {
    display: inline !important;
  }
  .hidden-mobile {
    display: none !important;
  }
}

.pricing-table tr td:first-of-type {
    width: 50%;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {display: none !important;}

/* Homepage reviews */
.row.hpreviews {padding: 40px 0px 60px;}