/**
  Theme Name: Abbey Orthodontics
  Version: 1
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
*/

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #5A5A59;
}

a {
  color: #a41f84;
  text-decoration: none;
}

a:hover {
  color: #502171;
  text-decoration: none;
}

h1 {
  font-weight: 400;
  color: #502171;
  letter-spacing: -1px;
}

h2 {
  color: #a41f84;
}

h3 {
  color: #98a44f;
}

p, ul, ol {
  font-size: 0.9rem;
  line-height: 1.6;
  margin:10px;
}

.fa-ul {
  margin-left: 3rem;
}

.fa-li {
  color: #98a44f;
  top:0.3rem;
}

hr {
  border:0;
  background: #dadada;
  height: 1px;
  margin: 15px 0;
  clear: both;
}

.embed-container {
  position: relative;
  padding-bottom: 57.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 30px;
  clear: both;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 96%;
  height: 92%;
  padding: 1.5%;
  background: #fff;
  border: 1px solid #dadada;
}

iframe {
  padding: 5px;
  background: #FFF;
  border: 1px solid #dadada;
}

blockquote {
  margin: 0 10px;
  padding: 5px 15px;
  font-style: italic;
  font-size:1.1rem;
  border-left: 5px solid #a41f84;
}

.vision-text {
  font-family: 'Courgette', cursive;
  font-size: 1.3rem;
}

/*Site Wrapper */

.site-wrapper {
  position: relative;
  margin:0.5%;
}

/*Header */

.top-colours {
  position: absolute;
  top:0;
  width: 100%;
  z-index: 9;
}

.top-colours div {
  width: 20%;
  height: 6px;
  float: left;
}

.top-colours .block1 {background: #502171;}
.top-colours .block2 {background: #98a44f;}
.top-colours .block3 {background: #9b6dc7;}
.top-colours .block4 {background: #a41f84;}
.top-colours .block5 {background: #d4ccb8;}


.header-inner {
  width: 96%;
  max-width: 1200px;
  margin:0 auto 25px;
  padding-top:55px;
}

.logo-wrap {
  float: left;
}

.logo {
  width: 270px;
}

.logo img {
  width: 100%;
  height: auto;
}

.strapline {
  display: inline-block;
  margin: 10px 0 0 35px;
  font-family: 'Courgette', cursive;
  color: #a41f84;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.address-phone-wrapper {
  float: right;
}

.social-links {
  float: right;
  clear: both;
}

.google-review, .square {
  display: inline-block;
  padding: 10px;
  background: #bfc691;
  color: #FFF;
}

.google-review .review-text {
  font-size: 0;
  text-transform: uppercase;
}

.google-review:hover {
  background: #dd4b39;
  color: #FFF;
}

.google-review:hover .review-text {
  font-size: 0.8rem;
}

.facebook:hover {
  background: #3B5998;
  color: #FFF;
}

.twitter:hover {
  background: #55ACEE;
  color: #FFF;
}

.purple-square {
  background: #502171;
}

.purple-square:hover {
  color: #fff;
}

.header-address {
  float: right;
  clear: both;
}

.header-phone {
  float: right;
  clear: both;
  margin:15px 0 0;
  color: #502171;
}

.header-phone a {
  color: inherit;
}

.header-phone p {
  font-size: 1.3em;
  line-height: 1;
}

.big-tel {
  font-size: 2.1rem;
  margin-left:5px;
  letter-spacing: -0.02em;
}

.header-address {
  margin-top: 10px;
  color: #a41f84;
}

.header-address p {
  font-size: 1.05rem;
}

.header-phone p,
.header-address p {
  margin:0;
}

/*Navigation*/

.nav-wrapper {
  position: relative;
  z-index: 9;
  width: 100%;
  background: #a0ad53;
}

#main_nav {
  margin: 0 auto;
  text-align: center;
}

#main_nav ul {
  padding: 0;
  margin: 0 0 -3px;
  display: inline-block;
}

#main_nav li {
  float: left;
  position: relative;
  text-align: center;
  list-style: none;
  -webkit-transition: .5s;
  transition: .5s;
}

#main_nav a {
  text-transform: uppercase;
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  font-size:0.9rem;
  color: #FFF;
}

#main_nav ul ul {
  position: absolute;
  left: 0;
  top: 100%;
  visibility: hidden;
  opacity: 0;
  width: 100%;
}

#main_nav ul ul ul {
  left: 100%;
  top: 0;
}

#main_nav li:hover, #main_nav li:hover li {
  background: #502171;
}

#main_nav li li:hover, #main_nav li li:hover li {
  background: #a41f84;
}

#main_nav li li {
  width: 100%;
}

#main_nav li li a {
  font-size:0.85rem;
}

#main_nav li li li:hover {
  background: #999;
}

#main_nav li:hover > ul {
  visibility: visible;
  opacity: 1;
}


/* Testimonials */

.testimonials-half {
  float: left;
  width: 50%;
  padding:0;
  height: 420px;
  background: url(images/testimonial-bg.jpg) bottom center no-repeat #fff;
}

.contact-form-half {
  float: left;
  width: 50%;
  padding:0;
  height: 420px;
  background: url(images/contact-bg.jpg) bottom center no-repeat #98a49f;
  background-size: cover;
}

.testimonials-content,
.contact-half-content {
  width: 90%;
  max-width: 400px;
  margin: 5%;
  float: right;
  text-align: center;
  color: #7D8841;
}

.contact-half-content {
  float: left;
  color: #FFF;
  text-align: left;
}

.testimonials-content h2,
.contact-half-content h2 {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom:30px;
  color: #FFF;
}

.contact-subheading {
  font-size: 60%;
  letter-spacing: 0;
  display: block;
}

.testimonials-content h2 {
  color: #502171;
}

.testimonials-content blockquote {
  margin:20px 30px 0;
  font-family: 'Courgette', cursive;
  line-height: 27px;
  font-size:1.1rem;
  font-style: normal;
  border:0;
  padding:0;
}

.testimonials-content cite {
  display: inline-block;
  margin-top: 20px;
  font-style: normal;
  font-size:0.8rem;
  font-weight: 700;
}

.testimonial-gal {
    text-align: center;
}

.testimonial-gal img {
    display: inline-block;
    margin: 1%;
    padding: 0.5%;
    background: #fefefe;
    border: 1px solid #eee;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
}

.testimonial-gal img:hover {
  background: #fbfbfb;
  opacity: 0.5;
}

.testimonial-gal br {
    display: none;
}

/*Content*/

.content-wrapper {
  padding:1% 0;
  background: #F7F6F3;
}

.content {
  width:96%;
  padding: 0 2%;
  max-width: calc(1200px - 2%);
  margin: 0 auto;
}

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

/*Team*/

.team-holder {
  float: left;
  width: 43%;
  padding: 2%;
  margin: 0 3% 3% 0;
  text-align: center;
  background: #EDEBE6;
  border-radius: 5px;
  -webkit-border-radius:5px;
}

.team-holder img {
  border-radius: 50%;
  -webkit-border-radius:50%;
  border:8px solid #FFF;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.team-holder h2 {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.team-holder h3 {
  margin: 5px;
  text-transform: uppercase;
  font-weight: 400
}

/*Table*/

table {
  width: 96%;
  margin: 15px 2%;
  border: 0;
  font-size: 14px;
}

th, td {
  padding:8px 10px;
  line-height:24px;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #bfc691;
}

th {
  background: #A0AD53;
  color: #FFF;
  font-size:15px;
  font-weight: normal;
}

/*Leaflet Link*/

.leaflet-link {
  display: inline-block;
  width: 100%;
  padding: 20px 0;
  text-align: center;
  color: #FFF;
  background: #bfc691;
  font-size:1.2rem;
}

.leaflet-link:hover {
  background: #a0ad53;
  color: #FFF;
}

.leaflet-link i {
  margin-bottom: 15px;
}

/*Blog*/

.blog-holder {
  float: left;
  width: 27%;
  padding: 2%;
  margin: 0 2% 2% 0;
  text-align: center;
  background: #EDEBE6;
  border-radius: 5px;
  -webkit-border-radius:5px;
}

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

.blog-holder .size-thumbnail {
  width: 40%;
  height: auto;
}

/*Referral Form */

.referral-half {
  width: 46%;
  margin: 0 2%;
  float: left;
}

.referral-form ul {
  list-style: none;
  clear: both;
  margin: 0;
  padding: 0;
}

.referral-form li {
  margin: 0 0 10px 0;
}

.referral-form label {
  float: left;
  padding-top:5px;
  width:180px;
  font-size:0.9rem;
  line-height: 1.4;
}

.referral-form input,
.referral-form textarea {
  width: calc(100% - 202px);
  padding: 8px 0 8px 8px;
  float: right;
  border:1px solid #dadada;
  background: #fff;
  border-radius:0;
}

.referral-form textarea {
  height: 70px;
 }

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

.referral-form .submit {
  float: right;
  color: #fff;
  background: #a41f84;
  text-align: center;
  padding: 14px 20px;
  font-size: 1.2rem;
  cursor: pointer;
}

.referral-form .submit:hover {
  background: #502171;
}


/*Quicklinks*/

.quicklinks-wrapper {
  background:#EDEBE6;
  padding:25px 0;
  margin: 0 auto;
  position: relative;
}

.ch-grid {
  margin: 10px 0 0 0;
  padding: 0;
  list-style: none;
  display: block;
  text-align: center;
  width: 100%;
}

.ch-grid:after,
.ch-item:before {
  content: '';
    display: table;
}

.ch-grid:after {
  clear: both;
}

.ch-grid li {
  width: 255px;
  height: 255px;
  display: inline-block;
  margin: 10px 20px;
}

.ch-item {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  cursor: default;
}

.ch-info-wrap, 
.ch-info{
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.ch-info-wrap {
  background: #EDECE6;
  box-shadow: 0 0 0 10px rgba(255,255,255,0.8),
  inset 0 0 3px rgba(255, 255, 255, 0.8);
}

.ch-info > a,
.ch-info > div {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-position: center center;
  -webkit-backface-visibility: hidden;
  background-size:102%;
}

.ch-info .ch-info-front {
  -webkit-transition: all 0.6s ease-in-out;
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -ms-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}

.ch-info .ch-info-back {
  opacity: 0;

  background: #502171;
  pointer-events: none;
  
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  
  -webkit-transition: all 0.4s ease-in-out 0.2s;
  -moz-transition: all 0.4s ease-in-out 0.2s;
  -o-transition: all 0.4s ease-in-out 0.2s;
  -ms-transition: all 0.4s ease-in-out 0.2s;
  transition: all 0.4s ease-in-out 0.2s;
}

.ch-info .pink-back {
  background: #a946f0;
}

.ch-img-1 { 
  background-image: url(images/quicklinks/ql1.png);
}

.ch-img-2 { 
  background-image: url(images/quicklinks/ql2.png);
}

.ch-img-3 { 
  background-image: url(images/quicklinks/ql3.png);
}

.ch-img-4 { 
  background-image: url(images/quicklinks/ql4.png);
}

.ch-info h3 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 18px;
  margin: 0 15px;
  padding: 60px 0 15px 0;
}

.ch-info .smaller-h3 {
  font-size:14px;
  padding: 60px 5px 10px;
}

.ch-info p {
  opacity: 0;
  color: #fff;
  padding: 25px 5px 0;
  margin: 10px 30px;
  border-top: 1px solid rgba(255,255,255,0.5);
  -webkit-transition: all 1s ease-in-out 0.2s;
  -moz-transition: all 1s ease-in-out 0.2s;
  -o-transition: all 1s ease-in-out 0.2s;
  -ms-transition: all 1s ease-in-out 0.2s;
  transition: all 1s ease-in-out 0.2s;
}

.ch-info p a {
  display: inline-block;
  padding: 6px 12px;
  color: #424242;
  text-transform: uppercase;
  font-size: 0.9em;
  background: #FFF;
  background: rgba(255,255,255,0.8);
  border-radius: 5px;
  -webkit-border-radius:5px;
}

.ch-info p a:hover {
  background: #FFF;
  background: rgba(255,255,255,1);
  color: #424242;
}

.ch-item:hover .ch-info p {
  opacity: 1;
}

.ch-item:hover .ch-info-front {
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  
  opacity: 0;
} 

.ch-item:hover .ch-info-back {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  
  opacity: 1;
  pointer-events: auto;
}

/* Contact Form */

.contact-form {
  width: 80%;
}

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

.contact-form input,
.contact-form textarea {
  width:100%;
  height:35px;
  margin-bottom: 5px;
  padding:7px 10px;
  background:#FFF;
  background:rgba(255,255,255,0.8);
  border:none;
  border-radius:0;
  font-size:0.9rem;
  color: #706e6f;
  outline: none;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.contact-form input:hover,
.contact-form input:focus,
.contact-form textarea:hover,
.contact-form textarea:focus {
  background: rgba(255,255,255,1);
  -webkit-box-shadow: 0 0 2px 2px rgba(255,255,255,0.2);
  box-shadow: 0 0 2px 2px rgba(255,255,255,0.2);
}

.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;
  right: 10px;
  color: #502171;
}

.contact-form .submit {
  background: #502171;
  color: #FFF;
  height:30px;
  text-transform: uppercase;
  width: 50%;
  float: right;
  margin:0;
  letter-spacing: 0.05em;
}

.contact-form .submit:hover,
.contact-form .submit:focus {
  background: #a41f84;
}

::-webkit-input-placeholder {color: #c1c1c1;}
:-moz-placeholder {color: #c1c1c1;}
::-moz-placeholder {color: #c1c1c1;}
:-ms-input-placeholder {color: #c1c1c1;}


.association-logos {
  width: 100%;
  background: #EDEBE6;
  padding: 20px 0;
  text-align: center;
}

.association-logos img {
  margin: 0 10px;
}

/* Send a selfie */

.popup-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  background: rgba(0, 0, 0, .85);
  top: 0;
  bottom:0;
  left: 100%;
  z-index: 9998;
  opacity: 0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: opacity .75s ease-out;
  -moz-transition: opacity .75s ease-out;
  -ms-transition: opacity .75s ease-out;
  -o-transition: opacity .75s ease-out;
  transition: opacity .75s ease-out;
}

.overlay .popup-overlay {
  opacity: 1;
  left: 0
}

.popup {
  position: fixed;
  top: 25%;
  left: 50%;
  z-index: -9999;
  width:100%;
  max-width: 360px;
  margin-left: -160px;
  opacity: 0;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  -webkit-transition: .2s ease-out;
  -moz-transition: .2s ease-out;
  -ms-transition: .2s ease-out;
  -o-transition: .2s ease-out;
  transition: .2s ease-out;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -o-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
}

.popup .popup-body {
  background: #EDEBE6;
  padding: 20px;
  position: relative;
  text-align: center;
  border:5px solid #fff;
  border-radius:10px;
}

span.popup-exit {
  cursor: pointer;
  position: absolute;
  top:10px;
  right: 10px;
}

.visible, .transitioning {
  z-index: 9999;
}

.visible {
  opacity: 1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -moz-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  -o-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
}

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

.popup-form input,
.popup-form textarea {
  display: block;
  width:100%;
  margin-bottom: 5px;
  padding:7px 10px;
  background:#FFF;
  border: 1px solid #dadada;
  font-size:0.9rem;
  color: #706e6f;
  outline: none;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.popup-form .submit {
  width: 100%;
  padding: 10px 0;
  background:#a41f84;
  color:#fff;
  text-transform: uppercase;
  border:none;
}

.popup-form .submit:hover {
  background: #502171;
}

.popup h2 {
  margin:0;
}

.xmas-line {
  display: block;
  height: 93px;
  background: url(images/xmas-shapes.png);
  background-size: contain;
  border-top: 2px solid #B81917;
  margin-top: -10px;
}

/*Footer */

.footer-wrapper {
  background: #EDEBE6;
  padding: 25px 0;
}

footer {
  width: 96%;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid #BDBAB3;
  padding-bottom: 25px;
}

footer iframe {
  background: #FFF;
}

footer i {
  color: #BDBAB3;
  margin: 0 0 20px;
  font-size:2.5em!important;
}

.footer-third {
  float: left;
  width: 29%;
  margin: 2%;
  text-align: center;
}

footer table {
  margin:10px 5% 15px;
  width: 90%;
  font-size:0.9em;
}

footer td {
  padding:8px 10px;
  border-bottom:1px solid #BDBAB3;
  text-align: center;
}

footer tr:last-child td {
  border-bottom:none;
}

.copyright {
  color: #343331;
  text-align: center;
  padding:10px 0;
}

.copyright p {
  color: #343331;
}


/*Misc*/

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

.treatment-logo {
  border:1px solid #dadada;
  float: right;
  margin: 15px 15px 15px 0;
  clear: right;
}

.treatment-logo:hover {
  opacity: 0.7;
}

a.read-more {
  display: inline-block;
  padding: 10px;
  background: #A0AD53;
  color: #fff;
  text-transform: uppercase;
}

a.read-more:hover {
  background: #8BC34A;
}

.alignright, .alignleft, .alignnone {
  border:1px solid #dadada;
}

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

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


/* Transitions */

a, .review-text, .treatment-logo, .submit, input, textarea {
  -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;
}

.header-inner:after,
.nav-wrapper:after,
.content:after,
section:after,
.referral-form ul:after,
.referral-form li:after,
footer:after {
  content:".";
  clear:both;
  height:0;
  display:block;
  visibility:hidden;
}

.flexnav {
  display: none;
}

.resp-contact-links {
  display: none;
}

.mobile-welcome {display: none;}

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

  .site-wrapper {
    margin: 0;
  }

  #main_nav a {
    font-size: 0.8rem;
    padding: 12px 9px;
  }

  #main_nav li li a {
    font-size: 0.75rem;
  }

  .ch-grid li {
    width: 205px;
    height: 205px;
  }

  .ch-info h3 {
    padding-top:40px;
    font-size:16px;
  }

  .ch-info .smaller-h3 {
    padding-top:40px;
  }

  .ch-info p {
    margin: 0 20px;
    padding-top: 15px;
  }

}

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

  .logo {
    width: 250px;
  }

  .strapline {
    font-size: 1rem;
  }

  .header-phone p {
    font-size: 1.1rem;
  }

  .big-tel {
    font-size: 1.4rem;
  }

  .header-address p {
    font-size:0.95rem;
  }

  .flexnav {
    display: block;
  }

  #main_nav {
    display: none;
  }

  .ch-grid li {
    width: 160px;
    height: 160px;
    margin:10px;
  }

  .ch-info-wrap {
    box-shadow: 0 0 0 5px rgba(255,255,255,0.8), inset 0 0 3px rgba(255, 255, 255, 0.8);
  }

  .ch-info h3 {
    padding-top:30px;
    font-size: 14px;
    line-height: 1.4;
  }

  .ch-info .smaller-h3 {
    font-size:10px;
    padding-top:30px;
  }

  .ch-info p {
    padding-top: 10px;
  }

  .ch-info p a {
    font-size:0.7em;
  }

}

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

  .blog-holder {
    width: 44%;
  }

  .referral-half {
    width: 96%;
  }

  .testimonials-half,
  .contact-form-half {
    width: 100%;
    height: auto;
    padding-bottom:10px;
  }

  .contact-half-content {
    text-align: center;
  }

  .footer-third {
    width: 46%;
  }

  .footer-third:last-of-type {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    float: none;
  }

}

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

  .header-inner {
    padding-top: 5%;
    position: relative;
  }

  .logo {
    margin-top: 10px;
  }

  .address-phone-wrapper {
    position: absolute;
    top:12%;
    right:0;
  }

  .header-phone, .header-address, .google-review {
    display: none;
  }

  .resp-contact-links {
    display: inline-block;
  }

  .mobile-welcome {
    display: block;
    padding:2%;
    text-align: center;
  }

  .readmore {
    display: inline-block;
    font-size:13px;
    color:#FFF;
    background:#a0ad53;
    padding:10px;
    text-decoration: none;
    margin:10px 0 0 0;
  }

  .ch-grid li {
    display: none;
  }

  .ch-grid li:last-of-type {
    display: inline-block;
    width: 250px;
    height: 250px;
  }

  .ch-info .smaller-h3 {
    font-size:15px;
    padding-top:75px;
  }

  .ch-info p a {
    font-size:0.9em;
  }

}

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

  .full_width, .one_half, .one_third, .two_third, .one_fourth, .three_fourth, .one_fifth, .two_fifth, .three_fifth, .four_fifth, .one_sixth, .five_sixth {
    clear: both;
    width: 100%!important;
    margin: 0!important;
    padding: 0!important;
  }

  .content-column>div {
    padding: 0!important;
  }

}

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

  .strapline {
    margin-left:5px;
  }

  .nav-wrapper {
    position: relative!important;
  }

  .testimonials-half {
    display: none;
  }

  .contact-form {
    width: 100%;
  }

  .footer-third {
    display: none;
  }

  .footer-third:last-of-type {
    display: block;
  }

  .alignleft, .alignright {
    width: 47%;
  }

  .alignleft {
    margin: 0 1.5% 1.5% 0;
  }

  .alignright {
    margin: 0 0 1.5% 1.5%
  }

  .popup {
    top:2%;
    width: 320px;
    height: 100vw;
  }

  .treatment-logo {
    margin: 10px 0;
  }

  .referral-form label {
    width: 100%;
    margin-bottom: 5px;
    float: none;
  }

  .referral-form input,
  .referral-form textarea {
    width: 96%;
    padding: 2%;
    float: none;
  }


}

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

  h1 {
    font-size: 1.7rem;
    margin:0.5em 0;
  }

  h2 {
    font-size: 1.35rem;
    margin: 0.5em 0;
  }

  h3 {
    font-size: 1.1rem;
    margin: 0.5em 0;
  }

  h4, h5, h6, {
    font-size: 1rem;
  }

  p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  th {
    font-size: 14px;
  }

  th, td {
    padding: 5px;
    line-height: 1.6;
  }

  .square {
    padding: 7px;
  }

  .fws2 {
    display: none;
  }

  .team-holder, .blog-holder {
    width: 96%;
    margin-right: 0;
  }

}

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

  .testimonial-gal img {
    width: 45%;
    height: auto;
  }

}